blob: 9272db01b9126d5f49e5e275aeadb7c56e679cef [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>
444 <placement x="%col1_x_right%" y="%row12_y%" />
445 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
446 <data variable="tw_install_reboot" />
447 </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>
551 <action function="set">tw_action=reboot</action>
552 <action function="set">tw_action_param=system</action>
553 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
555 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <action function="set">tw_text3=</action>
557 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500558 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100559 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500560 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
561 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100562 <action function="page">rebootcheck</action>
563 </actions>
564 </button>
565
566 <action>
567 <touch key="back"/>
568 <actions>
569 <action function="set">tw_clear_destination=install</action>
570 <action function="page">clear_vars</action>
571 </actions>
572 </action>
573
574 <action>
575 <touch key="home"/>
576 <actions>
577 <action function="set">tw_clear_destination=main2</action>
578 <action function="page">clear_vars</action>
579 </actions>
580 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500581
582 <action>
583 <conditions>
584 <condition var1="tw_install_reboot" var2="1"/>
585 <condition var1="tw_operation_status" var2="0"/>
586 <condition var1="tw_reboot_system" var2="1"/>
587 </conditions>
588 <actions>
589 <action function="set">tw_sleep=%tw_sleep_total%</action>
590 <action function="page">flash_sleep_and_reboot</action>
591 </actions>
592 </action>
593 </page>
594
595 <page name="flash_sleep_and_reboot">
596 <template name="page"/>
597
598 <text style="text_l">
599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
600 <text>{@install_zip_hdr=Install Zip}</text>
601 </text>
602
603 <text style="text_m">
604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
605 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
606 </text>
607
608 <template name="console"/>
609
610 <template name="progress_bar"/>
611
612 <button style="main_button_half_width">
613 <condition var1="tw_sleep" op="&gt;" var2="0"/>
614 <placement x="%center_x%" y="%row15a_y%"/>
615 <text>{@cancel_btn=Cancel}</text>
616 <actions>
617 <action function="set">tw_install_reboot=0</action>
618 <action function="page">flash_done</action>
619 </actions>
620 </button>
621
622 <action>
623 <conditions>
624 <condition var1="tw_sleep" var2="tw_sleep_total"/>
625 <condition var1="tw_install_reboot" var2="1"/>
626 </conditions>
627 <action function="sleepcounter">%tw_sleep_total%</action>
628 </action>
629
630 <action>
631 <conditions>
632 <condition var1="tw_sleep" var2="0"/>
633 <condition var1="tw_install_reboot" var2="1"/>
634 </conditions>
635 <actions>
636 <action function="sleep">50000</action>
637 <action function="set">tw_back=main2</action>
638 <action function="page">reboot_system_routine</action>
639 </actions>
640 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100641 </page>
642
643 <page name="flashimage_confirm">
644 <template name="page"/>
645
646 <text style="text_l">
647 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500653 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100654 </text>
655
656 <text style="text_m_accent">
657 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500658 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100659 </text>
660
661 <text style="text_m">
662 <placement x="%col1_x_left%" y="%row9_y%"/>
663 <text>%tw_zip_location%</text>
664 </text>
665
666 <text style="text_m_accent">
667 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500668 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100669 </text>
670
671 <text style="text_m">
672 <placement x="%col1_x_left%" y="%row12_y%"/>
673 <text>%tw_file%</text>
674 </text>
675
676 <partitionlist>
677 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
678 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500679 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100680 <data name="tw_flash_partition"/>
681 <listtype name="flashimg"/>
682 </partitionlist>
683
684 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500685 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100686 <actions>
687 <action function="set">tw_back=flashimage_confirm</action>
688 <action function="set">tw_action=flashimage</action>
689 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500690 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100691 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500692 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100693 <action function="page">action_page</action>
694 </actions>
695 <action function="flashimage"/>
696 </slider>
697
698 <action>
699 <touch key="back"/>
700 <actions>
701 <action function="set">tw_clear_destination=install</action>
702 <action function="page">clear_vars</action>
703 </actions>
704 </action>
705
706 <action>
707 <touch key="home"/>
708 <actions>
709 <action function="set">tw_clear_destination=main2</action>
710 <action function="page">clear_vars</action>
711 </actions>
712 </action>
713 </page>
714
715 <page name="clear_vars">
716 <action>
717 <action function="set">tw_operation_state=0</action>
718 <action function="set">tw_text1=</action>
719 <action function="set">tw_text2=</action>
720 <action function="set">tw_text3=</action>
721 <action function="set">tw_text4=</action>
722 <action function="set">tw_action_text1=</action>
723 <action function="set">tw_action_text2=</action>
724 <action function="set">tw_action_param=</action>
725 <action function="set">tw_has_action2=0</action>
726 <action function="set">tw_action2=</action>
727 <action function="set">tw_action2_param=</action>
728 <action function="set">tw_has_cancel=0</action>
729 <action function="set">tw_cancel_action=</action>
730 <action function="set">tw_cancel_param=</action>
731 <action function="set">tw_show_exclamation=0</action>
732 <action function="set">tw_show_reboot=0</action>
733 <action function="page">%tw_clear_destination%</action>
734 </action>
735 </page>
736
737 <page name="confirm_action">
738 <template name="page"/>
739
740 <text style="text_l">
741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 </text>
744
745 <text style="text_m">
746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
747 <text/>
748 </text>
749
750 <text style="text_m_accent">
751 <placement x="%center_x%" y="%row2_y%" placement="5"/>
752 <text>%tw_text1%</text>
753 </text>
754
755 <text style="text_m_accent">
756 <placement x="%center_x%" y="%row3_y%" placement="5"/>
757 <text>%tw_text2%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%center_x%" y="%row4_y%" placement="5"/>
762 <text>%tw_text3%</text>
763 </text>
764
765 <text style="text_m">
766 <placement x="%center_x%" y="%row5_y%" placement="5"/>
767 <text>%tw_text4%</text>
768 </text>
769
770 <text style="text_m">
771 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 </text>
774
775 <slider style="slider_centered">
776 <text>%tw_slider_text%</text>
777 <action function="page">action_page</action>
778 </slider>
779
780 <action>
781 <touch key="back"/>
782 <actions>
783 <action function="set">tw_clear_destination=%tw_back%</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </action>
787
788 <action>
789 <touch key="home"/>
790 <action function="page">main</action>
791 </action>
792 </page>
793
794 <page name="action_page">
795 <template name="page"/>
796
797 <text style="text_l">
798 <placement x="%col1_x_header%" y="%row3_header_y%"/>
799 <text>%tw_action_text1%</text>
800 </text>
801
802 <text style="text_m">
803 <placement x="%col1_x_header%" y="%row4_header_y%"/>
804 <text>%tw_action_text2%</text>
805 </text>
806
807 <template name="console"/>
808
809 <template name="progress_bar"/>
810
811 <button style="main_button_half_width">
812 <condition var1="tw_has_cancel" var2="1"/>
813 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500814 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100815 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
816 </button>
817
818 <action>
819 <condition var1="tw_operation_state" var2="1"/>
820 <actions>
821 <action function="page">action_complete</action>
822 </actions>
823 </action>
824
825 <action>
826 <condition var1="tw_has_action2" var2="0"/>
827 <actions>
828 <action function="%tw_action%">%tw_action_param%</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="1"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 <action function="%tw_action2%">%tw_action2_param%</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="singleaction_page">
842 <template name="page"/>
843
844 <text style="text_l">
845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
846 <text>%tw_action_text1%</text>
847 </text>
848
849 <text style="text_m">
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
851 <text>%tw_action_text2%</text>
852 </text>
853
854 <template name="console"/>
855
856 <template name="progress_bar"/>
857
858 <action>
859 <condition var1="tw_operation_state" var2="1"/>
860 <actions>
861 <action function="set">tw_page_done=1</action>
862 </actions>
863 </action>
864
865 <action>
866 <condition var1="tw_has_action2" var2="0"/>
867 <actions>
868 <action function="%tw_action%">%tw_action_param%</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="1"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 <action function="%tw_action2%">%tw_action2_param%</action>
877 </actions>
878 </action>
879 </page>
880
881 <page name="action_complete">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
886 <text>%tw_complete_text1%</text>
887 </text>
888
889 <text style="text_m_fail">
890 <condition var1="tw_operation_status" op="!=" var2="0"/>
891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500892 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100893 </text>
894
895 <text style="text_m">
896 <condition var1="tw_operation_status" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <template name="console"/>
902
903 <button style="main_button_half_width">
904 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 <actions>
907 <action function="set">tw_clear_destination=%tw_back%</action>
908 <action function="page">clear_vars</action>
909 </actions>
910 </button>
911
912 <button style="main_button_half_width">
913 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 <actions>
916 <action function="set">tw_back=main2</action>
917 <action function="set">tw_action=reboot</action>
918 <action function="set">tw_action_param=system</action>
919 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500920 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
921 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100922 <action function="set">tw_text3=</action>
923 <action function="set">tw_text4=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500924 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
927 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100928 <action function="page">rebootcheck</action>
929 </actions>
930 </button>
931
932 <action>
933 <touch key="home"/>
934 <actions>
935 <action function="set">tw_clear_destination=main2</action>
936 <action function="page">clear_vars</action>
937 </actions>
938 </action>
939
940 <action>
941 <touch key="back"/>
942 <actions>
943 <action function="set">tw_clear_destination=%tw_back%</action>
944 <action function="page">clear_vars</action>
945 </actions>
946 </action>
947 </page>
948
949 <page name="filecheck">
950 <action>
951 <action function="fileexists">%tw_filecheck%</action>
952 </action>
953
954 <action>
955 <conditions>
956 <condition var1="tw_operation_state" var2="1"/>
957 <condition var1="tw_operation_status" var2="0"/>
958 </conditions>
959 <actions>
960 <action function="set">tw_fileexists=1</action>
961 <action function="page">%tw_existpage%</action>
962 </actions>
963 </action>
964
965 <action>
966 <conditions>
967 <condition var1="tw_operation_state" var2="1"/>
968 <condition var1="tw_operation_status" var2="1"/>
969 </conditions>
970 <actions>
971 <action function="set">tw_fileexists=0</action>
972 <action function="page">%tw_notexistpage%</action>
973 </actions>
974 </action>
975 </page>
976
977 <page name="rebootcheck">
978 <action>
979 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
980 <action function="reboot">%tw_action_param%</action>
981 </action>
982
983 <action>
984 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
985 <action function="page">confirm_action</action>
986 </action>
987 </page>
988
989 <page name="wipe">
990 <template name="page"/>
991
992 <text style="text_l">
993 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m">
998 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 </text>
1001
1002 <text style="text_m_accent">
1003 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m_accent">
1008 <condition var1="tw_has_data_media" var2="1"/>
1009 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <text style="text_m_accent">
1014 <conditions>
1015 <condition var1="tw_has_android_secure" var2="1"/>
1016 <condition var1="fileexists" var2="/and-sec"/>
1017 </conditions>
1018 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001019 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </text>
1021
1022 <text style="text_m_accent">
1023 <condition var1="tw_has_sdext_partition" var2="1"/>
1024 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001030 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <text style="text_m">
1039 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 </text>
1042
1043 <button style="main_button_half_width">
1044 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001045 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001046 <actions>
1047 <action function="set">partitionlisterror=0</action>
1048 <action function="page">advancedwipe</action>
1049 </actions>
1050 </button>
1051
1052 <button style="main_button_half_width">
1053 <condition var1="tw_has_data_media" var2="1"/>
1054 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001055 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001056 <action function="page">formatdata</action>
1057 </button>
1058
1059 <button style="main_button_half_width">
1060 <conditions>
1061 <condition var1="tw_is_encrypted" var2="1"/>
1062 <condition var1="tw_has_data_media" var2="0"/>
1063 </conditions>
1064 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001066 <actions>
1067 <action function="set">tw_back=wipe</action>
1068 <action function="set">tw_action=wipe</action>
1069 <action function="set">tw_action_param=DATAMEDIA</action>
1070 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001071 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1074 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1075 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001076 <action function="page">confirm_action</action>
1077 </actions>
1078 </button>
1079
1080 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 <actions>
1083 <action function="set">tw_back=wipe</action>
1084 <action function="set">tw_action=wipe</action>
1085 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001086 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1087 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001088 <action function="page">action_page</action>
1089 </actions>
1090 </slider>
1091
1092 <action>
1093 <touch key="back"/>
1094 <action function="page">main</action>
1095 </action>
1096
1097 <action>
1098 <touch key="home"/>
1099 <action function="page">main</action>
1100 </action>
1101 </page>
1102
1103 <page name="advancedwipe">
1104 <template name="page"/>
1105
1106 <action>
1107 <action function="set">tw_wipe_list=</action>
1108 </action>
1109
1110 <text style="text_l">
1111 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 </text>
1114
1115 <text style="text_m">
1116 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 </text>
1119
1120 <partitionlist>
1121 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001122 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001123 <data name="tw_wipe_list"/>
1124 <listtype name="wipe"/>
1125 </partitionlist>
1126
1127 <text style="text_m_fail">
1128 <condition var1="partitionlisterror" var2="1"/>
1129 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 </text>
1132
1133 <button style="main_button_m">
1134 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001135 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001136 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001137 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001138 <action function="page">checkpartitionlist</action>
1139 </actions>
1140 </button>
1141
1142 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001144 <actions>
1145 <action function="set">tw_back=advancedwipe</action>
1146 <action function="set">tw_action=wipe</action>
1147 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001148 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1149 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1150 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001151 <action function="page">action_page</action>
1152 </actions>
1153 </slider>
1154
1155 <action>
1156 <touch key="home"/>
1157 <action function="page">main</action>
1158 </action>
1159
1160 <action>
1161 <touch key="back"/>
1162 <action function="page">wipe</action>
1163 </action>
1164 </page>
1165
1166 <page name="formatdata">
1167 <template name="page"/>
1168
1169 <text style="text_l">
1170 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m">
1175 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <text style="text_m_fail">
1180 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001181 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001182 </text>
1183
1184 <text style="text_m_fail">
1185 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </text>
1188
Ethan Yonker66a19492015-12-10 10:19:45 -06001189 <text style="text_m_fail">
1190 <condition var1="tw_has_adopted_storage" var2="1"/>
1191 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1192 <text>{@format_data_adopted=Including Adopted Storage}</text>
1193 </text>
1194
z31s1g28f0a922015-11-07 18:50:22 +01001195 <text style="text_m">
1196 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <input>
1206 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1207 <text>%tw_confirm_formatdata%</text>
1208 <data name="tw_confirm_formatdata"/>
1209 <restrict minlen="3" maxlen="3" allow="yes"/>
1210 <action function="page">formatdata_confirm</action>
1211 </input>
1212
1213 <fill color="%accent_color%">
1214 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1215 </fill>
1216
1217 <template name="keyboardtemplate"/>
1218
1219 <action>
1220 <touch key="home"/>
1221 <action function="page">main</action>
1222 </action>
1223
1224 <action>
1225 <touch key="back"/>
1226 <action function="page">wipe</action>
1227 </action>
1228 </page>
1229
1230 <page name="formatdata_confirm">
1231 <action>
1232 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1233 <actions>
1234 <action function="set">tw_back=formatdata</action>
1235 <action function="set">tw_action=wipe</action>
1236 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1238 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001239 <action function="page">action_page</action>
1240 </actions>
1241 </action>
1242
1243 <action>
1244 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1245 <action function="page">formatdata</action>
1246 </action>
1247 </page>
1248
1249 <page name="checkpartitionlist">
1250 <action>
1251 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1252 <actions>
1253 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001254 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001255 <action function="page">partitionoptions</action>
1256 </actions>
1257 </action>
1258
1259 <action>
1260 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1261 <actions>
1262 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001263 <action function="page">advancedwipe</action>
1264 </actions>
1265 </action>
1266 </page>
1267
1268 <page name="partitionoptions">
1269 <template name="page"/>
1270
1271 <text style="text_l">
1272 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m">
1277 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m_accent">
1282 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m_accent">
1287 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001289 </text>
1290
1291 <text style="text_m">
1292 <condition var1="tw_partition_is_present" var2="1"/>
1293 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <text style="text_m">
1298 <condition var1="tw_partition_is_present" var2="0"/>
1299 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <condition var1="tw_partition_removable" var2="1"/>
1305 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <condition var1="tw_partition_removable" var2="0"/>
1311 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m">
1326 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m">
1331 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <button style="main_button_half_width">
1336 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1337 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <actions>
1340 <action function="set">tw_back=partitionoptions</action>
1341 <action function="set">tw_action=resize</action>
1342 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1343 <action function="set">tw_has_action2=1</action>
1344 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001345 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1349 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1350 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">confirm_action</action>
1352 </actions>
1353 </button>
1354
1355 <button style="main_button_half_width">
1356 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1357 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 <actions>
1360 <action function="set">tw_back=partitionoptions</action>
1361 <action function="set">tw_action=repair</action>
1362 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1363 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001365 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1367 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1368 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001369 <action function="page">confirm_action</action>
1370 </actions>
1371 </button>
1372
1373 <button style="main_button_half_width">
1374 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <action function="page">selectfilesystem</action>
1377 </button>
1378
1379 <action>
1380 <touch key="home"/>
1381 <action function="page">main</action>
1382 </action>
1383
1384 <action>
1385 <touch key="back"/>
1386 <action function="page">advancedwipe</action>
1387 </action>
1388 </page>
1389
1390 <page name="refreshfilesystem">
1391 <action>
1392 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1393 <actions>
1394 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001395 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <action function="page">selectfilesystem</action>
1397 </actions>
1398 </action>
1399
1400 <action>
1401 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1402 <actions>
1403 <action function="set">partitionlisterror=1</action>
1404 <action function="set">tw_wipe_list=</action>
1405 <action function="page">advancedwipe</action>
1406 </actions>
1407 </action>
1408 </page>
1409
1410 <page name="selectfilesystem">
1411 <template name="page"/>
1412
1413 <text style="text_l">
1414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m">
1419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <text style="text_m_accent">
1424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001426 </text>
1427
1428 <text style="text_m_accent">
1429 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001430 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001431 </text>
1432
1433 <text style="text_m_fail">
1434 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001436 </text>
1437
1438 <text style="text_m_fail">
1439 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001440 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001441 </text>
1442
1443 <button style="main_button_half_width">
1444 <condition var1="tw_partition_ext" op="=" var2="1"/>
1445 <placement x="%col1_x_left%" y="%row11_y%"/>
1446 <text>EXT2</text>
1447 <actions>
1448 <action function="set">tw_back=refreshfilesystem</action>
1449 <action function="set">tw_action=changefilesystem</action>
1450 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1451 <action function="set">tw_action_new_file_system=ext2</action>
1452 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1454 <action function="set">tw_text2=EXT2</action>
1455 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1456 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1457 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <action function="page">confirm_action</action>
1459 </actions>
1460 </button>
1461
1462 <button style="main_button_half_width">
1463 <condition var1="tw_partition_ext" op="=" var2="1"/>
1464 <placement x="%col2_x_left%" y="%row11_y%"/>
1465 <text>EXT3</text>
1466 <actions>
1467 <action function="set">tw_back=refreshfilesystem</action>
1468 <action function="set">tw_action=changefilesystem</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_action_new_file_system=ext3</action>
1471 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1473 <action function="set">tw_text2=EXT3</action>
1474 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1475 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1476 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001477 <action function="page">confirm_action</action>
1478 </actions>
1479 </button>
1480
1481 <button style="main_button_half_width">
1482 <condition var1="tw_partition_ext" op="=" var2="1"/>
1483 <placement x="%center_x%" y="%row11_y%"/>
1484 <text>EXT4</text>
1485 <actions>
1486 <action function="set">tw_back=refreshfilesystem</action>
1487 <action function="set">tw_action=changefilesystem</action>
1488 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1489 <action function="set">tw_action_new_file_system=ext4</action>
1490 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1492 <action function="set">tw_text2=EXT4</action>
1493 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1494 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1495 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001496 <action function="page">confirm_action</action>
1497 </actions>
1498 </button>
1499
1500 <button style="main_button_half_width">
1501 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1502 <placement x="%col2_x_right%" y="%row11_y%"/>
1503 <text>FAT</text>
1504 <actions>
1505 <action function="set">tw_back=refreshfilesystem</action>
1506 <action function="set">tw_action=changefilesystem</action>
1507 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1508 <action function="set">tw_action_new_file_system=vfat</action>
1509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001510 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1511 <action function="set">tw_text2=FAT</action>
1512 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1513 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1514 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">confirm_action</action>
1516 </actions>
1517 </button>
1518
1519 <button style="main_button_half_width">
1520 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1521 <placement x="%col2_x_left%" y="%row15a_y%"/>
1522 <text>exFAT</text>
1523 <actions>
1524 <action function="set">tw_back=refreshfilesystem</action>
1525 <action function="set">tw_action=changefilesystem</action>
1526 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1527 <action function="set">tw_action_new_file_system=exfat</action>
1528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1530 <action function="set">tw_text2=exFAT</action>
1531 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1532 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1533 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001534 <action function="page">confirm_action</action>
1535 </actions>
1536 </button>
1537
1538 <button style="main_button_half_width">
1539 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1540 <placement x="%center_x%" y="%row15a_y%"/>
1541 <text>F2FS</text>
1542 <actions>
1543 <action function="set">tw_back=refreshfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=f2fs</action>
1547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1549 <action function="set">tw_text2=F2FS</action>
1550 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1551 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1552 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">confirm_action</action>
1554 </actions>
1555 </button>
1556
1557 <action>
1558 <touch key="home"/>
1559 <action function="page">main</action>
1560 </action>
1561
1562 <action>
1563 <touch key="back"/>
1564 <action function="page">partitionoptions</action>
1565 </action>
1566 </page>
1567
1568 <page name="backup">
1569 <template name="page"/>
1570
1571 <text style="text_l">
1572 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001574 </text>
1575
1576 <text style="text_m">
1577 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001578 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001579 </text>
1580
1581 <text style="text_m_accent">
1582 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001583 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001584 </text>
1585
1586 <text style="text_m">
1587 <placement x="%col1_x_left%" y="%row3_y%"/>
1588 <text>%tw_backup_name%</text>
1589 </text>
1590
1591 <fill color="%fileselector_linecolor%">
1592 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1593 </fill>
1594
1595 <button>
1596 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1597 <fill color="%transparent%"/>
1598 <actions>
1599 <action function="set">tw_fileexists=0</action>
1600 <action function="page">backupname1</action>
1601 </actions>
1602 </button>
1603
1604 <partitionlist>
1605 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <data name="tw_backup_list"/>
1608 <listtype name="backup"/>
1609 </partitionlist>
1610
1611 <text style="text_m_accent">
1612 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001614 </text>
1615
1616 <text style="text_m">
1617 <conditions>
1618 <condition var1="tw_include_encrypted_backup" var2="1"/>
1619 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001620 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001621 </conditions>
1622 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 </text>
1625
1626 <text style="text_m">
1627 <conditions>
1628 <condition var1="tw_include_encrypted_backup" var2="1"/>
1629 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001630 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </conditions>
1632 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001633 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001634 </text>
1635
1636 <fill color="%fileselector_linecolor%">
1637 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1638 </fill>
1639
1640 <button>
1641 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1642 <fill color="%transparent%"/>
1643 <actions>
1644 <action function="set">tw_password_not_match=0</action>
1645 <action function="page">backupencryption</action>
1646 </actions>
1647 </button>
1648
1649 <text style="text_m_accent">
1650 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <checkbox>
1655 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 <data variable="tw_use_compression"/>
1658 </checkbox>
1659
1660 <checkbox>
1661 <placement x="%col1_x_right%" y="%row7a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@skip_md5_backup_chk=Skip MD5 generation during backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <data variable="tw_skip_md5_generate"/>
1664 </checkbox>
1665
1666 <checkbox>
1667 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001668 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 <data variable="tw_disable_free_space"/>
1670 </checkbox>
1671
1672 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001673 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001674 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001675 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001676 <actions>
1677 <action function="set">tw_back=backup</action>
1678 <action function="overlay">select_storage</action>
1679 </actions>
1680 </button>
1681
1682 <button style="main_button_half_width">
1683 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <actions>
1686 <action function="refreshsizes"/>
1687 <action function="page">backup</action>
1688 </actions>
1689 </button>
1690
1691 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 <action function="page">backup_run</action>
1694 </slider>
1695
1696 <action>
1697 <touch key="home"/>
1698 <action function="page">main</action>
1699 </action>
1700
1701 <action>
1702 <touch key="back"/>
1703 <action function="page">main</action>
1704 </action>
1705 </page>
1706
1707 <page name="backupname1">
1708 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <action function="generatebackupname"/>
1711 </action>
1712
1713 <action>
1714 <action function="page">backupname2</action>
1715 </action>
1716 </page>
1717
1718 <page name="backupname2">
1719 <template name="page"/>
1720
1721 <text style="text_l">
1722 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001723 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </text>
1725
1726 <text style="text_m">
1727 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <text style="text_m_accent">
1732 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 </text>
1735
1736 <input>
1737 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1738 <text>%tw_backup_name%</text>
1739 <data name="tw_backup_name"/>
1740 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1741 <actions>
1742 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1743 <action function="set">tw_existpage=backupname2</action>
1744 <action function="set">tw_notexistpage=backup</action>
1745 <action function="page">filecheck</action>
1746 </actions>
1747 </input>
1748
1749 <fill color="%accent_color%">
1750 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1751 </fill>
1752
1753 <fill color="%text_fail_color%">
1754 <condition var1="tw_fileexists" var2="1"/>
1755 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1756 </fill>
1757
1758 <text style="text_m_fail">
1759 <condition var1="tw_fileexists" var2="1"/>
1760 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </text>
1763
1764 <button style="main_button_half_width_low">
1765 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001768 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001769 <action function="page">backup</action>
1770 </actions>
1771 </button>
1772
1773 <button style="main_button_half_width_low">
1774 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <action function="appenddatetobackupname"/>
1777 </button>
1778
1779 <template name="keyboardtemplate"/>
1780
1781 <action>
1782 <touch key="home"/>
1783 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001784 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001785 <action function="page">main</action>
1786 </actions>
1787 </action>
1788
1789 <action>
1790 <touch key="back"/>
1791 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001792 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="page">backup</action>
1794 </actions>
1795 </action>
1796 </page>
1797
1798 <page name="backupencryption">
1799 <template name="page"/>
1800
1801 <text style="text_l">
1802 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001804 </text>
1805
1806 <text style="text_m">
1807 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <text style="text_m_accent">
1812 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001814 </text>
1815
1816 <input>
1817 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1818 <text>%tw_backup_encrypt_display%</text>
1819 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1820 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1821 <action function="page">backupencryption2</action>
1822 </input>
1823
1824 <fill color="%accent_color%">
1825 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1826 </fill>
1827
1828 <fill color="%text_fail_color%">
1829 <condition var1="tw_password_not_match" var2="1"/>
1830 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1831 </fill>
1832
1833 <text style="text_m_fail">
1834 <condition var1="tw_password_not_match" var2="1"/>
1835 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001837 </text>
1838
1839 <button style="main_button_half_width_low">
1840 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001842 <actions>
1843 <action function="set">tw_encrypt_backup=0</action>
1844 <action function="set">tw_backup_password=</action>
1845 <action function="set">tw_backup_password2=</action>
1846 <action function="set">tw_backup_encrypt_display=</action>
1847 <action function="set">tw_backup_encrypt_display2=</action>
1848 <action function="page">backup</action>
1849 </actions>
1850 </button>
1851
1852 <template name="keyboardtemplate"/>
1853
1854 <action>
1855 <touch key="home"/>
1856 <action function="page">main</action>
1857 </action>
1858
1859 <action>
1860 <touch key="back"/>
1861 <action function="page">backup</action>
1862 </action>
1863 </page>
1864
1865 <page name="backupencryption2">
1866 <template name="page"/>
1867
1868 <text style="text_l">
1869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m">
1874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <text style="text_m_accent">
1879 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001880 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001881 </text>
1882
1883 <input>
1884 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1885 <text>%tw_backup_encrypt_display2%</text>
1886 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1887 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1888 <action function="page">checkbackuppassword</action>
1889 </input>
1890
1891 <fill color="%accent_color%">
1892 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1893 </fill>
1894
1895 <text style="text_m">
1896 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001898 </text>
1899
1900 <button style="main_button_half_width_low">
1901 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 <actions>
1904 <action function="set">tw_encrypt_backup=0</action>
1905 <action function="set">tw_backup_password=</action>
1906 <action function="set">tw_backup_password2=</action>
1907 <action function="set">tw_backup_encrypt_display=</action>
1908 <action function="set">tw_backup_encrypt_display2=</action>
1909 <action function="page">backup</action>
1910 </actions>
1911 </button>
1912
1913 <template name="keyboardtemplate"/>
1914
1915 <action>
1916 <touch key="home"/>
1917 <action function="page">main</action>
1918 </action>
1919
1920 <action>
1921 <touch key="back"/>
1922 <action function="page">backup</action>
1923 </action>
1924 </page>
1925
1926 <page name="checkbackuppassword">
1927 <action>
1928 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
1929 <actions>
1930 <action function="set">tw_encrypt_backup=1</action>
1931 <action function="page">backup</action>
1932 </actions>
1933 </action>
1934
1935 <action>
1936 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
1937 <actions>
1938 <action function="set">tw_encrypt_backup=0</action>
1939 <action function="set">tw_password_not_match=1</action>
1940 <action function="set">tw_backup_password=</action>
1941 <action function="set">tw_backup_password2=</action>
1942 <action function="set">tw_backup_encrypt_display=</action>
1943 <action function="set">tw_backup_encrypt_display2=</action>
1944 <action function="page">backupencryption</action>
1945 </actions>
1946 </action>
1947 </page>
1948
1949 <page name="backup_run">
1950 <template name="page"/>
1951
1952 <text style="text_l">
1953 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1954 <text>%tw_operation%</text>
1955 </text>
1956
1957 <text style="text_m">
1958 <placement x="%col1_x_header%" y="%row4_header_y%"/>
1959 <text>%tw_partition% Partition</text>
1960 </text>
1961
1962 <template name="console"/>
1963
1964 <template name="progress_bar"/>
1965
1966 <text style="text_m_accent">
1967 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001968 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001969 </text>
1970
1971 <text style="text_m">
1972 <placement x="%progress_text_x%" y="%row17_y%"/>
1973 <text>%tw_file_progress%</text>
1974 </text>
1975
1976 <text style="text_m">
1977 <placement x="%progress_text_x%" y="%row18_y%"/>
1978 <text>%tw_size_progress%</text>
1979 </text>
1980
1981 <button style="main_button_half_width">
1982 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001983 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001984 <action function="cancelbackup"/>
1985 </button>
1986
1987 <action>
1988 <action function="nandroid">backup</action>
1989 </action>
1990
1991 <action>
1992 <condition var1="tw_operation_state" var2="1"/>
1993 <condition var1="tw_cancel_backup" var2="0"/>
1994 <actions>
1995 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001997 <action function="set">tw_show_reboot=1</action>
1998 <action function="page">action_complete</action>
1999 </actions>
2000 </action>
2001
2002 <action>
2003 <condition var1="tw_operation_state" var2="1"/>
2004 <condition var1="tw_cancel_backup" var2="1"/>
2005 <actions>
2006 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002008 <action function="set">tw_show_reboot=1</action>
2009 <action function="page">action_complete</action>
2010 </actions>
2011 </action>
2012 </page>
2013
2014 <page name="restore">
2015 <template name="page"/>
2016
2017 <text style="text_l">
2018 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002019 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002020 </text>
2021
2022 <text style="text_m">
2023 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002025 </text>
2026
2027 <template name="sort_options"/>
2028
2029 <fileselector>
2030 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 <filter folders="1" files="0" nav="0"/>
2033 <path name="tw_backups_folder"/>
2034 <data name="tw_restore" default=""/>
2035 <selection name="tw_restore_name"/>
2036 </fileselector>
2037
2038 <button style="main_button_half_width_low">
2039 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002040 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002041 <actions>
2042 <action function="set">tw_back=restore</action>
2043 <action function="overlay">select_storage</action>
2044 </actions>
2045 </button>
2046
2047 <action>
2048 <condition var1="tw_restore" op="modified"/>
2049 <actions>
2050 <action function="readBackup"/>
2051 <action function="page">restore_read</action>
2052 </actions>
2053 </action>
2054
2055 <action>
2056 <touch key="home"/>
2057 <action function="page">main</action>
2058 </action>
2059
2060 <action>
2061 <touch key="back"/>
2062 <action function="page">main</action>
2063 </action>
2064 </page>
2065
2066 <page name="restore_read">
2067 <action>
2068 <condition var1="tw_restore_encrypted" var2="1"/>
2069 <actions>
2070 <action function="set">tw_password_fail=0</action>
2071 <action function="page">restore_decrypt</action>
2072 </actions>
2073 </action>
2074
2075 <action>
2076 <condition var1="tw_restore_encrypted" var2="0"/>
2077 <actions>
2078 <action function="page">restore_select</action>
2079 </actions>
2080 </action>
2081 </page>
2082
2083 <page name="restore_decrypt">
2084 <template name="page"/>
2085
2086 <text style="text_l">
2087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m_accent">
2097 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <input>
2102 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2103 <text>%tw_restore_display%</text>
2104 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2105 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2106 <action function="page">try_restore_decrypt</action>
2107 </input>
2108
2109 <fill color="%accent_color%">
2110 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2111 </fill>
2112
2113 <fill color="%text_fail_color%">
2114 <condition var1="tw_password_fail" var2="1"/>
2115 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2116 </fill>
2117
2118 <text style="text_m_fail">
2119 <condition var1="tw_password_fail" var2="1"/>
2120 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002121 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002122 </text>
2123
2124 <button style="main_button_half_width_low">
2125 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <actions>
2128 <action function="set">tw_page_done=1</action>
2129 <action function="page">restore</action>
2130 </actions>
2131 </button>
2132
2133 <button style="main_button_half_width_low">
2134 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002136 <actions>
2137 <action function="set">tw_back=restore</action>
2138 <action function="set">tw_action=cmd</action>
2139 <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 -05002140 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2141 <action function="set">tw_text2=%tw_restore_name%</action>
2142 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2143 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2144 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2145 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002146 <action function="page">confirm_action</action>
2147 </actions>
2148 </button>
2149
2150 <template name="keyboardtemplate"/>
2151
2152 <action>
2153 <touch key="home"/>
2154 <action function="page">main</action>
2155 </action>
2156
2157 <action>
2158 <touch key="back"/>
2159 <action function="page">restore</action>
2160 </action>
2161 </page>
2162
2163 <page name="try_restore_decrypt">
2164 <template name="page"/>
2165
2166 <text style="text_l">
2167 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002168 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002169 </text>
2170
2171 <text style="text_m">
2172 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002173 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002174 </text>
2175
2176 <template name="console"/>
2177
2178 <template name="progress_bar"/>
2179
2180 <action>
2181 <action function="decrypt_backup"/>
2182 </action>
2183
2184 <action>
2185 <conditions>
2186 <condition var1="tw_operation_state" var2="1"/>
2187 <condition var1="tw_operation_status" op="!=" var2="0"/>
2188 </conditions>
2189 <actions>
2190 <action function="set">tw_password_fail=1</action>
2191 <action function="page">restore_decrypt</action>
2192 </actions>
2193 </action>
2194
2195 <action>
2196 <conditions>
2197 <condition var1="tw_operation_state" var2="1"/>
2198 <condition var1="tw_operation_status" op="=" var2="0"/>
2199 </conditions>
2200 <actions>
2201 <action function="set">tw_page_done=1</action>
2202 <action function="page">restore_select</action>
2203 </actions>
2204 </action>
2205 </page>
2206
2207 <page name="restore_select">
2208 <template name="page"/>
2209
2210 <text style="text_l">
2211 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002212 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002213 </text>
2214
2215 <text style="text_m">
2216 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002217 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002218 </text>
2219
2220 <text style="text_m_accent">
2221 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002222 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002223 </text>
2224
2225 <text style="text_m">
2226 <placement x="%col1_x_left%" y="%row3_y%"/>
2227 <text>%tw_restore_name%</text>
2228 </text>
2229
2230 <fill color="%fileselector_linecolor%">
2231 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2232 </fill>
2233
2234 <button>
2235 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2236 <fill color="%transparent%"/>
2237 <actions>
2238 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2239 <action function="set">tw_fileexists=0</action>
2240 <action function="page">renamebackup</action>
2241 </actions>
2242 </button>
2243
2244 <partitionlist>
2245 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002246 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002247 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2248 <listtype name="restore"/>
2249 </partitionlist>
2250
2251 <text style="text_m_accent">
2252 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 </text>
2255
2256 <checkbox>
2257 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002258 <text>{@restore_enable_md5_chk=Enable MD5 Verification of Backup Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <data variable="tw_skip_md5_check"/>
2260 </checkbox>
2261
2262 <button style="main_button_half_width">
2263 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <actions>
2266 <action function="set">tw_back=restore</action>
2267 <action function="set">tw_action=cmd</action>
2268 <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 -05002269 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002270 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2272 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2273 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2274 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002275 <action function="page">confirm_action</action>
2276 </actions>
2277 </button>
2278
2279 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 <action function="page">restore_run</action>
2282 </slider>
2283
2284 <action>
2285 <touch key="home"/>
2286 <action function="page">main</action>
2287 </action>
2288
2289 <action>
2290 <touch key="back"/>
2291 <action function="page">restore</action>
2292 </action>
2293 </page>
2294
2295 <page name="renamebackup">
2296 <template name="page"/>
2297
2298 <text style="text_l">
2299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m">
2304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <text style="text_m_accent">
2309 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002310 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002311 </text>
2312
2313 <input>
2314 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2315 <text>%tw_backup_rename%</text>
2316 <data name="tw_backup_rename"/>
2317 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2318 <actions>
2319 <action function="set">tw_back=restore</action>
2320 <action function="set">tw_action=cmd</action>
2321 <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 -05002322 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2323 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2324 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2325 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2326 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002327 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2328 <action function="set">tw_existpage=renamebackup</action>
2329 <action function="set">tw_notexistpage=confirm_action</action>
2330 <action function="page">filecheck</action>
2331 </actions>
2332 </input>
2333
2334 <fill color="%accent_color%">
2335 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2336 </fill>
2337
2338 <fill color="%text_fail_color%">
2339 <condition var1="tw_fileexists" var2="1"/>
2340 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2341 </fill>
2342
2343 <text style="text_m_fail">
2344 <condition var1="tw_fileexists" var2="1"/>
2345 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002346 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002347 </text>
2348
2349 <button style="main_button_half_width_low">
2350 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002351 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002352 <action function="page">restore_select</action>
2353 </button>
2354
2355 <template name="keyboardtemplate"/>
2356
2357 <action>
2358 <touch key="home"/>
2359 <action function="page">main</action>
2360 </action>
2361
2362 <action>
2363 <touch key="back"/>
2364 <action function="page">restore_select</action>
2365 </action>
2366 </page>
2367
2368 <page name="restore_run">
2369 <template name="page"/>
2370
2371 <text style="text_l">
2372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002374 </text>
2375
2376 <text style="text_m">
2377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2378 <text>%tw_operation% %tw_partition%</text>
2379 </text>
2380
2381 <template name="console"/>
2382
2383 <template name="progress_bar"/>
2384
2385 <text style="text_m_accent">
2386 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 </text>
2389
2390 <text style="text_m">
2391 <placement x="%progress_text_x%" y="%row18_y%"/>
2392 <text>%tw_size_progress%</text>
2393 </text>
2394
2395 <action>
2396 <condition var1="tw_operation_state" var2="1"/>
2397 <actions>
2398 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002399 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002400 <action function="set">tw_show_reboot=1</action>
2401 <action function="page">action_complete</action>
2402 </actions>
2403 </action>
2404
2405 <action>
2406 <action function="nandroid">restore</action>
2407 </action>
2408 </page>
2409
2410 <page name="mount">
2411 <template name="page"/>
2412
2413 <text style="text_l">
2414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002416 </text>
2417
2418 <text style="text_m">
2419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002420 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002421 </text>
2422
2423 <partitionlist>
2424 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002426 <listtype name="mount"/>
2427 </partitionlist>
2428
2429 <button style="checkbox">
2430 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2431 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002432 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002433 <image resource="checkbox_false"/>
2434 <action function="mountsystemtoggle">1</action>
2435 </button>
2436
2437 <button style="checkbox">
2438 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2439 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 <image resource="checkbox_true"/>
2442 <actions>
2443 <action function="set">tw_lifetime_writes=2</action>
2444 <action function="page">system_readonly_check</action>
2445 </actions>
2446 </button>
2447
2448 <button style="main_button_half_width">
2449 <condition var1="tw_has_usb_storage" var2="1"/>
2450 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 <action function="page">usb_mount</action>
2453 </button>
2454
2455 <button style="main_button_half_width">
2456 <conditions>
2457 <condition var1="tw_is_encrypted" var2="1"/>
2458 <condition var1="tw_is_decrypted" var2="0"/>
2459 </conditions>
2460 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 <action function="page">decrypt</action>
2463 </button>
2464
2465 <button style="main_button_half_width">
2466 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <actions>
2469 <action function="set">tw_back=mount</action>
2470 <action function="overlay">select_storage</action>
2471 </actions>
2472 </button>
2473
2474 <button style="main_button_half_width">
2475 <conditions>
2476 <condition var1="tw_has_mtp" var2="1"/>
2477 <condition var1="tw_mtp_enabled" var2="0"/>
2478 </conditions>
2479 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="startmtp"/>
2482 </button>
2483
2484 <button style="main_button_half_width">
2485 <conditions>
2486 <condition var1="tw_has_mtp" var2="1"/>
2487 <condition var1="tw_mtp_enabled" var2="1"/>
2488 </conditions>
2489 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002490 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002491 <action function="stopmtp"/>
2492 </button>
2493
2494 <action>
2495 <touch key="home"/>
2496 <action function="page">main</action>
2497 </action>
2498
2499 <action>
2500 <touch key="back"/>
2501 <action function="page">main</action>
2502 </action>
2503 </page>
2504
2505 <page name="usb_mount">
2506 <template name="page"/>
2507
2508 <text style="text_l">
2509 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 </text>
2512
2513 <text style="text_m">
2514 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002515 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 </text>
2517
2518 <text style="text_m_accent">
2519 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002525 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002526 </text>
2527
2528 <text style="text_m">
2529 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 </text>
2532
2533 <button style="main_button_half_width">
2534 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002535 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002536 <action function="page">usb_umount</action>
2537 </button>
2538
2539 <action>
2540 <action function="mount">usb</action>
2541 <action function="set">tw_busy=1</action>
2542 </action>
2543 </page>
2544
2545 <page name="usb_umount">
2546 <action>
2547 <action function="unmount">usb</action>
2548 </action>
2549
2550 <action>
2551 <action function="page">mount</action>
2552 <action function="set">tw_busy=0</action>
2553 </action>
2554 </page>
2555
2556 <page name="system_readonly_check">
2557 <action>
2558 <action function="checkpartitionlifetimewrites">/system</action>
2559 </action>
2560
2561 <action>
2562 <condition var1="tw_lifetime_writes" var2="1"/>
2563 <actions>
2564 <action function="mountsystemtoggle">0</action>
2565 <action function="page">mount</action>
2566 </actions>
2567 </action>
2568
2569 <action>
2570 <condition var1="tw_lifetime_writes" var2="0"/>
2571 <actions>
2572 <action function="set">tw_back=mount</action>
2573 <action function="page">system_readonly</action>
2574 </actions>
2575 </action>
2576 </page>
2577
2578 <page name="reboot">
2579 <template name="page"/>
2580
2581 <text style="text_l">
2582 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002583 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002584 </text>
2585
2586 <button style="main_button">
2587 <condition var1="tw_reboot_system" var2="1"/>
2588 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 <actions>
2591 <action function="set">tw_back=reboot</action>
2592 <action function="set">tw_action=reboot</action>
2593 <action function="set">tw_action_param=system</action>
2594 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002595 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2596 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2597 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2598 <action function="set">tw_action_text2=</action>
2599 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2600 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002601 <action function="page">rebootcheck</action>
2602 </actions>
2603 </button>
2604
2605 <button style="main_button">
2606 <condition var1="tw_reboot_poweroff" var2="1"/>
2607 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002609 <actions>
2610 <action function="set">tw_back=reboot</action>
2611 <action function="set">tw_action=reboot</action>
2612 <action function="set">tw_action_param=poweroff</action>
2613 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2615 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2616 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2617 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2618 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <action function="page">rebootcheck</action>
2620 </actions>
2621 </button>
2622
2623 <button style="main_button">
2624 <condition var1="tw_reboot_recovery" var2="1"/>
2625 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002626 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002627 <actions>
2628 <action function="set">tw_back=reboot</action>
2629 <action function="set">tw_action=reboot</action>
2630 <action function="set">tw_action_param=recovery</action>
2631 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002632 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2633 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2634 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2635 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2636 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002637 <action function="page">rebootcheck</action>
2638 </actions>
2639 </button>
2640
2641 <button style="main_button">
2642 <condition var1="tw_reboot_bootloader" var2="1"/>
2643 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <actions>
2646 <action function="set">tw_back=reboot</action>
2647 <action function="set">tw_action=reboot</action>
2648 <action function="set">tw_action_param=bootloader</action>
2649 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2651 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2652 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2653 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2654 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="page">rebootcheck</action>
2656 </actions>
2657 </button>
2658
2659 <button style="main_button">
2660 <condition var1="tw_download_mode" var2="1"/>
2661 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 <actions>
2664 <action function="set">tw_back=reboot</action>
2665 <action function="set">tw_action=reboot</action>
2666 <action function="set">tw_action_param=download</action>
2667 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002668 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2669 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2670 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2671 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2672 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002673 <action function="page">rebootcheck</action>
2674 </actions>
2675 </button>
2676
2677 <action>
2678 <touch key="home"/>
2679 <action function="page">main</action>
2680 </action>
2681
2682 <action>
2683 <touch key="back"/>
2684 <action function="page">main</action>
2685 </action>
2686 </page>
2687
2688 <page name="system_readonly">
2689 <template name="page"/>
2690
2691 <text style="text_l">
2692 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002694 </text>
2695
2696 <text style="text_m_accent">
2697 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002698 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002699 </text>
2700
2701 <text style="text_m">
2702 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <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 +01002704 </text>
2705
2706 <text style="text_m">
2707 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002708 <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 +01002709 </text>
2710
2711 <text style="text_m_fail">
2712 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 </text>
2715
2716 <checkbox>
2717 <condition var1="tw_is_encrypted" var2="0"/>
2718 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002720 <data variable="tw_never_show_system_ro_page"/>
2721 </checkbox>
2722
2723 <button style="main_button_half_width">
2724 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002725 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002726 <actions>
2727 <action function="mountsystemtoggle">1</action>
2728 <action function="set">tw_page_done=1</action>
2729 <action function="page">%tw_back%</action>
2730 </actions>
2731 </button>
2732
z31s1g608d7ff2016-01-18 19:47:25 +01002733 <button style="main_button_half_width">
2734 <placement x="%col2_x_left%" y="%row15a_y%"/>
2735 <text>{@sel_lang_btn=Select Language}</text>
2736 <action function="overlay">select_language</action>
2737 </button>
2738
z31s1g28f0a922015-11-07 18:50:22 +01002739 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 <actions>
2742 <action function="mountsystemtoggle">0</action>
2743 <action function="set">tw_page_done=1</action>
2744 <action function="page">%tw_back%</action>
2745 </actions>
2746 </slider>
2747 </page>
2748
2749 <page name="settings">
2750 <template name="page"/>
2751
2752 <text style="text_l">
2753 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002754 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002755 </text>
2756
2757 <text style="text_m">
2758 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002759 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002760 </text>
2761
2762 <template name="tabs_settings"/>
2763
2764 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002765 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002766 </fill>
2767
2768 <listbox style="scrolllist">
2769 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2770 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002772 <data variable="tw_signed_zip_verify"/>
2773 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01002775 <data variable="tw_rm_rf"/>
2776 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002777 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
2778 <data variable="tw_disable_free_space"/>
2779 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002780 <listitem name="{@skip_md5_backup_chk=Skip MD5 generation during backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002781 <data variable="tw_skip_md5_generate"/>
2782 </listitem>
Ethan Yonker4c105b92016-01-05 16:23:28 -06002783 <listitem name="{@restore_enable_md5_chk=Enable MD5 verification of backup files}">
z31s1g28f0a922015-11-07 18:50:22 +01002784 <data variable="tw_skip_md5_check"/>
2785 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002786 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01002787 <data variable="tw_military_time"/>
2788 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01002790 <data variable="tw_simulate_actions"/>
2791 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01002793 <condition var1="tw_simulate_actions" var2="1"/>
2794 <data variable="tw_simulate_fail"/>
2795 </listitem>
2796 </listbox>
2797
2798 <checkbox>
2799 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002800 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002801 <data variable="tw_samsung_navbar"/>
2802 </checkbox>
2803
2804 <button style="radiobutton">
2805 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
2806 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 <image resource="radio_false"/>
2809 <action function="set">tw_navbar_button_position=0</action>
2810 </button>
2811
2812 <button style="radiobutton">
2813 <condition var1="tw_navbar_button_position" var2="0"/>
2814 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002815 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002816 <image resource="radio_true"/>
2817 <action function="set">tw_navbar_button_position=0</action>
2818 </button>
2819
2820 <button style="radiobutton">
2821 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
2822 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002823 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002824 <image resource="radio_false"/>
2825 <action function="set">tw_navbar_button_position=1</action>
2826 </button>
2827
2828 <button style="radiobutton">
2829 <condition var1="tw_navbar_button_position" var2="1"/>
2830 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002831 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002832 <image resource="radio_true"/>
2833 <action function="set">tw_navbar_button_position=1</action>
2834 </button>
2835
2836 <button style="radiobutton">
2837 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
2838 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002839 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002840 <image resource="radio_false"/>
2841 <action function="set">tw_navbar_button_position=2</action>
2842 </button>
2843
2844 <button style="radiobutton">
2845 <condition var1="tw_navbar_button_position" var2="2"/>
2846 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002848 <image resource="radio_true"/>
2849 <action function="set">tw_navbar_button_position=2</action>
2850 </button>
2851
2852 <button style="main_button_half_width">
2853 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002854 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002855 <action function="restoredefaultsettings"/>
2856 </button>
2857
2858 <action>
2859 <touch key="home"/>
2860 <action function="page">main</action>
2861 </action>
2862
2863 <action>
2864 <touch key="back"/>
2865 <action function="page">main</action>
2866 </action>
2867 </page>
2868
2869 <page name="settings_timezone">
2870 <template name="page"/>
2871
2872 <text style="text_l">
2873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002874 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
2877 <text style="text_m">
2878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002879 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002880 </text>
2881
2882 <template name="tabs_settings"/>
2883
2884 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002885 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002886 </fill>
2887
2888 <listbox>
2889 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002891 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002892 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
2893 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
2894 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
2895 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
2896 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
2897 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
2898 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
2899 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
2900 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
2901 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
2902 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
2903 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
2904 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2905 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
2906 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
2907 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
2908 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
2909 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
2910 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
2911 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
2912 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
2913 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
2914 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
2915 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002916 </listbox>
2917
2918 <text style="text_m_accent">
2919 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002920 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002921 </text>
2922
2923 <button style="button_quarter_width">
2924 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 <action function="set">tw_time_zone_guioffset=0</action>
2927 </button>
2928
2929 <button style="button_quarter_width">
2930 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002931 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002932 <action function="set">tw_time_zone_guioffset=15</action>
2933 </button>
2934
2935 <button style="button_quarter_width">
2936 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002937 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <action function="set">tw_time_zone_guioffset=30</action>
2939 </button>
2940
2941 <button style="button_quarter_width">
2942 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002943 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002944 <action function="set">tw_time_zone_guioffset=45</action>
2945 </button>
2946
2947 <checkbox>
2948 <placement x="%col1_x_right%" y="%row7_y%"/>
2949 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 <data variable="tw_time_zone_guidst"/>
2952 <image checked="checkbox_true" unchecked="checkbox_false"/>
2953 </checkbox>
2954
2955 <text color="%text_color%">
2956 <font resource="font_m"/>
2957 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002958 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002959 </text>
2960
2961 <button>
2962 <highlight color="%highlight_color%"/>
2963 <placement x="%col2_x_right%" y="%row15a_y%"/>
2964 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 <image resource="main_button_half_width"/>
2967 <action function="setguitimezone"/>
2968 </button>
2969
2970 <action>
2971 <touch key="home"/>
2972 <action function="page">main</action>
2973 </action>
2974
2975 <action>
2976 <touch key="back"/>
2977 <action function="page">main</action>
2978 </action>
2979 </page>
2980
2981 <page name="settings_screen">
2982 <template name="page"/>
2983
2984 <text style="text_l">
2985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002986 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002987 </text>
2988
2989 <text style="text_m">
2990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002991 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002992 </text>
2993
2994 <template name="tabs_settings"/>
2995
2996 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002997 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002998 </fill>
2999
3000 <button>
3001 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3002 <font resource="font_m" color="%text_color%"/>
3003 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3004 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003005 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003006 <image resource="checkbox_false"/>
3007 <action function="set">tw_screen_timeout_secs=60</action>
3008 </button>
3009
3010 <button>
3011 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3012 <font resource="font_m" color="%text_color%"/>
3013 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3014 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003015 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003016 <image resource="checkbox_true"/>
3017 <action function="set">tw_screen_timeout_secs=0</action>
3018 </button>
3019
3020 <slidervalue>
3021 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3022 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3023 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3026 </slidervalue>
3027
3028 <slidervalue>
3029 <condition var1="tw_has_brightnesss_file" var2="1"/>
3030 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003032 <data variable="tw_brightness_pct" min="10" max="100"/>
3033 <actions>
3034 <action function="set">tw_brightness=%tw_brightness_max%</action>
3035 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3036 <action function="compute">tw_brightness/100</action>
3037 <action function="setbrightness">%tw_brightness%</action>
3038 </actions>
3039 </slidervalue>
3040
3041 <action>
3042 <touch key="home"/>
3043 <action function="page">main</action>
3044 </action>
3045
3046 <action>
3047 <touch key="back"/>
3048 <action function="page">main</action>
3049 </action>
3050 </page>
3051
3052 <page name="settings_vibration">
3053 <template name="page"/>
3054
3055 <text style="text_l">
3056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </text>
3059
3060 <text style="text_m">
3061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003062 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003063 </text>
3064
3065 <template name="tabs_settings"/>
3066
3067 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </fill>
3070
3071 <slidervalue>
3072 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 <data variable="tw_button_vibrate" min="0" max="300"/>
3075 </slidervalue>
3076
3077 <slidervalue>
3078 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003080 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3081 </slidervalue>
3082
3083 <slidervalue>
3084 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 <data variable="tw_action_vibrate" min="0" max="500"/>
3087 </slidervalue>
3088
3089 <action>
3090 <touch key="home"/>
3091 <action function="page">main</action>
3092 </action>
3093
3094 <action>
3095 <touch key="back"/>
3096 <action function="page">main</action>
3097 </action>
3098 </page>
3099
Ethan Yonker74db1572015-10-28 12:44:49 -05003100 <page name="settings_language">
3101 <template name="page"/>
3102
3103 <text style="text_l">
3104 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3105 <text>{@settings_hdr=Settings}</text>
3106 </text>
3107
3108 <text style="text_m">
3109 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3110 <text>{@language_hdr=Language - %tw_language_display%}</text>
3111 </text>
3112
3113 <template name="tabs_settings"/>
3114
3115 <fill color="%text_color%">
3116 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3117 </fill>
3118
3119 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003120 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@select_language=Select Language:}</text>
3122 <icon selected="radio_true" unselected="radio_false" />
3123 <data name="tw_language" />
3124 </listbox>
3125
z31s1g56189522016-01-13 19:12:40 +01003126 <button>
3127 <highlight color="%highlight_color%"/>
3128 <placement x="%col2_x_right%" y="%row15a_y%"/>
3129 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003131 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003132 <action function="setlanguage"></action>
3133 </button>
3134
3135 <action>
3136 <touch key="home" />
3137 <action function="page">main</action>
3138 </action>
3139
3140 <action>
3141 <touch key="back" />
3142 <action function="page">settings</action>
3143 </action>
3144 </page>
3145
z31s1g28f0a922015-11-07 18:50:22 +01003146 <page name="advanced">
3147 <template name="page"/>
3148
3149 <text style="text_l">
3150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 </text>
3153
3154 <button style="main_button">
3155 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003156 <text>{@copy_log_btn=Copy Log}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003157 <actions>
3158 <action function="set">tw_back=advanced</action>
3159 <action function="set">tw_action=copylog</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <action function="set">tw_text1={@copy_log_confirm=Copy Log to SD Card?}</action>
3161 <action function="set">tw_action_text1={@copying_log=Copying Log to SD Card...}</action>
3162 <action function="set">tw_complete_text1={@copy_log_complete=Log Copy Complete}</action>
3163 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="page">confirm_action</action>
3165 </actions>
3166 </button>
3167
3168 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003169 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003170 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003171 <text>{@fix_context_btn=Fix Contexts}</text>
3172 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01003173 </button>
3174
3175 <button style="main_button">
3176 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3177 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@part_sd_btn=Partition SD Card}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003179 <actions>
3180 <action function="set">partitionlisterror=0</action>
3181 <action function="page">partsdcardsel</action>
3182 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003183 </button>
3184
3185 <button style="main_button">
3186 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 <action function="page">filemanagerlist</action>
3189 </button>
3190
3191 <button style="main_button">
3192 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003194 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003195 </button>
3196
3197 <button style="main_button">
3198 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <text>{@reload_theme_btn=Reload Theme}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="reload"/>
3201 </button>
3202
3203 <button style="main_button">
3204 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003206 <action function="page">sideload</action>
3207 </button>
3208
3209 <button style="main_button">
3210 <condition var1="tw_show_dumlock" var2="1"/>
3211 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003212 <text>{@dumlock_btn=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003213 <action function="page">htcdumlock</action>
3214 </button>
3215
3216 <button style="main_button">
3217 <condition var1="tw_has_injecttwrp" var2="1"/>
3218 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@inject_twrp_btn=Inject TWRP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <actions>
3221 <action function="set">tw_back=advanced</action>
3222 <action function="set">tw_action=reinjecttwrp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3224 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3225 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3226 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003227 <action function="page">confirm_action</action>
3228 </actions>
3229 </button>
3230
3231 <action>
3232 <touch key="home"/>
3233 <action function="page">main</action>
3234 </action>
3235
3236 <action>
3237 <touch key="back"/>
3238 <action function="page">main</action>
3239 </action>
3240 </page>
3241
Ethan Yonker483e9f42016-01-11 22:21:18 -06003242 <page name="partsdcardsel">
3243 <template name="page"/>
3244
3245 <text style="text_l">
3246 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3247 <text>{@advanced_hdr=Advanced}</text>
3248 </text>
3249
3250 <text style="text_m">
3251 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3252 <text>{@part_sd_hdr=Partition SD Card}</text>
3253 </text>
3254
z31s1g782e1c92016-01-30 16:50:09 +01003255 <partitionlist>
3256 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003257 <text>{@sel_storage_list=Select Storage}</text>
3258 <data name="tw_storage_path"/>
3259 <listtype name="storage"/>
3260 </partitionlist>
3261
z31s1g782e1c92016-01-30 16:50:09 +01003262 <text style="text_m_fail">
3263 <condition var1="partitionlisterror" var2="1"/>
3264 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3265 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3266 </text>
3267
3268 <button style="main_button_half_width">
3269 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003270 <text>{@ok_btn=OK}</text>
3271 <actions>
3272 <action function="getpartitiondetails">tw_storage_path</action>
3273 <action function="page">partsdcardcheck</action>
3274 </actions>
3275 </button>
3276
Ethan Yonker483e9f42016-01-11 22:21:18 -06003277 <action>
3278 <touch key="home"/>
3279 <action function="page">main</action>
3280 </action>
3281
3282 <action>
3283 <touch key="back"/>
3284 <action function="page">advanced</action>
3285 </action>
3286 </page>
3287
3288 <page name="partsdcardcheck">
3289 <action>
3290 <condition var1="tw_partition_removable" op="=" var2="1"/>
3291 <actions>
3292 <action function="set">partitionlisterror=0</action>
3293 <action function="page">partsdcard</action>
3294 </actions>
3295 </action>
3296
3297 <action>
3298 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3299 <actions>
3300 <action function="set">partitionlisterror=1</action>
3301 <action function="page">partsdcardsel</action>
3302 </actions>
3303 </action>
3304 </page>
3305
z31s1g28f0a922015-11-07 18:50:22 +01003306 <page name="partsdcard">
3307 <template name="page"/>
3308
3309 <text style="text_l">
3310 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003312 </text>
3313
3314 <text style="text_m">
3315 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003316 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 </text>
3318
3319 <text style="text_m_fail">
3320 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 </text>
3323
3324 <text style="text_m_fail">
3325 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </text>
3328
3329 <text style="text_m_accent">
3330 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3336 <text>%tw_sdext_size%</text>
3337 </text>
3338
3339 <button style="button_quarter_width">
3340 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003342 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </button>
3344
3345 <button style="button_quarter_width">
3346 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003348 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </button>
3350
3351 <text style="text_m_accent">
3352 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003354 </text>
3355
3356 <text style="text_m">
3357 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3358 <text>%tw_swap_size%</text>
3359 </text>
3360
3361 <button style="button_quarter_width">
3362 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003363 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003364 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </button>
3366
3367 <button style="button_quarter_width">
3368 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003370 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003371 </button>
3372
3373 <text style="text_m_accent">
3374 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003376 </text>
3377
3378 <text style="text_m">
3379 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3380 <text>%tw_sdpart_file_system%</text>
3381 </text>
3382
3383 <button style="button_quarter_width">
3384 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3385 <text>EXT3</text>
3386 <action function="set">tw_sdpart_file_system=ext3</action>
3387 </button>
3388
3389 <button style="button_quarter_width">
3390 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3391 <text>EXT4</text>
3392 <action function="set">tw_sdpart_file_system=ext4</action>
3393 </button>
3394
3395 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003396 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003397 <action function="page">partsdcardaction</action>
3398 <actions>
3399 <action function="set">tw_back=partsdcard</action>
3400 <action function="set">tw_action=partitionsd</action>
3401 <action function="set">tw_has_action2=1</action>
3402 <action function="set">tw_action2=set</action>
3403 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003404 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3405 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3406 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <action function="page">action_page</action>
3408 </actions>
3409 </slider>
3410
3411 <action>
3412 <touch key="home"/>
3413 <action function="page">main</action>
3414 </action>
3415
3416 <action>
3417 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003418 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003419 </action>
3420 </page>
3421
3422 <page name="htcdumlock">
3423 <template name="page"/>
3424
3425 <text style="text_l">
3426 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003428 </text>
3429
3430 <text style="text_m">
3431 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 </text>
3434
3435 <button style="main_button_m">
3436 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 <actions>
3439 <action function="set">tw_back=htcdumlock</action>
3440 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3442 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3443 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3444 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003445 <action function="page">confirm_action</action>
3446 </actions>
3447 </button>
3448
3449 <button style="main_button_m">
3450 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003451 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003452 <actions>
3453 <action function="set">tw_back=htcdumlock</action>
3454 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3456 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3457 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3458 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="page">confirm_action</action>
3460 </actions>
3461 </button>
3462
3463 <button style="main_button_m">
3464 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <actions>
3467 <action function="set">tw_back=htcdumlock</action>
3468 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3470 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3471 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3472 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003473 <action function="page">confirm_action</action>
3474 </actions>
3475 </button>
3476
3477 <action>
3478 <touch key="home"/>
3479 <action function="page">main</action>
3480 </action>
3481
3482 <action>
3483 <touch key="back"/>
3484 <action function="page">advanced</action>
3485 </action>
3486 </page>
3487
3488 <page name="lock">
3489 <background color="%semi_transparent%"/>
3490
3491 <image>
3492 <image resource="unlock_icon"/>
3493 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3494 </image>
3495
3496 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <action function="overlay"/>
3499 </slider>
3500 </page>
3501
3502 <page name="filemanagerlist">
3503 <template name="page"/>
3504
3505 <text style="text_l">
3506 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003508 </text>
3509
3510 <text style="text_m">
3511 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <template name="sort_options"/>
3516
3517 <fileselector>
3518 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3519 <text>%tw_file_location1%</text>
3520 <filter folders="1" files="1"/>
3521 <path name="tw_file_location1" default="/"/>
3522 <data name="tw_filename1"/>
3523 <selection name="tw_selection1"/>
3524 </fileselector>
3525
3526 <button style="main_button_half_width_low">
3527 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <actions>
3530 <action function="set">tw_filename1=tw_file_location1</action>
3531 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003533 <action function="page">filemanageroptions</action>
3534 </actions>
3535 </button>
3536
3537 <action>
3538 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003540 <action function="set">tw_fm_isfolder=0</action>
3541 </actions>
3542 </action>
3543
3544 <action>
3545 <touch key="home"/>
3546 <action function="page">main</action>
3547 </action>
3548
3549 <action>
3550 <touch key="back"/>
3551 <action function="page">advanced</action>
3552 </action>
3553
3554 <action>
3555 <condition var1="tw_filename1" op="modified"/>
3556 <action function="page">filemanageroptions</action>
3557 </action>
3558 </page>
3559
3560 <page name="filemanageroptions">
3561 <template name="page"/>
3562
3563 <text style="text_l">
3564 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003565 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003566 </text>
3567
3568 <text style="text_m">
3569 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003570 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003571 </text>
3572
3573 <text style="text_m_accent">
3574 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003575 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003576 </text>
3577
3578 <text style="text_m">
3579 <placement x="%col1_x_left%" y="%row3_y%"/>
3580 <text>%tw_filename1%</text>
3581 </text>
3582
3583 <button style="main_button_half_width">
3584 <condition var1="tw_fm_isfolder" var2="0"/>
3585 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 <actions>
3588 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003590 <action function="page">choosedestinationfolder</action>
3591 </actions>
3592 </button>
3593
3594 <button style="main_button_half_width">
3595 <condition var1="tw_fm_isfolder" var2="1"/>
3596 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 <actions>
3599 <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 -05003600 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <action function="page">choosedestinationfolder</action>
3602 </actions>
3603 </button>
3604
3605 <button style="main_button_half_width">
3606 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 <actions>
3609 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <action function="page">choosedestinationfolder</action>
3612 </actions>
3613 </button>
3614
3615 <button style="main_button_half_width">
3616 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 <actions>
3619 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <action function="set">tw_fm_text2=</action>
3622 <action function="set">tw_fm_text3=</action>
3623 <action function="set">tw_include_text3=0</action>
3624 <action function="set">tw_back=filemanageroptions</action>
3625 <action function="page">filemanagerconfirm</action>
3626 </actions>
3627 </button>
3628
3629 <button style="main_button_half_width">
3630 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 <actions>
3633 <action function="set">tw_filemanager_rename=0000</action>
3634 <action function="set">tw_fm_text2=</action>
3635 <action function="set">tw_fm_text3=</action>
3636 <action function="set">tw_include_text3=0</action>
3637 <action function="set">tw_back=filemanageroptions</action>
3638 <action function="page">filemanagerchmod</action>
3639 </actions>
3640 </button>
3641
3642 <button style="main_button_half_width">
3643 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 <actions>
3646 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003647 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003648 <action function="set">tw_fm_text2=</action>
3649 <action function="set">tw_fm_text3=</action>
3650 <action function="set">tw_include_text3=0</action>
3651 <action function="set">tw_back=filemanageroptions</action>
3652 <action function="page">filemanagerconfirm</action>
3653 </actions>
3654 </button>
3655
3656 <button style="main_button_half_width">
3657 <condition var1="tw_fm_isfolder" var2="0"/>
3658 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 <actions>
3661 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <action function="set">tw_filemanager_command=mv</action>
3664 <action function="page">filemanagerrenamefile</action>
3665 </actions>
3666 </button>
3667
3668 <button style="main_button_half_width">
3669 <condition var1="tw_fm_isfolder" var2="1"/>
3670 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 <actions>
3673 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003675 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
3676 <action function="page">filemanagerrenamefolder</action>
3677 </actions>
3678 </button>
3679
3680 <action>
3681 <touch key="home"/>
3682 <action function="page">main</action>
3683 </action>
3684
3685 <action>
3686 <touch key="back"/>
3687 <action function="page">filemanagerlist</action>
3688 </action>
3689 </page>
3690
3691 <page name="choosedestinationfolder">
3692 <template name="page"/>
3693
3694 <text style="text_l">
3695 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 </text>
3698
3699 <text style="text_m">
3700 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </text>
3703
3704 <template name="sort_options"/>
3705
3706 <fileselector>
3707 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3708 <text>%tw_file_location2%</text>
3709 <filter folders="1" files="0"/>
3710 <path name="tw_file_location2" default="/"/>
3711 <data name="tw_filename2"/>
3712 <selection name="tw_selection2"/>
3713 </fileselector>
3714
3715 <button style="main_button_half_width_low">
3716 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003718 <actions>
3719 <action function="set">tw_fm_text2=to</action>
3720 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3721 <action function="set">tw_include_text3=1</action>
3722 <action function="set">tw_back=filemanageroptions</action>
3723 <action function="page">filemanagerconfirm</action>
3724 </actions>
3725 </button>
3726
3727 <action>
3728 <touch key="home"/>
3729 <action function="page">main</action>
3730 </action>
3731
3732 <action>
3733 <touch key="back"/>
3734 <action function="page">filemanageroptions</action>
3735 </action>
3736 </page>
3737
3738 <page name="filemanagerrenamefile">
3739 <template name="page"/>
3740
3741 <text style="text_l">
3742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003744 </text>
3745
3746 <text style="text_m">
3747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <text style="text_m_accent">
3752 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003753 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003754 </text>
3755
3756 <input>
3757 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3758 <text>%tw_filemanager_rename%</text>
3759 <data name="tw_filemanager_rename"/>
3760 <restrict minlen="1" maxlen="128"/>
3761 <actions>
3762 <action function="set">tw_fm_text2=to</action>
3763 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
3764 <action function="set">tw_include_text3=1</action>
3765 <action function="set">tw_back=filemanageroptions</action>
3766 <action function="page">filemanagerconfirm</action>
3767 </actions>
3768 </input>
3769
3770 <fill color="%accent_color%">
3771 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3772 </fill>
3773
3774 <button style="main_button_half_width_low">
3775 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <action function="page">filemanageroptions</action>
3778 </button>
3779
3780 <template name="keyboardtemplate"/>
3781
3782 <action>
3783 <touch key="home"/>
3784 <action function="page">main</action>
3785 </action>
3786
3787 <action>
3788 <touch key="back"/>
3789 <action function="page">filemanageroptions</action>
3790 </action>
3791 </page>
3792
3793 <page name="filemanagerrenamefolder">
3794 <template name="page"/>
3795
3796 <text style="text_l">
3797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 </text>
3800
3801 <text style="text_m">
3802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 </text>
3805
3806 <text style="text_m_accent">
3807 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003808 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003809 </text>
3810
3811 <input>
3812 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3813 <text>%tw_filemanager_rename%</text>
3814 <data name="tw_filemanager_rename"/>
3815 <restrict minlen="1" maxlen="128"/>
3816 <actions>
3817 <action function="set">tw_fm_text2=to</action>
3818 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3819 <action function="set">tw_include_text3=1</action>
3820 <action function="set">tw_back=filemanageroptions</action>
3821 <action function="page">filemanagerconfirm</action>
3822 </actions>
3823 </input>
3824
3825 <fill color="%accent_color%">
3826 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3827 </fill>
3828
3829 <button style="main_button_half_width_low">
3830 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003831 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003832 <action function="page">filemanageroptions</action>
3833 </button>
3834
3835 <template name="keyboardtemplate"/>
3836
3837 <action>
3838 <touch key="home"/>
3839 <action function="page">main</action>
3840 </action>
3841
3842 <action>
3843 <touch key="back"/>
3844 <action function="page">filemanageroptions</action>
3845 </action>
3846 </page>
3847
3848 <page name="filemanagerchmod">
3849 <template name="page"/>
3850
3851 <text style="text_l">
3852 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <text style="text_m">
3857 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <text style="text_m_accent">
3862 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003864 </text>
3865
3866 <input>
3867 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
3868 <text>%tw_filemanager_rename%</text>
3869 <data name="tw_filemanager_rename"/>
3870 <restrict minlen="3" maxlen="4" allow="0123456789"/>
3871 <actions>
3872 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3873 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3874 <action function="set">tw_back=filemanageroptions</action>
3875 <action function="page">filemanagerconfirm</action>
3876 </actions>
3877 </input>
3878
3879 <fill color="%accent_color%">
3880 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
3881 </fill>
3882
3883 <button style="main_button_half_width_low">
3884 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003886 <action function="page">filemanageroptions</action>
3887 </button>
3888
3889 <template name="keyboardtemplate"/>
3890
3891 <action>
3892 <touch key="home"/>
3893 <action function="page">main</action>
3894 </action>
3895
3896 <action>
3897 <touch key="back"/>
3898 <action function="page">filemanageroptions</action>
3899 </action>
3900 </page>
3901
3902 <page name="filemanagerconfirm">
3903 <template name="page"/>
3904
3905 <text style="text_l">
3906 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 </text>
3909
3910 <text style="text_m">
3911 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003913 </text>
3914
3915 <text style="text_m_accent">
3916 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3917 <text>%tw_fm_text1%</text>
3918 </text>
3919
3920 <text style="text_m">
3921 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3922 <text>%tw_filename1%</text>
3923 </text>
3924
3925 <text style="text_m_accent">
3926 <placement x="%center_x%" y="%row5_y%" placement="5"/>
3927 <text>%tw_fm_text2%</text>
3928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3932 <text>%tw_fm_text3%</text>
3933 </text>
3934
3935 <text style="text_m">
3936 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <action function="page">filemanageraction</action>
3943 </slider>
3944
3945 <action>
3946 <touch key="back"/>
3947 <action function="page">%tw_back%</action>
3948 </action>
3949
3950 <action>
3951 <touch key="home"/>
3952 <action function="page">main</action>
3953 </action>
3954 </page>
3955
3956 <page name="filemanageraction">
3957 <template name="page"/>
3958
3959 <text style="text_l">
3960 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <text style="text_m">
3965 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3966 <text>%tw_fm_text1%</text>
3967 </text>
3968
3969 <template name="console"/>
3970
3971 <template name="progress_bar"/>
3972
3973 <action>
3974 <conditions>
3975 <condition var1="tw_operation_state" var2="1"/>
3976 <condition var1="tw_operation_status" var2="0"/>
3977 </conditions>
3978 <actions>
3979 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003981 <action function="page">action_complete</action>
3982 </actions>
3983 </action>
3984
3985 <action>
3986 <conditions>
3987 <condition var1="tw_operation_state" var2="1"/>
3988 <condition var1="tw_operation_status" op="!=" var2="0"/>
3989 </conditions>
3990 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003992 <action function="page">action_complete</action>
3993 </actions>
3994 </action>
3995
3996 <action>
3997 <condition var1="tw_include_text3" var2="0"/>
3998 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
3999 </action>
4000
4001 <action>
4002 <condition var1="tw_include_text3" var2="1"/>
4003 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4004 </action>
4005 </page>
4006
4007 <page name="decrypt">
4008 <template name="page"/>
4009
4010 <action>
4011 <condition var1="tw_crypto_pwtype" var2="2"/>
4012 <action function="page">decrypt_pattern</action>
4013 </action>
4014
4015 <text style="text_l">
4016 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <text style="text_m">
4021 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004023 </text>
4024
4025 <text style="text_m_accent">
4026 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 </text>
4029
4030 <input>
4031 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4032 <text>%tw_crypto_display%</text>
4033 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4034 <restrict minlen="1" maxlen="254"/>
4035 <action function="page">trydecrypt</action>
4036 </input>
4037
4038 <fill color="%accent_color%">
4039 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4040 </fill>
4041
4042 <fill color="%text_fail_color%">
4043 <condition var1="tw_password_fail" var2="1"/>
4044 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4045 </fill>
4046
4047 <text style="text_m_fail">
4048 <condition var1="tw_password_fail" var2="1"/>
4049 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004050 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 </text>
4052
4053 <button style="main_button_half_width_low">
4054 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004056 <actions>
4057 <action function="set">tw_page_done=1</action>
4058 <action function="page">main</action>
4059 </actions>
4060 </button>
4061
z31s1g608d7ff2016-01-18 19:47:25 +01004062 <button style="main_button_half_width_low">
4063 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4064 <text>{@sel_lang_btn=Select Language}</text>
4065 <action function="overlay">select_language</action>
4066 </button>
4067
z31s1g28f0a922015-11-07 18:50:22 +01004068 <template name="keyboardtemplate"/>
4069 </page>
4070
4071 <page name="decrypt_pattern">
4072 <template name="page"/>
4073
4074 <text style="text_l">
4075 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004077 </text>
4078
4079 <text style="text_m">
4080 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004082 </text>
4083
4084 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004085 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004086 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004087 </text>
4088
Aleksa Saraib25a1832015-12-31 17:36:00 +01004089 <text style="text_m_fail">
4090 <condition var1="tw_password_fail" var2="1"/>
4091 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004092 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004093 </text>
4094
z31s1g28f0a922015-11-07 18:50:22 +01004095 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004096 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004097 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4098 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4099 <data name="tw_crypto_password"/>
4100 <action function="page">trydecrypt</action>
4101 </patternpassword>
4102
Aleksa Saraib25a1832015-12-31 17:36:00 +01004103 <button style="main_button_half_width_low">
4104 <placement x="%col_button_right%" y="%row1a_y%"/>
4105 <text>3x3</text>
4106 <action function="set">tw_gui_pattern_grid_size=3</action>
4107 </button>
4108
4109 <button style="main_button_half_width_low">
4110 <placement x="%col_button_right%" y="%row4a_y%"/>
4111 <text>4x4</text>
4112 <action function="set">tw_gui_pattern_grid_size=4</action>
4113 </button>
4114
4115 <button style="main_button_half_width_low">
4116 <placement x="%col_button_right%" y="%row7a_y%"/>
4117 <text>5x5</text>
4118 <action function="set">tw_gui_pattern_grid_size=5</action>
4119 </button>
4120
4121 <button style="main_button_half_width_low">
4122 <placement x="%col_button_right%" y="%row10a_y%"/>
4123 <text>6x6</text>
4124 <action function="set">tw_gui_pattern_grid_size=6</action>
4125 </button>
4126
z31s1g28f0a922015-11-07 18:50:22 +01004127 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004128 <placement x="%col1_x_right%" y="%row15a_y%"/>
4129 <text>{@sel_lang_btn=Select Language}</text>
4130 <action function="overlay">select_language</action>
4131 </button>
4132
4133 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004134 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004135 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004136 <actions>
4137 <action function="set">tw_page_done=1</action>
4138 <action function="page">main</action>
4139 </actions>
4140 </button>
4141 </page>
4142
4143 <page name="trydecrypt">
4144 <template name="page"/>
4145
4146 <text style="text_l">
4147 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004148 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004149 </text>
4150
4151 <text style="text_m">
4152 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 </text>
4155
4156 <template name="console"/>
4157
4158 <template name="progress_bar"/>
4159
4160 <action>
4161 <action function="decrypt"/>
4162 </action>
4163
4164 <action>
4165 <conditions>
4166 <condition var1="tw_operation_state" var2="1"/>
4167 <condition var1="tw_operation_status" op="!=" var2="0"/>
4168 </conditions>
4169 <actions>
4170 <action function="set">tw_password_fail=1</action>
4171 <action function="page">decrypt</action>
4172 </actions>
4173 </action>
4174
4175 <action>
4176 <conditions>
4177 <condition var1="tw_operation_state" var2="1"/>
4178 <condition var1="tw_operation_status" op="=" var2="0"/>
4179 </conditions>
4180 <actions>
4181 <action function="set">tw_page_done=1</action>
4182 <action function="page">main</action>
4183 </actions>
4184 </action>
4185 </page>
4186
z31s1g28f0a922015-11-07 18:50:22 +01004187 <page name="terminalcommand">
4188 <template name="page"/>
4189
4190 <fill color="%background_color%">
4191 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4192 </fill>
4193
z31s1g56189522016-01-13 19:12:40 +01004194 <terminal>
4195 <condition var1="tw_hide_kb" var2="0"/>
4196 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4197 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004198
z31s1g56189522016-01-13 19:12:40 +01004199 <terminal>
4200 <condition var1="tw_hide_kb" var2="1"/>
4201 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4202 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004203
z31s1g56189522016-01-13 19:12:40 +01004204 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004205
z31s1g56189522016-01-13 19:12:40 +01004206 <object type="fill" color="#000000">
4207 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4208 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004209
z31s1g608d7ff2016-01-18 19:47:25 +01004210 <button>
z31s1g56189522016-01-13 19:12:40 +01004211 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4212 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4213 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4214 <image resource="back" />
4215 <condition var1="tw_busy" var2="0" />
4216 <actions>
4217 <action function="set">tw_hide_kb=0</action>
4218 <action function="page">advanced</action>
4219 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004220 </button>
z31s1g56189522016-01-13 19:12:40 +01004221
z31s1g608d7ff2016-01-18 19:47:25 +01004222 <button>
z31s1g56189522016-01-13 19:12:40 +01004223 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4224 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4225 <condition var1="tw_hide_kb" op="=" var2="0" />
4226 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4227 <image resource="kb_hide" />
4228 <condition var1="tw_busy" var2="0" />
4229 <actions>
4230 <action function="set">tw_hide_kb=1</action>
4231 <action function="page">terminalcommand</action>
4232 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004233 </button>
z31s1g56189522016-01-13 19:12:40 +01004234
z31s1g608d7ff2016-01-18 19:47:25 +01004235 <button>
z31s1g56189522016-01-13 19:12:40 +01004236 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4237 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4238 <condition var1="tw_hide_kb" op="=" var2="1" />
4239 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4240 <image resource="kb_show" />
4241 <condition var1="tw_busy" var2="0" />
4242 <actions>
4243 <action function="set">tw_hide_kb=0</action>
4244 <action function="page">terminalcommand</action>
4245 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004246 </button>
z31s1g56189522016-01-13 19:12:40 +01004247
z31s1g608d7ff2016-01-18 19:47:25 +01004248 <button>
z31s1g56189522016-01-13 19:12:40 +01004249 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4250 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4251 <image resource="home" />
4252 <condition var1="tw_busy" var2="0" />
4253 <actions>
4254 <action function="set">tw_hide_kb=0</action>
4255 <action function="key">home</action>
4256 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004257 </button>
z31s1g56189522016-01-13 19:12:40 +01004258
z31s1g608d7ff2016-01-18 19:47:25 +01004259 <button>
z31s1g56189522016-01-13 19:12:40 +01004260 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4261 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4262 <condition var1="tw_hide_kb" op="=" var2="0" />
4263 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4264 <image resource="kb_hide" />
4265 <condition var1="tw_busy" var2="0" />
4266 <actions>
4267 <action function="set">tw_hide_kb=1</action>
4268 <action function="page">terminalcommand</action>
4269 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004270 </button>
z31s1g56189522016-01-13 19:12:40 +01004271
z31s1g608d7ff2016-01-18 19:47:25 +01004272 <button>
z31s1g56189522016-01-13 19:12:40 +01004273 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4274 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4275 <condition var1="tw_hide_kb" op="=" var2="1" />
4276 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4277 <image resource="kb_show" />
4278 <condition var1="tw_busy" var2="0" />
4279 <actions>
4280 <action function="set">tw_hide_kb=0</action>
4281 <action function="page">terminalcommand</action>
4282 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004283 </button>
z31s1g56189522016-01-13 19:12:40 +01004284
z31s1g608d7ff2016-01-18 19:47:25 +01004285 <button>
z31s1g56189522016-01-13 19:12:40 +01004286 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4287 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4288 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4289 <image resource="back" />
4290 <condition var1="tw_busy" var2="0" />
4291 <actions>
4292 <action function="set">tw_hide_kb=0</action>
4293 <action function="page">advanced</action>
4294 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004295 </button>
z31s1g56189522016-01-13 19:12:40 +01004296
z31s1g608d7ff2016-01-18 19:47:25 +01004297 <button>
z31s1g56189522016-01-13 19:12:40 +01004298 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4299 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4300 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4301 <image resource="back" />
4302 <condition var1="tw_busy" var2="0" />
4303 <actions>
4304 <action function="set">tw_hide_kb=0</action>
4305 <action function="page">advanced</action>
4306 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004307 </button>
z31s1g56189522016-01-13 19:12:40 +01004308
z31s1g608d7ff2016-01-18 19:47:25 +01004309 <button>
z31s1g56189522016-01-13 19:12:40 +01004310 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4311 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4312 <condition var1="tw_hide_kb" op="=" var2="0" />
4313 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4314 <image resource="kb_hide" />
4315 <condition var1="tw_busy" var2="0" />
4316 <actions>
4317 <action function="set">tw_hide_kb=1</action>
4318 <action function="page">terminalcommand</action>
4319 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004320 </button>
z31s1g56189522016-01-13 19:12:40 +01004321
z31s1g608d7ff2016-01-18 19:47:25 +01004322 <button>
z31s1g56189522016-01-13 19:12:40 +01004323 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4324 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4325 <condition var1="tw_hide_kb" op="=" var2="1" />
4326 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4327 <image resource="kb_show" />
4328 <condition var1="tw_busy" var2="0" />
4329 <actions>
4330 <action function="set">tw_hide_kb=0</action>
4331 <action function="page">terminalcommand</action>
4332 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004333 </button>
z31s1g56189522016-01-13 19:12:40 +01004334
z31s1g608d7ff2016-01-18 19:47:25 +01004335 <button>
z31s1g56189522016-01-13 19:12:40 +01004336 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4337 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4338 <image resource="home" />
4339 <condition var1="tw_busy" var2="0" />
4340 <actions>
4341 <action function="set">tw_hide_kb=0</action>
4342 <action function="key">home</action>
4343 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004344 </button>
z31s1g56189522016-01-13 19:12:40 +01004345
z31s1g608d7ff2016-01-18 19:47:25 +01004346 <button>
z31s1g56189522016-01-13 19:12:40 +01004347 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4348 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4349 <condition var1="tw_hide_kb" op="=" var2="0" />
4350 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4351 <image resource="kb_hide" />
4352 <condition var1="tw_busy" var2="0" />
4353 <actions>
4354 <action function="set">tw_hide_kb=1</action>
4355 <action function="page">terminalcommand</action>
4356 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004357 </button>
z31s1g56189522016-01-13 19:12:40 +01004358
z31s1g608d7ff2016-01-18 19:47:25 +01004359 <button>
z31s1g56189522016-01-13 19:12:40 +01004360 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4361 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4362 <condition var1="tw_hide_kb" op="=" var2="1" />
4363 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4364 <image resource="kb_show" />
4365 <condition var1="tw_busy" var2="0" />
4366 <actions>
4367 <action function="set">tw_hide_kb=0</action>
4368 <action function="page">terminalcommand</action>
4369 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004370 </button>
z31s1g56189522016-01-13 19:12:40 +01004371
z31s1g608d7ff2016-01-18 19:47:25 +01004372 <button>
z31s1g56189522016-01-13 19:12:40 +01004373 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4374 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4375 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4376 <image resource="back" />
4377 <condition var1="tw_busy" var2="0" />
4378 <actions>
4379 <action function="set">tw_hide_kb=0</action>
4380 <action function="page">advanced</action>
4381 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004382 </button>
z31s1g56189522016-01-13 19:12:40 +01004383
z31s1g608d7ff2016-01-18 19:47:25 +01004384 <button>
z31s1g56189522016-01-13 19:12:40 +01004385 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4386 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4387 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4388 <image resource="back" />
4389 <condition var1="tw_busy" var2="0" />
4390 <actions>
4391 <action function="set">tw_hide_kb=0</action>
4392 <action function="page">advanced</action>
4393 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004394 </button>
z31s1g56189522016-01-13 19:12:40 +01004395
z31s1g608d7ff2016-01-18 19:47:25 +01004396 <button>
z31s1g56189522016-01-13 19:12:40 +01004397 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4398 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4399 <condition var1="tw_hide_kb" op="=" var2="0" />
4400 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4401 <image resource="kb_hide" />
4402 <condition var1="tw_busy" var2="0" />
4403 <actions>
4404 <action function="set">tw_hide_kb=1</action>
4405 <action function="page">terminalcommand</action>
4406 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004407 </button>
z31s1g56189522016-01-13 19:12:40 +01004408
z31s1g608d7ff2016-01-18 19:47:25 +01004409 <button>
z31s1g56189522016-01-13 19:12:40 +01004410 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4411 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4412 <condition var1="tw_hide_kb" op="=" var2="1" />
4413 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4414 <image resource="kb_show" />
4415 <condition var1="tw_busy" var2="0" />
4416 <actions>
4417 <action function="set">tw_hide_kb=0</action>
4418 <action function="page">terminalcommand</action>
4419 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004420 </button>
z31s1g56189522016-01-13 19:12:40 +01004421
z31s1g608d7ff2016-01-18 19:47:25 +01004422 <button>
z31s1g56189522016-01-13 19:12:40 +01004423 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4424 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4425 <image resource="home" />
4426 <condition var1="tw_busy" var2="0" />
4427 <actions>
4428 <action function="set">tw_hide_kb=0</action>
4429 <action function="key">home</action>
4430 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004431 </button>
z31s1g56189522016-01-13 19:12:40 +01004432
z31s1g608d7ff2016-01-18 19:47:25 +01004433 <button>
z31s1g56189522016-01-13 19:12:40 +01004434 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4435 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4436 <condition var1="tw_hide_kb" op="=" var2="0" />
4437 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4438 <image resource="kb_hide" />
4439 <condition var1="tw_busy" var2="0" />
4440 <actions>
4441 <action function="set">tw_hide_kb=1</action>
4442 <action function="page">terminalcommand</action>
4443 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004444 </button>
z31s1g56189522016-01-13 19:12:40 +01004445
z31s1g608d7ff2016-01-18 19:47:25 +01004446 <button>
z31s1g56189522016-01-13 19:12:40 +01004447 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4448 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4449 <condition var1="tw_hide_kb" op="=" var2="1" />
4450 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4451 <image resource="kb_show" />
4452 <condition var1="tw_busy" var2="0" />
4453 <actions>
4454 <action function="set">tw_hide_kb=0</action>
4455 <action function="page">terminalcommand</action>
4456 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004457 </button>
z31s1g56189522016-01-13 19:12:40 +01004458
z31s1g608d7ff2016-01-18 19:47:25 +01004459 <button>
z31s1g56189522016-01-13 19:12:40 +01004460 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4461 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4462 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4463 <image resource="back" />
4464 <condition var1="tw_busy" var2="0" />
4465 <actions>
4466 <action function="set">tw_hide_kb=0</action>
4467 <action function="page">advanced</action>
4468 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004469 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004470
4471 <action>
4472 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004473 <actions>
4474 <action function="page">main</action>
4475 <action function="set">tw_hide_kb=0</action>
4476 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </action>
4478
4479 <action>
4480 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004481 <actions>
4482 <action function="page">advanced</action>
4483 <action function="set">tw_hide_kb=0</action>
4484 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </action>
z31s1g56189522016-01-13 19:12:40 +01004486
4487 <object type="action">
4488 <touch key="power+voldown" />
4489 <action function="screenshot" />
4490 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </page>
4492
4493 <page name="sideload">
4494 <template name="page"/>
4495
4496 <text style="text_l">
4497 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004499 </text>
4500
4501 <text style="text_m">
4502 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004504 </text>
4505
4506 <checkbox>
4507 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004508 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004509 <data variable="tw_wipe_dalvik"/>
4510 </checkbox>
4511
4512 <checkbox>
4513 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 <data variable="tw_wipe_cache"/>
4516 </checkbox>
4517
4518 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 <actions>
4521 <action function="set">tw_back=advanced</action>
4522 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4524 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4525 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004526 <action function="set">tw_has_cancel=1</action>
4527 <action function="set">tw_show_reboot=1</action>
4528 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4529 <action function="page">action_page</action>
4530 </actions>
4531 </slider>
4532
4533 <action>
4534 <touch key="home"/>
4535 <action function="page">main</action>
4536 </action>
4537
4538 <action>
4539 <touch key="back"/>
4540 <action function="page">advanced</action>
4541 </action>
4542 </page>
4543
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004544 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004545 <template name="page"/>
4546
4547 <text style="text_l">
4548 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004549 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004550 </text>
4551
4552 <text style="text_m">
4553 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004554 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004555 </text>
4556
4557 <text style="text_m_accent">
4558 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004559 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004560 </text>
4561
z31s1g28f0a922015-11-07 18:50:22 +01004562 <text style="text_m_fail">
4563 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004564 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004565 </text>
4566
4567 <text style="text_m_fail">
4568 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004569 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004570 </text>
4571
4572 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004573 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004574 <actions>
4575 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004576 <action function="set">tw_action=fixcontexts</action>
4577 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4578 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004579 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004580 <action function="set">tw_show_reboot=1</action>
4581 <action function="page">action_page</action>
4582 </actions>
4583 </slider>
4584
4585 <action>
4586 <touch key="home"/>
4587 <action function="page">main</action>
4588 </action>
4589
4590 <action>
4591 <touch key="back"/>
4592 <action function="page">advanced</action>
4593 </action>
4594 </page>
4595
4596 <page name="installsu">
4597 <template name="page"/>
4598
4599 <text style="text_l">
4600 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004601 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004602 </text>
4603
4604 <text style="text_m">
4605 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@su_hdr=SuperSU Check}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 </text>
4608
4609 <text style="text_m_accent">
4610 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004611 <text>{@su_note1=Your device does not appear to be rooted.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004612 </text>
4613
4614 <text style="text_m">
4615 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004616 <text>{@su_note2=Install SuperSU now?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004617 </text>
4618
4619 <text style="text_m">
4620 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <text>{@su_note3=This will root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004622 </text>
4623
4624 <button style="main_button_half_width">
4625 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004626 <text>{@su_cancel=Do not Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004627 <action function="set">tw_page_done=1</action>
4628 </button>
4629
4630 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@swipe_su_to_install=Swipe to Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 <actions>
4633 <action function="set">tw_action=installsu</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <action function="set">tw_action_text1={@su_installing=Installing SuperSU}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <action function="set">tw_action_text2=</action>
4636 <action function="page">singleaction_page</action>
4637 </actions>
4638 </slider>
4639 </page>
4640
4641 <page name="slideout">
4642 <fill color="%background_color%">
4643 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4644 </fill>
4645
4646 <console>
4647 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
4648 </console>
4649
4650 <button>
4651 <fill color="%transparent%"/>
4652 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4653 <action function="overlay"/>
4654 </button>
4655
4656 <action>
4657 <touch key="power+voldown"/>
4658 <action function="screenshot"/>
4659 </action>
4660 </page>
4661
4662 <page name="select_storage">
4663 <fill color="%semi_transparent%">
4664 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4665 </fill>
4666
4667 <fill color="%background_color%">
4668 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4669 </fill>
4670
4671 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004672 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004673 <data name="tw_storage_path"/>
4674 <listtype name="storage"/>
4675 </partitionlist>
4676
4677 <button style="button_third_width">
4678 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <actions>
4681 <action function="set">tw_clear_destination=%tw_back%</action>
4682 <action function="overlay"/>
4683 <action function="page">clear_vars</action>
4684 </actions>
4685 </button>
4686
4687 <fill color="#000000">
4688 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4689 </fill>
4690
4691 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004692 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4693 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4694 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4695 <image resource="back" />
4696 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004697 <actions>
4698 <action function="overlay"/>
4699 <action function="key">%tw_back%</action>
4700 </actions>
4701 </button>
4702
4703 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004704 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4705 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4706 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4707 <image resource="console" />
4708 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004709 <action function="overlay">slideout</action>
4710 </button>
4711
4712 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004713 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4714 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4715 <image resource="home" />
4716 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004717 <actions>
4718 <action function="overlay"/>
4719 <action function="key">home</action>
4720 </actions>
4721 </button>
4722
4723 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004724 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4725 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4726 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4727 <image resource="console" />
4728 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01004729 <action function="overlay">slideout</action>
4730 </button>
4731
4732 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01004733 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4734 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4735 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4736 <image resource="back" />
4737 <condition var1="tw_busy" var2="0" />
4738 <actions>
4739 <action function="overlay"/>
4740 <action function="key">%tw_back%</action>
4741 </actions>
4742 </button>
4743
4744 <button>
4745 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4746 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4747 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4748 <image resource="back" />
4749 <condition var1="tw_busy" var2="0" />
4750 <actions>
4751 <action function="overlay"/>
4752 <action function="key">%tw_back%</action>
4753 </actions>
4754 </button>
4755
4756 <button>
4757 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4758 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4759 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4760 <image resource="console" />
4761 <condition var1="tw_busy" var2="0" />
4762 <action function="overlay">slideout</action>
4763 </button>
4764
4765 <button>
4766 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4767 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4768 <image resource="home" />
4769 <condition var1="tw_busy" var2="0" />
4770 <actions>
4771 <action function="overlay"/>
4772 <action function="key">home</action>
4773 </actions>
4774 </button>
4775
4776 <button>
4777 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4778 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4779 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4780 <image resource="console" />
4781 <condition var1="tw_busy" var2="0" />
4782 <action function="overlay">slideout</action>
4783 </button>
4784
4785 <button>
4786 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4787 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4788 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4789 <image resource="back" />
4790 <condition var1="tw_busy" var2="0" />
4791 <actions>
4792 <action function="overlay"/>
4793 <action function="key">%tw_back%</action>
4794 </actions>
4795 </button>
4796
4797 <button>
4798 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4799 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4800 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4801 <image resource="back" />
4802 <condition var1="tw_busy" var2="0" />
4803 <actions>
4804 <action function="overlay"/>
4805 <action function="key">%tw_back%</action>
4806 </actions>
4807 </button>
4808
4809 <button>
4810 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4811 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4812 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4813 <image resource="console" />
4814 <condition var1="tw_busy" var2="0" />
4815 <action function="overlay">slideout</action>
4816 </button>
4817
4818 <button>
4819 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4820 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4821 <image resource="home" />
4822 <condition var1="tw_busy" var2="0" />
4823 <actions>
4824 <action function="overlay"/>
4825 <action function="key">home</action>
4826 </actions>
4827 </button>
4828
4829 <button>
4830 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4831 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4832 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4833 <image resource="console" />
4834 <condition var1="tw_busy" var2="0" />
4835 <action function="overlay">slideout</action>
4836 </button>
4837
4838 <button>
4839 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4840 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4841 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4842 <image resource="back" />
4843 <condition var1="tw_busy" var2="0" />
4844 <actions>
4845 <action function="overlay"/>
4846 <action function="key">%tw_back%</action>
4847 </actions>
4848 </button>
4849
4850 <action>
4851 <touch key="power+voldown"/>
4852 <action function="screenshot"/>
4853 </action>
4854 </page>
4855
4856 <page name="select_language">
4857 <fill color="%semi_transparent%">
4858 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4859 </fill>
4860
4861 <fill color="%background_color%">
4862 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
4863 </fill>
4864
4865 <listbox>
4866 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
4867 <text>{@select_language=Select Language:}</text>
4868 <icon selected="radio_true" unselected="radio_false" />
4869 <data name="tw_language" />
4870 </listbox>
4871
4872 <button style="button_third_width">
4873 <placement x="%dialog_button_x%" y="%row13_y%"/>
4874 <text>{@ok_btn=OK}</text>
4875 <actions>
4876 <action function="overlay"/>
4877 <action function="setlanguage"></action>
4878 </actions>
4879 </button>
4880
4881 <fill color="#000000">
4882 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
4883 </fill>
4884
4885 <button>
4886 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4887 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4888 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4889 <image resource="back" />
4890 <condition var1="tw_busy" var2="0" />
4891 <actions>
4892 <action function="overlay"/>
4893 <action function="key">%tw_back%</action>
4894 </actions>
4895 </button>
4896
4897 <button>
4898 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4899 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4900 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4901 <image resource="console" />
4902 <condition var1="tw_busy" var2="0" />
4903 <action function="overlay">slideout</action>
4904 </button>
4905
4906 <button>
4907 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4908 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4909 <image resource="home" />
4910 <condition var1="tw_busy" var2="0" />
4911 <actions>
4912 <action function="overlay"/>
4913 <action function="key">home</action>
4914 </actions>
4915 </button>
4916
4917 <button>
4918 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4919 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4920 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4921 <image resource="console" />
4922 <condition var1="tw_busy" var2="0" />
4923 <action function="overlay">slideout</action>
4924 </button>
4925
4926 <button>
4927 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4928 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4929 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4930 <image resource="back" />
4931 <condition var1="tw_busy" var2="0" />
4932 <actions>
4933 <action function="overlay"/>
4934 <action function="key">%tw_back%</action>
4935 </actions>
4936 </button>
4937
4938 <button>
4939 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4940 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4941 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4942 <image resource="back" />
4943 <condition var1="tw_busy" var2="0" />
4944 <actions>
4945 <action function="overlay"/>
4946 <action function="key">%tw_back%</action>
4947 </actions>
4948 </button>
4949
4950 <button>
4951 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4952 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4953 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4954 <image resource="console" />
4955 <condition var1="tw_busy" var2="0" />
4956 <action function="overlay">slideout</action>
4957 </button>
4958
4959 <button>
4960 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4961 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4962 <image resource="home" />
4963 <condition var1="tw_busy" var2="0" />
4964 <actions>
4965 <action function="overlay"/>
4966 <action function="key">home</action>
4967 </actions>
4968 </button>
4969
4970 <button>
4971 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4972 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4973 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4974 <image resource="console" />
4975 <condition var1="tw_busy" var2="0" />
4976 <action function="overlay">slideout</action>
4977 </button>
4978
4979 <button>
4980 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4981 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4982 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4983 <image resource="back" />
4984 <condition var1="tw_busy" var2="0" />
4985 <actions>
4986 <action function="overlay"/>
4987 <action function="key">%tw_back%</action>
4988 </actions>
4989 </button>
4990
4991 <button>
4992 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4993 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4994 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4995 <image resource="back" />
4996 <condition var1="tw_busy" var2="0" />
4997 <actions>
4998 <action function="overlay"/>
4999 <action function="key">%tw_back%</action>
5000 </actions>
5001 </button>
5002
5003 <button>
5004 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5005 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5006 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5007 <image resource="console" />
5008 <condition var1="tw_busy" var2="0" />
5009 <action function="overlay">slideout</action>
5010 </button>
5011
5012 <button>
5013 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5014 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5015 <image resource="home" />
5016 <condition var1="tw_busy" var2="0" />
5017 <actions>
5018 <action function="overlay"/>
5019 <action function="key">home</action>
5020 </actions>
5021 </button>
5022
5023 <button>
5024 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5025 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5026 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5027 <image resource="console" />
5028 <condition var1="tw_busy" var2="0" />
5029 <action function="overlay">slideout</action>
5030 </button>
5031
5032 <button>
5033 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5034 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5035 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5036 <image resource="back" />
5037 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005038 <actions>
5039 <action function="overlay"/>
5040 <action function="key">%tw_back%</action>
5041 </actions>
5042 </button>
5043
5044 <action>
5045 <touch key="power+voldown"/>
5046 <action function="screenshot"/>
5047 </action>
5048 </page>
5049 </pages>
5050</recovery>