blob: ebee0a8eb1185bb51034b394b6f8a6150f1fb268 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
142 </style>
143
144 <style name="partitionlist">
145 <highlight color="%fileselector_highlight_color%"/>
146 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
147 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 <icon selected="checkbox_true" unselected="checkbox_false"/>
150 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
151 <background color="%background_color%"/>
152 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
153 </style>
154
155 <style name="partitionlist_storage">
156 <highlight color="%fileselector_highlight_color%"/>
157 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
158 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
159 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
160 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
161 <icon selected="radio_true" unselected="radio_false"/>
162 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
163 <background color="%background_color%"/>
164 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
165 </style>
166
167 <style name="slider">
168 <placement x="%col2_x_right%" y="%row17a_y%"/>
169 <font resource="font_m" color="%text_color%"/>
170 <resource base="slider" used="slider_used" touch="slider_touch"/>
171 </style>
172
173 <style name="slider_centered">
174 <placement x="%center_x%" y="%row17a_y%"/>
175 <font resource="font_m" color="%text_color%"/>
176 <resource base="slider" used="slider_used" touch="slider_touch"/>
177 </style>
178
179 <style name="slidervalue">
180 <resource handle="handle"/>
181 <font resource="font_m" color="%text_color%"/>
182 <colors line="%fileselector_linecolor%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100185
186 <style name="patternpassword">
187 <size name="tw_gui_pattern_grid_size" default="3"/>
188 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100189 </styles>
190
191 <pages>
192 <page name="main">
193 <action>
194 <actions>
195 <action function="set">tw_clear_destination=main2</action>
196 <action function="page">clear_vars</action>
197 </actions>
198 </action>
199 </page>
200
201 <page name="main2">
202 <template name="page"/>
203
204 <text style="text_l">
205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500206 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100207 </text>
208
209 <text style="text_m">
210 <condition var1="tw_no_cpu_temp" var2="0"/>
211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
212 <text>%tw_version%</text>
213 </text>
214
215 <button style="main_button">
216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <actions>
219 <action function="queueclear"/>
220 <action function="set">tw_selectimage=0</action>
221 <action function="page">install</action>
222 </actions>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">backup</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">restore</action>
241 </button>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">advanced</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <action function="page">reboot</action>
265 </button>
266 </page>
267
268 <page name="install">
269 <template name="page"/>
270
271 <text style="text_l">
272 <condition var1="tw_selectimage" var2="0"/>
273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 </text>
276
277 <text style="text_l">
278 <condition var1="tw_selectimage" var2="1"/>
279 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500280 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100281 </text>
282
283 <text style="text_m">
284 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <template name="sort_options"/>
289
290 <fileselector>
291 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500292 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100293 <filter folders="1" files="0"/>
294 <path name="tw_zip_location" default="/sdcard"/>
295 <data name="select"/>
296 </fileselector>
297
298 <fileselector>
299 <condition var1="tw_selectimage" var2="0"/>
300 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
301 <text>%tw_zip_location%</text>
302 <filter extn=".zip" folders="0" files="1"/>
303 <path name="tw_zip_location" default="/sdcard"/>
304 <data name="tw_filename"/>
305 <selection name="tw_file"/>
306 </fileselector>
307
308 <fileselector>
309 <condition var1="tw_selectimage" var2="1"/>
310 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
311 <text>%tw_zip_location%</text>
312 <filter extn=".img" folders="0" files="1"/>
313 <path name="tw_zip_location" default="/sdcard"/>
314 <data name="tw_filename"/>
315 <selection name="tw_file"/>
316 </fileselector>
317
318 <button style="main_button_half_width_low">
319 <condition var1="tw_selectimage" var2="0"/>
320 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="set">tw_selectimage=1</action>
324 <action function="page">install</action>
325 </actions>
326 </button>
327
328 <button style="main_button_half_width_low">
329 <condition var1="tw_selectimage" var2="1"/>
330 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <actions>
333 <action function="set">tw_selectimage=0</action>
334 <action function="page">install</action>
335 </actions>
336 </button>
337
338 <button style="main_button_half_width_low">
339 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 <actions>
342 <action function="set">tw_back=install</action>
343 <action function="overlay">select_storage</action>
344 </actions>
345 </button>
346
347 <action>
348 <conditions>
349 <condition var1="tw_selectimage" var2="0"/>
350 <condition var1="tw_filename" op="modified"/>
351 </conditions>
352 <actions>
353 <action function="queuezip"/>
354 <action function="page">flash_confirm</action>
355 </actions>
356 </action>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="1"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <action function="page">flashimage_confirm</action>
364 </action>
365
366 <action>
367 <touch key="back"/>
368 <action function="page">main</action>
369 </action>
370
371 <action>
372 <touch key="home"/>
373 <action function="page">main</action>
374 </action>
375 </page>
376
377 <page name="flash_confirm">
378 <template name="page"/>
379
380 <text style="text_l">
381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100383 </text>
384
385 <text style="text_m">
386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500387 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </text>
389
390 <text style="text_m_accent">
391 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500392 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100393 </text>
394
395 <text style="text_m_accent">
396 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500402 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m">
411 <placement x="%col1_x_left%" y="%row9_y%"/>
412 <text>%tw_zip_location%</text>
413 </text>
414
415 <text style="text_m_accent">
416 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m">
421 <placement x="%col1_x_left%" y="%row12_y%"/>
422 <text>%tw_file%</text>
423 </text>
424
425 <text style="text_m_accent">
426 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500427 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100428 </text>
429
430 <checkbox>
431 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <data variable="tw_signed_zip_verify"/>
434 </checkbox>
435
436 <checkbox>
437 <condition var1="tw_has_injecttwrp" var2="1"/>
438 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <data variable="tw_inject_after_zip"/>
441 </checkbox>
442
443 <button style="main_button_half_width">
444 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500445 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100446 <action function="page">install</action>
447 </button>
448
449 <button style="main_button_half_width">
450 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <actions>
453 <action function="queueclear"/>
454 <action function="page">install</action>
455 </actions>
456 </button>
457
458 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500459 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100460 <action function="flash">flash_zip</action>
461 </slider>
462
463 <action>
464 <touch key="back"/>
465 <actions>
466 <action function="cancelzip"/>
467 <action function="page">install</action>
468 </actions>
469 </action>
470
471 <action>
472 <touch key="home"/>
473 <action function="page">main</action>
474 </action>
475 </page>
476
477 <page name="flash_zip">
478 <template name="page"/>
479
480 <text style="text_l">
481 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500482 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100483 </text>
484
485 <text style="text_m">
486 <placement x="%col1_x_header%" y="%row4_header_y%"/>
487 <text>%tw_file%</text>
488 </text>
489
490 <template name="console"/>
491
492 <template name="progress_bar"/>
493
494 <action>
495 <condition var1="tw_operation_state" var2="1"/>
496 <action function="page">flash_done</action>
497 </action>
498 </page>
499
500 <page name="flash_done">
501 <template name="page"/>
502
503 <text style="text_l">
504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500505 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100506 </text>
507
508 <text style="text_m_fail">
509 <condition var1="tw_operation_status" op="!=" var2="0"/>
510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m">
515 <condition var1="tw_operation_status" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <template name="console"/>
521
522 <button style="main_button_half_width">
523 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 <actions>
526 <action function="set">tw_back=flash_done</action>
527 <action function="set">tw_action=wipe</action>
528 <action function="set">tw_action_param=/cache</action>
529 <action function="set">tw_has_action2=1</action>
530 <action function="set">tw_action2=wipe</action>
531 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500532 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
533 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
534 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
535 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100536 <action function="page">confirm_action</action>
537 </actions>
538 </button>
539
540 <button style="main_button_half_width">
541 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500542 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <actions>
544 <action function="set">tw_back=main2</action>
545 <action function="set">tw_action=reboot</action>
546 <action function="set">tw_action_param=system</action>
547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
549 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100550 <action function="set">tw_text3=</action>
551 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500552 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
555 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <action function="page">rebootcheck</action>
557 </actions>
558 </button>
559
560 <action>
561 <touch key="back"/>
562 <actions>
563 <action function="set">tw_clear_destination=install</action>
564 <action function="page">clear_vars</action>
565 </actions>
566 </action>
567
568 <action>
569 <touch key="home"/>
570 <actions>
571 <action function="set">tw_clear_destination=main2</action>
572 <action function="page">clear_vars</action>
573 </actions>
574 </action>
575 </page>
576
577 <page name="flashimage_confirm">
578 <template name="page"/>
579
580 <text style="text_l">
581 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500582 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100583 </text>
584
585 <text style="text_m">
586 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500587 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100588 </text>
589
590 <text style="text_m_accent">
591 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500592 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </text>
594
595 <text style="text_m">
596 <placement x="%col1_x_left%" y="%row9_y%"/>
597 <text>%tw_zip_location%</text>
598 </text>
599
600 <text style="text_m_accent">
601 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500602 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100603 </text>
604
605 <text style="text_m">
606 <placement x="%col1_x_left%" y="%row12_y%"/>
607 <text>%tw_file%</text>
608 </text>
609
610 <partitionlist>
611 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
612 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500613 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100614 <data name="tw_flash_partition"/>
615 <listtype name="flashimg"/>
616 </partitionlist>
617
618 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500619 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100620 <actions>
621 <action function="set">tw_back=flashimage_confirm</action>
622 <action function="set">tw_action=flashimage</action>
623 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500624 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100625 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100627 <action function="page">action_page</action>
628 </actions>
629 <action function="flashimage"/>
630 </slider>
631
632 <action>
633 <touch key="back"/>
634 <actions>
635 <action function="set">tw_clear_destination=install</action>
636 <action function="page">clear_vars</action>
637 </actions>
638 </action>
639
640 <action>
641 <touch key="home"/>
642 <actions>
643 <action function="set">tw_clear_destination=main2</action>
644 <action function="page">clear_vars</action>
645 </actions>
646 </action>
647 </page>
648
649 <page name="clear_vars">
650 <action>
651 <action function="set">tw_operation_state=0</action>
652 <action function="set">tw_text1=</action>
653 <action function="set">tw_text2=</action>
654 <action function="set">tw_text3=</action>
655 <action function="set">tw_text4=</action>
656 <action function="set">tw_action_text1=</action>
657 <action function="set">tw_action_text2=</action>
658 <action function="set">tw_action_param=</action>
659 <action function="set">tw_has_action2=0</action>
660 <action function="set">tw_action2=</action>
661 <action function="set">tw_action2_param=</action>
662 <action function="set">tw_has_cancel=0</action>
663 <action function="set">tw_cancel_action=</action>
664 <action function="set">tw_cancel_param=</action>
665 <action function="set">tw_show_exclamation=0</action>
666 <action function="set">tw_show_reboot=0</action>
667 <action function="page">%tw_clear_destination%</action>
668 </action>
669 </page>
670
671 <page name="confirm_action">
672 <template name="page"/>
673
674 <text style="text_l">
675 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500676 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100677 </text>
678
679 <text style="text_m">
680 <placement x="%col1_x_header%" y="%row4_header_y%"/>
681 <text/>
682 </text>
683
684 <text style="text_m_accent">
685 <placement x="%center_x%" y="%row2_y%" placement="5"/>
686 <text>%tw_text1%</text>
687 </text>
688
689 <text style="text_m_accent">
690 <placement x="%center_x%" y="%row3_y%" placement="5"/>
691 <text>%tw_text2%</text>
692 </text>
693
694 <text style="text_m">
695 <placement x="%center_x%" y="%row4_y%" placement="5"/>
696 <text>%tw_text3%</text>
697 </text>
698
699 <text style="text_m">
700 <placement x="%center_x%" y="%row5_y%" placement="5"/>
701 <text>%tw_text4%</text>
702 </text>
703
704 <text style="text_m">
705 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500706 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100707 </text>
708
709 <slider style="slider_centered">
710 <text>%tw_slider_text%</text>
711 <action function="page">action_page</action>
712 </slider>
713
714 <action>
715 <touch key="back"/>
716 <actions>
717 <action function="set">tw_clear_destination=%tw_back%</action>
718 <action function="page">clear_vars</action>
719 </actions>
720 </action>
721
722 <action>
723 <touch key="home"/>
724 <action function="page">main</action>
725 </action>
726 </page>
727
728 <page name="action_page">
729 <template name="page"/>
730
731 <text style="text_l">
732 <placement x="%col1_x_header%" y="%row3_header_y%"/>
733 <text>%tw_action_text1%</text>
734 </text>
735
736 <text style="text_m">
737 <placement x="%col1_x_header%" y="%row4_header_y%"/>
738 <text>%tw_action_text2%</text>
739 </text>
740
741 <template name="console"/>
742
743 <template name="progress_bar"/>
744
745 <button style="main_button_half_width">
746 <condition var1="tw_has_cancel" var2="1"/>
747 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
750 </button>
751
752 <action>
753 <condition var1="tw_operation_state" var2="1"/>
754 <actions>
755 <action function="page">action_complete</action>
756 </actions>
757 </action>
758
759 <action>
760 <condition var1="tw_has_action2" var2="0"/>
761 <actions>
762 <action function="%tw_action%">%tw_action_param%</action>
763 </actions>
764 </action>
765
766 <action>
767 <condition var1="tw_has_action2" var2="1"/>
768 <actions>
769 <action function="%tw_action%">%tw_action_param%</action>
770 <action function="%tw_action2%">%tw_action2_param%</action>
771 </actions>
772 </action>
773 </page>
774
775 <page name="singleaction_page">
776 <template name="page"/>
777
778 <text style="text_l">
779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
780 <text>%tw_action_text1%</text>
781 </text>
782
783 <text style="text_m">
784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
785 <text>%tw_action_text2%</text>
786 </text>
787
788 <template name="console"/>
789
790 <template name="progress_bar"/>
791
792 <action>
793 <condition var1="tw_operation_state" var2="1"/>
794 <actions>
795 <action function="set">tw_page_done=1</action>
796 </actions>
797 </action>
798
799 <action>
800 <condition var1="tw_has_action2" var2="0"/>
801 <actions>
802 <action function="%tw_action%">%tw_action_param%</action>
803 </actions>
804 </action>
805
806 <action>
807 <condition var1="tw_has_action2" var2="1"/>
808 <actions>
809 <action function="%tw_action%">%tw_action_param%</action>
810 <action function="%tw_action2%">%tw_action2_param%</action>
811 </actions>
812 </action>
813 </page>
814
815 <page name="action_complete">
816 <template name="page"/>
817
818 <text style="text_l">
819 <placement x="%col1_x_header%" y="%row3_header_y%"/>
820 <text>%tw_complete_text1%</text>
821 </text>
822
823 <text style="text_m_fail">
824 <condition var1="tw_operation_status" op="!=" var2="0"/>
825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500826 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100827 </text>
828
829 <text style="text_m">
830 <condition var1="tw_operation_status" var2="0"/>
831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500832 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100833 </text>
834
835 <template name="console"/>
836
837 <button style="main_button_half_width">
838 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500839 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100840 <actions>
841 <action function="set">tw_clear_destination=%tw_back%</action>
842 <action function="page">clear_vars</action>
843 </actions>
844 </button>
845
846 <button style="main_button_half_width">
847 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500848 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100849 <actions>
850 <action function="set">tw_back=main2</action>
851 <action function="set">tw_action=reboot</action>
852 <action function="set">tw_action_param=system</action>
853 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500854 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
855 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100856 <action function="set">tw_text3=</action>
857 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500858 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100859 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500860 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
861 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100862 <action function="page">rebootcheck</action>
863 </actions>
864 </button>
865
866 <action>
867 <touch key="home"/>
868 <actions>
869 <action function="set">tw_clear_destination=main2</action>
870 <action function="page">clear_vars</action>
871 </actions>
872 </action>
873
874 <action>
875 <touch key="back"/>
876 <actions>
877 <action function="set">tw_clear_destination=%tw_back%</action>
878 <action function="page">clear_vars</action>
879 </actions>
880 </action>
881 </page>
882
883 <page name="filecheck">
884 <action>
885 <action function="fileexists">%tw_filecheck%</action>
886 </action>
887
888 <action>
889 <conditions>
890 <condition var1="tw_operation_state" var2="1"/>
891 <condition var1="tw_operation_status" var2="0"/>
892 </conditions>
893 <actions>
894 <action function="set">tw_fileexists=1</action>
895 <action function="page">%tw_existpage%</action>
896 </actions>
897 </action>
898
899 <action>
900 <conditions>
901 <condition var1="tw_operation_state" var2="1"/>
902 <condition var1="tw_operation_status" var2="1"/>
903 </conditions>
904 <actions>
905 <action function="set">tw_fileexists=0</action>
906 <action function="page">%tw_notexistpage%</action>
907 </actions>
908 </action>
909 </page>
910
911 <page name="rebootcheck">
912 <action>
913 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
914 <action function="reboot">%tw_action_param%</action>
915 </action>
916
917 <action>
918 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
919 <action function="page">confirm_action</action>
920 </action>
921 </page>
922
923 <page name="wipe">
924 <template name="page"/>
925
926 <text style="text_l">
927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500928 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100929 </text>
930
931 <text style="text_m">
932 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500933 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100934 </text>
935
936 <text style="text_m_accent">
937 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100939 </text>
940
941 <text style="text_m_accent">
942 <condition var1="tw_has_data_media" var2="1"/>
943 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500944 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100945 </text>
946
947 <text style="text_m_accent">
948 <conditions>
949 <condition var1="tw_has_android_secure" var2="1"/>
950 <condition var1="fileexists" var2="/and-sec"/>
951 </conditions>
952 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500953 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100954 </text>
955
956 <text style="text_m_accent">
957 <condition var1="tw_has_sdext_partition" var2="1"/>
958 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500959 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100960 </text>
961
962 <text style="text_m">
963 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 </text>
966
967 <text style="text_m">
968 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m">
973 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500974 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100975 </text>
976
977 <button style="main_button_half_width">
978 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500979 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100980 <actions>
981 <action function="set">partitionlisterror=0</action>
982 <action function="page">advancedwipe</action>
983 </actions>
984 </button>
985
986 <button style="main_button_half_width">
987 <condition var1="tw_has_data_media" var2="1"/>
988 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 <action function="page">formatdata</action>
991 </button>
992
993 <button style="main_button_half_width">
994 <conditions>
995 <condition var1="tw_is_encrypted" var2="1"/>
996 <condition var1="tw_has_data_media" var2="0"/>
997 </conditions>
998 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <actions>
1001 <action function="set">tw_back=wipe</action>
1002 <action function="set">tw_action=wipe</action>
1003 <action function="set">tw_action_param=DATAMEDIA</action>
1004 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001006 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1008 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1009 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001010 <action function="page">confirm_action</action>
1011 </actions>
1012 </button>
1013
1014 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 <actions>
1017 <action function="set">tw_back=wipe</action>
1018 <action function="set">tw_action=wipe</action>
1019 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1021 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001022 <action function="page">action_page</action>
1023 </actions>
1024 </slider>
1025
1026 <action>
1027 <touch key="back"/>
1028 <action function="page">main</action>
1029 </action>
1030
1031 <action>
1032 <touch key="home"/>
1033 <action function="page">main</action>
1034 </action>
1035 </page>
1036
1037 <page name="advancedwipe">
1038 <template name="page"/>
1039
1040 <action>
1041 <action function="set">tw_wipe_list=</action>
1042 </action>
1043
1044 <text style="text_l">
1045 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <text style="text_m">
1050 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 </text>
1053
1054 <partitionlist>
1055 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001057 <data name="tw_wipe_list"/>
1058 <listtype name="wipe"/>
1059 </partitionlist>
1060
1061 <text style="text_m_fail">
1062 <condition var1="partitionlisterror" var2="1"/>
1063 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <button style="main_button_m">
1068 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001071 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <action function="page">checkpartitionlist</action>
1073 </actions>
1074 </button>
1075
1076 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 <actions>
1079 <action function="set">tw_back=advancedwipe</action>
1080 <action function="set">tw_action=wipe</action>
1081 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1083 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1084 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001085 <action function="page">action_page</action>
1086 </actions>
1087 </slider>
1088
1089 <action>
1090 <touch key="home"/>
1091 <action function="page">main</action>
1092 </action>
1093
1094 <action>
1095 <touch key="back"/>
1096 <action function="page">wipe</action>
1097 </action>
1098 </page>
1099
1100 <page name="formatdata">
1101 <template name="page"/>
1102
1103 <text style="text_l">
1104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <text style="text_m">
1109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 </text>
1112
1113 <text style="text_m_fail">
1114 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001115 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001116 </text>
1117
1118 <text style="text_m_fail">
1119 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 </text>
1122
1123 <text style="text_m">
1124 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <text style="text_m">
1129 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <input>
1134 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1135 <text>%tw_confirm_formatdata%</text>
1136 <data name="tw_confirm_formatdata"/>
1137 <restrict minlen="3" maxlen="3" allow="yes"/>
1138 <action function="page">formatdata_confirm</action>
1139 </input>
1140
1141 <fill color="%accent_color%">
1142 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1143 </fill>
1144
1145 <template name="keyboardtemplate"/>
1146
1147 <action>
1148 <touch key="home"/>
1149 <action function="page">main</action>
1150 </action>
1151
1152 <action>
1153 <touch key="back"/>
1154 <action function="page">wipe</action>
1155 </action>
1156 </page>
1157
1158 <page name="formatdata_confirm">
1159 <action>
1160 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1161 <actions>
1162 <action function="set">tw_back=formatdata</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1166 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001167 <action function="page">action_page</action>
1168 </actions>
1169 </action>
1170
1171 <action>
1172 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1173 <action function="page">formatdata</action>
1174 </action>
1175 </page>
1176
1177 <page name="checkpartitionlist">
1178 <action>
1179 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1180 <actions>
1181 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001182 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001183 <action function="page">partitionoptions</action>
1184 </actions>
1185 </action>
1186
1187 <action>
1188 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1189 <actions>
1190 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001191 <action function="page">advancedwipe</action>
1192 </actions>
1193 </action>
1194 </page>
1195
1196 <page name="partitionoptions">
1197 <template name="page"/>
1198
1199 <text style="text_l">
1200 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <text style="text_m">
1205 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001206 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001207 </text>
1208
1209 <text style="text_m_accent">
1210 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001212 </text>
1213
1214 <text style="text_m_accent">
1215 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001216 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001217 </text>
1218
1219 <text style="text_m">
1220 <condition var1="tw_partition_is_present" var2="1"/>
1221 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 </text>
1224
1225 <text style="text_m">
1226 <condition var1="tw_partition_is_present" var2="0"/>
1227 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001228 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001229 </text>
1230
1231 <text style="text_m">
1232 <condition var1="tw_partition_removable" var2="1"/>
1233 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </text>
1236
1237 <text style="text_m">
1238 <condition var1="tw_partition_removable" var2="0"/>
1239 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 </text>
1247
1248 <text style="text_m">
1249 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m">
1254 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 </text>
1257
1258 <text style="text_m">
1259 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 </text>
1262
1263 <button style="main_button_half_width">
1264 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1265 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 <actions>
1268 <action function="set">tw_back=partitionoptions</action>
1269 <action function="set">tw_action=resize</action>
1270 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1271 <action function="set">tw_has_action2=1</action>
1272 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001273 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001274 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001275 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001276 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1277 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1278 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001279 <action function="page">confirm_action</action>
1280 </actions>
1281 </button>
1282
1283 <button style="main_button_half_width">
1284 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1285 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <actions>
1288 <action function="set">tw_back=partitionoptions</action>
1289 <action function="set">tw_action=repair</action>
1290 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1291 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1295 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1296 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001297 <action function="page">confirm_action</action>
1298 </actions>
1299 </button>
1300
1301 <button style="main_button_half_width">
1302 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001303 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">selectfilesystem</action>
1305 </button>
1306
1307 <action>
1308 <touch key="home"/>
1309 <action function="page">main</action>
1310 </action>
1311
1312 <action>
1313 <touch key="back"/>
1314 <action function="page">advancedwipe</action>
1315 </action>
1316 </page>
1317
1318 <page name="refreshfilesystem">
1319 <action>
1320 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1321 <actions>
1322 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001323 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001324 <action function="page">selectfilesystem</action>
1325 </actions>
1326 </action>
1327
1328 <action>
1329 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1330 <actions>
1331 <action function="set">partitionlisterror=1</action>
1332 <action function="set">tw_wipe_list=</action>
1333 <action function="page">advancedwipe</action>
1334 </actions>
1335 </action>
1336 </page>
1337
1338 <page name="selectfilesystem">
1339 <template name="page"/>
1340
1341 <text style="text_l">
1342 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m">
1347 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m_accent">
1352 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <text style="text_m_accent">
1357 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 </text>
1360
1361 <text style="text_m_fail">
1362 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 </text>
1365
1366 <text style="text_m_fail">
1367 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <button style="main_button_half_width">
1372 <condition var1="tw_partition_ext" op="=" var2="1"/>
1373 <placement x="%col1_x_left%" y="%row11_y%"/>
1374 <text>EXT2</text>
1375 <actions>
1376 <action function="set">tw_back=refreshfilesystem</action>
1377 <action function="set">tw_action=changefilesystem</action>
1378 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1379 <action function="set">tw_action_new_file_system=ext2</action>
1380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1382 <action function="set">tw_text2=EXT2</action>
1383 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1384 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="page">confirm_action</action>
1387 </actions>
1388 </button>
1389
1390 <button style="main_button_half_width">
1391 <condition var1="tw_partition_ext" op="=" var2="1"/>
1392 <placement x="%col2_x_left%" y="%row11_y%"/>
1393 <text>EXT3</text>
1394 <actions>
1395 <action function="set">tw_back=refreshfilesystem</action>
1396 <action function="set">tw_action=changefilesystem</action>
1397 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1398 <action function="set">tw_action_new_file_system=ext3</action>
1399 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001400 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1401 <action function="set">tw_text2=EXT3</action>
1402 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1403 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1404 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001405 <action function="page">confirm_action</action>
1406 </actions>
1407 </button>
1408
1409 <button style="main_button_half_width">
1410 <condition var1="tw_partition_ext" op="=" var2="1"/>
1411 <placement x="%center_x%" y="%row11_y%"/>
1412 <text>EXT4</text>
1413 <actions>
1414 <action function="set">tw_back=refreshfilesystem</action>
1415 <action function="set">tw_action=changefilesystem</action>
1416 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1417 <action function="set">tw_action_new_file_system=ext4</action>
1418 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1420 <action function="set">tw_text2=EXT4</action>
1421 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1422 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1423 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001424 <action function="page">confirm_action</action>
1425 </actions>
1426 </button>
1427
1428 <button style="main_button_half_width">
1429 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1430 <placement x="%col2_x_right%" y="%row11_y%"/>
1431 <text>FAT</text>
1432 <actions>
1433 <action function="set">tw_back=refreshfilesystem</action>
1434 <action function="set">tw_action=changefilesystem</action>
1435 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1436 <action function="set">tw_action_new_file_system=vfat</action>
1437 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1439 <action function="set">tw_text2=FAT</action>
1440 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1441 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1442 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001443 <action function="page">confirm_action</action>
1444 </actions>
1445 </button>
1446
1447 <button style="main_button_half_width">
1448 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1449 <placement x="%col2_x_left%" y="%row15a_y%"/>
1450 <text>exFAT</text>
1451 <actions>
1452 <action function="set">tw_back=refreshfilesystem</action>
1453 <action function="set">tw_action=changefilesystem</action>
1454 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1455 <action function="set">tw_action_new_file_system=exfat</action>
1456 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1458 <action function="set">tw_text2=exFAT</action>
1459 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1460 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1461 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001462 <action function="page">confirm_action</action>
1463 </actions>
1464 </button>
1465
1466 <button style="main_button_half_width">
1467 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1468 <placement x="%center_x%" y="%row15a_y%"/>
1469 <text>F2FS</text>
1470 <actions>
1471 <action function="set">tw_back=refreshfilesystem</action>
1472 <action function="set">tw_action=changefilesystem</action>
1473 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1474 <action function="set">tw_action_new_file_system=f2fs</action>
1475 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001476 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1477 <action function="set">tw_text2=F2FS</action>
1478 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1479 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1480 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001481 <action function="page">confirm_action</action>
1482 </actions>
1483 </button>
1484
1485 <action>
1486 <touch key="home"/>
1487 <action function="page">main</action>
1488 </action>
1489
1490 <action>
1491 <touch key="back"/>
1492 <action function="page">partitionoptions</action>
1493 </action>
1494 </page>
1495
1496 <page name="backup">
1497 <template name="page"/>
1498
1499 <text style="text_l">
1500 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m">
1505 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_accent">
1510 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <text style="text_m">
1515 <placement x="%col1_x_left%" y="%row3_y%"/>
1516 <text>%tw_backup_name%</text>
1517 </text>
1518
1519 <fill color="%fileselector_linecolor%">
1520 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1521 </fill>
1522
1523 <button>
1524 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1525 <fill color="%transparent%"/>
1526 <actions>
1527 <action function="set">tw_fileexists=0</action>
1528 <action function="page">backupname1</action>
1529 </actions>
1530 </button>
1531
1532 <partitionlist>
1533 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001534 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001535 <data name="tw_backup_list"/>
1536 <listtype name="backup"/>
1537 </partitionlist>
1538
1539 <text style="text_m_accent">
1540 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001541 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001542 </text>
1543
1544 <text style="text_m">
1545 <conditions>
1546 <condition var1="tw_include_encrypted_backup" var2="1"/>
1547 <condition var1="tw_encrypt_backup" var2="0"/>
1548 </conditions>
1549 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001550 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001551 </text>
1552
1553 <text style="text_m">
1554 <conditions>
1555 <condition var1="tw_include_encrypted_backup" var2="1"/>
1556 <condition var1="tw_encrypt_backup" var2="1"/>
1557 </conditions>
1558 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001559 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001560 </text>
1561
1562 <fill color="%fileselector_linecolor%">
1563 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1564 </fill>
1565
1566 <button>
1567 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1568 <fill color="%transparent%"/>
1569 <actions>
1570 <action function="set">tw_password_not_match=0</action>
1571 <action function="page">backupencryption</action>
1572 </actions>
1573 </button>
1574
1575 <text style="text_m_accent">
1576 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001578 </text>
1579
1580 <checkbox>
1581 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 <data variable="tw_use_compression"/>
1584 </checkbox>
1585
1586 <checkbox>
1587 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001589 <data variable="tw_skip_md5_generate"/>
1590 </checkbox>
1591
1592 <checkbox>
1593 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <text>{@disable_backup_space_chk=Disable Free Space Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001595 <data variable="tw_disable_free_space"/>
1596 </checkbox>
1597
1598 <button style="main_button_half_width">
1599 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <actions>
1602 <action function="set">tw_back=backup</action>
1603 <action function="overlay">select_storage</action>
1604 </actions>
1605 </button>
1606
1607 <button style="main_button_half_width">
1608 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 <actions>
1611 <action function="refreshsizes"/>
1612 <action function="page">backup</action>
1613 </actions>
1614 </button>
1615
1616 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <action function="page">backup_run</action>
1619 </slider>
1620
1621 <action>
1622 <touch key="home"/>
1623 <action function="page">main</action>
1624 </action>
1625
1626 <action>
1627 <touch key="back"/>
1628 <action function="page">main</action>
1629 </action>
1630 </page>
1631
1632 <page name="backupname1">
1633 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001635 <action function="generatebackupname"/>
1636 </action>
1637
1638 <action>
1639 <action function="page">backupname2</action>
1640 </action>
1641 </page>
1642
1643 <page name="backupname2">
1644 <template name="page"/>
1645
1646 <text style="text_l">
1647 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m">
1652 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001653 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001654 </text>
1655
1656 <text style="text_m_accent">
1657 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </text>
1660
1661 <input>
1662 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1663 <text>%tw_backup_name%</text>
1664 <data name="tw_backup_name"/>
1665 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1666 <actions>
1667 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1668 <action function="set">tw_existpage=backupname2</action>
1669 <action function="set">tw_notexistpage=backup</action>
1670 <action function="page">filecheck</action>
1671 </actions>
1672 </input>
1673
1674 <fill color="%accent_color%">
1675 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1676 </fill>
1677
1678 <fill color="%text_fail_color%">
1679 <condition var1="tw_fileexists" var2="1"/>
1680 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1681 </fill>
1682
1683 <text style="text_m_fail">
1684 <condition var1="tw_fileexists" var2="1"/>
1685 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 </text>
1688
1689 <button style="main_button_half_width_low">
1690 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001691 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001694 <action function="page">backup</action>
1695 </actions>
1696 </button>
1697
1698 <button style="main_button_half_width_low">
1699 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 <action function="appenddatetobackupname"/>
1702 </button>
1703
1704 <template name="keyboardtemplate"/>
1705
1706 <action>
1707 <touch key="home"/>
1708 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">main</action>
1711 </actions>
1712 </action>
1713
1714 <action>
1715 <touch key="back"/>
1716 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001717 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001718 <action function="page">backup</action>
1719 </actions>
1720 </action>
1721 </page>
1722
1723 <page name="backupencryption">
1724 <template name="page"/>
1725
1726 <text style="text_l">
1727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <text style="text_m">
1732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 </text>
1735
1736 <text style="text_m_accent">
1737 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001738 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001739 </text>
1740
1741 <input>
1742 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1743 <text>%tw_backup_encrypt_display%</text>
1744 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1745 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1746 <action function="page">backupencryption2</action>
1747 </input>
1748
1749 <fill color="%accent_color%">
1750 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1751 </fill>
1752
1753 <fill color="%text_fail_color%">
1754 <condition var1="tw_password_not_match" var2="1"/>
1755 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1756 </fill>
1757
1758 <text style="text_m_fail">
1759 <condition var1="tw_password_not_match" var2="1"/>
1760 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </text>
1763
1764 <button style="main_button_half_width_low">
1765 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
1768 <action function="set">tw_encrypt_backup=0</action>
1769 <action function="set">tw_backup_password=</action>
1770 <action function="set">tw_backup_password2=</action>
1771 <action function="set">tw_backup_encrypt_display=</action>
1772 <action function="set">tw_backup_encrypt_display2=</action>
1773 <action function="page">backup</action>
1774 </actions>
1775 </button>
1776
1777 <template name="keyboardtemplate"/>
1778
1779 <action>
1780 <touch key="home"/>
1781 <action function="page">main</action>
1782 </action>
1783
1784 <action>
1785 <touch key="back"/>
1786 <action function="page">backup</action>
1787 </action>
1788 </page>
1789
1790 <page name="backupencryption2">
1791 <template name="page"/>
1792
1793 <text style="text_l">
1794 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001795 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </text>
1797
1798 <text style="text_m">
1799 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 </text>
1802
1803 <text style="text_m_accent">
1804 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001805 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001806 </text>
1807
1808 <input>
1809 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1810 <text>%tw_backup_encrypt_display2%</text>
1811 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1812 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1813 <action function="page">checkbackuppassword</action>
1814 </input>
1815
1816 <fill color="%accent_color%">
1817 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1818 </fill>
1819
1820 <text style="text_m">
1821 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </text>
1824
1825 <button style="main_button_half_width_low">
1826 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <actions>
1829 <action function="set">tw_encrypt_backup=0</action>
1830 <action function="set">tw_backup_password=</action>
1831 <action function="set">tw_backup_password2=</action>
1832 <action function="set">tw_backup_encrypt_display=</action>
1833 <action function="set">tw_backup_encrypt_display2=</action>
1834 <action function="page">backup</action>
1835 </actions>
1836 </button>
1837
1838 <template name="keyboardtemplate"/>
1839
1840 <action>
1841 <touch key="home"/>
1842 <action function="page">main</action>
1843 </action>
1844
1845 <action>
1846 <touch key="back"/>
1847 <action function="page">backup</action>
1848 </action>
1849 </page>
1850
1851 <page name="checkbackuppassword">
1852 <action>
1853 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1854 <actions>
1855 <action function="set">tw_encrypt_backup=1</action>
1856 <action function="page">backup</action>
1857 </actions>
1858 </action>
1859
1860 <action>
1861 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1862 <actions>
1863 <action function="set">tw_encrypt_backup=0</action>
1864 <action function="set">tw_password_not_match=1</action>
1865 <action function="set">tw_backup_password=</action>
1866 <action function="set">tw_backup_password2=</action>
1867 <action function="set">tw_backup_encrypt_display=</action>
1868 <action function="set">tw_backup_encrypt_display2=</action>
1869 <action function="page">backupencryption</action>
1870 </actions>
1871 </action>
1872 </page>
1873
1874 <page name="backup_run">
1875 <template name="page"/>
1876
1877 <text style="text_l">
1878 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1879 <text>%tw_operation%</text>
1880 </text>
1881
1882 <text style="text_m">
1883 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1884 <text>%tw_partition% Partition</text>
1885 </text>
1886
1887 <template name="console"/>
1888
1889 <template name="progress_bar"/>
1890
1891 <text style="text_m_accent">
1892 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <text style="text_m">
1897 <placement x="%progress_text_x%" y="%row17_y%"/>
1898 <text>%tw_file_progress%</text>
1899 </text>
1900
1901 <text style="text_m">
1902 <placement x="%progress_text_x%" y="%row18_y%"/>
1903 <text>%tw_size_progress%</text>
1904 </text>
1905
1906 <button style="main_button_half_width">
1907 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001908 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001909 <action function="cancelbackup"/>
1910 </button>
1911
1912 <action>
1913 <action function="nandroid">backup</action>
1914 </action>
1915
1916 <action>
1917 <condition var1="tw_operation_state" var2="1"/>
1918 <condition var1="tw_cancel_backup" var2="0"/>
1919 <actions>
1920 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001921 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001922 <action function="set">tw_show_reboot=1</action>
1923 <action function="page">action_complete</action>
1924 </actions>
1925 </action>
1926
1927 <action>
1928 <condition var1="tw_operation_state" var2="1"/>
1929 <condition var1="tw_cancel_backup" var2="1"/>
1930 <actions>
1931 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001933 <action function="set">tw_show_reboot=1</action>
1934 <action function="page">action_complete</action>
1935 </actions>
1936 </action>
1937 </page>
1938
1939 <page name="restore">
1940 <template name="page"/>
1941
1942 <text style="text_l">
1943 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 </text>
1946
1947 <text style="text_m">
1948 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001949 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001950 </text>
1951
1952 <template name="sort_options"/>
1953
1954 <fileselector>
1955 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 <filter folders="1" files="0" nav="0"/>
1958 <path name="tw_backups_folder"/>
1959 <data name="tw_restore" default=""/>
1960 <selection name="tw_restore_name"/>
1961 </fileselector>
1962
1963 <button style="main_button_half_width_low">
1964 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001965 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001966 <actions>
1967 <action function="set">tw_back=restore</action>
1968 <action function="overlay">select_storage</action>
1969 </actions>
1970 </button>
1971
1972 <action>
1973 <condition var1="tw_restore" op="modified"/>
1974 <actions>
1975 <action function="readBackup"/>
1976 <action function="page">restore_read</action>
1977 </actions>
1978 </action>
1979
1980 <action>
1981 <touch key="home"/>
1982 <action function="page">main</action>
1983 </action>
1984
1985 <action>
1986 <touch key="back"/>
1987 <action function="page">main</action>
1988 </action>
1989 </page>
1990
1991 <page name="restore_read">
1992 <action>
1993 <condition var1="tw_restore_encrypted" var2="1"/>
1994 <actions>
1995 <action function="set">tw_password_fail=0</action>
1996 <action function="page">restore_decrypt</action>
1997 </actions>
1998 </action>
1999
2000 <action>
2001 <condition var1="tw_restore_encrypted" var2="0"/>
2002 <actions>
2003 <action function="page">restore_select</action>
2004 </actions>
2005 </action>
2006 </page>
2007
2008 <page name="restore_decrypt">
2009 <template name="page"/>
2010
2011 <text style="text_l">
2012 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002014 </text>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <text style="text_m_accent">
2022 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 </text>
2025
2026 <input>
2027 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2028 <text>%tw_restore_display%</text>
2029 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2030 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2031 <action function="page">try_restore_decrypt</action>
2032 </input>
2033
2034 <fill color="%accent_color%">
2035 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2036 </fill>
2037
2038 <fill color="%text_fail_color%">
2039 <condition var1="tw_password_fail" var2="1"/>
2040 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2041 </fill>
2042
2043 <text style="text_m_fail">
2044 <condition var1="tw_password_fail" var2="1"/>
2045 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002046 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002047 </text>
2048
2049 <button style="main_button_half_width_low">
2050 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002051 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002052 <actions>
2053 <action function="set">tw_page_done=1</action>
2054 <action function="page">restore</action>
2055 </actions>
2056 </button>
2057
2058 <button style="main_button_half_width_low">
2059 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 <actions>
2062 <action function="set">tw_back=restore</action>
2063 <action function="set">tw_action=cmd</action>
2064 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2066 <action function="set">tw_text2=%tw_restore_name%</action>
2067 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2068 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2069 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2070 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002071 <action function="page">confirm_action</action>
2072 </actions>
2073 </button>
2074
2075 <template name="keyboardtemplate"/>
2076
2077 <action>
2078 <touch key="home"/>
2079 <action function="page">main</action>
2080 </action>
2081
2082 <action>
2083 <touch key="back"/>
2084 <action function="page">restore</action>
2085 </action>
2086 </page>
2087
2088 <page name="try_restore_decrypt">
2089 <template name="page"/>
2090
2091 <text style="text_l">
2092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <template name="console"/>
2102
2103 <template name="progress_bar"/>
2104
2105 <action>
2106 <action function="decrypt_backup"/>
2107 </action>
2108
2109 <action>
2110 <conditions>
2111 <condition var1="tw_operation_state" var2="1"/>
2112 <condition var1="tw_operation_status" op="!=" var2="0"/>
2113 </conditions>
2114 <actions>
2115 <action function="set">tw_password_fail=1</action>
2116 <action function="page">restore_decrypt</action>
2117 </actions>
2118 </action>
2119
2120 <action>
2121 <conditions>
2122 <condition var1="tw_operation_state" var2="1"/>
2123 <condition var1="tw_operation_status" op="=" var2="0"/>
2124 </conditions>
2125 <actions>
2126 <action function="set">tw_page_done=1</action>
2127 <action function="page">restore_select</action>
2128 </actions>
2129 </action>
2130 </page>
2131
2132 <page name="restore_select">
2133 <template name="page"/>
2134
2135 <text style="text_l">
2136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002137 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002138 </text>
2139
2140 <text style="text_m">
2141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002142 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002143 </text>
2144
2145 <text style="text_m_accent">
2146 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002147 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m">
2151 <placement x="%col1_x_left%" y="%row3_y%"/>
2152 <text>%tw_restore_name%</text>
2153 </text>
2154
2155 <fill color="%fileselector_linecolor%">
2156 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2157 </fill>
2158
2159 <button>
2160 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2161 <fill color="%transparent%"/>
2162 <actions>
2163 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2164 <action function="set">tw_fileexists=0</action>
2165 <action function="page">renamebackup</action>
2166 </actions>
2167 </button>
2168
2169 <partitionlist>
2170 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002171 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002172 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2173 <listtype name="restore"/>
2174 </partitionlist>
2175
2176 <text style="text_m_accent">
2177 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002178 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002179 </text>
2180
2181 <checkbox>
2182 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002183 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <data variable="tw_skip_md5_check"/>
2185 </checkbox>
2186
2187 <button style="main_button_half_width">
2188 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002189 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 <actions>
2191 <action function="set">tw_back=restore</action>
2192 <action function="set">tw_action=cmd</action>
2193 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002194 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002195 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002196 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2197 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2198 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2199 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002200 <action function="page">confirm_action</action>
2201 </actions>
2202 </button>
2203
2204 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002205 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002206 <action function="page">restore_run</action>
2207 </slider>
2208
2209 <action>
2210 <touch key="home"/>
2211 <action function="page">main</action>
2212 </action>
2213
2214 <action>
2215 <touch key="back"/>
2216 <action function="page">restore</action>
2217 </action>
2218 </page>
2219
2220 <page name="renamebackup">
2221 <template name="page"/>
2222
2223 <text style="text_l">
2224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <text style="text_m">
2229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <text style="text_m_accent">
2234 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002235 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002236 </text>
2237
2238 <input>
2239 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2240 <text>%tw_backup_rename%</text>
2241 <data name="tw_backup_rename"/>
2242 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2243 <actions>
2244 <action function="set">tw_back=restore</action>
2245 <action function="set">tw_action=cmd</action>
2246 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2248 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2249 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2250 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2251 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002252 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2253 <action function="set">tw_existpage=renamebackup</action>
2254 <action function="set">tw_notexistpage=confirm_action</action>
2255 <action function="page">filecheck</action>
2256 </actions>
2257 </input>
2258
2259 <fill color="%accent_color%">
2260 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2261 </fill>
2262
2263 <fill color="%text_fail_color%">
2264 <condition var1="tw_fileexists" var2="1"/>
2265 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2266 </fill>
2267
2268 <text style="text_m_fail">
2269 <condition var1="tw_fileexists" var2="1"/>
2270 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002272 </text>
2273
2274 <button style="main_button_half_width_low">
2275 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002276 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002277 <action function="page">restore_select</action>
2278 </button>
2279
2280 <template name="keyboardtemplate"/>
2281
2282 <action>
2283 <touch key="home"/>
2284 <action function="page">main</action>
2285 </action>
2286
2287 <action>
2288 <touch key="back"/>
2289 <action function="page">restore_select</action>
2290 </action>
2291 </page>
2292
2293 <page name="restore_run">
2294 <template name="page"/>
2295
2296 <text style="text_l">
2297 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </text>
2300
2301 <text style="text_m">
2302 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2303 <text>%tw_operation% %tw_partition%</text>
2304 </text>
2305
2306 <template name="console"/>
2307
2308 <template name="progress_bar"/>
2309
2310 <text style="text_m_accent">
2311 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 </text>
2314
2315 <text style="text_m">
2316 <placement x="%progress_text_x%" y="%row18_y%"/>
2317 <text>%tw_size_progress%</text>
2318 </text>
2319
2320 <action>
2321 <condition var1="tw_operation_state" var2="1"/>
2322 <actions>
2323 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002324 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002325 <action function="set">tw_show_reboot=1</action>
2326 <action function="page">action_complete</action>
2327 </actions>
2328 </action>
2329
2330 <action>
2331 <action function="nandroid">restore</action>
2332 </action>
2333 </page>
2334
2335 <page name="mount">
2336 <template name="page"/>
2337
2338 <text style="text_l">
2339 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002340 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002341 </text>
2342
2343 <text style="text_m">
2344 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <partitionlist>
2349 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002350 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002351 <listtype name="mount"/>
2352 </partitionlist>
2353
2354 <button style="checkbox">
2355 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2356 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002358 <image resource="checkbox_false"/>
2359 <action function="mountsystemtoggle">1</action>
2360 </button>
2361
2362 <button style="checkbox">
2363 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2364 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <image resource="checkbox_true"/>
2367 <actions>
2368 <action function="set">tw_lifetime_writes=2</action>
2369 <action function="page">system_readonly_check</action>
2370 </actions>
2371 </button>
2372
2373 <button style="main_button_half_width">
2374 <condition var1="tw_has_usb_storage" var2="1"/>
2375 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <action function="page">usb_mount</action>
2378 </button>
2379
2380 <button style="main_button_half_width">
2381 <conditions>
2382 <condition var1="tw_is_encrypted" var2="1"/>
2383 <condition var1="tw_is_decrypted" var2="0"/>
2384 </conditions>
2385 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">decrypt</action>
2388 </button>
2389
2390 <button style="main_button_half_width">
2391 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <actions>
2394 <action function="set">tw_back=mount</action>
2395 <action function="overlay">select_storage</action>
2396 </actions>
2397 </button>
2398
2399 <button style="main_button_half_width">
2400 <conditions>
2401 <condition var1="tw_has_mtp" var2="1"/>
2402 <condition var1="tw_mtp_enabled" var2="0"/>
2403 </conditions>
2404 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002405 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002406 <action function="startmtp"/>
2407 </button>
2408
2409 <button style="main_button_half_width">
2410 <conditions>
2411 <condition var1="tw_has_mtp" var2="1"/>
2412 <condition var1="tw_mtp_enabled" var2="1"/>
2413 </conditions>
2414 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 <action function="stopmtp"/>
2417 </button>
2418
2419 <action>
2420 <touch key="home"/>
2421 <action function="page">main</action>
2422 </action>
2423
2424 <action>
2425 <touch key="back"/>
2426 <action function="page">main</action>
2427 </action>
2428 </page>
2429
2430 <page name="usb_mount">
2431 <template name="page"/>
2432
2433 <text style="text_l">
2434 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </text>
2437
2438 <text style="text_m">
2439 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002440 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 </text>
2442
2443 <text style="text_m_accent">
2444 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 </text>
2447
2448 <text style="text_m">
2449 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 </text>
2452
2453 <text style="text_m">
2454 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002456 </text>
2457
2458 <button style="main_button_half_width">
2459 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <action function="page">usb_umount</action>
2462 </button>
2463
2464 <action>
2465 <action function="mount">usb</action>
2466 <action function="set">tw_busy=1</action>
2467 </action>
2468 </page>
2469
2470 <page name="usb_umount">
2471 <action>
2472 <action function="unmount">usb</action>
2473 </action>
2474
2475 <action>
2476 <action function="page">mount</action>
2477 <action function="set">tw_busy=0</action>
2478 </action>
2479 </page>
2480
2481 <page name="system_readonly_check">
2482 <action>
2483 <action function="checkpartitionlifetimewrites">/system</action>
2484 </action>
2485
2486 <action>
2487 <condition var1="tw_lifetime_writes" var2="1"/>
2488 <actions>
2489 <action function="mountsystemtoggle">0</action>
2490 <action function="page">mount</action>
2491 </actions>
2492 </action>
2493
2494 <action>
2495 <condition var1="tw_lifetime_writes" var2="0"/>
2496 <actions>
2497 <action function="set">tw_back=mount</action>
2498 <action function="page">system_readonly</action>
2499 </actions>
2500 </action>
2501 </page>
2502
2503 <page name="reboot">
2504 <template name="page"/>
2505
2506 <text style="text_l">
2507 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002508 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 </text>
2510
2511 <button style="main_button">
2512 <condition var1="tw_reboot_system" var2="1"/>
2513 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002514 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002515 <actions>
2516 <action function="set">tw_back=reboot</action>
2517 <action function="set">tw_action=reboot</action>
2518 <action function="set">tw_action_param=system</action>
2519 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2521 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2522 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2523 <action function="set">tw_action_text2=</action>
2524 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2525 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002526 <action function="page">rebootcheck</action>
2527 </actions>
2528 </button>
2529
2530 <button style="main_button">
2531 <condition var1="tw_reboot_poweroff" var2="1"/>
2532 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002533 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002534 <actions>
2535 <action function="set">tw_back=reboot</action>
2536 <action function="set">tw_action=reboot</action>
2537 <action function="set">tw_action_param=poweroff</action>
2538 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2540 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2541 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2542 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2543 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002544 <action function="page">rebootcheck</action>
2545 </actions>
2546 </button>
2547
2548 <button style="main_button">
2549 <condition var1="tw_reboot_recovery" var2="1"/>
2550 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <actions>
2553 <action function="set">tw_back=reboot</action>
2554 <action function="set">tw_action=reboot</action>
2555 <action function="set">tw_action_param=recovery</action>
2556 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002557 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2558 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2559 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2560 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2561 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002562 <action function="page">rebootcheck</action>
2563 </actions>
2564 </button>
2565
2566 <button style="main_button">
2567 <condition var1="tw_reboot_bootloader" var2="1"/>
2568 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 <actions>
2571 <action function="set">tw_back=reboot</action>
2572 <action function="set">tw_action=reboot</action>
2573 <action function="set">tw_action_param=bootloader</action>
2574 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2576 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2577 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2578 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2579 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002580 <action function="page">rebootcheck</action>
2581 </actions>
2582 </button>
2583
2584 <button style="main_button">
2585 <condition var1="tw_download_mode" var2="1"/>
2586 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002587 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002588 <actions>
2589 <action function="set">tw_back=reboot</action>
2590 <action function="set">tw_action=reboot</action>
2591 <action function="set">tw_action_param=download</action>
2592 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002593 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2594 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2595 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2596 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2597 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002598 <action function="page">rebootcheck</action>
2599 </actions>
2600 </button>
2601
2602 <action>
2603 <touch key="home"/>
2604 <action function="page">main</action>
2605 </action>
2606
2607 <action>
2608 <touch key="back"/>
2609 <action function="page">main</action>
2610 </action>
2611 </page>
2612
2613 <page name="system_readonly">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <text style="text_m_accent">
2622 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002624 </text>
2625
2626 <text style="text_m">
2627 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002628 <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002629 </text>
2630
2631 <text style="text_m">
2632 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002633 <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002634 </text>
2635
2636 <text style="text_m_fail">
2637 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002639 </text>
2640
2641 <checkbox>
2642 <condition var1="tw_is_encrypted" var2="0"/>
2643 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <data variable="tw_never_show_system_ro_page"/>
2646 </checkbox>
2647
2648 <button style="main_button_half_width">
2649 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 <actions>
2652 <action function="mountsystemtoggle">1</action>
2653 <action function="set">tw_page_done=1</action>
2654 <action function="page">%tw_back%</action>
2655 </actions>
2656 </button>
2657
2658 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002659 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <actions>
2661 <action function="mountsystemtoggle">0</action>
2662 <action function="set">tw_page_done=1</action>
2663 <action function="page">%tw_back%</action>
2664 </actions>
2665 </slider>
2666 </page>
2667
2668 <page name="settings">
2669 <template name="page"/>
2670
2671 <text style="text_l">
2672 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 </text>
2675
2676 <text style="text_m">
2677 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 </text>
2680
2681 <template name="tabs_settings"/>
2682
2683 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </fill>
2686
2687 <listbox style="scrolllist">
2688 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2689 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002691 <data variable="tw_signed_zip_verify"/>
2692 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002694 <data variable="tw_rm_rf"/>
2695 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002696 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002697 <data variable="tw_skip_md5_generate"/>
2698 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002699 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002700 <data variable="tw_skip_md5_check"/>
2701 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002703 <data variable="tw_military_time"/>
2704 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002705 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002706 <data variable="tw_simulate_actions"/>
2707 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002709 <condition var1="tw_simulate_actions" var2="1"/>
2710 <data variable="tw_simulate_fail"/>
2711 </listitem>
2712 </listbox>
2713
2714 <checkbox>
2715 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002716 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002717 <data variable="tw_samsung_navbar"/>
2718 </checkbox>
2719
2720 <button style="radiobutton">
2721 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2722 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002723 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002724 <image resource="radio_false"/>
2725 <action function="set">tw_navbar_button_position=0</action>
2726 </button>
2727
2728 <button style="radiobutton">
2729 <condition var1="tw_navbar_button_position" var2="0"/>
2730 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002731 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002732 <image resource="radio_true"/>
2733 <action function="set">tw_navbar_button_position=0</action>
2734 </button>
2735
2736 <button style="radiobutton">
2737 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2738 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 <image resource="radio_false"/>
2741 <action function="set">tw_navbar_button_position=1</action>
2742 </button>
2743
2744 <button style="radiobutton">
2745 <condition var1="tw_navbar_button_position" var2="1"/>
2746 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 <image resource="radio_true"/>
2749 <action function="set">tw_navbar_button_position=1</action>
2750 </button>
2751
2752 <button style="radiobutton">
2753 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2754 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002756 <image resource="radio_false"/>
2757 <action function="set">tw_navbar_button_position=2</action>
2758 </button>
2759
2760 <button style="radiobutton">
2761 <condition var1="tw_navbar_button_position" var2="2"/>
2762 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002763 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002764 <image resource="radio_true"/>
2765 <action function="set">tw_navbar_button_position=2</action>
2766 </button>
2767
2768 <button style="main_button_half_width">
2769 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 <action function="restoredefaultsettings"/>
2772 </button>
2773
2774 <action>
2775 <touch key="home"/>
2776 <action function="page">main</action>
2777 </action>
2778
2779 <action>
2780 <touch key="back"/>
2781 <action function="page">main</action>
2782 </action>
2783 </page>
2784
2785 <page name="settings_timezone">
2786 <template name="page"/>
2787
2788 <text style="text_l">
2789 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002791 </text>
2792
2793 <text style="text_m">
2794 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002796 </text>
2797
2798 <template name="tabs_settings"/>
2799
2800 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </fill>
2803
2804 <listbox>
2805 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002807 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2809 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2810 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2811 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2812 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2813 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2814 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2815 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2816 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2817 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2818 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2819 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2820 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2821 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2822 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2823 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2824 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2825 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2826 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2827 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2828 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2829 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2830 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2831 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002832 </listbox>
2833
2834 <text style="text_m_accent">
2835 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 </text>
2838
2839 <button style="button_quarter_width">
2840 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <action function="set">tw_time_zone_guioffset=0</action>
2843 </button>
2844
2845 <button style="button_quarter_width">
2846 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 <action function="set">tw_time_zone_guioffset=15</action>
2849 </button>
2850
2851 <button style="button_quarter_width">
2852 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_time_zone_guioffset=30</action>
2855 </button>
2856
2857 <button style="button_quarter_width">
2858 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <action function="set">tw_time_zone_guioffset=45</action>
2861 </button>
2862
2863 <checkbox>
2864 <placement x="%col1_x_right%" y="%row7_y%"/>
2865 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002866 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002867 <data variable="tw_time_zone_guidst"/>
2868 <image checked="checkbox_true" unchecked="checkbox_false"/>
2869 </checkbox>
2870
2871 <text color="%text_color%">
2872 <font resource="font_m"/>
2873 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <button>
2878 <highlight color="%highlight_color%"/>
2879 <placement x="%col2_x_right%" y="%row15a_y%"/>
2880 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002882 <image resource="main_button_half_width"/>
2883 <action function="setguitimezone"/>
2884 </button>
2885
2886 <action>
2887 <touch key="home"/>
2888 <action function="page">main</action>
2889 </action>
2890
2891 <action>
2892 <touch key="back"/>
2893 <action function="page">main</action>
2894 </action>
2895 </page>
2896
2897 <page name="settings_screen">
2898 <template name="page"/>
2899
2900 <text style="text_l">
2901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002902 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002903 </text>
2904
2905 <text style="text_m">
2906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002907 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002908 </text>
2909
2910 <template name="tabs_settings"/>
2911
2912 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002914 </fill>
2915
2916 <button>
2917 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2918 <font resource="font_m" color="%text_color%"/>
2919 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
2920 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002921 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <image resource="checkbox_false"/>
2923 <action function="set">tw_screen_timeout_secs=60</action>
2924 </button>
2925
2926 <button>
2927 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
2928 <font resource="font_m" color="%text_color%"/>
2929 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2930 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 <image resource="checkbox_true"/>
2933 <action function="set">tw_screen_timeout_secs=0</action>
2934 </button>
2935
2936 <slidervalue>
2937 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
2938 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
2939 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002940 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002941 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
2942 </slidervalue>
2943
2944 <slidervalue>
2945 <condition var1="tw_has_brightnesss_file" var2="1"/>
2946 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 <data variable="tw_brightness_pct" min="10" max="100"/>
2949 <actions>
2950 <action function="set">tw_brightness=%tw_brightness_max%</action>
2951 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2952 <action function="compute">tw_brightness/100</action>
2953 <action function="setbrightness">%tw_brightness%</action>
2954 </actions>
2955 </slidervalue>
2956
2957 <action>
2958 <touch key="home"/>
2959 <action function="page">main</action>
2960 </action>
2961
2962 <action>
2963 <touch key="back"/>
2964 <action function="page">main</action>
2965 </action>
2966 </page>
2967
2968 <page name="settings_vibration">
2969 <template name="page"/>
2970
2971 <text style="text_l">
2972 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002974 </text>
2975
2976 <text style="text_m">
2977 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002979 </text>
2980
2981 <template name="tabs_settings"/>
2982
2983 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </fill>
2986
2987 <slidervalue>
2988 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 <data variable="tw_button_vibrate" min="0" max="300"/>
2991 </slidervalue>
2992
2993 <slidervalue>
2994 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
2997 </slidervalue>
2998
2999 <slidervalue>
3000 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 <data variable="tw_action_vibrate" min="0" max="500"/>
3003 </slidervalue>
3004
3005 <action>
3006 <touch key="home"/>
3007 <action function="page">main</action>
3008 </action>
3009
3010 <action>
3011 <touch key="back"/>
3012 <action function="page">main</action>
3013 </action>
3014 </page>
3015
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <page name="settings_language">
3017 <template name="page"/>
3018
3019 <text style="text_l">
3020 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3021 <text>{@settings_hdr=Settings}</text>
3022 </text>
3023
3024 <text style="text_m">
3025 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3026 <text>{@language_hdr=Language - %tw_language_display%}</text>
3027 </text>
3028
3029 <template name="tabs_settings"/>
3030
3031 <fill color="%text_color%">
3032 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3033 </fill>
3034
3035 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003036 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@select_language=Select Language:}</text>
3038 <icon selected="radio_true" unselected="radio_false" />
3039 <data name="tw_language" />
3040 </listbox>
3041
z31s1g56189522016-01-13 19:12:40 +01003042 <button>
3043 <highlight color="%highlight_color%"/>
3044 <placement x="%col2_x_right%" y="%row15a_y%"/>
3045 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003047 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <action function="setlanguage"></action>
3049 </button>
3050
3051 <action>
3052 <touch key="home" />
3053 <action function="page">main</action>
3054 </action>
3055
3056 <action>
3057 <touch key="back" />
3058 <action function="page">settings</action>
3059 </action>
3060 </page>
3061
z31s1g28f0a922015-11-07 18:50:22 +01003062 <page name="advanced">
3063 <template name="page"/>
3064
3065 <text style="text_l">
3066 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 </text>
3069
3070 <button style="main_button">
3071 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003073 <actions>
3074 <action function="set">tw_back=advanced</action>
3075 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3077 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3078 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3079 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003080 <action function="page">confirm_action</action>
3081 </actions>
3082 </button>
3083
3084 <button style="main_button">
3085 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003086 <text>{@fix_perm_btn=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003087 <action function="page">fixperms</action>
3088 </button>
3089
3090 <button style="main_button">
3091 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3092 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003094 <actions>
3095 <action function="set">partitionlisterror=0</action>
3096 <action function="page">partsdcardsel</action>
3097 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003098 </button>
3099
3100 <button style="main_button">
3101 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <action function="page">filemanagerlist</action>
3104 </button>
3105
3106 <button style="main_button">
3107 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003109 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003110 </button>
3111
3112 <button style="main_button">
3113 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003115 <action function="reload"/>
3116 </button>
3117
3118 <button style="main_button">
3119 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <action function="page">sideload</action>
3122 </button>
3123
3124 <button style="main_button">
3125 <condition var1="tw_show_dumlock" var2="1"/>
3126 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <action function="page">htcdumlock</action>
3129 </button>
3130
3131 <button style="main_button">
3132 <condition var1="tw_has_injecttwrp" var2="1"/>
3133 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003134 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003135 <actions>
3136 <action function="set">tw_back=advanced</action>
3137 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3139 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3140 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3141 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003142 <action function="page">confirm_action</action>
3143 </actions>
3144 </button>
3145
3146 <action>
3147 <touch key="home"/>
3148 <action function="page">main</action>
3149 </action>
3150
3151 <action>
3152 <touch key="back"/>
3153 <action function="page">main</action>
3154 </action>
3155 </page>
3156
Ethan Yonker483e9f42016-01-11 22:21:18 -06003157 <page name="partsdcardsel">
3158 <template name="page"/>
3159
3160 <text style="text_l">
3161 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3162 <text>{@advanced_hdr=Advanced}</text>
3163 </text>
3164
3165 <text style="text_m">
3166 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3167 <text>{@part_sd_hdr=Partition SD Card}</text>
3168 </text>
3169
3170 <partitionlist style="partitionlist_storage">
3171 <text>{@sel_storage_list=Select Storage}</text>
3172 <data name="tw_storage_path"/>
3173 <listtype name="storage"/>
3174 </partitionlist>
3175
3176 <button style="button_third_width">
3177 <placement x="%dialog_button_x%" y="%row13_y%"/>
3178 <text>{@ok_btn=OK}</text>
3179 <actions>
3180 <action function="getpartitiondetails">tw_storage_path</action>
3181 <action function="page">partsdcardcheck</action>
3182 </actions>
3183 </button>
3184
3185 <text style="text_m_fail">
3186 <condition var1="partitionlisterror" var2="1"/>
3187 <placement x="%center_x%" y="%row17_y%" placement="5"/>
3188 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3189 </text>
3190
3191 <action>
3192 <touch key="home"/>
3193 <action function="page">main</action>
3194 </action>
3195
3196 <action>
3197 <touch key="back"/>
3198 <action function="page">advanced</action>
3199 </action>
3200 </page>
3201
3202 <page name="partsdcardcheck">
3203 <action>
3204 <condition var1="tw_partition_removable" op="=" var2="1"/>
3205 <actions>
3206 <action function="set">partitionlisterror=0</action>
3207 <action function="page">partsdcard</action>
3208 </actions>
3209 </action>
3210
3211 <action>
3212 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3213 <actions>
3214 <action function="set">partitionlisterror=1</action>
3215 <action function="page">partsdcardsel</action>
3216 </actions>
3217 </action>
3218 </page>
3219
z31s1g28f0a922015-11-07 18:50:22 +01003220 <page name="partsdcard">
3221 <template name="page"/>
3222
3223 <text style="text_l">
3224 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 </text>
3227
3228 <text style="text_m">
3229 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003231 </text>
3232
3233 <text style="text_m_fail">
3234 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 </text>
3237
3238 <text style="text_m_fail">
3239 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003240 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003241 </text>
3242
3243 <text style="text_m_accent">
3244 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 </text>
3247
3248 <text style="text_m">
3249 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3250 <text>%tw_sdext_size%</text>
3251 </text>
3252
3253 <button style="button_quarter_width">
3254 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003256 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003257 </button>
3258
3259 <button style="button_quarter_width">
3260 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003262 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </button>
3264
3265 <text style="text_m_accent">
3266 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </text>
3269
3270 <text style="text_m">
3271 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3272 <text>%tw_swap_size%</text>
3273 </text>
3274
3275 <button style="button_quarter_width">
3276 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003278 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003279 </button>
3280
3281 <button style="button_quarter_width">
3282 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003284 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003285 </button>
3286
3287 <text style="text_m_accent">
3288 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003289 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003290 </text>
3291
3292 <text style="text_m">
3293 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3294 <text>%tw_sdpart_file_system%</text>
3295 </text>
3296
3297 <button style="button_quarter_width">
3298 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3299 <text>EXT3</text>
3300 <action function="set">tw_sdpart_file_system=ext3</action>
3301 </button>
3302
3303 <button style="button_quarter_width">
3304 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3305 <text>EXT4</text>
3306 <action function="set">tw_sdpart_file_system=ext4</action>
3307 </button>
3308
3309 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 <action function="page">partsdcardaction</action>
3312 <actions>
3313 <action function="set">tw_back=partsdcard</action>
3314 <action function="set">tw_action=partitionsd</action>
3315 <action function="set">tw_has_action2=1</action>
3316 <action function="set">tw_action2=set</action>
3317 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3319 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3320 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003321 <action function="page">action_page</action>
3322 </actions>
3323 </slider>
3324
3325 <action>
3326 <touch key="home"/>
3327 <action function="page">main</action>
3328 </action>
3329
3330 <action>
3331 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003332 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003333 </action>
3334 </page>
3335
3336 <page name="htcdumlock">
3337 <template name="page"/>
3338
3339 <text style="text_l">
3340 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003342 </text>
3343
3344 <text style="text_m">
3345 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 </text>
3348
3349 <button style="main_button_m">
3350 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003351 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003352 <actions>
3353 <action function="set">tw_back=htcdumlock</action>
3354 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3356 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3357 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3358 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003359 <action function="page">confirm_action</action>
3360 </actions>
3361 </button>
3362
3363 <button style="main_button_m">
3364 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <actions>
3367 <action function="set">tw_back=htcdumlock</action>
3368 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3370 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3371 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3372 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <action function="page">confirm_action</action>
3374 </actions>
3375 </button>
3376
3377 <button style="main_button_m">
3378 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003379 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <actions>
3381 <action function="set">tw_back=htcdumlock</action>
3382 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3384 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3385 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3386 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="page">confirm_action</action>
3388 </actions>
3389 </button>
3390
3391 <action>
3392 <touch key="home"/>
3393 <action function="page">main</action>
3394 </action>
3395
3396 <action>
3397 <touch key="back"/>
3398 <action function="page">advanced</action>
3399 </action>
3400 </page>
3401
3402 <page name="lock">
3403 <background color="%semi_transparent%"/>
3404
3405 <image>
3406 <image resource="unlock_icon"/>
3407 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3408 </image>
3409
3410 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003411 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003412 <action function="overlay"/>
3413 </slider>
3414 </page>
3415
3416 <page name="filemanagerlist">
3417 <template name="page"/>
3418
3419 <text style="text_l">
3420 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </text>
3423
3424 <text style="text_m">
3425 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003426 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003427 </text>
3428
3429 <template name="sort_options"/>
3430
3431 <fileselector>
3432 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3433 <text>%tw_file_location1%</text>
3434 <filter folders="1" files="1"/>
3435 <path name="tw_file_location1" default="/"/>
3436 <data name="tw_filename1"/>
3437 <selection name="tw_selection1"/>
3438 </fileselector>
3439
3440 <button style="main_button_half_width_low">
3441 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 <actions>
3444 <action function="set">tw_filename1=tw_file_location1</action>
3445 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003447 <action function="page">filemanageroptions</action>
3448 </actions>
3449 </button>
3450
3451 <action>
3452 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003454 <action function="set">tw_fm_isfolder=0</action>
3455 </actions>
3456 </action>
3457
3458 <action>
3459 <touch key="home"/>
3460 <action function="page">main</action>
3461 </action>
3462
3463 <action>
3464 <touch key="back"/>
3465 <action function="page">advanced</action>
3466 </action>
3467
3468 <action>
3469 <condition var1="tw_filename1" op="modified"/>
3470 <action function="page">filemanageroptions</action>
3471 </action>
3472 </page>
3473
3474 <page name="filemanageroptions">
3475 <template name="page"/>
3476
3477 <text style="text_l">
3478 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </text>
3481
3482 <text style="text_m">
3483 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 </text>
3486
3487 <text style="text_m_accent">
3488 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003490 </text>
3491
3492 <text style="text_m">
3493 <placement x="%col1_x_left%" y="%row3_y%"/>
3494 <text>%tw_filename1%</text>
3495 </text>
3496
3497 <button style="main_button_half_width">
3498 <condition var1="tw_fm_isfolder" var2="0"/>
3499 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 <actions>
3502 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003504 <action function="page">choosedestinationfolder</action>
3505 </actions>
3506 </button>
3507
3508 <button style="main_button_half_width">
3509 <condition var1="tw_fm_isfolder" var2="1"/>
3510 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003512 <actions>
3513 <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 -05003514 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003515 <action function="page">choosedestinationfolder</action>
3516 </actions>
3517 </button>
3518
3519 <button style="main_button_half_width">
3520 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003522 <actions>
3523 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <action function="page">choosedestinationfolder</action>
3526 </actions>
3527 </button>
3528
3529 <button style="main_button_half_width">
3530 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 <actions>
3533 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003535 <action function="set">tw_fm_text2=</action>
3536 <action function="set">tw_fm_text3=</action>
3537 <action function="set">tw_include_text3=0</action>
3538 <action function="set">tw_back=filemanageroptions</action>
3539 <action function="page">filemanagerconfirm</action>
3540 </actions>
3541 </button>
3542
3543 <button style="main_button_half_width">
3544 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <actions>
3547 <action function="set">tw_filemanager_rename=0000</action>
3548 <action function="set">tw_fm_text2=</action>
3549 <action function="set">tw_fm_text3=</action>
3550 <action function="set">tw_include_text3=0</action>
3551 <action function="set">tw_back=filemanageroptions</action>
3552 <action function="page">filemanagerchmod</action>
3553 </actions>
3554 </button>
3555
3556 <button style="main_button_half_width">
3557 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <actions>
3560 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="set">tw_fm_text2=</action>
3563 <action function="set">tw_fm_text3=</action>
3564 <action function="set">tw_include_text3=0</action>
3565 <action function="set">tw_back=filemanageroptions</action>
3566 <action function="page">filemanagerconfirm</action>
3567 </actions>
3568 </button>
3569
3570 <button style="main_button_half_width">
3571 <condition var1="tw_fm_isfolder" var2="0"/>
3572 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003574 <actions>
3575 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003577 <action function="set">tw_filemanager_command=mv</action>
3578 <action function="page">filemanagerrenamefile</action>
3579 </actions>
3580 </button>
3581
3582 <button style="main_button_half_width">
3583 <condition var1="tw_fm_isfolder" var2="1"/>
3584 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <actions>
3587 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3590 <action function="page">filemanagerrenamefolder</action>
3591 </actions>
3592 </button>
3593
3594 <action>
3595 <touch key="home"/>
3596 <action function="page">main</action>
3597 </action>
3598
3599 <action>
3600 <touch key="back"/>
3601 <action function="page">filemanagerlist</action>
3602 </action>
3603 </page>
3604
3605 <page name="choosedestinationfolder">
3606 <template name="page"/>
3607
3608 <text style="text_l">
3609 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </text>
3612
3613 <text style="text_m">
3614 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 </text>
3617
3618 <template name="sort_options"/>
3619
3620 <fileselector>
3621 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3622 <text>%tw_file_location2%</text>
3623 <filter folders="1" files="0"/>
3624 <path name="tw_file_location2" default="/"/>
3625 <data name="tw_filename2"/>
3626 <selection name="tw_selection2"/>
3627 </fileselector>
3628
3629 <button style="main_button_half_width_low">
3630 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 <actions>
3633 <action function="set">tw_fm_text2=to</action>
3634 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3635 <action function="set">tw_include_text3=1</action>
3636 <action function="set">tw_back=filemanageroptions</action>
3637 <action function="page">filemanagerconfirm</action>
3638 </actions>
3639 </button>
3640
3641 <action>
3642 <touch key="home"/>
3643 <action function="page">main</action>
3644 </action>
3645
3646 <action>
3647 <touch key="back"/>
3648 <action function="page">filemanageroptions</action>
3649 </action>
3650 </page>
3651
3652 <page name="filemanagerrenamefile">
3653 <template name="page"/>
3654
3655 <text style="text_l">
3656 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 </text>
3659
3660 <text style="text_m">
3661 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 </text>
3664
3665 <text style="text_m_accent">
3666 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </text>
3669
3670 <input>
3671 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3672 <text>%tw_filemanager_rename%</text>
3673 <data name="tw_filemanager_rename"/>
3674 <restrict minlen="1" maxlen="128"/>
3675 <actions>
3676 <action function="set">tw_fm_text2=to</action>
3677 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3678 <action function="set">tw_include_text3=1</action>
3679 <action function="set">tw_back=filemanageroptions</action>
3680 <action function="page">filemanagerconfirm</action>
3681 </actions>
3682 </input>
3683
3684 <fill color="%accent_color%">
3685 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3686 </fill>
3687
3688 <button style="main_button_half_width_low">
3689 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 <action function="page">filemanageroptions</action>
3692 </button>
3693
3694 <template name="keyboardtemplate"/>
3695
3696 <action>
3697 <touch key="home"/>
3698 <action function="page">main</action>
3699 </action>
3700
3701 <action>
3702 <touch key="back"/>
3703 <action function="page">filemanageroptions</action>
3704 </action>
3705 </page>
3706
3707 <page name="filemanagerrenamefolder">
3708 <template name="page"/>
3709
3710 <text style="text_l">
3711 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003713 </text>
3714
3715 <text style="text_m">
3716 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <text style="text_m_accent">
3721 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003723 </text>
3724
3725 <input>
3726 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3727 <text>%tw_filemanager_rename%</text>
3728 <data name="tw_filemanager_rename"/>
3729 <restrict minlen="1" maxlen="128"/>
3730 <actions>
3731 <action function="set">tw_fm_text2=to</action>
3732 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3733 <action function="set">tw_include_text3=1</action>
3734 <action function="set">tw_back=filemanageroptions</action>
3735 <action function="page">filemanagerconfirm</action>
3736 </actions>
3737 </input>
3738
3739 <fill color="%accent_color%">
3740 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3741 </fill>
3742
3743 <button style="main_button_half_width_low">
3744 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 <action function="page">filemanageroptions</action>
3747 </button>
3748
3749 <template name="keyboardtemplate"/>
3750
3751 <action>
3752 <touch key="home"/>
3753 <action function="page">main</action>
3754 </action>
3755
3756 <action>
3757 <touch key="back"/>
3758 <action function="page">filemanageroptions</action>
3759 </action>
3760 </page>
3761
3762 <page name="filemanagerchmod">
3763 <template name="page"/>
3764
3765 <text style="text_l">
3766 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003767 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003768 </text>
3769
3770 <text style="text_m">
3771 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 </text>
3774
3775 <text style="text_m_accent">
3776 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 </text>
3779
3780 <input>
3781 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3782 <text>%tw_filemanager_rename%</text>
3783 <data name="tw_filemanager_rename"/>
3784 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3785 <actions>
3786 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3787 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3788 <action function="set">tw_back=filemanageroptions</action>
3789 <action function="page">filemanagerconfirm</action>
3790 </actions>
3791 </input>
3792
3793 <fill color="%accent_color%">
3794 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3795 </fill>
3796
3797 <button style="main_button_half_width_low">
3798 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 <action function="page">filemanageroptions</action>
3801 </button>
3802
3803 <template name="keyboardtemplate"/>
3804
3805 <action>
3806 <touch key="home"/>
3807 <action function="page">main</action>
3808 </action>
3809
3810 <action>
3811 <touch key="back"/>
3812 <action function="page">filemanageroptions</action>
3813 </action>
3814 </page>
3815
3816 <page name="filemanagerconfirm">
3817 <template name="page"/>
3818
3819 <text style="text_l">
3820 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003821 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003822 </text>
3823
3824 <text style="text_m">
3825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003827 </text>
3828
3829 <text style="text_m_accent">
3830 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3831 <text>%tw_fm_text1%</text>
3832 </text>
3833
3834 <text style="text_m">
3835 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3836 <text>%tw_filename1%</text>
3837 </text>
3838
3839 <text style="text_m_accent">
3840 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3841 <text>%tw_fm_text2%</text>
3842 </text>
3843
3844 <text style="text_m">
3845 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3846 <text>%tw_fm_text3%</text>
3847 </text>
3848
3849 <text style="text_m">
3850 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 </text>
3853
3854 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 <action function="page">filemanageraction</action>
3857 </slider>
3858
3859 <action>
3860 <touch key="back"/>
3861 <action function="page">%tw_back%</action>
3862 </action>
3863
3864 <action>
3865 <touch key="home"/>
3866 <action function="page">main</action>
3867 </action>
3868 </page>
3869
3870 <page name="filemanageraction">
3871 <template name="page"/>
3872
3873 <text style="text_l">
3874 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <text style="text_m">
3879 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3880 <text>%tw_fm_text1%</text>
3881 </text>
3882
3883 <template name="console"/>
3884
3885 <template name="progress_bar"/>
3886
3887 <action>
3888 <conditions>
3889 <condition var1="tw_operation_state" var2="1"/>
3890 <condition var1="tw_operation_status" var2="0"/>
3891 </conditions>
3892 <actions>
3893 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003894 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003895 <action function="page">action_complete</action>
3896 </actions>
3897 </action>
3898
3899 <action>
3900 <conditions>
3901 <condition var1="tw_operation_state" var2="1"/>
3902 <condition var1="tw_operation_status" op="!=" var2="0"/>
3903 </conditions>
3904 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <action function="page">action_complete</action>
3907 </actions>
3908 </action>
3909
3910 <action>
3911 <condition var1="tw_include_text3" var2="0"/>
3912 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3913 </action>
3914
3915 <action>
3916 <condition var1="tw_include_text3" var2="1"/>
3917 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
3918 </action>
3919 </page>
3920
3921 <page name="decrypt">
3922 <template name="page"/>
3923
3924 <action>
3925 <condition var1="tw_crypto_pwtype" var2="2"/>
3926 <action function="page">decrypt_pattern</action>
3927 </action>
3928
3929 <text style="text_l">
3930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m">
3935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <text style="text_m_accent">
3940 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 </text>
3943
3944 <input>
3945 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
3946 <text>%tw_crypto_display%</text>
3947 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
3948 <restrict minlen="1" maxlen="254"/>
3949 <action function="page">trydecrypt</action>
3950 </input>
3951
3952 <fill color="%accent_color%">
3953 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3954 </fill>
3955
3956 <fill color="%text_fail_color%">
3957 <condition var1="tw_password_fail" var2="1"/>
3958 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
3959 </fill>
3960
3961 <text style="text_m_fail">
3962 <condition var1="tw_password_fail" var2="1"/>
3963 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@decryt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 </text>
3966
3967 <button style="main_button_half_width_low">
3968 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003970 <actions>
3971 <action function="set">tw_page_done=1</action>
3972 <action function="page">main</action>
3973 </actions>
3974 </button>
3975
3976 <template name="keyboardtemplate"/>
3977 </page>
3978
3979 <page name="decrypt_pattern">
3980 <template name="page"/>
3981
3982 <text style="text_l">
3983 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003984 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 </text>
3986
3987 <text style="text_m">
3988 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 </text>
3991
3992 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01003993 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003995 </text>
3996
Aleksa Saraib25a1832015-12-31 17:36:00 +01003997 <text style="text_m_fail">
3998 <condition var1="tw_password_fail" var2="1"/>
3999 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
4000 <text>{@decryt_data_failed_pattern=Pattern failed, please try again!}</text>
4001 </text>
4002
z31s1g28f0a922015-11-07 18:50:22 +01004003 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004004 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004005 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4006 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4007 <data name="tw_crypto_password"/>
4008 <action function="page">trydecrypt</action>
4009 </patternpassword>
4010
Aleksa Saraib25a1832015-12-31 17:36:00 +01004011 <button style="main_button_half_width_low">
4012 <placement x="%col_button_right%" y="%row1a_y%"/>
4013 <text>3x3</text>
4014 <action function="set">tw_gui_pattern_grid_size=3</action>
4015 </button>
4016
4017 <button style="main_button_half_width_low">
4018 <placement x="%col_button_right%" y="%row4a_y%"/>
4019 <text>4x4</text>
4020 <action function="set">tw_gui_pattern_grid_size=4</action>
4021 </button>
4022
4023 <button style="main_button_half_width_low">
4024 <placement x="%col_button_right%" y="%row7a_y%"/>
4025 <text>5x5</text>
4026 <action function="set">tw_gui_pattern_grid_size=5</action>
4027 </button>
4028
4029 <button style="main_button_half_width_low">
4030 <placement x="%col_button_right%" y="%row10a_y%"/>
4031 <text>6x6</text>
4032 <action function="set">tw_gui_pattern_grid_size=6</action>
4033 </button>
4034
z31s1g28f0a922015-11-07 18:50:22 +01004035 <button style="main_button_half_width">
4036 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 <actions>
4039 <action function="set">tw_page_done=1</action>
4040 <action function="page">main</action>
4041 </actions>
4042 </button>
4043 </page>
4044
4045 <page name="trydecrypt">
4046 <template name="page"/>
4047
4048 <text style="text_l">
4049 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 </text>
4052
4053 <text style="text_m">
4054 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004056 </text>
4057
4058 <template name="console"/>
4059
4060 <template name="progress_bar"/>
4061
4062 <action>
4063 <action function="decrypt"/>
4064 </action>
4065
4066 <action>
4067 <conditions>
4068 <condition var1="tw_operation_state" var2="1"/>
4069 <condition var1="tw_operation_status" op="!=" var2="0"/>
4070 </conditions>
4071 <actions>
4072 <action function="set">tw_password_fail=1</action>
4073 <action function="page">decrypt</action>
4074 </actions>
4075 </action>
4076
4077 <action>
4078 <conditions>
4079 <condition var1="tw_operation_state" var2="1"/>
4080 <condition var1="tw_operation_status" op="=" var2="0"/>
4081 </conditions>
4082 <actions>
4083 <action function="set">tw_page_done=1</action>
4084 <action function="page">main</action>
4085 </actions>
4086 </action>
4087 </page>
4088
z31s1g28f0a922015-11-07 18:50:22 +01004089 <page name="terminalcommand">
4090 <template name="page"/>
4091
4092 <fill color="%background_color%">
4093 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4094 </fill>
4095
z31s1g56189522016-01-13 19:12:40 +01004096 <terminal>
4097 <condition var1="tw_hide_kb" var2="0"/>
4098 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4099 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004100
z31s1g56189522016-01-13 19:12:40 +01004101 <terminal>
4102 <condition var1="tw_hide_kb" var2="1"/>
4103 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4104 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004105
z31s1g56189522016-01-13 19:12:40 +01004106 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004107
z31s1g56189522016-01-13 19:12:40 +01004108 <object type="fill" color="#000000">
4109 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4110 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004111
z31s1g56189522016-01-13 19:12:40 +01004112 <object type="button">
4113 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4114 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4115 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4116 <image resource="back" />
4117 <condition var1="tw_busy" var2="0" />
4118 <actions>
4119 <action function="set">tw_hide_kb=0</action>
4120 <action function="page">advanced</action>
4121 </actions>
4122 </object>
4123
4124 <object type="button">
4125 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4126 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4127 <condition var1="tw_hide_kb" op="=" var2="0" />
4128 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4129 <image resource="kb_hide" />
4130 <condition var1="tw_busy" var2="0" />
4131 <actions>
4132 <action function="set">tw_hide_kb=1</action>
4133 <action function="page">terminalcommand</action>
4134 </actions>
4135 </object>
4136
4137 <object type="button">
4138 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4139 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4140 <condition var1="tw_hide_kb" op="=" var2="1" />
4141 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4142 <image resource="kb_show" />
4143 <condition var1="tw_busy" var2="0" />
4144 <actions>
4145 <action function="set">tw_hide_kb=0</action>
4146 <action function="page">terminalcommand</action>
4147 </actions>
4148 </object>
4149
4150 <object type="button">
4151 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4152 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4153 <image resource="home" />
4154 <condition var1="tw_busy" var2="0" />
4155 <actions>
4156 <action function="set">tw_hide_kb=0</action>
4157 <action function="key">home</action>
4158 </actions>
4159 </object>
4160
4161 <object type="button">
4162 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4163 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4164 <condition var1="tw_hide_kb" op="=" var2="0" />
4165 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4166 <image resource="kb_hide" />
4167 <condition var1="tw_busy" var2="0" />
4168 <actions>
4169 <action function="set">tw_hide_kb=1</action>
4170 <action function="page">terminalcommand</action>
4171 </actions>
4172 </object>
4173
4174 <object type="button">
4175 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4176 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4177 <condition var1="tw_hide_kb" op="=" var2="1" />
4178 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4179 <image resource="kb_show" />
4180 <condition var1="tw_busy" var2="0" />
4181 <actions>
4182 <action function="set">tw_hide_kb=0</action>
4183 <action function="page">terminalcommand</action>
4184 </actions>
4185 </object>
4186
4187 <object type="button">
4188 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4189 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4190 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4191 <image resource="back" />
4192 <condition var1="tw_busy" var2="0" />
4193 <actions>
4194 <action function="set">tw_hide_kb=0</action>
4195 <action function="page">advanced</action>
4196 </actions>
4197 </object>
4198
4199 <object type="button">
4200 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4201 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4202 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4203 <image resource="back" />
4204 <condition var1="tw_busy" var2="0" />
4205 <actions>
4206 <action function="set">tw_hide_kb=0</action>
4207 <action function="page">advanced</action>
4208 </actions>
4209 </object>
4210
4211 <object type="button">
4212 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4213 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4214 <condition var1="tw_hide_kb" op="=" var2="0" />
4215 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4216 <image resource="kb_hide" />
4217 <condition var1="tw_busy" var2="0" />
4218 <actions>
4219 <action function="set">tw_hide_kb=1</action>
4220 <action function="page">terminalcommand</action>
4221 </actions>
4222 </object>
4223
4224 <object type="button">
4225 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4226 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4227 <condition var1="tw_hide_kb" op="=" var2="1" />
4228 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4229 <image resource="kb_show" />
4230 <condition var1="tw_busy" var2="0" />
4231 <actions>
4232 <action function="set">tw_hide_kb=0</action>
4233 <action function="page">terminalcommand</action>
4234 </actions>
4235 </object>
4236
4237 <object type="button">
4238 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4239 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4240 <image resource="home" />
4241 <condition var1="tw_busy" var2="0" />
4242 <actions>
4243 <action function="set">tw_hide_kb=0</action>
4244 <action function="key">home</action>
4245 </actions>
4246 </object>
4247
4248 <object type="button">
4249 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4250 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4251 <condition var1="tw_hide_kb" op="=" var2="0" />
4252 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4253 <image resource="kb_hide" />
4254 <condition var1="tw_busy" var2="0" />
4255 <actions>
4256 <action function="set">tw_hide_kb=1</action>
4257 <action function="page">terminalcommand</action>
4258 </actions>
4259 </object>
4260
4261 <object type="button">
4262 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4263 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4264 <condition var1="tw_hide_kb" op="=" var2="1" />
4265 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4266 <image resource="kb_show" />
4267 <condition var1="tw_busy" var2="0" />
4268 <actions>
4269 <action function="set">tw_hide_kb=0</action>
4270 <action function="page">terminalcommand</action>
4271 </actions>
4272 </object>
4273
4274 <object type="button">
4275 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4276 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4277 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4278 <image resource="back" />
4279 <condition var1="tw_busy" var2="0" />
4280 <actions>
4281 <action function="set">tw_hide_kb=0</action>
4282 <action function="page">advanced</action>
4283 </actions>
4284 </object>
4285
4286 <object type="button">
4287 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4288 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4289 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4290 <image resource="back" />
4291 <condition var1="tw_busy" var2="0" />
4292 <actions>
4293 <action function="set">tw_hide_kb=0</action>
4294 <action function="page">advanced</action>
4295 </actions>
4296 </object>
4297
4298 <object type="button">
4299 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4300 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4301 <condition var1="tw_hide_kb" op="=" var2="0" />
4302 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4303 <image resource="kb_hide" />
4304 <condition var1="tw_busy" var2="0" />
4305 <actions>
4306 <action function="set">tw_hide_kb=1</action>
4307 <action function="page">terminalcommand</action>
4308 </actions>
4309 </object>
4310
4311 <object type="button">
4312 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4313 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4314 <condition var1="tw_hide_kb" op="=" var2="1" />
4315 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4316 <image resource="kb_show" />
4317 <condition var1="tw_busy" var2="0" />
4318 <actions>
4319 <action function="set">tw_hide_kb=0</action>
4320 <action function="page">terminalcommand</action>
4321 </actions>
4322 </object>
4323
4324 <object type="button">
4325 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4326 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4327 <image resource="home" />
4328 <condition var1="tw_busy" var2="0" />
4329 <actions>
4330 <action function="set">tw_hide_kb=0</action>
4331 <action function="key">home</action>
4332 </actions>
4333 </object>
4334
4335 <object type="button">
4336 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4337 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4338 <condition var1="tw_hide_kb" op="=" var2="0" />
4339 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4340 <image resource="kb_hide" />
4341 <condition var1="tw_busy" var2="0" />
4342 <actions>
4343 <action function="set">tw_hide_kb=1</action>
4344 <action function="page">terminalcommand</action>
4345 </actions>
4346 </object>
4347
4348 <object type="button">
4349 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4350 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4351 <condition var1="tw_hide_kb" op="=" var2="1" />
4352 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4353 <image resource="kb_show" />
4354 <condition var1="tw_busy" var2="0" />
4355 <actions>
4356 <action function="set">tw_hide_kb=0</action>
4357 <action function="page">terminalcommand</action>
4358 </actions>
4359 </object>
4360
4361 <object type="button">
4362 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4363 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4364 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4365 <image resource="back" />
4366 <condition var1="tw_busy" var2="0" />
4367 <actions>
4368 <action function="set">tw_hide_kb=0</action>
4369 <action function="page">advanced</action>
4370 </actions>
4371 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004372
4373 <action>
4374 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004375 <actions>
4376 <action function="page">main</action>
4377 <action function="set">tw_hide_kb=0</action>
4378 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004379 </action>
4380
4381 <action>
4382 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004383 <actions>
4384 <action function="page">advanced</action>
4385 <action function="set">tw_hide_kb=0</action>
4386 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004387 </action>
z31s1g56189522016-01-13 19:12:40 +01004388
4389 <object type="action">
4390 <touch key="power+voldown" />
4391 <action function="screenshot" />
4392 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004393 </page>
4394
4395 <page name="sideload">
4396 <template name="page"/>
4397
4398 <text style="text_l">
4399 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004400 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004401 </text>
4402
4403 <text style="text_m">
4404 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004406 </text>
4407
4408 <checkbox>
4409 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004410 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004411 <data variable="tw_wipe_dalvik"/>
4412 </checkbox>
4413
4414 <checkbox>
4415 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <data variable="tw_wipe_cache"/>
4418 </checkbox>
4419
4420 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004422 <actions>
4423 <action function="set">tw_back=advanced</action>
4424 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4426 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4427 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004428 <action function="set">tw_has_cancel=1</action>
4429 <action function="set">tw_show_reboot=1</action>
4430 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4431 <action function="page">action_page</action>
4432 </actions>
4433 </slider>
4434
4435 <action>
4436 <touch key="home"/>
4437 <action function="page">main</action>
4438 </action>
4439
4440 <action>
4441 <touch key="back"/>
4442 <action function="page">advanced</action>
4443 </action>
4444 </page>
4445
4446 <page name="fixperms">
4447 <template name="page"/>
4448
4449 <text style="text_l">
4450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m">
4455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@fix_perms_hdr=Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m_accent">
4460 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@fix_perms_note=Note: Fixing permissions is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <checkbox>
4465 <placement x="%col2_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@fix_perms_selinux_chk=Also fix SELinux Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 <data variable="tw_fixperms_restorecon"/>
4468 </checkbox>
4469
4470 <text style="text_m_fail">
4471 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004472 <text>{@fix_perms_sel_note1=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004473 </text>
4474
4475 <text style="text_m_fail">
4476 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004477 <text>{@fix_perms_sel_note2=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004478 </text>
4479
4480 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <text>{@swipe_to_fix_perms=Swipe to Fix Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 <actions>
4483 <action function="set">tw_back=advanced</action>
4484 <action function="set">tw_action=fixpermissions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <action function="set">tw_action_text1={@fixing_perms=Fixing Permissions...}</action>
4486 <action function="set">tw_complete_text1={@fix_perms_complete=Fix Permissions Complete}</action>
4487 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <action function="set">tw_show_reboot=1</action>
4489 <action function="page">action_page</action>
4490 </actions>
4491 </slider>
4492
4493 <action>
4494 <touch key="home"/>
4495 <action function="page">main</action>
4496 </action>
4497
4498 <action>
4499 <touch key="back"/>
4500 <action function="page">advanced</action>
4501 </action>
4502 </page>
4503
4504 <page name="installsu">
4505 <template name="page"/>
4506
4507 <text style="text_l">
4508 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <text style="text_m">
4513 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 </text>
4516
4517 <text style="text_m_accent">
4518 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 </text>
4521
4522 <text style="text_m">
4523 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004524 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004525 </text>
4526
4527 <text style="text_m">
4528 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004529 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004530 </text>
4531
4532 <button style="main_button_half_width">
4533 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004534 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <action function="set">tw_page_done=1</action>
4536 </button>
4537
4538 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <actions>
4541 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004543 <action function="set">tw_action_text2=</action>
4544 <action function="page">singleaction_page</action>
4545 </actions>
4546 </slider>
4547 </page>
4548
4549 <page name="slideout">
4550 <fill color="%background_color%">
4551 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4552 </fill>
4553
4554 <console>
4555 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4556 </console>
4557
4558 <button>
4559 <fill color="%transparent%"/>
4560 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4561 <action function="overlay"/>
4562 </button>
4563
4564 <action>
4565 <touch key="power+voldown"/>
4566 <action function="screenshot"/>
4567 </action>
4568 </page>
4569
4570 <page name="select_storage">
4571 <fill color="%semi_transparent%">
4572 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4573 </fill>
4574
4575 <fill color="%background_color%">
4576 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4577 </fill>
4578
4579 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004580 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004581 <data name="tw_storage_path"/>
4582 <listtype name="storage"/>
4583 </partitionlist>
4584
4585 <button style="button_third_width">
4586 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004587 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004588 <actions>
4589 <action function="set">tw_clear_destination=%tw_back%</action>
4590 <action function="overlay"/>
4591 <action function="page">clear_vars</action>
4592 </actions>
4593 </button>
4594
4595 <fill color="#000000">
4596 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4597 </fill>
4598
4599 <button>
4600 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4601 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4602 <image resource="back"/>
4603 <condition var1="tw_busy" var2="0"/>
4604 <actions>
4605 <action function="overlay"/>
4606 <action function="key">%tw_back%</action>
4607 </actions>
4608 </button>
4609
4610 <button>
4611 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4612 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4613 <image resource="console"/>
4614 <condition var1="tw_busy" var2="0"/>
4615 <action function="overlay">slideout</action>
4616 </button>
4617
4618 <button>
4619 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
4620 <image resource="home"/>
4621 <condition var1="tw_busy" var2="0"/>
4622 <actions>
4623 <action function="overlay"/>
4624 <action function="key">home</action>
4625 </actions>
4626 </button>
4627
4628 <button>
4629 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4630 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4631 <image resource="console"/>
4632 <condition var1="tw_busy" var2="0"/>
4633 <action function="overlay">slideout</action>
4634 </button>
4635
4636 <button>
4637 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
4638 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
4639 <image resource="back"/>
4640 <condition var1="tw_busy" var2="0"/>
4641 <actions>
4642 <action function="overlay"/>
4643 <action function="key">%tw_back%</action>
4644 </actions>
4645 </button>
4646
4647 <action>
4648 <touch key="power+voldown"/>
4649 <action function="screenshot"/>
4650 </action>
4651 </page>
4652 </pages>
4653</recovery>