blob: c3d89fe2d4bb95d58c67e54fa3d60b4a0b596561 [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%"/>
nkk711a230e42017-08-07 00:28:19 +0300142 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100143 </style>
144
145 <style name="partitionlist">
146 <highlight color="%fileselector_highlight_color%"/>
147 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
148 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
149 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
150 <icon selected="checkbox_true" unselected="checkbox_false"/>
151 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
152 <background color="%background_color%"/>
153 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
154 </style>
155
156 <style name="partitionlist_storage">
157 <highlight color="%fileselector_highlight_color%"/>
158 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
159 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="radio_true" unselected="radio_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
168 <style name="slider">
169 <placement x="%col2_x_right%" y="%row17a_y%"/>
170 <font resource="font_m" color="%text_color%"/>
171 <resource base="slider" used="slider_used" touch="slider_touch"/>
172 </style>
173
174 <style name="slider_centered">
175 <placement x="%center_x%" y="%row17a_y%"/>
176 <font resource="font_m" color="%text_color%"/>
177 <resource base="slider" used="slider_used" touch="slider_touch"/>
178 </style>
179
180 <style name="slidervalue">
181 <resource handle="handle"/>
182 <font resource="font_m" color="%text_color%"/>
183 <colors line="%fileselector_linecolor%"/>
184 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
185 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100186
187 <style name="patternpassword">
188 <size name="tw_gui_pattern_grid_size" default="3"/>
189 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100190 </styles>
191
192 <pages>
193 <page name="main">
194 <action>
195 <actions>
196 <action function="set">tw_clear_destination=main2</action>
197 <action function="page">clear_vars</action>
198 </actions>
199 </action>
200 </page>
201
202 <page name="main2">
203 <template name="page"/>
204
205 <text style="text_l">
206 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500207 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100208 </text>
209
210 <text style="text_m">
211 <condition var1="tw_no_cpu_temp" var2="0"/>
212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
213 <text>%tw_version%</text>
214 </text>
215
216 <button style="main_button">
217 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500218 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100219 <actions>
220 <action function="queueclear"/>
221 <action function="set">tw_selectimage=0</action>
222 <action function="page">install</action>
223 </actions>
224 </button>
225
226 <button style="main_button">
227 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <action function="page">wipe</action>
230 </button>
231
232 <button style="main_button">
233 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500234 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100235 <action function="page">backup</action>
236 </button>
237
238 <button style="main_button">
239 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500240 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100241 <action function="page">restore</action>
242 </button>
243
244 <button style="main_button">
245 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500246 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100247 <action function="page">mount</action>
248 </button>
249
250 <button style="main_button">
251 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500252 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100253 <action function="page">settings</action>
254 </button>
255
256 <button style="main_button">
257 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500258 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100259 <action function="page">advanced</action>
260 </button>
261
262 <button style="main_button">
263 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500264 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100265 <action function="page">reboot</action>
266 </button>
267 </page>
268
269 <page name="install">
270 <template name="page"/>
271
272 <text style="text_l">
273 <condition var1="tw_selectimage" var2="0"/>
274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500275 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100276 </text>
277
278 <text style="text_l">
279 <condition var1="tw_selectimage" var2="1"/>
280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500281 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100282 </text>
283
284 <text style="text_m">
285 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500286 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100287 </text>
288
289 <template name="sort_options"/>
290
291 <fileselector>
292 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500293 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100294 <filter folders="1" files="0"/>
295 <path name="tw_zip_location" default="/sdcard"/>
296 <data name="select"/>
297 </fileselector>
298
299 <fileselector>
300 <condition var1="tw_selectimage" var2="0"/>
301 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
302 <text>%tw_zip_location%</text>
303 <filter extn=".zip" folders="0" files="1"/>
304 <path name="tw_zip_location" default="/sdcard"/>
305 <data name="tw_filename"/>
306 <selection name="tw_file"/>
307 </fileselector>
308
309 <fileselector>
310 <condition var1="tw_selectimage" var2="1"/>
311 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
312 <text>%tw_zip_location%</text>
313 <filter extn=".img" folders="0" files="1"/>
314 <path name="tw_zip_location" default="/sdcard"/>
315 <data name="tw_filename"/>
316 <selection name="tw_file"/>
317 </fileselector>
318
319 <button style="main_button_half_width_low">
320 <condition var1="tw_selectimage" var2="0"/>
321 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500322 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100323 <actions>
324 <action function="set">tw_selectimage=1</action>
325 <action function="page">install</action>
326 </actions>
327 </button>
328
329 <button style="main_button_half_width_low">
330 <condition var1="tw_selectimage" var2="1"/>
331 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500332 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100333 <actions>
334 <action function="set">tw_selectimage=0</action>
335 <action function="page">install</action>
336 </actions>
337 </button>
338
339 <button style="main_button_half_width_low">
340 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500341 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100342 <actions>
343 <action function="set">tw_back=install</action>
344 <action function="overlay">select_storage</action>
345 </actions>
346 </button>
347
348 <action>
349 <conditions>
350 <condition var1="tw_selectimage" var2="0"/>
351 <condition var1="tw_filename" op="modified"/>
352 </conditions>
353 <actions>
354 <action function="queuezip"/>
355 <action function="page">flash_confirm</action>
356 </actions>
357 </action>
358
359 <action>
360 <conditions>
361 <condition var1="tw_selectimage" var2="1"/>
362 <condition var1="tw_filename" op="modified"/>
363 </conditions>
364 <action function="page">flashimage_confirm</action>
365 </action>
366
367 <action>
368 <touch key="back"/>
369 <action function="page">main</action>
370 </action>
371
372 <action>
373 <touch key="home"/>
374 <action function="page">main</action>
375 </action>
376 </page>
377
378 <page name="flash_confirm">
379 <template name="page"/>
380
381 <text style="text_l">
382 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500383 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100384 </text>
385
386 <text style="text_m">
387 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100389 </text>
390
391 <text style="text_m_accent">
392 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500393 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100394 </text>
395
396 <text style="text_m_accent">
397 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 </text>
400
401 <text style="text_m">
402 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <text style="text_m_accent">
407 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 </text>
410
411 <text style="text_m">
412 <placement x="%col1_x_left%" y="%row9_y%"/>
413 <text>%tw_zip_location%</text>
414 </text>
415
416 <text style="text_m_accent">
417 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 </text>
420
421 <text style="text_m">
422 <placement x="%col1_x_left%" y="%row12_y%"/>
423 <text>%tw_file%</text>
424 </text>
425
426 <text style="text_m_accent">
427 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 </text>
430
431 <checkbox>
432 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500433 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100434 <data variable="tw_signed_zip_verify"/>
435 </checkbox>
436
437 <checkbox>
438 <condition var1="tw_has_injecttwrp" var2="1"/>
439 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100441 <data variable="tw_inject_after_zip"/>
442 </checkbox>
443
bigbiffa869fc72016-03-01 19:40:36 -0500444 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500445 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500446 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500447 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500448 </checkbox>
449
z31s1g28f0a922015-11-07 18:50:22 +0100450 <button style="main_button_half_width">
451 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500452 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100453 <action function="page">install</action>
454 </button>
455
456 <button style="main_button_half_width">
457 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500458 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100459 <actions>
460 <action function="queueclear"/>
461 <action function="page">install</action>
462 </actions>
463 </button>
464
465 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500466 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100467 <action function="flash">flash_zip</action>
468 </slider>
469
470 <action>
471 <touch key="back"/>
472 <actions>
473 <action function="cancelzip"/>
474 <action function="page">install</action>
475 </actions>
476 </action>
477
478 <action>
479 <touch key="home"/>
480 <action function="page">main</action>
481 </action>
482 </page>
483
484 <page name="flash_zip">
485 <template name="page"/>
486
487 <text style="text_l">
488 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500489 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100490 </text>
491
492 <text style="text_m">
493 <placement x="%col1_x_header%" y="%row4_header_y%"/>
494 <text>%tw_file%</text>
495 </text>
496
497 <template name="console"/>
498
499 <template name="progress_bar"/>
500
501 <action>
502 <condition var1="tw_operation_state" var2="1"/>
503 <action function="page">flash_done</action>
504 </action>
505 </page>
506
507 <page name="flash_done">
508 <template name="page"/>
509
510 <text style="text_l">
511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500512 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100513 </text>
514
515 <text style="text_m_fail">
516 <condition var1="tw_operation_status" op="!=" var2="0"/>
517 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 </text>
520
521 <text style="text_m">
522 <condition var1="tw_operation_status" var2="0"/>
523 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500524 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100525 </text>
526
527 <template name="console"/>
528
529 <button style="main_button_half_width">
530 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500531 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100532 <actions>
533 <action function="set">tw_back=flash_done</action>
534 <action function="set">tw_action=wipe</action>
535 <action function="set">tw_action_param=/cache</action>
536 <action function="set">tw_has_action2=1</action>
537 <action function="set">tw_action2=wipe</action>
538 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500539 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
540 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
541 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
542 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <action function="page">confirm_action</action>
544 </actions>
545 </button>
546
547 <button style="main_button_half_width">
548 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500549 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100550 <actions>
551 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500552 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100553 </actions>
554 </button>
555
556 <action>
557 <touch key="back"/>
558 <actions>
559 <action function="set">tw_clear_destination=install</action>
560 <action function="page">clear_vars</action>
561 </actions>
562 </action>
563
564 <action>
565 <touch key="home"/>
566 <actions>
567 <action function="set">tw_clear_destination=main2</action>
568 <action function="page">clear_vars</action>
569 </actions>
570 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500571
572 <action>
573 <conditions>
574 <condition var1="tw_install_reboot" var2="1"/>
575 <condition var1="tw_operation_status" var2="0"/>
576 <condition var1="tw_reboot_system" var2="1"/>
577 </conditions>
578 <actions>
579 <action function="set">tw_sleep=%tw_sleep_total%</action>
580 <action function="page">flash_sleep_and_reboot</action>
581 </actions>
582 </action>
583 </page>
584
585 <page name="flash_sleep_and_reboot">
586 <template name="page"/>
587
588 <text style="text_l">
589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
590 <text>{@install_zip_hdr=Install Zip}</text>
591 </text>
592
593 <text style="text_m">
594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
595 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
596 </text>
597
598 <template name="console"/>
599
600 <template name="progress_bar"/>
601
602 <button style="main_button_half_width">
603 <condition var1="tw_sleep" op="&gt;" var2="0"/>
604 <placement x="%center_x%" y="%row15a_y%"/>
605 <text>{@cancel_btn=Cancel}</text>
606 <actions>
607 <action function="set">tw_install_reboot=0</action>
608 <action function="page">flash_done</action>
609 </actions>
610 </button>
611
612 <action>
613 <conditions>
614 <condition var1="tw_sleep" var2="tw_sleep_total"/>
615 <condition var1="tw_install_reboot" var2="1"/>
616 </conditions>
617 <action function="sleepcounter">%tw_sleep_total%</action>
618 </action>
619
620 <action>
621 <conditions>
622 <condition var1="tw_sleep" var2="0"/>
623 <condition var1="tw_install_reboot" var2="1"/>
624 </conditions>
625 <actions>
626 <action function="sleep">50000</action>
627 <action function="set">tw_back=main2</action>
628 <action function="page">reboot_system_routine</action>
629 </actions>
630 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100631 </page>
632
633 <page name="flashimage_confirm">
634 <template name="page"/>
635
636 <text style="text_l">
637 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <text style="text_m">
642 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500643 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100644 </text>
645
646 <text style="text_m_accent">
647 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%col1_x_left%" y="%row9_y%"/>
653 <text>%tw_zip_location%</text>
654 </text>
655
656 <text style="text_m_accent">
657 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <text style="text_m">
662 <placement x="%col1_x_left%" y="%row12_y%"/>
663 <text>%tw_file%</text>
664 </text>
665
666 <partitionlist>
667 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
668 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500669 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100670 <data name="tw_flash_partition"/>
671 <listtype name="flashimg"/>
672 </partitionlist>
673
674 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500675 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100676 <actions>
677 <action function="set">tw_back=flashimage_confirm</action>
678 <action function="set">tw_action=flashimage</action>
679 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500680 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100681 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100683 <action function="page">action_page</action>
684 </actions>
685 <action function="flashimage"/>
686 </slider>
687
688 <action>
689 <touch key="back"/>
690 <actions>
691 <action function="set">tw_clear_destination=install</action>
692 <action function="page">clear_vars</action>
693 </actions>
694 </action>
695
696 <action>
697 <touch key="home"/>
698 <actions>
699 <action function="set">tw_clear_destination=main2</action>
700 <action function="page">clear_vars</action>
701 </actions>
702 </action>
703 </page>
704
705 <page name="clear_vars">
706 <action>
707 <action function="set">tw_operation_state=0</action>
708 <action function="set">tw_text1=</action>
709 <action function="set">tw_text2=</action>
710 <action function="set">tw_text3=</action>
711 <action function="set">tw_text4=</action>
712 <action function="set">tw_action_text1=</action>
713 <action function="set">tw_action_text2=</action>
714 <action function="set">tw_action_param=</action>
715 <action function="set">tw_has_action2=0</action>
716 <action function="set">tw_action2=</action>
717 <action function="set">tw_action2_param=</action>
718 <action function="set">tw_has_cancel=0</action>
719 <action function="set">tw_cancel_action=</action>
720 <action function="set">tw_cancel_param=</action>
721 <action function="set">tw_show_exclamation=0</action>
722 <action function="set">tw_show_reboot=0</action>
723 <action function="page">%tw_clear_destination%</action>
724 </action>
725 </page>
726
Matt Mower908dd252016-05-25 02:26:50 -0500727 <page name="reboot_system_routine">
728 <action>
729 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500730 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500731 <action function="set">tw_has_action2=0</action>
732 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
733 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
734 <action function="set">tw_text3=</action>
735 <action function="set">tw_text4=</action>
736 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
737 <action function="set">tw_action_text2=</action>
738 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
739 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
740 <action function="page">rebootcheck</action>
741 </action>
742 </page>
743
z31s1g28f0a922015-11-07 18:50:22 +0100744 <page name="confirm_action">
745 <template name="page"/>
746
747 <text style="text_l">
748 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500749 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100750 </text>
751
752 <text style="text_m">
753 <placement x="%col1_x_header%" y="%row4_header_y%"/>
754 <text/>
755 </text>
756
757 <text style="text_m_accent">
758 <placement x="%center_x%" y="%row2_y%" placement="5"/>
759 <text>%tw_text1%</text>
760 </text>
761
762 <text style="text_m_accent">
763 <placement x="%center_x%" y="%row3_y%" placement="5"/>
764 <text>%tw_text2%</text>
765 </text>
766
767 <text style="text_m">
768 <placement x="%center_x%" y="%row4_y%" placement="5"/>
769 <text>%tw_text3%</text>
770 </text>
771
772 <text style="text_m">
773 <placement x="%center_x%" y="%row5_y%" placement="5"/>
774 <text>%tw_text4%</text>
775 </text>
776
777 <text style="text_m">
778 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500779 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100780 </text>
781
782 <slider style="slider_centered">
783 <text>%tw_slider_text%</text>
784 <action function="page">action_page</action>
785 </slider>
786
787 <action>
788 <touch key="back"/>
789 <actions>
790 <action function="set">tw_clear_destination=%tw_back%</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </action>
794
795 <action>
796 <touch key="home"/>
797 <action function="page">main</action>
798 </action>
799 </page>
800
801 <page name="action_page">
802 <template name="page"/>
803
804 <text style="text_l">
805 <placement x="%col1_x_header%" y="%row3_header_y%"/>
806 <text>%tw_action_text1%</text>
807 </text>
808
809 <text style="text_m">
810 <placement x="%col1_x_header%" y="%row4_header_y%"/>
811 <text>%tw_action_text2%</text>
812 </text>
813
814 <template name="console"/>
815
816 <template name="progress_bar"/>
817
818 <button style="main_button_half_width">
819 <condition var1="tw_has_cancel" var2="1"/>
820 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500821 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100822 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
823 </button>
824
825 <action>
826 <condition var1="tw_operation_state" var2="1"/>
827 <actions>
828 <action function="page">action_complete</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="0"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 </actions>
837 </action>
838
839 <action>
840 <condition var1="tw_has_action2" var2="1"/>
841 <actions>
842 <action function="%tw_action%">%tw_action_param%</action>
843 <action function="%tw_action2%">%tw_action2_param%</action>
844 </actions>
845 </action>
846 </page>
847
848 <page name="singleaction_page">
849 <template name="page"/>
850
851 <text style="text_l">
852 <placement x="%col1_x_header%" y="%row3_header_y%"/>
853 <text>%tw_action_text1%</text>
854 </text>
855
856 <text style="text_m">
857 <placement x="%col1_x_header%" y="%row4_header_y%"/>
858 <text>%tw_action_text2%</text>
859 </text>
860
861 <template name="console"/>
862
863 <template name="progress_bar"/>
864
865 <action>
866 <condition var1="tw_operation_state" var2="1"/>
867 <actions>
868 <action function="set">tw_page_done=1</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="0"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 </actions>
877 </action>
878
879 <action>
880 <condition var1="tw_has_action2" var2="1"/>
881 <actions>
882 <action function="%tw_action%">%tw_action_param%</action>
883 <action function="%tw_action2%">%tw_action2_param%</action>
884 </actions>
885 </action>
886 </page>
887
888 <page name="action_complete">
889 <template name="page"/>
890
891 <text style="text_l">
892 <placement x="%col1_x_header%" y="%row3_header_y%"/>
893 <text>%tw_complete_text1%</text>
894 </text>
895
896 <text style="text_m_fail">
897 <condition var1="tw_operation_status" op="!=" var2="0"/>
898 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <text style="text_m">
903 <condition var1="tw_operation_status" var2="0"/>
904 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 </text>
907
908 <template name="console"/>
909
910 <button style="main_button_half_width">
911 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500912 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100913 <actions>
914 <action function="set">tw_clear_destination=%tw_back%</action>
915 <action function="page">clear_vars</action>
916 </actions>
917 </button>
918
919 <button style="main_button_half_width">
920 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500921 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100922 <actions>
923 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500924 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 </actions>
926 </button>
927
928 <action>
929 <touch key="home"/>
930 <actions>
931 <action function="set">tw_clear_destination=main2</action>
932 <action function="page">clear_vars</action>
933 </actions>
934 </action>
935
936 <action>
937 <touch key="back"/>
938 <actions>
939 <action function="set">tw_clear_destination=%tw_back%</action>
940 <action function="page">clear_vars</action>
941 </actions>
942 </action>
943 </page>
944
945 <page name="filecheck">
946 <action>
947 <action function="fileexists">%tw_filecheck%</action>
948 </action>
949
950 <action>
951 <conditions>
952 <condition var1="tw_operation_state" var2="1"/>
953 <condition var1="tw_operation_status" var2="0"/>
954 </conditions>
955 <actions>
956 <action function="set">tw_fileexists=1</action>
957 <action function="page">%tw_existpage%</action>
958 </actions>
959 </action>
960
961 <action>
962 <conditions>
963 <condition var1="tw_operation_state" var2="1"/>
964 <condition var1="tw_operation_status" var2="1"/>
965 </conditions>
966 <actions>
967 <action function="set">tw_fileexists=0</action>
968 <action function="page">%tw_notexistpage%</action>
969 </actions>
970 </action>
971 </page>
972
973 <page name="rebootcheck">
974 <action>
975 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600976 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100977 </action>
978
979 <action>
980 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
981 <action function="page">confirm_action</action>
982 </action>
983 </page>
984
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600985 <page name="appcheck">
986 <action>
987 <condition var1="tw_app_prompt" var2="1"/>
988 <action function="checkforapp"></action>
989 </action>
990
991 <action>
992 <condition var1="tw_app_prompt" op="!=" var2="1"/>
993 <action function="reboot">%tw_reboot_param%</action>
994 </action>
995
996 <action>
997 <condition var1="tw_app_install_status" var2="1"/>
998 <action function="page">rebootapp</action>
999 </action>
1000
1001 <action>
1002 <condition var1="tw_app_install_status" var2="2"/>
1003 <action function="reboot">%tw_reboot_param%</action>
1004 </action>
1005 </page>
1006
z31s1g28f0a922015-11-07 18:50:22 +01001007 <page name="wipe">
1008 <template name="page"/>
1009
1010 <text style="text_l">
1011 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001012 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001013 </text>
1014
1015 <text style="text_m">
1016 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001017 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001018 </text>
1019
1020 <text style="text_m_accent">
1021 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <text style="text_m_accent">
1026 <condition var1="tw_has_data_media" var2="1"/>
1027 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001028 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001029 </text>
1030
1031 <text style="text_m_accent">
1032 <conditions>
1033 <condition var1="tw_has_android_secure" var2="1"/>
1034 <condition var1="fileexists" var2="/and-sec"/>
1035 </conditions>
1036 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001037 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001038 </text>
1039
1040 <text style="text_m_accent">
1041 <condition var1="tw_has_sdext_partition" var2="1"/>
1042 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001044 </text>
1045
1046 <text style="text_m">
1047 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001048 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001049 </text>
1050
1051 <text style="text_m">
1052 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001054 </text>
1055
1056 <text style="text_m">
1057 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001058 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001059 </text>
1060
1061 <button style="main_button_half_width">
1062 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 <actions>
1065 <action function="set">partitionlisterror=0</action>
1066 <action function="page">advancedwipe</action>
1067 </actions>
1068 </button>
1069
1070 <button style="main_button_half_width">
1071 <condition var1="tw_has_data_media" var2="1"/>
1072 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 <action function="page">formatdata</action>
1075 </button>
1076
1077 <button style="main_button_half_width">
1078 <conditions>
1079 <condition var1="tw_is_encrypted" var2="1"/>
1080 <condition var1="tw_has_data_media" var2="0"/>
1081 </conditions>
1082 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 <actions>
1085 <action function="set">tw_back=wipe</action>
1086 <action function="set">tw_action=wipe</action>
1087 <action function="set">tw_action_param=DATAMEDIA</action>
1088 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001090 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001091 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1092 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1093 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001094 <action function="page">confirm_action</action>
1095 </actions>
1096 </button>
1097
1098 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 <actions>
1101 <action function="set">tw_back=wipe</action>
1102 <action function="set">tw_action=wipe</action>
1103 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1105 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001106 <action function="page">action_page</action>
1107 </actions>
1108 </slider>
1109
1110 <action>
1111 <touch key="back"/>
1112 <action function="page">main</action>
1113 </action>
1114
1115 <action>
1116 <touch key="home"/>
1117 <action function="page">main</action>
1118 </action>
1119 </page>
1120
1121 <page name="advancedwipe">
1122 <template name="page"/>
1123
1124 <action>
1125 <action function="set">tw_wipe_list=</action>
1126 </action>
1127
1128 <text style="text_l">
1129 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <text style="text_m">
1134 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001136 </text>
1137
1138 <partitionlist>
1139 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <data name="tw_wipe_list"/>
1142 <listtype name="wipe"/>
1143 </partitionlist>
1144
1145 <text style="text_m_fail">
1146 <condition var1="partitionlisterror" var2="1"/>
1147 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001148 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001149 </text>
1150
1151 <button style="main_button_m">
1152 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001153 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001154 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001155 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001156 <action function="page">checkpartitionlist</action>
1157 </actions>
1158 </button>
1159
1160 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 <actions>
1163 <action function="set">tw_back=advancedwipe</action>
1164 <action function="set">tw_action=wipe</action>
1165 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1167 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1168 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001169 <action function="page">action_page</action>
1170 </actions>
1171 </slider>
1172
1173 <action>
1174 <touch key="home"/>
1175 <action function="page">main</action>
1176 </action>
1177
1178 <action>
1179 <touch key="back"/>
1180 <action function="page">wipe</action>
1181 </action>
1182 </page>
1183
1184 <page name="formatdata">
1185 <template name="page"/>
1186
1187 <text style="text_l">
1188 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001189 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001190 </text>
1191
1192 <text style="text_m">
1193 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 </text>
1196
1197 <text style="text_m_fail">
1198 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001199 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001200 </text>
1201
1202 <text style="text_m_fail">
1203 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001204 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001205 </text>
1206
Ethan Yonker66a19492015-12-10 10:19:45 -06001207 <text style="text_m_fail">
1208 <condition var1="tw_has_adopted_storage" var2="1"/>
1209 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1210 <text>{@format_data_adopted=Including Adopted Storage}</text>
1211 </text>
1212
z31s1g28f0a922015-11-07 18:50:22 +01001213 <text style="text_m">
1214 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001215 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001216 </text>
1217
1218 <text style="text_m">
1219 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001220 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001221 </text>
1222
1223 <input>
1224 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1225 <text>%tw_confirm_formatdata%</text>
1226 <data name="tw_confirm_formatdata"/>
1227 <restrict minlen="3" maxlen="3" allow="yes"/>
1228 <action function="page">formatdata_confirm</action>
1229 </input>
1230
1231 <fill color="%accent_color%">
1232 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1233 </fill>
1234
1235 <template name="keyboardtemplate"/>
1236
1237 <action>
1238 <touch key="home"/>
1239 <action function="page">main</action>
1240 </action>
1241
1242 <action>
1243 <touch key="back"/>
1244 <action function="page">wipe</action>
1245 </action>
1246 </page>
1247
1248 <page name="formatdata_confirm">
1249 <action>
1250 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1251 <actions>
1252 <action function="set">tw_back=formatdata</action>
1253 <action function="set">tw_action=wipe</action>
1254 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1256 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001257 <action function="page">action_page</action>
1258 </actions>
1259 </action>
1260
1261 <action>
1262 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1263 <action function="page">formatdata</action>
1264 </action>
1265 </page>
1266
1267 <page name="checkpartitionlist">
1268 <action>
1269 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1270 <actions>
1271 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001272 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <action function="page">partitionoptions</action>
1274 </actions>
1275 </action>
1276
1277 <action>
1278 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1279 <actions>
1280 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="page">advancedwipe</action>
1282 </actions>
1283 </action>
1284 </page>
1285
1286 <page name="partitionoptions">
1287 <template name="page"/>
1288
1289 <text style="text_l">
1290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001291 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001292 </text>
1293
1294 <text style="text_m">
1295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <text style="text_m_accent">
1300 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001301 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001302 </text>
1303
1304 <text style="text_m_accent">
1305 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <condition var1="tw_partition_is_present" var2="1"/>
1311 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <condition var1="tw_partition_is_present" var2="0"/>
1317 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001319 </text>
1320
1321 <text style="text_m">
1322 <condition var1="tw_partition_removable" var2="1"/>
1323 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <text style="text_m">
1328 <condition var1="tw_partition_removable" var2="0"/>
1329 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 </text>
1332
1333 <text style="text_m">
1334 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001335 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001336 </text>
1337
1338 <text style="text_m">
1339 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 </text>
1342
1343 <text style="text_m">
1344 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001346 </text>
1347
1348 <text style="text_m">
1349 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 </text>
1352
1353 <button style="main_button_half_width">
1354 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1355 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001357 <actions>
1358 <action function="set">tw_back=partitionoptions</action>
1359 <action function="set">tw_action=resize</action>
1360 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1361 <action function="set">tw_has_action2=1</action>
1362 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001363 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001365 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1367 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1368 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001369 <action function="page">confirm_action</action>
1370 </actions>
1371 </button>
1372
1373 <button style="main_button_half_width">
1374 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1375 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001377 <actions>
1378 <action function="set">tw_back=partitionoptions</action>
1379 <action function="set">tw_action=repair</action>
1380 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1381 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001383 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1385 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1386 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001387 <action function="page">confirm_action</action>
1388 </actions>
1389 </button>
1390
1391 <button style="main_button_half_width">
1392 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 <action function="page">selectfilesystem</action>
1395 </button>
1396
1397 <action>
1398 <touch key="home"/>
1399 <action function="page">main</action>
1400 </action>
1401
1402 <action>
1403 <touch key="back"/>
1404 <action function="page">advancedwipe</action>
1405 </action>
1406 </page>
1407
1408 <page name="refreshfilesystem">
1409 <action>
1410 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1411 <actions>
1412 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001413 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <action function="page">selectfilesystem</action>
1415 </actions>
1416 </action>
1417
1418 <action>
1419 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1420 <actions>
1421 <action function="set">partitionlisterror=1</action>
1422 <action function="set">tw_wipe_list=</action>
1423 <action function="page">advancedwipe</action>
1424 </actions>
1425 </action>
1426 </page>
1427
1428 <page name="selectfilesystem">
1429 <template name="page"/>
1430
1431 <text style="text_l">
1432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001433 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001434 </text>
1435
1436 <text style="text_m">
1437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001439 </text>
1440
1441 <text style="text_m_accent">
1442 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001444 </text>
1445
1446 <text style="text_m_accent">
1447 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001448 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001449 </text>
1450
1451 <text style="text_m_fail">
1452 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001454 </text>
1455
1456 <text style="text_m_fail">
1457 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <button style="main_button_half_width">
1462 <condition var1="tw_partition_ext" op="=" var2="1"/>
1463 <placement x="%col1_x_left%" y="%row11_y%"/>
1464 <text>EXT2</text>
1465 <actions>
1466 <action function="set">tw_back=refreshfilesystem</action>
1467 <action function="set">tw_action=changefilesystem</action>
1468 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1469 <action function="set">tw_action_new_file_system=ext2</action>
1470 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1472 <action function="set">tw_text2=EXT2</action>
1473 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1474 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1475 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001476 <action function="page">confirm_action</action>
1477 </actions>
1478 </button>
1479
1480 <button style="main_button_half_width">
1481 <condition var1="tw_partition_ext" op="=" var2="1"/>
1482 <placement x="%col2_x_left%" y="%row11_y%"/>
1483 <text>EXT3</text>
1484 <actions>
1485 <action function="set">tw_back=refreshfilesystem</action>
1486 <action function="set">tw_action=changefilesystem</action>
1487 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1488 <action function="set">tw_action_new_file_system=ext3</action>
1489 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1491 <action function="set">tw_text2=EXT3</action>
1492 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1493 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1494 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001495 <action function="page">confirm_action</action>
1496 </actions>
1497 </button>
1498
1499 <button style="main_button_half_width">
1500 <condition var1="tw_partition_ext" op="=" var2="1"/>
1501 <placement x="%center_x%" y="%row11_y%"/>
1502 <text>EXT4</text>
1503 <actions>
1504 <action function="set">tw_back=refreshfilesystem</action>
1505 <action function="set">tw_action=changefilesystem</action>
1506 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1507 <action function="set">tw_action_new_file_system=ext4</action>
1508 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1510 <action function="set">tw_text2=EXT4</action>
1511 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1512 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1513 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001514 <action function="page">confirm_action</action>
1515 </actions>
1516 </button>
1517
1518 <button style="main_button_half_width">
1519 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1520 <placement x="%col2_x_right%" y="%row11_y%"/>
1521 <text>FAT</text>
1522 <actions>
1523 <action function="set">tw_back=refreshfilesystem</action>
1524 <action function="set">tw_action=changefilesystem</action>
1525 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1526 <action function="set">tw_action_new_file_system=vfat</action>
1527 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1529 <action function="set">tw_text2=FAT</action>
1530 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1531 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1532 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <action function="page">confirm_action</action>
1534 </actions>
1535 </button>
1536
1537 <button style="main_button_half_width">
1538 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1539 <placement x="%col2_x_left%" y="%row15a_y%"/>
1540 <text>exFAT</text>
1541 <actions>
1542 <action function="set">tw_back=refreshfilesystem</action>
1543 <action function="set">tw_action=changefilesystem</action>
1544 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1545 <action function="set">tw_action_new_file_system=exfat</action>
1546 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1548 <action function="set">tw_text2=exFAT</action>
1549 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1550 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1551 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <action function="page">confirm_action</action>
1553 </actions>
1554 </button>
1555
1556 <button style="main_button_half_width">
1557 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1558 <placement x="%center_x%" y="%row15a_y%"/>
1559 <text>F2FS</text>
1560 <actions>
1561 <action function="set">tw_back=refreshfilesystem</action>
1562 <action function="set">tw_action=changefilesystem</action>
1563 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1564 <action function="set">tw_action_new_file_system=f2fs</action>
1565 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001566 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1567 <action function="set">tw_text2=F2FS</action>
1568 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1569 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1570 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001571 <action function="page">confirm_action</action>
1572 </actions>
1573 </button>
1574
1575 <action>
1576 <touch key="home"/>
1577 <action function="page">main</action>
1578 </action>
1579
1580 <action>
1581 <touch key="back"/>
1582 <action function="page">partitionoptions</action>
1583 </action>
1584 </page>
1585
1586 <page name="backup">
1587 <template name="page"/>
1588
1589 <text style="text_l">
1590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001591 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001592 </text>
1593
1594 <text style="text_m">
1595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001597 </text>
1598
1599 <text style="text_m_accent">
1600 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 </text>
1603
1604 <text style="text_m">
1605 <placement x="%col1_x_left%" y="%row3_y%"/>
1606 <text>%tw_backup_name%</text>
1607 </text>
1608
1609 <fill color="%fileselector_linecolor%">
1610 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1611 </fill>
1612
1613 <button>
1614 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1615 <fill color="%transparent%"/>
1616 <actions>
1617 <action function="set">tw_fileexists=0</action>
1618 <action function="page">backupname1</action>
1619 </actions>
1620 </button>
1621
1622 <partitionlist>
1623 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001624 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <data name="tw_backup_list"/>
1626 <listtype name="backup"/>
1627 </partitionlist>
1628
1629 <text style="text_m_accent">
1630 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <text style="text_m">
1635 <conditions>
1636 <condition var1="tw_include_encrypted_backup" var2="1"/>
1637 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001638 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001639 </conditions>
1640 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001641 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001642 </text>
1643
1644 <text style="text_m">
1645 <conditions>
1646 <condition var1="tw_include_encrypted_backup" var2="1"/>
1647 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001648 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </conditions>
1650 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <fill color="%fileselector_linecolor%">
1655 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1656 </fill>
1657
1658 <button>
1659 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1660 <fill color="%transparent%"/>
1661 <actions>
1662 <action function="set">tw_password_not_match=0</action>
1663 <action function="page">backupencryption</action>
1664 </actions>
1665 </button>
1666
1667 <text style="text_m_accent">
1668 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <checkbox>
1673 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 <data variable="tw_use_compression"/>
1676 </checkbox>
1677
1678 <checkbox>
1679 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001680 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1681 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </checkbox>
1683
1684 <checkbox>
1685 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001686 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <data variable="tw_disable_free_space"/>
1688 </checkbox>
1689
1690 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001691 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001692 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 <actions>
1695 <action function="set">tw_back=backup</action>
1696 <action function="overlay">select_storage</action>
1697 </actions>
1698 </button>
1699
1700 <button style="main_button_half_width">
1701 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001702 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001703 <actions>
1704 <action function="refreshsizes"/>
1705 <action function="page">backup</action>
1706 </actions>
1707 </button>
1708
1709 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 <action function="page">backup_run</action>
1712 </slider>
1713
1714 <action>
1715 <touch key="home"/>
1716 <action function="page">main</action>
1717 </action>
1718
1719 <action>
1720 <touch key="back"/>
1721 <action function="page">main</action>
1722 </action>
1723 </page>
1724
1725 <page name="backupname1">
1726 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001727 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001728 <action function="generatebackupname"/>
1729 </action>
1730
1731 <action>
1732 <action function="page">backupname2</action>
1733 </action>
1734 </page>
1735
1736 <page name="backupname2">
1737 <template name="page"/>
1738
1739 <text style="text_l">
1740 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001741 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001742 </text>
1743
1744 <text style="text_m">
1745 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001746 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001747 </text>
1748
1749 <text style="text_m_accent">
1750 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001751 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001752 </text>
1753
1754 <input>
1755 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1756 <text>%tw_backup_name%</text>
1757 <data name="tw_backup_name"/>
1758 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1759 <actions>
1760 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1761 <action function="set">tw_existpage=backupname2</action>
1762 <action function="set">tw_notexistpage=backup</action>
1763 <action function="page">filecheck</action>
1764 </actions>
1765 </input>
1766
1767 <fill color="%accent_color%">
1768 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1769 </fill>
1770
1771 <fill color="%text_fail_color%">
1772 <condition var1="tw_fileexists" var2="1"/>
1773 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1774 </fill>
1775
1776 <text style="text_m_fail">
1777 <condition var1="tw_fileexists" var2="1"/>
1778 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001780 </text>
1781
1782 <button style="main_button_half_width_low">
1783 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001784 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <action function="page">backup</action>
1788 </actions>
1789 </button>
1790
1791 <button style="main_button_half_width_low">
1792 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001793 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001794 <action function="appenddatetobackupname"/>
1795 </button>
1796
1797 <template name="keyboardtemplate"/>
1798
1799 <action>
1800 <touch key="home"/>
1801 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001802 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001803 <action function="page">main</action>
1804 </actions>
1805 </action>
1806
1807 <action>
1808 <touch key="back"/>
1809 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <action function="page">backup</action>
1812 </actions>
1813 </action>
1814 </page>
1815
1816 <page name="backupencryption">
1817 <template name="page"/>
1818
1819 <text style="text_l">
1820 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001822 </text>
1823
1824 <text style="text_m">
1825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 </text>
1828
1829 <text style="text_m_accent">
1830 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <input>
1835 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1836 <text>%tw_backup_encrypt_display%</text>
1837 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1838 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1839 <action function="page">backupencryption2</action>
1840 </input>
1841
1842 <fill color="%accent_color%">
1843 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1844 </fill>
1845
1846 <fill color="%text_fail_color%">
1847 <condition var1="tw_password_not_match" var2="1"/>
1848 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1849 </fill>
1850
1851 <text style="text_m_fail">
1852 <condition var1="tw_password_not_match" var2="1"/>
1853 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001854 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001855 </text>
1856
1857 <button style="main_button_half_width_low">
1858 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001859 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001860 <actions>
1861 <action function="set">tw_encrypt_backup=0</action>
1862 <action function="set">tw_backup_password=</action>
1863 <action function="set">tw_backup_password2=</action>
1864 <action function="set">tw_backup_encrypt_display=</action>
1865 <action function="set">tw_backup_encrypt_display2=</action>
1866 <action function="page">backup</action>
1867 </actions>
1868 </button>
1869
1870 <template name="keyboardtemplate"/>
1871
1872 <action>
1873 <touch key="home"/>
1874 <action function="page">main</action>
1875 </action>
1876
1877 <action>
1878 <touch key="back"/>
1879 <action function="page">backup</action>
1880 </action>
1881 </page>
1882
1883 <page name="backupencryption2">
1884 <template name="page"/>
1885
1886 <text style="text_l">
1887 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001889 </text>
1890
1891 <text style="text_m">
1892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001894 </text>
1895
1896 <text style="text_m_accent">
1897 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001899 </text>
1900
1901 <input>
1902 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1903 <text>%tw_backup_encrypt_display2%</text>
1904 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1905 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1906 <action function="page">checkbackuppassword</action>
1907 </input>
1908
1909 <fill color="%accent_color%">
1910 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1911 </fill>
1912
1913 <text style="text_m">
1914 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <button style="main_button_half_width_low">
1919 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001921 <actions>
1922 <action function="set">tw_encrypt_backup=0</action>
1923 <action function="set">tw_backup_password=</action>
1924 <action function="set">tw_backup_password2=</action>
1925 <action function="set">tw_backup_encrypt_display=</action>
1926 <action function="set">tw_backup_encrypt_display2=</action>
1927 <action function="page">backup</action>
1928 </actions>
1929 </button>
1930
1931 <template name="keyboardtemplate"/>
1932
1933 <action>
1934 <touch key="home"/>
1935 <action function="page">main</action>
1936 </action>
1937
1938 <action>
1939 <touch key="back"/>
1940 <action function="page">backup</action>
1941 </action>
1942 </page>
1943
1944 <page name="checkbackuppassword">
1945 <action>
1946 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1947 <actions>
1948 <action function="set">tw_encrypt_backup=1</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </action>
1952
1953 <action>
1954 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1955 <actions>
1956 <action function="set">tw_encrypt_backup=0</action>
1957 <action function="set">tw_password_not_match=1</action>
1958 <action function="set">tw_backup_password=</action>
1959 <action function="set">tw_backup_password2=</action>
1960 <action function="set">tw_backup_encrypt_display=</action>
1961 <action function="set">tw_backup_encrypt_display2=</action>
1962 <action function="page">backupencryption</action>
1963 </actions>
1964 </action>
1965 </page>
1966
1967 <page name="backup_run">
1968 <template name="page"/>
1969
1970 <text style="text_l">
1971 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1972 <text>%tw_operation%</text>
1973 </text>
1974
1975 <text style="text_m">
1976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1977 <text>%tw_partition% Partition</text>
1978 </text>
1979
1980 <template name="console"/>
1981
1982 <template name="progress_bar"/>
1983
1984 <text style="text_m_accent">
1985 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001986 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001987 </text>
1988
1989 <text style="text_m">
1990 <placement x="%progress_text_x%" y="%row17_y%"/>
1991 <text>%tw_file_progress%</text>
1992 </text>
1993
1994 <text style="text_m">
1995 <placement x="%progress_text_x%" y="%row18_y%"/>
1996 <text>%tw_size_progress%</text>
1997 </text>
1998
1999 <button style="main_button_half_width">
2000 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002001 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002002 <action function="cancelbackup"/>
2003 </button>
2004
2005 <action>
2006 <action function="nandroid">backup</action>
2007 </action>
2008
2009 <action>
2010 <condition var1="tw_operation_state" var2="1"/>
2011 <condition var1="tw_cancel_backup" var2="0"/>
2012 <actions>
2013 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002015 <action function="set">tw_show_reboot=1</action>
2016 <action function="page">action_complete</action>
2017 </actions>
2018 </action>
2019
2020 <action>
2021 <condition var1="tw_operation_state" var2="1"/>
2022 <condition var1="tw_cancel_backup" var2="1"/>
2023 <actions>
2024 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002025 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002026 <action function="set">tw_show_reboot=1</action>
2027 <action function="page">action_complete</action>
2028 </actions>
2029 </action>
2030 </page>
2031
2032 <page name="restore">
2033 <template name="page"/>
2034
2035 <text style="text_l">
2036 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002037 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002038 </text>
2039
2040 <text style="text_m">
2041 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002042 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002043 </text>
2044
2045 <template name="sort_options"/>
2046
2047 <fileselector>
2048 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002049 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002050 <filter folders="1" files="0" nav="0"/>
2051 <path name="tw_backups_folder"/>
2052 <data name="tw_restore" default=""/>
2053 <selection name="tw_restore_name"/>
2054 </fileselector>
2055
2056 <button style="main_button_half_width_low">
2057 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 <actions>
2060 <action function="set">tw_back=restore</action>
2061 <action function="overlay">select_storage</action>
2062 </actions>
2063 </button>
2064
2065 <action>
2066 <condition var1="tw_restore" op="modified"/>
2067 <actions>
2068 <action function="readBackup"/>
2069 <action function="page">restore_read</action>
2070 </actions>
2071 </action>
2072
2073 <action>
2074 <touch key="home"/>
2075 <action function="page">main</action>
2076 </action>
2077
2078 <action>
2079 <touch key="back"/>
2080 <action function="page">main</action>
2081 </action>
2082 </page>
2083
2084 <page name="restore_read">
2085 <action>
2086 <condition var1="tw_restore_encrypted" var2="1"/>
2087 <actions>
2088 <action function="set">tw_password_fail=0</action>
2089 <action function="page">restore_decrypt</action>
2090 </actions>
2091 </action>
2092
2093 <action>
2094 <condition var1="tw_restore_encrypted" var2="0"/>
2095 <actions>
2096 <action function="page">restore_select</action>
2097 </actions>
2098 </action>
2099 </page>
2100
2101 <page name="restore_decrypt">
2102 <template name="page"/>
2103
2104 <text style="text_l">
2105 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002107 </text>
2108
2109 <text style="text_m">
2110 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002111 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002112 </text>
2113
2114 <text style="text_m_accent">
2115 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002117 </text>
2118
2119 <input>
2120 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2121 <text>%tw_restore_display%</text>
2122 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2123 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2124 <action function="page">try_restore_decrypt</action>
2125 </input>
2126
2127 <fill color="%accent_color%">
2128 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2129 </fill>
2130
2131 <fill color="%text_fail_color%">
2132 <condition var1="tw_password_fail" var2="1"/>
2133 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2134 </fill>
2135
2136 <text style="text_m_fail">
2137 <condition var1="tw_password_fail" var2="1"/>
2138 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <button style="main_button_half_width_low">
2143 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002144 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002145 <actions>
2146 <action function="set">tw_page_done=1</action>
2147 <action function="page">restore</action>
2148 </actions>
2149 </button>
2150
2151 <button style="main_button_half_width_low">
2152 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002153 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002154 <actions>
2155 <action function="set">tw_back=restore</action>
2156 <action function="set">tw_action=cmd</action>
2157 <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 -05002158 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2159 <action function="set">tw_text2=%tw_restore_name%</action>
2160 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2161 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2162 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2163 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002164 <action function="page">confirm_action</action>
2165 </actions>
2166 </button>
2167
2168 <template name="keyboardtemplate"/>
2169
2170 <action>
2171 <touch key="home"/>
2172 <action function="page">main</action>
2173 </action>
2174
2175 <action>
2176 <touch key="back"/>
2177 <action function="page">restore</action>
2178 </action>
2179 </page>
2180
2181 <page name="try_restore_decrypt">
2182 <template name="page"/>
2183
2184 <text style="text_l">
2185 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 </text>
2188
2189 <text style="text_m">
2190 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002191 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002192 </text>
2193
2194 <template name="console"/>
2195
2196 <template name="progress_bar"/>
2197
2198 <action>
2199 <action function="decrypt_backup"/>
2200 </action>
2201
2202 <action>
2203 <conditions>
2204 <condition var1="tw_operation_state" var2="1"/>
2205 <condition var1="tw_operation_status" op="!=" var2="0"/>
2206 </conditions>
2207 <actions>
2208 <action function="set">tw_password_fail=1</action>
2209 <action function="page">restore_decrypt</action>
2210 </actions>
2211 </action>
2212
2213 <action>
2214 <conditions>
2215 <condition var1="tw_operation_state" var2="1"/>
2216 <condition var1="tw_operation_status" op="=" var2="0"/>
2217 </conditions>
2218 <actions>
2219 <action function="set">tw_page_done=1</action>
2220 <action function="page">restore_select</action>
2221 </actions>
2222 </action>
2223 </page>
2224
2225 <page name="restore_select">
2226 <template name="page"/>
2227
2228 <text style="text_l">
2229 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <text style="text_m">
2234 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002235 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002236 </text>
2237
2238 <text style="text_m_accent">
2239 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002240 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002241 </text>
2242
2243 <text style="text_m">
2244 <placement x="%col1_x_left%" y="%row3_y%"/>
2245 <text>%tw_restore_name%</text>
2246 </text>
2247
2248 <fill color="%fileselector_linecolor%">
2249 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2250 </fill>
2251
2252 <button>
2253 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2254 <fill color="%transparent%"/>
2255 <actions>
2256 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2257 <action function="set">tw_fileexists=0</action>
2258 <action function="page">renamebackup</action>
2259 </actions>
2260 </button>
2261
2262 <partitionlist>
2263 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2266 <listtype name="restore"/>
2267 </partitionlist>
2268
2269 <text style="text_m_accent">
2270 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002272 </text>
2273
2274 <checkbox>
2275 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002276 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2277 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </checkbox>
2279
2280 <button style="main_button_half_width">
2281 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002282 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002283 <actions>
2284 <action function="set">tw_back=restore</action>
2285 <action function="set">tw_action=cmd</action>
2286 <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 -05002287 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002288 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002289 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2290 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2291 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2292 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002293 <action function="page">confirm_action</action>
2294 </actions>
2295 </button>
2296
2297 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 <action function="page">restore_run</action>
2300 </slider>
2301
2302 <action>
2303 <touch key="home"/>
2304 <action function="page">main</action>
2305 </action>
2306
2307 <action>
2308 <touch key="back"/>
2309 <action function="page">restore</action>
2310 </action>
2311 </page>
2312
2313 <page name="renamebackup">
2314 <template name="page"/>
2315
2316 <text style="text_l">
2317 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002318 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002319 </text>
2320
2321 <text style="text_m">
2322 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002323 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002324 </text>
2325
2326 <text style="text_m_accent">
2327 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002328 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002329 </text>
2330
2331 <input>
2332 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2333 <text>%tw_backup_rename%</text>
2334 <data name="tw_backup_rename"/>
2335 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2336 <actions>
2337 <action function="set">tw_back=restore</action>
2338 <action function="set">tw_action=cmd</action>
2339 <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 -05002340 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2341 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2342 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2343 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2344 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002345 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2346 <action function="set">tw_existpage=renamebackup</action>
2347 <action function="set">tw_notexistpage=confirm_action</action>
2348 <action function="page">filecheck</action>
2349 </actions>
2350 </input>
2351
2352 <fill color="%accent_color%">
2353 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2354 </fill>
2355
2356 <fill color="%text_fail_color%">
2357 <condition var1="tw_fileexists" var2="1"/>
2358 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2359 </fill>
2360
2361 <text style="text_m_fail">
2362 <condition var1="tw_fileexists" var2="1"/>
2363 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002364 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002365 </text>
2366
2367 <button style="main_button_half_width_low">
2368 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 <action function="page">restore_select</action>
2371 </button>
2372
2373 <template name="keyboardtemplate"/>
2374
2375 <action>
2376 <touch key="home"/>
2377 <action function="page">main</action>
2378 </action>
2379
2380 <action>
2381 <touch key="back"/>
2382 <action function="page">restore_select</action>
2383 </action>
2384 </page>
2385
2386 <page name="restore_run">
2387 <template name="page"/>
2388
2389 <text style="text_l">
2390 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 </text>
2393
2394 <text style="text_m">
2395 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2396 <text>%tw_operation% %tw_partition%</text>
2397 </text>
2398
2399 <template name="console"/>
2400
2401 <template name="progress_bar"/>
2402
2403 <text style="text_m_accent">
2404 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002405 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002406 </text>
2407
2408 <text style="text_m">
2409 <placement x="%progress_text_x%" y="%row18_y%"/>
2410 <text>%tw_size_progress%</text>
2411 </text>
2412
2413 <action>
2414 <condition var1="tw_operation_state" var2="1"/>
2415 <actions>
2416 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002417 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002418 <action function="set">tw_show_reboot=1</action>
2419 <action function="page">action_complete</action>
2420 </actions>
2421 </action>
2422
2423 <action>
2424 <action function="nandroid">restore</action>
2425 </action>
2426 </page>
2427
2428 <page name="mount">
2429 <template name="page"/>
2430
2431 <text style="text_l">
2432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002433 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </text>
2435
2436 <text style="text_m">
2437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002438 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002439 </text>
2440
2441 <partitionlist>
2442 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002443 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002444 <listtype name="mount"/>
2445 </partitionlist>
2446
2447 <button style="checkbox">
2448 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2449 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002450 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002451 <image resource="checkbox_false"/>
2452 <action function="mountsystemtoggle">1</action>
2453 </button>
2454
2455 <button style="checkbox">
2456 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2457 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 <image resource="checkbox_true"/>
2460 <actions>
2461 <action function="set">tw_lifetime_writes=2</action>
2462 <action function="page">system_readonly_check</action>
2463 </actions>
2464 </button>
2465
2466 <button style="main_button_half_width">
2467 <condition var1="tw_has_usb_storage" var2="1"/>
2468 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002469 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002470 <action function="page">usb_mount</action>
2471 </button>
2472
2473 <button style="main_button_half_width">
2474 <conditions>
2475 <condition var1="tw_is_encrypted" var2="1"/>
2476 <condition var1="tw_is_decrypted" var2="0"/>
2477 </conditions>
2478 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 <action function="page">decrypt</action>
2481 </button>
2482
2483 <button style="main_button_half_width">
2484 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 <actions>
2487 <action function="set">tw_back=mount</action>
2488 <action function="overlay">select_storage</action>
2489 </actions>
2490 </button>
2491
2492 <button style="main_button_half_width">
2493 <conditions>
2494 <condition var1="tw_has_mtp" var2="1"/>
2495 <condition var1="tw_mtp_enabled" var2="0"/>
2496 </conditions>
2497 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 <action function="startmtp"/>
2500 </button>
2501
2502 <button style="main_button_half_width">
2503 <conditions>
2504 <condition var1="tw_has_mtp" var2="1"/>
2505 <condition var1="tw_mtp_enabled" var2="1"/>
2506 </conditions>
2507 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 <action function="stopmtp"/>
2510 </button>
2511
2512 <action>
2513 <touch key="home"/>
2514 <action function="page">main</action>
2515 </action>
2516
2517 <action>
2518 <touch key="back"/>
2519 <action function="page">main</action>
2520 </action>
2521 </page>
2522
2523 <page name="usb_mount">
2524 <template name="page"/>
2525
2526 <text style="text_l">
2527 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002528 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002529 </text>
2530
2531 <text style="text_m">
2532 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002533 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002534 </text>
2535
2536 <text style="text_m_accent">
2537 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002538 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002539 </text>
2540
2541 <text style="text_m">
2542 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002543 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002544 </text>
2545
2546 <text style="text_m">
2547 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </text>
2550
2551 <button style="main_button_half_width">
2552 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002553 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002554 <action function="page">usb_umount</action>
2555 </button>
2556
2557 <action>
2558 <action function="mount">usb</action>
2559 <action function="set">tw_busy=1</action>
2560 </action>
2561 </page>
2562
2563 <page name="usb_umount">
2564 <action>
2565 <action function="unmount">usb</action>
2566 </action>
2567
2568 <action>
2569 <action function="page">mount</action>
2570 <action function="set">tw_busy=0</action>
2571 </action>
2572 </page>
2573
2574 <page name="system_readonly_check">
2575 <action>
2576 <action function="checkpartitionlifetimewrites">/system</action>
2577 </action>
2578
2579 <action>
2580 <condition var1="tw_lifetime_writes" var2="1"/>
2581 <actions>
2582 <action function="mountsystemtoggle">0</action>
2583 <action function="page">mount</action>
2584 </actions>
2585 </action>
2586
2587 <action>
2588 <condition var1="tw_lifetime_writes" var2="0"/>
2589 <actions>
2590 <action function="set">tw_back=mount</action>
2591 <action function="page">system_readonly</action>
2592 </actions>
2593 </action>
2594 </page>
2595
2596 <page name="reboot">
2597 <template name="page"/>
2598
2599 <text style="text_l">
2600 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002601 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002602 </text>
2603
2604 <button style="main_button">
2605 <condition var1="tw_reboot_system" var2="1"/>
2606 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002607 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002608 <actions>
2609 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002610 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002611 </actions>
2612 </button>
2613
2614 <button style="main_button">
2615 <condition var1="tw_reboot_poweroff" var2="1"/>
2616 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002617 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002618 <actions>
2619 <action function="set">tw_back=reboot</action>
2620 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002621 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002622 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002623 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2625 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2626 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2627 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2628 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002629 <action function="page">rebootcheck</action>
2630 </actions>
2631 </button>
2632
2633 <button style="main_button">
2634 <condition var1="tw_reboot_recovery" var2="1"/>
2635 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <actions>
2638 <action function="set">tw_back=reboot</action>
2639 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002640 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002641 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002643 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2644 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2645 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2646 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2647 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002648 <action function="page">rebootcheck</action>
2649 </actions>
2650 </button>
2651
2652 <button style="main_button">
2653 <condition var1="tw_reboot_bootloader" var2="1"/>
2654 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002655 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002656 <actions>
2657 <action function="set">tw_back=reboot</action>
2658 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002659 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002660 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002661 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2663 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2664 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2665 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2666 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <action function="page">rebootcheck</action>
2668 </actions>
2669 </button>
2670
2671 <button style="main_button">
2672 <condition var1="tw_download_mode" var2="1"/>
2673 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002674 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002675 <actions>
2676 <action function="set">tw_back=reboot</action>
2677 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002678 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002679 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002680 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002681 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2682 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2683 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2684 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2685 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002686 <action function="page">rebootcheck</action>
2687 </actions>
2688 </button>
2689
2690 <action>
2691 <touch key="home"/>
2692 <action function="page">main</action>
2693 </action>
2694
2695 <action>
2696 <touch key="back"/>
2697 <action function="page">main</action>
2698 </action>
2699 </page>
2700
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002701 <page name="rebootapp">
2702 <template name="page"/>
2703
2704 <text style="text_l">
2705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2706 <text>{@reboot_hdr=Reboot}</text>
2707 </text>
2708
2709 <text style="text_m">
2710 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2711 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2712 </text>
2713
2714 <text style="text_m_accent">
2715 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2716 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2717 </text>
2718
2719 <text style="text_m_accent">
2720 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2721 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2722 </text>
2723
2724 <checkbox>
2725 <placement x="%indent%" y="%row5_y%"/>
2726 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2727 <data variable="tw_app_prompt"/>
2728 </checkbox>
2729
2730 <checkbox>
2731 <condition var1="tw_mount_system_ro" var2="0"/>
2732 <placement x="%indent%" y="%row7_y%"/>
2733 <text>{@reboot_install_app_system=Install as a System App}</text>
2734 <data variable="tw_app_install_system"/>
2735 </checkbox>
2736
2737 <button style="main_button_half_width">
2738 <placement x="%col2_x_left%" y="%row15a_y%"/>
2739 <text>{@su_cancel=Do not Install}</text>
2740 <action function="reboot">%tw_reboot_param%</action>
2741 </button>
2742
2743 <slider>
2744 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2745 <actions>
2746 <action function="set">tw_back=reboot</action>
2747 <action function="set">tw_action=installapp</action>
2748 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2749 <action function="set">tw_action_text2=</action>
2750 <action function="set">tw_has_action2=1</action>
2751 <action function="set">tw_action2=reboot</action>
2752 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2753 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2754 <action function="page">action_page</action>
2755 </actions>
2756 </slider>
2757
2758 <action>
2759 <touch key="home"/>
2760 <actions>
2761 <action function="set">tw_app_install_status=0</action>
2762 <action function="page">main</action>
2763 </actions>
2764 </action>
2765
2766 <action>
2767 <touch key="back"/>
2768 <actions>
2769 <action function="set">tw_app_install_status=0</action>
2770 <action function="page">reboot</action>
2771 </actions>
2772 </action>
2773 </page>
2774
z31s1g28f0a922015-11-07 18:50:22 +01002775 <page name="system_readonly">
2776 <template name="page"/>
2777
2778 <text style="text_l">
2779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 </text>
2782
2783 <text style="text_m_accent">
2784 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002785 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002786 </text>
2787
2788 <text style="text_m">
2789 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <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 +01002791 </text>
2792
2793 <text style="text_m">
2794 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <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 +01002796 </text>
2797
2798 <text style="text_m_fail">
2799 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002800 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002801 </text>
2802
2803 <checkbox>
2804 <condition var1="tw_is_encrypted" var2="0"/>
2805 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002807 <data variable="tw_never_show_system_ro_page"/>
2808 </checkbox>
2809
2810 <button style="main_button_half_width">
2811 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <actions>
2814 <action function="mountsystemtoggle">1</action>
2815 <action function="set">tw_page_done=1</action>
2816 <action function="page">%tw_back%</action>
2817 </actions>
2818 </button>
2819
z31s1g608d7ff2016-01-18 19:47:25 +01002820 <button style="main_button_half_width">
2821 <placement x="%col2_x_left%" y="%row15a_y%"/>
2822 <text>{@sel_lang_btn=Select Language}</text>
2823 <action function="overlay">select_language</action>
2824 </button>
2825
z31s1g28f0a922015-11-07 18:50:22 +01002826 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002827 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002828 <actions>
2829 <action function="mountsystemtoggle">0</action>
2830 <action function="set">tw_page_done=1</action>
2831 <action function="page">%tw_back%</action>
2832 </actions>
2833 </slider>
2834 </page>
2835
2836 <page name="settings">
2837 <template name="page"/>
2838
2839 <text style="text_l">
2840 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 </text>
2843
2844 <text style="text_m">
2845 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002846 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002847 </text>
2848
2849 <template name="tabs_settings"/>
2850
2851 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002852 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002853 </fill>
2854
2855 <listbox style="scrolllist">
2856 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2857 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002858 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002859 <data variable="tw_signed_zip_verify"/>
2860 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002861 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2862 <data variable="tw_install_reboot"/>
2863 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002864 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002865 <data variable="tw_rm_rf"/>
2866 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002867 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2868 <data variable="tw_disable_free_space"/>
2869 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002870 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2871 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002872 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002873 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2874 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002876 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002877 <data variable="tw_military_time"/>
2878 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002879 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2880 <data variable="tw_app_prompt"/>
2881 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002882 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002883 <data variable="tw_simulate_actions"/>
2884 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002886 <condition var1="tw_simulate_actions" var2="1"/>
2887 <data variable="tw_simulate_fail"/>
2888 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002889 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2890 <condition var1="tw_no_sha2" var2="0"/>
2891 <data variable="tw_use_sha2"/>
2892 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002893 </listbox>
2894
2895 <checkbox>
2896 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 <data variable="tw_samsung_navbar"/>
2899 </checkbox>
2900
2901 <button style="radiobutton">
2902 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2903 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002904 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002905 <image resource="radio_false"/>
2906 <action function="set">tw_navbar_button_position=0</action>
2907 </button>
2908
2909 <button style="radiobutton">
2910 <condition var1="tw_navbar_button_position" var2="0"/>
2911 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002912 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002913 <image resource="radio_true"/>
2914 <action function="set">tw_navbar_button_position=0</action>
2915 </button>
2916
2917 <button style="radiobutton">
2918 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2919 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 <image resource="radio_false"/>
2922 <action function="set">tw_navbar_button_position=1</action>
2923 </button>
2924
2925 <button style="radiobutton">
2926 <condition var1="tw_navbar_button_position" var2="1"/>
2927 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002928 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002929 <image resource="radio_true"/>
2930 <action function="set">tw_navbar_button_position=1</action>
2931 </button>
2932
2933 <button style="radiobutton">
2934 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2935 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 <image resource="radio_false"/>
2938 <action function="set">tw_navbar_button_position=2</action>
2939 </button>
2940
2941 <button style="radiobutton">
2942 <condition var1="tw_navbar_button_position" var2="2"/>
2943 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 <image resource="radio_true"/>
2946 <action function="set">tw_navbar_button_position=2</action>
2947 </button>
2948
2949 <button style="main_button_half_width">
2950 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002951 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002952 <action function="restoredefaultsettings"/>
2953 </button>
2954
2955 <action>
2956 <touch key="home"/>
2957 <action function="page">main</action>
2958 </action>
2959
2960 <action>
2961 <touch key="back"/>
2962 <action function="page">main</action>
2963 </action>
2964 </page>
2965
2966 <page name="settings_timezone">
2967 <template name="page"/>
2968
2969 <text style="text_l">
2970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002971 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002972 </text>
2973
2974 <text style="text_m">
2975 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 </text>
2978
2979 <template name="tabs_settings"/>
2980
2981 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002982 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002983 </fill>
2984
2985 <listbox>
2986 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002987 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002988 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2990 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2991 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2992 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2993 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2994 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2995 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2996 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2997 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2998 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2999 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3000 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3001 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3002 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3003 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3004 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3005 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3006 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3007 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3008 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3009 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3010 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3011 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3012 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003013 </listbox>
3014
3015 <text style="text_m_accent">
3016 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <button style="button_quarter_width">
3021 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 <action function="set">tw_time_zone_guioffset=0</action>
3024 </button>
3025
3026 <button style="button_quarter_width">
3027 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003028 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003029 <action function="set">tw_time_zone_guioffset=15</action>
3030 </button>
3031
3032 <button style="button_quarter_width">
3033 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003035 <action function="set">tw_time_zone_guioffset=30</action>
3036 </button>
3037
3038 <button style="button_quarter_width">
3039 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 <action function="set">tw_time_zone_guioffset=45</action>
3042 </button>
3043
3044 <checkbox>
3045 <placement x="%col1_x_right%" y="%row7_y%"/>
3046 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003047 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003048 <data variable="tw_time_zone_guidst"/>
3049 <image checked="checkbox_true" unchecked="checkbox_false"/>
3050 </checkbox>
3051
3052 <text color="%text_color%">
3053 <font resource="font_m"/>
3054 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003056 </text>
3057
3058 <button>
3059 <highlight color="%highlight_color%"/>
3060 <placement x="%col2_x_right%" y="%row15a_y%"/>
3061 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <image resource="main_button_half_width"/>
3064 <action function="setguitimezone"/>
3065 </button>
3066
3067 <action>
3068 <touch key="home"/>
3069 <action function="page">main</action>
3070 </action>
3071
3072 <action>
3073 <touch key="back"/>
3074 <action function="page">main</action>
3075 </action>
3076 </page>
3077
3078 <page name="settings_screen">
3079 <template name="page"/>
3080
3081 <text style="text_l">
3082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 </text>
3085
3086 <text style="text_m">
3087 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 </text>
3090
3091 <template name="tabs_settings"/>
3092
3093 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003094 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003095 </fill>
3096
3097 <button>
3098 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3099 <font resource="font_m" color="%text_color%"/>
3100 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3101 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003102 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003103 <image resource="checkbox_false"/>
3104 <action function="set">tw_screen_timeout_secs=60</action>
3105 </button>
3106
3107 <button>
3108 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3109 <font resource="font_m" color="%text_color%"/>
3110 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3111 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003113 <image resource="checkbox_true"/>
3114 <action function="set">tw_screen_timeout_secs=0</action>
3115 </button>
3116
3117 <slidervalue>
3118 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3119 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3120 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003122 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3123 </slidervalue>
3124
3125 <slidervalue>
3126 <condition var1="tw_has_brightnesss_file" var2="1"/>
3127 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003129 <data variable="tw_brightness_pct" min="10" max="100"/>
3130 <actions>
3131 <action function="set">tw_brightness=%tw_brightness_max%</action>
3132 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3133 <action function="compute">tw_brightness/100</action>
3134 <action function="setbrightness">%tw_brightness%</action>
3135 </actions>
3136 </slidervalue>
3137
3138 <action>
3139 <touch key="home"/>
3140 <action function="page">main</action>
3141 </action>
3142
3143 <action>
3144 <touch key="back"/>
3145 <action function="page">main</action>
3146 </action>
3147 </page>
3148
3149 <page name="settings_vibration">
3150 <template name="page"/>
3151
3152 <text style="text_l">
3153 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003155 </text>
3156
3157 <text style="text_m">
3158 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 </text>
3161
3162 <template name="tabs_settings"/>
3163
3164 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003166 </fill>
3167
3168 <slidervalue>
3169 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003170 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003171 <data variable="tw_button_vibrate" min="0" max="300"/>
3172 </slidervalue>
3173
3174 <slidervalue>
3175 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3178 </slidervalue>
3179
3180 <slidervalue>
3181 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <data variable="tw_action_vibrate" min="0" max="500"/>
3184 </slidervalue>
3185
3186 <action>
3187 <touch key="home"/>
3188 <action function="page">main</action>
3189 </action>
3190
3191 <action>
3192 <touch key="back"/>
3193 <action function="page">main</action>
3194 </action>
3195 </page>
3196
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <page name="settings_language">
3198 <template name="page"/>
3199
3200 <text style="text_l">
3201 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3202 <text>{@settings_hdr=Settings}</text>
3203 </text>
3204
3205 <text style="text_m">
3206 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3207 <text>{@language_hdr=Language - %tw_language_display%}</text>
3208 </text>
3209
3210 <template name="tabs_settings"/>
3211
3212 <fill color="%text_color%">
3213 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3214 </fill>
3215
3216 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003217 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <text>{@select_language=Select Language:}</text>
3219 <icon selected="radio_true" unselected="radio_false" />
3220 <data name="tw_language" />
3221 </listbox>
3222
z31s1g56189522016-01-13 19:12:40 +01003223 <button>
3224 <highlight color="%highlight_color%"/>
3225 <placement x="%col2_x_right%" y="%row15a_y%"/>
3226 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003228 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <action function="setlanguage"></action>
3230 </button>
3231
3232 <action>
3233 <touch key="home" />
3234 <action function="page">main</action>
3235 </action>
3236
3237 <action>
3238 <touch key="back" />
3239 <action function="page">settings</action>
3240 </action>
3241 </page>
3242
Matt Mower32676622017-01-18 18:56:13 -06003243 <page name="copylog">
3244 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003245
Matt Mower32676622017-01-18 18:56:13 -06003246 <text style="text_l">
3247 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3248 <text>{@copying_log=Copy Logs to SD Card}</text>
3249 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003250
Matt Mower32676622017-01-18 18:56:13 -06003251 <checkbox>
3252 <placement x="%indent%" y="%row4_y%"/>
3253 <text>{@include_kernel_log=Include Kernel Log}</text>
3254 <data variable="tw_include_kernel_log" value="1"/>
3255 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003256
Matt Mower32676622017-01-18 18:56:13 -06003257 <slider>
3258 <text>{@copying_log=Copy Logs to SD Card}</text>
3259 <actions>
3260 <action function="set">tw_back=advanced</action>
3261 <action function="set">tw_action=copylog</action>
3262 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3263 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3264 <action function="page">action_page</action>
3265 </actions>
3266 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003267
Matt Mower32676622017-01-18 18:56:13 -06003268 <action>
3269 <touch key="home"/>
3270 <action function="page">main</action>
3271 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003272
Matt Mower32676622017-01-18 18:56:13 -06003273 <action>
3274 <touch key="back"/>
3275 <actions>
3276 <action function="page">advanced</action>
3277 </actions>
3278 </action>
3279 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003280
z31s1g28f0a922015-11-07 18:50:22 +01003281 <page name="advanced">
3282 <template name="page"/>
3283
3284 <text style="text_l">
3285 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003287 </text>
3288
3289 <button style="main_button">
3290 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003292 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003293 </button>
3294
3295 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003296 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003297 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003298 <text>{@fix_context_btn=Fix Contexts}</text>
3299 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003300 </button>
3301
3302 <button style="main_button">
3303 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3304 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003306 <actions>
3307 <action function="set">partitionlisterror=0</action>
3308 <action function="page">partsdcardsel</action>
3309 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003310 </button>
3311
3312 <button style="main_button">
3313 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003314 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003315 <action function="page">filemanagerlist</action>
3316 </button>
3317
3318 <button style="main_button">
3319 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003321 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003322 </button>
3323
3324 <button style="main_button">
3325 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003327 <action function="reload"/>
3328 </button>
3329
3330 <button style="main_button">
3331 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <action function="page">sideload</action>
3334 </button>
3335
3336 <button style="main_button">
3337 <condition var1="tw_show_dumlock" var2="1"/>
3338 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <action function="page">htcdumlock</action>
3341 </button>
3342
3343 <button style="main_button">
3344 <condition var1="tw_has_injecttwrp" var2="1"/>
3345 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <actions>
3348 <action function="set">tw_back=advanced</action>
3349 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3351 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3352 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3353 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003354 <action function="page">confirm_action</action>
3355 </actions>
3356 </button>
3357
3358 <action>
3359 <touch key="home"/>
3360 <action function="page">main</action>
3361 </action>
3362
3363 <action>
3364 <touch key="back"/>
3365 <action function="page">main</action>
3366 </action>
3367 </page>
3368
Ethan Yonker483e9f42016-01-11 22:21:18 -06003369 <page name="partsdcardsel">
3370 <template name="page"/>
3371
3372 <text style="text_l">
3373 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3374 <text>{@advanced_hdr=Advanced}</text>
3375 </text>
3376
3377 <text style="text_m">
3378 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3379 <text>{@part_sd_hdr=Partition SD Card}</text>
3380 </text>
3381
z31s1g782e1c92016-01-30 16:50:09 +01003382 <partitionlist>
3383 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003384 <text>{@sel_storage_list=Select Storage}</text>
3385 <data name="tw_storage_path"/>
3386 <listtype name="storage"/>
3387 </partitionlist>
3388
z31s1g782e1c92016-01-30 16:50:09 +01003389 <text style="text_m_fail">
3390 <condition var1="partitionlisterror" var2="1"/>
3391 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3392 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3393 </text>
3394
3395 <button style="main_button_half_width">
3396 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003397 <text>{@ok_btn=OK}</text>
3398 <actions>
3399 <action function="getpartitiondetails">tw_storage_path</action>
3400 <action function="page">partsdcardcheck</action>
3401 </actions>
3402 </button>
3403
Ethan Yonker483e9f42016-01-11 22:21:18 -06003404 <action>
3405 <touch key="home"/>
3406 <action function="page">main</action>
3407 </action>
3408
3409 <action>
3410 <touch key="back"/>
3411 <action function="page">advanced</action>
3412 </action>
3413 </page>
3414
3415 <page name="partsdcardcheck">
3416 <action>
3417 <condition var1="tw_partition_removable" op="=" var2="1"/>
3418 <actions>
3419 <action function="set">partitionlisterror=0</action>
3420 <action function="page">partsdcard</action>
3421 </actions>
3422 </action>
3423
3424 <action>
3425 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3426 <actions>
3427 <action function="set">partitionlisterror=1</action>
3428 <action function="page">partsdcardsel</action>
3429 </actions>
3430 </action>
3431 </page>
3432
z31s1g28f0a922015-11-07 18:50:22 +01003433 <page name="partsdcard">
3434 <template name="page"/>
3435
3436 <text style="text_l">
3437 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </text>
3440
3441 <text style="text_m">
3442 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </text>
3445
3446 <text style="text_m_fail">
3447 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 </text>
3450
3451 <text style="text_m_fail">
3452 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003454 </text>
3455
3456 <text style="text_m_accent">
3457 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </text>
3460
3461 <text style="text_m">
3462 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3463 <text>%tw_sdext_size%</text>
3464 </text>
3465
3466 <button style="button_quarter_width">
3467 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003469 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003470 </button>
3471
3472 <button style="button_quarter_width">
3473 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003475 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </button>
3477
3478 <text style="text_m_accent">
3479 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </text>
3482
3483 <text style="text_m">
3484 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3485 <text>%tw_swap_size%</text>
3486 </text>
3487
3488 <button style="button_quarter_width">
3489 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003491 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003492 </button>
3493
3494 <button style="button_quarter_width">
3495 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003497 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003498 </button>
3499
3500 <text style="text_m_accent">
3501 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </text>
3504
3505 <text style="text_m">
3506 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3507 <text>%tw_sdpart_file_system%</text>
3508 </text>
3509
3510 <button style="button_quarter_width">
3511 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3512 <text>EXT3</text>
3513 <action function="set">tw_sdpart_file_system=ext3</action>
3514 </button>
3515
3516 <button style="button_quarter_width">
3517 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3518 <text>EXT4</text>
3519 <action function="set">tw_sdpart_file_system=ext4</action>
3520 </button>
3521
3522 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <action function="page">partsdcardaction</action>
3525 <actions>
3526 <action function="set">tw_back=partsdcard</action>
3527 <action function="set">tw_action=partitionsd</action>
3528 <action function="set">tw_has_action2=1</action>
3529 <action function="set">tw_action2=set</action>
3530 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3532 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3533 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <action function="page">action_page</action>
3535 </actions>
3536 </slider>
3537
3538 <action>
3539 <touch key="home"/>
3540 <action function="page">main</action>
3541 </action>
3542
3543 <action>
3544 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003545 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003546 </action>
3547 </page>
3548
3549 <page name="htcdumlock">
3550 <template name="page"/>
3551
3552 <text style="text_l">
3553 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003554 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003555 </text>
3556
3557 <text style="text_m">
3558 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003560 </text>
3561
3562 <button style="main_button_m">
3563 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003565 <actions>
3566 <action function="set">tw_back=htcdumlock</action>
3567 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003568 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3569 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3570 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3571 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003572 <action function="page">confirm_action</action>
3573 </actions>
3574 </button>
3575
3576 <button style="main_button_m">
3577 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 <actions>
3580 <action function="set">tw_back=htcdumlock</action>
3581 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3583 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3584 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3585 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <action function="page">confirm_action</action>
3587 </actions>
3588 </button>
3589
3590 <button style="main_button_m">
3591 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003593 <actions>
3594 <action function="set">tw_back=htcdumlock</action>
3595 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3597 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3598 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3599 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <action function="page">confirm_action</action>
3601 </actions>
3602 </button>
3603
3604 <action>
3605 <touch key="home"/>
3606 <action function="page">main</action>
3607 </action>
3608
3609 <action>
3610 <touch key="back"/>
3611 <action function="page">advanced</action>
3612 </action>
3613 </page>
3614
3615 <page name="lock">
3616 <background color="%semi_transparent%"/>
3617
3618 <image>
3619 <image resource="unlock_icon"/>
3620 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3621 </image>
3622
3623 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <action function="overlay"/>
3626 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003627
3628 <action>
3629 <touch key="power"/>
3630 <action function="togglebacklight"/>
3631 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </page>
3633
3634 <page name="filemanagerlist">
3635 <template name="page"/>
3636
3637 <text style="text_l">
3638 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <text style="text_m">
3643 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 </text>
3646
3647 <template name="sort_options"/>
3648
3649 <fileselector>
3650 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3651 <text>%tw_file_location1%</text>
3652 <filter folders="1" files="1"/>
3653 <path name="tw_file_location1" default="/"/>
3654 <data name="tw_filename1"/>
3655 <selection name="tw_selection1"/>
3656 </fileselector>
3657
3658 <button style="main_button_half_width_low">
3659 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 <actions>
3662 <action function="set">tw_filename1=tw_file_location1</action>
3663 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="page">filemanageroptions</action>
3666 </actions>
3667 </button>
3668
3669 <action>
3670 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003672 <action function="set">tw_fm_isfolder=0</action>
3673 </actions>
3674 </action>
3675
3676 <action>
3677 <touch key="home"/>
3678 <action function="page">main</action>
3679 </action>
3680
3681 <action>
3682 <touch key="back"/>
3683 <action function="page">advanced</action>
3684 </action>
3685
3686 <action>
3687 <condition var1="tw_filename1" op="modified"/>
3688 <action function="page">filemanageroptions</action>
3689 </action>
3690 </page>
3691
3692 <page name="filemanageroptions">
3693 <template name="page"/>
3694
3695 <text style="text_l">
3696 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <text style="text_m">
3701 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 </text>
3704
3705 <text style="text_m_accent">
3706 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003707 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003708 </text>
3709
3710 <text style="text_m">
3711 <placement x="%col1_x_left%" y="%row3_y%"/>
3712 <text>%tw_filename1%</text>
3713 </text>
3714
3715 <button style="main_button_half_width">
3716 <condition var1="tw_fm_isfolder" var2="0"/>
3717 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 <actions>
3720 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003722 <action function="page">choosedestinationfolder</action>
3723 </actions>
3724 </button>
3725
3726 <button style="main_button_half_width">
3727 <condition var1="tw_fm_isfolder" var2="1"/>
3728 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <actions>
3731 <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 -05003732 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003733 <action function="page">choosedestinationfolder</action>
3734 </actions>
3735 </button>
3736
3737 <button style="main_button_half_width">
3738 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003739 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003740 <actions>
3741 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003742 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003743 <action function="page">choosedestinationfolder</action>
3744 </actions>
3745 </button>
3746
3747 <button style="main_button_half_width">
3748 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 <actions>
3751 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003753 <action function="set">tw_fm_text2=</action>
3754 <action function="set">tw_fm_text3=</action>
3755 <action function="set">tw_include_text3=0</action>
3756 <action function="set">tw_back=filemanageroptions</action>
3757 <action function="page">filemanagerconfirm</action>
3758 </actions>
3759 </button>
3760
3761 <button style="main_button_half_width">
3762 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003763 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003764 <actions>
3765 <action function="set">tw_filemanager_rename=0000</action>
3766 <action function="set">tw_fm_text2=</action>
3767 <action function="set">tw_fm_text3=</action>
3768 <action function="set">tw_include_text3=0</action>
3769 <action function="set">tw_back=filemanageroptions</action>
3770 <action function="page">filemanagerchmod</action>
3771 </actions>
3772 </button>
3773
3774 <button style="main_button_half_width">
3775 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <actions>
3778 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003779 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003780 <action function="set">tw_fm_text2=</action>
3781 <action function="set">tw_fm_text3=</action>
3782 <action function="set">tw_include_text3=0</action>
3783 <action function="set">tw_back=filemanageroptions</action>
3784 <action function="page">filemanagerconfirm</action>
3785 </actions>
3786 </button>
3787
3788 <button style="main_button_half_width">
3789 <condition var1="tw_fm_isfolder" var2="0"/>
3790 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003791 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003792 <actions>
3793 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003794 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003795 <action function="set">tw_filemanager_command=mv</action>
3796 <action function="page">filemanagerrenamefile</action>
3797 </actions>
3798 </button>
3799
3800 <button style="main_button_half_width">
3801 <condition var1="tw_fm_isfolder" var2="1"/>
3802 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 <actions>
3805 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003806 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003807 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3808 <action function="page">filemanagerrenamefolder</action>
3809 </actions>
3810 </button>
3811
3812 <action>
3813 <touch key="home"/>
3814 <action function="page">main</action>
3815 </action>
3816
3817 <action>
3818 <touch key="back"/>
3819 <action function="page">filemanagerlist</action>
3820 </action>
3821 </page>
3822
3823 <page name="choosedestinationfolder">
3824 <template name="page"/>
3825
3826 <text style="text_l">
3827 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003829 </text>
3830
3831 <text style="text_m">
3832 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003833 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003834 </text>
3835
3836 <template name="sort_options"/>
3837
3838 <fileselector>
3839 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3840 <text>%tw_file_location2%</text>
3841 <filter folders="1" files="0"/>
3842 <path name="tw_file_location2" default="/"/>
3843 <data name="tw_filename2"/>
3844 <selection name="tw_selection2"/>
3845 </fileselector>
3846
3847 <button style="main_button_half_width_low">
3848 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 <actions>
3851 <action function="set">tw_fm_text2=to</action>
3852 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3853 <action function="set">tw_include_text3=1</action>
3854 <action function="set">tw_back=filemanageroptions</action>
3855 <action function="page">filemanagerconfirm</action>
3856 </actions>
3857 </button>
3858
3859 <action>
3860 <touch key="home"/>
3861 <action function="page">main</action>
3862 </action>
3863
3864 <action>
3865 <touch key="back"/>
3866 <action function="page">filemanageroptions</action>
3867 </action>
3868 </page>
3869
3870 <page name="filemanagerrenamefile">
3871 <template name="page"/>
3872
3873 <text style="text_l">
3874 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <text style="text_m">
3879 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </text>
3882
3883 <text style="text_m_accent">
3884 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 </text>
3887
3888 <input>
3889 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3890 <text>%tw_filemanager_rename%</text>
3891 <data name="tw_filemanager_rename"/>
3892 <restrict minlen="1" maxlen="128"/>
3893 <actions>
3894 <action function="set">tw_fm_text2=to</action>
3895 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3896 <action function="set">tw_include_text3=1</action>
3897 <action function="set">tw_back=filemanageroptions</action>
3898 <action function="page">filemanagerconfirm</action>
3899 </actions>
3900 </input>
3901
3902 <fill color="%accent_color%">
3903 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3904 </fill>
3905
3906 <button style="main_button_half_width_low">
3907 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003909 <action function="page">filemanageroptions</action>
3910 </button>
3911
3912 <template name="keyboardtemplate"/>
3913
3914 <action>
3915 <touch key="home"/>
3916 <action function="page">main</action>
3917 </action>
3918
3919 <action>
3920 <touch key="back"/>
3921 <action function="page">filemanageroptions</action>
3922 </action>
3923 </page>
3924
3925 <page name="filemanagerrenamefolder">
3926 <template name="page"/>
3927
3928 <text style="text_l">
3929 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 </text>
3932
3933 <text style="text_m">
3934 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 </text>
3937
3938 <text style="text_m_accent">
3939 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <input>
3944 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3945 <text>%tw_filemanager_rename%</text>
3946 <data name="tw_filemanager_rename"/>
3947 <restrict minlen="1" maxlen="128"/>
3948 <actions>
3949 <action function="set">tw_fm_text2=to</action>
3950 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3951 <action function="set">tw_include_text3=1</action>
3952 <action function="set">tw_back=filemanageroptions</action>
3953 <action function="page">filemanagerconfirm</action>
3954 </actions>
3955 </input>
3956
3957 <fill color="%accent_color%">
3958 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3959 </fill>
3960
3961 <button style="main_button_half_width_low">
3962 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <action function="page">filemanageroptions</action>
3965 </button>
3966
3967 <template name="keyboardtemplate"/>
3968
3969 <action>
3970 <touch key="home"/>
3971 <action function="page">main</action>
3972 </action>
3973
3974 <action>
3975 <touch key="back"/>
3976 <action function="page">filemanageroptions</action>
3977 </action>
3978 </page>
3979
3980 <page name="filemanagerchmod">
3981 <template name="page"/>
3982
3983 <text style="text_l">
3984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 </text>
3987
3988 <text style="text_m">
3989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <text style="text_m_accent">
3994 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <input>
3999 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4000 <text>%tw_filemanager_rename%</text>
4001 <data name="tw_filemanager_rename"/>
4002 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4003 <actions>
4004 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4005 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4006 <action function="set">tw_back=filemanageroptions</action>
4007 <action function="page">filemanagerconfirm</action>
4008 </actions>
4009 </input>
4010
4011 <fill color="%accent_color%">
4012 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4013 </fill>
4014
4015 <button style="main_button_half_width_low">
4016 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 <action function="page">filemanageroptions</action>
4019 </button>
4020
4021 <template name="keyboardtemplate"/>
4022
4023 <action>
4024 <touch key="home"/>
4025 <action function="page">main</action>
4026 </action>
4027
4028 <action>
4029 <touch key="back"/>
4030 <action function="page">filemanageroptions</action>
4031 </action>
4032 </page>
4033
4034 <page name="filemanagerconfirm">
4035 <template name="page"/>
4036
4037 <text style="text_l">
4038 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <text style="text_m">
4043 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 </text>
4046
4047 <text style="text_m_accent">
4048 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4049 <text>%tw_fm_text1%</text>
4050 </text>
4051
4052 <text style="text_m">
4053 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4054 <text>%tw_filename1%</text>
4055 </text>
4056
4057 <text style="text_m_accent">
4058 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4059 <text>%tw_fm_text2%</text>
4060 </text>
4061
4062 <text style="text_m">
4063 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4064 <text>%tw_fm_text3%</text>
4065 </text>
4066
4067 <text style="text_m">
4068 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 </text>
4071
4072 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 <action function="page">filemanageraction</action>
4075 </slider>
4076
4077 <action>
4078 <touch key="back"/>
4079 <action function="page">%tw_back%</action>
4080 </action>
4081
4082 <action>
4083 <touch key="home"/>
4084 <action function="page">main</action>
4085 </action>
4086 </page>
4087
4088 <page name="filemanageraction">
4089 <template name="page"/>
4090
4091 <text style="text_l">
4092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004094 </text>
4095
4096 <text style="text_m">
4097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4098 <text>%tw_fm_text1%</text>
4099 </text>
4100
4101 <template name="console"/>
4102
4103 <template name="progress_bar"/>
4104
4105 <action>
4106 <conditions>
4107 <condition var1="tw_operation_state" var2="1"/>
4108 <condition var1="tw_operation_status" var2="0"/>
4109 </conditions>
4110 <actions>
4111 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004113 <action function="page">action_complete</action>
4114 </actions>
4115 </action>
4116
4117 <action>
4118 <conditions>
4119 <condition var1="tw_operation_state" var2="1"/>
4120 <condition var1="tw_operation_status" op="!=" var2="0"/>
4121 </conditions>
4122 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004124 <action function="page">action_complete</action>
4125 </actions>
4126 </action>
4127
4128 <action>
4129 <condition var1="tw_include_text3" var2="0"/>
4130 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4131 </action>
4132
4133 <action>
4134 <condition var1="tw_include_text3" var2="1"/>
4135 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4136 </action>
4137 </page>
4138
4139 <page name="decrypt">
4140 <template name="page"/>
4141
4142 <action>
4143 <condition var1="tw_crypto_pwtype" var2="2"/>
4144 <action function="page">decrypt_pattern</action>
4145 </action>
4146
4147 <text style="text_l">
4148 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 </text>
4151
4152 <text style="text_m">
4153 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004155 </text>
4156
4157 <text style="text_m_accent">
4158 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 </text>
4161
4162 <input>
4163 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4164 <text>%tw_crypto_display%</text>
4165 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4166 <restrict minlen="1" maxlen="254"/>
4167 <action function="page">trydecrypt</action>
4168 </input>
4169
4170 <fill color="%accent_color%">
4171 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4172 </fill>
4173
4174 <fill color="%text_fail_color%">
4175 <condition var1="tw_password_fail" var2="1"/>
4176 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4177 </fill>
4178
4179 <text style="text_m_fail">
4180 <condition var1="tw_password_fail" var2="1"/>
4181 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004182 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004183 </text>
4184
4185 <button style="main_button_half_width_low">
4186 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004187 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004188 <actions>
4189 <action function="set">tw_page_done=1</action>
4190 <action function="page">main</action>
4191 </actions>
4192 </button>
4193
z31s1g608d7ff2016-01-18 19:47:25 +01004194 <button style="main_button_half_width_low">
4195 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4196 <text>{@sel_lang_btn=Select Language}</text>
4197 <action function="overlay">select_language</action>
4198 </button>
4199
z31s1g28f0a922015-11-07 18:50:22 +01004200 <template name="keyboardtemplate"/>
4201 </page>
4202
4203 <page name="decrypt_pattern">
4204 <template name="page"/>
4205
4206 <text style="text_l">
4207 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </text>
4210
4211 <text style="text_m">
4212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </text>
4215
4216 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004217 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004219 </text>
4220
Aleksa Saraib25a1832015-12-31 17:36:00 +01004221 <text style="text_m_fail">
4222 <condition var1="tw_password_fail" var2="1"/>
4223 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004224 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004225 </text>
4226
z31s1g28f0a922015-11-07 18:50:22 +01004227 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004228 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004229 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4230 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4231 <data name="tw_crypto_password"/>
4232 <action function="page">trydecrypt</action>
4233 </patternpassword>
4234
Aleksa Saraib25a1832015-12-31 17:36:00 +01004235 <button style="main_button_half_width_low">
4236 <placement x="%col_button_right%" y="%row1a_y%"/>
4237 <text>3x3</text>
4238 <action function="set">tw_gui_pattern_grid_size=3</action>
4239 </button>
4240
4241 <button style="main_button_half_width_low">
4242 <placement x="%col_button_right%" y="%row4a_y%"/>
4243 <text>4x4</text>
4244 <action function="set">tw_gui_pattern_grid_size=4</action>
4245 </button>
4246
4247 <button style="main_button_half_width_low">
4248 <placement x="%col_button_right%" y="%row7a_y%"/>
4249 <text>5x5</text>
4250 <action function="set">tw_gui_pattern_grid_size=5</action>
4251 </button>
4252
4253 <button style="main_button_half_width_low">
4254 <placement x="%col_button_right%" y="%row10a_y%"/>
4255 <text>6x6</text>
4256 <action function="set">tw_gui_pattern_grid_size=6</action>
4257 </button>
4258
z31s1g28f0a922015-11-07 18:50:22 +01004259 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004260 <placement x="%col1_x_right%" y="%row15a_y%"/>
4261 <text>{@sel_lang_btn=Select Language}</text>
4262 <action function="overlay">select_language</action>
4263 </button>
4264
4265 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004266 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004267 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004268 <actions>
4269 <action function="set">tw_page_done=1</action>
4270 <action function="page">main</action>
4271 </actions>
4272 </button>
4273 </page>
4274
4275 <page name="trydecrypt">
4276 <template name="page"/>
4277
4278 <text style="text_l">
4279 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 </text>
4282
4283 <text style="text_m">
4284 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 </text>
4287
4288 <template name="console"/>
4289
4290 <template name="progress_bar"/>
4291
4292 <action>
4293 <action function="decrypt"/>
4294 </action>
4295
4296 <action>
4297 <conditions>
4298 <condition var1="tw_operation_state" var2="1"/>
4299 <condition var1="tw_operation_status" op="!=" var2="0"/>
4300 </conditions>
4301 <actions>
4302 <action function="set">tw_password_fail=1</action>
4303 <action function="page">decrypt</action>
4304 </actions>
4305 </action>
4306
4307 <action>
4308 <conditions>
4309 <condition var1="tw_operation_state" var2="1"/>
4310 <condition var1="tw_operation_status" op="=" var2="0"/>
4311 </conditions>
4312 <actions>
4313 <action function="set">tw_page_done=1</action>
4314 <action function="page">main</action>
4315 </actions>
4316 </action>
4317 </page>
4318
z31s1g28f0a922015-11-07 18:50:22 +01004319 <page name="terminalcommand">
4320 <template name="page"/>
4321
4322 <fill color="%background_color%">
4323 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4324 </fill>
4325
z31s1g56189522016-01-13 19:12:40 +01004326 <terminal>
4327 <condition var1="tw_hide_kb" var2="0"/>
4328 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4329 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004330
z31s1g56189522016-01-13 19:12:40 +01004331 <terminal>
4332 <condition var1="tw_hide_kb" var2="1"/>
4333 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4334 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004335
z31s1g56189522016-01-13 19:12:40 +01004336 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004337
z31s1g56189522016-01-13 19:12:40 +01004338 <object type="fill" color="#000000">
4339 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4340 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004341
z31s1g608d7ff2016-01-18 19:47:25 +01004342 <button>
z31s1g56189522016-01-13 19:12:40 +01004343 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4344 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4345 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4346 <image resource="back" />
4347 <condition var1="tw_busy" var2="0" />
4348 <actions>
4349 <action function="set">tw_hide_kb=0</action>
4350 <action function="page">advanced</action>
4351 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004352 </button>
z31s1g56189522016-01-13 19:12:40 +01004353
z31s1g608d7ff2016-01-18 19:47:25 +01004354 <button>
z31s1g56189522016-01-13 19:12:40 +01004355 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4356 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4357 <condition var1="tw_hide_kb" op="=" var2="0" />
4358 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4359 <image resource="kb_hide" />
4360 <condition var1="tw_busy" var2="0" />
4361 <actions>
4362 <action function="set">tw_hide_kb=1</action>
4363 <action function="page">terminalcommand</action>
4364 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004365 </button>
z31s1g56189522016-01-13 19:12:40 +01004366
z31s1g608d7ff2016-01-18 19:47:25 +01004367 <button>
z31s1g56189522016-01-13 19:12:40 +01004368 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4369 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4370 <condition var1="tw_hide_kb" op="=" var2="1" />
4371 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4372 <image resource="kb_show" />
4373 <condition var1="tw_busy" var2="0" />
4374 <actions>
4375 <action function="set">tw_hide_kb=0</action>
4376 <action function="page">terminalcommand</action>
4377 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004378 </button>
z31s1g56189522016-01-13 19:12:40 +01004379
z31s1g608d7ff2016-01-18 19:47:25 +01004380 <button>
z31s1g56189522016-01-13 19:12:40 +01004381 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4382 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4383 <image resource="home" />
4384 <condition var1="tw_busy" var2="0" />
4385 <actions>
4386 <action function="set">tw_hide_kb=0</action>
4387 <action function="key">home</action>
4388 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004389 </button>
z31s1g56189522016-01-13 19:12:40 +01004390
z31s1g608d7ff2016-01-18 19:47:25 +01004391 <button>
z31s1g56189522016-01-13 19:12:40 +01004392 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4393 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4394 <condition var1="tw_hide_kb" op="=" var2="0" />
4395 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4396 <image resource="kb_hide" />
4397 <condition var1="tw_busy" var2="0" />
4398 <actions>
4399 <action function="set">tw_hide_kb=1</action>
4400 <action function="page">terminalcommand</action>
4401 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004402 </button>
z31s1g56189522016-01-13 19:12:40 +01004403
z31s1g608d7ff2016-01-18 19:47:25 +01004404 <button>
z31s1g56189522016-01-13 19:12:40 +01004405 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4406 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4407 <condition var1="tw_hide_kb" op="=" var2="1" />
4408 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4409 <image resource="kb_show" />
4410 <condition var1="tw_busy" var2="0" />
4411 <actions>
4412 <action function="set">tw_hide_kb=0</action>
4413 <action function="page">terminalcommand</action>
4414 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004415 </button>
z31s1g56189522016-01-13 19:12:40 +01004416
z31s1g608d7ff2016-01-18 19:47:25 +01004417 <button>
z31s1g56189522016-01-13 19:12:40 +01004418 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4419 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4420 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4421 <image resource="back" />
4422 <condition var1="tw_busy" var2="0" />
4423 <actions>
4424 <action function="set">tw_hide_kb=0</action>
4425 <action function="page">advanced</action>
4426 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004427 </button>
z31s1g56189522016-01-13 19:12:40 +01004428
z31s1g608d7ff2016-01-18 19:47:25 +01004429 <button>
z31s1g56189522016-01-13 19:12:40 +01004430 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4431 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4432 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4433 <image resource="back" />
4434 <condition var1="tw_busy" var2="0" />
4435 <actions>
4436 <action function="set">tw_hide_kb=0</action>
4437 <action function="page">advanced</action>
4438 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004439 </button>
z31s1g56189522016-01-13 19:12:40 +01004440
z31s1g608d7ff2016-01-18 19:47:25 +01004441 <button>
z31s1g56189522016-01-13 19:12:40 +01004442 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4443 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4444 <condition var1="tw_hide_kb" op="=" var2="0" />
4445 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4446 <image resource="kb_hide" />
4447 <condition var1="tw_busy" var2="0" />
4448 <actions>
4449 <action function="set">tw_hide_kb=1</action>
4450 <action function="page">terminalcommand</action>
4451 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004452 </button>
z31s1g56189522016-01-13 19:12:40 +01004453
z31s1g608d7ff2016-01-18 19:47:25 +01004454 <button>
z31s1g56189522016-01-13 19:12:40 +01004455 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4456 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4457 <condition var1="tw_hide_kb" op="=" var2="1" />
4458 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4459 <image resource="kb_show" />
4460 <condition var1="tw_busy" var2="0" />
4461 <actions>
4462 <action function="set">tw_hide_kb=0</action>
4463 <action function="page">terminalcommand</action>
4464 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004465 </button>
z31s1g56189522016-01-13 19:12:40 +01004466
z31s1g608d7ff2016-01-18 19:47:25 +01004467 <button>
z31s1g56189522016-01-13 19:12:40 +01004468 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4469 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4470 <image resource="home" />
4471 <condition var1="tw_busy" var2="0" />
4472 <actions>
4473 <action function="set">tw_hide_kb=0</action>
4474 <action function="key">home</action>
4475 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004476 </button>
z31s1g56189522016-01-13 19:12:40 +01004477
z31s1g608d7ff2016-01-18 19:47:25 +01004478 <button>
z31s1g56189522016-01-13 19:12:40 +01004479 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4480 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4481 <condition var1="tw_hide_kb" op="=" var2="0" />
4482 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4483 <image resource="kb_hide" />
4484 <condition var1="tw_busy" var2="0" />
4485 <actions>
4486 <action function="set">tw_hide_kb=1</action>
4487 <action function="page">terminalcommand</action>
4488 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004489 </button>
z31s1g56189522016-01-13 19:12:40 +01004490
z31s1g608d7ff2016-01-18 19:47:25 +01004491 <button>
z31s1g56189522016-01-13 19:12:40 +01004492 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4493 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4494 <condition var1="tw_hide_kb" op="=" var2="1" />
4495 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4496 <image resource="kb_show" />
4497 <condition var1="tw_busy" var2="0" />
4498 <actions>
4499 <action function="set">tw_hide_kb=0</action>
4500 <action function="page">terminalcommand</action>
4501 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004502 </button>
z31s1g56189522016-01-13 19:12:40 +01004503
z31s1g608d7ff2016-01-18 19:47:25 +01004504 <button>
z31s1g56189522016-01-13 19:12:40 +01004505 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4506 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4507 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4508 <image resource="back" />
4509 <condition var1="tw_busy" var2="0" />
4510 <actions>
4511 <action function="set">tw_hide_kb=0</action>
4512 <action function="page">advanced</action>
4513 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004514 </button>
z31s1g56189522016-01-13 19:12:40 +01004515
z31s1g608d7ff2016-01-18 19:47:25 +01004516 <button>
z31s1g56189522016-01-13 19:12:40 +01004517 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4518 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4519 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4520 <image resource="back" />
4521 <condition var1="tw_busy" var2="0" />
4522 <actions>
4523 <action function="set">tw_hide_kb=0</action>
4524 <action function="page">advanced</action>
4525 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004526 </button>
z31s1g56189522016-01-13 19:12:40 +01004527
z31s1g608d7ff2016-01-18 19:47:25 +01004528 <button>
z31s1g56189522016-01-13 19:12:40 +01004529 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4530 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4531 <condition var1="tw_hide_kb" op="=" var2="0" />
4532 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4533 <image resource="kb_hide" />
4534 <condition var1="tw_busy" var2="0" />
4535 <actions>
4536 <action function="set">tw_hide_kb=1</action>
4537 <action function="page">terminalcommand</action>
4538 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004539 </button>
z31s1g56189522016-01-13 19:12:40 +01004540
z31s1g608d7ff2016-01-18 19:47:25 +01004541 <button>
z31s1g56189522016-01-13 19:12:40 +01004542 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4543 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4544 <condition var1="tw_hide_kb" op="=" var2="1" />
4545 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4546 <image resource="kb_show" />
4547 <condition var1="tw_busy" var2="0" />
4548 <actions>
4549 <action function="set">tw_hide_kb=0</action>
4550 <action function="page">terminalcommand</action>
4551 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004552 </button>
z31s1g56189522016-01-13 19:12:40 +01004553
z31s1g608d7ff2016-01-18 19:47:25 +01004554 <button>
z31s1g56189522016-01-13 19:12:40 +01004555 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4556 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4557 <image resource="home" />
4558 <condition var1="tw_busy" var2="0" />
4559 <actions>
4560 <action function="set">tw_hide_kb=0</action>
4561 <action function="key">home</action>
4562 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004563 </button>
z31s1g56189522016-01-13 19:12:40 +01004564
z31s1g608d7ff2016-01-18 19:47:25 +01004565 <button>
z31s1g56189522016-01-13 19:12:40 +01004566 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4567 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4568 <condition var1="tw_hide_kb" op="=" var2="0" />
4569 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4570 <image resource="kb_hide" />
4571 <condition var1="tw_busy" var2="0" />
4572 <actions>
4573 <action function="set">tw_hide_kb=1</action>
4574 <action function="page">terminalcommand</action>
4575 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004576 </button>
z31s1g56189522016-01-13 19:12:40 +01004577
z31s1g608d7ff2016-01-18 19:47:25 +01004578 <button>
z31s1g56189522016-01-13 19:12:40 +01004579 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4580 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4581 <condition var1="tw_hide_kb" op="=" var2="1" />
4582 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4583 <image resource="kb_show" />
4584 <condition var1="tw_busy" var2="0" />
4585 <actions>
4586 <action function="set">tw_hide_kb=0</action>
4587 <action function="page">terminalcommand</action>
4588 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004589 </button>
z31s1g56189522016-01-13 19:12:40 +01004590
z31s1g608d7ff2016-01-18 19:47:25 +01004591 <button>
z31s1g56189522016-01-13 19:12:40 +01004592 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4593 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4594 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4595 <image resource="back" />
4596 <condition var1="tw_busy" var2="0" />
4597 <actions>
4598 <action function="set">tw_hide_kb=0</action>
4599 <action function="page">advanced</action>
4600 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004601 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004602
4603 <action>
4604 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004605 <actions>
4606 <action function="page">main</action>
4607 <action function="set">tw_hide_kb=0</action>
4608 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </action>
4610
4611 <action>
4612 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004613 <actions>
4614 <action function="page">advanced</action>
4615 <action function="set">tw_hide_kb=0</action>
4616 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004617 </action>
z31s1g56189522016-01-13 19:12:40 +01004618
4619 <object type="action">
4620 <touch key="power+voldown" />
4621 <action function="screenshot" />
4622 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </page>
4624
4625 <page name="sideload">
4626 <template name="page"/>
4627
4628 <text style="text_l">
4629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 </text>
4632
4633 <text style="text_m">
4634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004635 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004636 </text>
4637
4638 <checkbox>
4639 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004641 <data variable="tw_wipe_dalvik"/>
4642 </checkbox>
4643
4644 <checkbox>
4645 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 <data variable="tw_wipe_cache"/>
4648 </checkbox>
4649
4650 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <actions>
4653 <action function="set">tw_back=advanced</action>
4654 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004655 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4656 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4657 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004658 <action function="set">tw_has_cancel=1</action>
4659 <action function="set">tw_show_reboot=1</action>
4660 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4661 <action function="page">action_page</action>
4662 </actions>
4663 </slider>
4664
4665 <action>
4666 <touch key="home"/>
4667 <action function="page">main</action>
4668 </action>
4669
4670 <action>
4671 <touch key="back"/>
4672 <action function="page">advanced</action>
4673 </action>
4674 </page>
4675
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004676 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004677 <template name="page"/>
4678
4679 <text style="text_l">
4680 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004681 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 </text>
4683
4684 <text style="text_m">
4685 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004686 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 </text>
4688
4689 <text style="text_m_accent">
4690 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004691 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004692 </text>
4693
z31s1g28f0a922015-11-07 18:50:22 +01004694 <text style="text_m_fail">
4695 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004696 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 </text>
4698
4699 <text style="text_m_fail">
4700 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004701 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
4704 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004705 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004706 <actions>
4707 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004708 <action function="set">tw_action=fixcontexts</action>
4709 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4710 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004711 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004712 <action function="set">tw_show_reboot=1</action>
4713 <action function="page">action_page</action>
4714 </actions>
4715 </slider>
4716
4717 <action>
4718 <touch key="home"/>
4719 <action function="page">main</action>
4720 </action>
4721
4722 <action>
4723 <touch key="back"/>
4724 <action function="page">advanced</action>
4725 </action>
4726 </page>
4727
4728 <page name="installsu">
4729 <template name="page"/>
4730
4731 <text style="text_l">
4732 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004733 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004734 </text>
4735
4736 <text style="text_m">
4737 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004738 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004739 </text>
4740
4741 <text style="text_m_accent">
4742 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004743 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004744 </text>
4745
4746 <text style="text_m">
4747 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004749 </text>
4750
4751 <text style="text_m">
4752 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004753 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004754 </text>
4755
4756 <button style="main_button_half_width">
4757 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004758 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004759 <action function="set">tw_page_done=1</action>
4760 </button>
4761
4762 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004763 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004764 <actions>
4765 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004766 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004767 <action function="set">tw_action_text2=</action>
4768 <action function="page">singleaction_page</action>
4769 </actions>
4770 </slider>
4771 </page>
4772
4773 <page name="slideout">
4774 <fill color="%background_color%">
4775 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4776 </fill>
4777
4778 <console>
4779 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4780 </console>
4781
4782 <button>
4783 <fill color="%transparent%"/>
4784 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4785 <action function="overlay"/>
4786 </button>
4787
4788 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004789 <touch key="power"/>
4790 <action function="togglebacklight"/>
4791 </action>
4792
4793 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004794 <touch key="power+voldown"/>
4795 <action function="screenshot"/>
4796 </action>
4797 </page>
4798
4799 <page name="select_storage">
4800 <fill color="%semi_transparent%">
4801 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4802 </fill>
4803
4804 <fill color="%background_color%">
4805 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4806 </fill>
4807
4808 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004809 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004810 <data name="tw_storage_path"/>
4811 <listtype name="storage"/>
4812 </partitionlist>
4813
4814 <button style="button_third_width">
4815 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004816 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004817 <actions>
4818 <action function="set">tw_clear_destination=%tw_back%</action>
4819 <action function="overlay"/>
4820 <action function="page">clear_vars</action>
4821 </actions>
4822 </button>
4823
4824 <fill color="#000000">
4825 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4826 </fill>
4827
4828 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004829 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4830 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4831 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4832 <image resource="back" />
4833 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004834 <actions>
4835 <action function="overlay"/>
4836 <action function="key">%tw_back%</action>
4837 </actions>
4838 </button>
4839
4840 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004841 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4842 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4843 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4844 <image resource="console" />
4845 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004846 <action function="overlay">slideout</action>
4847 </button>
4848
4849 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004850 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4851 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4852 <image resource="home" />
4853 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004854 <actions>
4855 <action function="overlay"/>
4856 <action function="key">home</action>
4857 </actions>
4858 </button>
4859
4860 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004861 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4862 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4863 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4864 <image resource="console" />
4865 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004866 <action function="overlay">slideout</action>
4867 </button>
4868
4869 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004870 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4871 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4872 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4873 <image resource="back" />
4874 <condition var1="tw_busy" var2="0" />
4875 <actions>
4876 <action function="overlay"/>
4877 <action function="key">%tw_back%</action>
4878 </actions>
4879 </button>
4880
4881 <button>
4882 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4883 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4884 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4885 <image resource="back" />
4886 <condition var1="tw_busy" var2="0" />
4887 <actions>
4888 <action function="overlay"/>
4889 <action function="key">%tw_back%</action>
4890 </actions>
4891 </button>
4892
4893 <button>
4894 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4895 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4896 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4897 <image resource="console" />
4898 <condition var1="tw_busy" var2="0" />
4899 <action function="overlay">slideout</action>
4900 </button>
4901
4902 <button>
4903 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4904 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4905 <image resource="home" />
4906 <condition var1="tw_busy" var2="0" />
4907 <actions>
4908 <action function="overlay"/>
4909 <action function="key">home</action>
4910 </actions>
4911 </button>
4912
4913 <button>
4914 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4915 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4916 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4917 <image resource="console" />
4918 <condition var1="tw_busy" var2="0" />
4919 <action function="overlay">slideout</action>
4920 </button>
4921
4922 <button>
4923 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4924 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4925 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4926 <image resource="back" />
4927 <condition var1="tw_busy" var2="0" />
4928 <actions>
4929 <action function="overlay"/>
4930 <action function="key">%tw_back%</action>
4931 </actions>
4932 </button>
4933
4934 <button>
4935 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4936 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4937 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4938 <image resource="back" />
4939 <condition var1="tw_busy" var2="0" />
4940 <actions>
4941 <action function="overlay"/>
4942 <action function="key">%tw_back%</action>
4943 </actions>
4944 </button>
4945
4946 <button>
4947 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4948 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4949 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4950 <image resource="console" />
4951 <condition var1="tw_busy" var2="0" />
4952 <action function="overlay">slideout</action>
4953 </button>
4954
4955 <button>
4956 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4957 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4958 <image resource="home" />
4959 <condition var1="tw_busy" var2="0" />
4960 <actions>
4961 <action function="overlay"/>
4962 <action function="key">home</action>
4963 </actions>
4964 </button>
4965
4966 <button>
4967 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4968 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4969 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="console" />
4971 <condition var1="tw_busy" var2="0" />
4972 <action function="overlay">slideout</action>
4973 </button>
4974
4975 <button>
4976 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4977 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4978 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4979 <image resource="back" />
4980 <condition var1="tw_busy" var2="0" />
4981 <actions>
4982 <action function="overlay"/>
4983 <action function="key">%tw_back%</action>
4984 </actions>
4985 </button>
4986
4987 <action>
4988 <touch key="power+voldown"/>
4989 <action function="screenshot"/>
4990 </action>
4991 </page>
4992
4993 <page name="select_language">
4994 <fill color="%semi_transparent%">
4995 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4996 </fill>
4997
4998 <fill color="%background_color%">
4999 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5000 </fill>
5001
5002 <listbox>
5003 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5004 <text>{@select_language=Select Language:}</text>
5005 <icon selected="radio_true" unselected="radio_false" />
5006 <data name="tw_language" />
5007 </listbox>
5008
5009 <button style="button_third_width">
5010 <placement x="%dialog_button_x%" y="%row13_y%"/>
5011 <text>{@ok_btn=OK}</text>
5012 <actions>
5013 <action function="overlay"/>
5014 <action function="setlanguage"></action>
5015 </actions>
5016 </button>
5017
5018 <fill color="#000000">
5019 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5020 </fill>
5021
5022 <button>
5023 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5024 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5025 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5026 <image resource="back" />
5027 <condition var1="tw_busy" var2="0" />
5028 <actions>
5029 <action function="overlay"/>
5030 <action function="key">%tw_back%</action>
5031 </actions>
5032 </button>
5033
5034 <button>
5035 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5036 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5037 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5038 <image resource="console" />
5039 <condition var1="tw_busy" var2="0" />
5040 <action function="overlay">slideout</action>
5041 </button>
5042
5043 <button>
5044 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5045 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5046 <image resource="home" />
5047 <condition var1="tw_busy" var2="0" />
5048 <actions>
5049 <action function="overlay"/>
5050 <action function="key">home</action>
5051 </actions>
5052 </button>
5053
5054 <button>
5055 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5056 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5057 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5058 <image resource="console" />
5059 <condition var1="tw_busy" var2="0" />
5060 <action function="overlay">slideout</action>
5061 </button>
5062
5063 <button>
5064 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5065 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5066 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5067 <image resource="back" />
5068 <condition var1="tw_busy" var2="0" />
5069 <actions>
5070 <action function="overlay"/>
5071 <action function="key">%tw_back%</action>
5072 </actions>
5073 </button>
5074
5075 <button>
5076 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5077 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5078 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5079 <image resource="back" />
5080 <condition var1="tw_busy" var2="0" />
5081 <actions>
5082 <action function="overlay"/>
5083 <action function="key">%tw_back%</action>
5084 </actions>
5085 </button>
5086
5087 <button>
5088 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5089 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5090 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5091 <image resource="console" />
5092 <condition var1="tw_busy" var2="0" />
5093 <action function="overlay">slideout</action>
5094 </button>
5095
5096 <button>
5097 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5098 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5099 <image resource="home" />
5100 <condition var1="tw_busy" var2="0" />
5101 <actions>
5102 <action function="overlay"/>
5103 <action function="key">home</action>
5104 </actions>
5105 </button>
5106
5107 <button>
5108 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5109 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5110 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5111 <image resource="console" />
5112 <condition var1="tw_busy" var2="0" />
5113 <action function="overlay">slideout</action>
5114 </button>
5115
5116 <button>
5117 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5118 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5119 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5120 <image resource="back" />
5121 <condition var1="tw_busy" var2="0" />
5122 <actions>
5123 <action function="overlay"/>
5124 <action function="key">%tw_back%</action>
5125 </actions>
5126 </button>
5127
5128 <button>
5129 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5130 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5131 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5132 <image resource="back" />
5133 <condition var1="tw_busy" var2="0" />
5134 <actions>
5135 <action function="overlay"/>
5136 <action function="key">%tw_back%</action>
5137 </actions>
5138 </button>
5139
5140 <button>
5141 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5142 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5143 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5144 <image resource="console" />
5145 <condition var1="tw_busy" var2="0" />
5146 <action function="overlay">slideout</action>
5147 </button>
5148
5149 <button>
5150 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5151 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5152 <image resource="home" />
5153 <condition var1="tw_busy" var2="0" />
5154 <actions>
5155 <action function="overlay"/>
5156 <action function="key">home</action>
5157 </actions>
5158 </button>
5159
5160 <button>
5161 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5162 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5163 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5164 <image resource="console" />
5165 <condition var1="tw_busy" var2="0" />
5166 <action function="overlay">slideout</action>
5167 </button>
5168
5169 <button>
5170 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5171 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5172 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5173 <image resource="back" />
5174 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005175 <actions>
5176 <action function="overlay"/>
5177 <action function="key">%tw_back%</action>
5178 </actions>
5179 </button>
5180
5181 <action>
5182 <touch key="power+voldown"/>
5183 <action function="screenshot"/>
5184 </action>
5185 </page>
5186 </pages>
5187</recovery>