blob: 329fdc215f43ca904034063340b3f688fa076da8 [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
bigbiffa869fc72016-03-01 19:40:36 -0500443 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500444 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500446 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500447 </checkbox>
448
z31s1g28f0a922015-11-07 18:50:22 +0100449 <button style="main_button_half_width">
450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <action function="page">install</action>
453 </button>
454
455 <button style="main_button_half_width">
456 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 <actions>
459 <action function="queueclear"/>
460 <action function="page">install</action>
461 </actions>
462 </button>
463
464 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 <action function="flash">flash_zip</action>
467 </slider>
468
469 <action>
470 <touch key="back"/>
471 <actions>
472 <action function="cancelzip"/>
473 <action function="page">install</action>
474 </actions>
475 </action>
476
477 <action>
478 <touch key="home"/>
479 <action function="page">main</action>
480 </action>
481 </page>
482
483 <page name="flash_zip">
484 <template name="page"/>
485
486 <text style="text_l">
487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 </text>
490
491 <text style="text_m">
492 <placement x="%col1_x_header%" y="%row4_header_y%"/>
493 <text>%tw_file%</text>
494 </text>
495
496 <template name="console"/>
497
498 <template name="progress_bar"/>
499
500 <action>
501 <condition var1="tw_operation_state" var2="1"/>
502 <action function="page">flash_done</action>
503 </action>
504 </page>
505
506 <page name="flash_done">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m_fail">
515 <condition var1="tw_operation_status" op="!=" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <text style="text_m">
521 <condition var1="tw_operation_status" var2="0"/>
522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500523 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100524 </text>
525
526 <template name="console"/>
527
528 <button style="main_button_half_width">
529 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500530 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <actions>
532 <action function="set">tw_back=flash_done</action>
533 <action function="set">tw_action=wipe</action>
534 <action function="set">tw_action_param=/cache</action>
535 <action function="set">tw_has_action2=1</action>
536 <action function="set">tw_action2=wipe</action>
537 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
539 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
540 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
541 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <action function="page">confirm_action</action>
543 </actions>
544 </button>
545
546 <button style="main_button_half_width">
547 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 <actions>
550 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500551 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100552 </actions>
553 </button>
554
555 <action>
556 <touch key="back"/>
557 <actions>
558 <action function="set">tw_clear_destination=install</action>
559 <action function="page">clear_vars</action>
560 </actions>
561 </action>
562
563 <action>
564 <touch key="home"/>
565 <actions>
566 <action function="set">tw_clear_destination=main2</action>
567 <action function="page">clear_vars</action>
568 </actions>
569 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500570
571 <action>
572 <conditions>
573 <condition var1="tw_install_reboot" var2="1"/>
574 <condition var1="tw_operation_status" var2="0"/>
575 <condition var1="tw_reboot_system" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="set">tw_sleep=%tw_sleep_total%</action>
579 <action function="page">flash_sleep_and_reboot</action>
580 </actions>
581 </action>
582 </page>
583
584 <page name="flash_sleep_and_reboot">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
589 <text>{@install_zip_hdr=Install Zip}</text>
590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
594 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
595 </text>
596
597 <template name="console"/>
598
599 <template name="progress_bar"/>
600
601 <button style="main_button_half_width">
602 <condition var1="tw_sleep" op="&gt;" var2="0"/>
603 <placement x="%center_x%" y="%row15a_y%"/>
604 <text>{@cancel_btn=Cancel}</text>
605 <actions>
606 <action function="set">tw_install_reboot=0</action>
607 <action function="page">flash_done</action>
608 </actions>
609 </button>
610
611 <action>
612 <conditions>
613 <condition var1="tw_sleep" var2="tw_sleep_total"/>
614 <condition var1="tw_install_reboot" var2="1"/>
615 </conditions>
616 <action function="sleepcounter">%tw_sleep_total%</action>
617 </action>
618
619 <action>
620 <conditions>
621 <condition var1="tw_sleep" var2="0"/>
622 <condition var1="tw_install_reboot" var2="1"/>
623 </conditions>
624 <actions>
625 <action function="sleep">50000</action>
626 <action function="set">tw_back=main2</action>
627 <action function="page">reboot_system_routine</action>
628 </actions>
629 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100630 </page>
631
632 <page name="flashimage_confirm">
633 <template name="page"/>
634
635 <text style="text_l">
636 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 </text>
639
640 <text style="text_m">
641 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500642 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100643 </text>
644
645 <text style="text_m_accent">
646 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500647 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100648 </text>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row9_y%"/>
652 <text>%tw_zip_location%</text>
653 </text>
654
655 <text style="text_m_accent">
656 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500657 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100658 </text>
659
660 <text style="text_m">
661 <placement x="%col1_x_left%" y="%row12_y%"/>
662 <text>%tw_file%</text>
663 </text>
664
665 <partitionlist>
666 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
667 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 <data name="tw_flash_partition"/>
670 <listtype name="flashimg"/>
671 </partitionlist>
672
673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <actions>
676 <action function="set">tw_back=flashimage_confirm</action>
677 <action function="set">tw_action=flashimage</action>
678 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500681 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 <action function="page">action_page</action>
683 </actions>
684 <action function="flashimage"/>
685 </slider>
686
687 <action>
688 <touch key="back"/>
689 <actions>
690 <action function="set">tw_clear_destination=install</action>
691 <action function="page">clear_vars</action>
692 </actions>
693 </action>
694
695 <action>
696 <touch key="home"/>
697 <actions>
698 <action function="set">tw_clear_destination=main2</action>
699 <action function="page">clear_vars</action>
700 </actions>
701 </action>
702 </page>
703
704 <page name="clear_vars">
705 <action>
706 <action function="set">tw_operation_state=0</action>
707 <action function="set">tw_text1=</action>
708 <action function="set">tw_text2=</action>
709 <action function="set">tw_text3=</action>
710 <action function="set">tw_text4=</action>
711 <action function="set">tw_action_text1=</action>
712 <action function="set">tw_action_text2=</action>
713 <action function="set">tw_action_param=</action>
714 <action function="set">tw_has_action2=0</action>
715 <action function="set">tw_action2=</action>
716 <action function="set">tw_action2_param=</action>
717 <action function="set">tw_has_cancel=0</action>
718 <action function="set">tw_cancel_action=</action>
719 <action function="set">tw_cancel_param=</action>
720 <action function="set">tw_show_exclamation=0</action>
721 <action function="set">tw_show_reboot=0</action>
722 <action function="page">%tw_clear_destination%</action>
723 </action>
724 </page>
725
Matt Mower908dd252016-05-25 02:26:50 -0500726 <page name="reboot_system_routine">
727 <action>
728 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500729 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
732 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
735 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
736 <action function="set">tw_action_text2=</action>
737 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
738 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
739 <action function="page">rebootcheck</action>
740 </action>
741 </page>
742
z31s1g28f0a922015-11-07 18:50:22 +0100743 <page name="confirm_action">
744 <template name="page"/>
745
746 <text style="text_l">
747 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </text>
750
751 <text style="text_m">
752 <placement x="%col1_x_header%" y="%row4_header_y%"/>
753 <text/>
754 </text>
755
756 <text style="text_m_accent">
757 <placement x="%center_x%" y="%row2_y%" placement="5"/>
758 <text>%tw_text1%</text>
759 </text>
760
761 <text style="text_m_accent">
762 <placement x="%center_x%" y="%row3_y%" placement="5"/>
763 <text>%tw_text2%</text>
764 </text>
765
766 <text style="text_m">
767 <placement x="%center_x%" y="%row4_y%" placement="5"/>
768 <text>%tw_text3%</text>
769 </text>
770
771 <text style="text_m">
772 <placement x="%center_x%" y="%row5_y%" placement="5"/>
773 <text>%tw_text4%</text>
774 </text>
775
776 <text style="text_m">
777 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <slider style="slider_centered">
782 <text>%tw_slider_text%</text>
783 <action function="page">action_page</action>
784 </slider>
785
786 <action>
787 <touch key="back"/>
788 <actions>
789 <action function="set">tw_clear_destination=%tw_back%</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </action>
793
794 <action>
795 <touch key="home"/>
796 <action function="page">main</action>
797 </action>
798 </page>
799
800 <page name="action_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <button style="main_button_half_width">
818 <condition var1="tw_has_cancel" var2="1"/>
819 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500820 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100821 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
822 </button>
823
824 <action>
825 <condition var1="tw_operation_state" var2="1"/>
826 <actions>
827 <action function="page">action_complete</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="0"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 </actions>
836 </action>
837
838 <action>
839 <condition var1="tw_has_action2" var2="1"/>
840 <actions>
841 <action function="%tw_action%">%tw_action_param%</action>
842 <action function="%tw_action2%">%tw_action2_param%</action>
843 </actions>
844 </action>
845 </page>
846
847 <page name="singleaction_page">
848 <template name="page"/>
849
850 <text style="text_l">
851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
852 <text>%tw_action_text1%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
857 <text>%tw_action_text2%</text>
858 </text>
859
860 <template name="console"/>
861
862 <template name="progress_bar"/>
863
864 <action>
865 <condition var1="tw_operation_state" var2="1"/>
866 <actions>
867 <action function="set">tw_page_done=1</action>
868 </actions>
869 </action>
870
871 <action>
872 <condition var1="tw_has_action2" var2="0"/>
873 <actions>
874 <action function="%tw_action%">%tw_action_param%</action>
875 </actions>
876 </action>
877
878 <action>
879 <condition var1="tw_has_action2" var2="1"/>
880 <actions>
881 <action function="%tw_action%">%tw_action_param%</action>
882 <action function="%tw_action2%">%tw_action2_param%</action>
883 </actions>
884 </action>
885 </page>
886
887 <page name="action_complete">
888 <template name="page"/>
889
890 <text style="text_l">
891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
892 <text>%tw_complete_text1%</text>
893 </text>
894
895 <text style="text_m_fail">
896 <condition var1="tw_operation_status" op="!=" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <text style="text_m">
902 <condition var1="tw_operation_status" var2="0"/>
903 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <template name="console"/>
908
909 <button style="main_button_half_width">
910 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </button>
917
918 <button style="main_button_half_width">
919 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 <actions>
922 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500923 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100924 </actions>
925 </button>
926
927 <action>
928 <touch key="home"/>
929 <actions>
930 <action function="set">tw_clear_destination=main2</action>
931 <action function="page">clear_vars</action>
932 </actions>
933 </action>
934
935 <action>
936 <touch key="back"/>
937 <actions>
938 <action function="set">tw_clear_destination=%tw_back%</action>
939 <action function="page">clear_vars</action>
940 </actions>
941 </action>
942 </page>
943
944 <page name="filecheck">
945 <action>
946 <action function="fileexists">%tw_filecheck%</action>
947 </action>
948
949 <action>
950 <conditions>
951 <condition var1="tw_operation_state" var2="1"/>
952 <condition var1="tw_operation_status" var2="0"/>
953 </conditions>
954 <actions>
955 <action function="set">tw_fileexists=1</action>
956 <action function="page">%tw_existpage%</action>
957 </actions>
958 </action>
959
960 <action>
961 <conditions>
962 <condition var1="tw_operation_state" var2="1"/>
963 <condition var1="tw_operation_status" var2="1"/>
964 </conditions>
965 <actions>
966 <action function="set">tw_fileexists=0</action>
967 <action function="page">%tw_notexistpage%</action>
968 </actions>
969 </action>
970 </page>
971
972 <page name="rebootcheck">
973 <action>
974 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600975 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </action>
977
978 <action>
979 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
980 <action function="page">confirm_action</action>
981 </action>
982 </page>
983
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600984 <page name="appcheck">
985 <action>
986 <condition var1="tw_app_prompt" var2="1"/>
987 <action function="checkforapp"></action>
988 </action>
989
990 <action>
991 <condition var1="tw_app_prompt" op="!=" var2="1"/>
992 <action function="reboot">%tw_reboot_param%</action>
993 </action>
994
995 <action>
996 <condition var1="tw_app_install_status" var2="1"/>
997 <action function="page">rebootapp</action>
998 </action>
999
1000 <action>
1001 <condition var1="tw_app_install_status" var2="2"/>
1002 <action function="reboot">%tw_reboot_param%</action>
1003 </action>
1004 </page>
1005
z31s1g28f0a922015-11-07 18:50:22 +01001006 <page name="wipe">
1007 <template name="page"/>
1008
1009 <text style="text_l">
1010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m">
1015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <text style="text_m_accent">
1020 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 </text>
1023
1024 <text style="text_m_accent">
1025 <condition var1="tw_has_data_media" var2="1"/>
1026 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 </text>
1029
1030 <text style="text_m_accent">
1031 <conditions>
1032 <condition var1="tw_has_android_secure" var2="1"/>
1033 <condition var1="fileexists" var2="/and-sec"/>
1034 </conditions>
1035 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001036 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001037 </text>
1038
1039 <text style="text_m_accent">
1040 <condition var1="tw_has_sdext_partition" var2="1"/>
1041 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 </text>
1044
1045 <text style="text_m">
1046 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 </text>
1049
1050 <text style="text_m">
1051 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 </text>
1054
1055 <text style="text_m">
1056 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <button style="main_button_half_width">
1061 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <actions>
1064 <action function="set">partitionlisterror=0</action>
1065 <action function="page">advancedwipe</action>
1066 </actions>
1067 </button>
1068
1069 <button style="main_button_half_width">
1070 <condition var1="tw_has_data_media" var2="1"/>
1071 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 <action function="page">formatdata</action>
1074 </button>
1075
1076 <button style="main_button_half_width">
1077 <conditions>
1078 <condition var1="tw_is_encrypted" var2="1"/>
1079 <condition var1="tw_has_data_media" var2="0"/>
1080 </conditions>
1081 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <actions>
1084 <action function="set">tw_back=wipe</action>
1085 <action function="set">tw_action=wipe</action>
1086 <action function="set">tw_action_param=DATAMEDIA</action>
1087 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001089 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1091 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1092 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001093 <action function="page">confirm_action</action>
1094 </actions>
1095 </button>
1096
1097 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 <actions>
1100 <action function="set">tw_back=wipe</action>
1101 <action function="set">tw_action=wipe</action>
1102 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001103 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1104 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001105 <action function="page">action_page</action>
1106 </actions>
1107 </slider>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">main</action>
1112 </action>
1113
1114 <action>
1115 <touch key="home"/>
1116 <action function="page">main</action>
1117 </action>
1118 </page>
1119
1120 <page name="advancedwipe">
1121 <template name="page"/>
1122
1123 <action>
1124 <action function="set">tw_wipe_list=</action>
1125 </action>
1126
1127 <text style="text_l">
1128 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 </text>
1131
1132 <text style="text_m">
1133 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 </text>
1136
1137 <partitionlist>
1138 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001139 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <data name="tw_wipe_list"/>
1141 <listtype name="wipe"/>
1142 </partitionlist>
1143
1144 <text style="text_m_fail">
1145 <condition var1="partitionlisterror" var2="1"/>
1146 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001147 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001148 </text>
1149
1150 <button style="main_button_m">
1151 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001154 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001155 <action function="page">checkpartitionlist</action>
1156 </actions>
1157 </button>
1158
1159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <actions>
1162 <action function="set">tw_back=advancedwipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1166 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1167 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001168 <action function="page">action_page</action>
1169 </actions>
1170 </slider>
1171
1172 <action>
1173 <touch key="home"/>
1174 <action function="page">main</action>
1175 </action>
1176
1177 <action>
1178 <touch key="back"/>
1179 <action function="page">wipe</action>
1180 </action>
1181 </page>
1182
1183 <page name="formatdata">
1184 <template name="page"/>
1185
1186 <text style="text_l">
1187 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <text style="text_m">
1192 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001194 </text>
1195
1196 <text style="text_m_fail">
1197 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001198 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001199 </text>
1200
1201 <text style="text_m_fail">
1202 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
Ethan Yonker66a19492015-12-10 10:19:45 -06001206 <text style="text_m_fail">
1207 <condition var1="tw_has_adopted_storage" var2="1"/>
1208 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1209 <text>{@format_data_adopted=Including Adopted Storage}</text>
1210 </text>
1211
z31s1g28f0a922015-11-07 18:50:22 +01001212 <text style="text_m">
1213 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <input>
1223 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1224 <text>%tw_confirm_formatdata%</text>
1225 <data name="tw_confirm_formatdata"/>
1226 <restrict minlen="3" maxlen="3" allow="yes"/>
1227 <action function="page">formatdata_confirm</action>
1228 </input>
1229
1230 <fill color="%accent_color%">
1231 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1232 </fill>
1233
1234 <template name="keyboardtemplate"/>
1235
1236 <action>
1237 <touch key="home"/>
1238 <action function="page">main</action>
1239 </action>
1240
1241 <action>
1242 <touch key="back"/>
1243 <action function="page">wipe</action>
1244 </action>
1245 </page>
1246
1247 <page name="formatdata_confirm">
1248 <action>
1249 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1250 <actions>
1251 <action function="set">tw_back=formatdata</action>
1252 <action function="set">tw_action=wipe</action>
1253 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1255 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <action function="page">action_page</action>
1257 </actions>
1258 </action>
1259
1260 <action>
1261 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1262 <action function="page">formatdata</action>
1263 </action>
1264 </page>
1265
1266 <page name="checkpartitionlist">
1267 <action>
1268 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1269 <actions>
1270 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001271 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001272 <action function="page">partitionoptions</action>
1273 </actions>
1274 </action>
1275
1276 <action>
1277 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001280 <action function="page">advancedwipe</action>
1281 </actions>
1282 </action>
1283 </page>
1284
1285 <page name="partitionoptions">
1286 <template name="page"/>
1287
1288 <text style="text_l">
1289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 </text>
1292
1293 <text style="text_m">
1294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m_accent">
1299 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m_accent">
1304 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m">
1309 <condition var1="tw_partition_is_present" var2="1"/>
1310 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m">
1315 <condition var1="tw_partition_is_present" var2="0"/>
1316 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <condition var1="tw_partition_removable" var2="1"/>
1322 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001324 </text>
1325
1326 <text style="text_m">
1327 <condition var1="tw_partition_removable" var2="0"/>
1328 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001330 </text>
1331
1332 <text style="text_m">
1333 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 </text>
1336
1337 <text style="text_m">
1338 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001340 </text>
1341
1342 <text style="text_m">
1343 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m">
1348 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <button style="main_button_half_width">
1353 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1354 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001355 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001356 <actions>
1357 <action function="set">tw_back=partitionoptions</action>
1358 <action function="set">tw_action=resize</action>
1359 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1360 <action function="set">tw_has_action2=1</action>
1361 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001362 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1366 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_width">
1373 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1374 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <actions>
1377 <action function="set">tw_back=partitionoptions</action>
1378 <action function="set">tw_action=repair</action>
1379 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001382 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1384 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</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 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">selectfilesystem</action>
1394 </button>
1395
1396 <action>
1397 <touch key="home"/>
1398 <action function="page">main</action>
1399 </action>
1400
1401 <action>
1402 <touch key="back"/>
1403 <action function="page">advancedwipe</action>
1404 </action>
1405 </page>
1406
1407 <page name="refreshfilesystem">
1408 <action>
1409 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1410 <actions>
1411 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001412 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001413 <action function="page">selectfilesystem</action>
1414 </actions>
1415 </action>
1416
1417 <action>
1418 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1419 <actions>
1420 <action function="set">partitionlisterror=1</action>
1421 <action function="set">tw_wipe_list=</action>
1422 <action function="page">advancedwipe</action>
1423 </actions>
1424 </action>
1425 </page>
1426
1427 <page name="selectfilesystem">
1428 <template name="page"/>
1429
1430 <text style="text_l">
1431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m">
1436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m_accent">
1441 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <text style="text_m_accent">
1446 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001448 </text>
1449
1450 <text style="text_m_fail">
1451 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001453 </text>
1454
1455 <text style="text_m_fail">
1456 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <button style="main_button_half_width">
1461 <condition var1="tw_partition_ext" op="=" var2="1"/>
1462 <placement x="%col1_x_left%" y="%row11_y%"/>
1463 <text>EXT2</text>
1464 <actions>
1465 <action function="set">tw_back=refreshfilesystem</action>
1466 <action function="set">tw_action=changefilesystem</action>
1467 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1468 <action function="set">tw_action_new_file_system=ext2</action>
1469 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1471 <action function="set">tw_text2=EXT2</action>
1472 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1473 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1474 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">confirm_action</action>
1476 </actions>
1477 </button>
1478
1479 <button style="main_button_half_width">
1480 <condition var1="tw_partition_ext" op="=" var2="1"/>
1481 <placement x="%col2_x_left%" y="%row11_y%"/>
1482 <text>EXT3</text>
1483 <actions>
1484 <action function="set">tw_back=refreshfilesystem</action>
1485 <action function="set">tw_action=changefilesystem</action>
1486 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1487 <action function="set">tw_action_new_file_system=ext3</action>
1488 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001489 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1490 <action function="set">tw_text2=EXT3</action>
1491 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1492 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1493 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001494 <action function="page">confirm_action</action>
1495 </actions>
1496 </button>
1497
1498 <button style="main_button_half_width">
1499 <condition var1="tw_partition_ext" op="=" var2="1"/>
1500 <placement x="%center_x%" y="%row11_y%"/>
1501 <text>EXT4</text>
1502 <actions>
1503 <action function="set">tw_back=refreshfilesystem</action>
1504 <action function="set">tw_action=changefilesystem</action>
1505 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1506 <action function="set">tw_action_new_file_system=ext4</action>
1507 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1509 <action function="set">tw_text2=EXT4</action>
1510 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1511 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1512 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001513 <action function="page">confirm_action</action>
1514 </actions>
1515 </button>
1516
1517 <button style="main_button_half_width">
1518 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1519 <placement x="%col2_x_right%" y="%row11_y%"/>
1520 <text>FAT</text>
1521 <actions>
1522 <action function="set">tw_back=refreshfilesystem</action>
1523 <action function="set">tw_action=changefilesystem</action>
1524 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1525 <action function="set">tw_action_new_file_system=vfat</action>
1526 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001527 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1528 <action function="set">tw_text2=FAT</action>
1529 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1530 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1531 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001532 <action function="page">confirm_action</action>
1533 </actions>
1534 </button>
1535
1536 <button style="main_button_half_width">
1537 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1538 <placement x="%col2_x_left%" y="%row15a_y%"/>
1539 <text>exFAT</text>
1540 <actions>
1541 <action function="set">tw_back=refreshfilesystem</action>
1542 <action function="set">tw_action=changefilesystem</action>
1543 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1544 <action function="set">tw_action_new_file_system=exfat</action>
1545 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1547 <action function="set">tw_text2=exFAT</action>
1548 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1549 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1550 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001551 <action function="page">confirm_action</action>
1552 </actions>
1553 </button>
1554
1555 <button style="main_button_half_width">
1556 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1557 <placement x="%center_x%" y="%row15a_y%"/>
1558 <text>F2FS</text>
1559 <actions>
1560 <action function="set">tw_back=refreshfilesystem</action>
1561 <action function="set">tw_action=changefilesystem</action>
1562 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1563 <action function="set">tw_action_new_file_system=f2fs</action>
1564 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1566 <action function="set">tw_text2=F2FS</action>
1567 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1568 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1569 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="page">confirm_action</action>
1571 </actions>
1572 </button>
1573
1574 <action>
1575 <touch key="home"/>
1576 <action function="page">main</action>
1577 </action>
1578
1579 <action>
1580 <touch key="back"/>
1581 <action function="page">partitionoptions</action>
1582 </action>
1583 </page>
1584
1585 <page name="backup">
1586 <template name="page"/>
1587
1588 <text style="text_l">
1589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <text style="text_m">
1594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <text style="text_m_accent">
1599 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 </text>
1602
1603 <text style="text_m">
1604 <placement x="%col1_x_left%" y="%row3_y%"/>
1605 <text>%tw_backup_name%</text>
1606 </text>
1607
1608 <fill color="%fileselector_linecolor%">
1609 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1610 </fill>
1611
1612 <button>
1613 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1614 <fill color="%transparent%"/>
1615 <actions>
1616 <action function="set">tw_fileexists=0</action>
1617 <action function="page">backupname1</action>
1618 </actions>
1619 </button>
1620
1621 <partitionlist>
1622 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <data name="tw_backup_list"/>
1625 <listtype name="backup"/>
1626 </partitionlist>
1627
1628 <text style="text_m_accent">
1629 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <conditions>
1635 <condition var1="tw_include_encrypted_backup" var2="1"/>
1636 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001637 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001638 </conditions>
1639 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <conditions>
1645 <condition var1="tw_include_encrypted_backup" var2="1"/>
1646 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001647 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001648 </conditions>
1649 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <fill color="%fileselector_linecolor%">
1654 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1655 </fill>
1656
1657 <button>
1658 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1659 <fill color="%transparent%"/>
1660 <actions>
1661 <action function="set">tw_password_not_match=0</action>
1662 <action function="page">backupencryption</action>
1663 </actions>
1664 </button>
1665
1666 <text style="text_m_accent">
1667 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <checkbox>
1672 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 <data variable="tw_use_compression"/>
1675 </checkbox>
1676
1677 <checkbox>
1678 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001679 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1680 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </checkbox>
1682
1683 <checkbox>
1684 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001685 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001686 <data variable="tw_disable_free_space"/>
1687 </checkbox>
1688
1689 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001690 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <actions>
1694 <action function="set">tw_back=backup</action>
1695 <action function="overlay">select_storage</action>
1696 </actions>
1697 </button>
1698
1699 <button style="main_button_half_width">
1700 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <actions>
1703 <action function="refreshsizes"/>
1704 <action function="page">backup</action>
1705 </actions>
1706 </button>
1707
1708 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">backup_run</action>
1711 </slider>
1712
1713 <action>
1714 <touch key="home"/>
1715 <action function="page">main</action>
1716 </action>
1717
1718 <action>
1719 <touch key="back"/>
1720 <action function="page">main</action>
1721 </action>
1722 </page>
1723
1724 <page name="backupname1">
1725 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="generatebackupname"/>
1728 </action>
1729
1730 <action>
1731 <action function="page">backupname2</action>
1732 </action>
1733 </page>
1734
1735 <page name="backupname2">
1736 <template name="page"/>
1737
1738 <text style="text_l">
1739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </text>
1742
1743 <text style="text_m">
1744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 </text>
1747
1748 <text style="text_m_accent">
1749 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 </text>
1752
1753 <input>
1754 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1755 <text>%tw_backup_name%</text>
1756 <data name="tw_backup_name"/>
1757 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1758 <actions>
1759 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1760 <action function="set">tw_existpage=backupname2</action>
1761 <action function="set">tw_notexistpage=backup</action>
1762 <action function="page">filecheck</action>
1763 </actions>
1764 </input>
1765
1766 <fill color="%accent_color%">
1767 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1768 </fill>
1769
1770 <fill color="%text_fail_color%">
1771 <condition var1="tw_fileexists" var2="1"/>
1772 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1773 </fill>
1774
1775 <text style="text_m_fail">
1776 <condition var1="tw_fileexists" var2="1"/>
1777 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 </text>
1780
1781 <button style="main_button_half_width_low">
1782 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001783 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001784 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001786 <action function="page">backup</action>
1787 </actions>
1788 </button>
1789
1790 <button style="main_button_half_width_low">
1791 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="appenddatetobackupname"/>
1794 </button>
1795
1796 <template name="keyboardtemplate"/>
1797
1798 <action>
1799 <touch key="home"/>
1800 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <action function="page">main</action>
1803 </actions>
1804 </action>
1805
1806 <action>
1807 <touch key="back"/>
1808 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001809 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001810 <action function="page">backup</action>
1811 </actions>
1812 </action>
1813 </page>
1814
1815 <page name="backupencryption">
1816 <template name="page"/>
1817
1818 <text style="text_l">
1819 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 </text>
1822
1823 <text style="text_m">
1824 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 </text>
1827
1828 <text style="text_m_accent">
1829 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001830 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001831 </text>
1832
1833 <input>
1834 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1835 <text>%tw_backup_encrypt_display%</text>
1836 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1837 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1838 <action function="page">backupencryption2</action>
1839 </input>
1840
1841 <fill color="%accent_color%">
1842 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1843 </fill>
1844
1845 <fill color="%text_fail_color%">
1846 <condition var1="tw_password_not_match" var2="1"/>
1847 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1848 </fill>
1849
1850 <text style="text_m_fail">
1851 <condition var1="tw_password_not_match" var2="1"/>
1852 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <button style="main_button_half_width_low">
1857 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001858 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001859 <actions>
1860 <action function="set">tw_encrypt_backup=0</action>
1861 <action function="set">tw_backup_password=</action>
1862 <action function="set">tw_backup_password2=</action>
1863 <action function="set">tw_backup_encrypt_display=</action>
1864 <action function="set">tw_backup_encrypt_display2=</action>
1865 <action function="page">backup</action>
1866 </actions>
1867 </button>
1868
1869 <template name="keyboardtemplate"/>
1870
1871 <action>
1872 <touch key="home"/>
1873 <action function="page">main</action>
1874 </action>
1875
1876 <action>
1877 <touch key="back"/>
1878 <action function="page">backup</action>
1879 </action>
1880 </page>
1881
1882 <page name="backupencryption2">
1883 <template name="page"/>
1884
1885 <text style="text_l">
1886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <text style="text_m">
1891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 </text>
1894
1895 <text style="text_m_accent">
1896 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </text>
1899
1900 <input>
1901 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1902 <text>%tw_backup_encrypt_display2%</text>
1903 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1904 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1905 <action function="page">checkbackuppassword</action>
1906 </input>
1907
1908 <fill color="%accent_color%">
1909 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1910 </fill>
1911
1912 <text style="text_m">
1913 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001915 </text>
1916
1917 <button style="main_button_half_width_low">
1918 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </button>
1929
1930 <template name="keyboardtemplate"/>
1931
1932 <action>
1933 <touch key="home"/>
1934 <action function="page">main</action>
1935 </action>
1936
1937 <action>
1938 <touch key="back"/>
1939 <action function="page">backup</action>
1940 </action>
1941 </page>
1942
1943 <page name="checkbackuppassword">
1944 <action>
1945 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1946 <actions>
1947 <action function="set">tw_encrypt_backup=1</action>
1948 <action function="page">backup</action>
1949 </actions>
1950 </action>
1951
1952 <action>
1953 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1954 <actions>
1955 <action function="set">tw_encrypt_backup=0</action>
1956 <action function="set">tw_password_not_match=1</action>
1957 <action function="set">tw_backup_password=</action>
1958 <action function="set">tw_backup_password2=</action>
1959 <action function="set">tw_backup_encrypt_display=</action>
1960 <action function="set">tw_backup_encrypt_display2=</action>
1961 <action function="page">backupencryption</action>
1962 </actions>
1963 </action>
1964 </page>
1965
1966 <page name="backup_run">
1967 <template name="page"/>
1968
1969 <text style="text_l">
1970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1971 <text>%tw_operation%</text>
1972 </text>
1973
1974 <text style="text_m">
1975 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1976 <text>%tw_partition% Partition</text>
1977 </text>
1978
1979 <template name="console"/>
1980
1981 <template name="progress_bar"/>
1982
1983 <text style="text_m_accent">
1984 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 </text>
1987
1988 <text style="text_m">
1989 <placement x="%progress_text_x%" y="%row17_y%"/>
1990 <text>%tw_file_progress%</text>
1991 </text>
1992
1993 <text style="text_m">
1994 <placement x="%progress_text_x%" y="%row18_y%"/>
1995 <text>%tw_size_progress%</text>
1996 </text>
1997
1998 <button style="main_button_half_width">
1999 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 <action function="cancelbackup"/>
2002 </button>
2003
2004 <action>
2005 <action function="nandroid">backup</action>
2006 </action>
2007
2008 <action>
2009 <condition var1="tw_operation_state" var2="1"/>
2010 <condition var1="tw_cancel_backup" var2="0"/>
2011 <actions>
2012 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002014 <action function="set">tw_show_reboot=1</action>
2015 <action function="page">action_complete</action>
2016 </actions>
2017 </action>
2018
2019 <action>
2020 <condition var1="tw_operation_state" var2="1"/>
2021 <condition var1="tw_cancel_backup" var2="1"/>
2022 <actions>
2023 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002025 <action function="set">tw_show_reboot=1</action>
2026 <action function="page">action_complete</action>
2027 </actions>
2028 </action>
2029 </page>
2030
2031 <page name="restore">
2032 <template name="page"/>
2033
2034 <text style="text_l">
2035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <text style="text_m">
2040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <template name="sort_options"/>
2045
2046 <fileselector>
2047 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 <filter folders="1" files="0" nav="0"/>
2050 <path name="tw_backups_folder"/>
2051 <data name="tw_restore" default=""/>
2052 <selection name="tw_restore_name"/>
2053 </fileselector>
2054
2055 <button style="main_button_half_width_low">
2056 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002057 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002058 <actions>
2059 <action function="set">tw_back=restore</action>
2060 <action function="overlay">select_storage</action>
2061 </actions>
2062 </button>
2063
2064 <action>
2065 <condition var1="tw_restore" op="modified"/>
2066 <actions>
2067 <action function="readBackup"/>
2068 <action function="page">restore_read</action>
2069 </actions>
2070 </action>
2071
2072 <action>
2073 <touch key="home"/>
2074 <action function="page">main</action>
2075 </action>
2076
2077 <action>
2078 <touch key="back"/>
2079 <action function="page">main</action>
2080 </action>
2081 </page>
2082
2083 <page name="restore_read">
2084 <action>
2085 <condition var1="tw_restore_encrypted" var2="1"/>
2086 <actions>
2087 <action function="set">tw_password_fail=0</action>
2088 <action function="page">restore_decrypt</action>
2089 </actions>
2090 </action>
2091
2092 <action>
2093 <condition var1="tw_restore_encrypted" var2="0"/>
2094 <actions>
2095 <action function="page">restore_select</action>
2096 </actions>
2097 </action>
2098 </page>
2099
2100 <page name="restore_decrypt">
2101 <template name="page"/>
2102
2103 <text style="text_l">
2104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002106 </text>
2107
2108 <text style="text_m">
2109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 </text>
2112
2113 <text style="text_m_accent">
2114 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002116 </text>
2117
2118 <input>
2119 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2120 <text>%tw_restore_display%</text>
2121 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2122 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2123 <action function="page">try_restore_decrypt</action>
2124 </input>
2125
2126 <fill color="%accent_color%">
2127 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2128 </fill>
2129
2130 <fill color="%text_fail_color%">
2131 <condition var1="tw_password_fail" var2="1"/>
2132 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2133 </fill>
2134
2135 <text style="text_m_fail">
2136 <condition var1="tw_password_fail" var2="1"/>
2137 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <button style="main_button_half_width_low">
2142 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 <actions>
2145 <action function="set">tw_page_done=1</action>
2146 <action function="page">restore</action>
2147 </actions>
2148 </button>
2149
2150 <button style="main_button_half_width_low">
2151 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 <actions>
2154 <action function="set">tw_back=restore</action>
2155 <action function="set">tw_action=cmd</action>
2156 <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 -05002157 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2158 <action function="set">tw_text2=%tw_restore_name%</action>
2159 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2160 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2161 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2162 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <action function="page">confirm_action</action>
2164 </actions>
2165 </button>
2166
2167 <template name="keyboardtemplate"/>
2168
2169 <action>
2170 <touch key="home"/>
2171 <action function="page">main</action>
2172 </action>
2173
2174 <action>
2175 <touch key="back"/>
2176 <action function="page">restore</action>
2177 </action>
2178 </page>
2179
2180 <page name="try_restore_decrypt">
2181 <template name="page"/>
2182
2183 <text style="text_l">
2184 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002185 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002186 </text>
2187
2188 <text style="text_m">
2189 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 </text>
2192
2193 <template name="console"/>
2194
2195 <template name="progress_bar"/>
2196
2197 <action>
2198 <action function="decrypt_backup"/>
2199 </action>
2200
2201 <action>
2202 <conditions>
2203 <condition var1="tw_operation_state" var2="1"/>
2204 <condition var1="tw_operation_status" op="!=" var2="0"/>
2205 </conditions>
2206 <actions>
2207 <action function="set">tw_password_fail=1</action>
2208 <action function="page">restore_decrypt</action>
2209 </actions>
2210 </action>
2211
2212 <action>
2213 <conditions>
2214 <condition var1="tw_operation_state" var2="1"/>
2215 <condition var1="tw_operation_status" op="=" var2="0"/>
2216 </conditions>
2217 <actions>
2218 <action function="set">tw_page_done=1</action>
2219 <action function="page">restore_select</action>
2220 </actions>
2221 </action>
2222 </page>
2223
2224 <page name="restore_select">
2225 <template name="page"/>
2226
2227 <text style="text_l">
2228 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002234 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002235 </text>
2236
2237 <text style="text_m_accent">
2238 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m">
2243 <placement x="%col1_x_left%" y="%row3_y%"/>
2244 <text>%tw_restore_name%</text>
2245 </text>
2246
2247 <fill color="%fileselector_linecolor%">
2248 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2249 </fill>
2250
2251 <button>
2252 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2253 <fill color="%transparent%"/>
2254 <actions>
2255 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2256 <action function="set">tw_fileexists=0</action>
2257 <action function="page">renamebackup</action>
2258 </actions>
2259 </button>
2260
2261 <partitionlist>
2262 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002263 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002264 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2265 <listtype name="restore"/>
2266 </partitionlist>
2267
2268 <text style="text_m_accent">
2269 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <checkbox>
2274 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002275 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2276 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002277 </checkbox>
2278
2279 <button style="main_button_half_width">
2280 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <actions>
2283 <action function="set">tw_back=restore</action>
2284 <action function="set">tw_action=cmd</action>
2285 <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 -05002286 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2289 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2290 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2291 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">confirm_action</action>
2293 </actions>
2294 </button>
2295
2296 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002297 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002298 <action function="page">restore_run</action>
2299 </slider>
2300
2301 <action>
2302 <touch key="home"/>
2303 <action function="page">main</action>
2304 </action>
2305
2306 <action>
2307 <touch key="back"/>
2308 <action function="page">restore</action>
2309 </action>
2310 </page>
2311
2312 <page name="renamebackup">
2313 <template name="page"/>
2314
2315 <text style="text_l">
2316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <text style="text_m">
2321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 </text>
2324
2325 <text style="text_m_accent">
2326 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 </text>
2329
2330 <input>
2331 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2332 <text>%tw_backup_rename%</text>
2333 <data name="tw_backup_rename"/>
2334 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2335 <actions>
2336 <action function="set">tw_back=restore</action>
2337 <action function="set">tw_action=cmd</action>
2338 <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 -05002339 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2340 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2341 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2342 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2343 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002344 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2345 <action function="set">tw_existpage=renamebackup</action>
2346 <action function="set">tw_notexistpage=confirm_action</action>
2347 <action function="page">filecheck</action>
2348 </actions>
2349 </input>
2350
2351 <fill color="%accent_color%">
2352 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2353 </fill>
2354
2355 <fill color="%text_fail_color%">
2356 <condition var1="tw_fileexists" var2="1"/>
2357 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2358 </fill>
2359
2360 <text style="text_m_fail">
2361 <condition var1="tw_fileexists" var2="1"/>
2362 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <button style="main_button_half_width_low">
2367 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 <action function="page">restore_select</action>
2370 </button>
2371
2372 <template name="keyboardtemplate"/>
2373
2374 <action>
2375 <touch key="home"/>
2376 <action function="page">main</action>
2377 </action>
2378
2379 <action>
2380 <touch key="back"/>
2381 <action function="page">restore_select</action>
2382 </action>
2383 </page>
2384
2385 <page name="restore_run">
2386 <template name="page"/>
2387
2388 <text style="text_l">
2389 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002390 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002391 </text>
2392
2393 <text style="text_m">
2394 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2395 <text>%tw_operation% %tw_partition%</text>
2396 </text>
2397
2398 <template name="console"/>
2399
2400 <template name="progress_bar"/>
2401
2402 <text style="text_m_accent">
2403 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 </text>
2406
2407 <text style="text_m">
2408 <placement x="%progress_text_x%" y="%row18_y%"/>
2409 <text>%tw_size_progress%</text>
2410 </text>
2411
2412 <action>
2413 <condition var1="tw_operation_state" var2="1"/>
2414 <actions>
2415 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002416 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="set">tw_show_reboot=1</action>
2418 <action function="page">action_complete</action>
2419 </actions>
2420 </action>
2421
2422 <action>
2423 <action function="nandroid">restore</action>
2424 </action>
2425 </page>
2426
2427 <page name="mount">
2428 <template name="page"/>
2429
2430 <text style="text_l">
2431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 </text>
2434
2435 <text style="text_m">
2436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 </text>
2439
2440 <partitionlist>
2441 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 <listtype name="mount"/>
2444 </partitionlist>
2445
2446 <button style="checkbox">
2447 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2448 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 <image resource="checkbox_false"/>
2451 <action function="mountsystemtoggle">1</action>
2452 </button>
2453
2454 <button style="checkbox">
2455 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2456 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 <image resource="checkbox_true"/>
2459 <actions>
2460 <action function="set">tw_lifetime_writes=2</action>
2461 <action function="page">system_readonly_check</action>
2462 </actions>
2463 </button>
2464
2465 <button style="main_button_half_width">
2466 <condition var1="tw_has_usb_storage" var2="1"/>
2467 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <action function="page">usb_mount</action>
2470 </button>
2471
2472 <button style="main_button_half_width">
2473 <conditions>
2474 <condition var1="tw_is_encrypted" var2="1"/>
2475 <condition var1="tw_is_decrypted" var2="0"/>
2476 </conditions>
2477 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002478 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002479 <action function="page">decrypt</action>
2480 </button>
2481
2482 <button style="main_button_half_width">
2483 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <actions>
2486 <action function="set">tw_back=mount</action>
2487 <action function="overlay">select_storage</action>
2488 </actions>
2489 </button>
2490
2491 <button style="main_button_half_width">
2492 <conditions>
2493 <condition var1="tw_has_mtp" var2="1"/>
2494 <condition var1="tw_mtp_enabled" var2="0"/>
2495 </conditions>
2496 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 <action function="startmtp"/>
2499 </button>
2500
2501 <button style="main_button_half_width">
2502 <conditions>
2503 <condition var1="tw_has_mtp" var2="1"/>
2504 <condition var1="tw_mtp_enabled" var2="1"/>
2505 </conditions>
2506 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002507 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002508 <action function="stopmtp"/>
2509 </button>
2510
2511 <action>
2512 <touch key="home"/>
2513 <action function="page">main</action>
2514 </action>
2515
2516 <action>
2517 <touch key="back"/>
2518 <action function="page">main</action>
2519 </action>
2520 </page>
2521
2522 <page name="usb_mount">
2523 <template name="page"/>
2524
2525 <text style="text_l">
2526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002532 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 </text>
2534
2535 <text style="text_m_accent">
2536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 </text>
2539
2540 <text style="text_m">
2541 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002542 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002543 </text>
2544
2545 <text style="text_m">
2546 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 </text>
2549
2550 <button style="main_button_half_width">
2551 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <action function="page">usb_umount</action>
2554 </button>
2555
2556 <action>
2557 <action function="mount">usb</action>
2558 <action function="set">tw_busy=1</action>
2559 </action>
2560 </page>
2561
2562 <page name="usb_umount">
2563 <action>
2564 <action function="unmount">usb</action>
2565 </action>
2566
2567 <action>
2568 <action function="page">mount</action>
2569 <action function="set">tw_busy=0</action>
2570 </action>
2571 </page>
2572
2573 <page name="system_readonly_check">
2574 <action>
2575 <action function="checkpartitionlifetimewrites">/system</action>
2576 </action>
2577
2578 <action>
2579 <condition var1="tw_lifetime_writes" var2="1"/>
2580 <actions>
2581 <action function="mountsystemtoggle">0</action>
2582 <action function="page">mount</action>
2583 </actions>
2584 </action>
2585
2586 <action>
2587 <condition var1="tw_lifetime_writes" var2="0"/>
2588 <actions>
2589 <action function="set">tw_back=mount</action>
2590 <action function="page">system_readonly</action>
2591 </actions>
2592 </action>
2593 </page>
2594
2595 <page name="reboot">
2596 <template name="page"/>
2597
2598 <text style="text_l">
2599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002600 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002601 </text>
2602
2603 <button style="main_button">
2604 <condition var1="tw_reboot_system" var2="1"/>
2605 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <actions>
2608 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002609 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002610 </actions>
2611 </button>
2612
2613 <button style="main_button">
2614 <condition var1="tw_reboot_poweroff" var2="1"/>
2615 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002616 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002617 <actions>
2618 <action function="set">tw_back=reboot</action>
2619 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002620 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002621 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002622 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2624 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2625 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2626 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2627 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002628 <action function="page">rebootcheck</action>
2629 </actions>
2630 </button>
2631
2632 <button style="main_button">
2633 <condition var1="tw_reboot_recovery" var2="1"/>
2634 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <actions>
2637 <action function="set">tw_back=reboot</action>
2638 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002639 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002640 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2643 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2644 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2645 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2646 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <action function="page">rebootcheck</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button">
2652 <condition var1="tw_reboot_bootloader" var2="1"/>
2653 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <actions>
2656 <action function="set">tw_back=reboot</action>
2657 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002658 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002659 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002660 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2662 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2663 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2664 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2665 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002666 <action function="page">rebootcheck</action>
2667 </actions>
2668 </button>
2669
2670 <button style="main_button">
2671 <condition var1="tw_download_mode" var2="1"/>
2672 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <actions>
2675 <action function="set">tw_back=reboot</action>
2676 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002677 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002678 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002680 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2681 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2682 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2683 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2684 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="page">rebootcheck</action>
2686 </actions>
2687 </button>
2688
2689 <action>
2690 <touch key="home"/>
2691 <action function="page">main</action>
2692 </action>
2693
2694 <action>
2695 <touch key="back"/>
2696 <action function="page">main</action>
2697 </action>
2698 </page>
2699
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002700 <page name="rebootapp">
2701 <template name="page"/>
2702
2703 <text style="text_l">
2704 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2705 <text>{@reboot_hdr=Reboot}</text>
2706 </text>
2707
2708 <text style="text_m">
2709 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2710 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2711 </text>
2712
2713 <text style="text_m_accent">
2714 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2715 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2716 </text>
2717
2718 <text style="text_m_accent">
2719 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2720 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2721 </text>
2722
2723 <checkbox>
2724 <placement x="%indent%" y="%row5_y%"/>
2725 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2726 <data variable="tw_app_prompt"/>
2727 </checkbox>
2728
2729 <checkbox>
2730 <condition var1="tw_mount_system_ro" var2="0"/>
2731 <placement x="%indent%" y="%row7_y%"/>
2732 <text>{@reboot_install_app_system=Install as a System App}</text>
2733 <data variable="tw_app_install_system"/>
2734 </checkbox>
2735
2736 <button style="main_button_half_width">
2737 <placement x="%col2_x_left%" y="%row15a_y%"/>
2738 <text>{@su_cancel=Do not Install}</text>
2739 <action function="reboot">%tw_reboot_param%</action>
2740 </button>
2741
2742 <slider>
2743 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2744 <actions>
2745 <action function="set">tw_back=reboot</action>
2746 <action function="set">tw_action=installapp</action>
2747 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2748 <action function="set">tw_action_text2=</action>
2749 <action function="set">tw_has_action2=1</action>
2750 <action function="set">tw_action2=reboot</action>
2751 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2752 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2753 <action function="page">action_page</action>
2754 </actions>
2755 </slider>
2756
2757 <action>
2758 <touch key="home"/>
2759 <actions>
2760 <action function="set">tw_app_install_status=0</action>
2761 <action function="page">main</action>
2762 </actions>
2763 </action>
2764
2765 <action>
2766 <touch key="back"/>
2767 <actions>
2768 <action function="set">tw_app_install_status=0</action>
2769 <action function="page">reboot</action>
2770 </actions>
2771 </action>
2772 </page>
2773
z31s1g28f0a922015-11-07 18:50:22 +01002774 <page name="system_readonly">
2775 <template name="page"/>
2776
2777 <text style="text_l">
2778 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002780 </text>
2781
2782 <text style="text_m_accent">
2783 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 </text>
2786
2787 <text style="text_m">
2788 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <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 +01002790 </text>
2791
2792 <text style="text_m">
2793 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002794 <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 +01002795 </text>
2796
2797 <text style="text_m_fail">
2798 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002799 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002800 </text>
2801
2802 <checkbox>
2803 <condition var1="tw_is_encrypted" var2="0"/>
2804 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002805 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002806 <data variable="tw_never_show_system_ro_page"/>
2807 </checkbox>
2808
2809 <button style="main_button_half_width">
2810 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 <actions>
2813 <action function="mountsystemtoggle">1</action>
2814 <action function="set">tw_page_done=1</action>
2815 <action function="page">%tw_back%</action>
2816 </actions>
2817 </button>
2818
z31s1g608d7ff2016-01-18 19:47:25 +01002819 <button style="main_button_half_width">
2820 <placement x="%col2_x_left%" y="%row15a_y%"/>
2821 <text>{@sel_lang_btn=Select Language}</text>
2822 <action function="overlay">select_language</action>
2823 </button>
2824
z31s1g28f0a922015-11-07 18:50:22 +01002825 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 <actions>
2828 <action function="mountsystemtoggle">0</action>
2829 <action function="set">tw_page_done=1</action>
2830 <action function="page">%tw_back%</action>
2831 </actions>
2832 </slider>
2833 </page>
2834
2835 <page name="settings">
2836 <template name="page"/>
2837
2838 <text style="text_l">
2839 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002840 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002841 </text>
2842
2843 <text style="text_m">
2844 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002845 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 </text>
2847
2848 <template name="tabs_settings"/>
2849
2850 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002851 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002852 </fill>
2853
2854 <listbox style="scrolllist">
2855 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2856 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002857 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002858 <data variable="tw_signed_zip_verify"/>
2859 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002860 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2861 <data variable="tw_install_reboot"/>
2862 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002863 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002864 <data variable="tw_rm_rf"/>
2865 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002866 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2867 <data variable="tw_disable_free_space"/>
2868 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002869 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2870 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002871 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002872 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2873 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002874 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002875 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002876 <data variable="tw_military_time"/>
2877 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002878 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2879 <data variable="tw_app_prompt"/>
2880 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002881 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002882 <data variable="tw_simulate_actions"/>
2883 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002885 <condition var1="tw_simulate_actions" var2="1"/>
2886 <data variable="tw_simulate_fail"/>
2887 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002888 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2889 <condition var1="tw_no_sha2" var2="0"/>
2890 <data variable="tw_use_sha2"/>
2891 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002892 </listbox>
2893
2894 <checkbox>
2895 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002896 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002897 <data variable="tw_samsung_navbar"/>
2898 </checkbox>
2899
2900 <button style="radiobutton">
2901 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2902 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002904 <image resource="radio_false"/>
2905 <action function="set">tw_navbar_button_position=0</action>
2906 </button>
2907
2908 <button style="radiobutton">
2909 <condition var1="tw_navbar_button_position" var2="0"/>
2910 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002912 <image resource="radio_true"/>
2913 <action function="set">tw_navbar_button_position=0</action>
2914 </button>
2915
2916 <button style="radiobutton">
2917 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2918 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002920 <image resource="radio_false"/>
2921 <action function="set">tw_navbar_button_position=1</action>
2922 </button>
2923
2924 <button style="radiobutton">
2925 <condition var1="tw_navbar_button_position" var2="1"/>
2926 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002927 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002928 <image resource="radio_true"/>
2929 <action function="set">tw_navbar_button_position=1</action>
2930 </button>
2931
2932 <button style="radiobutton">
2933 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2934 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002935 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002936 <image resource="radio_false"/>
2937 <action function="set">tw_navbar_button_position=2</action>
2938 </button>
2939
2940 <button style="radiobutton">
2941 <condition var1="tw_navbar_button_position" var2="2"/>
2942 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 <image resource="radio_true"/>
2945 <action function="set">tw_navbar_button_position=2</action>
2946 </button>
2947
2948 <button style="main_button_half_width">
2949 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 <action function="restoredefaultsettings"/>
2952 </button>
2953
2954 <action>
2955 <touch key="home"/>
2956 <action function="page">main</action>
2957 </action>
2958
2959 <action>
2960 <touch key="back"/>
2961 <action function="page">main</action>
2962 </action>
2963 </page>
2964
2965 <page name="settings_timezone">
2966 <template name="page"/>
2967
2968 <text style="text_l">
2969 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m">
2974 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <template name="tabs_settings"/>
2979
2980 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </fill>
2983
2984 <listbox>
2985 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2989 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2990 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2991 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2992 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2993 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2994 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2995 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2996 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2997 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2998 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2999 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3000 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3001 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3002 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3003 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3004 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3005 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3006 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3007 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3008 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3009 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3010 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3011 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </listbox>
3013
3014 <text style="text_m_accent">
3015 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003017 </text>
3018
3019 <button style="button_quarter_width">
3020 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003021 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003022 <action function="set">tw_time_zone_guioffset=0</action>
3023 </button>
3024
3025 <button style="button_quarter_width">
3026 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003027 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003028 <action function="set">tw_time_zone_guioffset=15</action>
3029 </button>
3030
3031 <button style="button_quarter_width">
3032 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003033 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003034 <action function="set">tw_time_zone_guioffset=30</action>
3035 </button>
3036
3037 <button style="button_quarter_width">
3038 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003039 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003040 <action function="set">tw_time_zone_guioffset=45</action>
3041 </button>
3042
3043 <checkbox>
3044 <placement x="%col1_x_right%" y="%row7_y%"/>
3045 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 <data variable="tw_time_zone_guidst"/>
3048 <image checked="checkbox_true" unchecked="checkbox_false"/>
3049 </checkbox>
3050
3051 <text color="%text_color%">
3052 <font resource="font_m"/>
3053 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 </text>
3056
3057 <button>
3058 <highlight color="%highlight_color%"/>
3059 <placement x="%col2_x_right%" y="%row15a_y%"/>
3060 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003062 <image resource="main_button_half_width"/>
3063 <action function="setguitimezone"/>
3064 </button>
3065
3066 <action>
3067 <touch key="home"/>
3068 <action function="page">main</action>
3069 </action>
3070
3071 <action>
3072 <touch key="back"/>
3073 <action function="page">main</action>
3074 </action>
3075 </page>
3076
3077 <page name="settings_screen">
3078 <template name="page"/>
3079
3080 <text style="text_l">
3081 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003083 </text>
3084
3085 <text style="text_m">
3086 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003087 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003088 </text>
3089
3090 <template name="tabs_settings"/>
3091
3092 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003094 </fill>
3095
3096 <button>
3097 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3098 <font resource="font_m" color="%text_color%"/>
3099 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3100 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003101 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003102 <image resource="checkbox_false"/>
3103 <action function="set">tw_screen_timeout_secs=60</action>
3104 </button>
3105
3106 <button>
3107 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3108 <font resource="font_m" color="%text_color%"/>
3109 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3110 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <image resource="checkbox_true"/>
3113 <action function="set">tw_screen_timeout_secs=0</action>
3114 </button>
3115
3116 <slidervalue>
3117 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3118 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3119 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3122 </slidervalue>
3123
3124 <slidervalue>
3125 <condition var1="tw_has_brightnesss_file" var2="1"/>
3126 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <data variable="tw_brightness_pct" min="10" max="100"/>
3129 <actions>
3130 <action function="set">tw_brightness=%tw_brightness_max%</action>
3131 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3132 <action function="compute">tw_brightness/100</action>
3133 <action function="setbrightness">%tw_brightness%</action>
3134 </actions>
3135 </slidervalue>
3136
3137 <action>
3138 <touch key="home"/>
3139 <action function="page">main</action>
3140 </action>
3141
3142 <action>
3143 <touch key="back"/>
3144 <action function="page">main</action>
3145 </action>
3146 </page>
3147
3148 <page name="settings_vibration">
3149 <template name="page"/>
3150
3151 <text style="text_l">
3152 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 </text>
3155
3156 <text style="text_m">
3157 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 </text>
3160
3161 <template name="tabs_settings"/>
3162
3163 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003164 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003165 </fill>
3166
3167 <slidervalue>
3168 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 <data variable="tw_button_vibrate" min="0" max="300"/>
3171 </slidervalue>
3172
3173 <slidervalue>
3174 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3177 </slidervalue>
3178
3179 <slidervalue>
3180 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <data variable="tw_action_vibrate" min="0" max="500"/>
3183 </slidervalue>
3184
3185 <action>
3186 <touch key="home"/>
3187 <action function="page">main</action>
3188 </action>
3189
3190 <action>
3191 <touch key="back"/>
3192 <action function="page">main</action>
3193 </action>
3194 </page>
3195
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <page name="settings_language">
3197 <template name="page"/>
3198
3199 <text style="text_l">
3200 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3201 <text>{@settings_hdr=Settings}</text>
3202 </text>
3203
3204 <text style="text_m">
3205 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3206 <text>{@language_hdr=Language - %tw_language_display%}</text>
3207 </text>
3208
3209 <template name="tabs_settings"/>
3210
3211 <fill color="%text_color%">
3212 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3213 </fill>
3214
3215 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003216 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@select_language=Select Language:}</text>
3218 <icon selected="radio_true" unselected="radio_false" />
3219 <data name="tw_language" />
3220 </listbox>
3221
z31s1g56189522016-01-13 19:12:40 +01003222 <button>
3223 <highlight color="%highlight_color%"/>
3224 <placement x="%col2_x_right%" y="%row15a_y%"/>
3225 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003227 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <action function="setlanguage"></action>
3229 </button>
3230
3231 <action>
3232 <touch key="home" />
3233 <action function="page">main</action>
3234 </action>
3235
3236 <action>
3237 <touch key="back" />
3238 <action function="page">settings</action>
3239 </action>
3240 </page>
3241
Matt Mower32676622017-01-18 18:56:13 -06003242 <page name="copylog">
3243 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003244
Matt Mower32676622017-01-18 18:56:13 -06003245 <text style="text_l">
3246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3247 <text>{@copying_log=Copy Logs to SD Card}</text>
3248 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003249
Matt Mower32676622017-01-18 18:56:13 -06003250 <checkbox>
3251 <placement x="%indent%" y="%row4_y%"/>
3252 <text>{@include_kernel_log=Include Kernel Log}</text>
3253 <data variable="tw_include_kernel_log" value="1"/>
3254 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003255
Matt Mower32676622017-01-18 18:56:13 -06003256 <slider>
3257 <text>{@copying_log=Copy Logs to SD Card}</text>
3258 <actions>
3259 <action function="set">tw_back=advanced</action>
3260 <action function="set">tw_action=copylog</action>
3261 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3262 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3263 <action function="page">action_page</action>
3264 </actions>
3265 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003266
Matt Mower32676622017-01-18 18:56:13 -06003267 <action>
3268 <touch key="home"/>
3269 <action function="page">main</action>
3270 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003271
Matt Mower32676622017-01-18 18:56:13 -06003272 <action>
3273 <touch key="back"/>
3274 <actions>
3275 <action function="page">advanced</action>
3276 </actions>
3277 </action>
3278 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003279
z31s1g28f0a922015-11-07 18:50:22 +01003280 <page name="advanced">
3281 <template name="page"/>
3282
3283 <text style="text_l">
3284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 </text>
3287
3288 <button style="main_button">
3289 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003291 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003292 </button>
3293
3294 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003295 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003297 <text>{@fix_context_btn=Fix Contexts}</text>
3298 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </button>
3300
3301 <button style="main_button">
3302 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3303 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003305 <actions>
3306 <action function="set">partitionlisterror=0</action>
3307 <action function="page">partsdcardsel</action>
3308 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003309 </button>
3310
3311 <button style="main_button">
3312 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 <action function="page">filemanagerlist</action>
3315 </button>
3316
3317 <button style="main_button">
3318 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003320 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </button>
3322
3323 <button style="main_button">
3324 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 <action function="reload"/>
3327 </button>
3328
3329 <button style="main_button">
3330 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 <action function="page">sideload</action>
3333 </button>
3334
3335 <button style="main_button">
3336 <condition var1="tw_show_dumlock" var2="1"/>
3337 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <action function="page">htcdumlock</action>
3340 </button>
3341
3342 <button style="main_button">
3343 <condition var1="tw_has_injecttwrp" var2="1"/>
3344 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <actions>
3347 <action function="set">tw_back=advanced</action>
3348 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3350 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3351 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3352 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003353 <action function="page">confirm_action</action>
3354 </actions>
3355 </button>
3356
3357 <action>
3358 <touch key="home"/>
3359 <action function="page">main</action>
3360 </action>
3361
3362 <action>
3363 <touch key="back"/>
3364 <action function="page">main</action>
3365 </action>
3366 </page>
3367
Ethan Yonker483e9f42016-01-11 22:21:18 -06003368 <page name="partsdcardsel">
3369 <template name="page"/>
3370
3371 <text style="text_l">
3372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3373 <text>{@advanced_hdr=Advanced}</text>
3374 </text>
3375
3376 <text style="text_m">
3377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3378 <text>{@part_sd_hdr=Partition SD Card}</text>
3379 </text>
3380
z31s1g782e1c92016-01-30 16:50:09 +01003381 <partitionlist>
3382 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003383 <text>{@sel_storage_list=Select Storage}</text>
3384 <data name="tw_storage_path"/>
3385 <listtype name="storage"/>
3386 </partitionlist>
3387
z31s1g782e1c92016-01-30 16:50:09 +01003388 <text style="text_m_fail">
3389 <condition var1="partitionlisterror" var2="1"/>
3390 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3391 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3392 </text>
3393
3394 <button style="main_button_half_width">
3395 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003396 <text>{@ok_btn=OK}</text>
3397 <actions>
3398 <action function="getpartitiondetails">tw_storage_path</action>
3399 <action function="page">partsdcardcheck</action>
3400 </actions>
3401 </button>
3402
Ethan Yonker483e9f42016-01-11 22:21:18 -06003403 <action>
3404 <touch key="home"/>
3405 <action function="page">main</action>
3406 </action>
3407
3408 <action>
3409 <touch key="back"/>
3410 <action function="page">advanced</action>
3411 </action>
3412 </page>
3413
3414 <page name="partsdcardcheck">
3415 <action>
3416 <condition var1="tw_partition_removable" op="=" var2="1"/>
3417 <actions>
3418 <action function="set">partitionlisterror=0</action>
3419 <action function="page">partsdcard</action>
3420 </actions>
3421 </action>
3422
3423 <action>
3424 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3425 <actions>
3426 <action function="set">partitionlisterror=1</action>
3427 <action function="page">partsdcardsel</action>
3428 </actions>
3429 </action>
3430 </page>
3431
z31s1g28f0a922015-11-07 18:50:22 +01003432 <page name="partsdcard">
3433 <template name="page"/>
3434
3435 <text style="text_l">
3436 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </text>
3439
3440 <text style="text_m">
3441 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003442 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003443 </text>
3444
3445 <text style="text_m_fail">
3446 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <text style="text_m_fail">
3451 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </text>
3454
3455 <text style="text_m_accent">
3456 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 </text>
3459
3460 <text style="text_m">
3461 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3462 <text>%tw_sdext_size%</text>
3463 </text>
3464
3465 <button style="button_quarter_width">
3466 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003468 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003469 </button>
3470
3471 <button style="button_quarter_width">
3472 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003474 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003475 </button>
3476
3477 <text style="text_m_accent">
3478 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </text>
3481
3482 <text style="text_m">
3483 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3484 <text>%tw_swap_size%</text>
3485 </text>
3486
3487 <button style="button_quarter_width">
3488 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003490 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </button>
3492
3493 <button style="button_quarter_width">
3494 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003496 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </button>
3498
3499 <text style="text_m_accent">
3500 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <text style="text_m">
3505 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3506 <text>%tw_sdpart_file_system%</text>
3507 </text>
3508
3509 <button style="button_quarter_width">
3510 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3511 <text>EXT3</text>
3512 <action function="set">tw_sdpart_file_system=ext3</action>
3513 </button>
3514
3515 <button style="button_quarter_width">
3516 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3517 <text>EXT4</text>
3518 <action function="set">tw_sdpart_file_system=ext4</action>
3519 </button>
3520
3521 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003522 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003523 <action function="page">partsdcardaction</action>
3524 <actions>
3525 <action function="set">tw_back=partsdcard</action>
3526 <action function="set">tw_action=partitionsd</action>
3527 <action function="set">tw_has_action2=1</action>
3528 <action function="set">tw_action2=set</action>
3529 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003530 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3531 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3532 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003533 <action function="page">action_page</action>
3534 </actions>
3535 </slider>
3536
3537 <action>
3538 <touch key="home"/>
3539 <action function="page">main</action>
3540 </action>
3541
3542 <action>
3543 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003544 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </action>
3546 </page>
3547
3548 <page name="htcdumlock">
3549 <template name="page"/>
3550
3551 <text style="text_l">
3552 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003553 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003554 </text>
3555
3556 <text style="text_m">
3557 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 </text>
3560
3561 <button style="main_button_m">
3562 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003563 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003564 <actions>
3565 <action function="set">tw_back=htcdumlock</action>
3566 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3568 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3569 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3570 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003571 <action function="page">confirm_action</action>
3572 </actions>
3573 </button>
3574
3575 <button style="main_button_m">
3576 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 <actions>
3579 <action function="set">tw_back=htcdumlock</action>
3580 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3582 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3583 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3584 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003585 <action function="page">confirm_action</action>
3586 </actions>
3587 </button>
3588
3589 <button style="main_button_m">
3590 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <actions>
3593 <action function="set">tw_back=htcdumlock</action>
3594 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3596 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3597 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3598 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003599 <action function="page">confirm_action</action>
3600 </actions>
3601 </button>
3602
3603 <action>
3604 <touch key="home"/>
3605 <action function="page">main</action>
3606 </action>
3607
3608 <action>
3609 <touch key="back"/>
3610 <action function="page">advanced</action>
3611 </action>
3612 </page>
3613
3614 <page name="lock">
3615 <background color="%semi_transparent%"/>
3616
3617 <image>
3618 <image resource="unlock_icon"/>
3619 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3620 </image>
3621
3622 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003624 <action function="overlay"/>
3625 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003626
3627 <action>
3628 <touch key="power"/>
3629 <action function="togglebacklight"/>
3630 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003631 </page>
3632
3633 <page name="filemanagerlist">
3634 <template name="page"/>
3635
3636 <text style="text_l">
3637 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003638 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003639 </text>
3640
3641 <text style="text_m">
3642 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 </text>
3645
3646 <template name="sort_options"/>
3647
3648 <fileselector>
3649 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3650 <text>%tw_file_location1%</text>
3651 <filter folders="1" files="1"/>
3652 <path name="tw_file_location1" default="/"/>
3653 <data name="tw_filename1"/>
3654 <selection name="tw_selection1"/>
3655 </fileselector>
3656
3657 <button style="main_button_half_width_low">
3658 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 <actions>
3661 <action function="set">tw_filename1=tw_file_location1</action>
3662 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003664 <action function="page">filemanageroptions</action>
3665 </actions>
3666 </button>
3667
3668 <action>
3669 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="set">tw_fm_isfolder=0</action>
3672 </actions>
3673 </action>
3674
3675 <action>
3676 <touch key="home"/>
3677 <action function="page">main</action>
3678 </action>
3679
3680 <action>
3681 <touch key="back"/>
3682 <action function="page">advanced</action>
3683 </action>
3684
3685 <action>
3686 <condition var1="tw_filename1" op="modified"/>
3687 <action function="page">filemanageroptions</action>
3688 </action>
3689 </page>
3690
3691 <page name="filemanageroptions">
3692 <template name="page"/>
3693
3694 <text style="text_l">
3695 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 </text>
3698
3699 <text style="text_m">
3700 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </text>
3703
3704 <text style="text_m_accent">
3705 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </text>
3708
3709 <text style="text_m">
3710 <placement x="%col1_x_left%" y="%row3_y%"/>
3711 <text>%tw_filename1%</text>
3712 </text>
3713
3714 <button style="main_button_half_width">
3715 <condition var1="tw_fm_isfolder" var2="0"/>
3716 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 <actions>
3719 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <action function="page">choosedestinationfolder</action>
3722 </actions>
3723 </button>
3724
3725 <button style="main_button_half_width">
3726 <condition var1="tw_fm_isfolder" var2="1"/>
3727 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 <actions>
3730 <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 -05003731 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003732 <action function="page">choosedestinationfolder</action>
3733 </actions>
3734 </button>
3735
3736 <button style="main_button_half_width">
3737 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 <actions>
3740 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003742 <action function="page">choosedestinationfolder</action>
3743 </actions>
3744 </button>
3745
3746 <button style="main_button_half_width">
3747 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 <actions>
3750 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003751 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003752 <action function="set">tw_fm_text2=</action>
3753 <action function="set">tw_fm_text3=</action>
3754 <action function="set">tw_include_text3=0</action>
3755 <action function="set">tw_back=filemanageroptions</action>
3756 <action function="page">filemanagerconfirm</action>
3757 </actions>
3758 </button>
3759
3760 <button style="main_button_half_width">
3761 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003763 <actions>
3764 <action function="set">tw_filemanager_rename=0000</action>
3765 <action function="set">tw_fm_text2=</action>
3766 <action function="set">tw_fm_text3=</action>
3767 <action function="set">tw_include_text3=0</action>
3768 <action function="set">tw_back=filemanageroptions</action>
3769 <action function="page">filemanagerchmod</action>
3770 </actions>
3771 </button>
3772
3773 <button style="main_button_half_width">
3774 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003775 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003776 <actions>
3777 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003779 <action function="set">tw_fm_text2=</action>
3780 <action function="set">tw_fm_text3=</action>
3781 <action function="set">tw_include_text3=0</action>
3782 <action function="set">tw_back=filemanageroptions</action>
3783 <action function="page">filemanagerconfirm</action>
3784 </actions>
3785 </button>
3786
3787 <button style="main_button_half_width">
3788 <condition var1="tw_fm_isfolder" var2="0"/>
3789 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 <actions>
3792 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003793 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003794 <action function="set">tw_filemanager_command=mv</action>
3795 <action function="page">filemanagerrenamefile</action>
3796 </actions>
3797 </button>
3798
3799 <button style="main_button_half_width">
3800 <condition var1="tw_fm_isfolder" var2="1"/>
3801 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003803 <actions>
3804 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003805 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003806 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3807 <action function="page">filemanagerrenamefolder</action>
3808 </actions>
3809 </button>
3810
3811 <action>
3812 <touch key="home"/>
3813 <action function="page">main</action>
3814 </action>
3815
3816 <action>
3817 <touch key="back"/>
3818 <action function="page">filemanagerlist</action>
3819 </action>
3820 </page>
3821
3822 <page name="choosedestinationfolder">
3823 <template name="page"/>
3824
3825 <text style="text_l">
3826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <template name="sort_options"/>
3836
3837 <fileselector>
3838 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3839 <text>%tw_file_location2%</text>
3840 <filter folders="1" files="0"/>
3841 <path name="tw_file_location2" default="/"/>
3842 <data name="tw_filename2"/>
3843 <selection name="tw_selection2"/>
3844 </fileselector>
3845
3846 <button style="main_button_half_width_low">
3847 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 <actions>
3850 <action function="set">tw_fm_text2=to</action>
3851 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3852 <action function="set">tw_include_text3=1</action>
3853 <action function="set">tw_back=filemanageroptions</action>
3854 <action function="page">filemanagerconfirm</action>
3855 </actions>
3856 </button>
3857
3858 <action>
3859 <touch key="home"/>
3860 <action function="page">main</action>
3861 </action>
3862
3863 <action>
3864 <touch key="back"/>
3865 <action function="page">filemanageroptions</action>
3866 </action>
3867 </page>
3868
3869 <page name="filemanagerrenamefile">
3870 <template name="page"/>
3871
3872 <text style="text_l">
3873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <text style="text_m">
3878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <text style="text_m_accent">
3883 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003885 </text>
3886
3887 <input>
3888 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3889 <text>%tw_filemanager_rename%</text>
3890 <data name="tw_filemanager_rename"/>
3891 <restrict minlen="1" maxlen="128"/>
3892 <actions>
3893 <action function="set">tw_fm_text2=to</action>
3894 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3895 <action function="set">tw_include_text3=1</action>
3896 <action function="set">tw_back=filemanageroptions</action>
3897 <action function="page">filemanagerconfirm</action>
3898 </actions>
3899 </input>
3900
3901 <fill color="%accent_color%">
3902 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3903 </fill>
3904
3905 <button style="main_button_half_width_low">
3906 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <action function="page">filemanageroptions</action>
3909 </button>
3910
3911 <template name="keyboardtemplate"/>
3912
3913 <action>
3914 <touch key="home"/>
3915 <action function="page">main</action>
3916 </action>
3917
3918 <action>
3919 <touch key="back"/>
3920 <action function="page">filemanageroptions</action>
3921 </action>
3922 </page>
3923
3924 <page name="filemanagerrenamefolder">
3925 <template name="page"/>
3926
3927 <text style="text_l">
3928 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003930 </text>
3931
3932 <text style="text_m">
3933 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003934 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003935 </text>
3936
3937 <text style="text_m_accent">
3938 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <input>
3943 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3944 <text>%tw_filemanager_rename%</text>
3945 <data name="tw_filemanager_rename"/>
3946 <restrict minlen="1" maxlen="128"/>
3947 <actions>
3948 <action function="set">tw_fm_text2=to</action>
3949 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3950 <action function="set">tw_include_text3=1</action>
3951 <action function="set">tw_back=filemanageroptions</action>
3952 <action function="page">filemanagerconfirm</action>
3953 </actions>
3954 </input>
3955
3956 <fill color="%accent_color%">
3957 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3958 </fill>
3959
3960 <button style="main_button_half_width_low">
3961 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003962 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003963 <action function="page">filemanageroptions</action>
3964 </button>
3965
3966 <template name="keyboardtemplate"/>
3967
3968 <action>
3969 <touch key="home"/>
3970 <action function="page">main</action>
3971 </action>
3972
3973 <action>
3974 <touch key="back"/>
3975 <action function="page">filemanageroptions</action>
3976 </action>
3977 </page>
3978
3979 <page name="filemanagerchmod">
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>{@fm_hdr=File Manager}</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>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 </text>
3991
3992 <text style="text_m_accent">
3993 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003995 </text>
3996
3997 <input>
3998 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3999 <text>%tw_filemanager_rename%</text>
4000 <data name="tw_filemanager_rename"/>
4001 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4002 <actions>
4003 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4004 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4005 <action function="set">tw_back=filemanageroptions</action>
4006 <action function="page">filemanagerconfirm</action>
4007 </actions>
4008 </input>
4009
4010 <fill color="%accent_color%">
4011 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4012 </fill>
4013
4014 <button style="main_button_half_width_low">
4015 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004017 <action function="page">filemanageroptions</action>
4018 </button>
4019
4020 <template name="keyboardtemplate"/>
4021
4022 <action>
4023 <touch key="home"/>
4024 <action function="page">main</action>
4025 </action>
4026
4027 <action>
4028 <touch key="back"/>
4029 <action function="page">filemanageroptions</action>
4030 </action>
4031 </page>
4032
4033 <page name="filemanagerconfirm">
4034 <template name="page"/>
4035
4036 <text style="text_l">
4037 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004038 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004039 </text>
4040
4041 <text style="text_m">
4042 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004043 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004044 </text>
4045
4046 <text style="text_m_accent">
4047 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4048 <text>%tw_fm_text1%</text>
4049 </text>
4050
4051 <text style="text_m">
4052 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4053 <text>%tw_filename1%</text>
4054 </text>
4055
4056 <text style="text_m_accent">
4057 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4058 <text>%tw_fm_text2%</text>
4059 </text>
4060
4061 <text style="text_m">
4062 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4063 <text>%tw_fm_text3%</text>
4064 </text>
4065
4066 <text style="text_m">
4067 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </text>
4070
4071 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004072 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004073 <action function="page">filemanageraction</action>
4074 </slider>
4075
4076 <action>
4077 <touch key="back"/>
4078 <action function="page">%tw_back%</action>
4079 </action>
4080
4081 <action>
4082 <touch key="home"/>
4083 <action function="page">main</action>
4084 </action>
4085 </page>
4086
4087 <page name="filemanageraction">
4088 <template name="page"/>
4089
4090 <text style="text_l">
4091 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 </text>
4094
4095 <text style="text_m">
4096 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4097 <text>%tw_fm_text1%</text>
4098 </text>
4099
4100 <template name="console"/>
4101
4102 <template name="progress_bar"/>
4103
4104 <action>
4105 <conditions>
4106 <condition var1="tw_operation_state" var2="1"/>
4107 <condition var1="tw_operation_status" var2="0"/>
4108 </conditions>
4109 <actions>
4110 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004112 <action function="page">action_complete</action>
4113 </actions>
4114 </action>
4115
4116 <action>
4117 <conditions>
4118 <condition var1="tw_operation_state" var2="1"/>
4119 <condition var1="tw_operation_status" op="!=" var2="0"/>
4120 </conditions>
4121 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004123 <action function="page">action_complete</action>
4124 </actions>
4125 </action>
4126
4127 <action>
4128 <condition var1="tw_include_text3" var2="0"/>
4129 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4130 </action>
4131
4132 <action>
4133 <condition var1="tw_include_text3" var2="1"/>
4134 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4135 </action>
4136 </page>
4137
4138 <page name="decrypt">
4139 <template name="page"/>
4140
4141 <action>
4142 <condition var1="tw_crypto_pwtype" var2="2"/>
4143 <action function="page">decrypt_pattern</action>
4144 </action>
4145
4146 <text style="text_l">
4147 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004148 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004149 </text>
4150
4151 <text style="text_m">
4152 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 </text>
4155
4156 <text style="text_m_accent">
4157 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004159 </text>
4160
4161 <input>
4162 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4163 <text>%tw_crypto_display%</text>
4164 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4165 <restrict minlen="1" maxlen="254"/>
4166 <action function="page">trydecrypt</action>
4167 </input>
4168
4169 <fill color="%accent_color%">
4170 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4171 </fill>
4172
4173 <fill color="%text_fail_color%">
4174 <condition var1="tw_password_fail" var2="1"/>
4175 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4176 </fill>
4177
4178 <text style="text_m_fail">
4179 <condition var1="tw_password_fail" var2="1"/>
4180 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004181 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004182 </text>
4183
4184 <button style="main_button_half_width_low">
4185 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 <actions>
4188 <action function="set">tw_page_done=1</action>
4189 <action function="page">main</action>
4190 </actions>
4191 </button>
4192
z31s1g608d7ff2016-01-18 19:47:25 +01004193 <button style="main_button_half_width_low">
4194 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4195 <text>{@sel_lang_btn=Select Language}</text>
4196 <action function="overlay">select_language</action>
4197 </button>
4198
z31s1g28f0a922015-11-07 18:50:22 +01004199 <template name="keyboardtemplate"/>
4200 </page>
4201
4202 <page name="decrypt_pattern">
4203 <template name="page"/>
4204
4205 <text style="text_l">
4206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004208 </text>
4209
4210 <text style="text_m">
4211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004212 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004213 </text>
4214
4215 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004216 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
Aleksa Saraib25a1832015-12-31 17:36:00 +01004220 <text style="text_m_fail">
4221 <condition var1="tw_password_fail" var2="1"/>
4222 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004223 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004224 </text>
4225
z31s1g28f0a922015-11-07 18:50:22 +01004226 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004227 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004228 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4229 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4230 <data name="tw_crypto_password"/>
4231 <action function="page">trydecrypt</action>
4232 </patternpassword>
4233
Aleksa Saraib25a1832015-12-31 17:36:00 +01004234 <button style="main_button_half_width_low">
4235 <placement x="%col_button_right%" y="%row1a_y%"/>
4236 <text>3x3</text>
4237 <action function="set">tw_gui_pattern_grid_size=3</action>
4238 </button>
4239
4240 <button style="main_button_half_width_low">
4241 <placement x="%col_button_right%" y="%row4a_y%"/>
4242 <text>4x4</text>
4243 <action function="set">tw_gui_pattern_grid_size=4</action>
4244 </button>
4245
4246 <button style="main_button_half_width_low">
4247 <placement x="%col_button_right%" y="%row7a_y%"/>
4248 <text>5x5</text>
4249 <action function="set">tw_gui_pattern_grid_size=5</action>
4250 </button>
4251
4252 <button style="main_button_half_width_low">
4253 <placement x="%col_button_right%" y="%row10a_y%"/>
4254 <text>6x6</text>
4255 <action function="set">tw_gui_pattern_grid_size=6</action>
4256 </button>
4257
z31s1g28f0a922015-11-07 18:50:22 +01004258 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004259 <placement x="%col1_x_right%" y="%row15a_y%"/>
4260 <text>{@sel_lang_btn=Select Language}</text>
4261 <action function="overlay">select_language</action>
4262 </button>
4263
4264 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004265 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004266 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004267 <actions>
4268 <action function="set">tw_page_done=1</action>
4269 <action function="page">main</action>
4270 </actions>
4271 </button>
4272 </page>
4273
4274 <page name="trydecrypt">
4275 <template name="page"/>
4276
4277 <text style="text_l">
4278 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004279 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004280 </text>
4281
4282 <text style="text_m">
4283 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004284 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004285 </text>
4286
4287 <template name="console"/>
4288
4289 <template name="progress_bar"/>
4290
4291 <action>
4292 <action function="decrypt"/>
4293 </action>
4294
4295 <action>
4296 <conditions>
4297 <condition var1="tw_operation_state" var2="1"/>
4298 <condition var1="tw_operation_status" op="!=" var2="0"/>
4299 </conditions>
4300 <actions>
4301 <action function="set">tw_password_fail=1</action>
4302 <action function="page">decrypt</action>
4303 </actions>
4304 </action>
4305
4306 <action>
4307 <conditions>
4308 <condition var1="tw_operation_state" var2="1"/>
4309 <condition var1="tw_operation_status" op="=" var2="0"/>
4310 </conditions>
4311 <actions>
4312 <action function="set">tw_page_done=1</action>
4313 <action function="page">main</action>
4314 </actions>
4315 </action>
4316 </page>
4317
z31s1g28f0a922015-11-07 18:50:22 +01004318 <page name="terminalcommand">
4319 <template name="page"/>
4320
4321 <fill color="%background_color%">
4322 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4323 </fill>
4324
z31s1g56189522016-01-13 19:12:40 +01004325 <terminal>
4326 <condition var1="tw_hide_kb" var2="0"/>
4327 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4328 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004329
z31s1g56189522016-01-13 19:12:40 +01004330 <terminal>
4331 <condition var1="tw_hide_kb" var2="1"/>
4332 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4333 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004334
z31s1g56189522016-01-13 19:12:40 +01004335 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004336
z31s1g56189522016-01-13 19:12:40 +01004337 <object type="fill" color="#000000">
4338 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4339 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004340
z31s1g608d7ff2016-01-18 19:47:25 +01004341 <button>
z31s1g56189522016-01-13 19:12:40 +01004342 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4343 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4344 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4345 <image resource="back" />
4346 <condition var1="tw_busy" var2="0" />
4347 <actions>
4348 <action function="set">tw_hide_kb=0</action>
4349 <action function="page">advanced</action>
4350 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004351 </button>
z31s1g56189522016-01-13 19:12:40 +01004352
z31s1g608d7ff2016-01-18 19:47:25 +01004353 <button>
z31s1g56189522016-01-13 19:12:40 +01004354 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4355 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4356 <condition var1="tw_hide_kb" op="=" var2="0" />
4357 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4358 <image resource="kb_hide" />
4359 <condition var1="tw_busy" var2="0" />
4360 <actions>
4361 <action function="set">tw_hide_kb=1</action>
4362 <action function="page">terminalcommand</action>
4363 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004364 </button>
z31s1g56189522016-01-13 19:12:40 +01004365
z31s1g608d7ff2016-01-18 19:47:25 +01004366 <button>
z31s1g56189522016-01-13 19:12:40 +01004367 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4368 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4369 <condition var1="tw_hide_kb" op="=" var2="1" />
4370 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4371 <image resource="kb_show" />
4372 <condition var1="tw_busy" var2="0" />
4373 <actions>
4374 <action function="set">tw_hide_kb=0</action>
4375 <action function="page">terminalcommand</action>
4376 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004377 </button>
z31s1g56189522016-01-13 19:12:40 +01004378
z31s1g608d7ff2016-01-18 19:47:25 +01004379 <button>
z31s1g56189522016-01-13 19:12:40 +01004380 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4381 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4382 <image resource="home" />
4383 <condition var1="tw_busy" var2="0" />
4384 <actions>
4385 <action function="set">tw_hide_kb=0</action>
4386 <action function="key">home</action>
4387 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004388 </button>
z31s1g56189522016-01-13 19:12:40 +01004389
z31s1g608d7ff2016-01-18 19:47:25 +01004390 <button>
z31s1g56189522016-01-13 19:12:40 +01004391 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4392 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4393 <condition var1="tw_hide_kb" op="=" var2="0" />
4394 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4395 <image resource="kb_hide" />
4396 <condition var1="tw_busy" var2="0" />
4397 <actions>
4398 <action function="set">tw_hide_kb=1</action>
4399 <action function="page">terminalcommand</action>
4400 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004401 </button>
z31s1g56189522016-01-13 19:12:40 +01004402
z31s1g608d7ff2016-01-18 19:47:25 +01004403 <button>
z31s1g56189522016-01-13 19:12:40 +01004404 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4405 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4406 <condition var1="tw_hide_kb" op="=" var2="1" />
4407 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4408 <image resource="kb_show" />
4409 <condition var1="tw_busy" var2="0" />
4410 <actions>
4411 <action function="set">tw_hide_kb=0</action>
4412 <action function="page">terminalcommand</action>
4413 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004414 </button>
z31s1g56189522016-01-13 19:12:40 +01004415
z31s1g608d7ff2016-01-18 19:47:25 +01004416 <button>
z31s1g56189522016-01-13 19:12:40 +01004417 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4418 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4419 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4420 <image resource="back" />
4421 <condition var1="tw_busy" var2="0" />
4422 <actions>
4423 <action function="set">tw_hide_kb=0</action>
4424 <action function="page">advanced</action>
4425 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004426 </button>
z31s1g56189522016-01-13 19:12:40 +01004427
z31s1g608d7ff2016-01-18 19:47:25 +01004428 <button>
z31s1g56189522016-01-13 19:12:40 +01004429 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4430 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4431 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4432 <image resource="back" />
4433 <condition var1="tw_busy" var2="0" />
4434 <actions>
4435 <action function="set">tw_hide_kb=0</action>
4436 <action function="page">advanced</action>
4437 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004438 </button>
z31s1g56189522016-01-13 19:12:40 +01004439
z31s1g608d7ff2016-01-18 19:47:25 +01004440 <button>
z31s1g56189522016-01-13 19:12:40 +01004441 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4442 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4443 <condition var1="tw_hide_kb" op="=" var2="0" />
4444 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4445 <image resource="kb_hide" />
4446 <condition var1="tw_busy" var2="0" />
4447 <actions>
4448 <action function="set">tw_hide_kb=1</action>
4449 <action function="page">terminalcommand</action>
4450 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004451 </button>
z31s1g56189522016-01-13 19:12:40 +01004452
z31s1g608d7ff2016-01-18 19:47:25 +01004453 <button>
z31s1g56189522016-01-13 19:12:40 +01004454 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4455 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4456 <condition var1="tw_hide_kb" op="=" var2="1" />
4457 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4458 <image resource="kb_show" />
4459 <condition var1="tw_busy" var2="0" />
4460 <actions>
4461 <action function="set">tw_hide_kb=0</action>
4462 <action function="page">terminalcommand</action>
4463 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004464 </button>
z31s1g56189522016-01-13 19:12:40 +01004465
z31s1g608d7ff2016-01-18 19:47:25 +01004466 <button>
z31s1g56189522016-01-13 19:12:40 +01004467 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4468 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4469 <image resource="home" />
4470 <condition var1="tw_busy" var2="0" />
4471 <actions>
4472 <action function="set">tw_hide_kb=0</action>
4473 <action function="key">home</action>
4474 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004475 </button>
z31s1g56189522016-01-13 19:12:40 +01004476
z31s1g608d7ff2016-01-18 19:47:25 +01004477 <button>
z31s1g56189522016-01-13 19:12:40 +01004478 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4479 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4480 <condition var1="tw_hide_kb" op="=" var2="0" />
4481 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4482 <image resource="kb_hide" />
4483 <condition var1="tw_busy" var2="0" />
4484 <actions>
4485 <action function="set">tw_hide_kb=1</action>
4486 <action function="page">terminalcommand</action>
4487 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004488 </button>
z31s1g56189522016-01-13 19:12:40 +01004489
z31s1g608d7ff2016-01-18 19:47:25 +01004490 <button>
z31s1g56189522016-01-13 19:12:40 +01004491 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4492 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4493 <condition var1="tw_hide_kb" op="=" var2="1" />
4494 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4495 <image resource="kb_show" />
4496 <condition var1="tw_busy" var2="0" />
4497 <actions>
4498 <action function="set">tw_hide_kb=0</action>
4499 <action function="page">terminalcommand</action>
4500 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004501 </button>
z31s1g56189522016-01-13 19:12:40 +01004502
z31s1g608d7ff2016-01-18 19:47:25 +01004503 <button>
z31s1g56189522016-01-13 19:12:40 +01004504 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4505 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4506 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4507 <image resource="back" />
4508 <condition var1="tw_busy" var2="0" />
4509 <actions>
4510 <action function="set">tw_hide_kb=0</action>
4511 <action function="page">advanced</action>
4512 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004513 </button>
z31s1g56189522016-01-13 19:12:40 +01004514
z31s1g608d7ff2016-01-18 19:47:25 +01004515 <button>
z31s1g56189522016-01-13 19:12:40 +01004516 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4517 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4518 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4519 <image resource="back" />
4520 <condition var1="tw_busy" var2="0" />
4521 <actions>
4522 <action function="set">tw_hide_kb=0</action>
4523 <action function="page">advanced</action>
4524 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004525 </button>
z31s1g56189522016-01-13 19:12:40 +01004526
z31s1g608d7ff2016-01-18 19:47:25 +01004527 <button>
z31s1g56189522016-01-13 19:12:40 +01004528 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4529 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4530 <condition var1="tw_hide_kb" op="=" var2="0" />
4531 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4532 <image resource="kb_hide" />
4533 <condition var1="tw_busy" var2="0" />
4534 <actions>
4535 <action function="set">tw_hide_kb=1</action>
4536 <action function="page">terminalcommand</action>
4537 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004538 </button>
z31s1g56189522016-01-13 19:12:40 +01004539
z31s1g608d7ff2016-01-18 19:47:25 +01004540 <button>
z31s1g56189522016-01-13 19:12:40 +01004541 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4542 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4543 <condition var1="tw_hide_kb" op="=" var2="1" />
4544 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4545 <image resource="kb_show" />
4546 <condition var1="tw_busy" var2="0" />
4547 <actions>
4548 <action function="set">tw_hide_kb=0</action>
4549 <action function="page">terminalcommand</action>
4550 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004551 </button>
z31s1g56189522016-01-13 19:12:40 +01004552
z31s1g608d7ff2016-01-18 19:47:25 +01004553 <button>
z31s1g56189522016-01-13 19:12:40 +01004554 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4555 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4556 <image resource="home" />
4557 <condition var1="tw_busy" var2="0" />
4558 <actions>
4559 <action function="set">tw_hide_kb=0</action>
4560 <action function="key">home</action>
4561 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004562 </button>
z31s1g56189522016-01-13 19:12:40 +01004563
z31s1g608d7ff2016-01-18 19:47:25 +01004564 <button>
z31s1g56189522016-01-13 19:12:40 +01004565 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4566 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4567 <condition var1="tw_hide_kb" op="=" var2="0" />
4568 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4569 <image resource="kb_hide" />
4570 <condition var1="tw_busy" var2="0" />
4571 <actions>
4572 <action function="set">tw_hide_kb=1</action>
4573 <action function="page">terminalcommand</action>
4574 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004575 </button>
z31s1g56189522016-01-13 19:12:40 +01004576
z31s1g608d7ff2016-01-18 19:47:25 +01004577 <button>
z31s1g56189522016-01-13 19:12:40 +01004578 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4579 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4580 <condition var1="tw_hide_kb" op="=" var2="1" />
4581 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4582 <image resource="kb_show" />
4583 <condition var1="tw_busy" var2="0" />
4584 <actions>
4585 <action function="set">tw_hide_kb=0</action>
4586 <action function="page">terminalcommand</action>
4587 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004588 </button>
z31s1g56189522016-01-13 19:12:40 +01004589
z31s1g608d7ff2016-01-18 19:47:25 +01004590 <button>
z31s1g56189522016-01-13 19:12:40 +01004591 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4592 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4593 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4594 <image resource="back" />
4595 <condition var1="tw_busy" var2="0" />
4596 <actions>
4597 <action function="set">tw_hide_kb=0</action>
4598 <action function="page">advanced</action>
4599 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004600 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004601
4602 <action>
4603 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004604 <actions>
4605 <action function="page">main</action>
4606 <action function="set">tw_hide_kb=0</action>
4607 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004608 </action>
4609
4610 <action>
4611 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004612 <actions>
4613 <action function="page">advanced</action>
4614 <action function="set">tw_hide_kb=0</action>
4615 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004616 </action>
z31s1g56189522016-01-13 19:12:40 +01004617
4618 <object type="action">
4619 <touch key="power+voldown" />
4620 <action function="screenshot" />
4621 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004622 </page>
4623
4624 <page name="sideload">
4625 <template name="page"/>
4626
4627 <text style="text_l">
4628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 </text>
4631
4632 <text style="text_m">
4633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </text>
4636
4637 <checkbox>
4638 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 <data variable="tw_wipe_dalvik"/>
4641 </checkbox>
4642
4643 <checkbox>
4644 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 <data variable="tw_wipe_cache"/>
4647 </checkbox>
4648
4649 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 <actions>
4652 <action function="set">tw_back=advanced</action>
4653 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004654 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4655 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4656 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004657 <action function="set">tw_has_cancel=1</action>
4658 <action function="set">tw_show_reboot=1</action>
4659 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4660 <action function="page">action_page</action>
4661 </actions>
4662 </slider>
4663
4664 <action>
4665 <touch key="home"/>
4666 <action function="page">main</action>
4667 </action>
4668
4669 <action>
4670 <touch key="back"/>
4671 <action function="page">advanced</action>
4672 </action>
4673 </page>
4674
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004675 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004676 <template name="page"/>
4677
4678 <text style="text_l">
4679 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004680 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004681 </text>
4682
4683 <text style="text_m">
4684 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004685 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004686 </text>
4687
4688 <text style="text_m_accent">
4689 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004690 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004691 </text>
4692
z31s1g28f0a922015-11-07 18:50:22 +01004693 <text style="text_m_fail">
4694 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004695 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004696 </text>
4697
4698 <text style="text_m_fail">
4699 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004700 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004701 </text>
4702
4703 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004704 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004705 <actions>
4706 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004707 <action function="set">tw_action=fixcontexts</action>
4708 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4709 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004710 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004711 <action function="set">tw_show_reboot=1</action>
4712 <action function="page">action_page</action>
4713 </actions>
4714 </slider>
4715
4716 <action>
4717 <touch key="home"/>
4718 <action function="page">main</action>
4719 </action>
4720
4721 <action>
4722 <touch key="back"/>
4723 <action function="page">advanced</action>
4724 </action>
4725 </page>
4726
4727 <page name="installsu">
4728 <template name="page"/>
4729
4730 <text style="text_l">
4731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004732 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004733 </text>
4734
4735 <text style="text_m">
4736 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004737 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004738 </text>
4739
4740 <text style="text_m_accent">
4741 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004742 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004743 </text>
4744
4745 <text style="text_m">
4746 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004747 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004748 </text>
4749
4750 <text style="text_m">
4751 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004752 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004753 </text>
4754
4755 <button style="main_button_half_width">
4756 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004757 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004758 <action function="set">tw_page_done=1</action>
4759 </button>
4760
4761 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004762 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004763 <actions>
4764 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004765 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004766 <action function="set">tw_action_text2=</action>
4767 <action function="page">singleaction_page</action>
4768 </actions>
4769 </slider>
4770 </page>
4771
4772 <page name="slideout">
4773 <fill color="%background_color%">
4774 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4775 </fill>
4776
4777 <console>
4778 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4779 </console>
4780
4781 <button>
4782 <fill color="%transparent%"/>
4783 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4784 <action function="overlay"/>
4785 </button>
4786
4787 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004788 <touch key="power"/>
4789 <action function="togglebacklight"/>
4790 </action>
4791
4792 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004793 <touch key="power+voldown"/>
4794 <action function="screenshot"/>
4795 </action>
4796 </page>
4797
4798 <page name="select_storage">
4799 <fill color="%semi_transparent%">
4800 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4801 </fill>
4802
4803 <fill color="%background_color%">
4804 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4805 </fill>
4806
4807 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004808 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004809 <data name="tw_storage_path"/>
4810 <listtype name="storage"/>
4811 </partitionlist>
4812
4813 <button style="button_third_width">
4814 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004815 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004816 <actions>
4817 <action function="set">tw_clear_destination=%tw_back%</action>
4818 <action function="overlay"/>
4819 <action function="page">clear_vars</action>
4820 </actions>
4821 </button>
4822
4823 <fill color="#000000">
4824 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4825 </fill>
4826
4827 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004828 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4829 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4830 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4831 <image resource="back" />
4832 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004833 <actions>
4834 <action function="overlay"/>
4835 <action function="key">%tw_back%</action>
4836 </actions>
4837 </button>
4838
4839 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004840 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4841 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4842 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="console" />
4844 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004845 <action function="overlay">slideout</action>
4846 </button>
4847
4848 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004849 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4850 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4851 <image resource="home" />
4852 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004853 <actions>
4854 <action function="overlay"/>
4855 <action function="key">home</action>
4856 </actions>
4857 </button>
4858
4859 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004860 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4861 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4862 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4863 <image resource="console" />
4864 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004865 <action function="overlay">slideout</action>
4866 </button>
4867
4868 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004869 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4870 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4871 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4872 <image resource="back" />
4873 <condition var1="tw_busy" var2="0" />
4874 <actions>
4875 <action function="overlay"/>
4876 <action function="key">%tw_back%</action>
4877 </actions>
4878 </button>
4879
4880 <button>
4881 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4882 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4883 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4884 <image resource="back" />
4885 <condition var1="tw_busy" var2="0" />
4886 <actions>
4887 <action function="overlay"/>
4888 <action function="key">%tw_back%</action>
4889 </actions>
4890 </button>
4891
4892 <button>
4893 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4894 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4895 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4896 <image resource="console" />
4897 <condition var1="tw_busy" var2="0" />
4898 <action function="overlay">slideout</action>
4899 </button>
4900
4901 <button>
4902 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4903 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4904 <image resource="home" />
4905 <condition var1="tw_busy" var2="0" />
4906 <actions>
4907 <action function="overlay"/>
4908 <action function="key">home</action>
4909 </actions>
4910 </button>
4911
4912 <button>
4913 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4914 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4915 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4916 <image resource="console" />
4917 <condition var1="tw_busy" var2="0" />
4918 <action function="overlay">slideout</action>
4919 </button>
4920
4921 <button>
4922 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4923 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4924 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4925 <image resource="back" />
4926 <condition var1="tw_busy" var2="0" />
4927 <actions>
4928 <action function="overlay"/>
4929 <action function="key">%tw_back%</action>
4930 </actions>
4931 </button>
4932
4933 <button>
4934 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4935 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4936 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4937 <image resource="back" />
4938 <condition var1="tw_busy" var2="0" />
4939 <actions>
4940 <action function="overlay"/>
4941 <action function="key">%tw_back%</action>
4942 </actions>
4943 </button>
4944
4945 <button>
4946 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4947 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4948 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4949 <image resource="console" />
4950 <condition var1="tw_busy" var2="0" />
4951 <action function="overlay">slideout</action>
4952 </button>
4953
4954 <button>
4955 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4956 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4957 <image resource="home" />
4958 <condition var1="tw_busy" var2="0" />
4959 <actions>
4960 <action function="overlay"/>
4961 <action function="key">home</action>
4962 </actions>
4963 </button>
4964
4965 <button>
4966 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4967 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4968 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4969 <image resource="console" />
4970 <condition var1="tw_busy" var2="0" />
4971 <action function="overlay">slideout</action>
4972 </button>
4973
4974 <button>
4975 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4976 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4977 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4978 <image resource="back" />
4979 <condition var1="tw_busy" var2="0" />
4980 <actions>
4981 <action function="overlay"/>
4982 <action function="key">%tw_back%</action>
4983 </actions>
4984 </button>
4985
4986 <action>
4987 <touch key="power+voldown"/>
4988 <action function="screenshot"/>
4989 </action>
4990 </page>
4991
4992 <page name="select_language">
4993 <fill color="%semi_transparent%">
4994 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4995 </fill>
4996
4997 <fill color="%background_color%">
4998 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4999 </fill>
5000
5001 <listbox>
5002 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5003 <text>{@select_language=Select Language:}</text>
5004 <icon selected="radio_true" unselected="radio_false" />
5005 <data name="tw_language" />
5006 </listbox>
5007
5008 <button style="button_third_width">
5009 <placement x="%dialog_button_x%" y="%row13_y%"/>
5010 <text>{@ok_btn=OK}</text>
5011 <actions>
5012 <action function="overlay"/>
5013 <action function="setlanguage"></action>
5014 </actions>
5015 </button>
5016
5017 <fill color="#000000">
5018 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5019 </fill>
5020
5021 <button>
5022 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5023 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5024 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5025 <image resource="back" />
5026 <condition var1="tw_busy" var2="0" />
5027 <actions>
5028 <action function="overlay"/>
5029 <action function="key">%tw_back%</action>
5030 </actions>
5031 </button>
5032
5033 <button>
5034 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5035 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5036 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5037 <image resource="console" />
5038 <condition var1="tw_busy" var2="0" />
5039 <action function="overlay">slideout</action>
5040 </button>
5041
5042 <button>
5043 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5044 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5045 <image resource="home" />
5046 <condition var1="tw_busy" var2="0" />
5047 <actions>
5048 <action function="overlay"/>
5049 <action function="key">home</action>
5050 </actions>
5051 </button>
5052
5053 <button>
5054 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5055 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5056 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5057 <image resource="console" />
5058 <condition var1="tw_busy" var2="0" />
5059 <action function="overlay">slideout</action>
5060 </button>
5061
5062 <button>
5063 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5064 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5065 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5066 <image resource="back" />
5067 <condition var1="tw_busy" var2="0" />
5068 <actions>
5069 <action function="overlay"/>
5070 <action function="key">%tw_back%</action>
5071 </actions>
5072 </button>
5073
5074 <button>
5075 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5076 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5077 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5078 <image resource="back" />
5079 <condition var1="tw_busy" var2="0" />
5080 <actions>
5081 <action function="overlay"/>
5082 <action function="key">%tw_back%</action>
5083 </actions>
5084 </button>
5085
5086 <button>
5087 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5088 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5089 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5090 <image resource="console" />
5091 <condition var1="tw_busy" var2="0" />
5092 <action function="overlay">slideout</action>
5093 </button>
5094
5095 <button>
5096 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5097 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5098 <image resource="home" />
5099 <condition var1="tw_busy" var2="0" />
5100 <actions>
5101 <action function="overlay"/>
5102 <action function="key">home</action>
5103 </actions>
5104 </button>
5105
5106 <button>
5107 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5108 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5109 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5110 <image resource="console" />
5111 <condition var1="tw_busy" var2="0" />
5112 <action function="overlay">slideout</action>
5113 </button>
5114
5115 <button>
5116 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5117 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5118 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5119 <image resource="back" />
5120 <condition var1="tw_busy" var2="0" />
5121 <actions>
5122 <action function="overlay"/>
5123 <action function="key">%tw_back%</action>
5124 </actions>
5125 </button>
5126
5127 <button>
5128 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5129 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5130 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5131 <image resource="back" />
5132 <condition var1="tw_busy" var2="0" />
5133 <actions>
5134 <action function="overlay"/>
5135 <action function="key">%tw_back%</action>
5136 </actions>
5137 </button>
5138
5139 <button>
5140 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5141 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5142 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5143 <image resource="console" />
5144 <condition var1="tw_busy" var2="0" />
5145 <action function="overlay">slideout</action>
5146 </button>
5147
5148 <button>
5149 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5150 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5151 <image resource="home" />
5152 <condition var1="tw_busy" var2="0" />
5153 <actions>
5154 <action function="overlay"/>
5155 <action function="key">home</action>
5156 </actions>
5157 </button>
5158
5159 <button>
5160 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5161 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5162 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5163 <image resource="console" />
5164 <condition var1="tw_busy" var2="0" />
5165 <action function="overlay">slideout</action>
5166 </button>
5167
5168 <button>
5169 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5170 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5171 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5172 <image resource="back" />
5173 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005174 <actions>
5175 <action function="overlay"/>
5176 <action function="key">%tw_back%</action>
5177 </actions>
5178 </button>
5179
5180 <action>
5181 <touch key="power+voldown"/>
5182 <action function="screenshot"/>
5183 </action>
5184 </page>
5185 </pages>
5186</recovery>