blob: ac98dbad8d14286e263e5c83261db5475bc0c512 [file] [log] [blame]
masteroftimeb58e6d22014-01-15 20:16:17 +00001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="240" height="240" />
6 <author>masteroftime</author>
7 <title>TWRP x201</title>
8 <description>tDPI Smartwatch Theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-12" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-12" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-12" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="menu-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
45 <variable name="col1_x" value="6" />
46 <variable name="col2_x" value="126" />
47 <variable name="col3_x" value="180" />
48 <variable name="col_center_x" value="62" />
49 <variable name="col_center_medium_x" value="122" />
50 <variable name="center_x" value="120" />
51 <variable name="row1_y" value="40" />
52 <variable name="row2_y" value="80" />
53 <variable name="row3_y" value="120" />
54 <variable name="row4_y" value="160" />
55 <variable name="row5_y" value="200" />
56 <variable name="row_queue_y" value="152" />
57 <variable name="row1_header_y" value="24" />
58 <variable name="row1_text_y" value="40" />
59 <variable name="row2_text_y" value="56" />
60 <variable name="row3_text_y" value="72" />
61 <variable name="row4_text_y" value="88" />
62 <variable name="row5_text_y" value="104" />
63 <variable name="row6_text_y" value="120" />
64 <variable name="row7_text_y" value="136" />
65 <variable name="row8_text_y" value="152" />
66 <variable name="row9_text_y" value="168" />
67 <variable name="row10_text_y" value="184" />
68 <variable name="row11_text_y" value="200" />
69 <variable name="row12_text_y" value="216" />
70 <variable name="row13_text_y" value="232" />
71 <variable name="zip_status_y" value="176" />
72 <variable name="backup_text_y" value="60" />
73 <variable name="tz_selected_y" value="44" />
74 <variable name="tz_set_y" value="200" />
75 <variable name="tz_current_y" value="184" />
76 <variable name="col_progressbar_x" value="25" />
77 <variable name="row_progressbar_y" value="200" />
78 <variable name="col1_medium_x" value="6" />
79 <variable name="col2_medium_x" value="70" />
80 <variable name="col3_medium_x" value="134" />
81 <variable name="col4_medium_x" value="198" />
82 <variable name="row1_medium_y" value="24" />
83 <variable name="row2_medium_y" value="40" />
84 <variable name="row3_medium_y" value="56" />
85 <variable name="row4_medium_y" value="72" />
86 <variable name="row5_medium_y" value="88" />
87 <variable name="row6_medium_y" value="104" />
88 <variable name="row7_medium_y" value="120" />
89 <variable name="slider_x" value="34" />
90 <variable name="slider_y" value="200" />
91 <variable name="slider_text_y" value="218" />
92 <variable name="button_text_color" value="#AAAAAA" />
93 <variable name="text_color" value="#FFFFFF" />
94 <variable name="text_success_color" value="#33B5E5" />
95 <variable name="text_fail_color" value="#FF0101" />
96 <variable name="highlight_color" value="#90909080" />
Dees Troy54a69f42014-03-06 14:22:28 +000097 <variable name="caps_highlight_color" value="#33B5E580" />
masteroftimeb58e6d22014-01-15 20:16:17 +000098 <variable name="home_button_x" value="3" />
99 <variable name="home_button_y" value="220" />
100 <variable name="back_button_x" value="209" />
101 <variable name="back_button_y" value="220" />
102 <variable name="sort_text_x" value="8" />
103 <variable name="sort_asc_text_y" value="160" />
104 <variable name="sort_asc_button_y" value="160" />
105 <variable name="sort_desc_text_y" value="184" />
106 <variable name="sort_desc_button_y" value="184" />
107 <variable name="sort_col1_button_x" value="120" />
108 <variable name="sort_col2_button_x" value="160" />
109 <variable name="sort_col3_button_x" value="200" />
110 <variable name="input_width" value="160" />
111 <variable name="input_width_conf" value="10" />
112 <variable name="input_height" value="18" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="2" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="240" />
118 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500119 <variable name="warning" value="#F8F8A0" />
120 <variable name="error" value="#FF4040" />
121 <variable name="highlight" value="#33B5E5" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000122 <variable name="console_background" value="#303030" />
123 <variable name="console_scroll" value="#303030" />
124 <variable name="console_action_height" value="120" />
125 <variable name="console_install_height" value="120" />
126 <variable name="console_installdone_height" value="120" />
127 <variable name="fileselector_x" value="3" />
128 <variable name="fileselector_width" value="240" />
129 <variable name="fileselector_install_height" value="114" />
130 <variable name="fileselector_header_background" value="#202020" />
131 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
132 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
133 <variable name="fileselector_header_separatorheight" value="2" />
134 <variable name="fileselector_separatorcolor" value="#505050" />
135 <variable name="fileselector_separatorheight" value="1" />
136 <variable name="fileselector_background" value="#303030" />
137 <variable name="fileselector_highlight_color" value="#505050" />
138 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
139 <variable name="fileselector_spacing" value="12" />
140 <variable name="fastscroll_linecolor" value="#808080" />
141 <variable name="fastscroll_rectcolor" value="#808080" />
142 <variable name="fastscroll_w" value="32" />
143 <variable name="fastscroll_linew" value="1" />
144 <variable name="fastscroll_rectw" value="18" />
145 <variable name="fastscroll_recth" value="31" />
146 <variable name="listbox_x" value="3" />
147 <variable name="listbox_width" value="240" />
148 <variable name="listbox_tz_height" value="114" />
149 <variable name="listbox_background" value="#303030" />
150 <variable name="listbox_spacing" value="12" />
151 <variable name="sd_plus_x" value="174" />
152 <variable name="sdext_text_x" value="56" />
153 <variable name="sdext_text_y" value="42" />
154 <variable name="sdswap_button_y" value="74" />
155 <variable name="sdswap_text_x" value="56" />
156 <variable name="sdswap_text_y" value="76" />
157 <variable name="sdfilesystem_text_y" value="92" />
158 <variable name="sdfilesystem_button_y" value="120" />
159 <variable name="lock_x" value="72" />
160 <variable name="lock_y" value="46" />
161 <variable name="filemanager_select_x" value="68" />
162 <variable name="filemanager_select_y" value="200" />
163 <variable name="terminal_console_height" value="120" />
164 <variable name="terminal_text_y" value="72" />
165 <variable name="terminal_button_y" value="220" />
166 <variable name="row_dst_text_y" value="142" />
167 <variable name="row_offset_text_y" value="160" />
168 <variable name="row_offset_medium_y" value="176" />
169 <variable name="button_fill_color" value="#303030" />
170 <variable name="button_fill_full_width" value="220" />
171 <variable name="button_fill_main_width" value="110" />
172 <variable name="button_fill_med_width" value="72" />
173 <variable name="button_fill_small_width" value="24" />
174 <variable name="button_fill_main_height" value="72" />
175 <variable name="button_fill_half_height" value="36" />
176 <variable name="button_fill_quarter_height" value="18" />
177 <variable name="button_refresh_x" value="152" />
178 <variable name="backup_list_height" value="110" />
179 <variable name="backup_button_row1" value="152" />
180 <variable name="backup_button_row2" value="184" />
181 <variable name="mount_list_height" value="136" />
182 <variable name="mount_storage_row" value="180" />
183 <variable name="storage_list_height" value="114" />
184 <variable name="wipe_list_height" value="114" />
185 <variable name="wipe_button_y" value="136" />
186 <variable name="slidervalue_w" value="204" />
187 <variable name="slidervalue_line_clr" value="#FFFFFF" />
188 <variable name="slidervalue_slider_clr" value="#33B5E5" />
189 <variable name="slidervalue_lineh" value="1" />
190 <variable name="slidervalue_padding" value="8" />
191 <variable name="slidervalue_sliderw" value="4" />
192 <variable name="slidervalue_sliderh" value="20" />
193 </variables>
194
195 <templates>
196 <template name="header">
197 <background color="#000000FF" />
198
199 <object type="image">
200 <image resource="top_bar" />
201 <placement x="0" y="0" />
202 </object>
203
204 <object type="text" color="%text_color%">
205 <font resource="font" />
206 <placement x="3" y="3" />
207 <text>TWRP v%tw_version%</text>
208 </object>
209
210 <object type="text" color="%text_fail_color%">
211 <condition var1="tw_simulate_actions" var2="1" />
212 <font resource="font" />
213 <placement x="3" y="21" />
214 <text>SIMULATION</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="100" y="3" />
220 <text>%tw_time%</text>
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="170" y="3" />
226 <conditions>
227 <condition var1="tw_no_battery_percent" var2="0" />
228 <condition var1="tw_battery" op=">" var2="0" />
229 <condition var1="tw_battery" op="<" var2="101" />
230 </conditions>
231 <text>%tw_battery%</text>
232 </object>
233
234 <object type="button">
235 <placement x="%home_button_x%" y="%home_button_y%" />
236 <font resource="font" color="%button_text_color%" />
237 <text></text>
238 <image resource="home_icon" />
239 <condition var1="tw_busy" var2="0" />
240 <action function="key">home</action>
241 </object>
242
243 <object type="button">
244 <placement x="%back_button_x%" y="%back_button_y%" />
245 <font resource="font" color="%button_text_color%" />
246 <text></text>
247 <image resource="back_icon" />
248 <condition var1="tw_busy" var2="0" />
249 <action function="key">back</action>
250 </object>
251
252 <object type="action">
253 <touch key="power" />
254 <action function="overlay">lock</action>
255 </object>
256 </template>
257
258 <template name="progress_bar">
259 <object type="progressbar">
260 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500261 <resource empty="progress_empty" full="progress_full" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000262 <data name="ui_progress" />
263 </object>
264
265 <object type="animation">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
267 <resource name="progress" />
268 <speed fps="15" render="2" />
269 <loop frame="1" />
270 </object>
271 </template>
272
273 <template name="action_page_console">
274 <object type="console">
275 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
276 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
277 <font resource="fixed" />
278 </object>
279 </template>
280
281 <template name="sort_options">
282 <object type="text" color="%text_color%">
283 <font resource="mediumfont" />
284 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
285 <text>Sort Ascending:</text>
286 </object>
287
288 <object type="button">
289 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
290 <font resource="mediumfont" color="%button_text_color%" />
291 <text>Name</text>
292 <image resource="sort_button" />
293 <action function="set">tw_gui_sort_order=1</action>
294 </object>
295
296 <object type="button">
297 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
298 <font resource="mediumfont" color="%button_text_color%" />
299 <text>Date</text>
300 <image resource="sort_button" />
301 <action function="set">tw_gui_sort_order=2</action>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
306 <font resource="mediumfont" color="%button_text_color%" />
307 <text>Size</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=3</action>
310 </object>
311
312 <object type="text" color="%text_color%">
313 <font resource="mediumfont" />
314 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
315 <text>Sort Descending:</text>
316 </object>
317
318 <object type="button">
319 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
320 <font resource="mediumfont" color="%button_text_color%" />
321 <text>Name</text>
322 <image resource="sort_button" />
323 <action function="set">tw_gui_sort_order=-1</action>
324 </object>
325
326 <object type="button">
327 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
328 <font resource="mediumfont" color="%button_text_color%" />
329 <text>Date</text>
330 <image resource="sort_button" />
331 <action function="set">tw_gui_sort_order=-2</action>
332 </object>
333
334 <object type="button">
335 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
336 <font resource="mediumfont" color="%button_text_color%" />
337 <text>Size</text>
338 <image resource="sort_button" />
339 <action function="set">tw_gui_sort_order=-3</action>
340 </object>
341 </template>
342
343 <template name="footer">
344 <object type="console">
345 <slideout resource="slideout" x="140" y="456" />
346 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
347 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
348 <font resource="fixed" />
349 </object>
350 </template>
351
352 <template name="keyboardtemplate">
353 <object type="keyboard">
354 <placement x="0" y="90" />
355 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
356 <highlight color="%highlight_color%" />
Dees Troy54a69f42014-03-06 14:22:28 +0000357 <capshighlight color="%caps_highlight_color%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000358 <layout1>
359 <keysize height="32" width="24" />
360 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
361 <row2 key01="36:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="36:l" />
362 <row3 key01="36:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="36:c:8" />
363 <row4 key01="36:layout3" key02="24:" key03="120: " key04="24:." key05="36:a:action" />
364 </layout1>
365 <layout2>
Dees Troy54a69f42014-03-06 14:22:28 +0000366 <keysize height="32" width="24" capslock="0" revert_layout="1" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000367 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
368 <row2 key01="36:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="36:L" />
369 <row3 key01="36:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="36:c:8" />
370 <row4 key01="36:layout3" key02="32:" key03="120: " key04="32:." key05="36:action" />
371 </layout2>
372 <layout3>
373 <keysize height="32" width="24" />
374 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
375 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
376 <row3 key01="36:layout4" key02="!" key03="24:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="36:c:8" />
377 <row4 key01="36:layout1" key02="24:," key03="120: " key04="24:." key05="36:action" />
378 </layout3>
379 <layout4>
380 <keysize height="32" width="24" />
381 <row1 key01="~" key02="`" key03="|" key04="24:" key05="24:" key06="24:" key07="%" key08="24:" key09="{" key10="}" />
382 <row2 key01="24:" key02="24:" key03="24:" key04="24:" key05="24:" key06="^" key07="_" key08="=" key09="[" key10="]" />
383 <row3 key01="36:layout3" key02="24:" key03="24:" key04="24:" key05="24:" key06="\" key07="<" key08=">" key09="36:c:8" />
384 <row4 key01="36:layout1" key02="24:c:34" key03="120: " key04="24:." key05="36:action" />
385 </layout4>
386 </object>
387 </template>
388 </templates>
389
390 <pages>
391 <page name="main">
392 <object type="action">
393 <actions>
394 <action function="set">tw_clear_destination=main2</action>
395 <action function="page">clear_vars</action>
396 </actions>
397 </object>
398 </page>
399
400 <page name="main2">
401 <object type="template" name="header" />
402
403 <object type="button">
404 <highlight color="%highlight_color%" />
405 <placement x="%col1_x%" y="%row1_y%" />
406 <font resource="font" color="%button_text_color%" />
407 <text>Install</text>
408 <image resource="main_button" />
409 <actions>
410 <action function="queueclear"></action>
411 <action function="page">install</action>
412 </actions>
413 </object>
414
415 <object type="button">
416 <highlight color="%highlight_color%" />
417 <placement x="%col2_x%" y="%row1_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Wipe</text>
420 <image resource="main_button" />
421 <action function="page">wipe</action>
422 </object>
423
424 <object type="button">
425 <highlight color="%highlight_color%" />
426 <placement x="%col1_x%" y="%row2_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Backup</text>
429 <image resource="main_button" />
430 <action function="page">backup</action>
431 </object>
432
433 <object type="button">
434 <highlight color="%highlight_color%" />
435 <placement x="%col2_x%" y="%row2_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Restore</text>
438 <image resource="main_button" />
439 <action function="page">restore</action>
440 </object>
441
442 <object type="button">
443 <highlight color="%highlight_color%" />
444 <placement x="%col1_x%" y="%row3_y%" />
445 <font resource="font" color="%button_text_color%" />
446 <text>Mount</text>
447 <image resource="main_button" />
448 <action function="page">mount</action>
449 </object>
450
451 <object type="button">
452 <highlight color="%highlight_color%" />
453 <placement x="%col2_x%" y="%row3_y%" />
454 <font resource="font" color="%button_text_color%" />
455 <text>Settings</text>
456 <image resource="main_button" />
457 <action function="page">settings</action>
458 </object>
459
460
461 <object type="button">
462 <highlight color="%highlight_color%" />
463 <placement x="%col1_x%" y="%row4_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Advanced</text>
466 <image resource="main_button" />
467 <action function="page">advanced</action>
468 </object>
469
470 <object type="button">
471 <highlight color="%highlight_color%" />
472 <placement x="%col2_x%" y="%row4_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Reboot</text>
475 <image resource="main_button" />
476 <action function="page">reboot</action>
477 </object>
478
479 <object type="template" name="footer" />
480 </page>
481
482 <page name="install">
483 <object type="template" name="header" />
484
485 <object type="text" color="%text_color%">
486 <font resource="font" />
487 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
488 <text>Select Zip to Install</text>
489 </object>
490
491 <object type="button">
492 <highlight color="%highlight_color%" />
493 <fill color="%button_fill_color%" />
494 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
495 <font resource="font" color="%button_text_color%" />
496 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
497 <actions>
498 <action function="set">tw_back=install</action>
499 <action function="page">selectstorage</action>
500 </actions>
501 </object>
502
503 <object type="fileselector">
504 <highlight color="%fileselector_highlight_color%" />
505 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
506 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
507 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
508 <text>%tw_zip_location%</text>
509 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
510 <sort name="tw_gui_sort_order" />
511 <icon folder="folder_icon" file="file_icon" />
512 <background color="%fileselector_background%" />
513 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
514 <filter extn=".zip" folders="1" files="1" />
515 <path name="tw_zip_location" default="/sdcard" />
516 <data name="tw_filename" />
517 <selection name="tw_file" />
518 </object>
519
520 <object type="template" name="sort_options" />
521
522 <object type="action">
523 <condition var1="tw_filename" op="modified" />
524 <actions>
525 <action function="queuezip"></action>
526 <action function="page">flash_confirm</action>
527 </actions>
528 </object>
529
530 <object type="action">
531 <touch key="back" />
532 <action function="page">main</action>
533 </object>
534
535 <object type="action">
536 <touch key="home" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="template" name="footer" />
541 </page>
542
543 <page name="flash_confirm">
544 <object type="template" name="header" />
545
546 <object type="text" color="%text_color%">
547 <font resource="font" />
548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
549 <text>This operation may install incompatible</text>
550 </object>
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
555 <text>software and render your device unusable.</text>
556 </object>
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
561 <text>Folder: %tw_zip_location%</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
567 <text>File to flash: %tw_file%</text>
568 </object>
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
572 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
573 <text>Press back to cancel adding this zip.</text>
574 </object>
575
576 <object type="checkbox">
577 <placement x="%col1_x%" y="%row6_text_y%" />
578 <font resource="font" color="%text_color%" />
579 <text>Zip file signature verification.</text>
580 <data variable="tw_signed_zip_verify" />
581 <image checked="checkbox_true" unchecked="checkbox_false" />
582 </object>
583
584 <object type="checkbox">
585 <condition var1="tw_has_injecttwrp" var2="1" />
586 <placement x="%col1_x%" y="%row7_text_y%" />
587 <font resource="font" color="%text_color%" />
588 <text>Inject TWRP after install.</text>
589 <data variable="tw_inject_after_zip" />
590 <image checked="checkbox_true" unchecked="checkbox_false" />
591 </object>
592
593 <object type="text" color="%text_color%">
594 <font resource="font" />
595 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
596 <text>File %tw_zip_queue_count% of max of 10</text>
597 </object>
598
599 <object type="slider">
600 <placement x="%slider_x%" y="%slider_y%" placement="5" />
601 <resource base="slider" used="slider-used" touch="slider-touch" />
602 <action function="flash">flash_zip</action>
603 </object>
604
605 <object type="text" color="%text_color%">
606 <font resource="font" />
607 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
608 <text>Swipe to Confirm Flash</text>
609 </object>
610
611 <object type="button">
612 <highlight color="%highlight_color%" />
613 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
614 <placement x="%col1_x%" y="%row_queue_y%" />
615 <font resource="font" color="%button_text_color%" />
616 <text>Add More Zips</text>
617 <image resource="main_button" />
618 <action function="page">install</action>
619 </object>
620
621 <object type="button">
622 <highlight color="%highlight_color%" />
623 <placement x="%col2_x%" y="%row_queue_y%" />
624 <font resource="font" color="%button_text_color%" />
625 <text>Clear Zip Queue</text>
626 <image resource="main_button" />
627 <actions>
628 <action function="queueclear"></action>
629 <action function="page">install</action>
630 </actions>
631 </object>
632
633 <object type="action">
634 <touch key="back" />
635 <actions>
636 <action function="cancelzip"></action>
637 <action function="page">install</action>
638 </actions>
639 </object>
640
641 <object type="action">
642 <touch key="home" />
643 <action function="page">main</action>
644 </object>
645
646 <object type="template" name="footer" />
647 </page>
648
649 <page name="flash_zip">
650 <object type="template" name="header" />
651
652 <object type="console">
653 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
654 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
655 <font resource="fixed" />
656 </object>
657
658 <object type="text" color="%text_color%">
659 <font resource="font" />
660 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
661 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
662 </object>
663
664 <object type="text" color="%text_color%">
665 <font resource="mediumfont" />
666 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
667 <text>%tw_filename%</text>
668 </object>
669
670 <object type="template" name="progress_bar" />
671
672 <object type="action">
673 <condition var1="tw_operation_state" var2="1" />
674 <action function="page">flash_done</action>
675 </object>
676 </page>
677
678 <page name="flash_done">
679 <object type="template" name="header" />
680
681 <object type="text" color="%text_color%">
682 <font resource="font" />
683 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
684 <text>Zip Install Complete</text>
685 </object>
686
687 <object type="console">
688 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
689 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
690 <font resource="fixed" />
691 </object>
692
693 <object type="button">
694 <highlight color="%highlight_color%" />
695 <placement x="%col1_x%" y="%row4_y%" />
696 <font resource="font" color="%button_text_color%" />
697 <text>Wipe cache/dalvik</text>
698 <image resource="main_button" />
699 <actions>
700 <action function="set">tw_back=flash_done</action>
701 <action function="set">tw_action=wipe</action>
702 <action function="set">tw_action_param=/cache</action>
703 <action function="set">tw_has_action2=1</action>
704 <action function="set">tw_action2=wipe</action>
705 <action function="set">tw_action2_param=dalvik</action>
706 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
707 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
708 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
709 <action function="set">tw_slider_text=Swipe to Wipe</action>
710 <action function="page">confirm_action</action>
711 </actions>
712 </object>
713
714 <object type="button">
715 <highlight color="%highlight_color%" />
716 <placement x="%col2_x%" y="%row4_y%" />
717 <font resource="font" color="%button_text_color%" />
718 <text>Reboot System</text>
719 <image resource="main_button" />
720 <actions>
721 <action function="set">tw_back=main2</action>
722 <action function="set">tw_action=reboot</action>
723 <action function="set">tw_action_param=system</action>
724 <action function="set">tw_has_action2=0</action>
725 <action function="set">tw_text1=No OS Installed! Are you</action>
726 <action function="set">tw_text2=sure you wish to reboot?</action>
727 <action function="set">tw_text3=</action>
728 <action function="set">tw_text4=</action>
729 <action function="set">tw_action_text1=Rebooting...</action>
730 <action function="set">tw_action_text2=</action>
731 <action function="set">tw_complete_text1=Rebooting...</action>
732 <action function="set">tw_slider_text=Swipe to Reboot</action>
733 <action function="page">rebootcheck</action>
734 </actions>
735 </object>
736
737 <object type="button">
738 <highlight color="%highlight_color%" />
739 <placement x="%col_center_x%" y="%row5_y%" />
740 <font resource="font" color="%button_text_color%" />
741 <text>Home</text>
742 <image resource="main_button" />
743 <actions>
744 <action function="set">tw_clear_destination=main2</action>
745 <action function="page">clear_vars</action>
746 </actions>
747 </object>
748
749 <object type="text" color="%text_fail_color%">
750 <condition var1="tw_operation_status" op="!=" var2="0" />
751 <font resource="font" />
752 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
753 <text>Failed</text>
754 </object>
755
756 <object type="text" color="%text_success_color%">
757 <condition var1="tw_operation_status" var2="0" />
758 <font resource="font" />
759 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
760 <text>Successful</text>
761 </object>
762
763 <object type="action">
764 <touch key="back" />
765 <actions>
766 <action function="set">tw_clear_destination=install</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </object>
770
771 <object type="action">
772 <touch key="home" />
773 <actions>
774 <action function="set">tw_clear_destination=main2</action>
775 <action function="page">clear_vars</action>
776 </actions>
777 </object>
778 </page>
779
780 <page name="clear_vars">
781 <object type="action">
782 <action function="set">tw_operation_state=0</action>
783 <action function="set">tw_text1=</action>
784 <action function="set">tw_text2=</action>
785 <action function="set">tw_text3=</action>
786 <action function="set">tw_text4=</action>
787 <action function="set">tw_action_text1=</action>
788 <action function="set">tw_action_text2=</action>
789 <action function="set">tw_action_param=</action>
790 <action function="set">tw_has_action2=0</action>
791 <action function="set">tw_action2=</action>
792 <action function="set">tw_action2_param=</action>
793 <action function="set">tw_has_cancel=0</action>
794 <action function="set">tw_cancel_action=</action>
795 <action function="set">tw_cancel_param=</action>
796 <action function="set">tw_show_exclamation=0</action>
797 <action function="set">tw_show_reboot=0</action>
798 <action function="page">%tw_clear_destination%</action>
799 </object>
800 </page>
801
802 <page name="confirm_action">
803 <object type="template" name="header" />
804
805 <object type="text" color="%text_color%">
806 <font resource="font" />
807 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
808 <text>%tw_text1%</text>
809 </object>
810
811 <object type="text" color="%text_color%">
812 <font resource="font" />
813 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
814 <text>%tw_text2%</text>
815 </object>
816
817 <object type="text" color="%text_color%">
818 <font resource="font" />
819 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
820 <text>%tw_text3%</text>
821 </object>
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
826 <text>%tw_text4%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
832 <text>Press back button to cancel.</text>
833 </object>
834
835 <object type="slider">
836 <placement x="%slider_x%" y="%slider_y%" />
837 <resource base="slider" used="slider-used" touch="slider-touch" />
838 <action function="page">action_page</action>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
844 <text>%tw_slider_text%</text>
845 </object>
846
847 <object type="action">
848 <touch key="back" />
849 <actions>
850 <action function="set">tw_clear_destination=%tw_back%</action>
851 <action function="page">clear_vars</action>
852 </actions>
853 </object>
854
855 <object type="action">
856 <touch key="home" />
857 <action function="page">main</action>
858 </object>
859
860 <object type="template" name="footer" />
861 </page>
862
863 <page name="action_page">
864 <object type="template" name="header" />
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
869 <text>%tw_action_text1%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
875 <text>%tw_action_text2%</text>
876 </object>
877
878 <object type="template" name="action_page_console" />
879
880 <object type="button">
881 <highlight color="%highlight_color%" />
882 <condition var1="tw_has_cancel" var2="1" />
883 <placement x="%col_center_medium_x%" y="%row4_y%" />
884 <font resource="font" color="%button_text_color%" />
885 <text>Cancel</text>
886 <image resource="medium_button" />
887 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
888 </object>
889
890 <object type="template" name="progress_bar" />
891
892 <object type="action">
893 <condition var1="tw_operation_state" var2="1" />
894 <actions>
895 <action function="page">action_complete</action>
896 </actions>
897 </object>
898
899 <object type="action">
900 <condition var1="tw_has_action2" var2="0" />
901 <actions>
902 <action function="%tw_action%">%tw_action_param%</action>
903 </actions>
904 </object>
905
906 <object type="action">
907 <condition var1="tw_has_action2" var2="1" />
908 <actions>
909 <action function="%tw_action%">%tw_action_param%</action>
910 <action function="%tw_action2%">%tw_action2_param%</action>
911 </actions>
912 </object>
913 </page>
914
915 <page name="singleaction_page">
916 <object type="template" name="header" />
917
918 <object type="text" color="%text_color%">
919 <font resource="font" />
920 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
921 <text>%tw_action_text1%</text>
922 </object>
923
924 <object type="text" color="%text_color%">
925 <font resource="font" />
926 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
927 <text>%tw_action_text2%</text>
928 </object>
929
930 <object type="template" name="action_page_console" />
931
932 <object type="template" name="progress_bar" />
933
934 <object type="action">
935 <condition var1="tw_operation_state" var2="1" />
936 <actions>
937 <action function="set">tw_page_done=1</action>
938 </actions>
939 </object>
940
941 <object type="action">
942 <condition var1="tw_has_action2" var2="0" />
943 <actions>
944 <action function="%tw_action%">%tw_action_param%</action>
945 </actions>
946 </object>
947
948 <object type="action">
949 <condition var1="tw_has_action2" var2="1" />
950 <actions>
951 <action function="%tw_action%">%tw_action_param%</action>
952 <action function="%tw_action2%">%tw_action2_param%</action>
953 </actions>
954 </object>
955 </page>
956
957 <page name="action_complete">
958 <object type="template" name="header" />
959
960 <object type="text" color="%text_color%">
961 <font resource="font" />
962 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
963 <text>%tw_complete_text1%</text>
964 </object>
965
966 <object type="text" color="%text_fail_color%">
967 <condition var1="tw_operation_status" op="!=" var2="0" />
968 <font resource="font" />
969 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
970 <text>Failed</text>
971 </object>
972
973 <object type="text" color="%text_success_color%">
974 <condition var1="tw_operation_status" var2="0" />
975 <font resource="font" />
976 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
977 <text>Successful</text>
978 </object>
979
980 <object type="template" name="action_page_console" />
981
982 <object type="button">
983 <highlight color="%highlight_color%" />
984 <condition var1="tw_show_reboot" var2="0" />
985 <placement x="%col_center_x%" y="%row5_y%" />
986 <font resource="font" color="%button_text_color%" />
987 <text>Back</text>
988 <image resource="main_button" />
989 <actions>
990 <action function="set">tw_clear_destination=%tw_back%</action>
991 <action function="page">clear_vars</action>
992 </actions>
993 </object>
994
995 <object type="button">
996 <highlight color="%highlight_color%" />
997 <condition var1="tw_show_reboot" var2="1" />
998 <placement x="%col_center_x%" y="%row5_y%" />
999 <font resource="font" color="%button_text_color%" />
1000 <text>Reboot System</text>
1001 <image resource="main_button" />
1002 <actions>
1003 <action function="set">tw_back=main2</action>
1004 <action function="set">tw_action=reboot</action>
1005 <action function="set">tw_action_param=system</action>
1006 <action function="set">tw_has_action2=0</action>
1007 <action function="set">tw_text1=No OS Installed! Are you</action>
1008 <action function="set">tw_text2=sure you wish to reboot?</action>
1009 <action function="set">tw_text3=</action>
1010 <action function="set">tw_text4=</action>
1011 <action function="set">tw_action_text1=Rebooting...</action>
1012 <action function="set">tw_action_text2=</action>
1013 <action function="set">tw_complete_text1=Rebooting...</action>
1014 <action function="set">tw_slider_text=Swipe to Reboot</action>
1015 <action function="page">rebootcheck</action>
1016 </actions>
1017 </object>
1018
1019 <object type="action">
1020 <touch key="home" />
1021 <actions>
1022 <action function="set">tw_clear_destination=main2</action>
1023 <action function="page">clear_vars</action>
1024 </actions>
1025 </object>
1026
1027 <object type="action">
1028 <touch key="back" />
1029 <actions>
1030 <action function="set">tw_clear_destination=%tw_back%</action>
1031 <action function="page">clear_vars</action>
1032 </actions>
1033 </object>
1034 </page>
1035
1036 <page name="filecheck">
1037 <object type="action">
1038 <action function="fileexists">%tw_filecheck%</action>
1039 </object>
1040
1041 <object type="action">
1042 <conditions>
1043 <condition var1="tw_operation_state" var2="1" />
1044 <condition var1="tw_operation_status" var2="0" />
1045 </conditions>
1046 <actions>
1047 <action function="set">tw_fileexists=1</action>
1048 <action function="page">%tw_existpage%</action>
1049 </actions>
1050 </object>
1051
1052 <object type="action">
1053 <conditions>
1054 <condition var1="tw_operation_state" var2="1" />
1055 <condition var1="tw_operation_status" var2="1" />
1056 </conditions>
1057 <actions>
1058 <action function="set">tw_fileexists=0</action>
1059 <action function="page">%tw_notexistpage%</action>
1060 </actions>
1061 </object>
1062 </page>
1063
1064 <page name="rebootcheck">
1065 <object type="action">
1066 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1067 <action function="reboot">%tw_action_param%</action>
1068 </object>
1069
1070 <object type="action">
1071 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1072 <action function="page">confirm_action</action>
1073 </object>
1074 </page>
1075
1076 <page name="wipe">
1077 <object type="template" name="header" />
1078
1079 <object type="text" color="%text_color%">
1080 <font resource="font" />
1081 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1082 <text>Factory Reset</text>
1083 </object>
1084
1085 <object type="text" color="%text_color%">
1086 <font resource="font" />
1087 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1088 <text>Wipes Data, Cache, and Dalvik</text>
1089 </object>
1090
1091 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001092 <conditions>
1093 <condition var1="tw_has_android_secure" var2="1" />
1094 <condition var1="fileexists" var2="/and-sec" />
1095 </conditions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001096 <font resource="font" />
1097 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1098 <text>.android_secure</text>
1099 </object>
1100
1101 <object type="text" color="%text_color%">
1102 <condition var1="tw_has_data_media" var2="1" />
1103 <font resource="font" />
1104 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1105 <text>(not including internal storage)</text>
1106 </object>
1107
1108 <object type="text" color="%text_color%">
1109 <condition var1="tw_has_sdext_partition" var2="1" />
1110 <font resource="font" />
1111 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1112 <text>SD-EXT</text>
1113 </object>
1114
1115 <object type="text" color="%text_color%">
1116 <font resource="font" />
1117 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1118 <text>Most of the time this is</text>
1119 </object>
1120
1121 <object type="text" color="%text_color%">
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1124 <text>the only wipe that you need.</text>
1125 </object>
1126
1127 <object type="text" color="%text_color%">
1128 <font resource="font" />
1129 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
1130 <text>Press back button to cancel.</text>
1131 </object>
1132
1133 <object type="button">
1134 <highlight color="%highlight_color%" />
1135 <placement x="%col1_x%" y="%wipe_button_y%" />
1136 <font resource="font" color="%button_text_color%" />
1137 <text>Advanced Wipe</text>
1138 <image resource="main_button" />
1139 <action function="page">advancedwipe</action>
1140 </object>
1141
1142 <object type="button">
1143 <conditions>
1144 <condition var1="tw_has_internal" var2="1" />
1145 <condition var1="tw_has_data_media" var2="1" />
1146 </conditions>
1147 <highlight color="%highlight_color%" />
1148 <placement x="%col2_x%" y="%wipe_button_y%" />
1149 <font resource="font" color="%button_text_color%" />
1150 <text>Format Data</text>
1151 <image resource="main_button" />
1152 <actions>
1153 <action function="page">formatdata</action>
1154 </actions>
1155 </object>
1156
1157 <object type="slider">
1158 <placement x="%slider_x%" y="%slider_y%" />
1159 <resource base="slider" used="slider-used" touch="slider-touch" />
1160 <actions>
1161 <action function="set">tw_back=wipe</action>
1162 <action function="set">tw_action=wipe</action>
1163 <action function="set">tw_action_param=data</action>
1164 <action function="set">tw_action_text1=Factory Reset...</action>
1165 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1166 <action function="page">action_page</action>
1167 </actions>
1168 </object>
1169
1170 <object type="text" color="%text_color%">
1171 <font resource="font" />
1172 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1173 <text>Swipe to Factory Reset</text>
1174 </object>
1175
1176 <object type="action">
1177 <touch key="back" />
1178 <action function="page">main</action>
1179 </object>
1180
1181 <object type="action">
1182 <touch key="home" />
1183 <action function="page">main</action>
1184 </object>
1185
1186 <object type="template" name="footer" />
1187 </page>
1188
1189 <page name="advancedwipe">
1190 <object type="template" name="header" />
1191
1192 <object type="text" color="%text_color%">
1193 <font resource="font" />
1194 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1195 <text>Wipe Menu</text>
1196 </object>
1197
1198 <object type="partitionlist">
1199 <highlight color="%fileselector_highlight_color%" />
1200 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1201 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1202 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1203 <text>Select Partitions to Wipe:</text>
1204 <icon selected="checkbox_true" unselected="checkbox_false" />
1205 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1206 <background color="%listbox_background%" />
1207 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1208 <data name="tw_wipe_list" />
1209 <listtype name="wipe" />
1210 </object>
1211
1212 <object type="slider">
1213 <placement x="%slider_x%" y="%slider_y%" />
1214 <resource base="slider" used="slider-used" touch="slider-touch" />
1215 <actions>
1216 <action function="set">tw_back=advancedwipe</action>
1217 <action function="set">tw_action=wipe</action>
1218 <action function="set">tw_action_param=LIST</action>
1219 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1220 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1221 <action function="set">tw_complete_text1=Wipe Complete</action>
1222 <action function="page">action_page</action>
1223 </actions>
1224 </object>
1225
1226 <object type="text" color="%text_color%">
1227 <font resource="font" />
1228 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1229 <text>Swipe to Wipe</text>
1230 </object>
1231
1232 <object type="action">
1233 <touch key="home" />
1234 <action function="page">main</action>
1235 </object>
1236
1237 <object type="action">
1238 <touch key="back" />
1239 <action function="page">wipe</action>
1240 </object>
1241
1242 <object type="template" name="footer" />
1243 </page>
1244
1245 <page name="formatdata">
1246 <object type="template" name="header" />
1247
1248 <object type="text" color="%text_color%">
1249 <font resource="font" />
1250 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1251 <text>Format Data will wipe your device,</text>
1252 </object>
1253
1254 <object type="text" color="%text_color%">
1255 <font resource="font" />
1256 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1257 <text>backups, media, and radio.</text>
1258 </object>
1259
1260 <object type="text" color="%text_color%">
1261 <font resource="font" />
1262 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1263 <text>This cannot be undone. Press back to cancel.</text>
1264 </object>
1265
1266 <object type="text" color="%text_color%">
1267 <font resource="font" />
1268 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1269 <text>Type yes to continue.</text>
1270 </object>
1271
1272 <object type="input">
1273 <placement x="%col3_x%" y="%row3_text_y%" w="%input_width_conf%" h="%input_height%" placement="0" />
1274 <background color="%input_background_color%" />
1275 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1276 <font resource="font" color="%text_color%" />
1277 <text>%tw_confirm_formatdata%</text>
1278 <data name="tw_confirm_formatdata" />
1279 <restrict minlen="3" maxlen="3" allow="yes" />
1280 <action function="page">formatdata_confirm</action>
1281 </object>
1282
1283 <object type="template" name="keyboardtemplate" />
1284
1285 <object type="action">
1286 <touch key="home" />
1287 <action function="page">main</action>
1288 </object>
1289
1290 <object type="action">
1291 <touch key="back" />
1292 <action function="page">wipe</action>
1293 </object>
1294
1295 <object type="template" name="footer" />
1296 </page>
1297
1298 <page name="formatdata_confirm">
1299 <object type="action">
1300 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1301 <actions>
1302 <action function="set">tw_back=formatdata</action>
1303 <action function="set">tw_action=wipe</action>
1304 <action function="set">tw_action_param=DATAMEDIA</action>
1305 <action function="set">tw_action_text1=Formatting Data...</action>
1306 <action function="set">tw_complete_text1=Data Format Complete</action>
1307 <action function="page">action_page</action>
1308 </actions>
1309 </object>
1310
1311 <object type="action">
1312 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1313 <action function="page">formatdata</function>
1314 </object>
1315 </page>
1316
1317 <page name="backup">
1318 <object type="template" name="header" />
1319
1320 <object type="button">
1321 <highlight color="%highlight_color%" />
1322 <fill color="%button_fill_color%" />
1323 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
1324 <font resource="font" color="%button_text_color%" />
1325 <text>Backup Name: %tw_backup_name%</text>
1326 <actions>
1327 <action function="set">tw_fileexists=0</action>
1328 <action function="page">backupname1</action>
1329 </actions>
1330 </object>
1331
1332 <object type="partitionlist">
1333 <highlight color="%fileselector_highlight_color%" />
1334 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1335 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1336 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1337 <text>Select Partitions to Back Up:</text>
1338 <icon selected="checkbox_true" unselected="checkbox_false" />
1339 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1340 <background color="%listbox_background%" />
1341 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1342 <data name="tw_backup_list" />
1343 <listtype name="backup" />
1344 </object>
1345
1346 <object type="button">
1347 <conditions>
1348 <condition var1="tw_include_encrypted_backup" var2="1" />
1349 <condition var1="tw_encrypt_backup" var2="0" />
1350 </conditions>
1351 <highlight color="%highlight_color%" />
1352 <fill color="%button_fill_color%" />
1353 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1354 <font resource="font" color="%button_text_color%" />
1355 <text>No Encryption</text>
1356 <actions>
1357 <action function="page">backupencryption</action>
1358 </actions>
1359 </object>
1360
1361 <object type="button">
1362 <conditions>
1363 <condition var1="tw_include_encrypted_backup" var2="1" />
1364 <condition var1="tw_encrypt_backup" var2="1" />
1365 </conditions>
1366 <highlight color="%highlight_color%" />
1367 <fill color="%button_fill_color%" />
1368 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1369 <font resource="font" color="%button_text_color%" />
1370 <text>Using Encryption</text>
1371 <actions>
1372 <action function="set">tw_password_not_match=0</action>
1373 <action function="page">backupencryption</action>
1374 </actions>
1375 </object>
1376
1377 <object type="button">
1378 <highlight color="%highlight_color%" />
1379 <fill color="%button_fill_color%" />
1380 <placement x="%button_refresh_x%" y="%row9_text_y%" w="%button_fill_med_width%" h="%button_fill_quarter_height%" />
1381 <font resource="font" color="%button_text_color%" />
1382 <text>Refresh</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001383 <actions>
1384 <action function="refreshsizes"></action>
1385 <action function="page">backup</action>
1386 </actions>
masteroftimeb58e6d22014-01-15 20:16:17 +00001387 </object>
1388
1389 <object type="button">
1390 <highlight color="%highlight_color%" />
1391 <fill color="%button_fill_color%" />
1392 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1393 <font resource="font" color="%button_text_color%" />
1394 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1395 <actions>
1396 <action function="set">tw_back=backup</action>
1397 <action function="page">selectstorage</action>
1398 </actions>
1399 </object>
1400
1401 <object type="checkbox">
1402 <placement x="%col1_x%" y="%row9_text_y%" />
1403 <font resource="font" color="%text_color%" />
1404 <text>Enable compression.</text>
1405 <data variable="tw_use_compression" />
1406 <image checked="checkbox_true" unchecked="checkbox_false" />
1407 </object>
1408
1409 <object type="checkbox">
1410 <placement x="%col1_x%" y="%row10_text_y%" />
1411 <font resource="font" color="%text_color%" />
1412 <text>Skip MD5 generation during backup.</text>
1413 <data variable="tw_skip_md5_generate" />
1414 <image checked="checkbox_true" unchecked="checkbox_false" />
1415 </object>
1416
1417 <object type="slider">
1418 <placement x="%slider_x%" y="slider_y" />
1419 <resource base="slider" used="slider-used" touch="slider-touch" />
1420 <action function="page">backup_run</action>
1421 </object>
1422
1423 <object type="text" color="%text_color%">
1424 <font resource="font" />
1425 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1426 <text>Swipe to Back Up</text>
1427 </object>
1428
1429 <object type="action">
1430 <touch key="home" />
1431 <action function="page">main</action>
1432 </object>
1433
1434 <object type="action">
1435 <touch key="back" />
1436 <action function="page">main</action>
1437 </object>
1438
1439 <object type="template" name="footer" />
1440 </page>
1441
1442 <page name="backupname1">
1443 <object type="action">
1444 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1445 <action function="generatebackupname"></function>
1446 </object>
1447
1448 <object type="action">
1449 <action function="page">backupname2</function>
1450 </object>
1451 </page>
1452
1453 <page name="backupname2">
1454 <object type="template" name="header" />
1455
1456 <object type="text" color="%text_color%">
1457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1458 <font resource="font" />
1459 <text>Please Enter a Backup Name</text>
1460 </object>
1461
1462 <object type="input">
1463 <placement x="%col1_x%" y="%row1_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1464 <background color="%input_background_color%" />
1465 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1466 <font resource="font" color="%text_color%" />
1467 <text>%tw_backup_name%</text>
1468 <data name="tw_backup_name" />
1469 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1470 <actions>
1471 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1472 <action function="set">tw_existpage=backupname2</action>
1473 <action function="set">tw_notexistpage=backup</action>
1474 <action function="page">filecheck</action>
1475 </actions>
1476 </object>
1477
1478 <object type="text" color="%text_fail_color%">
1479 <condition var1="tw_fileexists" var2="1" />
1480 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1481 <font resource="font" />
1482 <text>A backup with that name already exists!</text>
1483 </object>
1484
1485 <object type="button">
1486 <highlight color="%highlight_color%" />
1487 <fill color="%button_fill_color%" />
1488 <placement x="%col1_x%" y="%backup_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1489 <font resource="font" color="%button_text_color%" />
1490 <text>Append Date</text>
1491 <action function="appenddatetobackupname"></action>
1492 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05001493
masteroftimeb58e6d22014-01-15 20:16:17 +00001494 <object type="button">
1495 <highlight color="%highlight_color%" />
1496 <fill color="%button_fill_color%" />
1497 <placement x="%col2_x%" y="%backup_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1498 <font resource="font" color="%button_text_color%" />
1499 <text>Cancel</text>
1500 <action function="page">main</action>
1501 </object>
1502
1503 <object type="template" name="keyboardtemplate" />
1504
1505 <object type="action">
1506 <touch key="home" />
1507 <actions>
1508 <action function="set">tw_backup_name=(Auto Generate)</action>
1509 <action function="page">main</action>
1510 </actions>
1511 </object>
1512
1513 <object type="action">
1514 <touch key="back" />
1515 <actions>
1516 <action function="set">tw_backup_name=(Auto Generate)</action>
1517 <action function="page">backup</action>
1518 </actions>
1519 </object>
1520
1521 <object type="template" name="footer" />
1522 </page>
1523
1524 <page name="backupencryption">
1525 <object type="template" name="header" />
1526
1527 <object type="text" color="%text_color%">
1528 <font resource="font" />
1529 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1530 <text>Encrypt your backup?</text>
1531 </object>
1532
1533 <object type="text" color="%text_color%">
1534 <font resource="font" />
1535 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1536 <text>Please Enter A Password:</text>
1537 </object>
1538
1539 <object type="input">
1540 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1541 <background color="%input_background_color%" />
1542 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1543 <font resource="font" color="%text_color%" />
1544 <text>%tw_backup_encrypt_display%</text>
1545 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1546 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1547 <action function="page">backupencryption2</action>
1548 </object>
1549
1550 <object type="text" color="%text_fail_color%">
1551 <condition var1="tw_password_not_match" var2="1" />
1552 <font resource="font" />
1553 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1554 <text>Passwords Do Not Match</text>
1555 </object>
1556
1557 <object type="button">
1558 <highlight color="%highlight_color%" />
1559 <placement x="%col_center_x%" y="%row2_y%" />
1560 <font resource="font" color="%button_text_color%" />
1561 <text>Cancel</text>
1562 <image resource="main_button" />
1563 <actions>
1564 <action function="set">tw_encrypt_backup=0</action>
1565 <action function="set">tw_backup_password=</action>
1566 <action function="set">tw_backup_password2=</action>
1567 <action function="set">tw_backup_encrypt_display=</action>
1568 <action function="set">tw_backup_encrypt_display2=</action>
1569 <action function="page">backup</action>
1570 </actions>
1571 </object>
1572
1573 <object type="template" name="keyboardtemplate" />
1574
1575 <object type="action">
1576 <touch key="home" />
1577 <action function="page">main</action>
1578 </object>
1579
1580 <object type="action">
1581 <touch key="back" />
1582 <action function="page">backup</action>
1583 </object>
1584
1585 <object type="template" name="footer" />
1586 </page>
1587
1588 <page name="backupencryption2">
1589 <object type="template" name="header" />
1590
1591 <object type="text" color="%text_color%">
1592 <font resource="font" />
1593 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1594 <text>Encrypt your backup?</text>
1595 </object>
1596
1597 <object type="text" color="%text_color%">
1598 <font resource="font" />
1599 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1600 <text>Please Enter Password Again:</text>
1601 </object>
1602
1603 <object type="input">
1604 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1605 <background color="%input_background_color%" />
1606 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1607 <font resource="font" color="%text_color%" />
1608 <text>%tw_backup_encrypt_display2%</text>
1609 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1610 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1611 <actions>
1612 <action function="page">checkbackuppassword</action>
1613 </actions>
1614 </object>
1615
1616 <object type="button">
1617 <highlight color="%highlight_color%" />
1618 <placement x="%col_center_x%" y="%row2_y%" />
1619 <font resource="font" color="%button_text_color%" />
1620 <text>Cancel</text>
1621 <image resource="main_button" />
1622 <actions>
1623 <action function="set">tw_encrypt_backup=0</action>
1624 <action function="set">tw_backup_password=</action>
1625 <action function="set">tw_backup_password2=</action>
1626 <action function="set">tw_backup_encrypt_display=</action>
1627 <action function="set">tw_backup_encrypt_display2=</action>
1628 <action function="page">backup</action>
1629 </actions>
1630 </object>
1631
1632 <object type="template" name="keyboardtemplate" />
1633
1634 <object type="action">
1635 <touch key="home" />
1636 <action function="page">main</action>
1637 </object>
1638
1639 <object type="action">
1640 <touch key="back" />
1641 <action function="page">backup</action>
1642 </object>
1643
1644 <object type="template" name="footer" />
1645 </page>
1646
1647 <page name="checkbackuppassword">
1648 <object type="action">
1649 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1650 <actions>
1651 <action function="set">tw_encrypt_backup=1</action>
1652 <action function="page">backup</action>
1653 </actions>
1654 </object>
1655
1656 <object type="action">
1657 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1658 <actions>
1659 <action function="set">tw_encrypt_backup=0</action>
1660 <action function="set">tw_password_not_match=1</action>
1661 <action function="set">tw_backup_password=</action>
1662 <action function="set">tw_backup_password2=</action>
1663 <action function="set">tw_backup_encrypt_display=</action>
1664 <action function="set">tw_backup_encrypt_display2=</action>
1665 <action function="page">backupencryption</action>
1666 </actions>
1667 </object>
1668 </page>
1669
1670 <page name="backup_run">
1671 <object type="template" name="header" />
1672
1673 <object type="text" color="%text_color%">
1674 <font resource="font" />
1675 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1676 <text>%tw_operation% %tw_partition%</text>
1677 </object>
1678
1679 <object type="template" name="action_page_console" />
1680
1681 <object type="template" name="progress_bar" />
1682
1683 <object type="action">
1684 <action function="nandroid">backup</action>
1685 </object>
1686
1687 <object type="action">
1688 <condition var1="tw_operation_state" var2="1" />
1689 <actions>
1690 <action function="set">tw_back=backup</action>
1691 <action function="set">tw_complete_text1=Backup Complete</action>
1692 <action function="set">tw_show_reboot=1</action>
1693 <action function="page">action_complete</action>
1694 </actions>
1695 </object>
1696 </page>
1697
1698 <page name="restore">
1699 <object type="template" name="header" />
1700
1701 <object type="button">
1702 <highlight color="%highlight_color%" />
1703 <fill color="%button_fill_color%" />
1704 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1705 <font resource="font" color="%button_text_color%" />
1706 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1707 <actions>
1708 <action function="set">tw_back=restore</action>
1709 <action function="page">selectstorage</action>
1710 </actions>
1711 </object>
1712
1713 <object type="fileselector">
1714 <highlight color="%fileselector_highlight_color%" />
1715 <placement x="%fileselector_x%" y="%row1_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1716 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1717 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1718 <text>Select Package to Restore:</text>
1719 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1720 <sort name="tw_gui_sort_order" />
1721 <icon folder="folder_icon" file="file_icon" />
1722 <background color="%fileselector_background%" />
1723 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1724 <filter folders="1" files="0" nav="0" />
1725 <path name="tw_backups_folder" />
1726 <data name="tw_restore" default="" />
1727 <selection name="tw_restore_name" />
1728 </object>
1729
1730 <object type="template" name="sort_options" />
1731
1732 <object type="action">
1733 <condition var1="tw_restore" op="modified" />
1734 <actions>
1735 <action function="readBackup"></action>
1736 <action function="page">restore_read</action>
1737 </actions>
1738 </object>
1739
1740 <object type="action">
1741 <touch key="home" />
1742 <action function="page">main</action>
1743 </object>
1744
1745 <object type="action">
1746 <touch key="back" />
1747 <action function="page">main</action>
1748 </object>
1749
1750 <object type="template" name="footer" />
1751 </page>
1752
1753 <page name="restore_read">
1754 <object type="action">
1755 <condition var1="tw_restore_encrypted" var2="1" />
1756 <actions>
1757 <action function="set">tw_password_fail=0</action>
1758 <action function="page">restore_decrypt</action>
1759 </actions>
1760 </object>
1761
1762 <object type="action">
1763 <condition var1="tw_restore_encrypted" var2="0" />
1764 <actions>
1765 <action function="page">restore_select</action>
1766 </actions>
1767 </object>
1768 </page>
1769
1770 <page name="restore_decrypt">
1771 <object type="template" name="header" />
1772
1773 <object type="text" color="%text_color%">
1774 <font resource="font" />
1775 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1776 <text>Backup Encrypted</text>
1777 </object>
1778
1779 <object type="text" color="%text_color%">
1780 <font resource="font" />
1781 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1782 <text>Please Enter Your Password:</text>
1783 </object>
1784
1785 <object type="input">
1786 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1787 <background color="%input_background_color%" />
1788 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1789 <font resource="font" color="%text_color%" />
1790 <text>%tw_restore_display%</text>
1791 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1792 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1793 <actions>
1794 <action function="page">try_restore_decrypt</action>
1795 </actions>
1796 </object>
1797
1798 <object type="text" color="%text_fail_color%">
1799 <condition var1="tw_password_fail" var2="1" />
1800 <font resource="font" />
1801 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1802 <text>Password Failed, Please Try Again</text>
1803 </object>
1804
1805 <object type="button">
1806 <highlight color="%highlight_color%" />
1807 <placement x="%col1_x%" y="%row2_y%" />
1808 <font resource="font" color="%button_text_color%" />
1809 <text>Cancel</text>
1810 <image resource="main_button" />
1811 <actions>
1812 <action function="set">tw_page_done=1</action>
1813 <action function="page">restore</action>
1814 </actions>
1815 </object>
1816
1817 <object type="button">
1818 <highlight color="%highlight_color%" />
1819 <placement x="%col2_x%" y="%row2_y%" />
1820 <font resource="font" color="%button_text_color%" />
1821 <text>Delete</text>
1822 <image resource="main_button" />
1823 <actions>
1824 <action function="set">tw_back=restore</action>
1825 <action function="set">tw_action=cmd</action>
1826 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1827 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1828 <action function="set">tw_text2=This cannot be undone!</action>
1829 <action function="set">tw_action_text1=Deleting Backup...</action>
1830 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1831 <action function="set">tw_slider_text=Swipe to Delete</action>
1832 <action function="page">confirm_action</action>
1833 </actions>
1834 </object>
1835
1836 <object type="template" name="keyboardtemplate" />
1837
1838 <object type="action">
1839 <touch key="home" />
1840 <action function="page">main</action>
1841 </object>
1842
1843 <object type="action">
1844 <touch key="back" />
1845 <action function="page">restore</action>
1846 </object>
1847
1848 <object type="template" name="footer" />
1849 </page>
1850
1851 <page name="try_restore_decrypt">
1852 <object type="template" name="header" />
1853
1854 <object type="text" color="%text_color%">
1855 <font resource="font" />
1856 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1857 <text>Trying Decryption with Your Password</text>
1858 </object>
1859
1860 <object type="template" name="action_page_console" />
1861
1862 <object type="template" name="progress_bar" />
1863
1864 <object type="action">
1865 <action function="decrypt_backup"></action>
1866 </object>
1867
1868 <object type="action">
1869 <conditions>
1870 <condition var1="tw_operation_state" var2="1" />
1871 <condition var1="tw_operation_status" op="!=" var2="0" />
1872 </conditions>
1873 <actions>
1874 <action function="set">tw_password_fail=1</action>
1875 <action function="page">restore_decrypt</action>
1876 </actions>
1877 </object>
1878
1879 <object type="action">
1880 <conditions>
1881 <condition var1="tw_operation_state" var2="1" />
1882 <condition var1="tw_operation_status" op="=" var2="0" />
1883 </conditions>
1884 <actions>
1885 <action function="set">tw_page_done=1</action>
1886 <action function="page">restore_select</action>
1887 </actions>
1888 </object>
1889 </page>
1890
1891 <page name="restore_select">
1892 <object type="template" name="header" />
1893
1894 <object type="partitionlist">
1895 <highlight color="%fileselector_highlight_color%" />
1896 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1897 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1898 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1899 <text>Restoring: %tw_restore_name%</text>
1900 <icon selected="checkbox_true" unselected="checkbox_false" />
1901 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1902 <background color="%listbox_background%" />
1903 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1904 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1905 <listtype name="restore" />
1906 </object>
1907
1908 <object type="button">
1909 <highlight color="%highlight_color%" />
1910 <fill color="%button_fill_color%" />
1911 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1912 <font resource="font" color="%button_text_color%" />
1913 <text>Rename Backup</text>
1914 <actions>
1915 <action function="set">tw_backup_rename=</action>
1916 <action function="set">tw_fileexists=0</action>
1917 <action function="page">renamebackup</action>
1918 </actions>
1919 </object>
1920
1921 <object type="button">
1922 <highlight color="%highlight_color%" />
1923 <fill color="%button_fill_color%" />
1924 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1925 <font resource="font" color="%button_text_color%" />
1926 <text>Delete Backup</text>
1927 <actions>
1928 <action function="set">tw_back=restore</action>
1929 <action function="set">tw_action=cmd</action>
1930 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1931 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1932 <action function="set">tw_text2=This cannot be undone!</action>
1933 <action function="set">tw_action_text1=Deleting Backup...</action>
1934 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1935 <action function="set">tw_slider_text=Swipe to Delete</action>
1936 <action function="page">confirm_action</action>
1937 </actions>
1938 </object>
1939
1940 <object type="checkbox">
1941 <placement x="%col1_x%" y="%row9_text_y%" />
1942 <font resource="font" color="%text_color%" />
1943 <text>Enable MD5 verification of backup files.</text>
1944 <data variable="tw_skip_md5_check" />
1945 <image checked="checkbox_true" unchecked="checkbox_false" />
1946 </object>
1947
1948 <object type="text" color="%text_color%">
1949 <font resource="font" />
1950 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
1951 <text>Package Date: %tw_restore_file_date%</text>
1952 </object>
1953
1954 <object type="slider">
1955 <placement x="%slider_x%" y="%slider_y%" />
1956 <resource base="slider" used="slider-used" touch="slider-touch" />
1957 <action function="page">restore_run</action>
1958 </object>
1959
1960 <object type="text" color="%text_color%">
1961 <font resource="font" />
1962 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1963 <text>Swipe to Restore</text>
1964 </object>
1965
1966 <object type="action">
1967 <touch key="home" />
1968 <action function="page">main</action>
1969 </object>
1970
1971 <object type="action">
1972 <touch key="back" />
1973 <action function="page">restore</action>
1974 </object>
1975
1976 <object type="template" name="footer" />
1977 </page>
1978
1979 <page name="renamebackup">
1980 <object type="template" name="header" />
1981
1982 <object type="text" color="%text_color%">
1983 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1984 <font resource="font" />
1985 <text>Please Enter a New Backup Name</text>
1986 </object>
1987
1988 <object type="input">
1989 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1990 <background color="%input_background_color%" />
1991 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1992 <font resource="font" color="%text_color%" />
1993 <text>%tw_backup_rename%</text>
1994 <data name="tw_backup_rename" />
1995 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1996 <actions>
1997 <action function="set">tw_back=restore</action>
1998 <action function="set">tw_action=cmd</action>
1999 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2000 <action function="set">tw_text1=Rename Backup?</action>
2001 <action function="set">tw_text2=This cannot be undone!</action>
2002 <action function="set">tw_action_text1=Renaming Backup...</action>
2003 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2004 <action function="set">tw_slider_text=Swipe to Rename</action>
2005 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2006 <action function="set">tw_existpage=renamebackup</action>
2007 <action function="set">tw_notexistpage=confirm_action</action>
2008 <action function="page">filecheck</action>
2009 </actions>
2010 </object>
2011
2012 <object type="text" color="%text_fail_color%">
2013 <condition var1="tw_fileexists" var2="1" />
2014 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2015 <font resource="font" />
2016 <text>A backup with that name already exists!</text>
2017 </object>
2018
2019 <object type="button">
2020 <highlight color="%highlight_color%" />
2021 <placement x="%col_center_x%" y="%row2_y%" />
2022 <font resource="font" color="%button_text_color%" />
2023 <text>Cancel</text>
2024 <image resource="main_button" />
2025 <action function="page">restore_select</action>
2026 </object>
2027
2028 <object type="template" name="keyboardtemplate" />
2029
2030 <object type="action">
2031 <touch key="home" />
2032 <action function="page">main</action>
2033 </object>
2034
2035 <object type="action">
2036 <touch key="back" />
2037 <action function="page">restore_select</action>
2038 </object>
2039
2040 <object type="template" name="footer" />
2041 </page>
2042
2043 <page name="restore_run">
2044 <object type="template" name="header" />
2045
2046 <object type="text" color="%text_color%">
2047 <font resource="font" />
2048 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2049 <text>%tw_operation% %tw_partition%</text>
2050 </object>
2051
2052 <object type="template" name="action_page_console" />
2053
2054 <object type="template" name="progress_bar" />
2055
2056 <object type="action">
2057 <condition var1="tw_operation_state" var2="1" />
2058 <actions>
2059 <action function="set">tw_back=restore_select</action>
2060 <action function="set">tw_complete_text1=Restore Complete</action>
2061 <action function="set">tw_show_reboot=1</action>
2062 <action function="page">action_complete</action>
2063 </actions>
2064 </object>
2065
2066 <object type="action">
2067 <action function="nandroid">restore</action>
2068 </object>
2069 </page>
2070
2071 <page name="selectstorage">
2072 <object type="template" name="header" />
2073
2074 <object type="partitionlist">
2075 <highlight color="%fileselector_highlight_color%" />
2076 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2077 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2078 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2079 <text>Select Storage:</text>
2080 <icon selected="radio_true" unselected="radio_false" />
2081 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2082 <background color="%listbox_background%" />
2083 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2084 <data name="tw_storage_path" />
2085 <listtype name="storage" />
2086 </object>
2087
2088 <object type="button">
2089 <highlight color="%highlight_color%" />
2090 <placement x="%col_center_x%" y="%row5_y%" />
2091 <font resource="font" color="%button_text_color%" />
2092 <text>OK</text>
2093 <image resource="main_button" />
2094 <actions>
2095 <action function="set">tw_clear_destination=%tw_back%</action>
2096 <action function="page">clear_vars</action>
2097 </actions>
2098 </object>
2099
2100 <object type="action">
2101 <touch key="home" />
2102 <action function="page">main</action>
2103 </object>
2104
2105 <object type="action">
2106 <touch key="back" />
2107 <actions>
2108 <action function="page">%tw_back%</action>
2109 </actions>
2110 </object>
2111
2112 <object type="template" name="footer" />
2113 </page>
2114
2115 <page name="mount">
2116 <object type="template" name="header" />
2117
2118 <object type="partitionlist">
2119 <highlight color="%fileselector_highlight_color%" />
2120 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2121 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2122 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2123 <text>Select Partitions to Mount:</text>
2124 <icon selected="checkbox_true" unselected="checkbox_false" />
2125 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2126 <background color="%listbox_background%" />
2127 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2128 <listtype name="mount" />
2129 </object>
2130
2131 <object type="button">
2132 <highlight color="%highlight_color%" />
2133 <fill color="%button_fill_color%" />
2134 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2135 <font resource="font" color="%button_text_color%" />
2136 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2137 <actions>
2138 <action function="set">tw_back=mount</action>
2139 <action function="page">selectstorage</action>
2140 </actions>
2141 </object>
2142
2143 <object type="button">
2144 <highlight color="%highlight_color%" />
2145 <condition var1="tw_has_usb_storage" var2="1" />
Dees Troy54a69f42014-03-06 14:22:28 +00002146 <placement x="%col_center_x%" y="%row5_y%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002147 <font resource="font" color="%button_text_color%" />
Dees Troy54a69f42014-03-06 14:22:28 +00002148 <text>Mount USB</text>
masteroftimeb58e6d22014-01-15 20:16:17 +00002149 <image resource="main_button" />
2150 <action function="page">usb_mount</action>
2151 </object>
2152
2153 <object type="button">
2154 <highlight color="%highlight_color%" />
2155 <conditions>
2156 <condition var1="tw_is_encrypted" var2="1" />
2157 <condition var1="tw_is_decrypted" var2="0" />
2158 </conditions>
2159 <placement x="%col2_x%" y="row4_y" />
2160 <font resource="font" color="%button_text_color%" />
2161 <text>Decrypt Data</text>
2162 <image resource="main_button" />
2163 <action function="page">decrypt</action>
2164 </object>
2165
2166 <object type="action">
2167 <touch key="home" />
2168 <action function="page">main</action>
2169 </object>
2170
2171 <object type="action">
2172 <touch key="back" />
2173 <action function="page">main</action>
2174 </object>
2175
2176 <object type="template" name="footer" />
2177 </page>
2178
2179 <page name="usb_mount">
2180 <object type="template" name="header" />
2181
2182 <object type="text" color="%text_color%">
2183 <font resource="font" />
2184 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2185 <text>USB Storage Mounted</text>
2186 </object>
2187
2188 <object type="text" color="%text_color%">
2189 <placement x="%col1_x%" y="%row1_text_y%" />
2190 <font resource="font" />
2191 <text>Be sure to safely remove your device</text>
2192 </object>
2193
2194 <object type="text" color="%text_color%">
2195 <placement x="%col1_x%" y="%row2_text_y%" />
2196 <font resource="font" />
2197 <text>from your computer before unmounting!</text>
2198 </object>
2199
2200 <object type="button">
2201 <highlight color="%highlight_color%" />
2202 <placement x="%col1_x%" y="%row3_y%" />
2203 <font resource="font" color="%button_text_color%" />
2204 <text>Unmount</text>
2205 <image resource="main_button" />
2206 <action function="page">usb_umount</action>
2207 </object>
2208
2209 <object type="action">
2210 <action function="mount">usb</action>
2211 </object>
2212
2213 <object type="template" name="footer" />
2214 </page>
2215
2216 <page name="usb_umount">
2217 <object type="action">
2218 <action function="unmount">usb</action>
2219 </object>
2220
2221 <object type="action">
2222 <action function="page">mount</action>
2223 </object>
2224 </page>
2225
2226 <page name="reboot">
2227 <object type="template" name="header" />
2228
2229 <object type="text" color="%text_color%">
2230 <font resource="font" />
2231 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2232 <text>Reboot Menu</text>
2233 </object>
2234
2235 <object type="button">
2236 <highlight color="%highlight_color%" />
2237 <condition var1="tw_reboot_system" var2="1" />
2238 <placement x="%col1_x%" y="%row1_y%" />
2239 <font resource="font" color="%button_text_color%" />
2240 <text>System</text>
2241 <image resource="main_button" />
2242 <actions>
2243 <action function="set">tw_back=reboot</action>
2244 <action function="set">tw_action=reboot</action>
2245 <action function="set">tw_action_param=system</action>
2246 <action function="set">tw_has_action2=0</action>
2247 <action function="set">tw_text1=No OS Installed! Are you</action>
2248 <action function="set">tw_text2=sure you wish to reboot?</action>
2249 <action function="set">tw_action_text1=Rebooting...</action>
2250 <action function="set">tw_complete_text1=Rebooting...</action>
2251 <action function="set">tw_slider_text=Swipe to Reboot</action>
2252 <action function="page">rebootcheck</action>
2253 </actions>
2254 </object>
2255
2256 <object type="button">
2257 <highlight color="%highlight_color%" />
2258 <condition var1="tw_reboot_poweroff" var2="1" />
2259 <placement x="%col2_x%" y="%row1_y%" />
2260 <font resource="font" color="%button_text_color%" />
2261 <text>Power Off</text>
2262 <image resource="main_button" />
2263 <actions>
2264 <action function="set">tw_back=reboot</action>
2265 <action function="set">tw_action=reboot</action>
2266 <action function="set">tw_action_param=poweroff</action>
2267 <action function="set">tw_has_action2=0</action>
2268 <action function="set">tw_text1=No OS Installed! Are you</action>
2269 <action function="set">tw_text2=sure you wish to power off?</action>
2270 <action function="set">tw_action_text1=Turning Off...</action>
2271 <action function="set">tw_complete_text1=Turning Off...</action>
2272 <action function="set">tw_slider_text=Swipe to Power Off</action>
2273 <action function="page">rebootcheck</action>
2274 </actions>
2275 </object>
2276
2277 <object type="button">
2278 <highlight color="%highlight_color%" />
2279 <condition var1="tw_reboot_recovery" var2="1" />
2280 <placement x="%col1_x%" y="%row2_y%" />
2281 <font resource="font" color="%button_text_color%" />
2282 <text>Recovery</text>
2283 <image resource="main_button" />
2284 <actions>
2285 <action function="set">tw_back=reboot</action>
2286 <action function="set">tw_action=reboot</action>
2287 <action function="set">tw_action_param=recovery</action>
2288 <action function="set">tw_has_action2=0</action>
2289 <action function="set">tw_text1=No OS Installed! Are you</action>
2290 <action function="set">tw_text2=sure you wish to reboot?</action>
2291 <action function="set">tw_action_text1=Rebooting...</action>
2292 <action function="set">tw_complete_text1=Rebooting...</action>
2293 <action function="set">tw_slider_text=Swipe to Reboot</action>
2294 <action function="page">rebootcheck</action>
2295 </actions>
2296 </object>
2297
2298 <object type="button">
2299 <highlight color="%highlight_color%" />
2300 <condition var1="tw_reboot_bootloader" var2="1" />
2301 <placement x="%col2_x%" y="%row2_y%" />
2302 <font resource="font" color="%button_text_color%" />
2303 <text>Bootloader</text>
2304 <image resource="main_button" />
2305 <actions>
2306 <action function="set">tw_back=reboot</action>
2307 <action function="set">tw_action=reboot</action>
2308 <action function="set">tw_action_param=bootloader</action>
2309 <action function="set">tw_has_action2=0</action>
2310 <action function="set">tw_text1=No OS Installed! Are you</action>
2311 <action function="set">tw_text2=sure you wish to reboot?</action>
2312 <action function="set">tw_action_text1=Rebooting...</action>
2313 <action function="set">tw_complete_text1=Rebooting...</action>
2314 <action function="set">tw_slider_text=Swipe to Reboot</action>
2315 <action function="page">rebootcheck</action>
2316 </actions>
2317 </object>
2318
2319 <object type="button">
2320 <highlight color="%highlight_color%" />
2321 <condition var1="tw_download_mode" var2="1" />
2322 <placement x="%col1_x%" y="%row3_y%" />
2323 <font resource="font" color="%button_text_color%" />
2324 <text>Download</text>
2325 <image resource="main_button" />
2326 <actions>
2327 <action function="set">tw_back=reboot</action>
2328 <action function="set">tw_action=reboot</action>
2329 <action function="set">tw_action_param=download</action>
2330 <action function="set">tw_has_action2=0</action>
2331 <action function="set">tw_text1=No OS Installed! Are you</action>
2332 <action function="set">tw_text2=sure you wish to reboot?</action>
2333 <action function="set">tw_action_text1=Rebooting...</action>
2334 <action function="set">tw_complete_text1=Rebooting...</action>
2335 <action function="set">tw_slider_text=Swipe to Reboot</action>
2336 <action function="page">rebootcheck</action>
2337 </actions>
2338 </object>
2339
2340 <object type="action">
2341 <touch key="home" />
2342 <action function="page">main</action>
2343 </object>
2344
2345 <object type="action">
2346 <touch key="back" />
2347 <action function="page">main</action>
2348 </object>
2349
2350 <object type="template" name="footer" />
2351 </page>
2352
2353 <page name="settings">
2354 <object type="template" name="header" />
2355
2356 <object type="text" color="%text_color%">
2357 <font resource="font" />
2358 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2359 <text>Settings</text>
2360 </object>
2361
2362 <object type="checkbox">
2363 <placement x="%col1_x%" y="%row1_text_y%" />
2364 <font resource="font" color="%text_color%" />
2365 <text>Zip file signature verification.</text>
2366 <data variable="tw_signed_zip_verify" />
2367 <image checked="checkbox_true" unchecked="checkbox_false" />
2368 </object>
2369
2370 <object type="checkbox">
2371 <placement x="%col1_x%" y="%row2_text_y%" />
2372 <font resource="font" color="%text_color%" />
2373 <text>Use rm -rf instead of formatting.</text>
2374 <data variable="tw_rm_rf" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
2379 <placement x="%col1_x%" y="%row3_text_y%" />
2380 <font resource="font" color="%text_color%" />
2381 <text>Skip MD5 generation during backup.</text>
2382 <data variable="tw_skip_md5_generate" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
2387 <placement x="%col1_x%" y="%row4_text_y%" />
2388 <font resource="font" color="%text_color%" />
2389 <text>Enable MD5 verification of backup files.</text>
2390 <data variable="tw_skip_md5_check" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
2395 <placement x="%col1_x%" y="%row5_text_y%" />
2396 <font resource="font" color="%text_color%" />
2397 <text>Use Military Time.</text>
2398 <data variable="tw_military_time" />
2399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
2403 <placement x="%col1_x%" y="%row6_text_y%" />
2404 <font resource="font" color="%text_color%" />
2405 <text>Simulate actions for theme testing.</text>
2406 <data variable="tw_simulate_actions" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
2411 <condition var1="tw_simulate_actions" var2="1" />
2412 <placement x="%col1_x%" y="%row7_text_y%" />
2413 <font resource="font" color="%text_color%" />
2414 <text>Simulate failure for actions.</text>
2415 <data variable="tw_simulate_fail" />
2416 <image checked="checkbox_true" unchecked="checkbox_false" />
2417 </object>
2418
2419 <object type="button">
2420 <highlight color="%highlight_color%" />
2421 <placement x="%col1_x%" y="%row4_y%" />
2422 <font resource="font" color="%button_text_color%" />
2423 <text>Time Zone</text>
2424 <image resource="main_button" />
2425 <action function="page">timezone</action>
2426 </object>
2427
2428 <object type="button">
2429 <highlight color="%highlight_color%" />
2430 <placement x="%col2_x%" y="%row4_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Screen</text>
2433 <image resource="main_button" />
2434 <action function="page">screen</action>
2435 </object>
2436
2437 <object type="button">
2438 <placement x="%col_center_x%" y="%row5_y%" />
2439 <font resource="font" color="%button_text_color%" />
2440 <text>Restore Defaults</text>
2441 <image resource="main_button" />
2442 <action function="restoredefaultsettings"></action>
2443 </object>
2444
2445 <object type="action">
2446 <touch key="home" />
2447 <action function="page">main</action>
2448 </object>
2449
2450 <object type="action">
2451 <touch key="back" />
2452 <action function="page">main</action>
2453 </object>
2454
2455 <object type="template" name="footer" />
2456 </page>
2457
2458 <page name="timezone">
2459 <object type="template" name="header" />
2460
2461 <object type="listbox">
2462 <highlight color="%fileselector_highlight_color%" />
2463 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2464 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2465 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2466 <text>Select Time Zone (currently %tw_time_zone%):</text>
2467 <icon selected="radio_true" unselected="radio_false" />
2468 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2469 <background color="%listbox_background%" />
2470 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2471 <data name="tw_time_zone_guisel" />
2472 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2473 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2474 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2475 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2476 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2477 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2478 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2479 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2480 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2481 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2482 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2483 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2484 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2485 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2486 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2487 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2488 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2489 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2490 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2491 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2492 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2493 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2494 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2495 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2496 </object>
2497
2498 <object type="checkbox">
2499 <placement x="%col1_x%" y="%row_dst_text_y%" />
2500 <font resource="font" color="%text_color%" />
2501 <text>Do you use daylight savings time?</text>
2502 <data variable="tw_time_zone_guidst" />
2503 <image checked="checkbox_true" unchecked="checkbox_false" />
2504 </object>
2505
2506 <object type="text" color="%text_color%">
2507 <font resource="font" />
2508 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2509 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2510 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002511
masteroftimeb58e6d22014-01-15 20:16:17 +00002512 <object type="button">
2513 <highlight color="%highlight_color%" />
2514 <fill color="%button_fill_color%" />
2515 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2516 <font resource="font" color="%button_text_color%" />
2517 <text>None</text>
2518 <action function="set">tw_time_zone_guioffset=0</action>
2519 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002520
masteroftimeb58e6d22014-01-15 20:16:17 +00002521 <object type="button">
2522 <highlight color="%highlight_color%" />
2523 <fill color="%button_fill_color%" />
2524 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2525 <font resource="font" color="%button_text_color%" />
2526 <text>15</text>
2527 <action function="set">tw_time_zone_guioffset=15</action>
2528 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002529
masteroftimeb58e6d22014-01-15 20:16:17 +00002530 <object type="button">
2531 <highlight color="%highlight_color%" />
2532 <fill color="%button_fill_color%" />
2533 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2534 <font resource="font" color="%button_text_color%" />
2535 <text>30</text>
2536 <action function="set">tw_time_zone_guioffset=30</action>
2537 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002538
masteroftimeb58e6d22014-01-15 20:16:17 +00002539 <object type="button">
2540 <highlight color="%highlight_color%" />
2541 <fill color="%button_fill_color%" />
2542 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" w="%button_fill_small_width%" h="%button_fill_quarter_height%" />
2543 <font resource="font" color="%button_text_color%" />
2544 <text>45</text>
2545 <action function="set">tw_time_zone_guioffset=45</action>
2546 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002547
masteroftimeb58e6d22014-01-15 20:16:17 +00002548 <object type="button">
2549 <highlight color="%highlight_color%" />
2550 <placement x="%col_center_x%" y="%tz_set_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text>Set Time Zone</text>
2553 <image resource="main_button" />
2554 <action function="setguitimezone"></action>
2555 </object>
2556
2557 <object type="action">
2558 <touch key="home" />
2559 <action function="page">main</action>
2560 </object>
2561
2562 <object type="action">
2563 <touch key="back" />
2564 <action function="page">settings</action>
2565 </object>
2566
2567 <object type="template" name="footer" />
2568 </page>
2569
2570 <page name="screen">
2571 <object type="template" name="header" />
2572
2573 <object type="text" color="%text_color%">
2574 <font resource="font" />
2575 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2576 <text>Screen Settings</text>
2577 </object>
2578
2579 <object type="button">
2580 <placement x="%col1_x%" y="%row2_text_y%" />
2581 <font resource="font" color="%text_color%" />
2582 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2583 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2584 <text>Enable screen timeout.</text>
2585 <image resource="checkbox_false" />
2586 <action function="set">tw_screen_timeout_secs=60</action>
2587 </object>
2588
2589 <object type="button">
2590 <placement x="%col1_x%" y="%row2_text_y%" />
2591 <font resource="font" color="%text_color%" />
2592 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2593 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2594 <text>Enable screen timeout.</text>
2595 <image resource="checkbox_true" />
2596 <action function="set">tw_screen_timeout_secs=0</action>
2597 </object>
2598
2599 <object type="slidervalue">
2600 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2601 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2602 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2603 <font resource="font" color="%text_color%" />
2604 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2605 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2606 <text>Screen timeout in seconds:</text>
2607 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2608 </object>
2609
2610 <object type="slidervalue">
2611 <condition var1="tw_has_brightnesss_file" var2="1" />
Dees Troy54a69f42014-03-06 14:22:28 +00002612 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
masteroftimeb58e6d22014-01-15 20:16:17 +00002613 <font resource="font" color="%text_color%" />
2614 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2615 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2616 <text>Brightness: %tw_brightness_pct%%</text>
2617 <data variable="tw_brightness_pct" min="10" max="100" />
2618 <actions>
2619 <action function="set">tw_brightness=%tw_brightness_max%</action>
2620 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2621 <action function="compute">tw_brightness/100</action>
2622 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
2623 </actions>
2624 </object>
2625
2626 <object type="action">
2627 <touch key="home" />
2628 <action function="page">main</action>
2629 </object>
2630
2631 <object type="action">
2632 <touch key="back" />
2633 <action function="page">settings</action>
2634 </object>
2635
2636 <object type="template" name="footer" />
2637 </page>
2638
2639 <page name="advanced">
2640 <object type="template" name="header" />
2641
2642 <object type="text" color="%text_color%">
2643 <font resource="font" />
2644 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2645 <text>Advanced</text>
2646 </object>
2647
2648 <object type="button">
2649 <highlight color="%highlight_color%" />
2650 <placement x="%col1_x%" y="%row1_y%" />
2651 <font resource="font" color="%button_text_color%" />
2652 <text>Copy Log to SD</text>
2653 <image resource="main_button" />
2654 <actions>
2655 <action function="set">tw_back=advanced</action>
2656 <action function="set">tw_action=copylog</action>
2657 <action function="set">tw_text1=Copy Log to SD Card?</action>
2658 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2659 <action function="set">tw_complete_text1=Log Copy Complete</action>
2660 <action function="set">tw_slider_text=Swipe to Confirm</action>
2661 <action function="page">confirm_action</action>
2662 </actions>
2663 </object>
2664
2665 <object type="button">
2666 <highlight color="%highlight_color%" />
2667 <placement x="%col2_x%" y="%row1_y%" />
2668 <font resource="font" color="%button_text_color%" />
2669 <text>Fix Permissions</text>
2670 <image resource="main_button" />
2671 <actions>
2672 <action function="set">tw_back=advanced</action>
2673 <action function="set">tw_action=fixpermissions</action>
2674 <action function="set">tw_text1=Fix Permissions?</action>
2675 <action function="set">tw_action_text1=Fixing Permissions...</action>
2676 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2677 <action function="set">tw_slider_text=Swipe to Confirm</action>
2678 <action function="set">tw_show_reboot=1</action>
2679 <action function="page">confirm_action</action>
2680 </actions>
2681 </object>
2682
2683 <object type="button">
2684 <highlight color="%highlight_color%" />
2685 <condition var1="tw_allow_partition_sdcard" var2="1" />
2686 <placement x="%col1_x%" y="%row2_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>Partition SD-Ext</text>
2689 <image resource="main_button" />
2690 <action function="page">partsdcard</action>
2691 </object>
2692
2693 <object type="button">
2694 <highlight color="%highlight_color%" />
2695 <placement x="%col2_x%" y="%row2_y%" />
2696 <font resource="font" color="%button_text_color%" />
2697 <text>File Manager</text>
2698 <image resource="main_button" />
2699 <action function="page">filemanagerlist</action>
2700 </object>
2701
2702 <object type="button">
2703 <highlight color="%highlight_color%" />
2704 <placement x="%col1_x%" y="%row3_y%" />
2705 <font resource="font" color="%button_text_color%" />
2706 <text>Terminal</text>
2707 <image resource="main_button" />
2708 <action function="page">terminalfolder</action>
2709 </object>
2710
2711 <object type="button">
2712 <highlight color="%highlight_color%" />
2713 <placement x="%col2_x%" y="%row3_y%" />
2714 <font resource="font" color="%button_text_color%" />
2715 <text>Reload Theme</text>
2716 <image resource="main_button" />
2717 <action function="reload"></action>
2718 </object>
2719
2720 <object type="button">
2721 <highlight color="%highlight_color%" />
2722 <placement x="%col1_x%" y="%row4_y%" />
2723 <font resource="font" color="%button_text_color%" />
2724 <text>ADB Sideload</text>
2725 <image resource="main_button" />
2726 <action function="page">sideload</action>
2727 </object>
2728
2729 <object type="button">
2730 <highlight color="%highlight_color%" />
2731 <condition var1="tw_show_dumlock" var2="1" />
2732 <placement x="%col2_x%" y="%row4_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text>HTC Dumlock</text>
2735 <image resource="main_button" />
2736 <action function="page">htcdumlock</action>
2737 </object>
2738
2739 <object type="button">
2740 <highlight color="%highlight_color%" />
2741 <condition var1="tw_has_injecttwrp" var2="1" />
2742 <placement x="%col2_x%" y="%row4_y%" />
2743 <font resource="font" color="%button_text_color%" />
2744 <text>Re-Inject TWRP</text>
2745 <image resource="main_button" />
2746 <actions>
2747 <action function="set">tw_back=advanced</action>
2748 <action function="set">tw_action=reinjecttwrp</action>
2749 <action function="set">tw_text1=Re-Inject TWRP?</action>
2750 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2751 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2752 <action function="set">tw_slider_text=Swipe to Confirm</action>
2753 <action function="page">confirm_action</action>
2754 </actions>
2755 </object>
2756
2757 <object type="action">
2758 <touch key="home" />
2759 <action function="page">main</action>
2760 </object>
2761
2762 <object type="action">
2763 <touch key="back" />
2764 <action function="page">main</action>
2765 </object>
2766
2767 <object type="template" name="footer" />
2768 </page>
2769
2770 <page name="partsdcard">
2771 <object type="template" name="header" />
2772
2773 <object type="text" color="%text_color%">
2774 <font resource="font" />
2775 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2776 <text>Partition SD Card</text>
2777 </object>
2778
2779 <object type="button">
2780 <highlight color="%highlight_color%" />
2781 <placement x="%col1_x%" y="%row1_y%" />
2782 <font resource="font" color="%button_text_color%" />
2783 <text></text>
2784 <image resource="minus_button" />
2785 <action function="addsubtract">tw_sdext_size-128</action>
2786 </object>
2787
2788 <object type="button">
2789 <highlight color="%highlight_color%" />
2790 <placement x="%sd_plus_x%" y="%row1_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text></text>
2793 <image resource="plus_button" />
2794 <action function="addsubtract">tw_sdext_size+128</action>
2795 </object>
2796
2797 <object type="text" color="%text_color%">
2798 <font resource="font" />
2799 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2800 <text>EXT Size: %tw_sdext_size%</text>
2801 </object>
2802
2803 <object type="button">
2804 <highlight color="%highlight_color%" />
2805 <placement x="%col1_x%" y="%sdswap_button_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text></text>
2808 <image resource="minus_button" />
2809 <action function="addsubtract">tw_swap_size-32</action>
2810 </object>
2811
2812 <object type="button">
2813 <highlight color="%highlight_color%" />
2814 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text></text>
2817 <image resource="plus_button" />
2818 <action function="addsubtract">tw_swap_size+32</action>
2819 </object>
2820
2821 <object type="text" color="%text_color%">
2822 <font resource="font" />
2823 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2824 <text>Swap Size: %tw_swap_size%</text>
2825 </object>
2826
2827 <object type="text" color="%text_color%">
2828 <font resource="font" />
2829 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2830 <text>File system: %tw_sdpart_file_system%</text>
2831 </object>
2832
2833 <object type="button">
2834 <highlight color="%highlight_color%" />
2835 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2836 <font resource="font" color="%button_text_color%" />
2837 <text>EXT3</text>
2838 <image resource="main_button" />
2839 <action function="set">tw_sdpart_file_system=ext3</action>
2840 </object>
2841
2842 <object type="button">
2843 <highlight color="%highlight_color%" />
2844 <condition var1="tw_sdext_disable_ext4" var2="0" />
2845 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2846 <font resource="font" color="%button_text_color%" />
2847 <text>EXT4</text>
2848 <image resource="main_button" />
2849 <action function="set">tw_sdpart_file_system=ext4</action>
2850 </object>
2851
2852 <object type="text" color="%text_color%">
2853 <font resource="font" />
2854 <placement x="%col1_x%" y="%row12_text_y%" />
2855 <text>You will lose all files on your SD card!</text>
2856 </object>
2857
2858 <object type="text" color="%text_color%">
2859 <font resource="font" />
2860 <placement x="%col1_x%" y="%row13_text_y%" />
2861 <text>This action cannot be undone!</text>
2862 </object>
2863
2864 <object type="slider">
2865 <placement x="%slider_x%" y="%slider_y%" />
2866 <resource base="slider" used="slider-used" touch="slider-touch" />
2867 <action function="page">partsdcardaction</action>
2868 <actions>
2869 <action function="set">tw_back=partsdcard</action>
2870 <action function="set">tw_action=partitionsd</action>
2871 <action function="set">tw_has_action2=1</action>
2872 <action function="set">tw_action2=set</action>
2873 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2874 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2875 <action function="set">tw_action_text2=This will take a few minutes.</action>
2876 <action function="set">tw_complete_text1=Partitioning Complete</action>
2877 <action function="page">action_page</action>
2878 </actions>
2879 </object>
2880
2881 <object type="text" color="%text_color%">
2882 <font resource="font" />
2883 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2884 <text>Swipe to Partition</text>
2885 </object>
2886
2887 <object type="action">
2888 <touch key="home" />
2889 <action function="page">main</action>
2890 </object>
2891
2892 <object type="action">
2893 <touch key="back" />
2894 <action function="page">advanced</action>
2895 </object>
2896
2897 <object type="template" name="footer" />
2898 </page>
2899
2900 <page name="htcdumlock">
2901 <object type="template" name="header" />
2902
2903 <object type="text" color="%text_color%">
2904 <font resource="font" />
2905 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2906 <text>HTC Dumlock</text>
2907 </object>
2908
2909 <object type="button">
2910 <highlight color="%highlight_color%" />
2911 <condition var1="tw_show_dumlock" var2="1" />
2912 <placement x="%col1_x%" y="%row1_y%" />
2913 <font resource="font" color="%button_text_color%" />
2914 <text>Restore Original Boot</text>
2915 <image resource="main_button" />
2916 <actions>
2917 <action function="set">tw_back=htcdumlock</action>
2918 <action function="set">tw_action=htcdumlockrestoreboot</action>
2919 <action function="set">tw_text1=Restore original boot image?</action>
2920 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2921 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2922 <action function="set">tw_slider_text=Swipe to Confirm</action>
2923 <action function="page">confirm_action</action>
2924 </actions>
2925 </object>
2926
2927 <object type="button">
2928 <highlight color="%highlight_color%" />
2929 <condition var1="tw_show_dumlock" var2="1" />
2930 <placement x="%col2_x%" y="%row1_y%" />
2931 <font resource="font" color="%button_text_color%" />
2932 <text>Reflash Recovery</text>
2933 <image resource="main_button" />
2934 <actions>
2935 <action function="set">tw_back=htcdumlock</action>
2936 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2937 <action function="set">tw_text1=Reflash recovery to boot?</action>
2938 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2939 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2940 <action function="set">tw_slider_text=Swipe to Confirm</action>
2941 <action function="page">confirm_action</action>
2942 </actions>
2943 </object>
2944
2945 <object type="button">
2946 <highlight color="%highlight_color%" />
2947 <condition var1="tw_show_dumlock" var2="1" />
2948 <placement x="%col1_x%" y="%row2_y%" />
2949 <font resource="font" color="%button_text_color%" />
2950 <text>Install HTC Dumlock</text>
2951 <image resource="main_button" />
2952 <actions>
2953 <action function="set">tw_back=htcdumlock</action>
2954 <action function="set">tw_action=installhtcdumlock</action>
2955 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2956 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2957 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2958 <action function="set">tw_slider_text=Swipe to Confirm</action>
2959 <action function="page">confirm_action</action>
2960 </actions>
2961 </object>
2962
2963 <object type="action">
2964 <touch key="home" />
2965 <action function="page">main</action>
2966 </object>
2967
2968 <object type="action">
2969 <touch key="back" />
2970 <action function="page">advanced</action>
2971 </object>
2972
2973 <object type="template" name="footer" />
2974 </page>
2975
2976 <page name="lock">
2977 <background color="#000000A0" />
2978
2979 <object type="image">
2980 <image resource="unlock-icon" />
2981 <placement x="%lock_x%" y="%lock_y%" />
2982 </object>
2983
2984 <object type="slider">
2985 <placement x="%slider_x%" y="%slider_y%" />
2986 <resource base="slider" used="slider-used" touch="slider-touch" />
2987 <action function="overlay"></action>
2988 </object>
2989
2990 <object type="text" color="%text_color%">
2991 <font resource="font" />
2992 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2993 <text>Swipe to Unlock</text>
2994 </object>
2995 </page>
2996
2997 <page name="filemanagerlist">
2998 <object type="template" name="header" />
2999
3000 <object type="text" color="%text_color%">
3001 <font resource="font" />
3002 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3003 <text>File Manager: Select a File or Folder</text>
3004 </object>
3005
3006 <object type="fileselector">
3007 <highlight color="%fileselector_highlight_color%" />
3008 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3009 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3010 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3011 <text>%tw_file_location1%</text>
3012 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3013 <sort name="tw_gui_sort_order" />
3014 <icon folder="folder_icon" file="file_icon" />
3015 <background color="%fileselector_background%" />
3016 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3017 <folders="1" files="1" />
3018 <path name="tw_file_location1" default="/" />
3019 <data name="tw_filename1" />
3020 <selection name="tw_selection1" />
3021 </object>
3022
3023 <object type="template" name="sort_options" />
3024
3025 <object type="action">
3026 <actions>
3027 <action function="set">tw_fm_type=File</action>
3028 <action function="set">tw_fm_isfolder=0</action>
3029 </actions>
3030 </object>
3031
3032 <object type="action">
3033 <touch key="home" />
3034 <action function="page">main</action>
3035 </object>
3036
3037 <object type="action">
3038 <touch key="back" />
3039 <action function="page">advanced</action>
3040 </object>
3041
3042 <object type="action">
3043 <condition var1="tw_filename1" op="modified" />
3044 <actions>
3045 <action function="page">filemanageroptions</action>
3046 </actions>
3047 </object>
3048
3049 <object type="button">
3050 <highlight color="%highlight_color%" />
3051 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3052 <font resource="font" color="%button_text_color%" />
3053 <text>Select</text>
3054 <image resource="medium_button" />
3055 <actions>
3056 <action function="set">tw_filename1=tw_file_location1</action>
3057 <action function="set">tw_fm_isfolder=1</action>
3058 <action function="set">tw_fm_type=Folder</action>
3059 <action function="page">filemanageroptions</action>
3060 </actions>
3061 </object>
3062
3063 <object type="template" name="footer" />
3064 </page>
3065
3066 <page name="filemanageroptions">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3072 <text>%tw_fm_type% Selected:</text>
3073 </object>
3074
3075 <object type="text" color="%text_color%">
3076 <font resource="font" />
3077 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3078 <text>%tw_filename1%</text>
3079 </object>
3080
3081 <object type="button">
3082 <highlight color="%highlight_color%" />
3083 <condition var1="tw_fm_isfolder" var2="0" />
3084 <placement x="%col1_x%" y="%row2_y%" />
3085 <font resource="font" color="%button_text_color%" />
3086 <text>Copy File</text>
3087 <image resource="main_button" />
3088 <actions>
3089 <action function="set">tw_filemanager_command=cp</action>
3090 <action function="set">tw_fm_text1=Copying</action>
3091 <action function="page">choosedestinationfolder</action>
3092 </actions>
3093 </object>
3094
3095 <object type="button">
3096 <highlight color="%highlight_color%" />
3097 <condition var1="tw_fm_isfolder" var2="1" />
3098 <placement x="%col1_x%" y="%row2_y%" />
3099 <font resource="font" color="%button_text_color%" />
3100 <text>Copy Folder</text>
3101 <image resource="main_button" />
3102 <actions>
3103 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3104 <action function="set">tw_fm_text1=Copying</action>
3105 <action function="page">choosedestinationfolder</action>
3106 </actions>
3107 </object>
3108
3109 <object type="button">
3110 <highlight color="%highlight_color%" />
3111 <placement x="%col2_x%" y="%row2_y%" />
3112 <font resource="font" color="%button_text_color%" />
3113 <text>Move</text>
3114 <image resource="main_button" />
3115 <actions>
3116 <action function="set">tw_filemanager_command=mv</action>
3117 <action function="set">tw_fm_text1=Moving</action>
3118 <action function="page">choosedestinationfolder</action>
3119 </actions>
3120 </object>
3121
3122 <object type="button">
3123 <highlight color="%highlight_color%" />
3124 <placement x="%col1_x%" y="%row3_y%" />
3125 <font resource="font" color="%button_text_color%" />
3126 <text>chmod 755</text>
3127 <image resource="main_button" />
3128 <actions>
3129 <action function="set">tw_filemanager_command=chmod 755</action>
3130 <action function="set">tw_fm_text1=chmod 755</action>
3131 <action function="set">tw_fm_text2=</action>
3132 <action function="set">tw_fm_text3=</action>
3133 <action function="set">tw_include_text3=0</action>
3134 <action function="set">tw_back=filemanageroptions</action>
3135 <action function="page">filemanagerconfirm</action>
3136 </actions>
3137 </object>
3138
3139 <object type="button">
3140 <highlight color="%highlight_color%" />
3141 <placement x="%col2_x%" y="%row3_y%" />
3142 <font resource="font" color="%button_text_color%" />
3143 <text>chmod</text>
3144 <image resource="main_button" />
3145 <actions>
3146 <action function="set">tw_filemanager_rename=0000</action>
3147 <action function="set">tw_fm_text2=</action>
3148 <action function="set">tw_fm_text3=</action>
3149 <action function="set">tw_include_text3=0</action>
3150 <action function="set">tw_back=filemanageroptions</action>
3151 <action function="page">filemanagerchmod</action>
3152 </actions>
3153 </object>
3154
3155 <object type="button">
3156 <highlight color="%highlight_color%" />
3157 <placement x="%col1_x%" y="%row4_y%" />
3158 <font resource="font" color="%button_text_color%" />
3159 <text>Delete</text>
3160 <image resource="main_button" />
3161 <actions>
3162 <action function="set">tw_filemanager_command=rm -rf</action>
3163 <action function="set">tw_fm_text1=Deleting</action>
3164 <action function="set">tw_fm_text2=</action>
3165 <action function="set">tw_fm_text3=</action>
3166 <action function="set">tw_include_text3=0</action>
3167 <action function="set">tw_back=filemanageroptions</action>
3168 <action function="page">filemanagerconfirm</action>
3169 </actions>
3170 </object>
3171
3172 <object type="button">
3173 <highlight color="%highlight_color%" />
3174 <condition var1="tw_fm_isfolder" var2="0" />
3175 <placement x="%col2_x%" y="%row4_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Rename File</text>
3178 <image resource="main_button" />
3179 <actions>
3180 <action function="set">tw_filemanager_rename=tw_selection1</action>
3181 <action function="set">tw_fm_text1=Renaming</action>
3182 <action function="set">tw_filemanager_command=mv</action>
3183 <action function="page">filemanagerrenamefile</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
3188 <highlight color="%highlight_color%" />
3189 <condition var1="tw_fm_isfolder" var2="1" />
3190 <placement x="%col2_x%" y="%row4_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Rename Folder</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_rename=tw_selection1</action>
3196 <action function="set">tw_fm_text1=Renaming</action>
3197 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3198 <action function="page">filemanagerrenamefolder</action>
3199 </actions>
3200 </object>
3201
3202 <object type="action">
3203 <touch key="home" />
3204 <action function="page">main</action>
3205 </object>
3206
3207 <object type="action">
3208 <touch key="back" />
3209 <action function="page">filemanagerlist</action>
3210 </object>
3211
3212 <object type="template" name="footer" />
3213 </page>
3214
3215 <page name="choosedestinationfolder">
3216 <object type="template" name="header" />
3217
3218 <object type="text" color="%text_color%">
3219 <font resource="font" />
3220 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3221 <text>Browse to Destination Folder & Press Select</text>
3222 </object>
3223
3224 <object type="fileselector">
3225 <highlight color="%fileselector_highlight_color%" />
3226 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3227 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3228 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3229 <text>%tw_file_location2%</text>
3230 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3231 <sort name="tw_gui_sort_order" />
3232 <icon folder="folder_icon" file="file_icon" />
3233 <background color="%fileselector_background%" />
3234 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3235 <filter folders="1" files="0" />
3236 <path name="tw_file_location2" default="/" />
3237 <data name="tw_filename2" />
3238 <selection name="tw_selection2" />
3239 </object>
3240
3241 <object type="template" name="sort_options" />
3242
3243 <object type="action">
3244 <touch key="home" />
3245 <action function="page">main</action>
3246 </object>
3247
3248 <object type="action">
3249 <touch key="back" />
3250 <action function="page">filemanageroptions</action>
3251 </object>
3252
3253 <object type="button">
3254 <highlight color="%highlight_color%" />
3255 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>Select</text>
3258 <image resource="medium_button" />
3259 <actions>
3260 <action function="set">tw_fm_text2=to</action>
3261 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3262 <action function="set">tw_include_text3=1</action>
3263 <action function="set">tw_back=filemanageroptions</action>
3264 <action function="page">filemanagerconfirm</action>
3265 </actions>
3266 </object>
3267
3268 <object type="template" name="footer" />
3269 </page>
3270
3271 <page name="filemanagerrenamefile">
3272 <object type="template" name="header" />
3273
3274 <object type="text" color="%text_color%">
3275 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3276 <font resource="font" />
3277 <text>Please Enter a New %tw_fm_type% Name</text>
3278 </object>
3279
3280 <object type="input">
3281 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3282 <background color="%input_background_color%" />
3283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3284 <font resource="font" color="%text_color%" />
3285 <text>%tw_filemanager_rename%</text>
3286 <data name="tw_filemanager_rename" />
3287 <restrict minlen="1" maxlen="128" />
3288 <actions>
3289 <action function="set">tw_fm_text2=to</action>
3290 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3291 <action function="set">tw_include_text3=1</action>
3292 <action function="set">tw_back=filemanageroptions</action>
3293 <action function="page">filemanagerconfirm</action>
3294 </actions>
3295 </object>
3296
3297 <object type="button">
3298 <highlight color="%highlight_color%" />
3299 <placement x="%col_center_x%" y="%row2_y%" />
3300 <font resource="font" color="%button_text_color%" />
3301 <text>Cancel</text>
3302 <image resource="main_button" />
3303 <action function="page">filemanageroptions</action>
3304 </object>
3305
3306 <object type="template" name="keyboardtemplate" />
3307
3308 <object type="action">
3309 <touch key="home" />
3310 <action function="page">main</action>
3311 </object>
3312
3313 <object type="action">
3314 <touch key="back" />
3315 <action function="page">filemanageroptions</action>
3316 </object>
3317
3318 <object type="template" name="footer" />
3319 </page>
3320
3321 <page name="filemanagerrenamefolder">
3322 <object type="template" name="header" />
3323
3324 <object type="text" color="%text_color%">
3325 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3326 <font resource="font" />
3327 <text>Please Enter a New %tw_fm_type% Name</text>
3328 </object>
3329
3330 <object type="input">
3331 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3332 <background color="%input_background_color%" />
3333 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3334 <font resource="font" color="%text_color%" />
3335 <text>%tw_filemanager_rename%</text>
3336 <data name="tw_filemanager_rename" />
3337 <restrict minlen="1" maxlen="128" />
3338 <actions>
3339 <action function="set">tw_fm_text2=to</action>
3340 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3341 <action function="set">tw_include_text3=1</action>
3342 <action function="set">tw_back=filemanageroptions</action>
3343 <action function="page">filemanagerconfirm</action>
3344 </actions>
3345 </object>
3346
3347 <object type="button">
3348 <highlight color="%highlight_color%" />
3349 <placement x="%col_center_x%" y="%row2_y%" />
3350 <font resource="font" color="%button_text_color%" />
3351 <text>Cancel</text>
3352 <image resource="main_button" />
3353 <action function="page">filemanageroptions</action>
3354 </object>
3355
3356 <object type="template" name="keyboardtemplate" />
3357
3358 <object type="action">
3359 <touch key="home" />
3360 <action function="page">main</action>
3361 </object>
3362
3363 <object type="action">
3364 <touch key="back" />
3365 <action function="page">filemanageroptions</action>
3366 </object>
3367
3368 <object type="template" name="footer" />
3369 </page>
3370
3371 <page name="filemanagerchmod">
3372 <object type="template" name="header" />
3373
3374 <object type="text" color="%text_color%">
3375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3376 <font resource="font" />
3377 <text>Please Enter New Permissions</text>
3378 </object>
3379
3380 <object type="input">
3381 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3382 <background color="%input_background_color%" />
3383 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3384 <font resource="font" color="%text_color%" />
3385 <text>%tw_filemanager_rename%</text>
3386 <data name="tw_filemanager_rename" />
3387 <restrict minlen="3" maxlen="4" allow="0123456789" />
3388 <actions>
3389 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3390 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3391 <action function="set">tw_back=filemanageroptions</action>
3392 <action function="page">filemanagerconfirm</action>
3393 </actions>
3394 </object>
3395
3396 <object type="button">
3397 <highlight color="%highlight_color%" />
3398 <placement x="%col_center_x%" y="%row2_y%" />
3399 <font resource="font" color="%button_text_color%" />
3400 <text>Cancel</text>
3401 <image resource="main_button" />
3402 <action function="page">filemanageroptions</action>
3403 </object>
3404
3405 <object type="template" name="keyboardtemplate" />
3406
3407 <object type="action">
3408 <touch key="home" />
3409 <action function="page">main</action>
3410 </object>
3411
3412 <object type="action">
3413 <touch key="back" />
3414 <action function="page">filemanageroptions</action>
3415 </object>
3416
3417 <object type="template" name="footer" />
3418 </page>
3419
3420 <page name="filemanagerconfirm">
3421 <object type="template" name="header" />
3422
3423 <object type="text" color="%text_color%">
3424 <font resource="font" />
3425 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3426 <text>%tw_fm_text1%</text>
3427 </object>
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3432 <text>%tw_filename1%</text>
3433 </object>
3434
3435 <object type="text" color="%text_color%">
3436 <font resource="font" />
3437 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3438 <text>%tw_fm_text2%</text>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3444 <text>%tw_fm_text3%</text>
3445 </object>
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3450 <text>Press back button to cancel.</text>
3451 </object>
3452
3453 <object type="slider">
3454 <placement x="%slider_x%" y="%slider_y%" />
3455 <resource base="slider" used="slider-used" touch="slider-touch" />
3456 <action function="page">filemanageracction</action>
3457 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003458
masteroftimeb58e6d22014-01-15 20:16:17 +00003459 <object type="text" color="%text_color%">
3460 <font resource="font" />
3461 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3462 <text>Swipe to Confirm</text>
3463 </object>
3464
3465 <object type="action">
3466 <touch key="back" />
3467 <action function="page">%tw_back%</action>
3468 </object>
3469
3470 <object type="action">
3471 <touch key="home" />
3472 <action function="page">main</action>
3473 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003474
masteroftimeb58e6d22014-01-15 20:16:17 +00003475 <object type="template" name="footer" />
3476 </page>
3477
3478 <page name="filemanageracction">
3479 <object type="template" name="header" />
3480
3481 <object type="text" color="%text_color%">
3482
3483 <font resource="font" />
3484 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3485 <text>%tw_fm_text1%</text>
3486 </object>
3487
3488 <object type="template" name="action_page_console" />
3489
3490 <object type="template" name="progress_bar" />
3491
3492 <object type="action">
3493 <conditions>
3494 <condition var1="tw_operation_state" var2="1" />
3495 <condition var1="tw_operation_status" var2="0" />
3496 </conditions>
3497 <actions>
3498 <action function="set">tw_back=filemanagerlist</action>
3499 <action function="set">tw_complete_text1=File Operation Complete</action>
3500 <action function="page">action_complete</action>
3501 </actions>
3502 </object>
3503
3504 <object type="action">
3505 <conditions>
3506 <condition var1="tw_operation_state" var2="1" />
3507 <condition var1="tw_operation_status" op="!=" var2="0" />
3508 </conditions>
3509 <actions>
3510 <action function="set">tw_complete_text1=File Operation Complete</action>
3511 <action function="page">action_complete</action>
3512 </actions>
3513 </object>
3514
3515 <object type="action">
3516 <condition var1="tw_include_text3" var2="0" />
3517 <actions>
3518 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3519 </actions>
3520 </object>
3521
3522 <object type="action">
3523 <condition var1="tw_include_text3" var2="1" />
3524 <actions>
3525 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3526 </actions>
3527 </object>
3528 </page>
3529
3530 <page name="decrypt">
3531 <object type="template" name="header" />
3532
3533 <object type="text" color="%text_color%">
3534 <font resource="font" />
3535 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3536 <text>Please Enter Your Password</text>
3537 </object>
3538
3539 <object type="input">
3540 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3541 <background color="%input_background_color%" />
3542 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3543 <font resource="font" color="%text_color%" />
3544 <text>%tw_crypto_display%</text>
3545 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3546 <restrict minlen="1" maxlen="254" />
3547 <actions>
3548 <action function="page">trydecrypt</action>
3549 </actions>
3550 </object>
3551
3552 <object type="text" color="%text_fail_color%">
3553 <condition var1="tw_password_fail" var2="1" />
3554 <font resource="font" />
3555 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3556 <text>Password Failed, Please Try Again</text>
3557 </object>
3558
3559 <object type="button">
3560 <highlight color="%highlight_color%" />
3561 <placement x="%col_center_x%" y="%row2_y%" />
3562 <font resource="font" color="%button_text_color%" />
3563 <text>Cancel</text>
3564 <image resource="main_button" />
3565 <actions>
3566 <action function="set">tw_page_done=1</action>
3567 <action function="page">main</action>
3568 </actions>
3569 </object>
3570
3571 <object type="template" name="keyboardtemplate" />
3572
3573 <object type="template" name="footer" />
3574 </page>
3575
3576 <page name="trydecrypt">
3577 <object type="template" name="header" />
3578
3579 <object type="text" color="%text_color%">
3580 <font resource="font" />
3581 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3582 <text>Trying Decryption with Your Password</text>
3583 </object>
3584
3585 <object type="template" name="action_page_console" />
3586
3587 <object type="template" name="progress_bar" />
3588
3589 <object type="action">
3590 <action function="decrypt"></action>
3591 </object>
3592
3593 <object type="action">
3594 <conditions>
3595 <condition var1="tw_operation_state" var2="1" />
3596 <condition var1="tw_operation_status" op="!=" var2="0" />
3597 </conditions>
3598 <actions>
3599 <action function="set">tw_password_fail=1</action>
3600 <action function="page">decrypt</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <conditions>
3606 <condition var1="tw_operation_state" var2="1" />
3607 <condition var1="tw_operation_status" op="=" var2="0" />
3608 </conditions>
3609 <actions>
3610 <action function="set">tw_page_done=1</action>
3611 <action function="page">main</action>
3612 </actions>
3613 </object>
3614 </page>
3615
3616 <page name="terminalfolder">
3617 <object type="template" name="header" />
3618
3619 <object type="text" color="%text_color%">
3620 <font resource="font" />
3621 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3622 <text>Browse to Starting Folder</text>
3623 </object>
3624
3625 <object type="fileselector">
3626 <highlight color="%fileselector_highlight_color%" />
3627 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3628 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3629 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3630 <text>%tw_terminal_location%</text>
3631 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3632 <sort name="tw_gui_sort_order" />
3633 <icon folder="folder_icon" file="file_icon" />
3634 <background color="%fileselector_background%" />
3635 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3636 <filter folders="1" files="0" />
3637 <path name="tw_terminal_location" default="/" />
3638 <data name="tw_terminal" />
3639 <selection name="tw_terminal_selection" />
3640 </object>
3641
3642 <object type="template" name="sort_options" />
3643
3644 <object type="action">
3645 <touch key="home" />
3646 <action function="page">main</action>
3647 </object>
3648
3649 <object type="action">
3650 <touch key="back" />
3651 <action function="page">advanced</action>
3652 </object>
3653
3654 <object type="button">
3655 <highlight color="%highlight_color%" />
3656 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3657 <font resource="font" color="%button_text_color%" />
3658 <text>Select</text>
3659 <image resource="medium_button" />
3660 <actions>
3661 <action function="page">terminalcommand</action>
3662 </actions>
3663 </object>
3664
3665 <object type="template" name="footer" />
3666 </page>
3667
3668 <page name="terminalcommand">
3669 <object type="template" name="header" />
3670
3671 <object type="console">
3672 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3673 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3674 <font resource="fixed" />
3675 </object>
3676
3677 <object type="text" color="%text_color%">
3678 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3679 <font resource="font" />
3680 <text>Starting Path: %tw_terminal_location%</text>
3681 </object>
3682
3683 <object type="input">
3684 <condition var1="tw_terminal_state" var2="0" />
3685 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3686 <background color="%input_background_color%" />
3687 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3688 <font resource="font" color="%text_color%" />
3689 <text>%tw_terminal_command%</text>
3690 <data name="tw_terminal_command" />
3691 <restrict minlen="1" />
3692 <action function="terminalcommand">%tw_terminal_command%</action>
3693 </object>
3694
3695 <object type="button">
3696 <highlight color="%highlight_color%" />
3697 <condition var1="tw_terminal_state" var2="1" />
3698 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3699 <font resource="font" color="%button_text_color%" />
3700 <text>KILL</text>
3701 <image resource="medium_button" />
3702 <action function="killterminal"></action>
3703 </object>
3704
3705 <object type="template" name="keyboardtemplate" />
3706
3707 <object type="action">
3708 <touch key="home" />
3709 <action function="page">main</action>
3710 </object>
3711
3712 <object type="action">
3713 <touch key="back" />
3714 <action function="page">terminalfolder</action>
3715 </object>
3716 </page>
3717
3718 <page name="sideload">
3719 <object type="template" name="header" />
3720
3721 <object type="text" color="%text_color%">
3722 <font resource="font" />
3723 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3724 <text>ADB Sideload</text>
3725 </object>
3726
3727 <object type="checkbox">
3728 <placement x="%col1_x%" y="%row2_text_y%" />
3729 <font resource="font" color="%text_color%" />
3730 <text>Wipe Dalvik Cache.</text>
3731 <data variable="tw_wipe_dalvik" />
3732 <image checked="checkbox_true" unchecked="checkbox_false" />
3733 </object>
3734
3735 <object type="checkbox">
3736 <placement x="%col1_x%" y="%row3_text_y%" />
3737 <font resource="font" color="%text_color%" />
3738 <text>Wipe Cache.</text>
3739 <data variable="tw_wipe_cache" />
3740 <image checked="checkbox_true" unchecked="checkbox_false" />
3741 </object>
3742
3743 <object type="slider">
3744 <placement x="%slider_x%" y="%slider_y%" />
3745 <resource base="slider" used="slider-used" touch="slider-touch" />
3746 <actions>
3747 <action function="set">tw_back=advanced</action>
3748 <action function="set">tw_action=adbsideload</action>
3749 <action function="set">tw_action_text1=ADB Sideload</action>
3750 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3751 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3752 <action function="set">tw_has_cancel=1</action>
3753 <action function="set">tw_show_reboot=1</action>
3754 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3755 <action function="page">action_page</action>
3756 </actions>
3757 </object>
3758
3759 <object type="text" color="%text_color%">
3760 <font resource="font" />
3761 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3762 <text>Swipe to Start Sideload</text>
3763 </object>
3764
3765 <object type="action">
3766 <touch key="home" />
3767 <action function="page">main</action>
3768 </object>
3769
3770 <object type="action">
3771 <touch key="back" />
3772 <action function="page">advanced</action>
3773 </object>
3774
3775 <object type="template" name="footer" />
3776 </page>
3777
3778 <page name="installsu">
3779 <object type="template" name="header" />
3780
3781 <object type="text" color="%text_color%">
3782 <font resource="font" />
3783 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3784 <text>Install SuperSU?</text>
3785 </object>
3786
3787 <object type="text" color="%text_color%">
3788 <font resource="font" />
3789 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3790 <text>Your device does not appear to be rooted.</text>
3791 </object>
3792
3793 <object type="text" color="%text_color%">
3794 <font resource="font" />
3795 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3796 <text>Install SuperSU now?</text>
3797 </object>
3798
3799 <object type="text" color="%text_color%">
3800 <font resource="font" />
3801 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3802 <text>This will root your device.</text>
3803 </object>
3804
3805 <object type="button">
3806 <highlight color="%highlight_color%" />
3807 <placement x="%col_center_x%" y="%row3_y%" />
3808 <font resource="font" color="%button_text_color%" />
3809 <text>Do Not Install</text>
3810 <image resource="main_button" />
3811 <action function="set">tw_page_done=1</action>
3812 </object>
3813
3814 <object type="slider">
3815 <placement x="%slider_x%" y="%slider_y%" />
3816 <resource base="slider" used="slider-used" touch="slider-touch" />
3817 <actions>
3818 <action function="set">tw_action=installsu</action>
3819 <action function="set">tw_action_text1=Installing SuperSU</action>
3820 <action function="set">tw_action_text2=</action>
3821 <action function="page">singleaction_page</action>
3822 </actions>
3823 </object>
3824
3825 <object type="text" color="%text_color%">
3826 <font resource="font" />
3827 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3828 <text>Swipe to Install</text>
3829 </object>
3830 </page>
3831 </pages>
3832</recovery>