blob: f6f14bc515cd4150d1112d0a989cfc34629fddd3 [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>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002050 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002051 <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 bigbiff19fb79c2016-09-05 21:04:51 -04002276 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002277 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2278 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </checkbox>
2280
2281 <button style="main_button_half_width">
2282 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002283 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002284 <actions>
2285 <action function="set">tw_back=restore</action>
2286 <action function="set">tw_action=cmd</action>
2287 <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 -05002288 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002290 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2291 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2292 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2293 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002294 <action function="page">confirm_action</action>
2295 </actions>
2296 </button>
2297
2298 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002299 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002300 <action function="page">restore_run</action>
2301 </slider>
2302
2303 <action>
2304 <touch key="home"/>
2305 <action function="page">main</action>
2306 </action>
2307
2308 <action>
2309 <touch key="back"/>
2310 <action function="page">restore</action>
2311 </action>
2312 </page>
2313
2314 <page name="renamebackup">
2315 <template name="page"/>
2316
2317 <text style="text_l">
2318 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002319 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002320 </text>
2321
2322 <text style="text_m">
2323 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002324 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002325 </text>
2326
2327 <text style="text_m_accent">
2328 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002330 </text>
2331
2332 <input>
2333 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2334 <text>%tw_backup_rename%</text>
2335 <data name="tw_backup_rename"/>
2336 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2337 <actions>
2338 <action function="set">tw_back=restore</action>
2339 <action function="set">tw_action=cmd</action>
2340 <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 -05002341 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2342 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2343 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2344 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2345 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002346 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2347 <action function="set">tw_existpage=renamebackup</action>
2348 <action function="set">tw_notexistpage=confirm_action</action>
2349 <action function="page">filecheck</action>
2350 </actions>
2351 </input>
2352
2353 <fill color="%accent_color%">
2354 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2355 </fill>
2356
2357 <fill color="%text_fail_color%">
2358 <condition var1="tw_fileexists" var2="1"/>
2359 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2360 </fill>
2361
2362 <text style="text_m_fail">
2363 <condition var1="tw_fileexists" var2="1"/>
2364 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 </text>
2367
2368 <button style="main_button_half_width_low">
2369 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 <action function="page">restore_select</action>
2372 </button>
2373
2374 <template name="keyboardtemplate"/>
2375
2376 <action>
2377 <touch key="home"/>
2378 <action function="page">main</action>
2379 </action>
2380
2381 <action>
2382 <touch key="back"/>
2383 <action function="page">restore_select</action>
2384 </action>
2385 </page>
2386
2387 <page name="restore_run">
2388 <template name="page"/>
2389
2390 <text style="text_l">
2391 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <text style="text_m">
2396 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2397 <text>%tw_operation% %tw_partition%</text>
2398 </text>
2399
2400 <template name="console"/>
2401
2402 <template name="progress_bar"/>
2403
2404 <text style="text_m_accent">
2405 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </text>
2408
2409 <text style="text_m">
2410 <placement x="%progress_text_x%" y="%row18_y%"/>
2411 <text>%tw_size_progress%</text>
2412 </text>
2413
2414 <action>
2415 <condition var1="tw_operation_state" var2="1"/>
2416 <actions>
2417 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002418 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002419 <action function="set">tw_show_reboot=1</action>
2420 <action function="page">action_complete</action>
2421 </actions>
2422 </action>
2423
2424 <action>
2425 <action function="nandroid">restore</action>
2426 </action>
2427 </page>
2428
2429 <page name="mount">
2430 <template name="page"/>
2431
2432 <text style="text_l">
2433 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002434 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002435 </text>
2436
2437 <text style="text_m">
2438 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <partitionlist>
2443 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 <listtype name="mount"/>
2446 </partitionlist>
2447
2448 <button style="checkbox">
2449 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2450 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 <image resource="checkbox_false"/>
2453 <action function="mountsystemtoggle">1</action>
2454 </button>
2455
2456 <button style="checkbox">
2457 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2458 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002459 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002460 <image resource="checkbox_true"/>
2461 <actions>
2462 <action function="set">tw_lifetime_writes=2</action>
2463 <action function="page">system_readonly_check</action>
2464 </actions>
2465 </button>
2466
2467 <button style="main_button_half_width">
2468 <condition var1="tw_has_usb_storage" var2="1"/>
2469 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002470 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002471 <action function="page">usb_mount</action>
2472 </button>
2473
2474 <button style="main_button_half_width">
2475 <conditions>
2476 <condition var1="tw_is_encrypted" var2="1"/>
2477 <condition var1="tw_is_decrypted" var2="0"/>
2478 </conditions>
2479 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="page">decrypt</action>
2482 </button>
2483
2484 <button style="main_button_half_width">
2485 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 <actions>
2488 <action function="set">tw_back=mount</action>
2489 <action function="overlay">select_storage</action>
2490 </actions>
2491 </button>
2492
2493 <button style="main_button_half_width">
2494 <conditions>
2495 <condition var1="tw_has_mtp" var2="1"/>
2496 <condition var1="tw_mtp_enabled" var2="0"/>
2497 </conditions>
2498 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 <action function="startmtp"/>
2501 </button>
2502
2503 <button style="main_button_half_width">
2504 <conditions>
2505 <condition var1="tw_has_mtp" var2="1"/>
2506 <condition var1="tw_mtp_enabled" var2="1"/>
2507 </conditions>
2508 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002509 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002510 <action function="stopmtp"/>
2511 </button>
2512
2513 <action>
2514 <touch key="home"/>
2515 <action function="page">main</action>
2516 </action>
2517
2518 <action>
2519 <touch key="back"/>
2520 <action function="page">main</action>
2521 </action>
2522 </page>
2523
2524 <page name="usb_mount">
2525 <template name="page"/>
2526
2527 <text style="text_l">
2528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002529 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002530 </text>
2531
2532 <text style="text_m">
2533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002534 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <text style="text_m_accent">
2538 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 </text>
2541
2542 <text style="text_m">
2543 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 </text>
2546
2547 <text style="text_m">
2548 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 </text>
2551
2552 <button style="main_button_half_width">
2553 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <action function="page">usb_umount</action>
2556 </button>
2557
2558 <action>
2559 <action function="mount">usb</action>
2560 <action function="set">tw_busy=1</action>
2561 </action>
2562 </page>
2563
2564 <page name="usb_umount">
2565 <action>
2566 <action function="unmount">usb</action>
2567 </action>
2568
2569 <action>
2570 <action function="page">mount</action>
2571 <action function="set">tw_busy=0</action>
2572 </action>
2573 </page>
2574
2575 <page name="system_readonly_check">
2576 <action>
2577 <action function="checkpartitionlifetimewrites">/system</action>
2578 </action>
2579
2580 <action>
2581 <condition var1="tw_lifetime_writes" var2="1"/>
2582 <actions>
2583 <action function="mountsystemtoggle">0</action>
2584 <action function="page">mount</action>
2585 </actions>
2586 </action>
2587
2588 <action>
2589 <condition var1="tw_lifetime_writes" var2="0"/>
2590 <actions>
2591 <action function="set">tw_back=mount</action>
2592 <action function="page">system_readonly</action>
2593 </actions>
2594 </action>
2595 </page>
2596
2597 <page name="reboot">
2598 <template name="page"/>
2599
2600 <text style="text_l">
2601 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002602 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002603 </text>
2604
2605 <button style="main_button">
2606 <condition var1="tw_reboot_system" var2="1"/>
2607 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 <actions>
2610 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002611 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002612 </actions>
2613 </button>
2614
2615 <button style="main_button">
2616 <condition var1="tw_reboot_poweroff" var2="1"/>
2617 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <actions>
2620 <action function="set">tw_back=reboot</action>
2621 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002622 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002623 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002624 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2626 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2627 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2628 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2629 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002630 <action function="page">rebootcheck</action>
2631 </actions>
2632 </button>
2633
2634 <button style="main_button">
2635 <condition var1="tw_reboot_recovery" var2="1"/>
2636 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002637 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002638 <actions>
2639 <action function="set">tw_back=reboot</action>
2640 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002641 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002642 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002643 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2645 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2646 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2647 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2648 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <action function="page">rebootcheck</action>
2650 </actions>
2651 </button>
2652
2653 <button style="main_button">
2654 <condition var1="tw_reboot_bootloader" var2="1"/>
2655 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <actions>
2658 <action function="set">tw_back=reboot</action>
2659 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002660 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002661 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002662 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002663 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2664 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2665 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2666 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2667 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <action function="page">rebootcheck</action>
2669 </actions>
2670 </button>
2671
2672 <button style="main_button">
2673 <condition var1="tw_download_mode" var2="1"/>
2674 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 <actions>
2677 <action function="set">tw_back=reboot</action>
2678 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002679 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002680 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002681 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2683 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2684 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2685 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2686 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002687 <action function="page">rebootcheck</action>
2688 </actions>
2689 </button>
2690
2691 <action>
2692 <touch key="home"/>
2693 <action function="page">main</action>
2694 </action>
2695
2696 <action>
2697 <touch key="back"/>
2698 <action function="page">main</action>
2699 </action>
2700 </page>
2701
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002702 <page name="rebootapp">
2703 <template name="page"/>
2704
2705 <text style="text_l">
2706 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2707 <text>{@reboot_hdr=Reboot}</text>
2708 </text>
2709
2710 <text style="text_m">
2711 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2712 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2713 </text>
2714
2715 <text style="text_m_accent">
2716 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2717 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2718 </text>
2719
2720 <text style="text_m_accent">
2721 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2722 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2723 </text>
2724
2725 <checkbox>
2726 <placement x="%indent%" y="%row5_y%"/>
2727 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2728 <data variable="tw_app_prompt"/>
2729 </checkbox>
2730
2731 <checkbox>
2732 <condition var1="tw_mount_system_ro" var2="0"/>
2733 <placement x="%indent%" y="%row7_y%"/>
2734 <text>{@reboot_install_app_system=Install as a System App}</text>
2735 <data variable="tw_app_install_system"/>
2736 </checkbox>
2737
2738 <button style="main_button_half_width">
2739 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002740 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002741 <action function="reboot">%tw_reboot_param%</action>
2742 </button>
2743
2744 <slider>
2745 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2746 <actions>
2747 <action function="set">tw_back=reboot</action>
2748 <action function="set">tw_action=installapp</action>
2749 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2750 <action function="set">tw_action_text2=</action>
2751 <action function="set">tw_has_action2=1</action>
2752 <action function="set">tw_action2=reboot</action>
2753 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2754 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2755 <action function="page">action_page</action>
2756 </actions>
2757 </slider>
2758
2759 <action>
2760 <touch key="home"/>
2761 <actions>
2762 <action function="set">tw_app_install_status=0</action>
2763 <action function="page">main</action>
2764 </actions>
2765 </action>
2766
2767 <action>
2768 <touch key="back"/>
2769 <actions>
2770 <action function="set">tw_app_install_status=0</action>
2771 <action function="page">reboot</action>
2772 </actions>
2773 </action>
2774 </page>
2775
z31s1g28f0a922015-11-07 18:50:22 +01002776 <page name="system_readonly">
2777 <template name="page"/>
2778
2779 <text style="text_l">
2780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002782 </text>
2783
2784 <text style="text_m_accent">
2785 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 </text>
2788
2789 <text style="text_m">
2790 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <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 +01002792 </text>
2793
2794 <text style="text_m">
2795 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <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 +01002797 </text>
2798
2799 <text style="text_m_fail">
2800 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </text>
2803
2804 <checkbox>
2805 <condition var1="tw_is_encrypted" var2="0"/>
2806 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 <data variable="tw_never_show_system_ro_page"/>
2809 </checkbox>
2810
2811 <button style="main_button_half_width">
2812 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <actions>
2815 <action function="mountsystemtoggle">1</action>
2816 <action function="set">tw_page_done=1</action>
2817 <action function="page">%tw_back%</action>
2818 </actions>
2819 </button>
2820
z31s1g608d7ff2016-01-18 19:47:25 +01002821 <button style="main_button_half_width">
2822 <placement x="%col2_x_left%" y="%row15a_y%"/>
2823 <text>{@sel_lang_btn=Select Language}</text>
2824 <action function="overlay">select_language</action>
2825 </button>
2826
z31s1g28f0a922015-11-07 18:50:22 +01002827 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002829 <actions>
2830 <action function="mountsystemtoggle">0</action>
2831 <action function="set">tw_page_done=1</action>
2832 <action function="page">%tw_back%</action>
2833 </actions>
2834 </slider>
2835 </page>
2836
2837 <page name="settings">
2838 <template name="page"/>
2839
2840 <text style="text_l">
2841 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002842 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002843 </text>
2844
2845 <text style="text_m">
2846 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </text>
2849
2850 <template name="tabs_settings"/>
2851
2852 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002854 </fill>
2855
2856 <listbox style="scrolllist">
2857 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2858 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002860 <data variable="tw_signed_zip_verify"/>
2861 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002862 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2863 <data variable="tw_install_reboot"/>
2864 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002866 <data variable="tw_rm_rf"/>
2867 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002868 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2869 <data variable="tw_disable_free_space"/>
2870 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002871 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2872 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002873 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002874 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
2875 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002876 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002878 <data variable="tw_military_time"/>
2879 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002880 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2881 <data variable="tw_app_prompt"/>
2882 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002883 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002884 <data variable="tw_simulate_actions"/>
2885 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002886 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002887 <condition var1="tw_simulate_actions" var2="1"/>
2888 <data variable="tw_simulate_fail"/>
2889 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04002890 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
2891 <condition var1="tw_no_sha2" var2="0"/>
2892 <data variable="tw_use_sha2"/>
2893 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002894 </listbox>
2895
2896 <checkbox>
2897 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002898 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002899 <data variable="tw_samsung_navbar"/>
2900 </checkbox>
2901
2902 <button style="radiobutton">
2903 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2904 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002905 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002906 <image resource="radio_false"/>
2907 <action function="set">tw_navbar_button_position=0</action>
2908 </button>
2909
2910 <button style="radiobutton">
2911 <condition var1="tw_navbar_button_position" var2="0"/>
2912 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002913 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002914 <image resource="radio_true"/>
2915 <action function="set">tw_navbar_button_position=0</action>
2916 </button>
2917
2918 <button style="radiobutton">
2919 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2920 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002921 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002922 <image resource="radio_false"/>
2923 <action function="set">tw_navbar_button_position=1</action>
2924 </button>
2925
2926 <button style="radiobutton">
2927 <condition var1="tw_navbar_button_position" var2="1"/>
2928 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002929 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002930 <image resource="radio_true"/>
2931 <action function="set">tw_navbar_button_position=1</action>
2932 </button>
2933
2934 <button style="radiobutton">
2935 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2936 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <image resource="radio_false"/>
2939 <action function="set">tw_navbar_button_position=2</action>
2940 </button>
2941
2942 <button style="radiobutton">
2943 <condition var1="tw_navbar_button_position" var2="2"/>
2944 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002945 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002946 <image resource="radio_true"/>
2947 <action function="set">tw_navbar_button_position=2</action>
2948 </button>
2949
2950 <button style="main_button_half_width">
2951 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002952 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002953 <action function="restoredefaultsettings"/>
2954 </button>
2955
2956 <action>
2957 <touch key="home"/>
2958 <action function="page">main</action>
2959 </action>
2960
2961 <action>
2962 <touch key="back"/>
2963 <action function="page">main</action>
2964 </action>
2965 </page>
2966
2967 <page name="settings_timezone">
2968 <template name="page"/>
2969
2970 <text style="text_l">
2971 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002972 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002973 </text>
2974
2975 <text style="text_m">
2976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002977 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002978 </text>
2979
2980 <template name="tabs_settings"/>
2981
2982 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002983 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002984 </fill>
2985
2986 <listbox>
2987 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002988 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002989 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2991 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2992 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2993 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2994 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2995 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2996 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2997 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2998 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2999 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3000 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3001 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3002 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3003 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3004 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3005 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3006 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3007 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3008 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3009 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3010 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3011 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3012 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3013 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </listbox>
3015
3016 <text style="text_m_accent">
3017 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <button style="button_quarter_width">
3022 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 <action function="set">tw_time_zone_guioffset=0</action>
3025 </button>
3026
3027 <button style="button_quarter_width">
3028 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003029 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003030 <action function="set">tw_time_zone_guioffset=15</action>
3031 </button>
3032
3033 <button style="button_quarter_width">
3034 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <action function="set">tw_time_zone_guioffset=30</action>
3037 </button>
3038
3039 <button style="button_quarter_width">
3040 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003041 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003042 <action function="set">tw_time_zone_guioffset=45</action>
3043 </button>
3044
3045 <checkbox>
3046 <placement x="%col1_x_right%" y="%row7_y%"/>
3047 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 <data variable="tw_time_zone_guidst"/>
3050 <image checked="checkbox_true" unchecked="checkbox_false"/>
3051 </checkbox>
3052
3053 <text color="%text_color%">
3054 <font resource="font_m"/>
3055 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003056 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003057 </text>
3058
3059 <button>
3060 <highlight color="%highlight_color%"/>
3061 <placement x="%col2_x_right%" y="%row15a_y%"/>
3062 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003064 <image resource="main_button_half_width"/>
3065 <action function="setguitimezone"/>
3066 </button>
3067
3068 <action>
3069 <touch key="home"/>
3070 <action function="page">main</action>
3071 </action>
3072
3073 <action>
3074 <touch key="back"/>
3075 <action function="page">main</action>
3076 </action>
3077 </page>
3078
3079 <page name="settings_screen">
3080 <template name="page"/>
3081
3082 <text style="text_l">
3083 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </text>
3086
3087 <text style="text_m">
3088 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003090 </text>
3091
3092 <template name="tabs_settings"/>
3093
3094 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003096 </fill>
3097
3098 <button>
3099 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3100 <font resource="font_m" color="%text_color%"/>
3101 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3102 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <image resource="checkbox_false"/>
3105 <action function="set">tw_screen_timeout_secs=60</action>
3106 </button>
3107
3108 <button>
3109 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3110 <font resource="font_m" color="%text_color%"/>
3111 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3112 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003114 <image resource="checkbox_true"/>
3115 <action function="set">tw_screen_timeout_secs=0</action>
3116 </button>
3117
3118 <slidervalue>
3119 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3120 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3121 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003123 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3124 </slidervalue>
3125
3126 <slidervalue>
3127 <condition var1="tw_has_brightnesss_file" var2="1"/>
3128 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <data variable="tw_brightness_pct" min="10" max="100"/>
3131 <actions>
3132 <action function="set">tw_brightness=%tw_brightness_max%</action>
3133 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3134 <action function="compute">tw_brightness/100</action>
3135 <action function="setbrightness">%tw_brightness%</action>
3136 </actions>
3137 </slidervalue>
3138
3139 <action>
3140 <touch key="home"/>
3141 <action function="page">main</action>
3142 </action>
3143
3144 <action>
3145 <touch key="back"/>
3146 <action function="page">main</action>
3147 </action>
3148 </page>
3149
3150 <page name="settings_vibration">
3151 <template name="page"/>
3152
3153 <text style="text_l">
3154 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003156 </text>
3157
3158 <text style="text_m">
3159 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 </text>
3162
3163 <template name="tabs_settings"/>
3164
3165 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </fill>
3168
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003169 <text style="text_m">
3170 <condition var1="tw_disable_haptics" var2="1"/>
3171 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3172 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3173 </text>
3174
z31s1g28f0a922015-11-07 18:50:22 +01003175 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003176 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003179 <data variable="tw_button_vibrate" min="0" max="300"/>
3180 </slidervalue>
3181
3182 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003183 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003185 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003186 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3187 </slidervalue>
3188
3189 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003190 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003191 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003193 <data variable="tw_action_vibrate" min="0" max="500"/>
3194 </slidervalue>
3195
3196 <action>
3197 <touch key="home"/>
3198 <action function="page">main</action>
3199 </action>
3200
3201 <action>
3202 <touch key="back"/>
3203 <action function="page">main</action>
3204 </action>
3205 </page>
3206
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <page name="settings_language">
3208 <template name="page"/>
3209
3210 <text style="text_l">
3211 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3212 <text>{@settings_hdr=Settings}</text>
3213 </text>
3214
3215 <text style="text_m">
3216 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3217 <text>{@language_hdr=Language - %tw_language_display%}</text>
3218 </text>
3219
3220 <template name="tabs_settings"/>
3221
3222 <fill color="%text_color%">
3223 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3224 </fill>
3225
3226 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003227 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003228 <text>{@select_language=Select Language:}</text>
3229 <icon selected="radio_true" unselected="radio_false" />
3230 <data name="tw_language" />
3231 </listbox>
3232
z31s1g56189522016-01-13 19:12:40 +01003233 <button>
3234 <highlight color="%highlight_color%"/>
3235 <placement x="%col2_x_right%" y="%row15a_y%"/>
3236 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003238 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <action function="setlanguage"></action>
3240 </button>
3241
3242 <action>
3243 <touch key="home" />
3244 <action function="page">main</action>
3245 </action>
3246
3247 <action>
3248 <touch key="back" />
3249 <action function="page">settings</action>
3250 </action>
3251 </page>
3252
Matt Mower32676622017-01-18 18:56:13 -06003253 <page name="copylog">
3254 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003255
Matt Mower32676622017-01-18 18:56:13 -06003256 <text style="text_l">
3257 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3258 <text>{@copying_log=Copy Logs to SD Card}</text>
3259 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003260
Matt Mower32676622017-01-18 18:56:13 -06003261 <checkbox>
3262 <placement x="%indent%" y="%row4_y%"/>
3263 <text>{@include_kernel_log=Include Kernel Log}</text>
3264 <data variable="tw_include_kernel_log" value="1"/>
3265 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003266
Matt Mower32676622017-01-18 18:56:13 -06003267 <slider>
3268 <text>{@copying_log=Copy Logs to SD Card}</text>
3269 <actions>
3270 <action function="set">tw_back=advanced</action>
3271 <action function="set">tw_action=copylog</action>
3272 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3273 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3274 <action function="page">action_page</action>
3275 </actions>
3276 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003277
Matt Mower32676622017-01-18 18:56:13 -06003278 <action>
3279 <touch key="home"/>
3280 <action function="page">main</action>
3281 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003282
Matt Mower32676622017-01-18 18:56:13 -06003283 <action>
3284 <touch key="back"/>
3285 <actions>
3286 <action function="page">advanced</action>
3287 </actions>
3288 </action>
3289 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003290
z31s1g28f0a922015-11-07 18:50:22 +01003291 <page name="advanced">
3292 <template name="page"/>
3293
3294 <text style="text_l">
3295 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003296 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003297 </text>
3298
3299 <button style="main_button">
3300 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003302 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003303 </button>
3304
3305 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003306 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003307 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003308 <text>{@fix_context_btn=Fix Contexts}</text>
3309 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003310 </button>
3311
3312 <button style="main_button">
3313 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3314 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003316 <actions>
3317 <action function="set">partitionlisterror=0</action>
3318 <action function="page">partsdcardsel</action>
3319 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </button>
3321
3322 <button style="main_button">
3323 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <action function="page">filemanagerlist</action>
3326 </button>
3327
3328 <button style="main_button">
3329 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003331 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </button>
3333
3334 <button style="main_button">
3335 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="reload"/>
3338 </button>
3339
3340 <button style="main_button">
3341 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003343 <action function="page">sideload</action>
3344 </button>
3345
3346 <button style="main_button">
3347 <condition var1="tw_show_dumlock" var2="1"/>
3348 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <action function="page">htcdumlock</action>
3351 </button>
3352
3353 <button style="main_button">
3354 <condition var1="tw_has_injecttwrp" var2="1"/>
3355 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003357 <actions>
3358 <action function="set">tw_back=advanced</action>
3359 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3361 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3362 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3363 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003364 <action function="page">confirm_action</action>
3365 </actions>
3366 </button>
3367
3368 <action>
3369 <touch key="home"/>
3370 <action function="page">main</action>
3371 </action>
3372
3373 <action>
3374 <touch key="back"/>
3375 <action function="page">main</action>
3376 </action>
3377 </page>
3378
Ethan Yonker483e9f42016-01-11 22:21:18 -06003379 <page name="partsdcardsel">
3380 <template name="page"/>
3381
3382 <text style="text_l">
3383 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3384 <text>{@advanced_hdr=Advanced}</text>
3385 </text>
3386
3387 <text style="text_m">
3388 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3389 <text>{@part_sd_hdr=Partition SD Card}</text>
3390 </text>
3391
z31s1g782e1c92016-01-30 16:50:09 +01003392 <partitionlist>
3393 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003394 <text>{@sel_storage_list=Select Storage}</text>
3395 <data name="tw_storage_path"/>
3396 <listtype name="storage"/>
3397 </partitionlist>
3398
z31s1g782e1c92016-01-30 16:50:09 +01003399 <text style="text_m_fail">
3400 <condition var1="partitionlisterror" var2="1"/>
3401 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3402 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3403 </text>
3404
3405 <button style="main_button_half_width">
3406 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003407 <text>{@ok_btn=OK}</text>
3408 <actions>
3409 <action function="getpartitiondetails">tw_storage_path</action>
3410 <action function="page">partsdcardcheck</action>
3411 </actions>
3412 </button>
3413
Ethan Yonker483e9f42016-01-11 22:21:18 -06003414 <action>
3415 <touch key="home"/>
3416 <action function="page">main</action>
3417 </action>
3418
3419 <action>
3420 <touch key="back"/>
3421 <action function="page">advanced</action>
3422 </action>
3423 </page>
3424
3425 <page name="partsdcardcheck">
3426 <action>
3427 <condition var1="tw_partition_removable" op="=" var2="1"/>
3428 <actions>
3429 <action function="set">partitionlisterror=0</action>
3430 <action function="page">partsdcard</action>
3431 </actions>
3432 </action>
3433
3434 <action>
3435 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3436 <actions>
3437 <action function="set">partitionlisterror=1</action>
3438 <action function="page">partsdcardsel</action>
3439 </actions>
3440 </action>
3441 </page>
3442
z31s1g28f0a922015-11-07 18:50:22 +01003443 <page name="partsdcard">
3444 <template name="page"/>
3445
3446 <text style="text_l">
3447 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003449 </text>
3450
3451 <text style="text_m">
3452 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003454 </text>
3455
3456 <text style="text_m_fail">
3457 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </text>
3460
3461 <text style="text_m_fail">
3462 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003463 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003464 </text>
3465
3466 <text style="text_m_accent">
3467 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 </text>
3470
3471 <text style="text_m">
3472 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3473 <text>%tw_sdext_size%</text>
3474 </text>
3475
3476 <button style="button_quarter_width">
3477 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003478 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003479 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 </button>
3481
3482 <button style="button_quarter_width">
3483 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003485 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </button>
3487
3488 <text style="text_m_accent">
3489 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </text>
3492
3493 <text style="text_m">
3494 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3495 <text>%tw_swap_size%</text>
3496 </text>
3497
3498 <button style="button_quarter_width">
3499 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003501 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </button>
3503
3504 <button style="button_quarter_width">
3505 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003507 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003508 </button>
3509
3510 <text style="text_m_accent">
3511 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text style="text_m">
3516 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3517 <text>%tw_sdpart_file_system%</text>
3518 </text>
3519
3520 <button style="button_quarter_width">
3521 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3522 <text>EXT3</text>
3523 <action function="set">tw_sdpart_file_system=ext3</action>
3524 </button>
3525
3526 <button style="button_quarter_width">
3527 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3528 <text>EXT4</text>
3529 <action function="set">tw_sdpart_file_system=ext4</action>
3530 </button>
3531
3532 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003533 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <action function="page">partsdcardaction</action>
3535 <actions>
3536 <action function="set">tw_back=partsdcard</action>
3537 <action function="set">tw_action=partitionsd</action>
3538 <action function="set">tw_has_action2=1</action>
3539 <action function="set">tw_action2=set</action>
3540 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3542 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3543 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003544 <action function="page">action_page</action>
3545 </actions>
3546 </slider>
3547
3548 <action>
3549 <touch key="home"/>
3550 <action function="page">main</action>
3551 </action>
3552
3553 <action>
3554 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003555 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </action>
3557 </page>
3558
3559 <page name="htcdumlock">
3560 <template name="page"/>
3561
3562 <text style="text_l">
3563 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003565 </text>
3566
3567 <text style="text_m">
3568 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003570 </text>
3571
3572 <button style="main_button_m">
3573 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <actions>
3576 <action function="set">tw_back=htcdumlock</action>
3577 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3579 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3580 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original 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="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 <actions>
3590 <action function="set">tw_back=htcdumlock</action>
3591 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3593 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3594 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot 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 <button style="main_button_m">
3601 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003602 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003603 <actions>
3604 <action function="set">tw_back=htcdumlock</action>
3605 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3607 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3608 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3609 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <action function="page">confirm_action</action>
3611 </actions>
3612 </button>
3613
3614 <action>
3615 <touch key="home"/>
3616 <action function="page">main</action>
3617 </action>
3618
3619 <action>
3620 <touch key="back"/>
3621 <action function="page">advanced</action>
3622 </action>
3623 </page>
3624
3625 <page name="lock">
3626 <background color="%semi_transparent%"/>
3627
3628 <image>
3629 <image resource="unlock_icon"/>
3630 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3631 </image>
3632
3633 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 <action function="overlay"/>
3636 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003637
3638 <action>
3639 <touch key="power"/>
3640 <action function="togglebacklight"/>
3641 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003642 </page>
3643
3644 <page name="filemanagerlist">
3645 <template name="page"/>
3646
3647 <text style="text_l">
3648 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 </text>
3651
3652 <text style="text_m">
3653 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 </text>
3656
3657 <template name="sort_options"/>
3658
3659 <fileselector>
3660 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3661 <text>%tw_file_location1%</text>
3662 <filter folders="1" files="1"/>
3663 <path name="tw_file_location1" default="/"/>
3664 <data name="tw_filename1"/>
3665 <selection name="tw_selection1"/>
3666 </fileselector>
3667
3668 <button style="main_button_half_width_low">
3669 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <actions>
3672 <action function="set">tw_filename1=tw_file_location1</action>
3673 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <action function="page">filemanageroptions</action>
3676 </actions>
3677 </button>
3678
3679 <action>
3680 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003681 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003682 <action function="set">tw_fm_isfolder=0</action>
3683 </actions>
3684 </action>
3685
3686 <action>
3687 <touch key="home"/>
3688 <action function="page">main</action>
3689 </action>
3690
3691 <action>
3692 <touch key="back"/>
3693 <action function="page">advanced</action>
3694 </action>
3695
3696 <action>
3697 <condition var1="tw_filename1" op="modified"/>
3698 <action function="page">filemanageroptions</action>
3699 </action>
3700 </page>
3701
3702 <page name="filemanageroptions">
3703 <template name="page"/>
3704
3705 <text style="text_l">
3706 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003707 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003708 </text>
3709
3710 <text style="text_m">
3711 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003713 </text>
3714
3715 <text style="text_m_accent">
3716 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </text>
3719
3720 <text style="text_m">
3721 <placement x="%col1_x_left%" y="%row3_y%"/>
3722 <text>%tw_filename1%</text>
3723 </text>
3724
3725 <button style="main_button_half_width">
3726 <condition var1="tw_fm_isfolder" var2="0"/>
3727 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 <actions>
3730 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003732 <action function="page">choosedestinationfolder</action>
3733 </actions>
3734 </button>
3735
3736 <button style="main_button_half_width">
3737 <condition var1="tw_fm_isfolder" var2="1"/>
3738 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003739 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003740 <actions>
3741 <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 -05003742 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003743 <action function="page">choosedestinationfolder</action>
3744 </actions>
3745 </button>
3746
3747 <button style="main_button_half_width">
3748 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 <actions>
3751 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003753 <action function="page">choosedestinationfolder</action>
3754 </actions>
3755 </button>
3756
3757 <button style="main_button_half_width">
3758 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <actions>
3761 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003763 <action function="set">tw_fm_text2=</action>
3764 <action function="set">tw_fm_text3=</action>
3765 <action function="set">tw_include_text3=0</action>
3766 <action function="set">tw_back=filemanageroptions</action>
3767 <action function="page">filemanagerconfirm</action>
3768 </actions>
3769 </button>
3770
3771 <button style="main_button_half_width">
3772 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003773 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003774 <actions>
3775 <action function="set">tw_filemanager_rename=0000</action>
3776 <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">filemanagerchmod</action>
3781 </actions>
3782 </button>
3783
3784 <button style="main_button_half_width">
3785 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <actions>
3788 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <action function="set">tw_fm_text2=</action>
3791 <action function="set">tw_fm_text3=</action>
3792 <action function="set">tw_include_text3=0</action>
3793 <action function="set">tw_back=filemanageroptions</action>
3794 <action function="page">filemanagerconfirm</action>
3795 </actions>
3796 </button>
3797
3798 <button style="main_button_half_width">
3799 <condition var1="tw_fm_isfolder" var2="0"/>
3800 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <actions>
3803 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003805 <action function="set">tw_filemanager_command=mv</action>
3806 <action function="page">filemanagerrenamefile</action>
3807 </actions>
3808 </button>
3809
3810 <button style="main_button_half_width">
3811 <condition var1="tw_fm_isfolder" var2="1"/>
3812 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003814 <actions>
3815 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003816 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003817 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3818 <action function="page">filemanagerrenamefolder</action>
3819 </actions>
3820 </button>
3821
3822 <action>
3823 <touch key="home"/>
3824 <action function="page">main</action>
3825 </action>
3826
3827 <action>
3828 <touch key="back"/>
3829 <action function="page">filemanagerlist</action>
3830 </action>
3831 </page>
3832
3833 <page name="choosedestinationfolder">
3834 <template name="page"/>
3835
3836 <text style="text_l">
3837 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 </text>
3840
3841 <text style="text_m">
3842 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003843 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003844 </text>
3845
3846 <template name="sort_options"/>
3847
3848 <fileselector>
3849 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3850 <text>%tw_file_location2%</text>
3851 <filter folders="1" files="0"/>
3852 <path name="tw_file_location2" default="/"/>
3853 <data name="tw_filename2"/>
3854 <selection name="tw_selection2"/>
3855 </fileselector>
3856
3857 <button style="main_button_half_width_low">
3858 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 <actions>
3861 <action function="set">tw_fm_text2=to</action>
3862 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3863 <action function="set">tw_include_text3=1</action>
3864 <action function="set">tw_back=filemanageroptions</action>
3865 <action function="page">filemanagerconfirm</action>
3866 </actions>
3867 </button>
3868
3869 <action>
3870 <touch key="home"/>
3871 <action function="page">main</action>
3872 </action>
3873
3874 <action>
3875 <touch key="back"/>
3876 <action function="page">filemanageroptions</action>
3877 </action>
3878 </page>
3879
3880 <page name="filemanagerrenamefile">
3881 <template name="page"/>
3882
3883 <text style="text_l">
3884 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 </text>
3887
3888 <text style="text_m">
3889 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 </text>
3892
3893 <text style="text_m_accent">
3894 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 </text>
3897
3898 <input>
3899 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3900 <text>%tw_filemanager_rename%</text>
3901 <data name="tw_filemanager_rename"/>
3902 <restrict minlen="1" maxlen="128"/>
3903 <actions>
3904 <action function="set">tw_fm_text2=to</action>
3905 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3906 <action function="set">tw_include_text3=1</action>
3907 <action function="set">tw_back=filemanageroptions</action>
3908 <action function="page">filemanagerconfirm</action>
3909 </actions>
3910 </input>
3911
3912 <fill color="%accent_color%">
3913 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3914 </fill>
3915
3916 <button style="main_button_half_width_low">
3917 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003919 <action function="page">filemanageroptions</action>
3920 </button>
3921
3922 <template name="keyboardtemplate"/>
3923
3924 <action>
3925 <touch key="home"/>
3926 <action function="page">main</action>
3927 </action>
3928
3929 <action>
3930 <touch key="back"/>
3931 <action function="page">filemanageroptions</action>
3932 </action>
3933 </page>
3934
3935 <page name="filemanagerrenamefolder">
3936 <template name="page"/>
3937
3938 <text style="text_l">
3939 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <text style="text_m">
3944 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003946 </text>
3947
3948 <text style="text_m_accent">
3949 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <input>
3954 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3955 <text>%tw_filemanager_rename%</text>
3956 <data name="tw_filemanager_rename"/>
3957 <restrict minlen="1" maxlen="128"/>
3958 <actions>
3959 <action function="set">tw_fm_text2=to</action>
3960 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3961 <action function="set">tw_include_text3=1</action>
3962 <action function="set">tw_back=filemanageroptions</action>
3963 <action function="page">filemanagerconfirm</action>
3964 </actions>
3965 </input>
3966
3967 <fill color="%accent_color%">
3968 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3969 </fill>
3970
3971 <button style="main_button_half_width_low">
3972 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003973 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003974 <action function="page">filemanageroptions</action>
3975 </button>
3976
3977 <template name="keyboardtemplate"/>
3978
3979 <action>
3980 <touch key="home"/>
3981 <action function="page">main</action>
3982 </action>
3983
3984 <action>
3985 <touch key="back"/>
3986 <action function="page">filemanageroptions</action>
3987 </action>
3988 </page>
3989
3990 <page name="filemanagerchmod">
3991 <template name="page"/>
3992
3993 <text style="text_l">
3994 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <text style="text_m">
3999 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004001 </text>
4002
4003 <text style="text_m_accent">
4004 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004005 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004006 </text>
4007
4008 <input>
4009 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4010 <text>%tw_filemanager_rename%</text>
4011 <data name="tw_filemanager_rename"/>
4012 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4013 <actions>
4014 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4015 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4016 <action function="set">tw_back=filemanageroptions</action>
4017 <action function="page">filemanagerconfirm</action>
4018 </actions>
4019 </input>
4020
4021 <fill color="%accent_color%">
4022 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4023 </fill>
4024
4025 <button style="main_button_half_width_low">
4026 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 <action function="page">filemanageroptions</action>
4029 </button>
4030
4031 <template name="keyboardtemplate"/>
4032
4033 <action>
4034 <touch key="home"/>
4035 <action function="page">main</action>
4036 </action>
4037
4038 <action>
4039 <touch key="back"/>
4040 <action function="page">filemanageroptions</action>
4041 </action>
4042 </page>
4043
4044 <page name="filemanagerconfirm">
4045 <template name="page"/>
4046
4047 <text style="text_l">
4048 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004049 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004050 </text>
4051
4052 <text style="text_m">
4053 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004054 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004055 </text>
4056
4057 <text style="text_m_accent">
4058 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4059 <text>%tw_fm_text1%</text>
4060 </text>
4061
4062 <text style="text_m">
4063 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4064 <text>%tw_filename1%</text>
4065 </text>
4066
4067 <text style="text_m_accent">
4068 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4069 <text>%tw_fm_text2%</text>
4070 </text>
4071
4072 <text style="text_m">
4073 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4074 <text>%tw_fm_text3%</text>
4075 </text>
4076
4077 <text style="text_m">
4078 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004084 <action function="page">filemanageraction</action>
4085 </slider>
4086
4087 <action>
4088 <touch key="back"/>
4089 <action function="page">%tw_back%</action>
4090 </action>
4091
4092 <action>
4093 <touch key="home"/>
4094 <action function="page">main</action>
4095 </action>
4096 </page>
4097
4098 <page name="filemanageraction">
4099 <template name="page"/>
4100
4101 <text style="text_l">
4102 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004103 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004104 </text>
4105
4106 <text style="text_m">
4107 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4108 <text>%tw_fm_text1%</text>
4109 </text>
4110
4111 <template name="console"/>
4112
4113 <template name="progress_bar"/>
4114
4115 <action>
4116 <conditions>
4117 <condition var1="tw_operation_state" var2="1"/>
4118 <condition var1="tw_operation_status" var2="0"/>
4119 </conditions>
4120 <actions>
4121 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004123 <action function="page">action_complete</action>
4124 </actions>
4125 </action>
4126
4127 <action>
4128 <conditions>
4129 <condition var1="tw_operation_state" var2="1"/>
4130 <condition var1="tw_operation_status" op="!=" var2="0"/>
4131 </conditions>
4132 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004133 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004134 <action function="page">action_complete</action>
4135 </actions>
4136 </action>
4137
4138 <action>
4139 <condition var1="tw_include_text3" var2="0"/>
4140 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4141 </action>
4142
4143 <action>
4144 <condition var1="tw_include_text3" var2="1"/>
4145 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4146 </action>
4147 </page>
4148
4149 <page name="decrypt">
4150 <template name="page"/>
4151
4152 <action>
4153 <condition var1="tw_crypto_pwtype" var2="2"/>
4154 <action function="page">decrypt_pattern</action>
4155 </action>
4156
4157 <text style="text_l">
4158 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 </text>
4161
4162 <text style="text_m">
4163 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004165 </text>
4166
4167 <text style="text_m_accent">
4168 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 </text>
4171
4172 <input>
4173 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4174 <text>%tw_crypto_display%</text>
4175 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4176 <restrict minlen="1" maxlen="254"/>
4177 <action function="page">trydecrypt</action>
4178 </input>
4179
4180 <fill color="%accent_color%">
4181 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4182 </fill>
4183
4184 <fill color="%text_fail_color%">
4185 <condition var1="tw_password_fail" var2="1"/>
4186 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4187 </fill>
4188
4189 <text style="text_m_fail">
4190 <condition var1="tw_password_fail" var2="1"/>
4191 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004192 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 </text>
4194
4195 <button style="main_button_half_width_low">
4196 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004197 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004198 <actions>
4199 <action function="set">tw_page_done=1</action>
4200 <action function="page">main</action>
4201 </actions>
4202 </button>
4203
z31s1g608d7ff2016-01-18 19:47:25 +01004204 <button style="main_button_half_width_low">
4205 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4206 <text>{@sel_lang_btn=Select Language}</text>
4207 <action function="overlay">select_language</action>
4208 </button>
4209
z31s1g28f0a922015-11-07 18:50:22 +01004210 <template name="keyboardtemplate"/>
4211 </page>
4212
4213 <page name="decrypt_pattern">
4214 <template name="page"/>
4215
4216 <text style="text_l">
4217 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004219 </text>
4220
4221 <text style="text_m">
4222 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </text>
4225
4226 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004227 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004228 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004229 </text>
4230
Aleksa Saraib25a1832015-12-31 17:36:00 +01004231 <text style="text_m_fail">
4232 <condition var1="tw_password_fail" var2="1"/>
4233 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004234 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004235 </text>
4236
z31s1g28f0a922015-11-07 18:50:22 +01004237 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004238 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004239 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4240 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4241 <data name="tw_crypto_password"/>
4242 <action function="page">trydecrypt</action>
4243 </patternpassword>
4244
Aleksa Saraib25a1832015-12-31 17:36:00 +01004245 <button style="main_button_half_width_low">
4246 <placement x="%col_button_right%" y="%row1a_y%"/>
4247 <text>3x3</text>
4248 <action function="set">tw_gui_pattern_grid_size=3</action>
4249 </button>
4250
4251 <button style="main_button_half_width_low">
4252 <placement x="%col_button_right%" y="%row4a_y%"/>
4253 <text>4x4</text>
4254 <action function="set">tw_gui_pattern_grid_size=4</action>
4255 </button>
4256
4257 <button style="main_button_half_width_low">
4258 <placement x="%col_button_right%" y="%row7a_y%"/>
4259 <text>5x5</text>
4260 <action function="set">tw_gui_pattern_grid_size=5</action>
4261 </button>
4262
4263 <button style="main_button_half_width_low">
4264 <placement x="%col_button_right%" y="%row10a_y%"/>
4265 <text>6x6</text>
4266 <action function="set">tw_gui_pattern_grid_size=6</action>
4267 </button>
4268
z31s1g28f0a922015-11-07 18:50:22 +01004269 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004270 <placement x="%col1_x_right%" y="%row15a_y%"/>
4271 <text>{@sel_lang_btn=Select Language}</text>
4272 <action function="overlay">select_language</action>
4273 </button>
4274
4275 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004276 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004277 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004278 <actions>
4279 <action function="set">tw_page_done=1</action>
4280 <action function="page">main</action>
4281 </actions>
4282 </button>
4283 </page>
4284
4285 <page name="trydecrypt">
4286 <template name="page"/>
4287
4288 <text style="text_l">
4289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 </text>
4292
4293 <text style="text_m">
4294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004296 </text>
4297
4298 <template name="console"/>
4299
4300 <template name="progress_bar"/>
4301
4302 <action>
4303 <action function="decrypt"/>
4304 </action>
4305
4306 <action>
4307 <conditions>
4308 <condition var1="tw_operation_state" var2="1"/>
4309 <condition var1="tw_operation_status" op="!=" var2="0"/>
4310 </conditions>
4311 <actions>
4312 <action function="set">tw_password_fail=1</action>
4313 <action function="page">decrypt</action>
4314 </actions>
4315 </action>
4316
4317 <action>
4318 <conditions>
4319 <condition var1="tw_operation_state" var2="1"/>
4320 <condition var1="tw_operation_status" op="=" var2="0"/>
4321 </conditions>
4322 <actions>
4323 <action function="set">tw_page_done=1</action>
4324 <action function="page">main</action>
4325 </actions>
4326 </action>
4327 </page>
4328
z31s1g28f0a922015-11-07 18:50:22 +01004329 <page name="terminalcommand">
4330 <template name="page"/>
4331
4332 <fill color="%background_color%">
4333 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4334 </fill>
4335
z31s1g56189522016-01-13 19:12:40 +01004336 <terminal>
4337 <condition var1="tw_hide_kb" var2="0"/>
4338 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4339 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004340
z31s1g56189522016-01-13 19:12:40 +01004341 <terminal>
4342 <condition var1="tw_hide_kb" var2="1"/>
4343 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4344 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004345
z31s1g56189522016-01-13 19:12:40 +01004346 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004347
z31s1g56189522016-01-13 19:12:40 +01004348 <object type="fill" color="#000000">
4349 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4350 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004351
z31s1g608d7ff2016-01-18 19:47:25 +01004352 <button>
z31s1g56189522016-01-13 19:12:40 +01004353 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4354 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4355 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4356 <image resource="back" />
4357 <condition var1="tw_busy" var2="0" />
4358 <actions>
4359 <action function="set">tw_hide_kb=0</action>
4360 <action function="page">advanced</action>
4361 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004362 </button>
z31s1g56189522016-01-13 19:12:40 +01004363
z31s1g608d7ff2016-01-18 19:47:25 +01004364 <button>
z31s1g56189522016-01-13 19:12:40 +01004365 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4366 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4367 <condition var1="tw_hide_kb" op="=" var2="0" />
4368 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4369 <image resource="kb_hide" />
4370 <condition var1="tw_busy" var2="0" />
4371 <actions>
4372 <action function="set">tw_hide_kb=1</action>
4373 <action function="page">terminalcommand</action>
4374 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004375 </button>
z31s1g56189522016-01-13 19:12:40 +01004376
z31s1g608d7ff2016-01-18 19:47:25 +01004377 <button>
z31s1g56189522016-01-13 19:12:40 +01004378 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4379 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4380 <condition var1="tw_hide_kb" op="=" var2="1" />
4381 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4382 <image resource="kb_show" />
4383 <condition var1="tw_busy" var2="0" />
4384 <actions>
4385 <action function="set">tw_hide_kb=0</action>
4386 <action function="page">terminalcommand</action>
4387 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004388 </button>
z31s1g56189522016-01-13 19:12:40 +01004389
z31s1g608d7ff2016-01-18 19:47:25 +01004390 <button>
z31s1g56189522016-01-13 19:12:40 +01004391 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4392 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4393 <image resource="home" />
4394 <condition var1="tw_busy" var2="0" />
4395 <actions>
4396 <action function="set">tw_hide_kb=0</action>
4397 <action function="key">home</action>
4398 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004399 </button>
z31s1g56189522016-01-13 19:12:40 +01004400
z31s1g608d7ff2016-01-18 19:47:25 +01004401 <button>
z31s1g56189522016-01-13 19:12:40 +01004402 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4403 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4404 <condition var1="tw_hide_kb" op="=" var2="0" />
4405 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4406 <image resource="kb_hide" />
4407 <condition var1="tw_busy" var2="0" />
4408 <actions>
4409 <action function="set">tw_hide_kb=1</action>
4410 <action function="page">terminalcommand</action>
4411 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004412 </button>
z31s1g56189522016-01-13 19:12:40 +01004413
z31s1g608d7ff2016-01-18 19:47:25 +01004414 <button>
z31s1g56189522016-01-13 19:12:40 +01004415 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4416 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4417 <condition var1="tw_hide_kb" op="=" var2="1" />
4418 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4419 <image resource="kb_show" />
4420 <condition var1="tw_busy" var2="0" />
4421 <actions>
4422 <action function="set">tw_hide_kb=0</action>
4423 <action function="page">terminalcommand</action>
4424 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004425 </button>
z31s1g56189522016-01-13 19:12:40 +01004426
z31s1g608d7ff2016-01-18 19:47:25 +01004427 <button>
z31s1g56189522016-01-13 19:12:40 +01004428 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4429 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4430 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4431 <image resource="back" />
4432 <condition var1="tw_busy" var2="0" />
4433 <actions>
4434 <action function="set">tw_hide_kb=0</action>
4435 <action function="page">advanced</action>
4436 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004437 </button>
z31s1g56189522016-01-13 19:12:40 +01004438
z31s1g608d7ff2016-01-18 19:47:25 +01004439 <button>
z31s1g56189522016-01-13 19:12:40 +01004440 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4441 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4442 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4443 <image resource="back" />
4444 <condition var1="tw_busy" var2="0" />
4445 <actions>
4446 <action function="set">tw_hide_kb=0</action>
4447 <action function="page">advanced</action>
4448 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004449 </button>
z31s1g56189522016-01-13 19:12:40 +01004450
z31s1g608d7ff2016-01-18 19:47:25 +01004451 <button>
z31s1g56189522016-01-13 19:12:40 +01004452 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4453 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4454 <condition var1="tw_hide_kb" op="=" var2="0" />
4455 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4456 <image resource="kb_hide" />
4457 <condition var1="tw_busy" var2="0" />
4458 <actions>
4459 <action function="set">tw_hide_kb=1</action>
4460 <action function="page">terminalcommand</action>
4461 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004462 </button>
z31s1g56189522016-01-13 19:12:40 +01004463
z31s1g608d7ff2016-01-18 19:47:25 +01004464 <button>
z31s1g56189522016-01-13 19:12:40 +01004465 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4466 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4467 <condition var1="tw_hide_kb" op="=" var2="1" />
4468 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4469 <image resource="kb_show" />
4470 <condition var1="tw_busy" var2="0" />
4471 <actions>
4472 <action function="set">tw_hide_kb=0</action>
4473 <action function="page">terminalcommand</action>
4474 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004475 </button>
z31s1g56189522016-01-13 19:12:40 +01004476
z31s1g608d7ff2016-01-18 19:47:25 +01004477 <button>
z31s1g56189522016-01-13 19:12:40 +01004478 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4479 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4480 <image resource="home" />
4481 <condition var1="tw_busy" var2="0" />
4482 <actions>
4483 <action function="set">tw_hide_kb=0</action>
4484 <action function="key">home</action>
4485 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004486 </button>
z31s1g56189522016-01-13 19:12:40 +01004487
z31s1g608d7ff2016-01-18 19:47:25 +01004488 <button>
z31s1g56189522016-01-13 19:12:40 +01004489 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4490 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4491 <condition var1="tw_hide_kb" op="=" var2="0" />
4492 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4493 <image resource="kb_hide" />
4494 <condition var1="tw_busy" var2="0" />
4495 <actions>
4496 <action function="set">tw_hide_kb=1</action>
4497 <action function="page">terminalcommand</action>
4498 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004499 </button>
z31s1g56189522016-01-13 19:12:40 +01004500
z31s1g608d7ff2016-01-18 19:47:25 +01004501 <button>
z31s1g56189522016-01-13 19:12:40 +01004502 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4503 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4504 <condition var1="tw_hide_kb" op="=" var2="1" />
4505 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4506 <image resource="kb_show" />
4507 <condition var1="tw_busy" var2="0" />
4508 <actions>
4509 <action function="set">tw_hide_kb=0</action>
4510 <action function="page">terminalcommand</action>
4511 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004512 </button>
z31s1g56189522016-01-13 19:12:40 +01004513
z31s1g608d7ff2016-01-18 19:47:25 +01004514 <button>
z31s1g56189522016-01-13 19:12:40 +01004515 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4516 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4517 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4518 <image resource="back" />
4519 <condition var1="tw_busy" var2="0" />
4520 <actions>
4521 <action function="set">tw_hide_kb=0</action>
4522 <action function="page">advanced</action>
4523 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004524 </button>
z31s1g56189522016-01-13 19:12:40 +01004525
z31s1g608d7ff2016-01-18 19:47:25 +01004526 <button>
z31s1g56189522016-01-13 19:12:40 +01004527 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4528 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4529 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4530 <image resource="back" />
4531 <condition var1="tw_busy" var2="0" />
4532 <actions>
4533 <action function="set">tw_hide_kb=0</action>
4534 <action function="page">advanced</action>
4535 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004536 </button>
z31s1g56189522016-01-13 19:12:40 +01004537
z31s1g608d7ff2016-01-18 19:47:25 +01004538 <button>
z31s1g56189522016-01-13 19:12:40 +01004539 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4540 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4541 <condition var1="tw_hide_kb" op="=" var2="0" />
4542 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4543 <image resource="kb_hide" />
4544 <condition var1="tw_busy" var2="0" />
4545 <actions>
4546 <action function="set">tw_hide_kb=1</action>
4547 <action function="page">terminalcommand</action>
4548 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004549 </button>
z31s1g56189522016-01-13 19:12:40 +01004550
z31s1g608d7ff2016-01-18 19:47:25 +01004551 <button>
z31s1g56189522016-01-13 19:12:40 +01004552 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4553 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4554 <condition var1="tw_hide_kb" op="=" var2="1" />
4555 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4556 <image resource="kb_show" />
4557 <condition var1="tw_busy" var2="0" />
4558 <actions>
4559 <action function="set">tw_hide_kb=0</action>
4560 <action function="page">terminalcommand</action>
4561 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004562 </button>
z31s1g56189522016-01-13 19:12:40 +01004563
z31s1g608d7ff2016-01-18 19:47:25 +01004564 <button>
z31s1g56189522016-01-13 19:12:40 +01004565 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4566 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4567 <image resource="home" />
4568 <condition var1="tw_busy" var2="0" />
4569 <actions>
4570 <action function="set">tw_hide_kb=0</action>
4571 <action function="key">home</action>
4572 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004573 </button>
z31s1g56189522016-01-13 19:12:40 +01004574
z31s1g608d7ff2016-01-18 19:47:25 +01004575 <button>
z31s1g56189522016-01-13 19:12:40 +01004576 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4577 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4578 <condition var1="tw_hide_kb" op="=" var2="0" />
4579 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4580 <image resource="kb_hide" />
4581 <condition var1="tw_busy" var2="0" />
4582 <actions>
4583 <action function="set">tw_hide_kb=1</action>
4584 <action function="page">terminalcommand</action>
4585 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004586 </button>
z31s1g56189522016-01-13 19:12:40 +01004587
z31s1g608d7ff2016-01-18 19:47:25 +01004588 <button>
z31s1g56189522016-01-13 19:12:40 +01004589 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4590 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4591 <condition var1="tw_hide_kb" op="=" var2="1" />
4592 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4593 <image resource="kb_show" />
4594 <condition var1="tw_busy" var2="0" />
4595 <actions>
4596 <action function="set">tw_hide_kb=0</action>
4597 <action function="page">terminalcommand</action>
4598 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004599 </button>
z31s1g56189522016-01-13 19:12:40 +01004600
z31s1g608d7ff2016-01-18 19:47:25 +01004601 <button>
z31s1g56189522016-01-13 19:12:40 +01004602 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4603 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4604 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4605 <image resource="back" />
4606 <condition var1="tw_busy" var2="0" />
4607 <actions>
4608 <action function="set">tw_hide_kb=0</action>
4609 <action function="page">advanced</action>
4610 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004611 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004612
4613 <action>
4614 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004615 <actions>
4616 <action function="page">main</action>
4617 <action function="set">tw_hide_kb=0</action>
4618 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </action>
4620
4621 <action>
4622 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004623 <actions>
4624 <action function="page">advanced</action>
4625 <action function="set">tw_hide_kb=0</action>
4626 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004627 </action>
z31s1g56189522016-01-13 19:12:40 +01004628
4629 <object type="action">
4630 <touch key="power+voldown" />
4631 <action function="screenshot" />
4632 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004633 </page>
4634
4635 <page name="sideload">
4636 <template name="page"/>
4637
4638 <text style="text_l">
4639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004641 </text>
4642
4643 <text style="text_m">
4644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <checkbox>
4649 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 <data variable="tw_wipe_dalvik"/>
4652 </checkbox>
4653
4654 <checkbox>
4655 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004656 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004657 <data variable="tw_wipe_cache"/>
4658 </checkbox>
4659
4660 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004661 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004662 <actions>
4663 <action function="set">tw_back=advanced</action>
4664 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004665 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4666 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4667 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004668 <action function="set">tw_has_cancel=1</action>
4669 <action function="set">tw_show_reboot=1</action>
4670 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4671 <action function="page">action_page</action>
4672 </actions>
4673 </slider>
4674
4675 <action>
4676 <touch key="home"/>
4677 <action function="page">main</action>
4678 </action>
4679
4680 <action>
4681 <touch key="back"/>
4682 <action function="page">advanced</action>
4683 </action>
4684 </page>
4685
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004686 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004687 <template name="page"/>
4688
4689 <text style="text_l">
4690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004691 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004692 </text>
4693
4694 <text style="text_m">
4695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004696 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 </text>
4698
4699 <text style="text_m_accent">
4700 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004701 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
z31s1g28f0a922015-11-07 18:50:22 +01004704 <text style="text_m_fail">
4705 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004706 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 </text>
4708
4709 <text style="text_m_fail">
4710 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004711 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004712 </text>
4713
4714 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004715 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004716 <actions>
4717 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004718 <action function="set">tw_action=fixcontexts</action>
4719 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4720 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004722 <action function="set">tw_show_reboot=1</action>
4723 <action function="page">action_page</action>
4724 </actions>
4725 </slider>
4726
4727 <action>
4728 <touch key="home"/>
4729 <action function="page">main</action>
4730 </action>
4731
4732 <action>
4733 <touch key="back"/>
4734 <action function="page">advanced</action>
4735 </action>
4736 </page>
4737
z31s1g28f0a922015-11-07 18:50:22 +01004738 <page name="slideout">
4739 <fill color="%background_color%">
4740 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4741 </fill>
4742
4743 <console>
4744 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4745 </console>
4746
4747 <button>
4748 <fill color="%transparent%"/>
4749 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4750 <action function="overlay"/>
4751 </button>
4752
4753 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004754 <touch key="power"/>
4755 <action function="togglebacklight"/>
4756 </action>
4757
4758 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004759 <touch key="power+voldown"/>
4760 <action function="screenshot"/>
4761 </action>
4762 </page>
4763
4764 <page name="select_storage">
4765 <fill color="%semi_transparent%">
4766 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4767 </fill>
4768
4769 <fill color="%background_color%">
4770 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4771 </fill>
4772
4773 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004774 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004775 <data name="tw_storage_path"/>
4776 <listtype name="storage"/>
4777 </partitionlist>
4778
4779 <button style="button_third_width">
4780 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004781 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004782 <actions>
4783 <action function="set">tw_clear_destination=%tw_back%</action>
4784 <action function="overlay"/>
4785 <action function="page">clear_vars</action>
4786 </actions>
4787 </button>
4788
4789 <fill color="#000000">
4790 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4791 </fill>
4792
4793 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004794 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4795 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4796 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4797 <image resource="back" />
4798 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004799 <actions>
4800 <action function="overlay"/>
4801 <action function="key">%tw_back%</action>
4802 </actions>
4803 </button>
4804
4805 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004806 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4807 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4808 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4809 <image resource="console" />
4810 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004811 <action function="overlay">slideout</action>
4812 </button>
4813
4814 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004815 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4816 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4817 <image resource="home" />
4818 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004819 <actions>
4820 <action function="overlay"/>
4821 <action function="key">home</action>
4822 </actions>
4823 </button>
4824
4825 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004826 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4827 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4828 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4829 <image resource="console" />
4830 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004831 <action function="overlay">slideout</action>
4832 </button>
4833
4834 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004835 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4836 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4837 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4838 <image resource="back" />
4839 <condition var1="tw_busy" var2="0" />
4840 <actions>
4841 <action function="overlay"/>
4842 <action function="key">%tw_back%</action>
4843 </actions>
4844 </button>
4845
4846 <button>
4847 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4848 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4849 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4850 <image resource="back" />
4851 <condition var1="tw_busy" var2="0" />
4852 <actions>
4853 <action function="overlay"/>
4854 <action function="key">%tw_back%</action>
4855 </actions>
4856 </button>
4857
4858 <button>
4859 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4860 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4861 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4862 <image resource="console" />
4863 <condition var1="tw_busy" var2="0" />
4864 <action function="overlay">slideout</action>
4865 </button>
4866
4867 <button>
4868 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4869 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4870 <image resource="home" />
4871 <condition var1="tw_busy" var2="0" />
4872 <actions>
4873 <action function="overlay"/>
4874 <action function="key">home</action>
4875 </actions>
4876 </button>
4877
4878 <button>
4879 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4880 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4881 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4882 <image resource="console" />
4883 <condition var1="tw_busy" var2="0" />
4884 <action function="overlay">slideout</action>
4885 </button>
4886
4887 <button>
4888 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4889 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4890 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4891 <image resource="back" />
4892 <condition var1="tw_busy" var2="0" />
4893 <actions>
4894 <action function="overlay"/>
4895 <action function="key">%tw_back%</action>
4896 </actions>
4897 </button>
4898
4899 <button>
4900 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4901 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4902 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4903 <image resource="back" />
4904 <condition var1="tw_busy" var2="0" />
4905 <actions>
4906 <action function="overlay"/>
4907 <action function="key">%tw_back%</action>
4908 </actions>
4909 </button>
4910
4911 <button>
4912 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4913 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4914 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4915 <image resource="console" />
4916 <condition var1="tw_busy" var2="0" />
4917 <action function="overlay">slideout</action>
4918 </button>
4919
4920 <button>
4921 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4922 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4923 <image resource="home" />
4924 <condition var1="tw_busy" var2="0" />
4925 <actions>
4926 <action function="overlay"/>
4927 <action function="key">home</action>
4928 </actions>
4929 </button>
4930
4931 <button>
4932 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4933 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4934 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4935 <image resource="console" />
4936 <condition var1="tw_busy" var2="0" />
4937 <action function="overlay">slideout</action>
4938 </button>
4939
4940 <button>
4941 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4942 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4943 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4944 <image resource="back" />
4945 <condition var1="tw_busy" var2="0" />
4946 <actions>
4947 <action function="overlay"/>
4948 <action function="key">%tw_back%</action>
4949 </actions>
4950 </button>
4951
4952 <action>
4953 <touch key="power+voldown"/>
4954 <action function="screenshot"/>
4955 </action>
4956 </page>
4957
4958 <page name="select_language">
4959 <fill color="%semi_transparent%">
4960 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4961 </fill>
4962
4963 <fill color="%background_color%">
4964 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4965 </fill>
4966
4967 <listbox>
4968 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4969 <text>{@select_language=Select Language:}</text>
4970 <icon selected="radio_true" unselected="radio_false" />
4971 <data name="tw_language" />
4972 </listbox>
4973
4974 <button style="button_third_width">
4975 <placement x="%dialog_button_x%" y="%row13_y%"/>
4976 <text>{@ok_btn=OK}</text>
4977 <actions>
4978 <action function="overlay"/>
4979 <action function="setlanguage"></action>
4980 </actions>
4981 </button>
4982
4983 <fill color="#000000">
4984 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4985 </fill>
4986
4987 <button>
4988 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4989 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4990 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4991 <image resource="back" />
4992 <condition var1="tw_busy" var2="0" />
4993 <actions>
4994 <action function="overlay"/>
4995 <action function="key">%tw_back%</action>
4996 </actions>
4997 </button>
4998
4999 <button>
5000 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5001 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5002 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5003 <image resource="console" />
5004 <condition var1="tw_busy" var2="0" />
5005 <action function="overlay">slideout</action>
5006 </button>
5007
5008 <button>
5009 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5010 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5011 <image resource="home" />
5012 <condition var1="tw_busy" var2="0" />
5013 <actions>
5014 <action function="overlay"/>
5015 <action function="key">home</action>
5016 </actions>
5017 </button>
5018
5019 <button>
5020 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5021 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5022 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5023 <image resource="console" />
5024 <condition var1="tw_busy" var2="0" />
5025 <action function="overlay">slideout</action>
5026 </button>
5027
5028 <button>
5029 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5030 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5031 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5032 <image resource="back" />
5033 <condition var1="tw_busy" var2="0" />
5034 <actions>
5035 <action function="overlay"/>
5036 <action function="key">%tw_back%</action>
5037 </actions>
5038 </button>
5039
5040 <button>
5041 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5042 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5043 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5044 <image resource="back" />
5045 <condition var1="tw_busy" var2="0" />
5046 <actions>
5047 <action function="overlay"/>
5048 <action function="key">%tw_back%</action>
5049 </actions>
5050 </button>
5051
5052 <button>
5053 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5054 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5055 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5056 <image resource="console" />
5057 <condition var1="tw_busy" var2="0" />
5058 <action function="overlay">slideout</action>
5059 </button>
5060
5061 <button>
5062 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5063 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5064 <image resource="home" />
5065 <condition var1="tw_busy" var2="0" />
5066 <actions>
5067 <action function="overlay"/>
5068 <action function="key">home</action>
5069 </actions>
5070 </button>
5071
5072 <button>
5073 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5074 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5075 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5076 <image resource="console" />
5077 <condition var1="tw_busy" var2="0" />
5078 <action function="overlay">slideout</action>
5079 </button>
5080
5081 <button>
5082 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5083 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5084 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5085 <image resource="back" />
5086 <condition var1="tw_busy" var2="0" />
5087 <actions>
5088 <action function="overlay"/>
5089 <action function="key">%tw_back%</action>
5090 </actions>
5091 </button>
5092
5093 <button>
5094 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5095 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5096 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5097 <image resource="back" />
5098 <condition var1="tw_busy" var2="0" />
5099 <actions>
5100 <action function="overlay"/>
5101 <action function="key">%tw_back%</action>
5102 </actions>
5103 </button>
5104
5105 <button>
5106 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5107 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5108 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5109 <image resource="console" />
5110 <condition var1="tw_busy" var2="0" />
5111 <action function="overlay">slideout</action>
5112 </button>
5113
5114 <button>
5115 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5116 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5117 <image resource="home" />
5118 <condition var1="tw_busy" var2="0" />
5119 <actions>
5120 <action function="overlay"/>
5121 <action function="key">home</action>
5122 </actions>
5123 </button>
5124
5125 <button>
5126 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5127 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5128 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5129 <image resource="console" />
5130 <condition var1="tw_busy" var2="0" />
5131 <action function="overlay">slideout</action>
5132 </button>
5133
5134 <button>
5135 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5136 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5137 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5138 <image resource="back" />
5139 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005140 <actions>
5141 <action function="overlay"/>
5142 <action function="key">%tw_back%</action>
5143 </actions>
5144 </button>
5145
5146 <action>
5147 <touch key="power+voldown"/>
5148 <action function="screenshot"/>
5149 </action>
5150 </page>
5151 </pages>
5152</recovery>