blob: 2e5b329053ae4543ccf6258b35f284894b1a0819 [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">
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001586 <condition var1="tw_has_data_media" var2="0" />
1587 <placement x="%col3_x%" y="%row2_y%" />
1588 <font resource="font" color="%button_text_color%" />
1589 <text>Android Secure</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=ANDROIDSECURE</action>
1595 <action function="set">tw_text1=Wipe Android Secure?</action>
1596 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1597 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1598 <action function="set">tw_slider_text=Swipe to Format</action>
1599 <action function="page">confirm_action</action>
1600 </actions>
1601 </object>
1602
1603 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001604 <condition var1="tw_has_sdext_partition" var2="1" />
1605 <placement x="%col4_x%" y="%row2_y%" />
1606 <font resource="font" color="%button_text_color%" />
1607 <text>SD Ext</text>
1608 <image resource="main_button" />
1609 <actions>
1610 <action function="set">tw_back=wipe</action>
1611 <action function="set">tw_action=wipe</action>
1612 <action function="set">tw_action_param=/sd-ext</action>
1613 <action function="set">tw_text1=Wipe SD-Ext?</action>
1614 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1615 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1616 <action function="set">tw_slider_text=Swipe to Wipe</action>
1617 <action function="page">confirm_action</action>
1618 </actions>
1619 </object>
1620
1621 <object type="action">
1622 <touch key="home" />
1623 <action function="page">main</action>
1624 </object>
1625
1626 <object type="action">
1627 <touch key="back" />
1628 <action function="page">main</action>
1629 </object>
1630
1631 <object type="template" name="footer" />
1632 </page>
1633
1634 <page name="backup">
1635 <object type="template" name="header" />
1636
1637 <object type="text" color="%text_color%">
1638 <font resource="font" />
1639 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1640 <text>Back Up Device</text>
1641 </object>
1642
1643 <object type="text" color="%text_color%">
1644 <font resource="font" />
1645 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1646 <text>Free Space: %tw_storage_free_size% MB</text>
1647 </object>
1648
1649 <object type="text" color="%text_color%">
1650 <font resource="font" />
1651 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1652 <text>Backup Name: %tw_backup_name%</text>
1653 </object>
1654
1655 <object type="checkbox">
1656 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1657 <font resource="font" color="%text_color%" />
1658 <text>System (%tw_backup_system_size% MB)</text>
1659 <data variable="tw_backup_system" />
1660 <image checked="checkbox_true" unchecked="checkbox_false" />
1661 </object>
1662
1663 <object type="checkbox">
1664 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1665 <font resource="font" color="%text_color%" />
1666 <text>Data (%tw_backup_data_size% MB)</text>
1667 <data variable="tw_backup_data" />
1668 <image checked="checkbox_true" unchecked="checkbox_false" />
1669 </object>
1670
1671 <object type="checkbox">
1672 <condition var1="tw_has_boot_partition" var2="1" />
1673 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1674 <font resource="font" color="%text_color%" />
1675 <text>Boot (%tw_backup_boot_size% MB)</text>
1676 <data variable="tw_backup_boot" />
1677 <image checked="checkbox_true" unchecked="checkbox_false" />
1678 </object>
1679
1680 <object type="checkbox">
1681 <condition var1="tw_has_recovery_partition" var2="1" />
1682 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1683 <font resource="font" color="%text_color%" />
1684 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1685 <data variable="tw_backup_recovery" />
1686 <image checked="checkbox_true" unchecked="checkbox_false" />
1687 </object>
1688
1689 <object type="checkbox">
1690 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1691 <font resource="font" color="%text_color%" />
1692 <text>Cache (%tw_backup_cache_size% MB)</text>
1693 <data variable="tw_backup_cache" />
1694 <image checked="checkbox_true" unchecked="checkbox_false" />
1695 </object>
1696
1697 <object type="checkbox">
1698 <condition var1="tw_has_android_secure" var2="1" />
1699 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1700 <font resource="font" color="%text_color%" />
1701 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1702 <data variable="tw_backup_andsec" />
1703 <image checked="checkbox_true" unchecked="checkbox_false" />
1704 </object>
1705
1706 <object type="checkbox">
1707 <condition var1="tw_has_sdext_partition" var2="1" />
1708 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1709 <font resource="font" color="%text_color%" />
1710 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1711 <data variable="tw_backup_sdext" />
1712 <image checked="checkbox_true" unchecked="checkbox_false" />
1713 </object>
1714
1715 <object type="checkbox">
1716 <condition var1="tw_sp1_name" op=">" var2="" />
1717 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1718 <font resource="font" color="%text_color%" />
1719 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1720 <data variable="tw_backup_sp1" />
1721 <image checked="checkbox_true" unchecked="checkbox_false" />
1722 </object>
1723
1724 <object type="checkbox">
1725 <condition var1="tw_sp2_name" op=">" var2="" />
1726 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1727 <font resource="font" color="%text_color%" />
1728 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1729 <data variable="tw_backup_sp2" />
1730 <image checked="checkbox_true" unchecked="checkbox_false" />
1731 </object>
1732
1733 <object type="checkbox">
1734 <condition var1="tw_sp3_name" op=">" var2="" />
1735 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1736 <font resource="font" color="%text_color%" />
1737 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1738 <data variable="tw_backup_sp3" />
1739 <image checked="checkbox_true" unchecked="checkbox_false" />
1740 </object>
1741
1742 <object type="checkbox">
1743 <placement x="%col1_x%" y="%nandcheck_row6%" />
1744 <font resource="font" color="%text_color%" />
1745 <text>Enable Compression (Requires more time)</text>
1746 <data variable="tw_use_compression" />
1747 <image checked="checkbox_true" unchecked="checkbox_false" />
1748 </object>
1749
1750 <object type="checkbox">
1751 <placement x="%col3_x%" y="%nandcheck_row6%" />
1752 <font resource="font" color="%text_color%" />
1753 <text>Skip MD5 generation on backups</text>
1754 <data variable="tw_skip_md5_generate" />
1755 <image checked="checkbox_true" unchecked="checkbox_false" />
1756 </object>
1757
1758 <object type="button">
1759 <placement x="%col2_x%" y="%nandcheck_row7%" />
1760 <font resource="font" color="%text_color%" />
1761 <conditions>
1762 <condition var1="tw_has_dual_storage" var2="1" />
1763 <condition var1="tw_use_external_storage" var2="1" />
1764 </conditions>
1765 <text>Using external SD</text>
1766 <image resource="radio_true" />
1767 <action function="togglestorage">external</action>
1768 </object>
1769
1770 <object type="button">
1771 <placement x="%col2_x%" y="%nandcheck_row7%" />
1772 <font resource="font" color="%text_color%" />
1773 <conditions>
1774 <condition var1="tw_has_dual_storage" var2="1" />
1775 <condition var1="tw_use_external_storage" var2="0" />
1776 </conditions>
1777 <text>Using external SD</text>
1778 <image resource="radio_false" />
1779 <action function="togglestorage">external</action>
1780 </object>
1781
1782 <object type="button">
1783 <placement x="%col3_x%" y="%nandcheck_row7%" />
1784 <font resource="font" color="%text_color%" />
1785 <conditions>
1786 <condition var1="tw_has_dual_storage" var2="1" />
1787 <condition var1="tw_use_external_storage" var2="1" />
1788 </conditions>
1789 <text>Using internal storage</text>
1790 <image resource="radio_false" />
1791 <action function="togglestorage">internal</action>
1792 </object>
1793
1794 <object type="button">
1795 <placement x="%col3_x%" y="%nandcheck_row7%" />
1796 <font resource="font" color="%text_color%" />
1797 <conditions>
1798 <condition var1="tw_has_dual_storage" var2="1" />
1799 <condition var1="tw_use_external_storage" var2="0" />
1800 </conditions>
1801 <text>Using internal storage</text>
1802 <image resource="radio_true" />
1803 <action function="togglestorage">internal</action>
1804 </object>
1805
1806 <object type="slider">
1807 <placement x="%slider_x%" y="%slider_y%" />
1808 <resource base="slider" used="slider-used" touch="slider-touch" />
1809 <actions>
1810 <action function="set">tw_operation_state=0</action>
1811 <action function="page">backup_run</action>
1812 </actions>
1813 </object>
1814
1815 <object type="text" color="%text_color%">
1816 <font resource="font" />
1817 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1818 <text>Swipe to Back Up</text>
1819 </object>
1820
1821 <object type="button">
1822 <placement x="%col4_x%" y="%row1_y%" />
1823 <font resource="font" color="%button_text_color%" />
1824 <text>Refresh Sizes</text>
1825 <image resource="main_button" />
1826 <action function="refreshsizes"></action>
1827 </object>
1828
1829 <object type="button">
1830 <placement x="%col4_x%" y="%backup_name_button_y%" />
1831 <font resource="font" color="%button_text_color%" />
1832 <text>Set Backup Name</text>
1833 <image resource="main_button" />
1834 <actions>
1835 <action function="set">tw_fileexists=0</action>
1836 <action function="page">backupname1</action>
1837 </actions>
1838 </object>
1839
1840 <object type="action">
1841 <touch key="home" />
1842 <action function="page">main</action>
1843 </object>
1844
1845 <object type="action">
1846 <touch key="back" />
1847 <action function="page">main</action>
1848 </object>
1849
1850 <object type="template" name="footer" />
1851 </page>
1852
1853 <page name="backupname1">
1854 <object type="action">
1855 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1856 <action function="set">tw_backup_name=</function>
1857 </object>
1858
1859 <object type="action">
1860 <action function="page">backupname2</function>
1861 </object>
1862 </page>
1863
1864 <page name="backupname2">
1865 <object type="template" name="header" />
1866
1867 <object type="text" color="%text_color%">
1868 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1869 <font resource="font" />
1870 <text>Please Enter a Backup Name</text>
1871 </object>
1872
1873 <object type="input">
1874 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1875 <background color="%input_background_color%" />
1876 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1877 <font resource="font" color="%text_color%" />
1878 <text>%tw_backup_name%</text>
1879 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001880 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001881 <actions>
1882 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1883 <action function="set">tw_existpage=backupname2</action>
1884 <action function="set">tw_notexistpage=backup</action>
1885 <action function="page">filecheck</action>
1886 </actions>
1887 </object>
1888
1889 <object type="text" color="%text_fail_color%">
1890 <condition var1="tw_fileexists" var2="1" />
1891 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1892 <font resource="font" />
1893 <text>A backup with that name already exists!</text>
1894 </object>
1895
1896 <object type="button">
1897 <placement x="%col_center_x%" y="%cancel_button_y%" />
1898 <font resource="font" color="%button_text_color%" />
1899 <text>Cancel / Clear</text>
1900 <image resource="main_button" />
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="keyboardtemplate" />
1908
1909 <object type="action">
1910 <touch key="home" />
1911 <actions>
1912 <action function="set">tw_backup_name=(Current Date)</action>
1913 <action function="page">main</action>
1914 </actions>
1915 </object>
1916
1917 <object type="action">
1918 <touch key="back" />
1919 <actions>
1920 <action function="set">tw_backup_name=(Current Date)</action>
1921 <action function="page">backup</action>
1922 </actions>
1923 </object>
1924
1925 <object type="template" name="footer" />
1926 </page>
1927
1928 <page name="backup_run">
1929 <object type="template" name="header" />
1930
1931 <object type="text" color="%text_color%">
1932 <font resource="font" />
1933 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1934 <text>%tw_operation% %tw_partition%</text>
1935 </object>
1936
1937 <object type="template" name="action_page_console" />
1938
1939 <object type="template" name="progress_bar" />
1940
1941 <object type="action">
1942 <action function="nandroid">backup</action>
1943 </object>
1944
1945 <object type="action">
1946 <condition var1="tw_operation_state" var2="1" />
1947 <actions>
1948 <action function="set">tw_back=backup</action>
1949 <action function="set">tw_complete_text1=Backup Complete</action>
1950 <action function="page">action_complete</action>
1951 </actions>
1952 </object>
1953
1954 <object type="template" name="footer" />
1955 </page>
1956
1957 <page name="restore">
1958 <object type="template" name="header" />
1959
1960 <object type="button">
1961 <placement x="%col2_x%" y="%zipstorage_text_y%" />
1962 <font resource="font" color="%text_color%" />
1963 <conditions>
1964 <condition var1="tw_has_dual_storage" var2="1" />
1965 <condition var1="tw_use_external_storage" var2="1" />
1966 </conditions>
1967 <text>Using external SD</text>
1968 <image resource="radio_true" />
1969 <action function="togglestorage">external</action>
1970 </object>
1971
1972 <object type="button">
1973 <placement x="%col2_x%" y="%zipstorage_text_y%" />
1974 <font resource="font" color="%text_color%" />
1975 <conditions>
1976 <condition var1="tw_has_dual_storage" var2="1" />
1977 <condition var1="tw_use_external_storage" var2="0" />
1978 </conditions>
1979 <text>Using external SD</text>
1980 <image resource="radio_false" />
1981 <action function="togglestorage">external</action>
1982 </object>
1983
1984 <object type="button">
1985 <placement x="%col3_x%" y="%zipstorage_text_y%" />
1986 <font resource="font" color="%text_color%" />
1987 <conditions>
1988 <condition var1="tw_has_dual_storage" var2="1" />
1989 <condition var1="tw_use_external_storage" var2="1" />
1990 </conditions>
1991 <text>Using internal storage</text>
1992 <image resource="radio_false" />
1993 <action function="togglestorage">internal</action>
1994 </object>
1995
1996 <object type="button">
1997 <placement x="%col3_x%" y="%zipstorage_text_y%" />
1998 <font resource="font" color="%text_color%" />
1999 <conditions>
2000 <condition var1="tw_has_dual_storage" var2="1" />
2001 <condition var1="tw_use_external_storage" var2="0" />
2002 </conditions>
2003 <text>Using internal storage</text>
2004 <image resource="radio_true" />
2005 <action function="togglestorage">internal</action>
2006 </object>
2007
2008 <object type="fileselector">
2009 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2010 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2011 <text>Select Package to Restore:</text>
2012 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2013 <sort name="tw_gui_sort_order" />
2014 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2015 <icon folder="folder_icon" file="file_icon" />
2016 <background color="%fileselector_background%" />
2017 <filter folders="1" files="0" nav="0" />
2018 <path name="tw_backups_folder" />
2019 <data name="tw_restore" default="" />
2020 <selection name="tw_restore_name" />
2021 </object>
2022
2023 <object type="template" name="sort_options" />
2024
2025 <object type="action">
2026 <condition var1="tw_restore" op="modified" />
2027 <actions>
2028 <action function="readBackup"></action>
2029 <action function="page">restore_select</action>
2030 </actions>
2031 </object>
2032
2033 <object type="action">
2034 <touch key="home" />
2035 <action function="page">main</action>
2036 </object>
2037
2038 <object type="action">
2039 <touch key="back" />
2040 <action function="page">main</action>
2041 </object>
2042
2043 <object type="template" name="footer" />
2044 </page>
2045
2046 <page name="restore_select">
2047 <object type="template" name="header" />
2048
2049 <object type="text" color="%text_color%">
2050 <font resource="font" />
2051 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2052 <text>Package to Restore: %tw_restore_name%</text>
2053 </object>
2054
2055 <object type="text" color="%text_color%">
2056 <font resource="font" />
2057 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2058 <text>Package Date: %tw_restore_file_date%</text>
2059 </object>
2060
2061 <object type="checkbox">
2062 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2063 <font resource="font" color="%text_color%" />
2064 <text>System</text>
2065 <condition var1="tw_restore_system" op=">=" var2="0" />
2066 <data variable="tw_restore_system" />
2067 <image checked="checkbox_true" unchecked="checkbox_false" />
2068 </object>
2069
2070 <object type="checkbox">
2071 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2072 <font resource="font" color="%text_color%" />
2073 <text>Data</text>
2074 <condition var1="tw_restore_data" op=">=" var2="0" />
2075 <data variable="tw_restore_data" />
2076 <image checked="checkbox_true" unchecked="checkbox_false" />
2077 </object>
2078
2079 <object type="checkbox">
2080 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2081 <font resource="font" color="%text_color%" />
2082 <text>Boot</text>
2083 <condition var1="tw_restore_boot" op=">=" var2="0" />
2084 <data variable="tw_restore_boot" />
2085 <image checked="checkbox_true" unchecked="checkbox_false" />
2086 </object>
2087
2088 <object type="checkbox">
2089 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2090 <font resource="font" color="%text_color%" />
2091 <text>Cache</text>
2092 <condition var1="tw_restore_cache" op=">=" var2="0" />
2093 <data variable="tw_restore_cache" />
2094 <image checked="checkbox_true" unchecked="checkbox_false" />
2095 </object>
2096
2097 <object type="checkbox">
2098 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2099 <font resource="font" color="%text_color%" />
2100 <text>.android_secure</text>
2101 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2102 <data variable="tw_restore_andsec" />
2103 <image checked="checkbox_true" unchecked="checkbox_false" />
2104 </object>
2105
2106 <object type="checkbox">
2107 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2108 <font resource="font" color="%text_color%" />
2109 <text>sd-ext</text>
2110 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2111 <data variable="tw_restore_sdext" />
2112 <image checked="checkbox_true" unchecked="checkbox_false" />
2113 </object>
2114
2115 <object type="checkbox">
2116 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2117 <font resource="font" color="%text_color%" />
2118 <text>%tw_sp1_name%</text>
2119 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2120 <data variable="tw_restore_sp1" />
2121 <image checked="checkbox_true" unchecked="checkbox_false" />
2122 </object>
2123
2124 <object type="checkbox">
2125 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2126 <font resource="font" color="%text_color%" />
2127 <text>%tw_sp2_name%</text>
2128 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2129 <data variable="tw_restore_sp2" />
2130 <image checked="checkbox_true" unchecked="checkbox_false" />
2131 </object>
2132
2133 <object type="checkbox">
2134 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2135 <font resource="font" color="%text_color%" />
2136 <text>%tw_sp3_name%</text>
2137 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2138 <data variable="tw_restore_sp3" />
2139 <image checked="checkbox_true" unchecked="checkbox_false" />
2140 </object>
2141
2142 <object type="checkbox">
2143 <placement x="%col1_x%" y="%nandcheck_row6%" />
2144 <font resource="font" color="%text_color%" />
2145 <text>Enable MD5 checking of backup files</text>
2146 <data variable="tw_skip_md5_check" />
2147 <image checked="checkbox_true" unchecked="checkbox_false" />
2148 </object>
2149
2150 <object type="button">
2151 <placement x="%col4_x%" y="%row1_y%" />
2152 <font resource="font" color="%button_text_color%" />
2153 <text>Rename Backup</text>
2154 <image resource="main_button" />
2155 <actions>
2156 <action function="set">tw_backup_rename=</action>
2157 <action function="set">tw_fileexists=0</action>
2158 <action function="page">renamebackup</action>
2159 </actions>
2160 </object>
2161
2162 <object type="button">
2163 <placement x="%col4_x%" y="%backup_name_button_y%" />
2164 <font resource="font" color="%button_text_color%" />
2165 <text>Delete Backup</text>
2166 <image resource="main_button" />
2167 <actions>
2168 <action function="set">tw_back=restore</action>
2169 <action function="set">tw_action=cmd</action>
2170 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action>
2171 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2172 <action function="set">tw_text2=This cannot be undone!</action>
2173 <action function="set">tw_action_text1=Deleting Backup...</action>
2174 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2175 <action function="set">tw_slider_text=Swipe to Delete</action>
2176 <action function="page">confirm_action</action>
2177 </actions>
2178 </object>
2179
2180 <object type="slider">
2181 <placement x="%slider_x%" y="%slider_y%" />
2182 <resource base="slider" used="slider-used" touch="slider-touch" />
2183 <action function="page">restore_run</action>
2184 </object>
2185
2186 <object type="text" color="%text_color%">
2187 <font resource="font" />
2188 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2189 <text>Swipe to Restore</text>
2190 </object>
2191
2192 <object type="action">
2193 <touch key="home" />
2194 <action function="page">main</action>
2195 </object>
2196
2197 <object type="action">
2198 <touch key="back" />
2199 <action function="page">restore</action>
2200 </object>
2201
2202 <object type="template" name="footer" />
2203 </page>
2204
2205 <page name="renamebackup">
2206 <object type="template" name="header" />
2207
2208 <object type="text" color="%text_color%">
2209 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2210 <font resource="font" />
2211 <text>Please Enter a New Backup Name</text>
2212 </object>
2213
2214 <object type="input">
2215 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2216 <background color="%input_background_color%" />
2217 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2218 <font resource="font" color="%text_color%" />
2219 <text>%tw_backup_rename%</text>
2220 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002221 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002222 <actions>
2223 <action function="set">tw_back=restore</action>
2224 <action function="set">tw_action=cmd</action>
2225 <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
2226 <action function="set">tw_text1=Rename Backup?</action>
2227 <action function="set">tw_text2=This cannot be undone!</action>
2228 <action function="set">tw_action_text1=Renaming Backup...</action>
2229 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2230 <action function="set">tw_slider_text=Swipe to Rename</action>
2231 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2232 <action function="set">tw_existpage=renamebackup</action>
2233 <action function="set">tw_notexistpage=confirm_action</action>
2234 <action function="page">filecheck</action>
2235 </actions>
2236 </object>
2237
2238 <object type="text" color="%text_fail_color%">
2239 <condition var1="tw_fileexists" var2="1" />
2240 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2241 <font resource="font" />
2242 <text>A backup with that name already exists!</text>
2243 </object>
2244
2245 <object type="button">
2246 <placement x="%col_center_x%" y="%cancel_button_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>Cancel</text>
2249 <image resource="main_button" />
2250 <action function="page">restore_select</action>
2251 </object>
2252
2253 <object type="template" name="keyboardtemplate" />
2254
2255 <object type="action">
2256 <touch key="home" />
2257 <action function="page">main</action>
2258 </object>
2259
2260 <object type="action">
2261 <touch key="back" />
2262 <action function="page">restore_select</action>
2263 </object>
2264
2265 <object type="template" name="footer" />
2266 </page>
2267
2268 <page name="restore_run">
2269 <object type="template" name="header" />
2270
2271 <object type="text" color="%text_color%">
2272 <font resource="font" />
2273 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2274 <text>%tw_operation% %tw_partition%</text>
2275 </object>
2276
2277 <object type="template" name="action_page_console" />
2278
2279 <object type="template" name="progress_bar" />
2280
2281 <object type="action">
2282 <conditions>
2283 <condition var1="tw_operation_state" var2="1" />
2284 <condition var1="tw_operation_status" var2="0" />
2285 </conditions>
2286 <actions>
2287 <action function="set">tw_back=restore_select</action>
2288 <action function="set">tw_complete_text1=Restore Complete</action>
2289 <action function="page">action_complete</action>
2290 </actions>
2291 </object>
2292
2293 <object type="action">
2294 <conditions>
2295 <condition var1="tw_operation_state" var2="1" />
2296 <condition var1="tw_operation_status" var2="1" />
2297 </conditions>
2298 <actions>
2299 <action function="set">tw_back=restore_select</action>
2300 <action function="set">tw_complete_text1=Restore Complete</action>
2301 <action function="page">action_complete</action>
2302 </actions>
2303 </object>
2304
2305 <object type="action">
2306 <action function="nandroid">restore</action>
2307 </object>
2308 </page>
2309
2310 <page name="settings">
2311 <object type="template" name="header" />
2312
2313 <object type="text" color="%text_color%">
2314 <font resource="font" />
2315 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2316 <text>Settings</text>
2317 </object>
2318
2319 <object type="checkbox">
2320 <placement x="%col1_x%" y="%row2_text_y%" />
2321 <font resource="font" color="%text_color%" />
2322 <text>Zip file signature verification?</text>
2323 <data variable="tw_signed_zip_verify" />
2324 <image checked="checkbox_true" unchecked="checkbox_false" />
2325 </object>
2326
2327 <object type="checkbox">
2328 <placement x="%col1_x%" y="%row3_text_y%" />
2329 <font resource="font" color="%text_color%" />
2330 <text>Force MD5 check on all zips?</text>
2331 <data variable="tw_force_md5_check" />
2332 <image checked="checkbox_true" unchecked="checkbox_false" />
2333 </object>
2334
2335 <object type="checkbox">
2336 <placement x="%col1_x%" y="%row4_text_y%" />
2337 <font resource="font" color="%text_color%" />
2338 <text>Use rm -rf instead of formatting?</text>
2339 <data variable="tw_rm_rf" />
2340 <image checked="checkbox_true" unchecked="checkbox_false" />
2341 </object>
2342
2343 <object type="checkbox">
2344 <placement x="%col1_x%" y="%row5_text_y%" />
2345 <font resource="font" color="%text_color%" />
2346 <text>Skip MD5 generation on backups</text>
2347 <data variable="tw_skip_md5_generate" />
2348 <image checked="checkbox_true" unchecked="checkbox_false" />
2349 </object>
2350
2351 <object type="checkbox">
2352 <placement x="%col1_x%" y="%row6_text_y%" />
2353 <font resource="font" color="%text_color%" />
2354 <text>Enable MD5 checking of backup files</text>
2355 <data variable="tw_skip_md5_check" />
2356 <image checked="checkbox_true" unchecked="checkbox_false" />
2357 </object>
2358
2359 <object type="checkbox">
2360 <placement x="%col1_x%" y="%row7_text_y%" />
2361 <font resource="font" color="%text_color%" />
2362 <text>Ignore image size errors during backup</text>
2363 <data variable="tw_ignore_image_size" />
2364 <image checked="checkbox_true" unchecked="checkbox_false" />
2365 </object>
2366
2367 <object type="checkbox">
2368 <placement x="%col1_x%" y="%row8_text_y%" />
2369 <font resource="font" color="%text_color%" />
2370 <text>Simulate most actions for theme testing</text>
2371 <data variable="tw_simulate_actions" />
2372 <image checked="checkbox_true" unchecked="checkbox_false" />
2373 </object>
2374
2375 <object type="checkbox">
2376 <condition var1="tw_simulate_actions" var2="1" />
2377 <placement x="%col1_x%" y="%row9_text_y%" />
2378 <font resource="font" color="%text_color%" />
2379 <text>Simulate failure for actions</text>
2380 <data variable="tw_simulate_fail" />
2381 <image checked="checkbox_true" unchecked="checkbox_false" />
2382 </object>
2383
2384 <object type="button">
2385 <placement x="%col1_x%" y="%row2_y%" />
2386 <font resource="font" color="%button_text_color%" />
2387 <text>Time Zone</text>
2388 <image resource="main_button" />
2389 <action function="page">timezone</action>
2390 </object>
2391
2392 <object type="button">
2393 <placement x="%col_center_x%" y="%slider_y%" />
2394 <font resource="font" color="%button_text_color%" />
2395 <text>Restore Defaults</text>
2396 <image resource="main_button" />
2397 <action function="restoredefaultsettings"></action>
2398 </object>
2399
2400 <object type="action">
2401 <touch key="home" />
2402 <action function="page">main</action>
2403 </object>
2404
2405 <object type="action">
2406 <touch key="back" />
2407 <action function="page">main</action>
2408 </object>
2409
2410 <object type="template" name="footer" />
2411 </page>
2412
2413 <page name="timezone">
2414 <object type="template" name="header" />
2415
2416 <object type="text" color="%text_color%">
2417 <font resource="font" />
2418 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2419 <text>Select Time Zone</text>
2420 </object>
2421
2422 <object type="listbox">
2423 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2424 <icon selected="radio_true" unselected="radio_false" />
2425 <background color="%listbox_background%" />
2426 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2427 <data name="tw_time_zone_guisel" />
2428 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2429 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2430 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2431 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2432 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2433 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2434 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2435 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2436 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2437 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2438 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2439 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2440 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2441 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2442 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2443 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2444 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2445 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2446 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2447 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2448 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2449 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2450 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2451 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2452 </object>
2453
2454 <object type="checkbox">
2455 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2456 <font resource="font" color="%text_color%" />
2457 <text>Do you use daylight savings time (DST)?</text>
2458 <data variable="tw_time_zone_guidst" />
2459 <image checked="checkbox_true" unchecked="checkbox_false" />
2460 </object>
2461
2462 <object type="text" color="%text_color%">
2463 <font resource="font" />
2464 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2465 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2466 </object>
2467
2468 <object type="button">
2469 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2470 <font resource="font" color="%button_text_color%" />
2471 <text>0</text>
2472 <image resource="medium_button" />
2473 <action function="set">tw_time_zone_guioffset=0</action>
2474 </object>
2475
2476 <object type="button">
2477 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2478 <font resource="font" color="%button_text_color%" />
2479 <text>15</text>
2480 <image resource="medium_button" />
2481 <action function="set">tw_time_zone_guioffset=15</action>
2482 </object>
2483
2484 <object type="button">
2485 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2486 <font resource="font" color="%button_text_color%" />
2487 <text>30</text>
2488 <image resource="medium_button" />
2489 <action function="set">tw_time_zone_guioffset=30</action>
2490 </object>
2491
2492 <object type="button">
2493 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2494 <font resource="font" color="%button_text_color%" />
2495 <text>45</text>
2496 <image resource="medium_button" />
2497 <action function="set">tw_time_zone_guioffset=45</action>
2498 </object>
2499
2500 <object type="button">
2501 <placement x="%col4_x%" y="%row2_y%" />
2502 <font resource="font" color="%button_text_color%" />
2503 <text>Set Time Zone</text>
2504 <image resource="main_button" />
2505 <action function="setguitimezone"></action>
2506 </object>
2507
2508 <object type="text" color="%text_color%">
2509 <font resource="font" />
2510 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2511 <text>Current Time Zone: %tw_time_zone%</text>
2512 </object>
2513
2514 <object type="action">
2515 <touch key="home" />
2516 <action function="page">main</action>
2517 </object>
2518
2519 <object type="action">
2520 <touch key="back" />
2521 <action function="page">settings</action>
2522 </object>
2523
2524 <object type="template" name="footer" />
2525 </page>
2526
2527 <page name="advanced">
2528 <object type="template" name="header" />
2529
2530 <object type="text" color="%text_color%">
2531 <font resource="font" />
2532 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2533 <text>Advanced</text>
2534 </object>
2535
2536 <object type="button">
2537 <placement x="%col1_x%" y="%row1_y%" />
2538 <font resource="font" color="%button_text_color%" />
2539 <text>Copy Log to SD</text>
2540 <image resource="main_button" />
2541 <actions>
2542 <action function="set">tw_back=advanced</action>
2543 <action function="set">tw_action=copylog</action>
2544 <action function="set">tw_text1=Copy Log to SD Card?</action>
2545 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2546 <action function="set">tw_complete_text1=Log Copy 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="%col2_x%" y="%row1_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>Fix Permissions</text>
2556 <image resource="main_button" />
2557 <actions>
2558 <action function="set">tw_back=advanced</action>
2559 <action function="set">tw_action=fixpermissions</action>
2560 <action function="set">tw_text1=Fix Permissions?</action>
2561 <action function="set">tw_text2=This will take a few minutes.</action>
2562 <action function="set">tw_action_text1=Fixing Permissions...</action>
2563 <action function="set">tw_action_text2=This will take a few minutes.</action>
2564 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2565 <action function="set">tw_slider_text=Swipe to Confirm</action>
2566 <action function="page">confirm_action</action>
2567 </actions>
2568 </object>
2569
2570 <object type="button">
2571 <placement x="%col3_x%" y="%row1_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>Terminal Command</text>
2574 <image resource="main_button" />
2575 <action function="page">terminalfolder</action>
2576 </object>
2577
2578 <object type="button">
Dees_Troy2691f9d2012-09-24 11:15:49 -04002579 <placement x="%col4_x%" y="%row1_y%" />
2580 <font resource="font" color="%button_text_color%" />
2581 <text>ADB Sideload</text>
2582 <image resource="main_button" />
2583 <actions>
2584 <action function="set">tw_back=advanced</action>
2585 <action function="set">tw_action=adbsideload</action>
2586 <action function="set">tw_action_text1=ADB Sideload</action>
2587 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2588 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
2589 <action function="set">tw_has_cancel=1</action>
2590 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2591 <action function="page">action_page</action>
2592 </actions>
2593 </object>
2594
2595 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002596 <condition var1="tw_allow_partition_sdcard" var2="1" />
2597 <placement x="%col1_x%" y="%row2_y%" />
2598 <font resource="font" color="%button_text_color%" />
2599 <text>Partition SD Card</text>
2600 <image resource="main_button" />
2601 <action function="page">partsdcard</action>
2602 </object>
2603
2604 <object type="button">
2605 <placement x="%col2_x%" y="%row2_y%" />
2606 <font resource="font" color="%button_text_color%" />
2607 <text>File Manager</text>
2608 <image resource="main_button" />
2609 <action function="page">filemanagerlist</action>
2610 </object>
2611
2612 <object type="button">
Dees_Troy2691f9d2012-09-24 11:15:49 -04002613 <placement x="%col3_x%" y="%row2_y%" />
2614 <font resource="font" color="%button_text_color%" />
2615 <text>Reload Theme</text>
2616 <image resource="main_button" />
2617 <action function="reload"></action>
2618 </object>
2619
2620 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <condition var1="tw_show_dumlock" var2="1" />
2622 <placement x="%col4_x%" y="%row2_y%" />
2623 <font resource="font" color="%button_text_color%" />
2624 <text>HTC Dumlock</text>
2625 <image resource="main_button" />
2626 <action function="page">htcdumlock</action>
2627 </object>
2628
2629 <object type="action">
2630 <touch key="home" />
2631 <action function="page">main</action>
2632 </object>
2633
2634 <object type="action">
2635 <touch key="back" />
2636 <action function="page">main</action>
2637 </object>
2638
2639 <object type="template" name="footer" />
2640 </page>
2641
2642 <page name="partsdcard">
2643 <object type="template" name="header" />
2644
2645 <object type="text" color="%text_color%">
2646 <font resource="font" />
2647 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2648 <text>Partition SD Card</text>
2649 </object>
2650
2651 <object type="button">
2652 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text></text>
2655 <image resource="minus_button" />
2656 <action function="addsubtract">tw_sdext_size-128</action>
2657 </object>
2658
2659 <object type="button">
2660 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2661 <font resource="font" color="%button_text_color%" />
2662 <text></text>
2663 <image resource="plus_button" />
2664 <action function="addsubtract">tw_sdext_size+128</action>
2665 </object>
2666
2667 <object type="text" color="%text_color%">
2668 <font resource="font" />
2669 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2670 <text>EXT Size: %tw_sdext_size%</text>
2671 </object>
2672
2673 <object type="button">
2674 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text></text>
2677 <image resource="minus_button" />
2678 <action function="addsubtract">tw_swap_size-32</action>
2679 </object>
2680
2681 <object type="button">
2682 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text></text>
2685 <image resource="plus_button" />
2686 <action function="addsubtract">tw_swap_size+32</action>
2687 </object>
2688
2689 <object type="text" color="%text_color%">
2690 <font resource="font" />
2691 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2692 <text>Swap Size: %tw_swap_size%</text>
2693 </object>
2694
2695 <object type="text" color="%text_color%">
2696 <font resource="font" />
2697 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2698 <text>File system: %tw_sdpart_file_system%</text>
2699 </object>
2700
2701 <object type="button">
2702 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>EXT3</text>
2705 <image resource="medium_button" />
2706 <action function="set">tw_sdpart_file_system=ext3</action>
2707 </object>
2708
2709 <object type="button">
2710 <condition var1="tw_sdext_disable_ext4" var2="0" />
2711 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2712 <font resource="font" color="%button_text_color%" />
2713 <text>EXT4</text>
2714 <image resource="medium_button" />
2715 <action function="set">tw_sdpart_file_system=ext4</action>
2716 </object>
2717
2718 <object type="text" color="%text_color%">
2719 <font resource="font" />
2720 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2721 <text>You will lose all files on your SD card!</text>
2722 </object>
2723
2724 <object type="text" color="%text_color%">
2725 <font resource="font" />
2726 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2727 <text>This action cannot be undone!</text>
2728 </object>
2729
2730 <object type="slider">
2731 <placement x="%slider_x%" y="%slider_y%" />
2732 <resource base="slider" used="slider-used" touch="slider-touch" />
2733 <actions>
2734 <action function="set">tw_back=partsdcard</action>
2735 <action function="set">tw_action=partitionsd</action>
2736 <action function="set">tw_has_action2=1</action>
2737 <action function="set">tw_action2=set</action>
2738 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2739 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2740 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002741 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <action function="page">action_page</action>
2743 </actions>
2744 </object>
2745
2746 <object type="text" color="%text_color%">
2747 <font resource="font" />
2748 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2749 <text>Swipe to Confirm Partition</text>
2750 </object>
2751
2752 <object type="action">
2753 <touch key="home" />
2754 <action function="page">main</action>
2755 </object>
2756
2757 <object type="action">
2758 <touch key="back" />
2759 <action function="page">advanced</action>
2760 </object>
2761
2762 <object type="template" name="footer" />
2763 </page>
2764
2765
2766 <page name="htcdumlock">
2767 <object type="template" name="header" />
2768
2769 <object type="text" color="%text_color%">
2770 <font resource="font" />
2771 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2772 <text>HTC Dumlock</text>
2773 </object>
2774
2775 <object type="button">
2776 <condition var1="tw_show_dumlock" var2="1" />
2777 <placement x="%col1_x%" y="%row1_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>Restore Original Boot</text>
2780 <image resource="main_button" />
2781 <actions>
2782 <action function="set">tw_back=htcdumlock</action>
2783 <action function="set">tw_action=htcdumlockrestoreboot</action>
2784 <action function="set">tw_text1=Restore original boot image?</action>
2785 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2786 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2787 <action function="set">tw_slider_text=Swipe to Confirm</action>
2788 <action function="page">confirm_action</action>
2789 </actions>
2790 </object>
2791
2792 <object type="button">
2793 <condition var1="tw_show_dumlock" var2="1" />
2794 <placement x="%col2_x%" y="%row1_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text>Reflash Recovery->Boot</text>
2797 <image resource="main_button" />
2798 <actions>
2799 <action function="set">tw_back=htcdumlock</action>
2800 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2801 <action function="set">tw_text1=Reflash recovery to boot?</action>
2802 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2803 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2804 <action function="set">tw_slider_text=Swipe to Confirm</action>
2805 <action function="page">confirm_action</action>
2806 </actions>
2807 </object>
2808
2809 <object type="button">
2810 <condition var1="tw_show_dumlock" var2="1" />
2811 <placement x="%col1_x%" y="%row2_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>Install HTC Dumlock</text>
2814 <image resource="main_button" />
2815 <actions>
2816 <action function="set">tw_back=htcdumlock</action>
2817 <action function="set">tw_action=installhtcdumlock</action>
2818 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2819 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2820 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2821 <action function="set">tw_slider_text=Swipe to Confirm</action>
2822 <action function="page">confirm_action</action>
2823 </actions>
2824 </object>
2825
2826 <object type="action">
2827 <touch key="home" />
2828 <action function="page">main</action>
2829 </object>
2830
2831 <object type="action">
2832 <touch key="back" />
2833 <action function="page">advanced</action>
2834 </object>
2835
2836 <object type="template" name="footer" />
2837 </page>
2838
2839 <page name="lock">
2840 <background color="#000000A0" />
2841
2842 <object type="image">
2843 <image resource="unlock-icon" />
2844 <placement x="%lock_x%" y="%lock_y%" />
2845 </object>
2846
2847 <object type="slider">
2848 <placement x="%slider_x%" y="%slider_y%" />
2849 <resource base="slider" used="slider-used" touch="slider-touch" />
2850 <action function="overlay"></action>
2851 </object>
2852
2853 <object type="text" color="%text_color%">
2854 <font resource="font" />
2855 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2856 <text>Swipe to Unlock</text>
2857 </object>
2858 </page>
2859
2860
2861 <page name="filemanagerlist">
2862 <object type="template" name="header" />
2863
2864 <object type="text" color="%text_color%">
2865 <font resource="font" />
2866 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2867 <text>File Manager: Select a File or Folder</text>
2868 </object>
2869
2870 <object type="fileselector">
2871 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2872 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2873 <text>Folders:</text>
2874 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2875 <sort name="tw_gui_sort_order" />
2876 <icon folder="folder_icon" file="file_icon" />
2877 <background color="%fileselector_background%" />
2878 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2879 <filter folders="1" files="0" />
2880 <path name="tw_file_location1" default="/sdcard" />
2881 <data name="select" />
2882 <selection name="tw_selection1" />
2883 </object>
2884
2885 <object type="fileselector">
2886 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2887 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2888 <text>%tw_file_location1%</text>
2889 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2890 <sort name="tw_gui_sort_order" />
2891 <icon folder="folder_icon" file="file_icon" />
2892 <background color="%fileselector_background%" />
2893 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
2894 <filter folders="0" files="1" />
2895 <path name="tw_file_location1" default="/" />
2896 <data name="tw_filename1" />
2897 <selection name="tw_selection1" />
2898 </object>
2899
2900 <object type="template" name="sort_options" />
2901
2902 <object type="action">
2903 <actions>
2904 <action function="set">tw_fm_type=File</action>
2905 <action function="set">tw_fm_isfolder=0</action>
2906 </actions>
2907 </object>
2908
2909 <object type="action">
2910 <touch key="home" />
2911 <action function="page">main</action>
2912 </object>
2913
2914 <object type="action">
2915 <touch key="back" />
2916 <action function="page">advanced</action>
2917 </object>
2918
2919 <object type="action">
2920 <condition var1="tw_filename1" op="modified" />
2921 <actions>
2922 <action function="page">filemanageroptions</action>
2923 </actions>
2924 </object>
2925
2926 <object type="button">
2927 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>Select Folder</text>
2930 <image resource="main_button" />
2931 <actions>
2932 <action function="set">tw_filename1=tw_file_location1</action>
2933 <action function="set">tw_fm_isfolder=1</action>
2934 <action function="set">tw_fm_type=Folder</action>
2935 <action function="page">filemanageroptions</action>
2936 </actions>
2937 </object>
2938
2939 <object type="template" name="footer" />
2940 </page>
2941
2942 <page name="filemanageroptions">
2943 <object type="template" name="header" />
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2948 <text>%tw_fm_type% Selected:</text>
2949 </object>
2950
2951 <object type="text" color="%text_color%">
2952 <font resource="font" />
2953 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2954 <text>%tw_filename1%</text>
2955 </object>
2956
2957 <object type="button">
2958 <condition var1="tw_fm_isfolder" var2="0" />
2959 <placement x="%col1_x%" y="%row2_y%" />
2960 <font resource="font" color="%button_text_color%" />
2961 <text>Copy File</text>
2962 <image resource="main_button" />
2963 <actions>
2964 <action function="set">tw_filemanager_command=cp</action>
2965 <action function="set">tw_fm_text1=Copying</action>
2966 <action function="page">choosedestinationfolder</action>
2967 </actions>
2968 </object>
2969
2970 <object type="button">
2971 <condition var1="tw_fm_isfolder" var2="1" />
2972 <placement x="%col1_x%" y="%row2_y%" />
2973 <font resource="font" color="%button_text_color%" />
2974 <text>Copy Folder</text>
2975 <image resource="main_button" />
2976 <actions>
2977 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2978 <action function="set">tw_fm_text1=Copying</action>
2979 <action function="page">choosedestinationfolder</action>
2980 </actions>
2981 </object>
2982
2983 <object type="button">
2984 <placement x="%col2_x%" y="%row2_y%" />
2985 <font resource="font" color="%button_text_color%" />
2986 <text>Move</text>
2987 <image resource="main_button" />
2988 <actions>
2989 <action function="set">tw_filemanager_command=mv</action>
2990 <action function="set">tw_fm_text1=Moving</action>
2991 <action function="page">choosedestinationfolder</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
2996 <placement x="%col3_x%" y="%row2_y%" />
2997 <font resource="font" color="%button_text_color%" />
2998 <text>chmod 755</text>
2999 <image resource="main_button" />
3000 <actions>
3001 <action function="set">tw_filemanager_command=chmod 755</action>
3002 <action function="set">tw_fm_text1=chmod 755</action>
3003 <action function="set">tw_fm_text2=</action>
3004 <action function="set">tw_fm_text3=</action>
3005 <action function="set">tw_include_text3=0</action>
3006 <action function="set">tw_back=filemanageroptions</action>
3007 <action function="page">filemanagerconfirm</action>
3008 </actions>
3009 </object>
3010
3011 <object type="button">
3012 <placement x="%col4_x%" y="%row2_y%" />
3013 <font resource="font" color="%button_text_color%" />
3014 <text>chmod</text>
3015 <image resource="main_button" />
3016 <actions>
3017 <action function="set">tw_filemanager_rename=0000</action>
3018 <action function="set">tw_fm_text2=</action>
3019 <action function="set">tw_fm_text3=</action>
3020 <action function="set">tw_include_text3=0</action>
3021 <action function="set">tw_back=filemanageroptions</action>
3022 <action function="page">filemanagerchmod</action>
3023 </actions>
3024 </object>
3025
3026 <object type="button">
3027 <placement x="%col1_x%" y="%row1_y%" />
3028 <font resource="font" color="%button_text_color%" />
3029 <text>Delete</text>
3030 <image resource="main_button" />
3031 <actions>
3032 <action function="set">tw_filemanager_command=rm -rf</action>
3033 <action function="set">tw_fm_text1=Deleting</action>
3034 <action function="set">tw_fm_text2=</action>
3035 <action function="set">tw_fm_text3=</action>
3036 <action function="set">tw_include_text3=0</action>
3037 <action function="set">tw_back=filemanageroptions</action>
3038 <action function="page">filemanagerconfirm</action>
3039 </actions>
3040 </object>
3041
3042 <object type="button">
3043 <condition var1="tw_fm_isfolder" var2="0" />
3044 <placement x="%col4_x%" y="%row1_y%" />
3045 <font resource="font" color="%button_text_color%" />
3046 <text>Rename File</text>
3047 <image resource="main_button" />
3048 <actions>
3049 <action function="set">tw_filemanager_rename=tw_selection1</action>
3050 <action function="set">tw_fm_text1=Renaming</action>
3051 <action function="set">tw_filemanager_command=mv</action>
3052 <action function="page">filemanagerrenamefile</action>
3053 </actions>
3054 </object>
3055
3056 <object type="button">
3057 <condition var1="tw_fm_isfolder" var2="1" />
3058 <placement x="%col4_x%" y="%row1_y%" />
3059 <font resource="font" color="%button_text_color%" />
3060 <text>Rename Folder</text>
3061 <image resource="main_button" />
3062 <actions>
3063 <action function="set">tw_filemanager_rename=tw_selection1</action>
3064 <action function="set">tw_fm_text1=Renaming</action>
3065 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3066 <action function="page">filemanagerrenamefolder</action>
3067 </actions>
3068 </object>
3069
3070 <object type="action">
3071 <touch key="home" />
3072 <action function="page">main</action>
3073 </object>
3074
3075 <object type="action">
3076 <touch key="back" />
3077 <action function="page">filemanagerlist</action>
3078 </object>
3079
3080 <object type="template" name="footer" />
3081 </page>
3082
3083 <page name="choosedestinationfolder">
3084 <object type="template" name="header" />
3085
3086 <object type="text" color="%text_color%">
3087 <font resource="font" />
3088 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3089 <text>Browse to Destination Folder & Press Select</text>
3090 </object>
3091
3092 <object type="fileselector">
3093 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3094 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3095 <text>%tw_file_location2%</text>
3096 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3097 <sort name="tw_gui_sort_order" />
3098 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" />
3099 <icon folder="folder_icon" file="file_icon" />
3100 <background color="%fileselector_background%" />
3101 <filter folders="1" files="0" />
3102 <path name="tw_file_location2" default="/sdcard" />
3103 <data name="tw_filename2" />
3104 </object>
3105
3106 <object type="template" name="sort_options" />
3107
3108 <object type="action">
3109 <touch key="home" />
3110 <action function="page">main</action>
3111 </object>
3112
3113 <object type="action">
3114 <touch key="back" />
3115 <action function="page">filemanageroptions</action>
3116 </object>
3117
3118 <object type="button">
3119 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3120 <font resource="font" color="%button_text_color%" />
3121 <text>Select Folder</text>
3122 <image resource="main_button" />
3123 <actions>
3124 <action function="set">tw_fm_text2=to</action>
3125 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3126 <action function="set">tw_include_text3=1</action>
3127 <action function="set">tw_back=filemanageroptions</action>
3128 <action function="page">filemanagerconfirm</action>
3129 </actions>
3130 </object>
3131
3132 <object type="template" name="footer" />
3133 </page>
3134
3135 <page name="filemanagerrenamefile">
3136 <object type="template" name="header" />
3137
3138 <object type="text" color="%text_color%">
3139 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3140 <font resource="font" />
3141 <text>Please Enter a New %tw_fm_type% Name</text>
3142 </object>
3143
3144 <object type="input">
3145 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3146 <background color="%input_background_color%" />
3147 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3148 <font resource="font" color="%text_color%" />
3149 <text>%tw_filemanager_rename%</text>
3150 <data name="tw_filemanager_rename" />
3151 <restrict minlen="1" maxlen="128" />
3152 <actions>
3153 <action function="set">tw_fm_text2=to</action>
3154 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3155 <action function="set">tw_include_text3=1</action>
3156 <action function="set">tw_back=filemanageroptions</action>
3157 <action function="page">filemanagerconfirm</action>
3158 </actions>
3159 </object>
3160
3161 <object type="button">
3162 <placement x="%col_center_x%" y="%cancel_button_y%" />
3163 <font resource="font" color="%button_text_color%" />
3164 <text>Cancel</text>
3165 <image resource="main_button" />
3166 <action function="page">filemanageroptions</action>
3167 </object>
3168
3169 <object type="template" name="keyboardtemplate" />
3170
3171 <object type="action">
3172 <touch key="home" />
3173 <action function="page">main</action>
3174 </object>
3175
3176 <object type="action">
3177 <touch key="back" />
3178 <action function="page">filemanageroptions</action>
3179 </object>
3180
3181 <object type="template" name="footer" />
3182 </page>
3183
3184 <page name="filemanagerrenamefolder">
3185 <object type="template" name="header" />
3186
3187 <object type="text" color="%text_color%">
3188 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3189 <font resource="font" />
3190 <text>Please Enter a New %tw_fm_type% Name</text>
3191 </object>
3192
3193 <object type="input">
3194 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3195 <background color="%input_background_color%" />
3196 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3197 <font resource="font" color="%text_color%" />
3198 <text>%tw_filemanager_rename%</text>
3199 <data name="tw_filemanager_rename" />
3200 <restrict minlen="1" maxlen="128" />
3201 <actions>
3202 <action function="set">tw_fm_text2=to</action>
3203 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3204 <action function="set">tw_include_text3=1</action>
3205 <action function="set">tw_back=filemanageroptions</action>
3206 <action function="page">filemanagerconfirm</action>
3207 </actions>
3208 </object>
3209
3210 <object type="button">
3211 <placement x="%col_center_x%" y="%cancel_button_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text>Cancel</text>
3214 <image resource="main_button" />
3215 <action function="page">filemanageroptions</action>
3216 </object>
3217
3218 <object type="template" name="keyboardtemplate" />
3219
3220 <object type="action">
3221 <touch key="home" />
3222 <action function="page">main</action>
3223 </object>
3224
3225 <object type="action">
3226 <touch key="back" />
3227 <action function="page">filemanageroptions</action>
3228 </object>
3229
3230 <object type="template" name="footer" />
3231 </page>
3232
3233 <page name="filemanagerchmod">
3234 <object type="template" name="header" />
3235
3236 <object type="text" color="%text_color%">
3237 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3238 <font resource="font" />
3239 <text>Please Enter New Permissions</text>
3240 </object>
3241
3242 <object type="input">
3243 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3244 <background color="%input_background_color%" />
3245 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3246 <font resource="font" color="%text_color%" />
3247 <text>%tw_filemanager_rename%</text>
3248 <data name="tw_filemanager_rename" />
3249 <restrict minlen="3" maxlen="4" allow="0123456789" />
3250 <actions>
3251 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3252 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3253 <action function="set">tw_back=filemanageroptions</action>
3254 <action function="page">filemanagerconfirm</action>
3255 </actions>
3256 </object>
3257
3258 <object type="button">
3259 <placement x="%col_center_x%" y="%cancel_button_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>Cancel</text>
3262 <image resource="main_button" />
3263 <action function="page">filemanageroptions</action>
3264 </object>
3265
3266 <object type="template" name="keyboardtemplate" />
3267
3268 <object type="action">
3269 <touch key="home" />
3270 <action function="page">main</action>
3271 </object>
3272
3273 <object type="action">
3274 <touch key="back" />
3275 <action function="page">filemanageroptions</action>
3276 </object>
3277
3278 <object type="template" name="footer" />
3279 </page>
3280
3281 <page name="filemanagerconfirm">
3282 <object type="template" name="header" />
3283
3284 <object type="text" color="%text_color%">
3285 <font resource="font" />
3286 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3287 <text>%tw_fm_text1%</text>
3288 </object>
3289
3290 <object type="text" color="%text_color%">
3291 <font resource="font" />
3292 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3293 <text>%tw_filename1%</text>
3294 </object>
3295
3296 <object type="text" color="%text_color%">
3297 <font resource="font" />
3298 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3299 <text>%tw_fm_text2%</text>
3300 </object>
3301
3302 <object type="text" color="%text_color%">
3303 <font resource="font" />
3304 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3305 <text>%tw_fm_text3%</text>
3306 </object>
3307
3308 <object type="text" color="%text_color%">
3309 <font resource="font" />
3310 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3311 <text>Press back button to cancel.</text>
3312 </object>
3313
3314 <object type="slider">
3315 <placement x="%slider_x%" y="%slider_y%" />
3316 <resource base="slider" used="slider-used" touch="slider-touch" />
3317 <action function="page">filemanageracction</action>
3318 </object>
3319
3320 <object type="text" color="%text_color%">
3321 <font resource="font" />
3322 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3323 <text>Swipe to Confirm</text>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="back" />
3328 <action function="page">%tw_back%</action>
3329 </object>
3330
3331 <object type="action">
3332 <touch key="home" />
3333 <action function="page">main</action>
3334 </object>
3335
3336 <object type="template" name="footer" />
3337 </page>
3338
3339 <page name="filemanageracction">
3340 <object type="template" name="header" />
3341
3342 <object type="text" color="%text_color%">
3343 <font resource="font" />
3344 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3345 <text>%tw_fm_text1%</text>
3346 </object>
3347
3348 <object type="template" name="action_page_console" />
3349
3350 <object type="template" name="progress_bar" />
3351
3352 <object type="action">
3353 <conditions>
3354 <condition var1="tw_operation_state" var2="1" />
3355 <condition var1="tw_operation_status" var2="0" />
3356 </conditions>
3357 <actions>
3358 <action function="set">tw_back=filemanagerlist</action>
3359 <action function="set">tw_complete_text1=File Operation Complete</action>
3360 <action function="page">action_complete</action>
3361 </actions>
3362 </object>
3363
3364 <object type="action">
3365 <conditions>
3366 <condition var1="tw_operation_state" var2="1" />
3367 <condition var1="tw_operation_status" op="!=" var2="0" />
3368 </conditions>
3369 <actions>
3370 <action function="set">tw_complete_text1=File Operation Complete</action>
3371 <action function="page">action_complete</action>
3372 </actions>
3373 </object>
3374
3375 <object type="action">
3376 <condition var1="tw_include_text3" var2="0" />
3377 <actions>
3378 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3379 </actions>
3380 </object>
3381
3382 <object type="action">
3383 <condition var1="tw_include_text3" var2="1" />
3384 <actions>
3385 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3386 </actions>
3387 </object>
3388 </page>
3389
3390 <page name="decrypt">
3391 <object type="template" name="header" />
3392
3393 <object type="text" color="%text_color%">
3394 <font resource="font" />
3395 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3396 <text>Please Enter Your Password</text>
3397 </object>
3398
3399 <object type="input">
3400 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3401 <background color="%input_background_color%" />
3402 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3403 <font resource="font" color="%text_color%" />
3404 <text>%tw_crypto_display%</text>
3405 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3406 <restrict minlen="1" maxlen="254" />
3407 <actions>
3408 <action function="page">trydecrypt</action>
3409 </actions>
3410 </object>
3411
3412 <object type="text" color="%text_fail_color%">
3413 <condition var1="tw_password_fail" var2="1" />
3414 <font resource="font" />
3415 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3416 <text>Password Failed, Please Try Again</text>
3417 </object>
3418
3419 <object type="button">
3420 <placement x="%col_center_x%" y="%cancel_button_y%" />
3421 <font resource="font" color="%button_text_color%" />
3422 <text>Cancel</text>
3423 <image resource="main_button" />
3424 <actions>
3425 <action function="page">main</action>
3426 </actions>
3427 </object>
3428
3429 <object type="template" name="keyboardtemplate" />
3430
3431 <object type="action">
3432 <touch key="home" />
3433 <actions>
3434 <action function="page">main</action>
3435 </actions>
3436 </object>
3437
3438 <object type="action">
3439 <touch key="back" />
3440 <actions>
3441 <action function="page">main</action>
3442 </actions>
3443 </object>
3444
3445 <object type="template" name="footer" />
3446 </page>
3447
3448 <page name="trydecrypt">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3454 <text>Trying Decryption with Your Password</text>
3455 </object>
3456
3457 <object type="template" name="action_page_console" />
3458
3459 <object type="template" name="progress_bar" />
3460
3461 <object type="action">
3462 <action function="decrypt"></action>
3463 </object>
3464
3465 <object type="action">
3466 <conditions>
3467 <condition var1="tw_operation_state" var2="1" />
3468 <condition var1="tw_operation_status" op="!=" var2="0" />
3469 </conditions>
3470 <actions>
3471 <action function="set">tw_password_fail=1</action>
3472 <action function="page">decrypt</action>
3473 </actions>
3474 </object>
3475
3476 <object type="action">
3477 <conditions>
3478 <condition var1="tw_operation_state" var2="1" />
3479 <condition var1="tw_operation_status" op="=" var2="0" />
3480 </conditions>
3481 <action function="page">main</action>
3482 </object>
3483 </page>
3484
3485 <page name="terminalfolder">
3486 <object type="template" name="header" />
3487
3488 <object type="text" color="%text_color%">
3489 <font resource="font" />
3490 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3491 <text>Browse to Starting Folder</text>
3492 </object>
3493
3494 <object type="fileselector">
3495 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3496 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3497 <text>%tw_terminal_location%</text>
3498 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3499 <sort name="tw_gui_sort_order" />
3500 <icon folder="folder_icon" file="file_icon" />
3501 <background color="%fileselector_background%" />
3502 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3503 <filter folders="1" files="0" />
3504 <path name="tw_terminal_location" default="/" />
3505 <data name="tw_terminal" />
3506 <selection name="tw_terminal_selection" />
3507 </object>
3508
3509 <object type="template" name="sort_options" />
3510
3511 <object type="action">
3512 <touch key="home" />
3513 <action function="page">main</action>
3514 </object>
3515
3516 <object type="action">
3517 <touch key="back" />
3518 <action function="page">advanced</action>
3519 </object>
3520
3521 <object type="button">
3522 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3523 <font resource="font" color="%button_text_color%" />
3524 <text>Select Folder</text>
3525 <image resource="main_button" />
3526 <actions>
3527 <action function="page">terminalcommand</action>
3528 </actions>
3529 </object>
3530
3531 <object type="template" name="footer" />
3532 </page>
3533
3534 <page name="terminalcommand">
3535 <background color="#000000FF" />
3536
3537 <object type="console">
3538 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3539 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3540 <font resource="fixed" />
3541 </object>
3542
3543 <object type="text" color="%text_color%">
3544 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3545 <font resource="font" />
3546 <text>Starting Path: %tw_terminal_location%</text>
3547 </object>
3548
3549 <object type="input">
3550 <condition var1="tw_terminal_state" var2="0" />
3551 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3552 <background color="%input_background_color%" />
3553 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3554 <font resource="font" color="%text_color%" />
3555 <text>%tw_terminal_command%</text>
3556 <data name="tw_terminal_command" />
3557 <restrict minlen="1" />
3558 <action function="terminalcommand">%tw_terminal_command%</action>
3559 </object>
3560
3561 <object type="button">
3562 <condition var1="tw_terminal_state" var2="1" />
3563 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3564 <font resource="font" color="%button_text_color%" />
3565 <text>KILL</text>
3566 <image resource="medium_button" />
3567 <action function="killterminal"></action>
3568 </object>
3569
3570 <object type="button">
3571 <placement x="%home_button_x%" y="%terminal_button_y%" />
3572 <font resource="font" color="%button_text_color%" />
3573 <text></text>
3574 <image resource="home_icon" />
3575 <condition var1="tw_busy" var2="0" />
3576 <action function="key">home</action>
3577 </object>
3578
3579 <object type="button">
3580 <placement x="%back_button_x%" y="%terminal_button_y%" />
3581 <font resource="font" color="%button_text_color%" />
3582 <text></text>
3583 <image resource="back_icon" />
3584 <condition var1="tw_busy" var2="0" />
3585 <action function="key">back</action>
3586 </object>
3587
3588 <object type="action">
3589 <touch key="power" />
3590 <action function="overlay">lock</action>
3591 </object>
3592
3593 <object type="template" name="keyboardtemplate" />
3594
3595 <object type="action">
3596 <touch key="home" />
3597 <action function="page">main</action>
3598 </object>
3599
3600 <object type="action">
3601 <touch key="back" />
3602 <action function="page">terminalfolder</action>
3603 </object>
3604 </page>
3605 </pages>
3606</recovery>