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