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