blob: 1302c2931fac2169c1a1c184acfd49a6052751da [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>
2889 </listbox>
2890
2891 <checkbox>
2892 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002893 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002894 <data variable="tw_samsung_navbar"/>
2895 </checkbox>
2896
2897 <button style="radiobutton">
2898 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2899 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002900 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002901 <image resource="radio_false"/>
2902 <action function="set">tw_navbar_button_position=0</action>
2903 </button>
2904
2905 <button style="radiobutton">
2906 <condition var1="tw_navbar_button_position" var2="0"/>
2907 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002908 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002909 <image resource="radio_true"/>
2910 <action function="set">tw_navbar_button_position=0</action>
2911 </button>
2912
2913 <button style="radiobutton">
2914 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2915 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002916 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002917 <image resource="radio_false"/>
2918 <action function="set">tw_navbar_button_position=1</action>
2919 </button>
2920
2921 <button style="radiobutton">
2922 <condition var1="tw_navbar_button_position" var2="1"/>
2923 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002924 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002925 <image resource="radio_true"/>
2926 <action function="set">tw_navbar_button_position=1</action>
2927 </button>
2928
2929 <button style="radiobutton">
2930 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2931 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002932 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002933 <image resource="radio_false"/>
2934 <action function="set">tw_navbar_button_position=2</action>
2935 </button>
2936
2937 <button style="radiobutton">
2938 <condition var1="tw_navbar_button_position" var2="2"/>
2939 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002940 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002941 <image resource="radio_true"/>
2942 <action function="set">tw_navbar_button_position=2</action>
2943 </button>
2944
2945 <button style="main_button_half_width">
2946 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002947 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002948 <action function="restoredefaultsettings"/>
2949 </button>
2950
2951 <action>
2952 <touch key="home"/>
2953 <action function="page">main</action>
2954 </action>
2955
2956 <action>
2957 <touch key="back"/>
2958 <action function="page">main</action>
2959 </action>
2960 </page>
2961
2962 <page name="settings_timezone">
2963 <template name="page"/>
2964
2965 <text style="text_l">
2966 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 </text>
2969
2970 <text style="text_m">
2971 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002972 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002973 </text>
2974
2975 <template name="tabs_settings"/>
2976
2977 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002979 </fill>
2980
2981 <listbox>
2982 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002984 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2986 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2987 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2988 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2989 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2990 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2991 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2992 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2993 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2994 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2995 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2996 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2997 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2998 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2999 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3000 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3001 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3002 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3003 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3004 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3005 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3006 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3007 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3008 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </listbox>
3010
3011 <text style="text_m_accent">
3012 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </text>
3015
3016 <button style="button_quarter_width">
3017 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 <action function="set">tw_time_zone_guioffset=0</action>
3020 </button>
3021
3022 <button style="button_quarter_width">
3023 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <action function="set">tw_time_zone_guioffset=15</action>
3026 </button>
3027
3028 <button style="button_quarter_width">
3029 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003031 <action function="set">tw_time_zone_guioffset=30</action>
3032 </button>
3033
3034 <button style="button_quarter_width">
3035 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 <action function="set">tw_time_zone_guioffset=45</action>
3038 </button>
3039
3040 <checkbox>
3041 <placement x="%col1_x_right%" y="%row7_y%"/>
3042 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003043 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003044 <data variable="tw_time_zone_guidst"/>
3045 <image checked="checkbox_true" unchecked="checkbox_false"/>
3046 </checkbox>
3047
3048 <text color="%text_color%">
3049 <font resource="font_m"/>
3050 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <button>
3055 <highlight color="%highlight_color%"/>
3056 <placement x="%col2_x_right%" y="%row15a_y%"/>
3057 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003059 <image resource="main_button_half_width"/>
3060 <action function="setguitimezone"/>
3061 </button>
3062
3063 <action>
3064 <touch key="home"/>
3065 <action function="page">main</action>
3066 </action>
3067
3068 <action>
3069 <touch key="back"/>
3070 <action function="page">main</action>
3071 </action>
3072 </page>
3073
3074 <page name="settings_screen">
3075 <template name="page"/>
3076
3077 <text style="text_l">
3078 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003080 </text>
3081
3082 <text style="text_m">
3083 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </text>
3086
3087 <template name="tabs_settings"/>
3088
3089 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003091 </fill>
3092
3093 <button>
3094 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3095 <font resource="font_m" color="%text_color%"/>
3096 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3097 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003099 <image resource="checkbox_false"/>
3100 <action function="set">tw_screen_timeout_secs=60</action>
3101 </button>
3102
3103 <button>
3104 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3105 <font resource="font_m" color="%text_color%"/>
3106 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3107 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003108 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003109 <image resource="checkbox_true"/>
3110 <action function="set">tw_screen_timeout_secs=0</action>
3111 </button>
3112
3113 <slidervalue>
3114 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3115 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3116 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003117 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003118 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3119 </slidervalue>
3120
3121 <slidervalue>
3122 <condition var1="tw_has_brightnesss_file" var2="1"/>
3123 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003124 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003125 <data variable="tw_brightness_pct" min="10" max="100"/>
3126 <actions>
3127 <action function="set">tw_brightness=%tw_brightness_max%</action>
3128 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3129 <action function="compute">tw_brightness/100</action>
3130 <action function="setbrightness">%tw_brightness%</action>
3131 </actions>
3132 </slidervalue>
3133
3134 <action>
3135 <touch key="home"/>
3136 <action function="page">main</action>
3137 </action>
3138
3139 <action>
3140 <touch key="back"/>
3141 <action function="page">main</action>
3142 </action>
3143 </page>
3144
3145 <page name="settings_vibration">
3146 <template name="page"/>
3147
3148 <text style="text_l">
3149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 </text>
3152
3153 <text style="text_m">
3154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 </text>
3157
3158 <template name="tabs_settings"/>
3159
3160 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003161 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003162 </fill>
3163
3164 <slidervalue>
3165 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003167 <data variable="tw_button_vibrate" min="0" max="300"/>
3168 </slidervalue>
3169
3170 <slidervalue>
3171 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3174 </slidervalue>
3175
3176 <slidervalue>
3177 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003179 <data variable="tw_action_vibrate" min="0" max="500"/>
3180 </slidervalue>
3181
3182 <action>
3183 <touch key="home"/>
3184 <action function="page">main</action>
3185 </action>
3186
3187 <action>
3188 <touch key="back"/>
3189 <action function="page">main</action>
3190 </action>
3191 </page>
3192
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <page name="settings_language">
3194 <template name="page"/>
3195
3196 <text style="text_l">
3197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3198 <text>{@settings_hdr=Settings}</text>
3199 </text>
3200
3201 <text style="text_m">
3202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3203 <text>{@language_hdr=Language - %tw_language_display%}</text>
3204 </text>
3205
3206 <template name="tabs_settings"/>
3207
3208 <fill color="%text_color%">
3209 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3210 </fill>
3211
3212 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003213 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003214 <text>{@select_language=Select Language:}</text>
3215 <icon selected="radio_true" unselected="radio_false" />
3216 <data name="tw_language" />
3217 </listbox>
3218
z31s1g56189522016-01-13 19:12:40 +01003219 <button>
3220 <highlight color="%highlight_color%"/>
3221 <placement x="%col2_x_right%" y="%row15a_y%"/>
3222 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003224 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <action function="setlanguage"></action>
3226 </button>
3227
3228 <action>
3229 <touch key="home" />
3230 <action function="page">main</action>
3231 </action>
3232
3233 <action>
3234 <touch key="back" />
3235 <action function="page">settings</action>
3236 </action>
3237 </page>
3238
Matt Mower32676622017-01-18 18:56:13 -06003239 <page name="copylog">
3240 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003241
Matt Mower32676622017-01-18 18:56:13 -06003242 <text style="text_l">
3243 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3244 <text>{@copying_log=Copy Logs to SD Card}</text>
3245 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003246
Matt Mower32676622017-01-18 18:56:13 -06003247 <checkbox>
3248 <placement x="%indent%" y="%row4_y%"/>
3249 <text>{@include_kernel_log=Include Kernel Log}</text>
3250 <data variable="tw_include_kernel_log" value="1"/>
3251 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003252
Matt Mower32676622017-01-18 18:56:13 -06003253 <slider>
3254 <text>{@copying_log=Copy Logs to SD Card}</text>
3255 <actions>
3256 <action function="set">tw_back=advanced</action>
3257 <action function="set">tw_action=copylog</action>
3258 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3259 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3260 <action function="page">action_page</action>
3261 </actions>
3262 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003263
Matt Mower32676622017-01-18 18:56:13 -06003264 <action>
3265 <touch key="home"/>
3266 <action function="page">main</action>
3267 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003268
Matt Mower32676622017-01-18 18:56:13 -06003269 <action>
3270 <touch key="back"/>
3271 <actions>
3272 <action function="page">advanced</action>
3273 </actions>
3274 </action>
3275 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003276
z31s1g28f0a922015-11-07 18:50:22 +01003277 <page name="advanced">
3278 <template name="page"/>
3279
3280 <text style="text_l">
3281 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 </text>
3284
3285 <button style="main_button">
3286 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003288 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </button>
3290
3291 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003292 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003294 <text>{@fix_context_btn=Fix Contexts}</text>
3295 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </button>
3297
3298 <button style="main_button">
3299 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3300 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003302 <actions>
3303 <action function="set">partitionlisterror=0</action>
3304 <action function="page">partsdcardsel</action>
3305 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003306 </button>
3307
3308 <button style="main_button">
3309 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003310 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 <action function="page">filemanagerlist</action>
3312 </button>
3313
3314 <button style="main_button">
3315 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003317 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </button>
3319
3320 <button style="main_button">
3321 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <action function="reload"/>
3324 </button>
3325
3326 <button style="main_button">
3327 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <action function="page">sideload</action>
3330 </button>
3331
3332 <button style="main_button">
3333 <condition var1="tw_show_dumlock" var2="1"/>
3334 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003336 <action function="page">htcdumlock</action>
3337 </button>
3338
3339 <button style="main_button">
3340 <condition var1="tw_has_injecttwrp" var2="1"/>
3341 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <actions>
3344 <action function="set">tw_back=advanced</action>
3345 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3347 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3348 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3349 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <action function="page">confirm_action</action>
3351 </actions>
3352 </button>
3353
3354 <action>
3355 <touch key="home"/>
3356 <action function="page">main</action>
3357 </action>
3358
3359 <action>
3360 <touch key="back"/>
3361 <action function="page">main</action>
3362 </action>
3363 </page>
3364
Ethan Yonker483e9f42016-01-11 22:21:18 -06003365 <page name="partsdcardsel">
3366 <template name="page"/>
3367
3368 <text style="text_l">
3369 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3370 <text>{@advanced_hdr=Advanced}</text>
3371 </text>
3372
3373 <text style="text_m">
3374 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3375 <text>{@part_sd_hdr=Partition SD Card}</text>
3376 </text>
3377
z31s1g782e1c92016-01-30 16:50:09 +01003378 <partitionlist>
3379 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003380 <text>{@sel_storage_list=Select Storage}</text>
3381 <data name="tw_storage_path"/>
3382 <listtype name="storage"/>
3383 </partitionlist>
3384
z31s1g782e1c92016-01-30 16:50:09 +01003385 <text style="text_m_fail">
3386 <condition var1="partitionlisterror" var2="1"/>
3387 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3388 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3389 </text>
3390
3391 <button style="main_button_half_width">
3392 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003393 <text>{@ok_btn=OK}</text>
3394 <actions>
3395 <action function="getpartitiondetails">tw_storage_path</action>
3396 <action function="page">partsdcardcheck</action>
3397 </actions>
3398 </button>
3399
Ethan Yonker483e9f42016-01-11 22:21:18 -06003400 <action>
3401 <touch key="home"/>
3402 <action function="page">main</action>
3403 </action>
3404
3405 <action>
3406 <touch key="back"/>
3407 <action function="page">advanced</action>
3408 </action>
3409 </page>
3410
3411 <page name="partsdcardcheck">
3412 <action>
3413 <condition var1="tw_partition_removable" op="=" var2="1"/>
3414 <actions>
3415 <action function="set">partitionlisterror=0</action>
3416 <action function="page">partsdcard</action>
3417 </actions>
3418 </action>
3419
3420 <action>
3421 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3422 <actions>
3423 <action function="set">partitionlisterror=1</action>
3424 <action function="page">partsdcardsel</action>
3425 </actions>
3426 </action>
3427 </page>
3428
z31s1g28f0a922015-11-07 18:50:22 +01003429 <page name="partsdcard">
3430 <template name="page"/>
3431
3432 <text style="text_l">
3433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 </text>
3436
3437 <text style="text_m">
3438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <text style="text_m_fail">
3443 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </text>
3446
3447 <text style="text_m_fail">
3448 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 </text>
3451
3452 <text style="text_m_accent">
3453 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 </text>
3456
3457 <text style="text_m">
3458 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3459 <text>%tw_sdext_size%</text>
3460 </text>
3461
3462 <button style="button_quarter_width">
3463 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003465 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </button>
3467
3468 <button style="button_quarter_width">
3469 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003471 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003472 </button>
3473
3474 <text style="text_m_accent">
3475 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </text>
3478
3479 <text style="text_m">
3480 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3481 <text>%tw_swap_size%</text>
3482 </text>
3483
3484 <button style="button_quarter_width">
3485 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003487 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </button>
3489
3490 <button style="button_quarter_width">
3491 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003493 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003494 </button>
3495
3496 <text style="text_m_accent">
3497 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </text>
3500
3501 <text style="text_m">
3502 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3503 <text>%tw_sdpart_file_system%</text>
3504 </text>
3505
3506 <button style="button_quarter_width">
3507 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3508 <text>EXT3</text>
3509 <action function="set">tw_sdpart_file_system=ext3</action>
3510 </button>
3511
3512 <button style="button_quarter_width">
3513 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3514 <text>EXT4</text>
3515 <action function="set">tw_sdpart_file_system=ext4</action>
3516 </button>
3517
3518 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003519 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003520 <action function="page">partsdcardaction</action>
3521 <actions>
3522 <action function="set">tw_back=partsdcard</action>
3523 <action function="set">tw_action=partitionsd</action>
3524 <action function="set">tw_has_action2=1</action>
3525 <action function="set">tw_action2=set</action>
3526 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003527 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3528 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3529 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003530 <action function="page">action_page</action>
3531 </actions>
3532 </slider>
3533
3534 <action>
3535 <touch key="home"/>
3536 <action function="page">main</action>
3537 </action>
3538
3539 <action>
3540 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003541 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003542 </action>
3543 </page>
3544
3545 <page name="htcdumlock">
3546 <template name="page"/>
3547
3548 <text style="text_l">
3549 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003551 </text>
3552
3553 <text style="text_m">
3554 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </text>
3557
3558 <button style="main_button_m">
3559 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003561 <actions>
3562 <action function="set">tw_back=htcdumlock</action>
3563 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3565 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3566 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3567 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003568 <action function="page">confirm_action</action>
3569 </actions>
3570 </button>
3571
3572 <button style="main_button_m">
3573 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <actions>
3576 <action function="set">tw_back=htcdumlock</action>
3577 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3579 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3580 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3581 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003582 <action function="page">confirm_action</action>
3583 </actions>
3584 </button>
3585
3586 <button style="main_button_m">
3587 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <actions>
3590 <action function="set">tw_back=htcdumlock</action>
3591 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3593 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3594 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3595 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003596 <action function="page">confirm_action</action>
3597 </actions>
3598 </button>
3599
3600 <action>
3601 <touch key="home"/>
3602 <action function="page">main</action>
3603 </action>
3604
3605 <action>
3606 <touch key="back"/>
3607 <action function="page">advanced</action>
3608 </action>
3609 </page>
3610
3611 <page name="lock">
3612 <background color="%semi_transparent%"/>
3613
3614 <image>
3615 <image resource="unlock_icon"/>
3616 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3617 </image>
3618
3619 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <action function="overlay"/>
3622 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003623
3624 <action>
3625 <touch key="power"/>
3626 <action function="togglebacklight"/>
3627 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003628 </page>
3629
3630 <page name="filemanagerlist">
3631 <template name="page"/>
3632
3633 <text style="text_l">
3634 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <text style="text_m">
3639 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <template name="sort_options"/>
3644
3645 <fileselector>
3646 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3647 <text>%tw_file_location1%</text>
3648 <filter folders="1" files="1"/>
3649 <path name="tw_file_location1" default="/"/>
3650 <data name="tw_filename1"/>
3651 <selection name="tw_selection1"/>
3652 </fileselector>
3653
3654 <button style="main_button_half_width_low">
3655 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 <actions>
3658 <action function="set">tw_filename1=tw_file_location1</action>
3659 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003661 <action function="page">filemanageroptions</action>
3662 </actions>
3663 </button>
3664
3665 <action>
3666 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003668 <action function="set">tw_fm_isfolder=0</action>
3669 </actions>
3670 </action>
3671
3672 <action>
3673 <touch key="home"/>
3674 <action function="page">main</action>
3675 </action>
3676
3677 <action>
3678 <touch key="back"/>
3679 <action function="page">advanced</action>
3680 </action>
3681
3682 <action>
3683 <condition var1="tw_filename1" op="modified"/>
3684 <action function="page">filemanageroptions</action>
3685 </action>
3686 </page>
3687
3688 <page name="filemanageroptions">
3689 <template name="page"/>
3690
3691 <text style="text_l">
3692 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 </text>
3695
3696 <text style="text_m">
3697 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m_accent">
3702 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </text>
3705
3706 <text style="text_m">
3707 <placement x="%col1_x_left%" y="%row3_y%"/>
3708 <text>%tw_filename1%</text>
3709 </text>
3710
3711 <button style="main_button_half_width">
3712 <condition var1="tw_fm_isfolder" var2="0"/>
3713 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003714 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003715 <actions>
3716 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003718 <action function="page">choosedestinationfolder</action>
3719 </actions>
3720 </button>
3721
3722 <button style="main_button_half_width">
3723 <condition var1="tw_fm_isfolder" var2="1"/>
3724 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003726 <actions>
3727 <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 -05003728 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003729 <action function="page">choosedestinationfolder</action>
3730 </actions>
3731 </button>
3732
3733 <button style="main_button_half_width">
3734 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003736 <actions>
3737 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003739 <action function="page">choosedestinationfolder</action>
3740 </actions>
3741 </button>
3742
3743 <button style="main_button_half_width">
3744 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 <actions>
3747 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003749 <action function="set">tw_fm_text2=</action>
3750 <action function="set">tw_fm_text3=</action>
3751 <action function="set">tw_include_text3=0</action>
3752 <action function="set">tw_back=filemanageroptions</action>
3753 <action function="page">filemanagerconfirm</action>
3754 </actions>
3755 </button>
3756
3757 <button style="main_button_half_width">
3758 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <actions>
3761 <action function="set">tw_filemanager_rename=0000</action>
3762 <action function="set">tw_fm_text2=</action>
3763 <action function="set">tw_fm_text3=</action>
3764 <action function="set">tw_include_text3=0</action>
3765 <action function="set">tw_back=filemanageroptions</action>
3766 <action function="page">filemanagerchmod</action>
3767 </actions>
3768 </button>
3769
3770 <button style="main_button_half_width">
3771 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 <actions>
3774 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003775 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003776 <action function="set">tw_fm_text2=</action>
3777 <action function="set">tw_fm_text3=</action>
3778 <action function="set">tw_include_text3=0</action>
3779 <action function="set">tw_back=filemanageroptions</action>
3780 <action function="page">filemanagerconfirm</action>
3781 </actions>
3782 </button>
3783
3784 <button style="main_button_half_width">
3785 <condition var1="tw_fm_isfolder" var2="0"/>
3786 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 <actions>
3789 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003791 <action function="set">tw_filemanager_command=mv</action>
3792 <action function="page">filemanagerrenamefile</action>
3793 </actions>
3794 </button>
3795
3796 <button style="main_button_half_width">
3797 <condition var1="tw_fm_isfolder" var2="1"/>
3798 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 <actions>
3801 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003802 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003803 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3804 <action function="page">filemanagerrenamefolder</action>
3805 </actions>
3806 </button>
3807
3808 <action>
3809 <touch key="home"/>
3810 <action function="page">main</action>
3811 </action>
3812
3813 <action>
3814 <touch key="back"/>
3815 <action function="page">filemanagerlist</action>
3816 </action>
3817 </page>
3818
3819 <page name="choosedestinationfolder">
3820 <template name="page"/>
3821
3822 <text style="text_l">
3823 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </text>
3826
3827 <text style="text_m">
3828 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003830 </text>
3831
3832 <template name="sort_options"/>
3833
3834 <fileselector>
3835 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3836 <text>%tw_file_location2%</text>
3837 <filter folders="1" files="0"/>
3838 <path name="tw_file_location2" default="/"/>
3839 <data name="tw_filename2"/>
3840 <selection name="tw_selection2"/>
3841 </fileselector>
3842
3843 <button style="main_button_half_width_low">
3844 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003845 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003846 <actions>
3847 <action function="set">tw_fm_text2=to</action>
3848 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3849 <action function="set">tw_include_text3=1</action>
3850 <action function="set">tw_back=filemanageroptions</action>
3851 <action function="page">filemanagerconfirm</action>
3852 </actions>
3853 </button>
3854
3855 <action>
3856 <touch key="home"/>
3857 <action function="page">main</action>
3858 </action>
3859
3860 <action>
3861 <touch key="back"/>
3862 <action function="page">filemanageroptions</action>
3863 </action>
3864 </page>
3865
3866 <page name="filemanagerrenamefile">
3867 <template name="page"/>
3868
3869 <text style="text_l">
3870 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 </text>
3873
3874 <text style="text_m">
3875 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003877 </text>
3878
3879 <text style="text_m_accent">
3880 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003881 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003882 </text>
3883
3884 <input>
3885 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3886 <text>%tw_filemanager_rename%</text>
3887 <data name="tw_filemanager_rename"/>
3888 <restrict minlen="1" maxlen="128"/>
3889 <actions>
3890 <action function="set">tw_fm_text2=to</action>
3891 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3892 <action function="set">tw_include_text3=1</action>
3893 <action function="set">tw_back=filemanageroptions</action>
3894 <action function="page">filemanagerconfirm</action>
3895 </actions>
3896 </input>
3897
3898 <fill color="%accent_color%">
3899 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3900 </fill>
3901
3902 <button style="main_button_half_width_low">
3903 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003904 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003905 <action function="page">filemanageroptions</action>
3906 </button>
3907
3908 <template name="keyboardtemplate"/>
3909
3910 <action>
3911 <touch key="home"/>
3912 <action function="page">main</action>
3913 </action>
3914
3915 <action>
3916 <touch key="back"/>
3917 <action function="page">filemanageroptions</action>
3918 </action>
3919 </page>
3920
3921 <page name="filemanagerrenamefolder">
3922 <template name="page"/>
3923
3924 <text style="text_l">
3925 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <text style="text_m">
3930 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m_accent">
3935 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <input>
3940 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3941 <text>%tw_filemanager_rename%</text>
3942 <data name="tw_filemanager_rename"/>
3943 <restrict minlen="1" maxlen="128"/>
3944 <actions>
3945 <action function="set">tw_fm_text2=to</action>
3946 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3947 <action function="set">tw_include_text3=1</action>
3948 <action function="set">tw_back=filemanageroptions</action>
3949 <action function="page">filemanagerconfirm</action>
3950 </actions>
3951 </input>
3952
3953 <fill color="%accent_color%">
3954 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3955 </fill>
3956
3957 <button style="main_button_half_width_low">
3958 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 <action function="page">filemanageroptions</action>
3961 </button>
3962
3963 <template name="keyboardtemplate"/>
3964
3965 <action>
3966 <touch key="home"/>
3967 <action function="page">main</action>
3968 </action>
3969
3970 <action>
3971 <touch key="back"/>
3972 <action function="page">filemanageroptions</action>
3973 </action>
3974 </page>
3975
3976 <page name="filemanagerchmod">
3977 <template name="page"/>
3978
3979 <text style="text_l">
3980 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m">
3985 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <text style="text_m_accent">
3990 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </text>
3993
3994 <input>
3995 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3996 <text>%tw_filemanager_rename%</text>
3997 <data name="tw_filemanager_rename"/>
3998 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3999 <actions>
4000 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4001 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4002 <action function="set">tw_back=filemanageroptions</action>
4003 <action function="page">filemanagerconfirm</action>
4004 </actions>
4005 </input>
4006
4007 <fill color="%accent_color%">
4008 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4009 </fill>
4010
4011 <button style="main_button_half_width_low">
4012 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004013 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004014 <action function="page">filemanageroptions</action>
4015 </button>
4016
4017 <template name="keyboardtemplate"/>
4018
4019 <action>
4020 <touch key="home"/>
4021 <action function="page">main</action>
4022 </action>
4023
4024 <action>
4025 <touch key="back"/>
4026 <action function="page">filemanageroptions</action>
4027 </action>
4028 </page>
4029
4030 <page name="filemanagerconfirm">
4031 <template name="page"/>
4032
4033 <text style="text_l">
4034 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004036 </text>
4037
4038 <text style="text_m">
4039 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 </text>
4042
4043 <text style="text_m_accent">
4044 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4045 <text>%tw_fm_text1%</text>
4046 </text>
4047
4048 <text style="text_m">
4049 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4050 <text>%tw_filename1%</text>
4051 </text>
4052
4053 <text style="text_m_accent">
4054 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4055 <text>%tw_fm_text2%</text>
4056 </text>
4057
4058 <text style="text_m">
4059 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4060 <text>%tw_fm_text3%</text>
4061 </text>
4062
4063 <text style="text_m">
4064 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004066 </text>
4067
4068 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 <action function="page">filemanageraction</action>
4071 </slider>
4072
4073 <action>
4074 <touch key="back"/>
4075 <action function="page">%tw_back%</action>
4076 </action>
4077
4078 <action>
4079 <touch key="home"/>
4080 <action function="page">main</action>
4081 </action>
4082 </page>
4083
4084 <page name="filemanageraction">
4085 <template name="page"/>
4086
4087 <text style="text_l">
4088 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 </text>
4091
4092 <text style="text_m">
4093 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4094 <text>%tw_fm_text1%</text>
4095 </text>
4096
4097 <template name="console"/>
4098
4099 <template name="progress_bar"/>
4100
4101 <action>
4102 <conditions>
4103 <condition var1="tw_operation_state" var2="1"/>
4104 <condition var1="tw_operation_status" var2="0"/>
4105 </conditions>
4106 <actions>
4107 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004108 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004109 <action function="page">action_complete</action>
4110 </actions>
4111 </action>
4112
4113 <action>
4114 <conditions>
4115 <condition var1="tw_operation_state" var2="1"/>
4116 <condition var1="tw_operation_status" op="!=" var2="0"/>
4117 </conditions>
4118 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004120 <action function="page">action_complete</action>
4121 </actions>
4122 </action>
4123
4124 <action>
4125 <condition var1="tw_include_text3" var2="0"/>
4126 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4127 </action>
4128
4129 <action>
4130 <condition var1="tw_include_text3" var2="1"/>
4131 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4132 </action>
4133 </page>
4134
4135 <page name="decrypt">
4136 <template name="page"/>
4137
4138 <action>
4139 <condition var1="tw_crypto_pwtype" var2="2"/>
4140 <action function="page">decrypt_pattern</action>
4141 </action>
4142
4143 <text style="text_l">
4144 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m">
4149 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m_accent">
4154 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <input>
4159 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4160 <text>%tw_crypto_display%</text>
4161 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4162 <restrict minlen="1" maxlen="254"/>
4163 <action function="page">trydecrypt</action>
4164 </input>
4165
4166 <fill color="%accent_color%">
4167 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4168 </fill>
4169
4170 <fill color="%text_fail_color%">
4171 <condition var1="tw_password_fail" var2="1"/>
4172 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4173 </fill>
4174
4175 <text style="text_m_fail">
4176 <condition var1="tw_password_fail" var2="1"/>
4177 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004178 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 </text>
4180
4181 <button style="main_button_half_width_low">
4182 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004184 <actions>
4185 <action function="set">tw_page_done=1</action>
4186 <action function="page">main</action>
4187 </actions>
4188 </button>
4189
z31s1g608d7ff2016-01-18 19:47:25 +01004190 <button style="main_button_half_width_low">
4191 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4192 <text>{@sel_lang_btn=Select Language}</text>
4193 <action function="overlay">select_language</action>
4194 </button>
4195
z31s1g28f0a922015-11-07 18:50:22 +01004196 <template name="keyboardtemplate"/>
4197 </page>
4198
4199 <page name="decrypt_pattern">
4200 <template name="page"/>
4201
4202 <text style="text_l">
4203 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004205 </text>
4206
4207 <text style="text_m">
4208 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
4212 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004213 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004214 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004215 </text>
4216
Aleksa Saraib25a1832015-12-31 17:36:00 +01004217 <text style="text_m_fail">
4218 <condition var1="tw_password_fail" var2="1"/>
4219 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004220 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004221 </text>
4222
z31s1g28f0a922015-11-07 18:50:22 +01004223 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004224 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004225 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4226 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4227 <data name="tw_crypto_password"/>
4228 <action function="page">trydecrypt</action>
4229 </patternpassword>
4230
Aleksa Saraib25a1832015-12-31 17:36:00 +01004231 <button style="main_button_half_width_low">
4232 <placement x="%col_button_right%" y="%row1a_y%"/>
4233 <text>3x3</text>
4234 <action function="set">tw_gui_pattern_grid_size=3</action>
4235 </button>
4236
4237 <button style="main_button_half_width_low">
4238 <placement x="%col_button_right%" y="%row4a_y%"/>
4239 <text>4x4</text>
4240 <action function="set">tw_gui_pattern_grid_size=4</action>
4241 </button>
4242
4243 <button style="main_button_half_width_low">
4244 <placement x="%col_button_right%" y="%row7a_y%"/>
4245 <text>5x5</text>
4246 <action function="set">tw_gui_pattern_grid_size=5</action>
4247 </button>
4248
4249 <button style="main_button_half_width_low">
4250 <placement x="%col_button_right%" y="%row10a_y%"/>
4251 <text>6x6</text>
4252 <action function="set">tw_gui_pattern_grid_size=6</action>
4253 </button>
4254
z31s1g28f0a922015-11-07 18:50:22 +01004255 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004256 <placement x="%col1_x_right%" y="%row15a_y%"/>
4257 <text>{@sel_lang_btn=Select Language}</text>
4258 <action function="overlay">select_language</action>
4259 </button>
4260
4261 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004262 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <actions>
4265 <action function="set">tw_page_done=1</action>
4266 <action function="page">main</action>
4267 </actions>
4268 </button>
4269 </page>
4270
4271 <page name="trydecrypt">
4272 <template name="page"/>
4273
4274 <text style="text_l">
4275 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004276 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004277 </text>
4278
4279 <text style="text_m">
4280 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004281 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004282 </text>
4283
4284 <template name="console"/>
4285
4286 <template name="progress_bar"/>
4287
4288 <action>
4289 <action function="decrypt"/>
4290 </action>
4291
4292 <action>
4293 <conditions>
4294 <condition var1="tw_operation_state" var2="1"/>
4295 <condition var1="tw_operation_status" op="!=" var2="0"/>
4296 </conditions>
4297 <actions>
4298 <action function="set">tw_password_fail=1</action>
4299 <action function="page">decrypt</action>
4300 </actions>
4301 </action>
4302
4303 <action>
4304 <conditions>
4305 <condition var1="tw_operation_state" var2="1"/>
4306 <condition var1="tw_operation_status" op="=" var2="0"/>
4307 </conditions>
4308 <actions>
4309 <action function="set">tw_page_done=1</action>
4310 <action function="page">main</action>
4311 </actions>
4312 </action>
4313 </page>
4314
z31s1g28f0a922015-11-07 18:50:22 +01004315 <page name="terminalcommand">
4316 <template name="page"/>
4317
4318 <fill color="%background_color%">
4319 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4320 </fill>
4321
z31s1g56189522016-01-13 19:12:40 +01004322 <terminal>
4323 <condition var1="tw_hide_kb" var2="0"/>
4324 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4325 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004326
z31s1g56189522016-01-13 19:12:40 +01004327 <terminal>
4328 <condition var1="tw_hide_kb" var2="1"/>
4329 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4330 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004331
z31s1g56189522016-01-13 19:12:40 +01004332 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004333
z31s1g56189522016-01-13 19:12:40 +01004334 <object type="fill" color="#000000">
4335 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4336 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004337
z31s1g608d7ff2016-01-18 19:47:25 +01004338 <button>
z31s1g56189522016-01-13 19:12:40 +01004339 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4340 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4341 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4342 <image resource="back" />
4343 <condition var1="tw_busy" var2="0" />
4344 <actions>
4345 <action function="set">tw_hide_kb=0</action>
4346 <action function="page">advanced</action>
4347 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004348 </button>
z31s1g56189522016-01-13 19:12:40 +01004349
z31s1g608d7ff2016-01-18 19:47:25 +01004350 <button>
z31s1g56189522016-01-13 19:12:40 +01004351 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4352 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4353 <condition var1="tw_hide_kb" op="=" var2="0" />
4354 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4355 <image resource="kb_hide" />
4356 <condition var1="tw_busy" var2="0" />
4357 <actions>
4358 <action function="set">tw_hide_kb=1</action>
4359 <action function="page">terminalcommand</action>
4360 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004361 </button>
z31s1g56189522016-01-13 19:12:40 +01004362
z31s1g608d7ff2016-01-18 19:47:25 +01004363 <button>
z31s1g56189522016-01-13 19:12:40 +01004364 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4365 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4366 <condition var1="tw_hide_kb" op="=" var2="1" />
4367 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4368 <image resource="kb_show" />
4369 <condition var1="tw_busy" var2="0" />
4370 <actions>
4371 <action function="set">tw_hide_kb=0</action>
4372 <action function="page">terminalcommand</action>
4373 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004374 </button>
z31s1g56189522016-01-13 19:12:40 +01004375
z31s1g608d7ff2016-01-18 19:47:25 +01004376 <button>
z31s1g56189522016-01-13 19:12:40 +01004377 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4378 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4379 <image resource="home" />
4380 <condition var1="tw_busy" var2="0" />
4381 <actions>
4382 <action function="set">tw_hide_kb=0</action>
4383 <action function="key">home</action>
4384 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004385 </button>
z31s1g56189522016-01-13 19:12:40 +01004386
z31s1g608d7ff2016-01-18 19:47:25 +01004387 <button>
z31s1g56189522016-01-13 19:12:40 +01004388 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4389 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4390 <condition var1="tw_hide_kb" op="=" var2="0" />
4391 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4392 <image resource="kb_hide" />
4393 <condition var1="tw_busy" var2="0" />
4394 <actions>
4395 <action function="set">tw_hide_kb=1</action>
4396 <action function="page">terminalcommand</action>
4397 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004398 </button>
z31s1g56189522016-01-13 19:12:40 +01004399
z31s1g608d7ff2016-01-18 19:47:25 +01004400 <button>
z31s1g56189522016-01-13 19:12:40 +01004401 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4402 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4403 <condition var1="tw_hide_kb" op="=" var2="1" />
4404 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4405 <image resource="kb_show" />
4406 <condition var1="tw_busy" var2="0" />
4407 <actions>
4408 <action function="set">tw_hide_kb=0</action>
4409 <action function="page">terminalcommand</action>
4410 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004411 </button>
z31s1g56189522016-01-13 19:12:40 +01004412
z31s1g608d7ff2016-01-18 19:47:25 +01004413 <button>
z31s1g56189522016-01-13 19:12:40 +01004414 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4415 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4416 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4417 <image resource="back" />
4418 <condition var1="tw_busy" var2="0" />
4419 <actions>
4420 <action function="set">tw_hide_kb=0</action>
4421 <action function="page">advanced</action>
4422 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004423 </button>
z31s1g56189522016-01-13 19:12:40 +01004424
z31s1g608d7ff2016-01-18 19:47:25 +01004425 <button>
z31s1g56189522016-01-13 19:12:40 +01004426 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4427 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4428 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4429 <image resource="back" />
4430 <condition var1="tw_busy" var2="0" />
4431 <actions>
4432 <action function="set">tw_hide_kb=0</action>
4433 <action function="page">advanced</action>
4434 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004435 </button>
z31s1g56189522016-01-13 19:12:40 +01004436
z31s1g608d7ff2016-01-18 19:47:25 +01004437 <button>
z31s1g56189522016-01-13 19:12:40 +01004438 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4439 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4440 <condition var1="tw_hide_kb" op="=" var2="0" />
4441 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4442 <image resource="kb_hide" />
4443 <condition var1="tw_busy" var2="0" />
4444 <actions>
4445 <action function="set">tw_hide_kb=1</action>
4446 <action function="page">terminalcommand</action>
4447 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004448 </button>
z31s1g56189522016-01-13 19:12:40 +01004449
z31s1g608d7ff2016-01-18 19:47:25 +01004450 <button>
z31s1g56189522016-01-13 19:12:40 +01004451 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4452 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4453 <condition var1="tw_hide_kb" op="=" var2="1" />
4454 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4455 <image resource="kb_show" />
4456 <condition var1="tw_busy" var2="0" />
4457 <actions>
4458 <action function="set">tw_hide_kb=0</action>
4459 <action function="page">terminalcommand</action>
4460 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004461 </button>
z31s1g56189522016-01-13 19:12:40 +01004462
z31s1g608d7ff2016-01-18 19:47:25 +01004463 <button>
z31s1g56189522016-01-13 19:12:40 +01004464 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4465 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4466 <image resource="home" />
4467 <condition var1="tw_busy" var2="0" />
4468 <actions>
4469 <action function="set">tw_hide_kb=0</action>
4470 <action function="key">home</action>
4471 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004472 </button>
z31s1g56189522016-01-13 19:12:40 +01004473
z31s1g608d7ff2016-01-18 19:47:25 +01004474 <button>
z31s1g56189522016-01-13 19:12:40 +01004475 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4476 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4477 <condition var1="tw_hide_kb" op="=" var2="0" />
4478 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4479 <image resource="kb_hide" />
4480 <condition var1="tw_busy" var2="0" />
4481 <actions>
4482 <action function="set">tw_hide_kb=1</action>
4483 <action function="page">terminalcommand</action>
4484 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004485 </button>
z31s1g56189522016-01-13 19:12:40 +01004486
z31s1g608d7ff2016-01-18 19:47:25 +01004487 <button>
z31s1g56189522016-01-13 19:12:40 +01004488 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4489 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4490 <condition var1="tw_hide_kb" op="=" var2="1" />
4491 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4492 <image resource="kb_show" />
4493 <condition var1="tw_busy" var2="0" />
4494 <actions>
4495 <action function="set">tw_hide_kb=0</action>
4496 <action function="page">terminalcommand</action>
4497 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004498 </button>
z31s1g56189522016-01-13 19:12:40 +01004499
z31s1g608d7ff2016-01-18 19:47:25 +01004500 <button>
z31s1g56189522016-01-13 19:12:40 +01004501 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4502 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4503 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4504 <image resource="back" />
4505 <condition var1="tw_busy" var2="0" />
4506 <actions>
4507 <action function="set">tw_hide_kb=0</action>
4508 <action function="page">advanced</action>
4509 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004510 </button>
z31s1g56189522016-01-13 19:12:40 +01004511
z31s1g608d7ff2016-01-18 19:47:25 +01004512 <button>
z31s1g56189522016-01-13 19:12:40 +01004513 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4514 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4515 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4516 <image resource="back" />
4517 <condition var1="tw_busy" var2="0" />
4518 <actions>
4519 <action function="set">tw_hide_kb=0</action>
4520 <action function="page">advanced</action>
4521 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004522 </button>
z31s1g56189522016-01-13 19:12:40 +01004523
z31s1g608d7ff2016-01-18 19:47:25 +01004524 <button>
z31s1g56189522016-01-13 19:12:40 +01004525 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4526 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4527 <condition var1="tw_hide_kb" op="=" var2="0" />
4528 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4529 <image resource="kb_hide" />
4530 <condition var1="tw_busy" var2="0" />
4531 <actions>
4532 <action function="set">tw_hide_kb=1</action>
4533 <action function="page">terminalcommand</action>
4534 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004535 </button>
z31s1g56189522016-01-13 19:12:40 +01004536
z31s1g608d7ff2016-01-18 19:47:25 +01004537 <button>
z31s1g56189522016-01-13 19:12:40 +01004538 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4539 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4540 <condition var1="tw_hide_kb" op="=" var2="1" />
4541 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4542 <image resource="kb_show" />
4543 <condition var1="tw_busy" var2="0" />
4544 <actions>
4545 <action function="set">tw_hide_kb=0</action>
4546 <action function="page">terminalcommand</action>
4547 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004548 </button>
z31s1g56189522016-01-13 19:12:40 +01004549
z31s1g608d7ff2016-01-18 19:47:25 +01004550 <button>
z31s1g56189522016-01-13 19:12:40 +01004551 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4552 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4553 <image resource="home" />
4554 <condition var1="tw_busy" var2="0" />
4555 <actions>
4556 <action function="set">tw_hide_kb=0</action>
4557 <action function="key">home</action>
4558 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004559 </button>
z31s1g56189522016-01-13 19:12:40 +01004560
z31s1g608d7ff2016-01-18 19:47:25 +01004561 <button>
z31s1g56189522016-01-13 19:12:40 +01004562 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4563 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4564 <condition var1="tw_hide_kb" op="=" var2="0" />
4565 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4566 <image resource="kb_hide" />
4567 <condition var1="tw_busy" var2="0" />
4568 <actions>
4569 <action function="set">tw_hide_kb=1</action>
4570 <action function="page">terminalcommand</action>
4571 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004572 </button>
z31s1g56189522016-01-13 19:12:40 +01004573
z31s1g608d7ff2016-01-18 19:47:25 +01004574 <button>
z31s1g56189522016-01-13 19:12:40 +01004575 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4576 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4577 <condition var1="tw_hide_kb" op="=" var2="1" />
4578 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4579 <image resource="kb_show" />
4580 <condition var1="tw_busy" var2="0" />
4581 <actions>
4582 <action function="set">tw_hide_kb=0</action>
4583 <action function="page">terminalcommand</action>
4584 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004585 </button>
z31s1g56189522016-01-13 19:12:40 +01004586
z31s1g608d7ff2016-01-18 19:47:25 +01004587 <button>
z31s1g56189522016-01-13 19:12:40 +01004588 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4589 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4590 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4591 <image resource="back" />
4592 <condition var1="tw_busy" var2="0" />
4593 <actions>
4594 <action function="set">tw_hide_kb=0</action>
4595 <action function="page">advanced</action>
4596 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004597 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004598
4599 <action>
4600 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004601 <actions>
4602 <action function="page">main</action>
4603 <action function="set">tw_hide_kb=0</action>
4604 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </action>
4606
4607 <action>
4608 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004609 <actions>
4610 <action function="page">advanced</action>
4611 <action function="set">tw_hide_kb=0</action>
4612 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004613 </action>
z31s1g56189522016-01-13 19:12:40 +01004614
4615 <object type="action">
4616 <touch key="power+voldown" />
4617 <action function="screenshot" />
4618 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </page>
4620
4621 <page name="sideload">
4622 <template name="page"/>
4623
4624 <text style="text_l">
4625 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004626 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004627 </text>
4628
4629 <text style="text_m">
4630 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <checkbox>
4635 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004637 <data variable="tw_wipe_dalvik"/>
4638 </checkbox>
4639
4640 <checkbox>
4641 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004642 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004643 <data variable="tw_wipe_cache"/>
4644 </checkbox>
4645
4646 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004648 <actions>
4649 <action function="set">tw_back=advanced</action>
4650 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4652 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4653 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004654 <action function="set">tw_has_cancel=1</action>
4655 <action function="set">tw_show_reboot=1</action>
4656 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4657 <action function="page">action_page</action>
4658 </actions>
4659 </slider>
4660
4661 <action>
4662 <touch key="home"/>
4663 <action function="page">main</action>
4664 </action>
4665
4666 <action>
4667 <touch key="back"/>
4668 <action function="page">advanced</action>
4669 </action>
4670 </page>
4671
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004672 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004673 <template name="page"/>
4674
4675 <text style="text_l">
4676 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004677 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004678 </text>
4679
4680 <text style="text_m">
4681 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004682 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <text style="text_m_accent">
4686 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004687 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 </text>
4689
z31s1g28f0a922015-11-07 18:50:22 +01004690 <text style="text_m_fail">
4691 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004692 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 </text>
4694
4695 <text style="text_m_fail">
4696 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004697 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004698 </text>
4699
4700 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004701 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 <actions>
4703 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004704 <action function="set">tw_action=fixcontexts</action>
4705 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4706 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004708 <action function="set">tw_show_reboot=1</action>
4709 <action function="page">action_page</action>
4710 </actions>
4711 </slider>
4712
4713 <action>
4714 <touch key="home"/>
4715 <action function="page">main</action>
4716 </action>
4717
4718 <action>
4719 <touch key="back"/>
4720 <action function="page">advanced</action>
4721 </action>
4722 </page>
4723
4724 <page name="installsu">
4725 <template name="page"/>
4726
4727 <text style="text_l">
4728 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004729 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004730 </text>
4731
4732 <text style="text_m">
4733 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004734 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004735 </text>
4736
4737 <text style="text_m_accent">
4738 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004740 </text>
4741
4742 <text style="text_m">
4743 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004745 </text>
4746
4747 <text style="text_m">
4748 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004749 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004750 </text>
4751
4752 <button style="main_button_half_width">
4753 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004754 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004755 <action function="set">tw_page_done=1</action>
4756 </button>
4757
4758 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004759 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004760 <actions>
4761 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004762 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004763 <action function="set">tw_action_text2=</action>
4764 <action function="page">singleaction_page</action>
4765 </actions>
4766 </slider>
4767 </page>
4768
4769 <page name="slideout">
4770 <fill color="%background_color%">
4771 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4772 </fill>
4773
4774 <console>
4775 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4776 </console>
4777
4778 <button>
4779 <fill color="%transparent%"/>
4780 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4781 <action function="overlay"/>
4782 </button>
4783
4784 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004785 <touch key="power"/>
4786 <action function="togglebacklight"/>
4787 </action>
4788
4789 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004790 <touch key="power+voldown"/>
4791 <action function="screenshot"/>
4792 </action>
4793 </page>
4794
4795 <page name="select_storage">
4796 <fill color="%semi_transparent%">
4797 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4798 </fill>
4799
4800 <fill color="%background_color%">
4801 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4802 </fill>
4803
4804 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004805 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004806 <data name="tw_storage_path"/>
4807 <listtype name="storage"/>
4808 </partitionlist>
4809
4810 <button style="button_third_width">
4811 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004812 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004813 <actions>
4814 <action function="set">tw_clear_destination=%tw_back%</action>
4815 <action function="overlay"/>
4816 <action function="page">clear_vars</action>
4817 </actions>
4818 </button>
4819
4820 <fill color="#000000">
4821 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4822 </fill>
4823
4824 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004825 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4826 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4827 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4828 <image resource="back" />
4829 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004830 <actions>
4831 <action function="overlay"/>
4832 <action function="key">%tw_back%</action>
4833 </actions>
4834 </button>
4835
4836 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004837 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4838 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4839 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4840 <image resource="console" />
4841 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004842 <action function="overlay">slideout</action>
4843 </button>
4844
4845 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004846 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4847 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4848 <image resource="home" />
4849 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004850 <actions>
4851 <action function="overlay"/>
4852 <action function="key">home</action>
4853 </actions>
4854 </button>
4855
4856 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004857 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4858 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4859 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4860 <image resource="console" />
4861 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004862 <action function="overlay">slideout</action>
4863 </button>
4864
4865 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004866 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4867 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4868 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4869 <image resource="back" />
4870 <condition var1="tw_busy" var2="0" />
4871 <actions>
4872 <action function="overlay"/>
4873 <action function="key">%tw_back%</action>
4874 </actions>
4875 </button>
4876
4877 <button>
4878 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4879 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4880 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4881 <image resource="back" />
4882 <condition var1="tw_busy" var2="0" />
4883 <actions>
4884 <action function="overlay"/>
4885 <action function="key">%tw_back%</action>
4886 </actions>
4887 </button>
4888
4889 <button>
4890 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4891 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4892 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4893 <image resource="console" />
4894 <condition var1="tw_busy" var2="0" />
4895 <action function="overlay">slideout</action>
4896 </button>
4897
4898 <button>
4899 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4900 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4901 <image resource="home" />
4902 <condition var1="tw_busy" var2="0" />
4903 <actions>
4904 <action function="overlay"/>
4905 <action function="key">home</action>
4906 </actions>
4907 </button>
4908
4909 <button>
4910 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4911 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4912 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4913 <image resource="console" />
4914 <condition var1="tw_busy" var2="0" />
4915 <action function="overlay">slideout</action>
4916 </button>
4917
4918 <button>
4919 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4920 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4921 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4922 <image resource="back" />
4923 <condition var1="tw_busy" var2="0" />
4924 <actions>
4925 <action function="overlay"/>
4926 <action function="key">%tw_back%</action>
4927 </actions>
4928 </button>
4929
4930 <button>
4931 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4932 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4933 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4934 <image resource="back" />
4935 <condition var1="tw_busy" var2="0" />
4936 <actions>
4937 <action function="overlay"/>
4938 <action function="key">%tw_back%</action>
4939 </actions>
4940 </button>
4941
4942 <button>
4943 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4944 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4945 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4946 <image resource="console" />
4947 <condition var1="tw_busy" var2="0" />
4948 <action function="overlay">slideout</action>
4949 </button>
4950
4951 <button>
4952 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4953 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4954 <image resource="home" />
4955 <condition var1="tw_busy" var2="0" />
4956 <actions>
4957 <action function="overlay"/>
4958 <action function="key">home</action>
4959 </actions>
4960 </button>
4961
4962 <button>
4963 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4964 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4965 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4966 <image resource="console" />
4967 <condition var1="tw_busy" var2="0" />
4968 <action function="overlay">slideout</action>
4969 </button>
4970
4971 <button>
4972 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4973 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4974 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4975 <image resource="back" />
4976 <condition var1="tw_busy" var2="0" />
4977 <actions>
4978 <action function="overlay"/>
4979 <action function="key">%tw_back%</action>
4980 </actions>
4981 </button>
4982
4983 <action>
4984 <touch key="power+voldown"/>
4985 <action function="screenshot"/>
4986 </action>
4987 </page>
4988
4989 <page name="select_language">
4990 <fill color="%semi_transparent%">
4991 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4992 </fill>
4993
4994 <fill color="%background_color%">
4995 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4996 </fill>
4997
4998 <listbox>
4999 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5000 <text>{@select_language=Select Language:}</text>
5001 <icon selected="radio_true" unselected="radio_false" />
5002 <data name="tw_language" />
5003 </listbox>
5004
5005 <button style="button_third_width">
5006 <placement x="%dialog_button_x%" y="%row13_y%"/>
5007 <text>{@ok_btn=OK}</text>
5008 <actions>
5009 <action function="overlay"/>
5010 <action function="setlanguage"></action>
5011 </actions>
5012 </button>
5013
5014 <fill color="#000000">
5015 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5016 </fill>
5017
5018 <button>
5019 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5020 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5021 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5022 <image resource="back" />
5023 <condition var1="tw_busy" var2="0" />
5024 <actions>
5025 <action function="overlay"/>
5026 <action function="key">%tw_back%</action>
5027 </actions>
5028 </button>
5029
5030 <button>
5031 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5032 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5033 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5034 <image resource="console" />
5035 <condition var1="tw_busy" var2="0" />
5036 <action function="overlay">slideout</action>
5037 </button>
5038
5039 <button>
5040 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5041 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5042 <image resource="home" />
5043 <condition var1="tw_busy" var2="0" />
5044 <actions>
5045 <action function="overlay"/>
5046 <action function="key">home</action>
5047 </actions>
5048 </button>
5049
5050 <button>
5051 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5052 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5053 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5054 <image resource="console" />
5055 <condition var1="tw_busy" var2="0" />
5056 <action function="overlay">slideout</action>
5057 </button>
5058
5059 <button>
5060 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5061 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5062 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5063 <image resource="back" />
5064 <condition var1="tw_busy" var2="0" />
5065 <actions>
5066 <action function="overlay"/>
5067 <action function="key">%tw_back%</action>
5068 </actions>
5069 </button>
5070
5071 <button>
5072 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5073 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5074 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5075 <image resource="back" />
5076 <condition var1="tw_busy" var2="0" />
5077 <actions>
5078 <action function="overlay"/>
5079 <action function="key">%tw_back%</action>
5080 </actions>
5081 </button>
5082
5083 <button>
5084 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5085 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5086 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5087 <image resource="console" />
5088 <condition var1="tw_busy" var2="0" />
5089 <action function="overlay">slideout</action>
5090 </button>
5091
5092 <button>
5093 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5094 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5095 <image resource="home" />
5096 <condition var1="tw_busy" var2="0" />
5097 <actions>
5098 <action function="overlay"/>
5099 <action function="key">home</action>
5100 </actions>
5101 </button>
5102
5103 <button>
5104 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5105 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5106 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5107 <image resource="console" />
5108 <condition var1="tw_busy" var2="0" />
5109 <action function="overlay">slideout</action>
5110 </button>
5111
5112 <button>
5113 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5114 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5115 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5116 <image resource="back" />
5117 <condition var1="tw_busy" var2="0" />
5118 <actions>
5119 <action function="overlay"/>
5120 <action function="key">%tw_back%</action>
5121 </actions>
5122 </button>
5123
5124 <button>
5125 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5126 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5127 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5128 <image resource="back" />
5129 <condition var1="tw_busy" var2="0" />
5130 <actions>
5131 <action function="overlay"/>
5132 <action function="key">%tw_back%</action>
5133 </actions>
5134 </button>
5135
5136 <button>
5137 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5138 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5139 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5140 <image resource="console" />
5141 <condition var1="tw_busy" var2="0" />
5142 <action function="overlay">slideout</action>
5143 </button>
5144
5145 <button>
5146 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5147 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5148 <image resource="home" />
5149 <condition var1="tw_busy" var2="0" />
5150 <actions>
5151 <action function="overlay"/>
5152 <action function="key">home</action>
5153 </actions>
5154 </button>
5155
5156 <button>
5157 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5158 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5159 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5160 <image resource="console" />
5161 <condition var1="tw_busy" var2="0" />
5162 <action function="overlay">slideout</action>
5163 </button>
5164
5165 <button>
5166 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5167 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5168 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5169 <image resource="back" />
5170 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005171 <actions>
5172 <action function="overlay"/>
5173 <action function="key">%tw_back%</action>
5174 </actions>
5175 </button>
5176
5177 <action>
5178 <touch key="power+voldown"/>
5179 <action function="screenshot"/>
5180 </action>
5181 </page>
5182 </pages>
5183</recovery>