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