blob: 853f97a90444b3bdfc49035fa69a3e3a3bc4e6df [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>
Dees_Troya3f81542012-10-08 10:58:53 -0400771 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400772 <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>
Dees_Troya3f81542012-10-08 10:58:53 -0400777 <action function="set">tw_text3=</action>
778 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400779 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400780 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400781 <action function="set">tw_complete_text1=Rebooting...</action>
782 <action function="set">tw_slider_text=Swipe to Reboot</action>
783 <action function="page">rebootcheck</action>
784 </actions>
785 </object>
786
787 <object type="button">
788 <placement x="%col_center_x%" y="%slider_y%" />
789 <font resource="font" color="%button_text_color%" />
790 <text>Home</text>
791 <image resource="main_button" />
792 <actions>
793 <action function="set">tw_clear_destination=main2</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </object>
797
798 <object type="action">
799 <touch key="back" />
800 <actions>
801 <action function="set">tw_clear_destination=install</action>
802 <action function="page">clear_vars</action>
803 </actions>
804 </object>
805
806 <object type="action">
807 <touch key="home" />
808 <actions>
809 <action function="set">tw_clear_destination=main2</action>
810 <action function="page">clear_vars</action>
811 </actions>
812 </object>
813 </page>
814
815 <page name="clear_vars">
816 <object type="action">
817 <action function="set">tw_operation_state=0</action>
818 <action function="set">tw_text1=</action>
819 <action function="set">tw_text2=</action>
820 <action function="set">tw_text3=</action>
821 <action function="set">tw_text4=</action>
822 <action function="set">tw_action_text1=</action>
823 <action function="set">tw_action_text2=</action>
824 <action function="set">tw_action_param=</action>
825 <action function="set">tw_has_action2=0</action>
826 <action function="set">tw_action2=</action>
827 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400828 <action function="set">tw_has_cancel=0</action>
829 <action function="set">tw_cancel_action=</action>
830 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400831 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400832 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400833 <action function="page">%tw_clear_destination%</action>
834 </object>
835 </page>
836
837 <page name="confirm_action">
838 <object type="template" name="header" />
839
Dees_Troyce2fe772012-09-28 12:34:33 -0400840 <object type="button">
841 <condition var1="tw_show_exclamation" var2="1" />
842 <placement x="%exclamation_x%" y="%exclamation_y%" />
843 <font resource="font" color="%button_text_color%" />
844 <text></text>
845 <image resource="exclamation" />
846 </object>
847
Dees_Troy51a0e822012-09-05 15:24:24 -0400848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
851 <text>%tw_text1%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
857 <text>%tw_text2%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
863 <text>%tw_text3%</text>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
869 <text>%tw_text4%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400874 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400875 <text>Press back button to cancel.</text>
876 </object>
877
878 <object type="slider">
879 <placement x="%slider_x%" y="%slider_y%" />
880 <resource base="slider" used="slider-used" touch="slider-touch" />
881 <action function="page">action_page</action>
882 </object>
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
887 <text>%tw_slider_text%</text>
888 </object>
889
890 <object type="action">
891 <touch key="back" />
892 <actions>
893 <action function="set">tw_clear_destination=%tw_back%</action>
894 <action function="page">clear_vars</action>
895 </actions>
896 </object>
897
898 <object type="action">
899 <touch key="home" />
900 <action function="page">main</action>
901 </object>
902
903 <object type="template" name="footer" />
904 </page>
905
906 <page name="action_page">
907 <object type="template" name="header" />
908
909 <object type="text" color="%text_color%">
910 <font resource="font" />
911 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
912 <text>%tw_action_text1%</text>
913 </object>
914
915 <object type="text" color="%text_color%">
916 <font resource="font" />
917 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
918 <text>%tw_action_text2%</text>
919 </object>
920
921 <object type="template" name="action_page_console" />
922
Dees_Troy2691f9d2012-09-24 11:15:49 -0400923 <object type="button">
924 <condition var1="tw_has_cancel" var2="1" />
925 <placement x="%col4_x%" y="%slider_y%" />
926 <font resource="font" color="%button_text_color%" />
927 <text>Cancel</text>
928 <image resource="main_button" />
929 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
930 </object>
931
Dees_Troy51a0e822012-09-05 15:24:24 -0400932 <object type="template" name="progress_bar" />
933
934 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400935 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400936 <actions>
937 <action function="page">action_complete</action>
938 </actions>
939 </object>
940
941 <object type="action">
942 <condition var1="tw_has_action2" var2="0" />
943 <actions>
944 <action function="%tw_action%">%tw_action_param%</action>
945 </actions>
946 </object>
947
948 <object type="action">
949 <condition var1="tw_has_action2" var2="1" />
950 <actions>
951 <action function="%tw_action%">%tw_action_param%</action>
952 <action function="%tw_action2%">%tw_action2_param%</action>
953 </actions>
954 </object>
955 </page>
956
957 <page name="action_complete">
958 <object type="template" name="header" />
959
960 <object type="text" color="%text_color%">
961 <font resource="font" />
962 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
963 <text>%tw_complete_text1%</text>
964 </object>
965
966 <object type="text" color="%text_fail_color%">
967 <condition var1="tw_operation_status" op="!=" var2="0" />
968 <font resource="font" />
969 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
970 <text>Failed</text>
971 </object>
972
973 <object type="text" color="%text_success_color%">
974 <condition var1="tw_operation_status" var2="0" />
975 <font resource="font" />
976 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
977 <text>Successful</text>
978 </object>
979
980 <object type="template" name="action_page_console" />
981
982 <object type="button">
Dees_Troya3f81542012-10-08 10:58:53 -0400983 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400984 <placement x="%col_center_x%" y="%slider_y%" />
985 <font resource="font" color="%button_text_color%" />
986 <text>Back</text>
987 <image resource="main_button" />
988 <actions>
989 <action function="set">tw_clear_destination=%tw_back%</action>
990 <action function="page">clear_vars</action>
991 </actions>
992 </object>
993
Dees_Troya3f81542012-10-08 10:58:53 -0400994 <object type="button">
995 <condition var1="tw_show_reboot" var2="1" />
996 <placement x="%col_center_x%" y="%slider_y%" />
997 <font resource="font" color="%button_text_color%" />
998 <text>Reboot System</text>
999 <image resource="main_button" />
1000 <actions>
1001 <action function="set">tw_back=main2</action>
1002 <action function="set">tw_action=reboot</action>
1003 <action function="set">tw_action_param=system</action>
1004 <action function="set">tw_has_action2=0</action>
1005 <action function="set">tw_text1=No OS Installed! Are you</action>
1006 <action function="set">tw_text2=sure you wish to reboot?</action>
1007 <action function="set">tw_text3=</action>
1008 <action function="set">tw_text4=</action>
1009 <action function="set">tw_action_text1=Rebooting...</action>
1010 <action function="set">tw_action_text2=</action>
1011 <action function="set">tw_complete_text1=Rebooting...</action>
1012 <action function="set">tw_slider_text=Swipe to Reboot</action>
1013 <action function="page">rebootcheck</action>
1014 </actions>
1015 </object>
1016
Dees_Troy51a0e822012-09-05 15:24:24 -04001017 <object type="action">
1018 <touch key="home" />
1019 <actions>
1020 <action function="set">tw_clear_destination=main2</action>
1021 <action function="page">clear_vars</action>
1022 </actions>
1023 </object>
1024
1025 <object type="action">
1026 <touch key="back" />
1027 <actions>
1028 <action function="set">tw_clear_destination=%tw_back%</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032 </page>
1033
1034 <page name="filecheck">
1035 <object type="action">
1036 <action function="fileexists">%tw_filecheck%</action>
1037 </object>
1038
1039 <object type="action">
1040 <conditions>
1041 <condition var1="tw_operation_state" var2="1" />
1042 <condition var1="tw_operation_status" var2="0" />
1043 </conditions>
1044 <actions>
1045 <action function="set">tw_fileexists=1</action>
1046 <action function="page">%tw_existpage%</action>
1047 </actions>
1048 </object>
1049
1050 <object type="action">
1051 <conditions>
1052 <condition var1="tw_operation_state" var2="1" />
1053 <condition var1="tw_operation_status" var2="1" />
1054 </conditions>
1055 <actions>
1056 <action function="set">tw_fileexists=0</action>
1057 <action function="page">%tw_notexistpage%</action>
1058 </actions>
1059 </object>
1060 </page>
1061
1062 <page name="rebootcheck">
1063 <object type="action">
1064 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1065 <action function="reboot">%tw_action_param%</action>
1066 </object>
1067
1068 <object type="action">
1069 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1070 <action function="page">confirm_action</action>
1071 </object>
1072 </page>
1073
1074 <page name="reboot">
1075 <object type="template" name="header" />
1076
1077 <object type="text" color="%text_color%">
1078 <font resource="font" />
1079 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1080 <text>Reboot Menu</text>
1081 </object>
1082
1083 <object type="button">
1084 <condition var1="tw_reboot_system" var2="1" />
1085 <placement x="%col1_x%" y="%row1_y%" />
1086 <font resource="font" color="%button_text_color%" />
1087 <text>System</text>
1088 <image resource="main_button" />
1089 <actions>
1090 <action function="set">tw_back=reboot</action>
1091 <action function="set">tw_action=reboot</action>
1092 <action function="set">tw_action_param=system</action>
1093 <action function="set">tw_has_action2=0</action>
1094 <action function="set">tw_text1=No OS Installed! Are you</action>
1095 <action function="set">tw_text2=sure you wish to reboot?</action>
1096 <action function="set">tw_action_text1=Rebooting...</action>
1097 <action function="set">tw_complete_text1=Rebooting...</action>
1098 <action function="set">tw_slider_text=Swipe to Reboot</action>
1099 <action function="page">rebootcheck</action>
1100 </actions>
1101 </object>
1102
1103 <object type="button">
1104 <condition var1="tw_reboot_poweroff" var2="1" />
1105 <placement x="%col2_x%" y="%row1_y%" />
1106 <font resource="font" color="%button_text_color%" />
1107 <text>Power Off</text>
1108 <image resource="main_button" />
1109 <actions>
1110 <action function="set">tw_back=reboot</action>
1111 <action function="set">tw_action=reboot</action>
1112 <action function="set">tw_action_param=poweroff</action>
1113 <action function="set">tw_has_action2=0</action>
1114 <action function="set">tw_text1=No OS Installed! Are you</action>
1115 <action function="set">tw_text2=sure you wish to power off?</action>
1116 <action function="set">tw_action_text1=Turning Off...</action>
1117 <action function="set">tw_complete_text1=Turning Off...</action>
1118 <action function="set">tw_slider_text=Swipe to Power Off</action>
1119 <action function="page">rebootcheck</action>
1120 </actions>
1121 </object>
1122
1123 <object type="button">
1124 <condition var1="tw_reboot_recovery" var2="1" />
1125 <placement x="%col1_x%" y="%row2_y%" />
1126 <font resource="font" color="%button_text_color%" />
1127 <text>Recovery</text>
1128 <image resource="main_button" />
1129 <actions>
1130 <action function="set">tw_back=reboot</action>
1131 <action function="set">tw_action=reboot</action>
1132 <action function="set">tw_action_param=recovery</action>
1133 <action function="set">tw_has_action2=0</action>
1134 <action function="set">tw_text1=No OS Installed! Are you</action>
1135 <action function="set">tw_text2=sure you wish to reboot?</action>
1136 <action function="set">tw_action_text1=Rebooting...</action>
1137 <action function="set">tw_complete_text1=Rebooting...</action>
1138 <action function="set">tw_slider_text=Swipe to Reboot</action>
1139 <action function="page">rebootcheck</action>
1140 </actions>
1141 </object>
1142
1143 <object type="button">
1144 <condition var1="tw_reboot_bootloader" var2="1" />
1145 <placement x="%col2_x%" y="%row2_y%" />
1146 <font resource="font" color="%button_text_color%" />
1147 <text>Bootloader</text>
1148 <image resource="main_button" />
1149 <actions>
1150 <action function="set">tw_back=reboot</action>
1151 <action function="set">tw_action=reboot</action>
1152 <action function="set">tw_action_param=bootloader</action>
1153 <action function="set">tw_has_action2=0</action>
1154 <action function="set">tw_text1=No OS Installed! Are you</action>
1155 <action function="set">tw_text2=sure you wish to reboot?</action>
1156 <action function="set">tw_action_text1=Rebooting...</action>
1157 <action function="set">tw_complete_text1=Rebooting...</action>
1158 <action function="set">tw_slider_text=Swipe to Reboot</action>
1159 <action function="page">rebootcheck</action>
1160 </actions>
1161 </object>
1162
1163 <object type="button">
1164 <condition var1="tw_download_mode" var2="1" />
1165 <placement x="%col3_x%" y="%row2_y%" />
1166 <font resource="font" color="%button_text_color%" />
1167 <text>Download</text>
1168 <image resource="main_button" />
1169 <actions>
1170 <action function="set">tw_back=reboot</action>
1171 <action function="set">tw_action=reboot</action>
1172 <action function="set">tw_action_param=download</action>
1173 <action function="set">tw_has_action2=0</action>
1174 <action function="set">tw_text1=No OS Installed! Are you</action>
1175 <action function="set">tw_text2=sure you wish to reboot?</action>
1176 <action function="set">tw_action_text1=Rebooting...</action>
1177 <action function="set">tw_complete_text1=Rebooting...</action>
1178 <action function="set">tw_slider_text=Swipe to Reboot</action>
1179 <action function="page">rebootcheck</action>
1180 </actions>
1181 </object>
1182
1183 <object type="action">
1184 <touch key="home" />
1185 <action function="page">main</action>
1186 </object>
1187
1188 <object type="action">
1189 <touch key="back" />
1190 <action function="page">main</action>
1191 </object>
1192
1193 <object type="template" name="footer" />
1194 </page>
1195
1196 <page name="mount">
1197 <object type="template" name="header" />
1198
1199 <object type="text" color="%text_color%">
1200 <font resource="font" />
1201 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1202 <text>Mount Menu</text>
1203 </object>
1204
1205 <object type="button">
1206 <condition var1="tw_has_usb_storage" var2="1" />
1207 <placement x="%col1_x%" y="%row1_y%" />
1208 <font resource="font" color="%button_text_color%" />
1209 <text>Mount USB Storage</text>
1210 <image resource="main_button" />
1211 <action function="page">usb_mount</action>
1212 </object>
1213
1214 <object type="button">
1215 <placement x="%col1_x%" y="%row7_text_y%" />
1216 <font resource="font" color="%text_color%" />
1217 <condition var1="mounted" op="!=" var2="/system" />
1218 <text>Mount System</text>
1219 <image resource="checkbox_false" />
1220 <action function="mount">/system</action>
1221 </object>
1222
1223 <object type="button">
1224 <placement x="%col1_x%" y="%row7_text_y%" />
1225 <font resource="font" color="%text_color%" />
1226 <condition var1="mounted" op="=" var2="/system" />
1227 <text>Unmount System</text>
1228 <image resource="checkbox_true" />
1229 <action function="umount">/system</action>
1230 </object>
1231
1232 <object type="button">
1233 <placement x="%col1_x%" y="%row8_text_y%" />
1234 <font resource="font" color="%text_color%" />
1235 <condition var1="mounted" op="!=" var2="/data" />
1236 <text>Mount Data</text>
1237 <image resource="checkbox_false" />
1238 <action function="mount">/data</action>
1239 </object>
1240
1241 <object type="button">
1242 <placement x="%col1_x%" y="%row8_text_y%" />
1243 <font resource="font" color="%text_color%" />
1244 <condition var1="mounted" op="=" var2="/data" />
1245 <text>Unmount Data</text>
1246 <image resource="checkbox_true" />
1247 <action function="umount">/data</action>
1248 </object>
1249
1250 <object type="button">
1251 <placement x="%col1_x%" y="%row9_text_y%" />
1252 <font resource="font" color="%text_color%" />
1253 <condition var1="mounted" op="!=" var2="/cache" />
1254 <text>Mount Cache</text>
1255 <image resource="checkbox_false" />
1256 <action function="mount">/cache</action>
1257 </object>
1258
1259 <object type="button">
1260 <placement x="%col1_x%" y="%row9_text_y%" />
1261 <font resource="font" color="%text_color%" />
1262 <condition var1="mounted" op="=" var2="/cache" />
1263 <text>Unmount Cache</text>
1264 <image resource="checkbox_true" />
1265 <action function="umount">/cache</action>
1266 </object>
1267
1268 <object type="button">
1269 <placement x="%col1_x%" y="%row10_text_y%" />
1270 <font resource="font" color="%text_color%" />
1271 <conditions>
1272 <condition var1="tw_has_external" var2="1" />
1273 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1274 </conditions>
1275 <text>Mount SDCard</text>
1276 <image resource="checkbox_false" />
1277 <action function="mount">EXTERNAL</action>
1278 </object>
1279
1280 <object type="button">
1281 <placement x="%col1_x%" y="%row10_text_y%" />
1282 <font resource="font" color="%text_color%" />
1283 <conditions>
1284 <condition var1="tw_has_external" var2="1" />
1285 <condition var1="mounted" op="=" var2="EXTERNAL" />
1286 </conditions>
1287 <text>Unmount SDCard</text>
1288 <image resource="checkbox_true" />
1289 <action function="umount">EXTERNAL</action>
1290 </object>
1291
1292 <object type="button">
1293 <placement x="%col2_x%" y="%row10_text_y%" />
1294 <font resource="font" color="%text_color%" />
1295 <conditions>
1296 <condition var1="tw_has_internal" var2="1" />
1297 <condition var1="tw_has_data_media" var2="0" />
1298 <condition var1="mounted" op="!=" var2="INTERNAL" />
1299 </conditions>
1300 <text>Mount Internal Storage</text>
1301 <image resource="checkbox_false" />
1302 <action function="mount">INTERNAL</action>
1303 </object>
1304
1305 <object type="button">
1306 <placement x="%col2_x%" y="%row10_text_y%" />
1307 <font resource="font" color="%text_color%" />
1308 <conditions>
1309 <condition var1="tw_has_internal" var2="1" />
1310 <condition var1="tw_has_data_media" var2="0" />
1311 <condition var1="mounted" op="=" var2="INTERNAL" />
1312 </conditions>
1313 <text>Unmount Internal Storage</text>
1314 <image resource="checkbox_true" />
1315 <action function="umount">INTERNAL</action>
1316 </object>
1317
1318 <object type="button">
1319 <conditions>
1320 <condition var1="tw_has_sdext_partition" var2="1" />
1321 <condition var1="mounted" op="!=" var2="/sd-ext" />
1322 </conditions>
1323 <placement x="%col1_x%" y="%row11_text_y%" />
1324 <font resource="font" color="%text_color%" />
1325 <text>Mount SD-Ext</text>
1326 <image resource="checkbox_false" />
1327 <action function="mount">/sd-ext</action>
1328 </object>
1329
1330 <object type="button">
1331 <placement x="%col1_x%" y="%row11_text_y%" />
1332 <font resource="font" color="%text_color%" />
1333 <condition var1="mounted" op="=" var2="/sd-ext" />
1334 <text>Unmount SD-Ext</text>
1335 <image resource="checkbox_true" />
1336 <action function="umount">/sd-ext</action>
1337 </object>
1338
1339 <object type="button">
1340 <conditions>
1341 <condition var1="tw_boot_is_mountable" var2="1" />
1342 <condition var1="mounted" op="!=" var2="/boot" />
1343 </conditions>
1344 <placement x="%col1_x%" y="%row12_text_y%" />
1345 <font resource="font" color="%text_color%" />
1346 <text>Mount Boot</text>
1347 <image resource="checkbox_false" />
1348 <action function="mount">/boot</action>
1349 </object>
1350
1351 <object type="button">
1352 <conditions>
1353 <condition var1="tw_boot_is_mountable" var2="1" />
1354 <condition var1="mounted" op="=" var2="/boot" />
1355 </conditions>
1356 <placement x="%col1_x%" y="%row12_text_y%" />
1357 <font resource="font" color="%text_color%" />
1358 <text>Unmount Boot</text>
1359 <image resource="checkbox_true" />
1360 <action function="umount">/boot</action>
1361 </object>
1362
1363 <object type="button">
1364 <placement x="%col1_x%" y="%row13_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <conditions>
1367 <condition var1="tw_has_dual_storage" var2="1" />
1368 <condition var1="tw_use_external_storage" var2="1" />
1369 </conditions>
1370 <text>Using external SD</text>
1371 <image resource="radio_true" />
1372 <action function="togglestorage">external</action>
1373 </object>
1374
1375 <object type="button">
1376 <placement x="%col1_x%" y="%row13_text_y%" />
1377 <font resource="font" color="%text_color%" />
1378 <conditions>
1379 <condition var1="tw_has_dual_storage" var2="1" />
1380 <condition var1="tw_use_external_storage" var2="0" />
1381 </conditions>
1382 <text>Using external SD</text>
1383 <image resource="radio_false" />
1384 <action function="togglestorage">external</action>
1385 </object>
1386
1387 <object type="button">
1388 <placement x="%col2_x%" y="%row13_text_y%" />
1389 <font resource="font" color="%text_color%" />
1390 <conditions>
1391 <condition var1="tw_has_dual_storage" var2="1" />
1392 <condition var1="tw_use_external_storage" var2="1" />
1393 </conditions>
1394 <text>Using internal storage</text>
1395 <image resource="radio_false" />
1396 <action function="togglestorage">internal</action>
1397 </object>
1398
1399 <object type="button">
1400 <placement x="%col2_x%" y="%row13_text_y%" />
1401 <font resource="font" color="%text_color%" />
1402 <conditions>
1403 <condition var1="tw_has_dual_storage" var2="1" />
1404 <condition var1="tw_use_external_storage" var2="0" />
1405 </conditions>
1406 <text>Using internal storage</text>
1407 <image resource="radio_true" />
1408 <action function="togglestorage">internal</action>
1409 </object>
1410
1411 <object type="action">
1412 <touch key="home" />
1413 <action function="page">main</action>
1414 </object>
1415
1416 <object type="action">
1417 <touch key="back" />
1418 <action function="page">main</action>
1419 </object>
1420
1421 <object type="template" name="footer" />
1422 </page>
1423
1424 <page name="usb_mount">
1425 <object type="template" name="header" />
1426
1427 <object type="text" color="%text_color%">
1428 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1429 <font resource="font" />
1430 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1431 </object>
1432
1433 <object type="text" color="%text_color%">
1434 <placement x="%col1_x%" y="%row2_text_y%" />
1435 <font resource="font" />
1436 <text></text>
1437 </object>
1438
1439 <object type="button">
1440 <placement x="%col_center_x%" y="%row1_y%" />
1441 <font resource="font" color="%button_text_color%" />
1442 <text>Unmount</text>
1443 <image resource="main_button" />
1444 <action function="page">usb_umount</action>
1445 </object>
1446
1447 <object type="action">
1448 <action function="mount">usb</action>
1449 </object>
1450
1451 <object type="template" name="footer" />
1452 </page>
1453
1454 <page name="usb_umount">
1455 <object type="action">
1456 <action function="unmount">usb</action>
1457 </object>
1458
1459 <object type="action">
1460 <action function="page">mount</action>
1461 </object>
1462
1463 <object type="template" name="footer" />
1464 </page>
1465
1466 <page name="wipe">
1467 <object type="template" name="header" />
1468
1469 <object type="text" color="%text_color%">
1470 <font resource="font" />
1471 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1472 <text>Wipe Menu</text>
1473 </object>
1474
1475 <object type="button">
1476 <placement x="%col1_x%" y="%row1_y%" />
1477 <font resource="font" color="%button_text_color%" />
1478 <text>Cache</text>
1479 <image resource="main_button" />
1480 <actions>
1481 <action function="set">tw_back=wipe</action>
1482 <action function="set">tw_action=wipe</action>
1483 <action function="set">tw_action_param=/cache</action>
1484 <action function="set">tw_text1=Wipe Cache?</action>
1485 <action function="set">tw_action_text1=Wiping Cache...</action>
1486 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1487 <action function="set">tw_slider_text=Swipe to Wipe</action>
1488 <action function="page">confirm_action</action>
1489 </actions>
1490 </object>
1491
1492 <object type="button">
1493 <placement x="%col2_x%" y="%row1_y%" />
1494 <font resource="font" color="%button_text_color%" />
1495 <text>Dalvik Cache</text>
1496 <image resource="main_button" />
1497 <actions>
1498 <action function="set">tw_back=wipe</action>
1499 <action function="set">tw_action=wipe</action>
1500 <action function="set">tw_action_param=dalvik</action>
1501 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1502 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1503 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1504 <action function="set">tw_slider_text=Swipe to Wipe</action>
1505 <action function="page">confirm_action</action>
1506 </actions>
1507 </object>
1508
1509 <object type="button">
1510 <placement x="%col3_x%" y="%row1_y%" />
1511 <font resource="font" color="%button_text_color%" />
1512 <text>Factory Reset</text>
1513 <image resource="main_button" />
1514 <actions>
1515 <action function="set">tw_back=wipe</action>
1516 <action function="set">tw_action=wipe</action>
1517 <action function="set">tw_action_param=data</action>
1518 <action function="set">tw_text1=Factory Reset?</action>
1519 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1520 <action function="set">tw_action_text1=Factory Reset...</action>
1521 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1522 <action function="set">tw_slider_text=Swipe to Wipe</action>
1523 <action function="page">confirm_action</action>
1524 </actions>
1525 </object>
1526
1527 <object type="button">
1528 <placement x="%col4_x%" y="%row1_y%" />
1529 <font resource="font" color="%button_text_color%" />
1530 <text>System</text>
1531 <image resource="main_button" />
1532 <actions>
1533 <action function="set">tw_back=wipe</action>
1534 <action function="set">tw_action=wipe</action>
1535 <action function="set">tw_action_param=/system</action>
1536 <action function="set">tw_text1=Wipe System?</action>
1537 <action function="set">tw_text2=This will wipe your ROM</action>
1538 <action function="set">tw_action_text1=Wiping System...</action>
1539 <action function="set">tw_complete_text1=System Wipe Complete</action>
1540 <action function="set">tw_slider_text=Swipe to Wipe</action>
1541 <action function="page">confirm_action</action>
1542 </actions>
1543 </object>
1544
1545 <object type="button">
1546 <condition var1="tw_has_external" var2="1" />
1547 <placement x="%col1_x%" y="%row2_y%" />
1548 <font resource="font" color="%button_text_color%" />
1549 <text>External Storage</text>
1550 <image resource="main_button" />
1551 <actions>
1552 <action function="set">tw_back=wipe</action>
1553 <action function="set">tw_action=wipe</action>
1554 <action function="set">tw_action_param=EXTERNAL</action>
1555 <action function="set">tw_has_action2=1</action>
1556 <action function="set">tw_action2=set</action>
1557 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1558 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1559 <action function="set">tw_action_text1=Wiping External Storage...</action>
1560 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1561 <action function="set">tw_slider_text=Swipe to Wipe</action>
1562 <action function="page">confirm_action</action>
1563 </actions>
1564 </object>
1565
1566 <object type="button">
1567 <condition var1="tw_has_internal" var2="1" />
1568 <placement x="%col2_x%" y="%row2_y%" />
1569 <font resource="font" color="%button_text_color%" />
1570 <text>Internal Storage</text>
1571 <image resource="main_button" />
1572 <actions>
1573 <action function="set">tw_back=wipe</action>
1574 <action function="set">tw_action=wipe</action>
1575 <action function="set">tw_action_param=INTERNAL</action>
1576 <action function="set">tw_has_action2=1</action>
1577 <action function="set">tw_action2=set</action>
1578 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1579 <action function="set">tw_text1=Wipe Internal Storage?</action>
1580 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1581 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1582 <action function="set">tw_slider_text=Swipe to Wipe</action>
1583 <action function="page">confirm_action</action>
1584 </actions>
1585 </object>
1586
1587 <object type="button">
1588 <conditions>
1589 <condition var1="tw_has_internal" var2="1" />
1590 <condition var1="tw_has_data_media" var2="1" />
1591 </conditions>
1592 <placement x="%col3_x%" y="%row2_y%" />
1593 <font resource="font" color="%button_text_color%" />
1594 <text>Format Data</text>
1595 <image resource="main_button" />
1596 <actions>
1597 <action function="set">tw_back=wipe</action>
1598 <action function="set">tw_action=wipe</action>
1599 <action function="set">tw_action_param=DATAMEDIA</action>
1600 <action function="set">tw_has_action2=1</action>
1601 <action function="set">tw_action2=set</action>
1602 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1603 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1604 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001605 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001606 <action function="set">tw_action_text1=Formatting Data...</action>
1607 <action function="set">tw_complete_text1=Data Format Complete</action>
1608 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001609 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001610 <action function="page">confirm_action</action>
1611 </actions>
1612 </object>
1613
1614 <object type="button">
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001615 <condition var1="tw_has_data_media" var2="0" />
1616 <placement x="%col3_x%" y="%row2_y%" />
1617 <font resource="font" color="%button_text_color%" />
1618 <text>Android Secure</text>
1619 <image resource="main_button" />
1620 <actions>
1621 <action function="set">tw_back=wipe</action>
1622 <action function="set">tw_action=wipe</action>
1623 <action function="set">tw_action_param=ANDROIDSECURE</action>
1624 <action function="set">tw_text1=Wipe Android Secure?</action>
1625 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1626 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1627 <action function="set">tw_slider_text=Swipe to Format</action>
1628 <action function="page">confirm_action</action>
1629 </actions>
1630 </object>
1631
1632 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001633 <condition var1="tw_has_sdext_partition" var2="1" />
1634 <placement x="%col4_x%" y="%row2_y%" />
1635 <font resource="font" color="%button_text_color%" />
1636 <text>SD Ext</text>
1637 <image resource="main_button" />
1638 <actions>
1639 <action function="set">tw_back=wipe</action>
1640 <action function="set">tw_action=wipe</action>
1641 <action function="set">tw_action_param=/sd-ext</action>
1642 <action function="set">tw_text1=Wipe SD-Ext?</action>
1643 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1644 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1645 <action function="set">tw_slider_text=Swipe to Wipe</action>
1646 <action function="page">confirm_action</action>
1647 </actions>
1648 </object>
1649
1650 <object type="action">
1651 <touch key="home" />
1652 <action function="page">main</action>
1653 </object>
1654
1655 <object type="action">
1656 <touch key="back" />
1657 <action function="page">main</action>
1658 </object>
1659
1660 <object type="template" name="footer" />
1661 </page>
1662
1663 <page name="backup">
1664 <object type="template" name="header" />
1665
1666 <object type="text" color="%text_color%">
1667 <font resource="font" />
1668 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1669 <text>Back Up Device</text>
1670 </object>
1671
1672 <object type="text" color="%text_color%">
1673 <font resource="font" />
1674 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1675 <text>Free Space: %tw_storage_free_size% MB</text>
1676 </object>
1677
1678 <object type="text" color="%text_color%">
1679 <font resource="font" />
1680 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1681 <text>Backup Name: %tw_backup_name%</text>
1682 </object>
1683
1684 <object type="checkbox">
1685 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1686 <font resource="font" color="%text_color%" />
1687 <text>System (%tw_backup_system_size% MB)</text>
1688 <data variable="tw_backup_system" />
1689 <image checked="checkbox_true" unchecked="checkbox_false" />
1690 </object>
1691
1692 <object type="checkbox">
1693 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1694 <font resource="font" color="%text_color%" />
1695 <text>Data (%tw_backup_data_size% MB)</text>
1696 <data variable="tw_backup_data" />
1697 <image checked="checkbox_true" unchecked="checkbox_false" />
1698 </object>
1699
1700 <object type="checkbox">
1701 <condition var1="tw_has_boot_partition" var2="1" />
1702 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1703 <font resource="font" color="%text_color%" />
1704 <text>Boot (%tw_backup_boot_size% MB)</text>
1705 <data variable="tw_backup_boot" />
1706 <image checked="checkbox_true" unchecked="checkbox_false" />
1707 </object>
1708
1709 <object type="checkbox">
1710 <condition var1="tw_has_recovery_partition" var2="1" />
1711 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1712 <font resource="font" color="%text_color%" />
1713 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1714 <data variable="tw_backup_recovery" />
1715 <image checked="checkbox_true" unchecked="checkbox_false" />
1716 </object>
1717
1718 <object type="checkbox">
1719 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1720 <font resource="font" color="%text_color%" />
1721 <text>Cache (%tw_backup_cache_size% MB)</text>
1722 <data variable="tw_backup_cache" />
1723 <image checked="checkbox_true" unchecked="checkbox_false" />
1724 </object>
1725
1726 <object type="checkbox">
1727 <condition var1="tw_has_android_secure" var2="1" />
1728 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1729 <font resource="font" color="%text_color%" />
1730 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1731 <data variable="tw_backup_andsec" />
1732 <image checked="checkbox_true" unchecked="checkbox_false" />
1733 </object>
1734
1735 <object type="checkbox">
1736 <condition var1="tw_has_sdext_partition" var2="1" />
1737 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1738 <font resource="font" color="%text_color%" />
1739 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1740 <data variable="tw_backup_sdext" />
1741 <image checked="checkbox_true" unchecked="checkbox_false" />
1742 </object>
1743
1744 <object type="checkbox">
1745 <condition var1="tw_sp1_name" op=">" var2="" />
1746 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1747 <font resource="font" color="%text_color%" />
1748 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1749 <data variable="tw_backup_sp1" />
1750 <image checked="checkbox_true" unchecked="checkbox_false" />
1751 </object>
1752
1753 <object type="checkbox">
1754 <condition var1="tw_sp2_name" op=">" var2="" />
1755 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1756 <font resource="font" color="%text_color%" />
1757 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1758 <data variable="tw_backup_sp2" />
1759 <image checked="checkbox_true" unchecked="checkbox_false" />
1760 </object>
1761
1762 <object type="checkbox">
1763 <condition var1="tw_sp3_name" op=">" var2="" />
1764 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1765 <font resource="font" color="%text_color%" />
1766 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1767 <data variable="tw_backup_sp3" />
1768 <image checked="checkbox_true" unchecked="checkbox_false" />
1769 </object>
1770
1771 <object type="checkbox">
1772 <placement x="%col1_x%" y="%nandcheck_row6%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>Enable Compression (Requires more time)</text>
1775 <data variable="tw_use_compression" />
1776 <image checked="checkbox_true" unchecked="checkbox_false" />
1777 </object>
1778
1779 <object type="checkbox">
1780 <placement x="%col3_x%" y="%nandcheck_row6%" />
1781 <font resource="font" color="%text_color%" />
1782 <text>Skip MD5 generation on backups</text>
1783 <data variable="tw_skip_md5_generate" />
1784 <image checked="checkbox_true" unchecked="checkbox_false" />
1785 </object>
1786
1787 <object type="button">
1788 <placement x="%col2_x%" y="%nandcheck_row7%" />
1789 <font resource="font" color="%text_color%" />
1790 <conditions>
1791 <condition var1="tw_has_dual_storage" var2="1" />
1792 <condition var1="tw_use_external_storage" var2="1" />
1793 </conditions>
1794 <text>Using external SD</text>
1795 <image resource="radio_true" />
1796 <action function="togglestorage">external</action>
1797 </object>
1798
1799 <object type="button">
1800 <placement x="%col2_x%" y="%nandcheck_row7%" />
1801 <font resource="font" color="%text_color%" />
1802 <conditions>
1803 <condition var1="tw_has_dual_storage" var2="1" />
1804 <condition var1="tw_use_external_storage" var2="0" />
1805 </conditions>
1806 <text>Using external SD</text>
1807 <image resource="radio_false" />
1808 <action function="togglestorage">external</action>
1809 </object>
1810
1811 <object type="button">
1812 <placement x="%col3_x%" y="%nandcheck_row7%" />
1813 <font resource="font" color="%text_color%" />
1814 <conditions>
1815 <condition var1="tw_has_dual_storage" var2="1" />
1816 <condition var1="tw_use_external_storage" var2="1" />
1817 </conditions>
1818 <text>Using internal storage</text>
1819 <image resource="radio_false" />
1820 <action function="togglestorage">internal</action>
1821 </object>
1822
1823 <object type="button">
1824 <placement x="%col3_x%" y="%nandcheck_row7%" />
1825 <font resource="font" color="%text_color%" />
1826 <conditions>
1827 <condition var1="tw_has_dual_storage" var2="1" />
1828 <condition var1="tw_use_external_storage" var2="0" />
1829 </conditions>
1830 <text>Using internal storage</text>
1831 <image resource="radio_true" />
1832 <action function="togglestorage">internal</action>
1833 </object>
1834
1835 <object type="slider">
1836 <placement x="%slider_x%" y="%slider_y%" />
1837 <resource base="slider" used="slider-used" touch="slider-touch" />
1838 <actions>
1839 <action function="set">tw_operation_state=0</action>
1840 <action function="page">backup_run</action>
1841 </actions>
1842 </object>
1843
1844 <object type="text" color="%text_color%">
1845 <font resource="font" />
1846 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1847 <text>Swipe to Back Up</text>
1848 </object>
1849
1850 <object type="button">
1851 <placement x="%col4_x%" y="%row1_y%" />
1852 <font resource="font" color="%button_text_color%" />
1853 <text>Refresh Sizes</text>
1854 <image resource="main_button" />
1855 <action function="refreshsizes"></action>
1856 </object>
1857
1858 <object type="button">
1859 <placement x="%col4_x%" y="%backup_name_button_y%" />
1860 <font resource="font" color="%button_text_color%" />
1861 <text>Set Backup Name</text>
1862 <image resource="main_button" />
1863 <actions>
1864 <action function="set">tw_fileexists=0</action>
1865 <action function="page">backupname1</action>
1866 </actions>
1867 </object>
1868
1869 <object type="action">
1870 <touch key="home" />
1871 <action function="page">main</action>
1872 </object>
1873
1874 <object type="action">
1875 <touch key="back" />
1876 <action function="page">main</action>
1877 </object>
1878
1879 <object type="template" name="footer" />
1880 </page>
1881
1882 <page name="backupname1">
1883 <object type="action">
1884 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1885 <action function="set">tw_backup_name=</function>
1886 </object>
1887
1888 <object type="action">
1889 <action function="page">backupname2</function>
1890 </object>
1891 </page>
1892
1893 <page name="backupname2">
1894 <object type="template" name="header" />
1895
1896 <object type="text" color="%text_color%">
1897 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1898 <font resource="font" />
1899 <text>Please Enter a Backup Name</text>
1900 </object>
1901
1902 <object type="input">
1903 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1904 <background color="%input_background_color%" />
1905 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1906 <font resource="font" color="%text_color%" />
1907 <text>%tw_backup_name%</text>
1908 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001909 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001910 <actions>
1911 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1912 <action function="set">tw_existpage=backupname2</action>
1913 <action function="set">tw_notexistpage=backup</action>
1914 <action function="page">filecheck</action>
1915 </actions>
1916 </object>
1917
1918 <object type="text" color="%text_fail_color%">
1919 <condition var1="tw_fileexists" var2="1" />
1920 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1921 <font resource="font" />
1922 <text>A backup with that name already exists!</text>
1923 </object>
1924
1925 <object type="button">
1926 <placement x="%col_center_x%" y="%cancel_button_y%" />
1927 <font resource="font" color="%button_text_color%" />
1928 <text>Cancel / Clear</text>
1929 <image resource="main_button" />
1930 <actions>
1931 <action function="set">tw_backup_name=(Current Date)</action>
1932 <action function="page">backup</action>
1933 </actions>
1934 </object>
1935
1936 <object type="template" name="keyboardtemplate" />
1937
1938 <object type="action">
1939 <touch key="home" />
1940 <actions>
1941 <action function="set">tw_backup_name=(Current Date)</action>
1942 <action function="page">main</action>
1943 </actions>
1944 </object>
1945
1946 <object type="action">
1947 <touch key="back" />
1948 <actions>
1949 <action function="set">tw_backup_name=(Current Date)</action>
1950 <action function="page">backup</action>
1951 </actions>
1952 </object>
1953
1954 <object type="template" name="footer" />
1955 </page>
1956
1957 <page name="backup_run">
1958 <object type="template" name="header" />
1959
1960 <object type="text" color="%text_color%">
1961 <font resource="font" />
1962 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1963 <text>%tw_operation% %tw_partition%</text>
1964 </object>
1965
1966 <object type="template" name="action_page_console" />
1967
1968 <object type="template" name="progress_bar" />
1969
1970 <object type="action">
1971 <action function="nandroid">backup</action>
1972 </object>
1973
1974 <object type="action">
1975 <condition var1="tw_operation_state" var2="1" />
1976 <actions>
1977 <action function="set">tw_back=backup</action>
1978 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001979 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001980 <action function="page">action_complete</action>
1981 </actions>
1982 </object>
1983
1984 <object type="template" name="footer" />
1985 </page>
1986
1987 <page name="restore">
1988 <object type="template" name="header" />
1989
1990 <object type="button">
1991 <placement x="%col2_x%" y="%zipstorage_text_y%" />
1992 <font resource="font" color="%text_color%" />
1993 <conditions>
1994 <condition var1="tw_has_dual_storage" var2="1" />
1995 <condition var1="tw_use_external_storage" var2="1" />
1996 </conditions>
1997 <text>Using external SD</text>
1998 <image resource="radio_true" />
1999 <action function="togglestorage">external</action>
2000 </object>
2001
2002 <object type="button">
2003 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2004 <font resource="font" color="%text_color%" />
2005 <conditions>
2006 <condition var1="tw_has_dual_storage" var2="1" />
2007 <condition var1="tw_use_external_storage" var2="0" />
2008 </conditions>
2009 <text>Using external SD</text>
2010 <image resource="radio_false" />
2011 <action function="togglestorage">external</action>
2012 </object>
2013
2014 <object type="button">
2015 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2016 <font resource="font" color="%text_color%" />
2017 <conditions>
2018 <condition var1="tw_has_dual_storage" var2="1" />
2019 <condition var1="tw_use_external_storage" var2="1" />
2020 </conditions>
2021 <text>Using internal storage</text>
2022 <image resource="radio_false" />
2023 <action function="togglestorage">internal</action>
2024 </object>
2025
2026 <object type="button">
2027 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2028 <font resource="font" color="%text_color%" />
2029 <conditions>
2030 <condition var1="tw_has_dual_storage" var2="1" />
2031 <condition var1="tw_use_external_storage" var2="0" />
2032 </conditions>
2033 <text>Using internal storage</text>
2034 <image resource="radio_true" />
2035 <action function="togglestorage">internal</action>
2036 </object>
2037
2038 <object type="fileselector">
2039 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2040 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2041 <text>Select Package to Restore:</text>
2042 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2043 <sort name="tw_gui_sort_order" />
2044 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2045 <icon folder="folder_icon" file="file_icon" />
2046 <background color="%fileselector_background%" />
2047 <filter folders="1" files="0" nav="0" />
2048 <path name="tw_backups_folder" />
2049 <data name="tw_restore" default="" />
2050 <selection name="tw_restore_name" />
2051 </object>
2052
2053 <object type="template" name="sort_options" />
2054
2055 <object type="action">
2056 <condition var1="tw_restore" op="modified" />
2057 <actions>
2058 <action function="readBackup"></action>
2059 <action function="page">restore_select</action>
2060 </actions>
2061 </object>
2062
2063 <object type="action">
2064 <touch key="home" />
2065 <action function="page">main</action>
2066 </object>
2067
2068 <object type="action">
2069 <touch key="back" />
2070 <action function="page">main</action>
2071 </object>
2072
2073 <object type="template" name="footer" />
2074 </page>
2075
2076 <page name="restore_select">
2077 <object type="template" name="header" />
2078
2079 <object type="text" color="%text_color%">
2080 <font resource="font" />
2081 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2082 <text>Package to Restore: %tw_restore_name%</text>
2083 </object>
2084
2085 <object type="text" color="%text_color%">
2086 <font resource="font" />
2087 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2088 <text>Package Date: %tw_restore_file_date%</text>
2089 </object>
2090
2091 <object type="checkbox">
2092 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2093 <font resource="font" color="%text_color%" />
2094 <text>System</text>
2095 <condition var1="tw_restore_system" op=">=" var2="0" />
2096 <data variable="tw_restore_system" />
2097 <image checked="checkbox_true" unchecked="checkbox_false" />
2098 </object>
2099
2100 <object type="checkbox">
2101 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2102 <font resource="font" color="%text_color%" />
2103 <text>Data</text>
2104 <condition var1="tw_restore_data" op=">=" var2="0" />
2105 <data variable="tw_restore_data" />
2106 <image checked="checkbox_true" unchecked="checkbox_false" />
2107 </object>
2108
2109 <object type="checkbox">
2110 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2111 <font resource="font" color="%text_color%" />
2112 <text>Boot</text>
2113 <condition var1="tw_restore_boot" op=">=" var2="0" />
2114 <data variable="tw_restore_boot" />
2115 <image checked="checkbox_true" unchecked="checkbox_false" />
2116 </object>
2117
2118 <object type="checkbox">
2119 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2120 <font resource="font" color="%text_color%" />
2121 <text>Cache</text>
2122 <condition var1="tw_restore_cache" op=">=" var2="0" />
2123 <data variable="tw_restore_cache" />
2124 <image checked="checkbox_true" unchecked="checkbox_false" />
2125 </object>
2126
2127 <object type="checkbox">
2128 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2129 <font resource="font" color="%text_color%" />
2130 <text>.android_secure</text>
2131 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2132 <data variable="tw_restore_andsec" />
2133 <image checked="checkbox_true" unchecked="checkbox_false" />
2134 </object>
2135
2136 <object type="checkbox">
2137 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2138 <font resource="font" color="%text_color%" />
2139 <text>sd-ext</text>
2140 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2141 <data variable="tw_restore_sdext" />
2142 <image checked="checkbox_true" unchecked="checkbox_false" />
2143 </object>
2144
2145 <object type="checkbox">
2146 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2147 <font resource="font" color="%text_color%" />
2148 <text>%tw_sp1_name%</text>
2149 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2150 <data variable="tw_restore_sp1" />
2151 <image checked="checkbox_true" unchecked="checkbox_false" />
2152 </object>
2153
2154 <object type="checkbox">
2155 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2156 <font resource="font" color="%text_color%" />
2157 <text>%tw_sp2_name%</text>
2158 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2159 <data variable="tw_restore_sp2" />
2160 <image checked="checkbox_true" unchecked="checkbox_false" />
2161 </object>
2162
2163 <object type="checkbox">
2164 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2165 <font resource="font" color="%text_color%" />
2166 <text>%tw_sp3_name%</text>
2167 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2168 <data variable="tw_restore_sp3" />
2169 <image checked="checkbox_true" unchecked="checkbox_false" />
2170 </object>
2171
2172 <object type="checkbox">
2173 <placement x="%col1_x%" y="%nandcheck_row6%" />
2174 <font resource="font" color="%text_color%" />
2175 <text>Enable MD5 checking of backup files</text>
2176 <data variable="tw_skip_md5_check" />
2177 <image checked="checkbox_true" unchecked="checkbox_false" />
2178 </object>
2179
2180 <object type="button">
2181 <placement x="%col4_x%" y="%row1_y%" />
2182 <font resource="font" color="%button_text_color%" />
2183 <text>Rename Backup</text>
2184 <image resource="main_button" />
2185 <actions>
2186 <action function="set">tw_backup_rename=</action>
2187 <action function="set">tw_fileexists=0</action>
2188 <action function="page">renamebackup</action>
2189 </actions>
2190 </object>
2191
2192 <object type="button">
2193 <placement x="%col4_x%" y="%backup_name_button_y%" />
2194 <font resource="font" color="%button_text_color%" />
2195 <text>Delete Backup</text>
2196 <image resource="main_button" />
2197 <actions>
2198 <action function="set">tw_back=restore</action>
2199 <action function="set">tw_action=cmd</action>
2200 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action>
2201 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2202 <action function="set">tw_text2=This cannot be undone!</action>
2203 <action function="set">tw_action_text1=Deleting Backup...</action>
2204 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2205 <action function="set">tw_slider_text=Swipe to Delete</action>
2206 <action function="page">confirm_action</action>
2207 </actions>
2208 </object>
2209
2210 <object type="slider">
2211 <placement x="%slider_x%" y="%slider_y%" />
2212 <resource base="slider" used="slider-used" touch="slider-touch" />
2213 <action function="page">restore_run</action>
2214 </object>
2215
2216 <object type="text" color="%text_color%">
2217 <font resource="font" />
2218 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2219 <text>Swipe to Restore</text>
2220 </object>
2221
2222 <object type="action">
2223 <touch key="home" />
2224 <action function="page">main</action>
2225 </object>
2226
2227 <object type="action">
2228 <touch key="back" />
2229 <action function="page">restore</action>
2230 </object>
2231
2232 <object type="template" name="footer" />
2233 </page>
2234
2235 <page name="renamebackup">
2236 <object type="template" name="header" />
2237
2238 <object type="text" color="%text_color%">
2239 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2240 <font resource="font" />
2241 <text>Please Enter a New Backup Name</text>
2242 </object>
2243
2244 <object type="input">
2245 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2246 <background color="%input_background_color%" />
2247 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2248 <font resource="font" color="%text_color%" />
2249 <text>%tw_backup_rename%</text>
2250 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002251 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002252 <actions>
2253 <action function="set">tw_back=restore</action>
2254 <action function="set">tw_action=cmd</action>
2255 <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
2256 <action function="set">tw_text1=Rename Backup?</action>
2257 <action function="set">tw_text2=This cannot be undone!</action>
2258 <action function="set">tw_action_text1=Renaming Backup...</action>
2259 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2260 <action function="set">tw_slider_text=Swipe to Rename</action>
2261 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2262 <action function="set">tw_existpage=renamebackup</action>
2263 <action function="set">tw_notexistpage=confirm_action</action>
2264 <action function="page">filecheck</action>
2265 </actions>
2266 </object>
2267
2268 <object type="text" color="%text_fail_color%">
2269 <condition var1="tw_fileexists" var2="1" />
2270 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2271 <font resource="font" />
2272 <text>A backup with that name already exists!</text>
2273 </object>
2274
2275 <object type="button">
2276 <placement x="%col_center_x%" y="%cancel_button_y%" />
2277 <font resource="font" color="%button_text_color%" />
2278 <text>Cancel</text>
2279 <image resource="main_button" />
2280 <action function="page">restore_select</action>
2281 </object>
2282
2283 <object type="template" name="keyboardtemplate" />
2284
2285 <object type="action">
2286 <touch key="home" />
2287 <action function="page">main</action>
2288 </object>
2289
2290 <object type="action">
2291 <touch key="back" />
2292 <action function="page">restore_select</action>
2293 </object>
2294
2295 <object type="template" name="footer" />
2296 </page>
2297
2298 <page name="restore_run">
2299 <object type="template" name="header" />
2300
2301 <object type="text" color="%text_color%">
2302 <font resource="font" />
2303 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2304 <text>%tw_operation% %tw_partition%</text>
2305 </object>
2306
2307 <object type="template" name="action_page_console" />
2308
2309 <object type="template" name="progress_bar" />
2310
2311 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002312 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002313 <actions>
2314 <action function="set">tw_back=restore_select</action>
2315 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002316 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002317 <action function="page">action_complete</action>
2318 </actions>
2319 </object>
2320
2321 <object type="action">
2322 <action function="nandroid">restore</action>
2323 </object>
2324 </page>
2325
2326 <page name="settings">
2327 <object type="template" name="header" />
2328
2329 <object type="text" color="%text_color%">
2330 <font resource="font" />
2331 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2332 <text>Settings</text>
2333 </object>
2334
2335 <object type="checkbox">
2336 <placement x="%col1_x%" y="%row2_text_y%" />
2337 <font resource="font" color="%text_color%" />
2338 <text>Zip file signature verification?</text>
2339 <data variable="tw_signed_zip_verify" />
2340 <image checked="checkbox_true" unchecked="checkbox_false" />
2341 </object>
2342
2343 <object type="checkbox">
2344 <placement x="%col1_x%" y="%row3_text_y%" />
2345 <font resource="font" color="%text_color%" />
2346 <text>Force MD5 check on all zips?</text>
2347 <data variable="tw_force_md5_check" />
2348 <image checked="checkbox_true" unchecked="checkbox_false" />
2349 </object>
2350
2351 <object type="checkbox">
2352 <placement x="%col1_x%" y="%row4_text_y%" />
2353 <font resource="font" color="%text_color%" />
2354 <text>Use rm -rf instead of formatting?</text>
2355 <data variable="tw_rm_rf" />
2356 <image checked="checkbox_true" unchecked="checkbox_false" />
2357 </object>
2358
2359 <object type="checkbox">
2360 <placement x="%col1_x%" y="%row5_text_y%" />
2361 <font resource="font" color="%text_color%" />
2362 <text>Skip MD5 generation on backups</text>
2363 <data variable="tw_skip_md5_generate" />
2364 <image checked="checkbox_true" unchecked="checkbox_false" />
2365 </object>
2366
2367 <object type="checkbox">
2368 <placement x="%col1_x%" y="%row6_text_y%" />
2369 <font resource="font" color="%text_color%" />
2370 <text>Enable MD5 checking of backup files</text>
2371 <data variable="tw_skip_md5_check" />
2372 <image checked="checkbox_true" unchecked="checkbox_false" />
2373 </object>
2374
2375 <object type="checkbox">
2376 <placement x="%col1_x%" y="%row7_text_y%" />
2377 <font resource="font" color="%text_color%" />
2378 <text>Ignore image size errors during backup</text>
2379 <data variable="tw_ignore_image_size" />
2380 <image checked="checkbox_true" unchecked="checkbox_false" />
2381 </object>
2382
2383 <object type="checkbox">
2384 <placement x="%col1_x%" y="%row8_text_y%" />
2385 <font resource="font" color="%text_color%" />
2386 <text>Simulate most actions for theme testing</text>
2387 <data variable="tw_simulate_actions" />
2388 <image checked="checkbox_true" unchecked="checkbox_false" />
2389 </object>
2390
2391 <object type="checkbox">
2392 <condition var1="tw_simulate_actions" var2="1" />
2393 <placement x="%col1_x%" y="%row9_text_y%" />
2394 <font resource="font" color="%text_color%" />
2395 <text>Simulate failure for actions</text>
2396 <data variable="tw_simulate_fail" />
2397 <image checked="checkbox_true" unchecked="checkbox_false" />
2398 </object>
2399
2400 <object type="button">
2401 <placement x="%col1_x%" y="%row2_y%" />
2402 <font resource="font" color="%button_text_color%" />
2403 <text>Time Zone</text>
2404 <image resource="main_button" />
2405 <action function="page">timezone</action>
2406 </object>
2407
2408 <object type="button">
2409 <placement x="%col_center_x%" y="%slider_y%" />
2410 <font resource="font" color="%button_text_color%" />
2411 <text>Restore Defaults</text>
2412 <image resource="main_button" />
2413 <action function="restoredefaultsettings"></action>
2414 </object>
2415
2416 <object type="action">
2417 <touch key="home" />
2418 <action function="page">main</action>
2419 </object>
2420
2421 <object type="action">
2422 <touch key="back" />
2423 <action function="page">main</action>
2424 </object>
2425
2426 <object type="template" name="footer" />
2427 </page>
2428
2429 <page name="timezone">
2430 <object type="template" name="header" />
2431
2432 <object type="text" color="%text_color%">
2433 <font resource="font" />
2434 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2435 <text>Select Time Zone</text>
2436 </object>
2437
2438 <object type="listbox">
2439 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2440 <icon selected="radio_true" unselected="radio_false" />
2441 <background color="%listbox_background%" />
2442 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2443 <data name="tw_time_zone_guisel" />
2444 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2445 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2446 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2447 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2448 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2449 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2450 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2451 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2452 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2453 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2454 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2455 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2456 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2457 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2458 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2459 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2460 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2461 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2462 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2463 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2464 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2465 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2466 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2467 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2468 </object>
2469
2470 <object type="checkbox">
2471 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2472 <font resource="font" color="%text_color%" />
2473 <text>Do you use daylight savings time (DST)?</text>
2474 <data variable="tw_time_zone_guidst" />
2475 <image checked="checkbox_true" unchecked="checkbox_false" />
2476 </object>
2477
2478 <object type="text" color="%text_color%">
2479 <font resource="font" />
2480 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2481 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2482 </object>
2483
2484 <object type="button">
2485 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2486 <font resource="font" color="%button_text_color%" />
2487 <text>0</text>
2488 <image resource="medium_button" />
2489 <action function="set">tw_time_zone_guioffset=0</action>
2490 </object>
2491
2492 <object type="button">
2493 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2494 <font resource="font" color="%button_text_color%" />
2495 <text>15</text>
2496 <image resource="medium_button" />
2497 <action function="set">tw_time_zone_guioffset=15</action>
2498 </object>
2499
2500 <object type="button">
2501 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2502 <font resource="font" color="%button_text_color%" />
2503 <text>30</text>
2504 <image resource="medium_button" />
2505 <action function="set">tw_time_zone_guioffset=30</action>
2506 </object>
2507
2508 <object type="button">
2509 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2510 <font resource="font" color="%button_text_color%" />
2511 <text>45</text>
2512 <image resource="medium_button" />
2513 <action function="set">tw_time_zone_guioffset=45</action>
2514 </object>
2515
2516 <object type="button">
2517 <placement x="%col4_x%" y="%row2_y%" />
2518 <font resource="font" color="%button_text_color%" />
2519 <text>Set Time Zone</text>
2520 <image resource="main_button" />
2521 <action function="setguitimezone"></action>
2522 </object>
2523
2524 <object type="text" color="%text_color%">
2525 <font resource="font" />
2526 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2527 <text>Current Time Zone: %tw_time_zone%</text>
2528 </object>
2529
2530 <object type="action">
2531 <touch key="home" />
2532 <action function="page">main</action>
2533 </object>
2534
2535 <object type="action">
2536 <touch key="back" />
2537 <action function="page">settings</action>
2538 </object>
2539
2540 <object type="template" name="footer" />
2541 </page>
2542
2543 <page name="advanced">
2544 <object type="template" name="header" />
2545
2546 <object type="text" color="%text_color%">
2547 <font resource="font" />
2548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2549 <text>Advanced</text>
2550 </object>
2551
2552 <object type="button">
2553 <placement x="%col1_x%" y="%row1_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>Copy Log to SD</text>
2556 <image resource="main_button" />
2557 <actions>
2558 <action function="set">tw_back=advanced</action>
2559 <action function="set">tw_action=copylog</action>
2560 <action function="set">tw_text1=Copy Log to SD Card?</action>
2561 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2562 <action function="set">tw_complete_text1=Log Copy Complete</action>
2563 <action function="set">tw_slider_text=Swipe to Confirm</action>
2564 <action function="page">confirm_action</action>
2565 </actions>
2566 </object>
2567
2568 <object type="button">
2569 <placement x="%col2_x%" y="%row1_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>Fix Permissions</text>
2572 <image resource="main_button" />
2573 <actions>
2574 <action function="set">tw_back=advanced</action>
2575 <action function="set">tw_action=fixpermissions</action>
2576 <action function="set">tw_text1=Fix Permissions?</action>
2577 <action function="set">tw_text2=This will take a few minutes.</action>
2578 <action function="set">tw_action_text1=Fixing Permissions...</action>
2579 <action function="set">tw_action_text2=This will take a few minutes.</action>
2580 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2581 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002582 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002583 <action function="page">confirm_action</action>
2584 </actions>
2585 </object>
2586
2587 <object type="button">
2588 <placement x="%col3_x%" y="%row1_y%" />
2589 <font resource="font" color="%button_text_color%" />
2590 <text>Terminal Command</text>
2591 <image resource="main_button" />
2592 <action function="page">terminalfolder</action>
2593 </object>
2594
2595 <object type="button">
Dees_Troy2691f9d2012-09-24 11:15:49 -04002596 <placement x="%col4_x%" y="%row1_y%" />
2597 <font resource="font" color="%button_text_color%" />
2598 <text>ADB Sideload</text>
2599 <image resource="main_button" />
2600 <actions>
2601 <action function="set">tw_back=advanced</action>
2602 <action function="set">tw_action=adbsideload</action>
2603 <action function="set">tw_action_text1=ADB Sideload</action>
2604 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2605 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
2606 <action function="set">tw_has_cancel=1</action>
2607 <action function="set">tw_cancel_action=adbsideloadcancel</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002608 <action function="set">tw_show_reboot=1</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002609 <action function="page">action_page</action>
2610 </actions>
2611 </object>
2612
2613 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002614 <condition var1="tw_allow_partition_sdcard" var2="1" />
2615 <placement x="%col1_x%" y="%row2_y%" />
2616 <font resource="font" color="%button_text_color%" />
2617 <text>Partition SD Card</text>
2618 <image resource="main_button" />
2619 <action function="page">partsdcard</action>
2620 </object>
2621
2622 <object type="button">
2623 <placement x="%col2_x%" y="%row2_y%" />
2624 <font resource="font" color="%button_text_color%" />
2625 <text>File Manager</text>
2626 <image resource="main_button" />
2627 <action function="page">filemanagerlist</action>
2628 </object>
2629
2630 <object type="button">
Dees_Troy2691f9d2012-09-24 11:15:49 -04002631 <placement x="%col3_x%" y="%row2_y%" />
2632 <font resource="font" color="%button_text_color%" />
2633 <text>Reload Theme</text>
2634 <image resource="main_button" />
2635 <action function="reload"></action>
2636 </object>
2637
2638 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002639 <condition var1="tw_show_dumlock" var2="1" />
2640 <placement x="%col4_x%" y="%row2_y%" />
2641 <font resource="font" color="%button_text_color%" />
2642 <text>HTC Dumlock</text>
2643 <image resource="main_button" />
2644 <action function="page">htcdumlock</action>
2645 </object>
2646
2647 <object type="action">
2648 <touch key="home" />
2649 <action function="page">main</action>
2650 </object>
2651
2652 <object type="action">
2653 <touch key="back" />
2654 <action function="page">main</action>
2655 </object>
2656
2657 <object type="template" name="footer" />
2658 </page>
2659
2660 <page name="partsdcard">
2661 <object type="template" name="header" />
2662
2663 <object type="text" color="%text_color%">
2664 <font resource="font" />
2665 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2666 <text>Partition SD Card</text>
2667 </object>
2668
2669 <object type="button">
2670 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2671 <font resource="font" color="%button_text_color%" />
2672 <text></text>
2673 <image resource="minus_button" />
2674 <action function="addsubtract">tw_sdext_size-128</action>
2675 </object>
2676
2677 <object type="button">
2678 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text></text>
2681 <image resource="plus_button" />
2682 <action function="addsubtract">tw_sdext_size+128</action>
2683 </object>
2684
2685 <object type="text" color="%text_color%">
2686 <font resource="font" />
2687 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2688 <text>EXT Size: %tw_sdext_size%</text>
2689 </object>
2690
2691 <object type="button">
2692 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text></text>
2695 <image resource="minus_button" />
2696 <action function="addsubtract">tw_swap_size-32</action>
2697 </object>
2698
2699 <object type="button">
2700 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2701 <font resource="font" color="%button_text_color%" />
2702 <text></text>
2703 <image resource="plus_button" />
2704 <action function="addsubtract">tw_swap_size+32</action>
2705 </object>
2706
2707 <object type="text" color="%text_color%">
2708 <font resource="font" />
2709 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2710 <text>Swap Size: %tw_swap_size%</text>
2711 </object>
2712
2713 <object type="text" color="%text_color%">
2714 <font resource="font" />
2715 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2716 <text>File system: %tw_sdpart_file_system%</text>
2717 </object>
2718
2719 <object type="button">
2720 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>EXT3</text>
2723 <image resource="medium_button" />
2724 <action function="set">tw_sdpart_file_system=ext3</action>
2725 </object>
2726
2727 <object type="button">
2728 <condition var1="tw_sdext_disable_ext4" var2="0" />
2729 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>EXT4</text>
2732 <image resource="medium_button" />
2733 <action function="set">tw_sdpart_file_system=ext4</action>
2734 </object>
2735
2736 <object type="text" color="%text_color%">
2737 <font resource="font" />
2738 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2739 <text>You will lose all files on your SD card!</text>
2740 </object>
2741
2742 <object type="text" color="%text_color%">
2743 <font resource="font" />
2744 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2745 <text>This action cannot be undone!</text>
2746 </object>
2747
2748 <object type="slider">
2749 <placement x="%slider_x%" y="%slider_y%" />
2750 <resource base="slider" used="slider-used" touch="slider-touch" />
2751 <actions>
2752 <action function="set">tw_back=partsdcard</action>
2753 <action function="set">tw_action=partitionsd</action>
2754 <action function="set">tw_has_action2=1</action>
2755 <action function="set">tw_action2=set</action>
2756 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2757 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2758 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002759 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002760 <action function="page">action_page</action>
2761 </actions>
2762 </object>
2763
2764 <object type="text" color="%text_color%">
2765 <font resource="font" />
2766 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2767 <text>Swipe to Confirm Partition</text>
2768 </object>
2769
2770 <object type="action">
2771 <touch key="home" />
2772 <action function="page">main</action>
2773 </object>
2774
2775 <object type="action">
2776 <touch key="back" />
2777 <action function="page">advanced</action>
2778 </object>
2779
2780 <object type="template" name="footer" />
2781 </page>
2782
2783
2784 <page name="htcdumlock">
2785 <object type="template" name="header" />
2786
2787 <object type="text" color="%text_color%">
2788 <font resource="font" />
2789 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2790 <text>HTC Dumlock</text>
2791 </object>
2792
2793 <object type="button">
2794 <condition var1="tw_show_dumlock" var2="1" />
2795 <placement x="%col1_x%" y="%row1_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Restore Original Boot</text>
2798 <image resource="main_button" />
2799 <actions>
2800 <action function="set">tw_back=htcdumlock</action>
2801 <action function="set">tw_action=htcdumlockrestoreboot</action>
2802 <action function="set">tw_text1=Restore original boot image?</action>
2803 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2804 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2805 <action function="set">tw_slider_text=Swipe to Confirm</action>
2806 <action function="page">confirm_action</action>
2807 </actions>
2808 </object>
2809
2810 <object type="button">
2811 <condition var1="tw_show_dumlock" var2="1" />
2812 <placement x="%col2_x%" y="%row1_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text>Reflash Recovery->Boot</text>
2815 <image resource="main_button" />
2816 <actions>
2817 <action function="set">tw_back=htcdumlock</action>
2818 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2819 <action function="set">tw_text1=Reflash recovery to boot?</action>
2820 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2821 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2822 <action function="set">tw_slider_text=Swipe to Confirm</action>
2823 <action function="page">confirm_action</action>
2824 </actions>
2825 </object>
2826
2827 <object type="button">
2828 <condition var1="tw_show_dumlock" var2="1" />
2829 <placement x="%col1_x%" y="%row2_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>Install HTC Dumlock</text>
2832 <image resource="main_button" />
2833 <actions>
2834 <action function="set">tw_back=htcdumlock</action>
2835 <action function="set">tw_action=installhtcdumlock</action>
2836 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2837 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2838 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2839 <action function="set">tw_slider_text=Swipe to Confirm</action>
2840 <action function="page">confirm_action</action>
2841 </actions>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="home" />
2846 <action function="page">main</action>
2847 </object>
2848
2849 <object type="action">
2850 <touch key="back" />
2851 <action function="page">advanced</action>
2852 </object>
2853
2854 <object type="template" name="footer" />
2855 </page>
2856
2857 <page name="lock">
2858 <background color="#000000A0" />
2859
2860 <object type="image">
2861 <image resource="unlock-icon" />
2862 <placement x="%lock_x%" y="%lock_y%" />
2863 </object>
2864
2865 <object type="slider">
2866 <placement x="%slider_x%" y="%slider_y%" />
2867 <resource base="slider" used="slider-used" touch="slider-touch" />
2868 <action function="overlay"></action>
2869 </object>
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2874 <text>Swipe to Unlock</text>
2875 </object>
2876 </page>
2877
2878
2879 <page name="filemanagerlist">
2880 <object type="template" name="header" />
2881
2882 <object type="text" color="%text_color%">
2883 <font resource="font" />
2884 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2885 <text>File Manager: Select a File or Folder</text>
2886 </object>
2887
2888 <object type="fileselector">
2889 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2890 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2891 <text>Folders:</text>
2892 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2893 <sort name="tw_gui_sort_order" />
2894 <icon folder="folder_icon" file="file_icon" />
2895 <background color="%fileselector_background%" />
2896 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2897 <filter folders="1" files="0" />
2898 <path name="tw_file_location1" default="/sdcard" />
2899 <data name="select" />
2900 <selection name="tw_selection1" />
2901 </object>
2902
2903 <object type="fileselector">
2904 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2905 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2906 <text>%tw_file_location1%</text>
2907 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2908 <sort name="tw_gui_sort_order" />
2909 <icon folder="folder_icon" file="file_icon" />
2910 <background color="%fileselector_background%" />
2911 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2912 <filter folders="0" files="1" />
2913 <path name="tw_file_location1" default="/" />
2914 <data name="tw_filename1" />
2915 <selection name="tw_selection1" />
2916 </object>
2917
2918 <object type="template" name="sort_options" />
2919
2920 <object type="action">
2921 <actions>
2922 <action function="set">tw_fm_type=File</action>
2923 <action function="set">tw_fm_isfolder=0</action>
2924 </actions>
2925 </object>
2926
2927 <object type="action">
2928 <touch key="home" />
2929 <action function="page">main</action>
2930 </object>
2931
2932 <object type="action">
2933 <touch key="back" />
2934 <action function="page">advanced</action>
2935 </object>
2936
2937 <object type="action">
2938 <condition var1="tw_filename1" op="modified" />
2939 <actions>
2940 <action function="page">filemanageroptions</action>
2941 </actions>
2942 </object>
2943
2944 <object type="button">
2945 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>Select Folder</text>
2948 <image resource="main_button" />
2949 <actions>
2950 <action function="set">tw_filename1=tw_file_location1</action>
2951 <action function="set">tw_fm_isfolder=1</action>
2952 <action function="set">tw_fm_type=Folder</action>
2953 <action function="page">filemanageroptions</action>
2954 </actions>
2955 </object>
2956
2957 <object type="template" name="footer" />
2958 </page>
2959
2960 <page name="filemanageroptions">
2961 <object type="template" name="header" />
2962
2963 <object type="text" color="%text_color%">
2964 <font resource="font" />
2965 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2966 <text>%tw_fm_type% Selected:</text>
2967 </object>
2968
2969 <object type="text" color="%text_color%">
2970 <font resource="font" />
2971 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2972 <text>%tw_filename1%</text>
2973 </object>
2974
2975 <object type="button">
2976 <condition var1="tw_fm_isfolder" var2="0" />
2977 <placement x="%col1_x%" y="%row2_y%" />
2978 <font resource="font" color="%button_text_color%" />
2979 <text>Copy File</text>
2980 <image resource="main_button" />
2981 <actions>
2982 <action function="set">tw_filemanager_command=cp</action>
2983 <action function="set">tw_fm_text1=Copying</action>
2984 <action function="page">choosedestinationfolder</action>
2985 </actions>
2986 </object>
2987
2988 <object type="button">
2989 <condition var1="tw_fm_isfolder" var2="1" />
2990 <placement x="%col1_x%" y="%row2_y%" />
2991 <font resource="font" color="%button_text_color%" />
2992 <text>Copy Folder</text>
2993 <image resource="main_button" />
2994 <actions>
2995 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2996 <action function="set">tw_fm_text1=Copying</action>
2997 <action function="page">choosedestinationfolder</action>
2998 </actions>
2999 </object>
3000
3001 <object type="button">
3002 <placement x="%col2_x%" y="%row2_y%" />
3003 <font resource="font" color="%button_text_color%" />
3004 <text>Move</text>
3005 <image resource="main_button" />
3006 <actions>
3007 <action function="set">tw_filemanager_command=mv</action>
3008 <action function="set">tw_fm_text1=Moving</action>
3009 <action function="page">choosedestinationfolder</action>
3010 </actions>
3011 </object>
3012
3013 <object type="button">
3014 <placement x="%col3_x%" y="%row2_y%" />
3015 <font resource="font" color="%button_text_color%" />
3016 <text>chmod 755</text>
3017 <image resource="main_button" />
3018 <actions>
3019 <action function="set">tw_filemanager_command=chmod 755</action>
3020 <action function="set">tw_fm_text1=chmod 755</action>
3021 <action function="set">tw_fm_text2=</action>
3022 <action function="set">tw_fm_text3=</action>
3023 <action function="set">tw_include_text3=0</action>
3024 <action function="set">tw_back=filemanageroptions</action>
3025 <action function="page">filemanagerconfirm</action>
3026 </actions>
3027 </object>
3028
3029 <object type="button">
3030 <placement x="%col4_x%" y="%row2_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>chmod</text>
3033 <image resource="main_button" />
3034 <actions>
3035 <action function="set">tw_filemanager_rename=0000</action>
3036 <action function="set">tw_fm_text2=</action>
3037 <action function="set">tw_fm_text3=</action>
3038 <action function="set">tw_include_text3=0</action>
3039 <action function="set">tw_back=filemanageroptions</action>
3040 <action function="page">filemanagerchmod</action>
3041 </actions>
3042 </object>
3043
3044 <object type="button">
3045 <placement x="%col1_x%" y="%row1_y%" />
3046 <font resource="font" color="%button_text_color%" />
3047 <text>Delete</text>
3048 <image resource="main_button" />
3049 <actions>
3050 <action function="set">tw_filemanager_command=rm -rf</action>
3051 <action function="set">tw_fm_text1=Deleting</action>
3052 <action function="set">tw_fm_text2=</action>
3053 <action function="set">tw_fm_text3=</action>
3054 <action function="set">tw_include_text3=0</action>
3055 <action function="set">tw_back=filemanageroptions</action>
3056 <action function="page">filemanagerconfirm</action>
3057 </actions>
3058 </object>
3059
3060 <object type="button">
3061 <condition var1="tw_fm_isfolder" var2="0" />
3062 <placement x="%col4_x%" y="%row1_y%" />
3063 <font resource="font" color="%button_text_color%" />
3064 <text>Rename File</text>
3065 <image resource="main_button" />
3066 <actions>
3067 <action function="set">tw_filemanager_rename=tw_selection1</action>
3068 <action function="set">tw_fm_text1=Renaming</action>
3069 <action function="set">tw_filemanager_command=mv</action>
3070 <action function="page">filemanagerrenamefile</action>
3071 </actions>
3072 </object>
3073
3074 <object type="button">
3075 <condition var1="tw_fm_isfolder" var2="1" />
3076 <placement x="%col4_x%" y="%row1_y%" />
3077 <font resource="font" color="%button_text_color%" />
3078 <text>Rename Folder</text>
3079 <image resource="main_button" />
3080 <actions>
3081 <action function="set">tw_filemanager_rename=tw_selection1</action>
3082 <action function="set">tw_fm_text1=Renaming</action>
3083 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3084 <action function="page">filemanagerrenamefolder</action>
3085 </actions>
3086 </object>
3087
3088 <object type="action">
3089 <touch key="home" />
3090 <action function="page">main</action>
3091 </object>
3092
3093 <object type="action">
3094 <touch key="back" />
3095 <action function="page">filemanagerlist</action>
3096 </object>
3097
3098 <object type="template" name="footer" />
3099 </page>
3100
3101 <page name="choosedestinationfolder">
3102 <object type="template" name="header" />
3103
3104 <object type="text" color="%text_color%">
3105 <font resource="font" />
3106 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3107 <text>Browse to Destination Folder & Press Select</text>
3108 </object>
3109
3110 <object type="fileselector">
3111 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3112 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3113 <text>%tw_file_location2%</text>
3114 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3115 <sort name="tw_gui_sort_order" />
3116 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
3117 <icon folder="folder_icon" file="file_icon" />
3118 <background color="%fileselector_background%" />
3119 <filter folders="1" files="0" />
3120 <path name="tw_file_location2" default="/sdcard" />
3121 <data name="tw_filename2" />
3122 </object>
3123
3124 <object type="template" name="sort_options" />
3125
3126 <object type="action">
3127 <touch key="home" />
3128 <action function="page">main</action>
3129 </object>
3130
3131 <object type="action">
3132 <touch key="back" />
3133 <action function="page">filemanageroptions</action>
3134 </object>
3135
3136 <object type="button">
3137 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>Select Folder</text>
3140 <image resource="main_button" />
3141 <actions>
3142 <action function="set">tw_fm_text2=to</action>
3143 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3144 <action function="set">tw_include_text3=1</action>
3145 <action function="set">tw_back=filemanageroptions</action>
3146 <action function="page">filemanagerconfirm</action>
3147 </actions>
3148 </object>
3149
3150 <object type="template" name="footer" />
3151 </page>
3152
3153 <page name="filemanagerrenamefile">
3154 <object type="template" name="header" />
3155
3156 <object type="text" color="%text_color%">
3157 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3158 <font resource="font" />
3159 <text>Please Enter a New %tw_fm_type% Name</text>
3160 </object>
3161
3162 <object type="input">
3163 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3164 <background color="%input_background_color%" />
3165 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3166 <font resource="font" color="%text_color%" />
3167 <text>%tw_filemanager_rename%</text>
3168 <data name="tw_filemanager_rename" />
3169 <restrict minlen="1" maxlen="128" />
3170 <actions>
3171 <action function="set">tw_fm_text2=to</action>
3172 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3173 <action function="set">tw_include_text3=1</action>
3174 <action function="set">tw_back=filemanageroptions</action>
3175 <action function="page">filemanagerconfirm</action>
3176 </actions>
3177 </object>
3178
3179 <object type="button">
3180 <placement x="%col_center_x%" y="%cancel_button_y%" />
3181 <font resource="font" color="%button_text_color%" />
3182 <text>Cancel</text>
3183 <image resource="main_button" />
3184 <action function="page">filemanageroptions</action>
3185 </object>
3186
3187 <object type="template" name="keyboardtemplate" />
3188
3189 <object type="action">
3190 <touch key="home" />
3191 <action function="page">main</action>
3192 </object>
3193
3194 <object type="action">
3195 <touch key="back" />
3196 <action function="page">filemanageroptions</action>
3197 </object>
3198
3199 <object type="template" name="footer" />
3200 </page>
3201
3202 <page name="filemanagerrenamefolder">
3203 <object type="template" name="header" />
3204
3205 <object type="text" color="%text_color%">
3206 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3207 <font resource="font" />
3208 <text>Please Enter a New %tw_fm_type% Name</text>
3209 </object>
3210
3211 <object type="input">
3212 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3213 <background color="%input_background_color%" />
3214 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3215 <font resource="font" color="%text_color%" />
3216 <text>%tw_filemanager_rename%</text>
3217 <data name="tw_filemanager_rename" />
3218 <restrict minlen="1" maxlen="128" />
3219 <actions>
3220 <action function="set">tw_fm_text2=to</action>
3221 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3222 <action function="set">tw_include_text3=1</action>
3223 <action function="set">tw_back=filemanageroptions</action>
3224 <action function="page">filemanagerconfirm</action>
3225 </actions>
3226 </object>
3227
3228 <object type="button">
3229 <placement x="%col_center_x%" y="%cancel_button_y%" />
3230 <font resource="font" color="%button_text_color%" />
3231 <text>Cancel</text>
3232 <image resource="main_button" />
3233 <action function="page">filemanageroptions</action>
3234 </object>
3235
3236 <object type="template" name="keyboardtemplate" />
3237
3238 <object type="action">
3239 <touch key="home" />
3240 <action function="page">main</action>
3241 </object>
3242
3243 <object type="action">
3244 <touch key="back" />
3245 <action function="page">filemanageroptions</action>
3246 </object>
3247
3248 <object type="template" name="footer" />
3249 </page>
3250
3251 <page name="filemanagerchmod">
3252 <object type="template" name="header" />
3253
3254 <object type="text" color="%text_color%">
3255 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3256 <font resource="font" />
3257 <text>Please Enter New Permissions</text>
3258 </object>
3259
3260 <object type="input">
3261 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3262 <background color="%input_background_color%" />
3263 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3264 <font resource="font" color="%text_color%" />
3265 <text>%tw_filemanager_rename%</text>
3266 <data name="tw_filemanager_rename" />
3267 <restrict minlen="3" maxlen="4" allow="0123456789" />
3268 <actions>
3269 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3270 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3271 <action function="set">tw_back=filemanageroptions</action>
3272 <action function="page">filemanagerconfirm</action>
3273 </actions>
3274 </object>
3275
3276 <object type="button">
3277 <placement x="%col_center_x%" y="%cancel_button_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>Cancel</text>
3280 <image resource="main_button" />
3281 <action function="page">filemanageroptions</action>
3282 </object>
3283
3284 <object type="template" name="keyboardtemplate" />
3285
3286 <object type="action">
3287 <touch key="home" />
3288 <action function="page">main</action>
3289 </object>
3290
3291 <object type="action">
3292 <touch key="back" />
3293 <action function="page">filemanageroptions</action>
3294 </object>
3295
3296 <object type="template" name="footer" />
3297 </page>
3298
3299 <page name="filemanagerconfirm">
3300 <object type="template" name="header" />
3301
3302 <object type="text" color="%text_color%">
3303 <font resource="font" />
3304 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3305 <text>%tw_fm_text1%</text>
3306 </object>
3307
3308 <object type="text" color="%text_color%">
3309 <font resource="font" />
3310 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3311 <text>%tw_filename1%</text>
3312 </object>
3313
3314 <object type="text" color="%text_color%">
3315 <font resource="font" />
3316 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3317 <text>%tw_fm_text2%</text>
3318 </object>
3319
3320 <object type="text" color="%text_color%">
3321 <font resource="font" />
3322 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3323 <text>%tw_fm_text3%</text>
3324 </object>
3325
3326 <object type="text" color="%text_color%">
3327 <font resource="font" />
3328 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3329 <text>Press back button to cancel.</text>
3330 </object>
3331
3332 <object type="slider">
3333 <placement x="%slider_x%" y="%slider_y%" />
3334 <resource base="slider" used="slider-used" touch="slider-touch" />
3335 <action function="page">filemanageracction</action>
3336 </object>
3337
3338 <object type="text" color="%text_color%">
3339 <font resource="font" />
3340 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3341 <text>Swipe to Confirm</text>
3342 </object>
3343
3344 <object type="action">
3345 <touch key="back" />
3346 <action function="page">%tw_back%</action>
3347 </object>
3348
3349 <object type="action">
3350 <touch key="home" />
3351 <action function="page">main</action>
3352 </object>
3353
3354 <object type="template" name="footer" />
3355 </page>
3356
3357 <page name="filemanageracction">
3358 <object type="template" name="header" />
3359
3360 <object type="text" color="%text_color%">
3361 <font resource="font" />
3362 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3363 <text>%tw_fm_text1%</text>
3364 </object>
3365
3366 <object type="template" name="action_page_console" />
3367
3368 <object type="template" name="progress_bar" />
3369
3370 <object type="action">
3371 <conditions>
3372 <condition var1="tw_operation_state" var2="1" />
3373 <condition var1="tw_operation_status" var2="0" />
3374 </conditions>
3375 <actions>
3376 <action function="set">tw_back=filemanagerlist</action>
3377 <action function="set">tw_complete_text1=File Operation Complete</action>
3378 <action function="page">action_complete</action>
3379 </actions>
3380 </object>
3381
3382 <object type="action">
3383 <conditions>
3384 <condition var1="tw_operation_state" var2="1" />
3385 <condition var1="tw_operation_status" op="!=" var2="0" />
3386 </conditions>
3387 <actions>
3388 <action function="set">tw_complete_text1=File Operation Complete</action>
3389 <action function="page">action_complete</action>
3390 </actions>
3391 </object>
3392
3393 <object type="action">
3394 <condition var1="tw_include_text3" var2="0" />
3395 <actions>
3396 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3397 </actions>
3398 </object>
3399
3400 <object type="action">
3401 <condition var1="tw_include_text3" var2="1" />
3402 <actions>
3403 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3404 </actions>
3405 </object>
3406 </page>
3407
3408 <page name="decrypt">
3409 <object type="template" name="header" />
3410
3411 <object type="text" color="%text_color%">
3412 <font resource="font" />
3413 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3414 <text>Please Enter Your Password</text>
3415 </object>
3416
3417 <object type="input">
3418 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3419 <background color="%input_background_color%" />
3420 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3421 <font resource="font" color="%text_color%" />
3422 <text>%tw_crypto_display%</text>
3423 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3424 <restrict minlen="1" maxlen="254" />
3425 <actions>
3426 <action function="page">trydecrypt</action>
3427 </actions>
3428 </object>
3429
3430 <object type="text" color="%text_fail_color%">
3431 <condition var1="tw_password_fail" var2="1" />
3432 <font resource="font" />
3433 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3434 <text>Password Failed, Please Try Again</text>
3435 </object>
3436
3437 <object type="button">
3438 <placement x="%col_center_x%" y="%cancel_button_y%" />
3439 <font resource="font" color="%button_text_color%" />
3440 <text>Cancel</text>
3441 <image resource="main_button" />
3442 <actions>
3443 <action function="page">main</action>
3444 </actions>
3445 </object>
3446
3447 <object type="template" name="keyboardtemplate" />
3448
3449 <object type="action">
3450 <touch key="home" />
3451 <actions>
3452 <action function="page">main</action>
3453 </actions>
3454 </object>
3455
3456 <object type="action">
3457 <touch key="back" />
3458 <actions>
3459 <action function="page">main</action>
3460 </actions>
3461 </object>
3462
3463 <object type="template" name="footer" />
3464 </page>
3465
3466 <page name="trydecrypt">
3467 <object type="template" name="header" />
3468
3469 <object type="text" color="%text_color%">
3470 <font resource="font" />
3471 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3472 <text>Trying Decryption with Your Password</text>
3473 </object>
3474
3475 <object type="template" name="action_page_console" />
3476
3477 <object type="template" name="progress_bar" />
3478
3479 <object type="action">
3480 <action function="decrypt"></action>
3481 </object>
3482
3483 <object type="action">
3484 <conditions>
3485 <condition var1="tw_operation_state" var2="1" />
3486 <condition var1="tw_operation_status" op="!=" var2="0" />
3487 </conditions>
3488 <actions>
3489 <action function="set">tw_password_fail=1</action>
3490 <action function="page">decrypt</action>
3491 </actions>
3492 </object>
3493
3494 <object type="action">
3495 <conditions>
3496 <condition var1="tw_operation_state" var2="1" />
3497 <condition var1="tw_operation_status" op="=" var2="0" />
3498 </conditions>
3499 <action function="page">main</action>
3500 </object>
3501 </page>
3502
3503 <page name="terminalfolder">
3504 <object type="template" name="header" />
3505
3506 <object type="text" color="%text_color%">
3507 <font resource="font" />
3508 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3509 <text>Browse to Starting Folder</text>
3510 </object>
3511
3512 <object type="fileselector">
3513 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3514 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3515 <text>%tw_terminal_location%</text>
3516 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3517 <sort name="tw_gui_sort_order" />
3518 <icon folder="folder_icon" file="file_icon" />
3519 <background color="%fileselector_background%" />
3520 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3521 <filter folders="1" files="0" />
3522 <path name="tw_terminal_location" default="/" />
3523 <data name="tw_terminal" />
3524 <selection name="tw_terminal_selection" />
3525 </object>
3526
3527 <object type="template" name="sort_options" />
3528
3529 <object type="action">
3530 <touch key="home" />
3531 <action function="page">main</action>
3532 </object>
3533
3534 <object type="action">
3535 <touch key="back" />
3536 <action function="page">advanced</action>
3537 </object>
3538
3539 <object type="button">
3540 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3541 <font resource="font" color="%button_text_color%" />
3542 <text>Select Folder</text>
3543 <image resource="main_button" />
3544 <actions>
3545 <action function="page">terminalcommand</action>
3546 </actions>
3547 </object>
3548
3549 <object type="template" name="footer" />
3550 </page>
3551
3552 <page name="terminalcommand">
3553 <background color="#000000FF" />
3554
3555 <object type="console">
3556 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3557 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3558 <font resource="fixed" />
3559 </object>
3560
3561 <object type="text" color="%text_color%">
3562 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3563 <font resource="font" />
3564 <text>Starting Path: %tw_terminal_location%</text>
3565 </object>
3566
3567 <object type="input">
3568 <condition var1="tw_terminal_state" var2="0" />
3569 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3570 <background color="%input_background_color%" />
3571 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3572 <font resource="font" color="%text_color%" />
3573 <text>%tw_terminal_command%</text>
3574 <data name="tw_terminal_command" />
3575 <restrict minlen="1" />
3576 <action function="terminalcommand">%tw_terminal_command%</action>
3577 </object>
3578
3579 <object type="button">
3580 <condition var1="tw_terminal_state" var2="1" />
3581 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3582 <font resource="font" color="%button_text_color%" />
3583 <text>KILL</text>
3584 <image resource="medium_button" />
3585 <action function="killterminal"></action>
3586 </object>
3587
3588 <object type="button">
3589 <placement x="%home_button_x%" y="%terminal_button_y%" />
3590 <font resource="font" color="%button_text_color%" />
3591 <text></text>
3592 <image resource="home_icon" />
3593 <condition var1="tw_busy" var2="0" />
3594 <action function="key">home</action>
3595 </object>
3596
3597 <object type="button">
3598 <placement x="%back_button_x%" y="%terminal_button_y%" />
3599 <font resource="font" color="%button_text_color%" />
3600 <text></text>
3601 <image resource="back_icon" />
3602 <condition var1="tw_busy" var2="0" />
3603 <action function="key">back</action>
3604 </object>
3605
3606 <object type="action">
3607 <touch key="power" />
3608 <action function="overlay">lock</action>
3609 </object>
3610
3611 <object type="template" name="keyboardtemplate" />
3612
3613 <object type="action">
3614 <touch key="home" />
3615 <action function="page">main</action>
3616 </object>
3617
3618 <object type="action">
3619 <touch key="back" />
3620 <action function="page">terminalfolder</action>
3621 </object>
3622 </page>
3623 </pages>
3624</recovery>