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