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