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