blob: 6d544833f3a710b793cdd31178aa79d8a20bf91a [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
142 </style>
143
144 <style name="partitionlist">
145 <highlight color="%fileselector_highlight_color%"/>
146 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
147 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
148 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
149 <icon selected="checkbox_true" unselected="checkbox_false"/>
150 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
151 <background color="%background_color%"/>
152 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
153 </style>
154
155 <style name="partitionlist_storage">
156 <highlight color="%fileselector_highlight_color%"/>
157 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
158 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
159 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
160 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
161 <icon selected="radio_true" unselected="radio_false"/>
162 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
163 <background color="%background_color%"/>
164 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
165 </style>
166
167 <style name="slider">
168 <placement x="%col2_x_right%" y="%row17a_y%"/>
169 <font resource="font_m" color="%text_color%"/>
170 <resource base="slider" used="slider_used" touch="slider_touch"/>
171 </style>
172
173 <style name="slider_centered">
174 <placement x="%center_x%" y="%row17a_y%"/>
175 <font resource="font_m" color="%text_color%"/>
176 <resource base="slider" used="slider_used" touch="slider_touch"/>
177 </style>
178
179 <style name="slidervalue">
180 <resource handle="handle"/>
181 <font resource="font_m" color="%text_color%"/>
182 <colors line="%fileselector_linecolor%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100185
186 <style name="patternpassword">
187 <size name="tw_gui_pattern_grid_size" default="3"/>
188 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100189 </styles>
190
191 <pages>
192 <page name="main">
193 <action>
194 <actions>
195 <action function="set">tw_clear_destination=main2</action>
196 <action function="page">clear_vars</action>
197 </actions>
198 </action>
199 </page>
200
201 <page name="main2">
202 <template name="page"/>
203
204 <text style="text_l">
205 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500206 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100207 </text>
208
209 <text style="text_m">
210 <condition var1="tw_no_cpu_temp" var2="0"/>
211 <placement x="%col1_x_header%" y="%row4_header_y%"/>
212 <text>%tw_version%</text>
213 </text>
214
215 <button style="main_button">
216 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 <actions>
219 <action function="queueclear"/>
220 <action function="set">tw_selectimage=0</action>
221 <action function="page">install</action>
222 </actions>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">backup</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">restore</action>
241 </button>
242
243 <button style="main_button">
244 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500245 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100246 <action function="page">mount</action>
247 </button>
248
249 <button style="main_button">
250 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500251 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100252 <action function="page">settings</action>
253 </button>
254
255 <button style="main_button">
256 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500257 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100258 <action function="page">advanced</action>
259 </button>
260
261 <button style="main_button">
262 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500263 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100264 <action function="page">reboot</action>
265 </button>
266 </page>
267
268 <page name="install">
269 <template name="page"/>
270
271 <text style="text_l">
272 <condition var1="tw_selectimage" var2="0"/>
273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 </text>
276
277 <text style="text_l">
278 <condition var1="tw_selectimage" var2="1"/>
279 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500280 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100281 </text>
282
283 <text style="text_m">
284 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <template name="sort_options"/>
289
290 <fileselector>
291 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500292 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100293 <filter folders="1" files="0"/>
294 <path name="tw_zip_location" default="/sdcard"/>
295 <data name="select"/>
296 </fileselector>
297
298 <fileselector>
299 <condition var1="tw_selectimage" var2="0"/>
300 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
301 <text>%tw_zip_location%</text>
302 <filter extn=".zip" folders="0" files="1"/>
303 <path name="tw_zip_location" default="/sdcard"/>
304 <data name="tw_filename"/>
305 <selection name="tw_file"/>
306 </fileselector>
307
308 <fileselector>
309 <condition var1="tw_selectimage" var2="1"/>
310 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
311 <text>%tw_zip_location%</text>
312 <filter extn=".img" folders="0" files="1"/>
313 <path name="tw_zip_location" default="/sdcard"/>
314 <data name="tw_filename"/>
315 <selection name="tw_file"/>
316 </fileselector>
317
318 <button style="main_button_half_width_low">
319 <condition var1="tw_selectimage" var2="0"/>
320 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <actions>
323 <action function="set">tw_selectimage=1</action>
324 <action function="page">install</action>
325 </actions>
326 </button>
327
328 <button style="main_button_half_width_low">
329 <condition var1="tw_selectimage" var2="1"/>
330 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500331 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100332 <actions>
333 <action function="set">tw_selectimage=0</action>
334 <action function="page">install</action>
335 </actions>
336 </button>
337
338 <button style="main_button_half_width_low">
339 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 <actions>
342 <action function="set">tw_back=install</action>
343 <action function="overlay">select_storage</action>
344 </actions>
345 </button>
346
347 <action>
348 <conditions>
349 <condition var1="tw_selectimage" var2="0"/>
350 <condition var1="tw_filename" op="modified"/>
351 </conditions>
352 <actions>
353 <action function="queuezip"/>
354 <action function="page">flash_confirm</action>
355 </actions>
356 </action>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="1"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <action function="page">flashimage_confirm</action>
364 </action>
365
366 <action>
367 <touch key="back"/>
368 <action function="page">main</action>
369 </action>
370
371 <action>
372 <touch key="home"/>
373 <action function="page">main</action>
374 </action>
375 </page>
376
377 <page name="flash_confirm">
378 <template name="page"/>
379
380 <text style="text_l">
381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100383 </text>
384
385 <text style="text_m">
386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500387 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </text>
389
390 <text style="text_m_accent">
391 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500392 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100393 </text>
394
395 <text style="text_m_accent">
396 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500402 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m">
411 <placement x="%col1_x_left%" y="%row9_y%"/>
412 <text>%tw_zip_location%</text>
413 </text>
414
415 <text style="text_m_accent">
416 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m">
421 <placement x="%col1_x_left%" y="%row12_y%"/>
422 <text>%tw_file%</text>
423 </text>
424
425 <text style="text_m_accent">
426 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500427 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100428 </text>
429
430 <checkbox>
431 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <data variable="tw_signed_zip_verify"/>
434 </checkbox>
435
436 <checkbox>
437 <condition var1="tw_has_injecttwrp" var2="1"/>
438 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <data variable="tw_inject_after_zip"/>
441 </checkbox>
442
bigbiffa869fc72016-03-01 19:40:36 -0500443 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500444 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500446 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500447 </checkbox>
448
z31s1g28f0a922015-11-07 18:50:22 +0100449 <button style="main_button_half_width">
450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <action function="page">install</action>
453 </button>
454
455 <button style="main_button_half_width">
456 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500457 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100458 <actions>
459 <action function="queueclear"/>
460 <action function="page">install</action>
461 </actions>
462 </button>
463
464 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 <action function="flash">flash_zip</action>
467 </slider>
468
469 <action>
470 <touch key="back"/>
471 <actions>
472 <action function="cancelzip"/>
473 <action function="page">install</action>
474 </actions>
475 </action>
476
477 <action>
478 <touch key="home"/>
479 <action function="page">main</action>
480 </action>
481 </page>
482
483 <page name="flash_zip">
484 <template name="page"/>
485
486 <text style="text_l">
487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 </text>
490
491 <text style="text_m">
492 <placement x="%col1_x_header%" y="%row4_header_y%"/>
493 <text>%tw_file%</text>
494 </text>
495
496 <template name="console"/>
497
498 <template name="progress_bar"/>
499
500 <action>
501 <condition var1="tw_operation_state" var2="1"/>
502 <action function="page">flash_done</action>
503 </action>
504 </page>
505
506 <page name="flash_done">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m_fail">
515 <condition var1="tw_operation_status" op="!=" var2="0"/>
516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500517 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100518 </text>
519
520 <text style="text_m">
521 <condition var1="tw_operation_status" var2="0"/>
522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500523 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100524 </text>
525
526 <template name="console"/>
527
528 <button style="main_button_half_width">
529 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500530 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <actions>
532 <action function="set">tw_back=flash_done</action>
533 <action function="set">tw_action=wipe</action>
534 <action function="set">tw_action_param=/cache</action>
535 <action function="set">tw_has_action2=1</action>
536 <action function="set">tw_action2=wipe</action>
537 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
539 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
540 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
541 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <action function="page">confirm_action</action>
543 </actions>
544 </button>
545
546 <button style="main_button_half_width">
547 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500548 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100549 <actions>
550 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500551 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100552 </actions>
553 </button>
554
555 <action>
556 <touch key="back"/>
557 <actions>
558 <action function="set">tw_clear_destination=install</action>
559 <action function="page">clear_vars</action>
560 </actions>
561 </action>
562
563 <action>
564 <touch key="home"/>
565 <actions>
566 <action function="set">tw_clear_destination=main2</action>
567 <action function="page">clear_vars</action>
568 </actions>
569 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500570
571 <action>
572 <conditions>
573 <condition var1="tw_install_reboot" var2="1"/>
574 <condition var1="tw_operation_status" var2="0"/>
575 <condition var1="tw_reboot_system" var2="1"/>
576 </conditions>
577 <actions>
578 <action function="set">tw_sleep=%tw_sleep_total%</action>
579 <action function="page">flash_sleep_and_reboot</action>
580 </actions>
581 </action>
582 </page>
583
584 <page name="flash_sleep_and_reboot">
585 <template name="page"/>
586
587 <text style="text_l">
588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
589 <text>{@install_zip_hdr=Install Zip}</text>
590 </text>
591
592 <text style="text_m">
593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
594 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
595 </text>
596
597 <template name="console"/>
598
599 <template name="progress_bar"/>
600
601 <button style="main_button_half_width">
602 <condition var1="tw_sleep" op="&gt;" var2="0"/>
603 <placement x="%center_x%" y="%row15a_y%"/>
604 <text>{@cancel_btn=Cancel}</text>
605 <actions>
606 <action function="set">tw_install_reboot=0</action>
607 <action function="page">flash_done</action>
608 </actions>
609 </button>
610
611 <action>
612 <conditions>
613 <condition var1="tw_sleep" var2="tw_sleep_total"/>
614 <condition var1="tw_install_reboot" var2="1"/>
615 </conditions>
616 <action function="sleepcounter">%tw_sleep_total%</action>
617 </action>
618
619 <action>
620 <conditions>
621 <condition var1="tw_sleep" var2="0"/>
622 <condition var1="tw_install_reboot" var2="1"/>
623 </conditions>
624 <actions>
625 <action function="sleep">50000</action>
626 <action function="set">tw_back=main2</action>
627 <action function="page">reboot_system_routine</action>
628 </actions>
629 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100630 </page>
631
632 <page name="flashimage_confirm">
633 <template name="page"/>
634
635 <text style="text_l">
636 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 </text>
639
640 <text style="text_m">
641 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500642 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100643 </text>
644
645 <text style="text_m_accent">
646 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500647 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100648 </text>
649
650 <text style="text_m">
651 <placement x="%col1_x_left%" y="%row9_y%"/>
652 <text>%tw_zip_location%</text>
653 </text>
654
655 <text style="text_m_accent">
656 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500657 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100658 </text>
659
660 <text style="text_m">
661 <placement x="%col1_x_left%" y="%row12_y%"/>
662 <text>%tw_file%</text>
663 </text>
664
665 <partitionlist>
666 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
667 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 <data name="tw_flash_partition"/>
670 <listtype name="flashimg"/>
671 </partitionlist>
672
673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500674 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <actions>
676 <action function="set">tw_back=flashimage_confirm</action>
677 <action function="set">tw_action=flashimage</action>
678 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500681 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 <action function="page">action_page</action>
683 </actions>
684 <action function="flashimage"/>
685 </slider>
686
687 <action>
688 <touch key="back"/>
689 <actions>
690 <action function="set">tw_clear_destination=install</action>
691 <action function="page">clear_vars</action>
692 </actions>
693 </action>
694
695 <action>
696 <touch key="home"/>
697 <actions>
698 <action function="set">tw_clear_destination=main2</action>
699 <action function="page">clear_vars</action>
700 </actions>
701 </action>
702 </page>
703
704 <page name="clear_vars">
705 <action>
706 <action function="set">tw_operation_state=0</action>
707 <action function="set">tw_text1=</action>
708 <action function="set">tw_text2=</action>
709 <action function="set">tw_text3=</action>
710 <action function="set">tw_text4=</action>
711 <action function="set">tw_action_text1=</action>
712 <action function="set">tw_action_text2=</action>
713 <action function="set">tw_action_param=</action>
714 <action function="set">tw_has_action2=0</action>
715 <action function="set">tw_action2=</action>
716 <action function="set">tw_action2_param=</action>
717 <action function="set">tw_has_cancel=0</action>
718 <action function="set">tw_cancel_action=</action>
719 <action function="set">tw_cancel_param=</action>
720 <action function="set">tw_show_exclamation=0</action>
721 <action function="set">tw_show_reboot=0</action>
722 <action function="page">%tw_clear_destination%</action>
723 </action>
724 </page>
725
Matt Mower908dd252016-05-25 02:26:50 -0500726 <page name="reboot_system_routine">
727 <action>
728 <action function="set">tw_action=reboot</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600729 <action function="set">tw_reboot_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500730 <action function="set">tw_has_action2=0</action>
731 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
732 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
733 <action function="set">tw_text3=</action>
734 <action function="set">tw_text4=</action>
735 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
736 <action function="set">tw_action_text2=</action>
737 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
738 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
739 <action function="page">rebootcheck</action>
740 </action>
741 </page>
742
z31s1g28f0a922015-11-07 18:50:22 +0100743 <page name="confirm_action">
744 <template name="page"/>
745
746 <text style="text_l">
747 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 </text>
750
751 <text style="text_m">
752 <placement x="%col1_x_header%" y="%row4_header_y%"/>
753 <text/>
754 </text>
755
756 <text style="text_m_accent">
757 <placement x="%center_x%" y="%row2_y%" placement="5"/>
758 <text>%tw_text1%</text>
759 </text>
760
761 <text style="text_m_accent">
762 <placement x="%center_x%" y="%row3_y%" placement="5"/>
763 <text>%tw_text2%</text>
764 </text>
765
766 <text style="text_m">
767 <placement x="%center_x%" y="%row4_y%" placement="5"/>
768 <text>%tw_text3%</text>
769 </text>
770
771 <text style="text_m">
772 <placement x="%center_x%" y="%row5_y%" placement="5"/>
773 <text>%tw_text4%</text>
774 </text>
775
776 <text style="text_m">
777 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500778 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100779 </text>
780
781 <slider style="slider_centered">
782 <text>%tw_slider_text%</text>
783 <action function="page">action_page</action>
784 </slider>
785
786 <action>
787 <touch key="back"/>
788 <actions>
789 <action function="set">tw_clear_destination=%tw_back%</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </action>
793
794 <action>
795 <touch key="home"/>
796 <action function="page">main</action>
797 </action>
798 </page>
799
800 <page name="action_page">
801 <template name="page"/>
802
803 <text style="text_l">
804 <placement x="%col1_x_header%" y="%row3_header_y%"/>
805 <text>%tw_action_text1%</text>
806 </text>
807
808 <text style="text_m">
809 <placement x="%col1_x_header%" y="%row4_header_y%"/>
810 <text>%tw_action_text2%</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <button style="main_button_half_width">
818 <condition var1="tw_has_cancel" var2="1"/>
819 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500820 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100821 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
822 </button>
823
824 <action>
825 <condition var1="tw_operation_state" var2="1"/>
826 <actions>
827 <action function="page">action_complete</action>
828 </actions>
829 </action>
830
831 <action>
832 <condition var1="tw_has_action2" var2="0"/>
833 <actions>
834 <action function="%tw_action%">%tw_action_param%</action>
835 </actions>
836 </action>
837
838 <action>
839 <condition var1="tw_has_action2" var2="1"/>
840 <actions>
841 <action function="%tw_action%">%tw_action_param%</action>
842 <action function="%tw_action2%">%tw_action2_param%</action>
843 </actions>
844 </action>
845 </page>
846
847 <page name="singleaction_page">
848 <template name="page"/>
849
850 <text style="text_l">
851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
852 <text>%tw_action_text1%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%col1_x_header%" y="%row4_header_y%"/>
857 <text>%tw_action_text2%</text>
858 </text>
859
860 <template name="console"/>
861
862 <template name="progress_bar"/>
863
864 <action>
865 <condition var1="tw_operation_state" var2="1"/>
866 <actions>
867 <action function="set">tw_page_done=1</action>
868 </actions>
869 </action>
870
871 <action>
872 <condition var1="tw_has_action2" var2="0"/>
873 <actions>
874 <action function="%tw_action%">%tw_action_param%</action>
875 </actions>
876 </action>
877
878 <action>
879 <condition var1="tw_has_action2" var2="1"/>
880 <actions>
881 <action function="%tw_action%">%tw_action_param%</action>
882 <action function="%tw_action2%">%tw_action2_param%</action>
883 </actions>
884 </action>
885 </page>
886
887 <page name="action_complete">
888 <template name="page"/>
889
890 <text style="text_l">
891 <placement x="%col1_x_header%" y="%row3_header_y%"/>
892 <text>%tw_complete_text1%</text>
893 </text>
894
895 <text style="text_m_fail">
896 <condition var1="tw_operation_status" op="!=" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <text style="text_m">
902 <condition var1="tw_operation_status" var2="0"/>
903 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <template name="console"/>
908
909 <button style="main_button_half_width">
910 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500911 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </button>
917
918 <button style="main_button_half_width">
919 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100921 <actions>
922 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500923 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100924 </actions>
925 </button>
926
927 <action>
928 <touch key="home"/>
929 <actions>
930 <action function="set">tw_clear_destination=main2</action>
931 <action function="page">clear_vars</action>
932 </actions>
933 </action>
934
935 <action>
936 <touch key="back"/>
937 <actions>
938 <action function="set">tw_clear_destination=%tw_back%</action>
939 <action function="page">clear_vars</action>
940 </actions>
941 </action>
942 </page>
943
944 <page name="filecheck">
945 <action>
946 <action function="fileexists">%tw_filecheck%</action>
947 </action>
948
949 <action>
950 <conditions>
951 <condition var1="tw_operation_state" var2="1"/>
952 <condition var1="tw_operation_status" var2="0"/>
953 </conditions>
954 <actions>
955 <action function="set">tw_fileexists=1</action>
956 <action function="page">%tw_existpage%</action>
957 </actions>
958 </action>
959
960 <action>
961 <conditions>
962 <condition var1="tw_operation_state" var2="1"/>
963 <condition var1="tw_operation_status" var2="1"/>
964 </conditions>
965 <actions>
966 <action function="set">tw_fileexists=0</action>
967 <action function="page">%tw_notexistpage%</action>
968 </actions>
969 </action>
970 </page>
971
972 <page name="rebootcheck">
973 <action>
974 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600975 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </action>
977
978 <action>
979 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
980 <action function="page">confirm_action</action>
981 </action>
982 </page>
983
Ethan Yonker64c5c0a2017-03-06 12:42:54 -0600984 <page name="appcheck">
985 <action>
986 <condition var1="tw_app_prompt" var2="1"/>
987 <action function="checkforapp"></action>
988 </action>
989
990 <action>
991 <condition var1="tw_app_prompt" op="!=" var2="1"/>
992 <action function="reboot">%tw_reboot_param%</action>
993 </action>
994
995 <action>
996 <condition var1="tw_app_install_status" var2="1"/>
997 <action function="page">rebootapp</action>
998 </action>
999
1000 <action>
1001 <condition var1="tw_app_install_status" var2="2"/>
1002 <action function="reboot">%tw_reboot_param%</action>
1003 </action>
1004 </page>
1005
z31s1g28f0a922015-11-07 18:50:22 +01001006 <page name="wipe">
1007 <template name="page"/>
1008
1009 <text style="text_l">
1010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m">
1015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <text style="text_m_accent">
1020 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001021 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001022 </text>
1023
1024 <text style="text_m_accent">
1025 <condition var1="tw_has_data_media" var2="1"/>
1026 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 </text>
1029
1030 <text style="text_m_accent">
1031 <conditions>
1032 <condition var1="tw_has_android_secure" var2="1"/>
1033 <condition var1="fileexists" var2="/and-sec"/>
1034 </conditions>
1035 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001036 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001037 </text>
1038
1039 <text style="text_m_accent">
1040 <condition var1="tw_has_sdext_partition" var2="1"/>
1041 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 </text>
1044
1045 <text style="text_m">
1046 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001047 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001048 </text>
1049
1050 <text style="text_m">
1051 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 </text>
1054
1055 <text style="text_m">
1056 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001057 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001058 </text>
1059
1060 <button style="main_button_half_width">
1061 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <actions>
1064 <action function="set">partitionlisterror=0</action>
1065 <action function="page">advancedwipe</action>
1066 </actions>
1067 </button>
1068
1069 <button style="main_button_half_width">
1070 <condition var1="tw_has_data_media" var2="1"/>
1071 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001072 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001073 <action function="page">formatdata</action>
1074 </button>
1075
1076 <button style="main_button_half_width">
1077 <conditions>
1078 <condition var1="tw_is_encrypted" var2="1"/>
1079 <condition var1="tw_has_data_media" var2="0"/>
1080 </conditions>
1081 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001082 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <actions>
1084 <action function="set">tw_back=wipe</action>
1085 <action function="set">tw_action=wipe</action>
1086 <action function="set">tw_action_param=DATAMEDIA</action>
1087 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001089 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1091 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1092 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001093 <action function="page">confirm_action</action>
1094 </actions>
1095 </button>
1096
1097 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 <actions>
1100 <action function="set">tw_back=wipe</action>
1101 <action function="set">tw_action=wipe</action>
1102 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001103 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1104 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001105 <action function="page">action_page</action>
1106 </actions>
1107 </slider>
1108
1109 <action>
1110 <touch key="back"/>
1111 <action function="page">main</action>
1112 </action>
1113
1114 <action>
1115 <touch key="home"/>
1116 <action function="page">main</action>
1117 </action>
1118 </page>
1119
1120 <page name="advancedwipe">
1121 <template name="page"/>
1122
1123 <action>
1124 <action function="set">tw_wipe_list=</action>
1125 </action>
1126
1127 <text style="text_l">
1128 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 </text>
1131
1132 <text style="text_m">
1133 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 </text>
1136
1137 <partitionlist>
1138 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001139 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <data name="tw_wipe_list"/>
1141 <listtype name="wipe"/>
1142 </partitionlist>
1143
1144 <text style="text_m_fail">
1145 <condition var1="partitionlisterror" var2="1"/>
1146 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001147 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001148 </text>
1149
1150 <button style="main_button_m">
1151 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001154 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001155 <action function="page">checkpartitionlist</action>
1156 </actions>
1157 </button>
1158
1159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <actions>
1162 <action function="set">tw_back=advancedwipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1166 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1167 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001168 <action function="page">action_page</action>
1169 </actions>
1170 </slider>
1171
1172 <action>
1173 <touch key="home"/>
1174 <action function="page">main</action>
1175 </action>
1176
1177 <action>
1178 <touch key="back"/>
1179 <action function="page">wipe</action>
1180 </action>
1181 </page>
1182
1183 <page name="formatdata">
1184 <template name="page"/>
1185
1186 <text style="text_l">
1187 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <text style="text_m">
1192 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001194 </text>
1195
1196 <text style="text_m_fail">
1197 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001198 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001199 </text>
1200
1201 <text style="text_m_fail">
1202 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
Ethan Yonker66a19492015-12-10 10:19:45 -06001206 <text style="text_m_fail">
1207 <condition var1="tw_has_adopted_storage" var2="1"/>
1208 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1209 <text>{@format_data_adopted=Including Adopted Storage}</text>
1210 </text>
1211
z31s1g28f0a922015-11-07 18:50:22 +01001212 <text style="text_m">
1213 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <input>
1223 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1224 <text>%tw_confirm_formatdata%</text>
1225 <data name="tw_confirm_formatdata"/>
1226 <restrict minlen="3" maxlen="3" allow="yes"/>
1227 <action function="page">formatdata_confirm</action>
1228 </input>
1229
1230 <fill color="%accent_color%">
1231 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1232 </fill>
1233
1234 <template name="keyboardtemplate"/>
1235
1236 <action>
1237 <touch key="home"/>
1238 <action function="page">main</action>
1239 </action>
1240
1241 <action>
1242 <touch key="back"/>
1243 <action function="page">wipe</action>
1244 </action>
1245 </page>
1246
1247 <page name="formatdata_confirm">
1248 <action>
1249 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1250 <actions>
1251 <action function="set">tw_back=formatdata</action>
1252 <action function="set">tw_action=wipe</action>
1253 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1255 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001256 <action function="page">action_page</action>
1257 </actions>
1258 </action>
1259
1260 <action>
1261 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1262 <action function="page">formatdata</action>
1263 </action>
1264 </page>
1265
1266 <page name="checkpartitionlist">
1267 <action>
1268 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1269 <actions>
1270 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001271 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001272 <action function="page">partitionoptions</action>
1273 </actions>
1274 </action>
1275
1276 <action>
1277 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1278 <actions>
1279 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001280 <action function="page">advancedwipe</action>
1281 </actions>
1282 </action>
1283 </page>
1284
1285 <page name="partitionoptions">
1286 <template name="page"/>
1287
1288 <text style="text_l">
1289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 </text>
1292
1293 <text style="text_m">
1294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001295 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001296 </text>
1297
1298 <text style="text_m_accent">
1299 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m_accent">
1304 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m">
1309 <condition var1="tw_partition_is_present" var2="1"/>
1310 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m">
1315 <condition var1="tw_partition_is_present" var2="0"/>
1316 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <condition var1="tw_partition_removable" var2="1"/>
1322 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001324 </text>
1325
1326 <text style="text_m">
1327 <condition var1="tw_partition_removable" var2="0"/>
1328 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001330 </text>
1331
1332 <text style="text_m">
1333 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 </text>
1336
1337 <text style="text_m">
1338 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001340 </text>
1341
1342 <text style="text_m">
1343 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m">
1348 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <button style="main_button_half_width">
1353 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1354 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001355 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001356 <actions>
1357 <action function="set">tw_back=partitionoptions</action>
1358 <action function="set">tw_action=resize</action>
1359 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1360 <action function="set">tw_has_action2=1</action>
1361 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001362 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1366 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_width">
1373 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1374 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <actions>
1377 <action function="set">tw_back=partitionoptions</action>
1378 <action function="set">tw_action=repair</action>
1379 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001382 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1384 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1385 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="page">confirm_action</action>
1387 </actions>
1388 </button>
1389
1390 <button style="main_button_half_width">
1391 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 <action function="page">selectfilesystem</action>
1394 </button>
1395
1396 <action>
1397 <touch key="home"/>
1398 <action function="page">main</action>
1399 </action>
1400
1401 <action>
1402 <touch key="back"/>
1403 <action function="page">advancedwipe</action>
1404 </action>
1405 </page>
1406
1407 <page name="refreshfilesystem">
1408 <action>
1409 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1410 <actions>
1411 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001412 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001413 <action function="page">selectfilesystem</action>
1414 </actions>
1415 </action>
1416
1417 <action>
1418 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1419 <actions>
1420 <action function="set">partitionlisterror=1</action>
1421 <action function="set">tw_wipe_list=</action>
1422 <action function="page">advancedwipe</action>
1423 </actions>
1424 </action>
1425 </page>
1426
1427 <page name="selectfilesystem">
1428 <template name="page"/>
1429
1430 <text style="text_l">
1431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m">
1436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m_accent">
1441 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <text style="text_m_accent">
1446 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001448 </text>
1449
1450 <text style="text_m_fail">
1451 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001453 </text>
1454
1455 <text style="text_m_fail">
1456 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <button style="main_button_half_width">
1461 <condition var1="tw_partition_ext" op="=" var2="1"/>
1462 <placement x="%col1_x_left%" y="%row11_y%"/>
1463 <text>EXT2</text>
1464 <actions>
1465 <action function="set">tw_back=refreshfilesystem</action>
1466 <action function="set">tw_action=changefilesystem</action>
1467 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1468 <action function="set">tw_action_new_file_system=ext2</action>
1469 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001470 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1471 <action function="set">tw_text2=EXT2</action>
1472 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1473 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1474 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">confirm_action</action>
1476 </actions>
1477 </button>
1478
1479 <button style="main_button_half_width">
1480 <condition var1="tw_partition_ext" op="=" var2="1"/>
1481 <placement x="%col2_x_left%" y="%row11_y%"/>
1482 <text>EXT3</text>
1483 <actions>
1484 <action function="set">tw_back=refreshfilesystem</action>
1485 <action function="set">tw_action=changefilesystem</action>
1486 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1487 <action function="set">tw_action_new_file_system=ext3</action>
1488 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001489 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1490 <action function="set">tw_text2=EXT3</action>
1491 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1492 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1493 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001494 <action function="page">confirm_action</action>
1495 </actions>
1496 </button>
1497
1498 <button style="main_button_half_width">
1499 <condition var1="tw_partition_ext" op="=" var2="1"/>
1500 <placement x="%center_x%" y="%row11_y%"/>
1501 <text>EXT4</text>
1502 <actions>
1503 <action function="set">tw_back=refreshfilesystem</action>
1504 <action function="set">tw_action=changefilesystem</action>
1505 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1506 <action function="set">tw_action_new_file_system=ext4</action>
1507 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1509 <action function="set">tw_text2=EXT4</action>
1510 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1511 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1512 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001513 <action function="page">confirm_action</action>
1514 </actions>
1515 </button>
1516
1517 <button style="main_button_half_width">
1518 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1519 <placement x="%col2_x_right%" y="%row11_y%"/>
1520 <text>FAT</text>
1521 <actions>
1522 <action function="set">tw_back=refreshfilesystem</action>
1523 <action function="set">tw_action=changefilesystem</action>
1524 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1525 <action function="set">tw_action_new_file_system=vfat</action>
1526 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001527 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1528 <action function="set">tw_text2=FAT</action>
1529 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1530 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1531 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001532 <action function="page">confirm_action</action>
1533 </actions>
1534 </button>
1535
1536 <button style="main_button_half_width">
1537 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1538 <placement x="%col2_x_left%" y="%row15a_y%"/>
1539 <text>exFAT</text>
1540 <actions>
1541 <action function="set">tw_back=refreshfilesystem</action>
1542 <action function="set">tw_action=changefilesystem</action>
1543 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1544 <action function="set">tw_action_new_file_system=exfat</action>
1545 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001546 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1547 <action function="set">tw_text2=exFAT</action>
1548 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1549 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1550 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001551 <action function="page">confirm_action</action>
1552 </actions>
1553 </button>
1554
1555 <button style="main_button_half_width">
1556 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1557 <placement x="%center_x%" y="%row15a_y%"/>
1558 <text>F2FS</text>
1559 <actions>
1560 <action function="set">tw_back=refreshfilesystem</action>
1561 <action function="set">tw_action=changefilesystem</action>
1562 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1563 <action function="set">tw_action_new_file_system=f2fs</action>
1564 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1566 <action function="set">tw_text2=F2FS</action>
1567 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1568 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1569 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001570 <action function="page">confirm_action</action>
1571 </actions>
1572 </button>
1573
1574 <action>
1575 <touch key="home"/>
1576 <action function="page">main</action>
1577 </action>
1578
1579 <action>
1580 <touch key="back"/>
1581 <action function="page">partitionoptions</action>
1582 </action>
1583 </page>
1584
1585 <page name="backup">
1586 <template name="page"/>
1587
1588 <text style="text_l">
1589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <text style="text_m">
1594 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <text style="text_m_accent">
1599 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001601 </text>
1602
1603 <text style="text_m">
1604 <placement x="%col1_x_left%" y="%row3_y%"/>
1605 <text>%tw_backup_name%</text>
1606 </text>
1607
1608 <fill color="%fileselector_linecolor%">
1609 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1610 </fill>
1611
1612 <button>
1613 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1614 <fill color="%transparent%"/>
1615 <actions>
1616 <action function="set">tw_fileexists=0</action>
1617 <action function="page">backupname1</action>
1618 </actions>
1619 </button>
1620
1621 <partitionlist>
1622 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <data name="tw_backup_list"/>
1625 <listtype name="backup"/>
1626 </partitionlist>
1627
1628 <text style="text_m_accent">
1629 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <conditions>
1635 <condition var1="tw_include_encrypted_backup" var2="1"/>
1636 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001637 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001638 </conditions>
1639 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m">
1644 <conditions>
1645 <condition var1="tw_include_encrypted_backup" var2="1"/>
1646 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001647 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001648 </conditions>
1649 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <fill color="%fileselector_linecolor%">
1654 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1655 </fill>
1656
1657 <button>
1658 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1659 <fill color="%transparent%"/>
1660 <actions>
1661 <action function="set">tw_password_not_match=0</action>
1662 <action function="page">backupencryption</action>
1663 </actions>
1664 </button>
1665
1666 <text style="text_m_accent">
1667 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <checkbox>
1672 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 <data variable="tw_use_compression"/>
1675 </checkbox>
1676
1677 <checkbox>
1678 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <data variable="tw_skip_md5_generate"/>
1681 </checkbox>
1682
1683 <checkbox>
1684 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001685 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001686 <data variable="tw_disable_free_space"/>
1687 </checkbox>
1688
1689 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001690 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001691 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <actions>
1694 <action function="set">tw_back=backup</action>
1695 <action function="overlay">select_storage</action>
1696 </actions>
1697 </button>
1698
1699 <button style="main_button_half_width">
1700 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <actions>
1703 <action function="refreshsizes"/>
1704 <action function="page">backup</action>
1705 </actions>
1706 </button>
1707
1708 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="page">backup_run</action>
1711 </slider>
1712
1713 <action>
1714 <touch key="home"/>
1715 <action function="page">main</action>
1716 </action>
1717
1718 <action>
1719 <touch key="back"/>
1720 <action function="page">main</action>
1721 </action>
1722 </page>
1723
1724 <page name="backupname1">
1725 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="generatebackupname"/>
1728 </action>
1729
1730 <action>
1731 <action function="page">backupname2</action>
1732 </action>
1733 </page>
1734
1735 <page name="backupname2">
1736 <template name="page"/>
1737
1738 <text style="text_l">
1739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </text>
1742
1743 <text style="text_m">
1744 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 </text>
1747
1748 <text style="text_m_accent">
1749 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001751 </text>
1752
1753 <input>
1754 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1755 <text>%tw_backup_name%</text>
1756 <data name="tw_backup_name"/>
1757 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1758 <actions>
1759 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1760 <action function="set">tw_existpage=backupname2</action>
1761 <action function="set">tw_notexistpage=backup</action>
1762 <action function="page">filecheck</action>
1763 </actions>
1764 </input>
1765
1766 <fill color="%accent_color%">
1767 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1768 </fill>
1769
1770 <fill color="%text_fail_color%">
1771 <condition var1="tw_fileexists" var2="1"/>
1772 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1773 </fill>
1774
1775 <text style="text_m_fail">
1776 <condition var1="tw_fileexists" var2="1"/>
1777 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 </text>
1780
1781 <button style="main_button_half_width_low">
1782 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001783 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001784 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001786 <action function="page">backup</action>
1787 </actions>
1788 </button>
1789
1790 <button style="main_button_half_width_low">
1791 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="appenddatetobackupname"/>
1794 </button>
1795
1796 <template name="keyboardtemplate"/>
1797
1798 <action>
1799 <touch key="home"/>
1800 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001801 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <action function="page">main</action>
1803 </actions>
1804 </action>
1805
1806 <action>
1807 <touch key="back"/>
1808 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001809 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001810 <action function="page">backup</action>
1811 </actions>
1812 </action>
1813 </page>
1814
1815 <page name="backupencryption">
1816 <template name="page"/>
1817
1818 <text style="text_l">
1819 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001821 </text>
1822
1823 <text style="text_m">
1824 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001825 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001826 </text>
1827
1828 <text style="text_m_accent">
1829 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001830 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001831 </text>
1832
1833 <input>
1834 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1835 <text>%tw_backup_encrypt_display%</text>
1836 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1837 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1838 <action function="page">backupencryption2</action>
1839 </input>
1840
1841 <fill color="%accent_color%">
1842 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1843 </fill>
1844
1845 <fill color="%text_fail_color%">
1846 <condition var1="tw_password_not_match" var2="1"/>
1847 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1848 </fill>
1849
1850 <text style="text_m_fail">
1851 <condition var1="tw_password_not_match" var2="1"/>
1852 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <button style="main_button_half_width_low">
1857 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001858 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001859 <actions>
1860 <action function="set">tw_encrypt_backup=0</action>
1861 <action function="set">tw_backup_password=</action>
1862 <action function="set">tw_backup_password2=</action>
1863 <action function="set">tw_backup_encrypt_display=</action>
1864 <action function="set">tw_backup_encrypt_display2=</action>
1865 <action function="page">backup</action>
1866 </actions>
1867 </button>
1868
1869 <template name="keyboardtemplate"/>
1870
1871 <action>
1872 <touch key="home"/>
1873 <action function="page">main</action>
1874 </action>
1875
1876 <action>
1877 <touch key="back"/>
1878 <action function="page">backup</action>
1879 </action>
1880 </page>
1881
1882 <page name="backupencryption2">
1883 <template name="page"/>
1884
1885 <text style="text_l">
1886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <text style="text_m">
1891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 </text>
1894
1895 <text style="text_m_accent">
1896 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </text>
1899
1900 <input>
1901 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1902 <text>%tw_backup_encrypt_display2%</text>
1903 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1904 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1905 <action function="page">checkbackuppassword</action>
1906 </input>
1907
1908 <fill color="%accent_color%">
1909 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1910 </fill>
1911
1912 <text style="text_m">
1913 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001915 </text>
1916
1917 <button style="main_button_half_width_low">
1918 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001919 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </button>
1929
1930 <template name="keyboardtemplate"/>
1931
1932 <action>
1933 <touch key="home"/>
1934 <action function="page">main</action>
1935 </action>
1936
1937 <action>
1938 <touch key="back"/>
1939 <action function="page">backup</action>
1940 </action>
1941 </page>
1942
1943 <page name="checkbackuppassword">
1944 <action>
1945 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1946 <actions>
1947 <action function="set">tw_encrypt_backup=1</action>
1948 <action function="page">backup</action>
1949 </actions>
1950 </action>
1951
1952 <action>
1953 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1954 <actions>
1955 <action function="set">tw_encrypt_backup=0</action>
1956 <action function="set">tw_password_not_match=1</action>
1957 <action function="set">tw_backup_password=</action>
1958 <action function="set">tw_backup_password2=</action>
1959 <action function="set">tw_backup_encrypt_display=</action>
1960 <action function="set">tw_backup_encrypt_display2=</action>
1961 <action function="page">backupencryption</action>
1962 </actions>
1963 </action>
1964 </page>
1965
1966 <page name="backup_run">
1967 <template name="page"/>
1968
1969 <text style="text_l">
1970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1971 <text>%tw_operation%</text>
1972 </text>
1973
1974 <text style="text_m">
1975 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1976 <text>%tw_partition% Partition</text>
1977 </text>
1978
1979 <template name="console"/>
1980
1981 <template name="progress_bar"/>
1982
1983 <text style="text_m_accent">
1984 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 </text>
1987
1988 <text style="text_m">
1989 <placement x="%progress_text_x%" y="%row17_y%"/>
1990 <text>%tw_file_progress%</text>
1991 </text>
1992
1993 <text style="text_m">
1994 <placement x="%progress_text_x%" y="%row18_y%"/>
1995 <text>%tw_size_progress%</text>
1996 </text>
1997
1998 <button style="main_button_half_width">
1999 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 <action function="cancelbackup"/>
2002 </button>
2003
2004 <action>
2005 <action function="nandroid">backup</action>
2006 </action>
2007
2008 <action>
2009 <condition var1="tw_operation_state" var2="1"/>
2010 <condition var1="tw_cancel_backup" var2="0"/>
2011 <actions>
2012 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002013 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002014 <action function="set">tw_show_reboot=1</action>
2015 <action function="page">action_complete</action>
2016 </actions>
2017 </action>
2018
2019 <action>
2020 <condition var1="tw_operation_state" var2="1"/>
2021 <condition var1="tw_cancel_backup" var2="1"/>
2022 <actions>
2023 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002025 <action function="set">tw_show_reboot=1</action>
2026 <action function="page">action_complete</action>
2027 </actions>
2028 </action>
2029 </page>
2030
2031 <page name="restore">
2032 <template name="page"/>
2033
2034 <text style="text_l">
2035 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <text style="text_m">
2040 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <template name="sort_options"/>
2045
2046 <fileselector>
2047 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 <filter folders="1" files="0" nav="0"/>
2050 <path name="tw_backups_folder"/>
2051 <data name="tw_restore" default=""/>
2052 <selection name="tw_restore_name"/>
2053 </fileselector>
2054
2055 <button style="main_button_half_width_low">
2056 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002057 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002058 <actions>
2059 <action function="set">tw_back=restore</action>
2060 <action function="overlay">select_storage</action>
2061 </actions>
2062 </button>
2063
2064 <action>
2065 <condition var1="tw_restore" op="modified"/>
2066 <actions>
2067 <action function="readBackup"/>
2068 <action function="page">restore_read</action>
2069 </actions>
2070 </action>
2071
2072 <action>
2073 <touch key="home"/>
2074 <action function="page">main</action>
2075 </action>
2076
2077 <action>
2078 <touch key="back"/>
2079 <action function="page">main</action>
2080 </action>
2081 </page>
2082
2083 <page name="restore_read">
2084 <action>
2085 <condition var1="tw_restore_encrypted" var2="1"/>
2086 <actions>
2087 <action function="set">tw_password_fail=0</action>
2088 <action function="page">restore_decrypt</action>
2089 </actions>
2090 </action>
2091
2092 <action>
2093 <condition var1="tw_restore_encrypted" var2="0"/>
2094 <actions>
2095 <action function="page">restore_select</action>
2096 </actions>
2097 </action>
2098 </page>
2099
2100 <page name="restore_decrypt">
2101 <template name="page"/>
2102
2103 <text style="text_l">
2104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002106 </text>
2107
2108 <text style="text_m">
2109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 </text>
2112
2113 <text style="text_m_accent">
2114 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002116 </text>
2117
2118 <input>
2119 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2120 <text>%tw_restore_display%</text>
2121 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2122 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2123 <action function="page">try_restore_decrypt</action>
2124 </input>
2125
2126 <fill color="%accent_color%">
2127 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2128 </fill>
2129
2130 <fill color="%text_fail_color%">
2131 <condition var1="tw_password_fail" var2="1"/>
2132 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2133 </fill>
2134
2135 <text style="text_m_fail">
2136 <condition var1="tw_password_fail" var2="1"/>
2137 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002138 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002139 </text>
2140
2141 <button style="main_button_half_width_low">
2142 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002143 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002144 <actions>
2145 <action function="set">tw_page_done=1</action>
2146 <action function="page">restore</action>
2147 </actions>
2148 </button>
2149
2150 <button style="main_button_half_width_low">
2151 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 <actions>
2154 <action function="set">tw_back=restore</action>
2155 <action function="set">tw_action=cmd</action>
2156 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002157 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2158 <action function="set">tw_text2=%tw_restore_name%</action>
2159 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2160 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2161 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2162 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <action function="page">confirm_action</action>
2164 </actions>
2165 </button>
2166
2167 <template name="keyboardtemplate"/>
2168
2169 <action>
2170 <touch key="home"/>
2171 <action function="page">main</action>
2172 </action>
2173
2174 <action>
2175 <touch key="back"/>
2176 <action function="page">restore</action>
2177 </action>
2178 </page>
2179
2180 <page name="try_restore_decrypt">
2181 <template name="page"/>
2182
2183 <text style="text_l">
2184 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002185 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002186 </text>
2187
2188 <text style="text_m">
2189 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 </text>
2192
2193 <template name="console"/>
2194
2195 <template name="progress_bar"/>
2196
2197 <action>
2198 <action function="decrypt_backup"/>
2199 </action>
2200
2201 <action>
2202 <conditions>
2203 <condition var1="tw_operation_state" var2="1"/>
2204 <condition var1="tw_operation_status" op="!=" var2="0"/>
2205 </conditions>
2206 <actions>
2207 <action function="set">tw_password_fail=1</action>
2208 <action function="page">restore_decrypt</action>
2209 </actions>
2210 </action>
2211
2212 <action>
2213 <conditions>
2214 <condition var1="tw_operation_state" var2="1"/>
2215 <condition var1="tw_operation_status" op="=" var2="0"/>
2216 </conditions>
2217 <actions>
2218 <action function="set">tw_page_done=1</action>
2219 <action function="page">restore_select</action>
2220 </actions>
2221 </action>
2222 </page>
2223
2224 <page name="restore_select">
2225 <template name="page"/>
2226
2227 <text style="text_l">
2228 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002234 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002235 </text>
2236
2237 <text style="text_m_accent">
2238 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m">
2243 <placement x="%col1_x_left%" y="%row3_y%"/>
2244 <text>%tw_restore_name%</text>
2245 </text>
2246
2247 <fill color="%fileselector_linecolor%">
2248 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2249 </fill>
2250
2251 <button>
2252 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2253 <fill color="%transparent%"/>
2254 <actions>
2255 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2256 <action function="set">tw_fileexists=0</action>
2257 <action function="page">renamebackup</action>
2258 </actions>
2259 </button>
2260
2261 <partitionlist>
2262 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002263 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002264 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2265 <listtype name="restore"/>
2266 </partitionlist>
2267
2268 <text style="text_m_accent">
2269 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <checkbox>
2274 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002275 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002276 <data variable="tw_skip_md5_check"/>
2277 </checkbox>
2278
2279 <button style="main_button_half_width">
2280 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <actions>
2283 <action function="set">tw_back=restore</action>
2284 <action function="set">tw_action=cmd</action>
2285 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002287 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2289 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2290 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2291 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">confirm_action</action>
2293 </actions>
2294 </button>
2295
2296 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002297 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002298 <action function="page">restore_run</action>
2299 </slider>
2300
2301 <action>
2302 <touch key="home"/>
2303 <action function="page">main</action>
2304 </action>
2305
2306 <action>
2307 <touch key="back"/>
2308 <action function="page">restore</action>
2309 </action>
2310 </page>
2311
2312 <page name="renamebackup">
2313 <template name="page"/>
2314
2315 <text style="text_l">
2316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <text style="text_m">
2321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 </text>
2324
2325 <text style="text_m_accent">
2326 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 </text>
2329
2330 <input>
2331 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2332 <text>%tw_backup_rename%</text>
2333 <data name="tw_backup_rename"/>
2334 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2335 <actions>
2336 <action function="set">tw_back=restore</action>
2337 <action function="set">tw_action=cmd</action>
2338 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2340 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2341 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2342 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2343 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002344 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2345 <action function="set">tw_existpage=renamebackup</action>
2346 <action function="set">tw_notexistpage=confirm_action</action>
2347 <action function="page">filecheck</action>
2348 </actions>
2349 </input>
2350
2351 <fill color="%accent_color%">
2352 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2353 </fill>
2354
2355 <fill color="%text_fail_color%">
2356 <condition var1="tw_fileexists" var2="1"/>
2357 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2358 </fill>
2359
2360 <text style="text_m_fail">
2361 <condition var1="tw_fileexists" var2="1"/>
2362 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <button style="main_button_half_width_low">
2367 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 <action function="page">restore_select</action>
2370 </button>
2371
2372 <template name="keyboardtemplate"/>
2373
2374 <action>
2375 <touch key="home"/>
2376 <action function="page">main</action>
2377 </action>
2378
2379 <action>
2380 <touch key="back"/>
2381 <action function="page">restore_select</action>
2382 </action>
2383 </page>
2384
2385 <page name="restore_run">
2386 <template name="page"/>
2387
2388 <text style="text_l">
2389 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002390 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002391 </text>
2392
2393 <text style="text_m">
2394 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2395 <text>%tw_operation% %tw_partition%</text>
2396 </text>
2397
2398 <template name="console"/>
2399
2400 <template name="progress_bar"/>
2401
2402 <text style="text_m_accent">
2403 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 </text>
2406
2407 <text style="text_m">
2408 <placement x="%progress_text_x%" y="%row18_y%"/>
2409 <text>%tw_size_progress%</text>
2410 </text>
2411
2412 <action>
2413 <condition var1="tw_operation_state" var2="1"/>
2414 <actions>
2415 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002416 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="set">tw_show_reboot=1</action>
2418 <action function="page">action_complete</action>
2419 </actions>
2420 </action>
2421
2422 <action>
2423 <action function="nandroid">restore</action>
2424 </action>
2425 </page>
2426
2427 <page name="mount">
2428 <template name="page"/>
2429
2430 <text style="text_l">
2431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 </text>
2434
2435 <text style="text_m">
2436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 </text>
2439
2440 <partitionlist>
2441 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 <listtype name="mount"/>
2444 </partitionlist>
2445
2446 <button style="checkbox">
2447 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2448 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 <image resource="checkbox_false"/>
2451 <action function="mountsystemtoggle">1</action>
2452 </button>
2453
2454 <button style="checkbox">
2455 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2456 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 <image resource="checkbox_true"/>
2459 <actions>
2460 <action function="set">tw_lifetime_writes=2</action>
2461 <action function="page">system_readonly_check</action>
2462 </actions>
2463 </button>
2464
2465 <button style="main_button_half_width">
2466 <condition var1="tw_has_usb_storage" var2="1"/>
2467 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <action function="page">usb_mount</action>
2470 </button>
2471
2472 <button style="main_button_half_width">
2473 <conditions>
2474 <condition var1="tw_is_encrypted" var2="1"/>
2475 <condition var1="tw_is_decrypted" var2="0"/>
2476 </conditions>
2477 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002478 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002479 <action function="page">decrypt</action>
2480 </button>
2481
2482 <button style="main_button_half_width">
2483 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <actions>
2486 <action function="set">tw_back=mount</action>
2487 <action function="overlay">select_storage</action>
2488 </actions>
2489 </button>
2490
2491 <button style="main_button_half_width">
2492 <conditions>
2493 <condition var1="tw_has_mtp" var2="1"/>
2494 <condition var1="tw_mtp_enabled" var2="0"/>
2495 </conditions>
2496 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002497 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002498 <action function="startmtp"/>
2499 </button>
2500
2501 <button style="main_button_half_width">
2502 <conditions>
2503 <condition var1="tw_has_mtp" var2="1"/>
2504 <condition var1="tw_mtp_enabled" var2="1"/>
2505 </conditions>
2506 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002507 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002508 <action function="stopmtp"/>
2509 </button>
2510
2511 <action>
2512 <touch key="home"/>
2513 <action function="page">main</action>
2514 </action>
2515
2516 <action>
2517 <touch key="back"/>
2518 <action function="page">main</action>
2519 </action>
2520 </page>
2521
2522 <page name="usb_mount">
2523 <template name="page"/>
2524
2525 <text style="text_l">
2526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002532 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 </text>
2534
2535 <text style="text_m_accent">
2536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 </text>
2539
2540 <text style="text_m">
2541 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002542 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002543 </text>
2544
2545 <text style="text_m">
2546 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 </text>
2549
2550 <button style="main_button_half_width">
2551 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <action function="page">usb_umount</action>
2554 </button>
2555
2556 <action>
2557 <action function="mount">usb</action>
2558 <action function="set">tw_busy=1</action>
2559 </action>
2560 </page>
2561
2562 <page name="usb_umount">
2563 <action>
2564 <action function="unmount">usb</action>
2565 </action>
2566
2567 <action>
2568 <action function="page">mount</action>
2569 <action function="set">tw_busy=0</action>
2570 </action>
2571 </page>
2572
2573 <page name="system_readonly_check">
2574 <action>
2575 <action function="checkpartitionlifetimewrites">/system</action>
2576 </action>
2577
2578 <action>
2579 <condition var1="tw_lifetime_writes" var2="1"/>
2580 <actions>
2581 <action function="mountsystemtoggle">0</action>
2582 <action function="page">mount</action>
2583 </actions>
2584 </action>
2585
2586 <action>
2587 <condition var1="tw_lifetime_writes" var2="0"/>
2588 <actions>
2589 <action function="set">tw_back=mount</action>
2590 <action function="page">system_readonly</action>
2591 </actions>
2592 </action>
2593 </page>
2594
2595 <page name="reboot">
2596 <template name="page"/>
2597
2598 <text style="text_l">
2599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002600 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002601 </text>
2602
2603 <button style="main_button">
2604 <condition var1="tw_reboot_system" var2="1"/>
2605 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <actions>
2608 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002609 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002610 </actions>
2611 </button>
2612
2613 <button style="main_button">
2614 <condition var1="tw_reboot_poweroff" var2="1"/>
2615 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002616 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002617 <actions>
2618 <action function="set">tw_back=reboot</action>
2619 <action function="set">tw_action=reboot</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002620 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002621 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002622 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2623 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2624 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2625 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2626 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002627 <action function="page">rebootcheck</action>
2628 </actions>
2629 </button>
2630
2631 <button style="main_button">
2632 <condition var1="tw_reboot_recovery" var2="1"/>
2633 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002634 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002635 <actions>
2636 <action function="set">tw_back=reboot</action>
2637 <action function="set">tw_action=reboot</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002638 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2641 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2642 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2643 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2644 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <action function="page">rebootcheck</action>
2646 </actions>
2647 </button>
2648
2649 <button style="main_button">
2650 <condition var1="tw_reboot_bootloader" var2="1"/>
2651 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002652 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002653 <actions>
2654 <action function="set">tw_back=reboot</action>
2655 <action function="set">tw_action=reboot</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002656 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002658 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2659 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2660 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2661 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2662 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002663 <action function="page">rebootcheck</action>
2664 </actions>
2665 </button>
2666
2667 <button style="main_button">
2668 <condition var1="tw_download_mode" var2="1"/>
2669 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002670 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002671 <actions>
2672 <action function="set">tw_back=reboot</action>
2673 <action function="set">tw_action=reboot</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002674 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002675 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002676 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2677 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2678 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2679 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2680 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002681 <action function="page">rebootcheck</action>
2682 </actions>
2683 </button>
2684
2685 <action>
2686 <touch key="home"/>
2687 <action function="page">main</action>
2688 </action>
2689
2690 <action>
2691 <touch key="back"/>
2692 <action function="page">main</action>
2693 </action>
2694 </page>
2695
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002696 <page name="rebootapp">
2697 <template name="page"/>
2698
2699 <text style="text_l">
2700 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2701 <text>{@reboot_hdr=Reboot}</text>
2702 </text>
2703
2704 <text style="text_m">
2705 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2706 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2707 </text>
2708
2709 <text style="text_m_accent">
2710 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2711 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2712 </text>
2713
2714 <text style="text_m_accent">
2715 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2716 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2717 </text>
2718
2719 <checkbox>
2720 <placement x="%indent%" y="%row5_y%"/>
2721 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2722 <data variable="tw_app_prompt"/>
2723 </checkbox>
2724
2725 <checkbox>
2726 <condition var1="tw_mount_system_ro" var2="0"/>
2727 <placement x="%indent%" y="%row7_y%"/>
2728 <text>{@reboot_install_app_system=Install as a System App}</text>
2729 <data variable="tw_app_install_system"/>
2730 </checkbox>
2731
2732 <button style="main_button_half_width">
2733 <placement x="%col2_x_left%" y="%row15a_y%"/>
2734 <text>{@su_cancel=Do not Install}</text>
2735 <action function="reboot">%tw_reboot_param%</action>
2736 </button>
2737
2738 <slider>
2739 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2740 <actions>
2741 <action function="set">tw_back=reboot</action>
2742 <action function="set">tw_action=installapp</action>
2743 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2744 <action function="set">tw_action_text2=</action>
2745 <action function="set">tw_has_action2=1</action>
2746 <action function="set">tw_action2=reboot</action>
2747 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2748 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2749 <action function="page">action_page</action>
2750 </actions>
2751 </slider>
2752
2753 <action>
2754 <touch key="home"/>
2755 <actions>
2756 <action function="set">tw_app_install_status=0</action>
2757 <action function="page">main</action>
2758 </actions>
2759 </action>
2760
2761 <action>
2762 <touch key="back"/>
2763 <actions>
2764 <action function="set">tw_app_install_status=0</action>
2765 <action function="page">reboot</action>
2766 </actions>
2767 </action>
2768 </page>
2769
z31s1g28f0a922015-11-07 18:50:22 +01002770 <page name="system_readonly">
2771 <template name="page"/>
2772
2773 <text style="text_l">
2774 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002776 </text>
2777
2778 <text style="text_m_accent">
2779 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002781 </text>
2782
2783 <text style="text_m">
2784 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002785 <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 +01002786 </text>
2787
2788 <text style="text_m">
2789 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <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 +01002791 </text>
2792
2793 <text style="text_m_fail">
2794 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002795 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002796 </text>
2797
2798 <checkbox>
2799 <condition var1="tw_is_encrypted" var2="0"/>
2800 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 <data variable="tw_never_show_system_ro_page"/>
2803 </checkbox>
2804
2805 <button style="main_button_half_width">
2806 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 <actions>
2809 <action function="mountsystemtoggle">1</action>
2810 <action function="set">tw_page_done=1</action>
2811 <action function="page">%tw_back%</action>
2812 </actions>
2813 </button>
2814
z31s1g608d7ff2016-01-18 19:47:25 +01002815 <button style="main_button_half_width">
2816 <placement x="%col2_x_left%" y="%row15a_y%"/>
2817 <text>{@sel_lang_btn=Select Language}</text>
2818 <action function="overlay">select_language</action>
2819 </button>
2820
z31s1g28f0a922015-11-07 18:50:22 +01002821 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002822 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002823 <actions>
2824 <action function="mountsystemtoggle">0</action>
2825 <action function="set">tw_page_done=1</action>
2826 <action function="page">%tw_back%</action>
2827 </actions>
2828 </slider>
2829 </page>
2830
2831 <page name="settings">
2832 <template name="page"/>
2833
2834 <text style="text_l">
2835 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002836 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002837 </text>
2838
2839 <text style="text_m">
2840 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002841 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 </text>
2843
2844 <template name="tabs_settings"/>
2845
2846 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002848 </fill>
2849
2850 <listbox style="scrolllist">
2851 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2852 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002853 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002854 <data variable="tw_signed_zip_verify"/>
2855 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002856 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
2857 <data variable="tw_install_reboot"/>
2858 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002860 <data variable="tw_rm_rf"/>
2861 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002862 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2863 <data variable="tw_disable_free_space"/>
2864 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002865 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002866 <data variable="tw_skip_md5_generate"/>
2867 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002868 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002869 <data variable="tw_skip_md5_check"/>
2870 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002871 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002872 <data variable="tw_military_time"/>
2873 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002874 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
2875 <data variable="tw_app_prompt"/>
2876 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002877 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002878 <data variable="tw_simulate_actions"/>
2879 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002880 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002881 <condition var1="tw_simulate_actions" var2="1"/>
2882 <data variable="tw_simulate_fail"/>
2883 </listitem>
2884 </listbox>
2885
2886 <checkbox>
2887 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002888 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002889 <data variable="tw_samsung_navbar"/>
2890 </checkbox>
2891
2892 <button style="radiobutton">
2893 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2894 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002896 <image resource="radio_false"/>
2897 <action function="set">tw_navbar_button_position=0</action>
2898 </button>
2899
2900 <button style="radiobutton">
2901 <condition var1="tw_navbar_button_position" var2="0"/>
2902 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002904 <image resource="radio_true"/>
2905 <action function="set">tw_navbar_button_position=0</action>
2906 </button>
2907
2908 <button style="radiobutton">
2909 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2910 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002911 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002912 <image resource="radio_false"/>
2913 <action function="set">tw_navbar_button_position=1</action>
2914 </button>
2915
2916 <button style="radiobutton">
2917 <condition var1="tw_navbar_button_position" var2="1"/>
2918 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002920 <image resource="radio_true"/>
2921 <action function="set">tw_navbar_button_position=1</action>
2922 </button>
2923
2924 <button style="radiobutton">
2925 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2926 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002927 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002928 <image resource="radio_false"/>
2929 <action function="set">tw_navbar_button_position=2</action>
2930 </button>
2931
2932 <button style="radiobutton">
2933 <condition var1="tw_navbar_button_position" var2="2"/>
2934 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002935 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002936 <image resource="radio_true"/>
2937 <action function="set">tw_navbar_button_position=2</action>
2938 </button>
2939
2940 <button style="main_button_half_width">
2941 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002942 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002943 <action function="restoredefaultsettings"/>
2944 </button>
2945
2946 <action>
2947 <touch key="home"/>
2948 <action function="page">main</action>
2949 </action>
2950
2951 <action>
2952 <touch key="back"/>
2953 <action function="page">main</action>
2954 </action>
2955 </page>
2956
2957 <page name="settings_timezone">
2958 <template name="page"/>
2959
2960 <text style="text_l">
2961 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002962 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002963 </text>
2964
2965 <text style="text_m">
2966 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 </text>
2969
2970 <template name="tabs_settings"/>
2971
2972 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002973 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002974 </fill>
2975
2976 <listbox>
2977 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002978 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002979 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2981 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2982 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2983 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2984 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2985 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2986 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2987 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2988 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2989 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2990 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2991 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2992 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2993 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2994 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2995 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2996 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2997 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2998 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2999 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3000 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3001 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3002 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3003 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003004 </listbox>
3005
3006 <text style="text_m_accent">
3007 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003008 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003009 </text>
3010
3011 <button style="button_quarter_width">
3012 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003014 <action function="set">tw_time_zone_guioffset=0</action>
3015 </button>
3016
3017 <button style="button_quarter_width">
3018 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <action function="set">tw_time_zone_guioffset=15</action>
3021 </button>
3022
3023 <button style="button_quarter_width">
3024 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 <action function="set">tw_time_zone_guioffset=30</action>
3027 </button>
3028
3029 <button style="button_quarter_width">
3030 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003032 <action function="set">tw_time_zone_guioffset=45</action>
3033 </button>
3034
3035 <checkbox>
3036 <placement x="%col1_x_right%" y="%row7_y%"/>
3037 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <data variable="tw_time_zone_guidst"/>
3040 <image checked="checkbox_true" unchecked="checkbox_false"/>
3041 </checkbox>
3042
3043 <text color="%text_color%">
3044 <font resource="font_m"/>
3045 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <button>
3050 <highlight color="%highlight_color%"/>
3051 <placement x="%col2_x_right%" y="%row15a_y%"/>
3052 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003053 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003054 <image resource="main_button_half_width"/>
3055 <action function="setguitimezone"/>
3056 </button>
3057
3058 <action>
3059 <touch key="home"/>
3060 <action function="page">main</action>
3061 </action>
3062
3063 <action>
3064 <touch key="back"/>
3065 <action function="page">main</action>
3066 </action>
3067 </page>
3068
3069 <page name="settings_screen">
3070 <template name="page"/>
3071
3072 <text style="text_l">
3073 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 </text>
3076
3077 <text style="text_m">
3078 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003080 </text>
3081
3082 <template name="tabs_settings"/>
3083
3084 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </fill>
3087
3088 <button>
3089 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3090 <font resource="font_m" color="%text_color%"/>
3091 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3092 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003093 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003094 <image resource="checkbox_false"/>
3095 <action function="set">tw_screen_timeout_secs=60</action>
3096 </button>
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_true"/>
3105 <action function="set">tw_screen_timeout_secs=0</action>
3106 </button>
3107
3108 <slidervalue>
3109 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3110 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3111 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003113 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3114 </slidervalue>
3115
3116 <slidervalue>
3117 <condition var1="tw_has_brightnesss_file" var2="1"/>
3118 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003120 <data variable="tw_brightness_pct" min="10" max="100"/>
3121 <actions>
3122 <action function="set">tw_brightness=%tw_brightness_max%</action>
3123 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3124 <action function="compute">tw_brightness/100</action>
3125 <action function="setbrightness">%tw_brightness%</action>
3126 </actions>
3127 </slidervalue>
3128
3129 <action>
3130 <touch key="home"/>
3131 <action function="page">main</action>
3132 </action>
3133
3134 <action>
3135 <touch key="back"/>
3136 <action function="page">main</action>
3137 </action>
3138 </page>
3139
3140 <page name="settings_vibration">
3141 <template name="page"/>
3142
3143 <text style="text_l">
3144 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 </text>
3147
3148 <text style="text_m">
3149 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003150 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003151 </text>
3152
3153 <template name="tabs_settings"/>
3154
3155 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003157 </fill>
3158
3159 <slidervalue>
3160 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003161 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003162 <data variable="tw_button_vibrate" min="0" max="300"/>
3163 </slidervalue>
3164
3165 <slidervalue>
3166 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003167 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003168 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3169 </slidervalue>
3170
3171 <slidervalue>
3172 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003173 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003174 <data variable="tw_action_vibrate" min="0" max="500"/>
3175 </slidervalue>
3176
3177 <action>
3178 <touch key="home"/>
3179 <action function="page">main</action>
3180 </action>
3181
3182 <action>
3183 <touch key="back"/>
3184 <action function="page">main</action>
3185 </action>
3186 </page>
3187
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <page name="settings_language">
3189 <template name="page"/>
3190
3191 <text style="text_l">
3192 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3193 <text>{@settings_hdr=Settings}</text>
3194 </text>
3195
3196 <text style="text_m">
3197 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3198 <text>{@language_hdr=Language - %tw_language_display%}</text>
3199 </text>
3200
3201 <template name="tabs_settings"/>
3202
3203 <fill color="%text_color%">
3204 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3205 </fill>
3206
3207 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003208 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@select_language=Select Language:}</text>
3210 <icon selected="radio_true" unselected="radio_false" />
3211 <data name="tw_language" />
3212 </listbox>
3213
z31s1g56189522016-01-13 19:12:40 +01003214 <button>
3215 <highlight color="%highlight_color%"/>
3216 <placement x="%col2_x_right%" y="%row15a_y%"/>
3217 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003219 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <action function="setlanguage"></action>
3221 </button>
3222
3223 <action>
3224 <touch key="home" />
3225 <action function="page">main</action>
3226 </action>
3227
3228 <action>
3229 <touch key="back" />
3230 <action function="page">settings</action>
3231 </action>
3232 </page>
3233
Matt Mower32676622017-01-18 18:56:13 -06003234 <page name="copylog">
3235 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003236
Matt Mower32676622017-01-18 18:56:13 -06003237 <text style="text_l">
3238 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3239 <text>{@copying_log=Copy Logs to SD Card}</text>
3240 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003241
Matt Mower32676622017-01-18 18:56:13 -06003242 <checkbox>
3243 <placement x="%indent%" y="%row4_y%"/>
3244 <text>{@include_kernel_log=Include Kernel Log}</text>
3245 <data variable="tw_include_kernel_log" value="1"/>
3246 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003247
Matt Mower32676622017-01-18 18:56:13 -06003248 <slider>
3249 <text>{@copying_log=Copy Logs to SD Card}</text>
3250 <actions>
3251 <action function="set">tw_back=advanced</action>
3252 <action function="set">tw_action=copylog</action>
3253 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3254 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3255 <action function="page">action_page</action>
3256 </actions>
3257 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003258
Matt Mower32676622017-01-18 18:56:13 -06003259 <action>
3260 <touch key="home"/>
3261 <action function="page">main</action>
3262 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003263
Matt Mower32676622017-01-18 18:56:13 -06003264 <action>
3265 <touch key="back"/>
3266 <actions>
3267 <action function="page">advanced</action>
3268 </actions>
3269 </action>
3270 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003271
z31s1g28f0a922015-11-07 18:50:22 +01003272 <page name="advanced">
3273 <template name="page"/>
3274
3275 <text style="text_l">
3276 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003278 </text>
3279
3280 <button style="main_button">
3281 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003283 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </button>
3285
3286 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003287 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003288 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003289 <text>{@fix_context_btn=Fix Contexts}</text>
3290 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </button>
3292
3293 <button style="main_button">
3294 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3295 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003296 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003297 <actions>
3298 <action function="set">partitionlisterror=0</action>
3299 <action function="page">partsdcardsel</action>
3300 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003301 </button>
3302
3303 <button style="main_button">
3304 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <action function="page">filemanagerlist</action>
3307 </button>
3308
3309 <button style="main_button">
3310 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003312 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003313 </button>
3314
3315 <button style="main_button">
3316 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 <action function="reload"/>
3319 </button>
3320
3321 <button style="main_button">
3322 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 <action function="page">sideload</action>
3325 </button>
3326
3327 <button style="main_button">
3328 <condition var1="tw_show_dumlock" var2="1"/>
3329 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">htcdumlock</action>
3332 </button>
3333
3334 <button style="main_button">
3335 <condition var1="tw_has_injecttwrp" var2="1"/>
3336 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003338 <actions>
3339 <action function="set">tw_back=advanced</action>
3340 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3342 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3343 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3344 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003345 <action function="page">confirm_action</action>
3346 </actions>
3347 </button>
3348
3349 <action>
3350 <touch key="home"/>
3351 <action function="page">main</action>
3352 </action>
3353
3354 <action>
3355 <touch key="back"/>
3356 <action function="page">main</action>
3357 </action>
3358 </page>
3359
Ethan Yonker483e9f42016-01-11 22:21:18 -06003360 <page name="partsdcardsel">
3361 <template name="page"/>
3362
3363 <text style="text_l">
3364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3365 <text>{@advanced_hdr=Advanced}</text>
3366 </text>
3367
3368 <text style="text_m">
3369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3370 <text>{@part_sd_hdr=Partition SD Card}</text>
3371 </text>
3372
z31s1g782e1c92016-01-30 16:50:09 +01003373 <partitionlist>
3374 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003375 <text>{@sel_storage_list=Select Storage}</text>
3376 <data name="tw_storage_path"/>
3377 <listtype name="storage"/>
3378 </partitionlist>
3379
z31s1g782e1c92016-01-30 16:50:09 +01003380 <text style="text_m_fail">
3381 <condition var1="partitionlisterror" var2="1"/>
3382 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3383 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3384 </text>
3385
3386 <button style="main_button_half_width">
3387 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003388 <text>{@ok_btn=OK}</text>
3389 <actions>
3390 <action function="getpartitiondetails">tw_storage_path</action>
3391 <action function="page">partsdcardcheck</action>
3392 </actions>
3393 </button>
3394
Ethan Yonker483e9f42016-01-11 22:21:18 -06003395 <action>
3396 <touch key="home"/>
3397 <action function="page">main</action>
3398 </action>
3399
3400 <action>
3401 <touch key="back"/>
3402 <action function="page">advanced</action>
3403 </action>
3404 </page>
3405
3406 <page name="partsdcardcheck">
3407 <action>
3408 <condition var1="tw_partition_removable" op="=" var2="1"/>
3409 <actions>
3410 <action function="set">partitionlisterror=0</action>
3411 <action function="page">partsdcard</action>
3412 </actions>
3413 </action>
3414
3415 <action>
3416 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3417 <actions>
3418 <action function="set">partitionlisterror=1</action>
3419 <action function="page">partsdcardsel</action>
3420 </actions>
3421 </action>
3422 </page>
3423
z31s1g28f0a922015-11-07 18:50:22 +01003424 <page name="partsdcard">
3425 <template name="page"/>
3426
3427 <text style="text_l">
3428 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003429 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003430 </text>
3431
3432 <text style="text_m">
3433 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 </text>
3436
3437 <text style="text_m_fail">
3438 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003440 </text>
3441
3442 <text style="text_m_fail">
3443 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003444 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003445 </text>
3446
3447 <text style="text_m_accent">
3448 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 </text>
3451
3452 <text style="text_m">
3453 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3454 <text>%tw_sdext_size%</text>
3455 </text>
3456
3457 <button style="button_quarter_width">
3458 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003460 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003461 </button>
3462
3463 <button style="button_quarter_width">
3464 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003466 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003467 </button>
3468
3469 <text style="text_m_accent">
3470 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003472 </text>
3473
3474 <text style="text_m">
3475 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3476 <text>%tw_swap_size%</text>
3477 </text>
3478
3479 <button style="button_quarter_width">
3480 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003482 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003483 </button>
3484
3485 <button style="button_quarter_width">
3486 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003488 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003489 </button>
3490
3491 <text style="text_m_accent">
3492 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003493 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003494 </text>
3495
3496 <text style="text_m">
3497 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3498 <text>%tw_sdpart_file_system%</text>
3499 </text>
3500
3501 <button style="button_quarter_width">
3502 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3503 <text>EXT3</text>
3504 <action function="set">tw_sdpart_file_system=ext3</action>
3505 </button>
3506
3507 <button style="button_quarter_width">
3508 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3509 <text>EXT4</text>
3510 <action function="set">tw_sdpart_file_system=ext4</action>
3511 </button>
3512
3513 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003514 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003515 <action function="page">partsdcardaction</action>
3516 <actions>
3517 <action function="set">tw_back=partsdcard</action>
3518 <action function="set">tw_action=partitionsd</action>
3519 <action function="set">tw_has_action2=1</action>
3520 <action function="set">tw_action2=set</action>
3521 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003522 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3523 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3524 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <action function="page">action_page</action>
3526 </actions>
3527 </slider>
3528
3529 <action>
3530 <touch key="home"/>
3531 <action function="page">main</action>
3532 </action>
3533
3534 <action>
3535 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003536 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003537 </action>
3538 </page>
3539
3540 <page name="htcdumlock">
3541 <template name="page"/>
3542
3543 <text style="text_l">
3544 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 </text>
3547
3548 <text style="text_m">
3549 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003551 </text>
3552
3553 <button style="main_button_m">
3554 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 <actions>
3557 <action function="set">tw_back=htcdumlock</action>
3558 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003559 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3560 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3561 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3562 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003563 <action function="page">confirm_action</action>
3564 </actions>
3565 </button>
3566
3567 <button style="main_button_m">
3568 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003570 <actions>
3571 <action function="set">tw_back=htcdumlock</action>
3572 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003573 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3574 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3575 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3576 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003577 <action function="page">confirm_action</action>
3578 </actions>
3579 </button>
3580
3581 <button style="main_button_m">
3582 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 <actions>
3585 <action function="set">tw_back=htcdumlock</action>
3586 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3588 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3589 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3590 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003591 <action function="page">confirm_action</action>
3592 </actions>
3593 </button>
3594
3595 <action>
3596 <touch key="home"/>
3597 <action function="page">main</action>
3598 </action>
3599
3600 <action>
3601 <touch key="back"/>
3602 <action function="page">advanced</action>
3603 </action>
3604 </page>
3605
3606 <page name="lock">
3607 <background color="%semi_transparent%"/>
3608
3609 <image>
3610 <image resource="unlock_icon"/>
3611 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3612 </image>
3613
3614 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 <action function="overlay"/>
3617 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003618
3619 <action>
3620 <touch key="power"/>
3621 <action function="togglebacklight"/>
3622 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003623 </page>
3624
3625 <page name="filemanagerlist">
3626 <template name="page"/>
3627
3628 <text style="text_l">
3629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 </text>
3632
3633 <text style="text_m">
3634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </text>
3637
3638 <template name="sort_options"/>
3639
3640 <fileselector>
3641 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3642 <text>%tw_file_location1%</text>
3643 <filter folders="1" files="1"/>
3644 <path name="tw_file_location1" default="/"/>
3645 <data name="tw_filename1"/>
3646 <selection name="tw_selection1"/>
3647 </fileselector>
3648
3649 <button style="main_button_half_width_low">
3650 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <actions>
3653 <action function="set">tw_filename1=tw_file_location1</action>
3654 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <action function="page">filemanageroptions</action>
3657 </actions>
3658 </button>
3659
3660 <action>
3661 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <action function="set">tw_fm_isfolder=0</action>
3664 </actions>
3665 </action>
3666
3667 <action>
3668 <touch key="home"/>
3669 <action function="page">main</action>
3670 </action>
3671
3672 <action>
3673 <touch key="back"/>
3674 <action function="page">advanced</action>
3675 </action>
3676
3677 <action>
3678 <condition var1="tw_filename1" op="modified"/>
3679 <action function="page">filemanageroptions</action>
3680 </action>
3681 </page>
3682
3683 <page name="filemanageroptions">
3684 <template name="page"/>
3685
3686 <text style="text_l">
3687 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003688 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003689 </text>
3690
3691 <text style="text_m">
3692 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003693 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003694 </text>
3695
3696 <text style="text_m_accent">
3697 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m">
3702 <placement x="%col1_x_left%" y="%row3_y%"/>
3703 <text>%tw_filename1%</text>
3704 </text>
3705
3706 <button style="main_button_half_width">
3707 <condition var1="tw_fm_isfolder" var2="0"/>
3708 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003709 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003710 <actions>
3711 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003713 <action function="page">choosedestinationfolder</action>
3714 </actions>
3715 </button>
3716
3717 <button style="main_button_half_width">
3718 <condition var1="tw_fm_isfolder" var2="1"/>
3719 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003721 <actions>
3722 <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 -05003723 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003724 <action function="page">choosedestinationfolder</action>
3725 </actions>
3726 </button>
3727
3728 <button style="main_button_half_width">
3729 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003730 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003731 <actions>
3732 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003734 <action function="page">choosedestinationfolder</action>
3735 </actions>
3736 </button>
3737
3738 <button style="main_button_half_width">
3739 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <actions>
3742 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003744 <action function="set">tw_fm_text2=</action>
3745 <action function="set">tw_fm_text3=</action>
3746 <action function="set">tw_include_text3=0</action>
3747 <action function="set">tw_back=filemanageroptions</action>
3748 <action function="page">filemanagerconfirm</action>
3749 </actions>
3750 </button>
3751
3752 <button style="main_button_half_width">
3753 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003754 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003755 <actions>
3756 <action function="set">tw_filemanager_rename=0000</action>
3757 <action function="set">tw_fm_text2=</action>
3758 <action function="set">tw_fm_text3=</action>
3759 <action function="set">tw_include_text3=0</action>
3760 <action function="set">tw_back=filemanageroptions</action>
3761 <action function="page">filemanagerchmod</action>
3762 </actions>
3763 </button>
3764
3765 <button style="main_button_half_width">
3766 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003767 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003768 <actions>
3769 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003770 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003771 <action function="set">tw_fm_text2=</action>
3772 <action function="set">tw_fm_text3=</action>
3773 <action function="set">tw_include_text3=0</action>
3774 <action function="set">tw_back=filemanageroptions</action>
3775 <action function="page">filemanagerconfirm</action>
3776 </actions>
3777 </button>
3778
3779 <button style="main_button_half_width">
3780 <condition var1="tw_fm_isfolder" var2="0"/>
3781 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003782 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003783 <actions>
3784 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003786 <action function="set">tw_filemanager_command=mv</action>
3787 <action function="page">filemanagerrenamefile</action>
3788 </actions>
3789 </button>
3790
3791 <button style="main_button_half_width">
3792 <condition var1="tw_fm_isfolder" var2="1"/>
3793 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003794 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003795 <actions>
3796 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003797 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003798 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3799 <action function="page">filemanagerrenamefolder</action>
3800 </actions>
3801 </button>
3802
3803 <action>
3804 <touch key="home"/>
3805 <action function="page">main</action>
3806 </action>
3807
3808 <action>
3809 <touch key="back"/>
3810 <action function="page">filemanagerlist</action>
3811 </action>
3812 </page>
3813
3814 <page name="choosedestinationfolder">
3815 <template name="page"/>
3816
3817 <text style="text_l">
3818 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003820 </text>
3821
3822 <text style="text_m">
3823 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </text>
3826
3827 <template name="sort_options"/>
3828
3829 <fileselector>
3830 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3831 <text>%tw_file_location2%</text>
3832 <filter folders="1" files="0"/>
3833 <path name="tw_file_location2" default="/"/>
3834 <data name="tw_filename2"/>
3835 <selection name="tw_selection2"/>
3836 </fileselector>
3837
3838 <button style="main_button_half_width_low">
3839 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003840 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003841 <actions>
3842 <action function="set">tw_fm_text2=to</action>
3843 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3844 <action function="set">tw_include_text3=1</action>
3845 <action function="set">tw_back=filemanageroptions</action>
3846 <action function="page">filemanagerconfirm</action>
3847 </actions>
3848 </button>
3849
3850 <action>
3851 <touch key="home"/>
3852 <action function="page">main</action>
3853 </action>
3854
3855 <action>
3856 <touch key="back"/>
3857 <action function="page">filemanageroptions</action>
3858 </action>
3859 </page>
3860
3861 <page name="filemanagerrenamefile">
3862 <template name="page"/>
3863
3864 <text style="text_l">
3865 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 </text>
3868
3869 <text style="text_m">
3870 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 </text>
3873
3874 <text style="text_m_accent">
3875 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003877 </text>
3878
3879 <input>
3880 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3881 <text>%tw_filemanager_rename%</text>
3882 <data name="tw_filemanager_rename"/>
3883 <restrict minlen="1" maxlen="128"/>
3884 <actions>
3885 <action function="set">tw_fm_text2=to</action>
3886 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3887 <action function="set">tw_include_text3=1</action>
3888 <action function="set">tw_back=filemanageroptions</action>
3889 <action function="page">filemanagerconfirm</action>
3890 </actions>
3891 </input>
3892
3893 <fill color="%accent_color%">
3894 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3895 </fill>
3896
3897 <button style="main_button_half_width_low">
3898 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003899 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003900 <action function="page">filemanageroptions</action>
3901 </button>
3902
3903 <template name="keyboardtemplate"/>
3904
3905 <action>
3906 <touch key="home"/>
3907 <action function="page">main</action>
3908 </action>
3909
3910 <action>
3911 <touch key="back"/>
3912 <action function="page">filemanageroptions</action>
3913 </action>
3914 </page>
3915
3916 <page name="filemanagerrenamefolder">
3917 <template name="page"/>
3918
3919 <text style="text_l">
3920 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003921 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003922 </text>
3923
3924 <text style="text_m">
3925 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003926 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003927 </text>
3928
3929 <text style="text_m_accent">
3930 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <input>
3935 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3936 <text>%tw_filemanager_rename%</text>
3937 <data name="tw_filemanager_rename"/>
3938 <restrict minlen="1" maxlen="128"/>
3939 <actions>
3940 <action function="set">tw_fm_text2=to</action>
3941 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3942 <action function="set">tw_include_text3=1</action>
3943 <action function="set">tw_back=filemanageroptions</action>
3944 <action function="page">filemanagerconfirm</action>
3945 </actions>
3946 </input>
3947
3948 <fill color="%accent_color%">
3949 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3950 </fill>
3951
3952 <button style="main_button_half_width_low">
3953 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 <action function="page">filemanageroptions</action>
3956 </button>
3957
3958 <template name="keyboardtemplate"/>
3959
3960 <action>
3961 <touch key="home"/>
3962 <action function="page">main</action>
3963 </action>
3964
3965 <action>
3966 <touch key="back"/>
3967 <action function="page">filemanageroptions</action>
3968 </action>
3969 </page>
3970
3971 <page name="filemanagerchmod">
3972 <template name="page"/>
3973
3974 <text style="text_l">
3975 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 </text>
3978
3979 <text style="text_m">
3980 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <text style="text_m_accent">
3985 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 </text>
3988
3989 <input>
3990 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3991 <text>%tw_filemanager_rename%</text>
3992 <data name="tw_filemanager_rename"/>
3993 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3994 <actions>
3995 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3996 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3997 <action function="set">tw_back=filemanageroptions</action>
3998 <action function="page">filemanagerconfirm</action>
3999 </actions>
4000 </input>
4001
4002 <fill color="%accent_color%">
4003 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4004 </fill>
4005
4006 <button style="main_button_half_width_low">
4007 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004008 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004009 <action function="page">filemanageroptions</action>
4010 </button>
4011
4012 <template name="keyboardtemplate"/>
4013
4014 <action>
4015 <touch key="home"/>
4016 <action function="page">main</action>
4017 </action>
4018
4019 <action>
4020 <touch key="back"/>
4021 <action function="page">filemanageroptions</action>
4022 </action>
4023 </page>
4024
4025 <page name="filemanagerconfirm">
4026 <template name="page"/>
4027
4028 <text style="text_l">
4029 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004030 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004031 </text>
4032
4033 <text style="text_m">
4034 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004035 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004036 </text>
4037
4038 <text style="text_m_accent">
4039 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4040 <text>%tw_fm_text1%</text>
4041 </text>
4042
4043 <text style="text_m">
4044 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4045 <text>%tw_filename1%</text>
4046 </text>
4047
4048 <text style="text_m_accent">
4049 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4050 <text>%tw_fm_text2%</text>
4051 </text>
4052
4053 <text style="text_m">
4054 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4055 <text>%tw_fm_text3%</text>
4056 </text>
4057
4058 <text style="text_m">
4059 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004061 </text>
4062
4063 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004065 <action function="page">filemanageraction</action>
4066 </slider>
4067
4068 <action>
4069 <touch key="back"/>
4070 <action function="page">%tw_back%</action>
4071 </action>
4072
4073 <action>
4074 <touch key="home"/>
4075 <action function="page">main</action>
4076 </action>
4077 </page>
4078
4079 <page name="filemanageraction">
4080 <template name="page"/>
4081
4082 <text style="text_l">
4083 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <text style="text_m">
4088 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4089 <text>%tw_fm_text1%</text>
4090 </text>
4091
4092 <template name="console"/>
4093
4094 <template name="progress_bar"/>
4095
4096 <action>
4097 <conditions>
4098 <condition var1="tw_operation_state" var2="1"/>
4099 <condition var1="tw_operation_status" var2="0"/>
4100 </conditions>
4101 <actions>
4102 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004103 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004104 <action function="page">action_complete</action>
4105 </actions>
4106 </action>
4107
4108 <action>
4109 <conditions>
4110 <condition var1="tw_operation_state" var2="1"/>
4111 <condition var1="tw_operation_status" op="!=" var2="0"/>
4112 </conditions>
4113 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004115 <action function="page">action_complete</action>
4116 </actions>
4117 </action>
4118
4119 <action>
4120 <condition var1="tw_include_text3" var2="0"/>
4121 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4122 </action>
4123
4124 <action>
4125 <condition var1="tw_include_text3" var2="1"/>
4126 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4127 </action>
4128 </page>
4129
4130 <page name="decrypt">
4131 <template name="page"/>
4132
4133 <action>
4134 <condition var1="tw_crypto_pwtype" var2="2"/>
4135 <action function="page">decrypt_pattern</action>
4136 </action>
4137
4138 <text style="text_l">
4139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004140 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004141 </text>
4142
4143 <text style="text_m">
4144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004146 </text>
4147
4148 <text style="text_m_accent">
4149 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <input>
4154 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4155 <text>%tw_crypto_display%</text>
4156 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4157 <restrict minlen="1" maxlen="254"/>
4158 <action function="page">trydecrypt</action>
4159 </input>
4160
4161 <fill color="%accent_color%">
4162 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4163 </fill>
4164
4165 <fill color="%text_fail_color%">
4166 <condition var1="tw_password_fail" var2="1"/>
4167 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4168 </fill>
4169
4170 <text style="text_m_fail">
4171 <condition var1="tw_password_fail" var2="1"/>
4172 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004173 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
4176 <button style="main_button_half_width_low">
4177 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004178 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 <actions>
4180 <action function="set">tw_page_done=1</action>
4181 <action function="page">main</action>
4182 </actions>
4183 </button>
4184
z31s1g608d7ff2016-01-18 19:47:25 +01004185 <button style="main_button_half_width_low">
4186 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4187 <text>{@sel_lang_btn=Select Language}</text>
4188 <action function="overlay">select_language</action>
4189 </button>
4190
z31s1g28f0a922015-11-07 18:50:22 +01004191 <template name="keyboardtemplate"/>
4192 </page>
4193
4194 <page name="decrypt_pattern">
4195 <template name="page"/>
4196
4197 <text style="text_l">
4198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004199 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004200 </text>
4201
4202 <text style="text_m">
4203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004205 </text>
4206
4207 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004208 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
Aleksa Saraib25a1832015-12-31 17:36:00 +01004212 <text style="text_m_fail">
4213 <condition var1="tw_password_fail" var2="1"/>
4214 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004215 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004216 </text>
4217
z31s1g28f0a922015-11-07 18:50:22 +01004218 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004219 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004220 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4221 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4222 <data name="tw_crypto_password"/>
4223 <action function="page">trydecrypt</action>
4224 </patternpassword>
4225
Aleksa Saraib25a1832015-12-31 17:36:00 +01004226 <button style="main_button_half_width_low">
4227 <placement x="%col_button_right%" y="%row1a_y%"/>
4228 <text>3x3</text>
4229 <action function="set">tw_gui_pattern_grid_size=3</action>
4230 </button>
4231
4232 <button style="main_button_half_width_low">
4233 <placement x="%col_button_right%" y="%row4a_y%"/>
4234 <text>4x4</text>
4235 <action function="set">tw_gui_pattern_grid_size=4</action>
4236 </button>
4237
4238 <button style="main_button_half_width_low">
4239 <placement x="%col_button_right%" y="%row7a_y%"/>
4240 <text>5x5</text>
4241 <action function="set">tw_gui_pattern_grid_size=5</action>
4242 </button>
4243
4244 <button style="main_button_half_width_low">
4245 <placement x="%col_button_right%" y="%row10a_y%"/>
4246 <text>6x6</text>
4247 <action function="set">tw_gui_pattern_grid_size=6</action>
4248 </button>
4249
z31s1g28f0a922015-11-07 18:50:22 +01004250 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004251 <placement x="%col1_x_right%" y="%row15a_y%"/>
4252 <text>{@sel_lang_btn=Select Language}</text>
4253 <action function="overlay">select_language</action>
4254 </button>
4255
4256 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004257 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 <actions>
4260 <action function="set">tw_page_done=1</action>
4261 <action function="page">main</action>
4262 </actions>
4263 </button>
4264 </page>
4265
4266 <page name="trydecrypt">
4267 <template name="page"/>
4268
4269 <text style="text_l">
4270 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004271 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004272 </text>
4273
4274 <text style="text_m">
4275 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004276 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004277 </text>
4278
4279 <template name="console"/>
4280
4281 <template name="progress_bar"/>
4282
4283 <action>
4284 <action function="decrypt"/>
4285 </action>
4286
4287 <action>
4288 <conditions>
4289 <condition var1="tw_operation_state" var2="1"/>
4290 <condition var1="tw_operation_status" op="!=" var2="0"/>
4291 </conditions>
4292 <actions>
4293 <action function="set">tw_password_fail=1</action>
4294 <action function="page">decrypt</action>
4295 </actions>
4296 </action>
4297
4298 <action>
4299 <conditions>
4300 <condition var1="tw_operation_state" var2="1"/>
4301 <condition var1="tw_operation_status" op="=" var2="0"/>
4302 </conditions>
4303 <actions>
4304 <action function="set">tw_page_done=1</action>
4305 <action function="page">main</action>
4306 </actions>
4307 </action>
4308 </page>
4309
z31s1g28f0a922015-11-07 18:50:22 +01004310 <page name="terminalcommand">
4311 <template name="page"/>
4312
4313 <fill color="%background_color%">
4314 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4315 </fill>
4316
z31s1g56189522016-01-13 19:12:40 +01004317 <terminal>
4318 <condition var1="tw_hide_kb" var2="0"/>
4319 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4320 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004321
z31s1g56189522016-01-13 19:12:40 +01004322 <terminal>
4323 <condition var1="tw_hide_kb" var2="1"/>
4324 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4325 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004326
z31s1g56189522016-01-13 19:12:40 +01004327 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004328
z31s1g56189522016-01-13 19:12:40 +01004329 <object type="fill" color="#000000">
4330 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4331 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004332
z31s1g608d7ff2016-01-18 19:47:25 +01004333 <button>
z31s1g56189522016-01-13 19:12:40 +01004334 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4335 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4336 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4337 <image resource="back" />
4338 <condition var1="tw_busy" var2="0" />
4339 <actions>
4340 <action function="set">tw_hide_kb=0</action>
4341 <action function="page">advanced</action>
4342 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004343 </button>
z31s1g56189522016-01-13 19:12:40 +01004344
z31s1g608d7ff2016-01-18 19:47:25 +01004345 <button>
z31s1g56189522016-01-13 19:12:40 +01004346 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4347 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4348 <condition var1="tw_hide_kb" op="=" var2="0" />
4349 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4350 <image resource="kb_hide" />
4351 <condition var1="tw_busy" var2="0" />
4352 <actions>
4353 <action function="set">tw_hide_kb=1</action>
4354 <action function="page">terminalcommand</action>
4355 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004356 </button>
z31s1g56189522016-01-13 19:12:40 +01004357
z31s1g608d7ff2016-01-18 19:47:25 +01004358 <button>
z31s1g56189522016-01-13 19:12:40 +01004359 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4360 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4361 <condition var1="tw_hide_kb" op="=" var2="1" />
4362 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4363 <image resource="kb_show" />
4364 <condition var1="tw_busy" var2="0" />
4365 <actions>
4366 <action function="set">tw_hide_kb=0</action>
4367 <action function="page">terminalcommand</action>
4368 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004369 </button>
z31s1g56189522016-01-13 19:12:40 +01004370
z31s1g608d7ff2016-01-18 19:47:25 +01004371 <button>
z31s1g56189522016-01-13 19:12:40 +01004372 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4373 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4374 <image resource="home" />
4375 <condition var1="tw_busy" var2="0" />
4376 <actions>
4377 <action function="set">tw_hide_kb=0</action>
4378 <action function="key">home</action>
4379 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004380 </button>
z31s1g56189522016-01-13 19:12:40 +01004381
z31s1g608d7ff2016-01-18 19:47:25 +01004382 <button>
z31s1g56189522016-01-13 19:12:40 +01004383 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4384 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4385 <condition var1="tw_hide_kb" op="=" var2="0" />
4386 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4387 <image resource="kb_hide" />
4388 <condition var1="tw_busy" var2="0" />
4389 <actions>
4390 <action function="set">tw_hide_kb=1</action>
4391 <action function="page">terminalcommand</action>
4392 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004393 </button>
z31s1g56189522016-01-13 19:12:40 +01004394
z31s1g608d7ff2016-01-18 19:47:25 +01004395 <button>
z31s1g56189522016-01-13 19:12:40 +01004396 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4397 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4398 <condition var1="tw_hide_kb" op="=" var2="1" />
4399 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4400 <image resource="kb_show" />
4401 <condition var1="tw_busy" var2="0" />
4402 <actions>
4403 <action function="set">tw_hide_kb=0</action>
4404 <action function="page">terminalcommand</action>
4405 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004406 </button>
z31s1g56189522016-01-13 19:12:40 +01004407
z31s1g608d7ff2016-01-18 19:47:25 +01004408 <button>
z31s1g56189522016-01-13 19:12:40 +01004409 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4410 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4411 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4412 <image resource="back" />
4413 <condition var1="tw_busy" var2="0" />
4414 <actions>
4415 <action function="set">tw_hide_kb=0</action>
4416 <action function="page">advanced</action>
4417 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004418 </button>
z31s1g56189522016-01-13 19:12:40 +01004419
z31s1g608d7ff2016-01-18 19:47:25 +01004420 <button>
z31s1g56189522016-01-13 19:12:40 +01004421 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4422 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4423 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4424 <image resource="back" />
4425 <condition var1="tw_busy" var2="0" />
4426 <actions>
4427 <action function="set">tw_hide_kb=0</action>
4428 <action function="page">advanced</action>
4429 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004430 </button>
z31s1g56189522016-01-13 19:12:40 +01004431
z31s1g608d7ff2016-01-18 19:47:25 +01004432 <button>
z31s1g56189522016-01-13 19:12:40 +01004433 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4434 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4435 <condition var1="tw_hide_kb" op="=" var2="0" />
4436 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4437 <image resource="kb_hide" />
4438 <condition var1="tw_busy" var2="0" />
4439 <actions>
4440 <action function="set">tw_hide_kb=1</action>
4441 <action function="page">terminalcommand</action>
4442 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004443 </button>
z31s1g56189522016-01-13 19:12:40 +01004444
z31s1g608d7ff2016-01-18 19:47:25 +01004445 <button>
z31s1g56189522016-01-13 19:12:40 +01004446 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4447 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4448 <condition var1="tw_hide_kb" op="=" var2="1" />
4449 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4450 <image resource="kb_show" />
4451 <condition var1="tw_busy" var2="0" />
4452 <actions>
4453 <action function="set">tw_hide_kb=0</action>
4454 <action function="page">terminalcommand</action>
4455 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004456 </button>
z31s1g56189522016-01-13 19:12:40 +01004457
z31s1g608d7ff2016-01-18 19:47:25 +01004458 <button>
z31s1g56189522016-01-13 19:12:40 +01004459 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4460 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4461 <image resource="home" />
4462 <condition var1="tw_busy" var2="0" />
4463 <actions>
4464 <action function="set">tw_hide_kb=0</action>
4465 <action function="key">home</action>
4466 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004467 </button>
z31s1g56189522016-01-13 19:12:40 +01004468
z31s1g608d7ff2016-01-18 19:47:25 +01004469 <button>
z31s1g56189522016-01-13 19:12:40 +01004470 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4471 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4472 <condition var1="tw_hide_kb" op="=" var2="0" />
4473 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4474 <image resource="kb_hide" />
4475 <condition var1="tw_busy" var2="0" />
4476 <actions>
4477 <action function="set">tw_hide_kb=1</action>
4478 <action function="page">terminalcommand</action>
4479 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004480 </button>
z31s1g56189522016-01-13 19:12:40 +01004481
z31s1g608d7ff2016-01-18 19:47:25 +01004482 <button>
z31s1g56189522016-01-13 19:12:40 +01004483 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4484 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4485 <condition var1="tw_hide_kb" op="=" var2="1" />
4486 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4487 <image resource="kb_show" />
4488 <condition var1="tw_busy" var2="0" />
4489 <actions>
4490 <action function="set">tw_hide_kb=0</action>
4491 <action function="page">terminalcommand</action>
4492 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004493 </button>
z31s1g56189522016-01-13 19:12:40 +01004494
z31s1g608d7ff2016-01-18 19:47:25 +01004495 <button>
z31s1g56189522016-01-13 19:12:40 +01004496 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4497 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4498 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4499 <image resource="back" />
4500 <condition var1="tw_busy" var2="0" />
4501 <actions>
4502 <action function="set">tw_hide_kb=0</action>
4503 <action function="page">advanced</action>
4504 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004505 </button>
z31s1g56189522016-01-13 19:12:40 +01004506
z31s1g608d7ff2016-01-18 19:47:25 +01004507 <button>
z31s1g56189522016-01-13 19:12:40 +01004508 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4509 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4510 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4511 <image resource="back" />
4512 <condition var1="tw_busy" var2="0" />
4513 <actions>
4514 <action function="set">tw_hide_kb=0</action>
4515 <action function="page">advanced</action>
4516 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004517 </button>
z31s1g56189522016-01-13 19:12:40 +01004518
z31s1g608d7ff2016-01-18 19:47:25 +01004519 <button>
z31s1g56189522016-01-13 19:12:40 +01004520 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4521 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4522 <condition var1="tw_hide_kb" op="=" var2="0" />
4523 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4524 <image resource="kb_hide" />
4525 <condition var1="tw_busy" var2="0" />
4526 <actions>
4527 <action function="set">tw_hide_kb=1</action>
4528 <action function="page">terminalcommand</action>
4529 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004530 </button>
z31s1g56189522016-01-13 19:12:40 +01004531
z31s1g608d7ff2016-01-18 19:47:25 +01004532 <button>
z31s1g56189522016-01-13 19:12:40 +01004533 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4534 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4535 <condition var1="tw_hide_kb" op="=" var2="1" />
4536 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4537 <image resource="kb_show" />
4538 <condition var1="tw_busy" var2="0" />
4539 <actions>
4540 <action function="set">tw_hide_kb=0</action>
4541 <action function="page">terminalcommand</action>
4542 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004543 </button>
z31s1g56189522016-01-13 19:12:40 +01004544
z31s1g608d7ff2016-01-18 19:47:25 +01004545 <button>
z31s1g56189522016-01-13 19:12:40 +01004546 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4547 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4548 <image resource="home" />
4549 <condition var1="tw_busy" var2="0" />
4550 <actions>
4551 <action function="set">tw_hide_kb=0</action>
4552 <action function="key">home</action>
4553 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004554 </button>
z31s1g56189522016-01-13 19:12:40 +01004555
z31s1g608d7ff2016-01-18 19:47:25 +01004556 <button>
z31s1g56189522016-01-13 19:12:40 +01004557 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4558 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4559 <condition var1="tw_hide_kb" op="=" var2="0" />
4560 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4561 <image resource="kb_hide" />
4562 <condition var1="tw_busy" var2="0" />
4563 <actions>
4564 <action function="set">tw_hide_kb=1</action>
4565 <action function="page">terminalcommand</action>
4566 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004567 </button>
z31s1g56189522016-01-13 19:12:40 +01004568
z31s1g608d7ff2016-01-18 19:47:25 +01004569 <button>
z31s1g56189522016-01-13 19:12:40 +01004570 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4571 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4572 <condition var1="tw_hide_kb" op="=" var2="1" />
4573 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4574 <image resource="kb_show" />
4575 <condition var1="tw_busy" var2="0" />
4576 <actions>
4577 <action function="set">tw_hide_kb=0</action>
4578 <action function="page">terminalcommand</action>
4579 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004580 </button>
z31s1g56189522016-01-13 19:12:40 +01004581
z31s1g608d7ff2016-01-18 19:47:25 +01004582 <button>
z31s1g56189522016-01-13 19:12:40 +01004583 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4584 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4585 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4586 <image resource="back" />
4587 <condition var1="tw_busy" var2="0" />
4588 <actions>
4589 <action function="set">tw_hide_kb=0</action>
4590 <action function="page">advanced</action>
4591 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004592 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004593
4594 <action>
4595 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004596 <actions>
4597 <action function="page">main</action>
4598 <action function="set">tw_hide_kb=0</action>
4599 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004600 </action>
4601
4602 <action>
4603 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004604 <actions>
4605 <action function="page">advanced</action>
4606 <action function="set">tw_hide_kb=0</action>
4607 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004608 </action>
z31s1g56189522016-01-13 19:12:40 +01004609
4610 <object type="action">
4611 <touch key="power+voldown" />
4612 <action function="screenshot" />
4613 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004614 </page>
4615
4616 <page name="sideload">
4617 <template name="page"/>
4618
4619 <text style="text_l">
4620 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 </text>
4623
4624 <text style="text_m">
4625 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004626 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004627 </text>
4628
4629 <checkbox>
4630 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 <data variable="tw_wipe_dalvik"/>
4633 </checkbox>
4634
4635 <checkbox>
4636 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 <data variable="tw_wipe_cache"/>
4639 </checkbox>
4640
4641 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004642 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004643 <actions>
4644 <action function="set">tw_back=advanced</action>
4645 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4647 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4648 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004649 <action function="set">tw_has_cancel=1</action>
4650 <action function="set">tw_show_reboot=1</action>
4651 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4652 <action function="page">action_page</action>
4653 </actions>
4654 </slider>
4655
4656 <action>
4657 <touch key="home"/>
4658 <action function="page">main</action>
4659 </action>
4660
4661 <action>
4662 <touch key="back"/>
4663 <action function="page">advanced</action>
4664 </action>
4665 </page>
4666
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004667 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004668 <template name="page"/>
4669
4670 <text style="text_l">
4671 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004672 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004673 </text>
4674
4675 <text style="text_m">
4676 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004677 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004678 </text>
4679
4680 <text style="text_m_accent">
4681 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004682 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
z31s1g28f0a922015-11-07 18:50:22 +01004685 <text style="text_m_fail">
4686 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004687 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 </text>
4689
4690 <text style="text_m_fail">
4691 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004692 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 </text>
4694
4695 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004696 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 <actions>
4698 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004699 <action function="set">tw_action=fixcontexts</action>
4700 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4701 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004702 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004703 <action function="set">tw_show_reboot=1</action>
4704 <action function="page">action_page</action>
4705 </actions>
4706 </slider>
4707
4708 <action>
4709 <touch key="home"/>
4710 <action function="page">main</action>
4711 </action>
4712
4713 <action>
4714 <touch key="back"/>
4715 <action function="page">advanced</action>
4716 </action>
4717 </page>
4718
4719 <page name="installsu">
4720 <template name="page"/>
4721
4722 <text style="text_l">
4723 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004724 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004725 </text>
4726
4727 <text style="text_m">
4728 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004729 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004730 </text>
4731
4732 <text style="text_m_accent">
4733 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004734 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004735 </text>
4736
4737 <text style="text_m">
4738 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004740 </text>
4741
4742 <text style="text_m">
4743 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004745 </text>
4746
4747 <button style="main_button_half_width">
4748 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004749 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004750 <action function="set">tw_page_done=1</action>
4751 </button>
4752
4753 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004754 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004755 <actions>
4756 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004757 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004758 <action function="set">tw_action_text2=</action>
4759 <action function="page">singleaction_page</action>
4760 </actions>
4761 </slider>
4762 </page>
4763
4764 <page name="slideout">
4765 <fill color="%background_color%">
4766 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4767 </fill>
4768
4769 <console>
4770 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4771 </console>
4772
4773 <button>
4774 <fill color="%transparent%"/>
4775 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4776 <action function="overlay"/>
4777 </button>
4778
4779 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004780 <touch key="power"/>
4781 <action function="togglebacklight"/>
4782 </action>
4783
4784 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004785 <touch key="power+voldown"/>
4786 <action function="screenshot"/>
4787 </action>
4788 </page>
4789
4790 <page name="select_storage">
4791 <fill color="%semi_transparent%">
4792 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4793 </fill>
4794
4795 <fill color="%background_color%">
4796 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4797 </fill>
4798
4799 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004800 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004801 <data name="tw_storage_path"/>
4802 <listtype name="storage"/>
4803 </partitionlist>
4804
4805 <button style="button_third_width">
4806 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004807 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004808 <actions>
4809 <action function="set">tw_clear_destination=%tw_back%</action>
4810 <action function="overlay"/>
4811 <action function="page">clear_vars</action>
4812 </actions>
4813 </button>
4814
4815 <fill color="#000000">
4816 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4817 </fill>
4818
4819 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004820 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4821 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4822 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4823 <image resource="back" />
4824 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004825 <actions>
4826 <action function="overlay"/>
4827 <action function="key">%tw_back%</action>
4828 </actions>
4829 </button>
4830
4831 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004832 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4833 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4834 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4835 <image resource="console" />
4836 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004837 <action function="overlay">slideout</action>
4838 </button>
4839
4840 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004841 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4842 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="home" />
4844 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004845 <actions>
4846 <action function="overlay"/>
4847 <action function="key">home</action>
4848 </actions>
4849 </button>
4850
4851 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004852 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4853 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4854 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4855 <image resource="console" />
4856 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004857 <action function="overlay">slideout</action>
4858 </button>
4859
4860 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004861 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4862 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4863 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4864 <image resource="back" />
4865 <condition var1="tw_busy" var2="0" />
4866 <actions>
4867 <action function="overlay"/>
4868 <action function="key">%tw_back%</action>
4869 </actions>
4870 </button>
4871
4872 <button>
4873 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4874 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4875 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4876 <image resource="back" />
4877 <condition var1="tw_busy" var2="0" />
4878 <actions>
4879 <action function="overlay"/>
4880 <action function="key">%tw_back%</action>
4881 </actions>
4882 </button>
4883
4884 <button>
4885 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4886 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4887 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4888 <image resource="console" />
4889 <condition var1="tw_busy" var2="0" />
4890 <action function="overlay">slideout</action>
4891 </button>
4892
4893 <button>
4894 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4895 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4896 <image resource="home" />
4897 <condition var1="tw_busy" var2="0" />
4898 <actions>
4899 <action function="overlay"/>
4900 <action function="key">home</action>
4901 </actions>
4902 </button>
4903
4904 <button>
4905 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4906 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4907 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4908 <image resource="console" />
4909 <condition var1="tw_busy" var2="0" />
4910 <action function="overlay">slideout</action>
4911 </button>
4912
4913 <button>
4914 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4915 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4916 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4917 <image resource="back" />
4918 <condition var1="tw_busy" var2="0" />
4919 <actions>
4920 <action function="overlay"/>
4921 <action function="key">%tw_back%</action>
4922 </actions>
4923 </button>
4924
4925 <button>
4926 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4927 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4928 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4929 <image resource="back" />
4930 <condition var1="tw_busy" var2="0" />
4931 <actions>
4932 <action function="overlay"/>
4933 <action function="key">%tw_back%</action>
4934 </actions>
4935 </button>
4936
4937 <button>
4938 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4939 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4940 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4941 <image resource="console" />
4942 <condition var1="tw_busy" var2="0" />
4943 <action function="overlay">slideout</action>
4944 </button>
4945
4946 <button>
4947 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4948 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4949 <image resource="home" />
4950 <condition var1="tw_busy" var2="0" />
4951 <actions>
4952 <action function="overlay"/>
4953 <action function="key">home</action>
4954 </actions>
4955 </button>
4956
4957 <button>
4958 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4959 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4960 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4961 <image resource="console" />
4962 <condition var1="tw_busy" var2="0" />
4963 <action function="overlay">slideout</action>
4964 </button>
4965
4966 <button>
4967 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4968 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4969 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="back" />
4971 <condition var1="tw_busy" var2="0" />
4972 <actions>
4973 <action function="overlay"/>
4974 <action function="key">%tw_back%</action>
4975 </actions>
4976 </button>
4977
4978 <action>
4979 <touch key="power+voldown"/>
4980 <action function="screenshot"/>
4981 </action>
4982 </page>
4983
4984 <page name="select_language">
4985 <fill color="%semi_transparent%">
4986 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4987 </fill>
4988
4989 <fill color="%background_color%">
4990 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4991 </fill>
4992
4993 <listbox>
4994 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4995 <text>{@select_language=Select Language:}</text>
4996 <icon selected="radio_true" unselected="radio_false" />
4997 <data name="tw_language" />
4998 </listbox>
4999
5000 <button style="button_third_width">
5001 <placement x="%dialog_button_x%" y="%row13_y%"/>
5002 <text>{@ok_btn=OK}</text>
5003 <actions>
5004 <action function="overlay"/>
5005 <action function="setlanguage"></action>
5006 </actions>
5007 </button>
5008
5009 <fill color="#000000">
5010 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5011 </fill>
5012
5013 <button>
5014 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5015 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5016 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5017 <image resource="back" />
5018 <condition var1="tw_busy" var2="0" />
5019 <actions>
5020 <action function="overlay"/>
5021 <action function="key">%tw_back%</action>
5022 </actions>
5023 </button>
5024
5025 <button>
5026 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5027 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5028 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5029 <image resource="console" />
5030 <condition var1="tw_busy" var2="0" />
5031 <action function="overlay">slideout</action>
5032 </button>
5033
5034 <button>
5035 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5036 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5037 <image resource="home" />
5038 <condition var1="tw_busy" var2="0" />
5039 <actions>
5040 <action function="overlay"/>
5041 <action function="key">home</action>
5042 </actions>
5043 </button>
5044
5045 <button>
5046 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5047 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5048 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5049 <image resource="console" />
5050 <condition var1="tw_busy" var2="0" />
5051 <action function="overlay">slideout</action>
5052 </button>
5053
5054 <button>
5055 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5056 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5057 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5058 <image resource="back" />
5059 <condition var1="tw_busy" var2="0" />
5060 <actions>
5061 <action function="overlay"/>
5062 <action function="key">%tw_back%</action>
5063 </actions>
5064 </button>
5065
5066 <button>
5067 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5068 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5069 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5070 <image resource="back" />
5071 <condition var1="tw_busy" var2="0" />
5072 <actions>
5073 <action function="overlay"/>
5074 <action function="key">%tw_back%</action>
5075 </actions>
5076 </button>
5077
5078 <button>
5079 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5080 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5081 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5082 <image resource="console" />
5083 <condition var1="tw_busy" var2="0" />
5084 <action function="overlay">slideout</action>
5085 </button>
5086
5087 <button>
5088 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5089 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5090 <image resource="home" />
5091 <condition var1="tw_busy" var2="0" />
5092 <actions>
5093 <action function="overlay"/>
5094 <action function="key">home</action>
5095 </actions>
5096 </button>
5097
5098 <button>
5099 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5100 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5101 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5102 <image resource="console" />
5103 <condition var1="tw_busy" var2="0" />
5104 <action function="overlay">slideout</action>
5105 </button>
5106
5107 <button>
5108 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5109 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5110 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5111 <image resource="back" />
5112 <condition var1="tw_busy" var2="0" />
5113 <actions>
5114 <action function="overlay"/>
5115 <action function="key">%tw_back%</action>
5116 </actions>
5117 </button>
5118
5119 <button>
5120 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5121 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5122 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5123 <image resource="back" />
5124 <condition var1="tw_busy" var2="0" />
5125 <actions>
5126 <action function="overlay"/>
5127 <action function="key">%tw_back%</action>
5128 </actions>
5129 </button>
5130
5131 <button>
5132 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5133 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5134 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5135 <image resource="console" />
5136 <condition var1="tw_busy" var2="0" />
5137 <action function="overlay">slideout</action>
5138 </button>
5139
5140 <button>
5141 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5142 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5143 <image resource="home" />
5144 <condition var1="tw_busy" var2="0" />
5145 <actions>
5146 <action function="overlay"/>
5147 <action function="key">home</action>
5148 </actions>
5149 </button>
5150
5151 <button>
5152 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5153 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5154 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5155 <image resource="console" />
5156 <condition var1="tw_busy" var2="0" />
5157 <action function="overlay">slideout</action>
5158 </button>
5159
5160 <button>
5161 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5162 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5163 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5164 <image resource="back" />
5165 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005166 <actions>
5167 <action function="overlay"/>
5168 <action function="key">%tw_back%</action>
5169 </actions>
5170 </button>
5171
5172 <action>
5173 <touch key="power+voldown"/>
5174 <action function="screenshot"/>
5175 </action>
5176 </page>
5177 </pages>
5178</recovery>