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