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