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