blob: 73dba28a9df36ffbcbf8955fd18a80f24a014e19 [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>
2555 <action function="set">tw_text2=This will take a few minutes.</action>
2556 <action function="set">tw_action_text1=Fixing Permissions...</action>
2557 <action function="set">tw_action_text2=This will take a few minutes.</action>
2558 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2559 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002560 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <action function="page">confirm_action</action>
2562 </actions>
2563 </object>
2564
2565 <object type="button">
2566 <condition var1="tw_allow_partition_sdcard" var2="1" />
2567 <placement x="%col1_x%" y="%row2_y%" />
2568 <font resource="font" color="%button_text_color%" />
2569 <text>Partition SD Card</text>
2570 <image resource="main_button" />
2571 <action function="page">partsdcard</action>
2572 </object>
2573
2574 <object type="button">
2575 <placement x="%col2_x%" y="%row2_y%" />
2576 <font resource="font" color="%button_text_color%" />
2577 <text>File Manager</text>
2578 <image resource="main_button" />
2579 <action function="page">filemanagerlist</action>
2580 </object>
2581
2582 <object type="button">
2583 <placement x="%col1_x%" y="%row3_y%" />
2584 <font resource="font" color="%button_text_color%" />
2585 <text>Terminal Command</text>
2586 <image resource="main_button" />
2587 <action function="page">terminalfolder</action>
2588 </object>
2589
2590 <object type="button">
Dees_Troybbb21012012-09-20 15:59:46 -04002591 <placement x="%col2_x%" y="%row3_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>Reload Theme</text>
2594 <image resource="main_button" />
2595 <action function="reload"></action>
2596 </object>
2597
2598 <object type="button">
2599 <placement x="%col1_x%" y="%row4_y%" />
2600 <font resource="font" color="%button_text_color%" />
2601 <text>ADB Sideload</text>
2602 <image resource="main_button" />
2603 <actions>
2604 <action function="set">tw_back=advanced</action>
2605 <action function="set">tw_action=adbsideload</action>
2606 <action function="set">tw_action_text1=ADB Sideload</action>
2607 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2608 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
2609 <action function="set">tw_has_cancel=1</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002610 <action function="set">tw_show_reboot=1</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002611 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2612 <action function="page">action_page</action>
2613 </actions>
2614 </object>
2615
2616 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002617 <condition var1="tw_show_dumlock" var2="1" />
2618 <placement x="%col2_x%" y="%row4_y%" />
2619 <font resource="font" color="%button_text_color%" />
2620 <text>HTC Dumlock</text>
2621 <image resource="main_button" />
2622 <action function="page">htcdumlock</action>
2623 </object>
2624
2625 <object type="button">
2626 <condition var1="tw_has_injecttwrp" var2="1" />
2627 <placement x="%col2_x%" y="%row4_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>Re-Inject TWRP</text>
2630 <image resource="main_button" />
2631 <actions>
2632 <action function="set">tw_back=advanced</action>
2633 <action function="set">tw_action=reinjecttwrp</action>
2634 <action function="set">tw_text1=Re-Inject TWRP?</action>
2635 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2636 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2637 <action function="set">tw_slider_text=Swipe to Confirm</action>
2638 <action function="page">confirm_action</action>
2639 </actions>
2640 </object>
2641
2642 <object type="action">
2643 <touch key="home" />
2644 <action function="page">main</action>
2645 </object>
2646
2647 <object type="action">
2648 <touch key="back" />
2649 <action function="page">main</action>
2650 </object>
2651
2652 <object type="template" name="footer" />
2653 </page>
2654
2655 <page name="partsdcard">
2656 <object type="template" name="header" />
2657
2658 <object type="text" color="%text_color%">
2659 <font resource="font" />
2660 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2661 <text>Partition SD Card</text>
2662 </object>
2663
2664 <object type="button">
2665 <placement x="%col1_x%" y="%row1_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text></text>
2668 <image resource="minus_button" />
2669 <action function="addsubtract">tw_sdext_size-128</action>
2670 </object>
2671
2672 <object type="button">
2673 <placement x="%sd_plus_x%" y="%row1_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text></text>
2676 <image resource="plus_button" />
2677 <action function="addsubtract">tw_sdext_size+128</action>
2678 </object>
2679
2680 <object type="text" color="%text_color%">
2681 <font resource="font" />
2682 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2683 <text>EXT Size: %tw_sdext_size%</text>
2684 </object>
2685
2686 <object type="button">
2687 <placement x="%col1_x%" y="%sdswap_button_y%" />
2688 <font resource="font" color="%button_text_color%" />
2689 <text></text>
2690 <image resource="minus_button" />
2691 <action function="addsubtract">tw_swap_size-32</action>
2692 </object>
2693
2694 <object type="button">
2695 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2696 <font resource="font" color="%button_text_color%" />
2697 <text></text>
2698 <image resource="plus_button" />
2699 <action function="addsubtract">tw_swap_size+32</action>
2700 </object>
2701
2702 <object type="text" color="%text_color%">
2703 <font resource="font" />
2704 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2705 <text>Swap Size: %tw_swap_size%</text>
2706 </object>
2707
2708 <object type="text" color="%text_color%">
2709 <font resource="font" />
2710 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2711 <text>File system: %tw_sdpart_file_system%</text>
2712 </object>
2713
2714 <object type="button">
2715 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2716 <font resource="font" color="%button_text_color%" />
2717 <text>EXT3</text>
2718 <image resource="main_button" />
2719 <action function="set">tw_sdpart_file_system=ext3</action>
2720 </object>
2721
2722 <object type="button">
2723 <condition var1="tw_sdext_disable_ext4" var2="0" />
2724 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2725 <font resource="font" color="%button_text_color%" />
2726 <text>EXT4</text>
2727 <image resource="main_button" />
2728 <action function="set">tw_sdpart_file_system=ext4</action>
2729 </object>
2730
2731 <object type="text" color="%text_color%">
2732 <font resource="font" />
2733 <placement x="%col1_x%" y="%row12_text_y%" />
2734 <text>You will lose all files on your SD card!</text>
2735 </object>
2736
2737 <object type="text" color="%text_color%">
2738 <font resource="font" />
2739 <placement x="%col1_x%" y="%row13_text_y%" />
2740 <text>This action cannot be undone!</text>
2741 </object>
2742
2743 <object type="slider">
2744 <placement x="%slider_x%" y="%slider_y%" />
2745 <resource base="slider" used="slider-used" touch="slider-touch" />
2746 <action function="page">partsdcardaction</action>
2747 <actions>
2748 <action function="set">tw_back=partsdcard</action>
2749 <action function="set">tw_action=partitionsd</action>
2750 <action function="set">tw_has_action2=1</action>
2751 <action function="set">tw_action2=set</action>
2752 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2753 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2754 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002755 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <action function="page">action_page</action>
2757 </actions>
2758 </object>
2759
2760 <object type="text" color="%text_color%">
2761 <font resource="font" />
2762 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2763 <text>Swipe to Partition</text>
2764 </object>
2765
2766 <object type="action">
2767 <touch key="home" />
2768 <action function="page">main</action>
2769 </object>
2770
2771 <object type="action">
2772 <touch key="back" />
2773 <action function="page">advanced</action>
2774 </object>
2775
2776 <object type="template" name="footer" />
2777 </page>
2778
2779 <page name="htcdumlock">
2780 <object type="template" name="header" />
2781
2782 <object type="text" color="%text_color%">
2783 <font resource="font" />
2784 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2785 <text>HTC Dumlock</text>
2786 </object>
2787
2788 <object type="button">
2789 <condition var1="tw_show_dumlock" var2="1" />
2790 <placement x="%col1_x%" y="%row1_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text>Restore Original Boot</text>
2793 <image resource="main_button" />
2794 <actions>
2795 <action function="set">tw_back=htcdumlock</action>
2796 <action function="set">tw_action=htcdumlockrestoreboot</action>
2797 <action function="set">tw_text1=Restore original boot image?</action>
2798 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2799 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2800 <action function="set">tw_slider_text=Swipe to Confirm</action>
2801 <action function="page">confirm_action</action>
2802 </actions>
2803 </object>
2804
2805 <object type="button">
2806 <condition var1="tw_show_dumlock" var2="1" />
2807 <placement x="%col2_x%" y="%row1_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>Reflash Recovery</text>
2810 <image resource="main_button" />
2811 <actions>
2812 <action function="set">tw_back=htcdumlock</action>
2813 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2814 <action function="set">tw_text1=Reflash recovery to boot?</action>
2815 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2816 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2817 <action function="set">tw_slider_text=Swipe to Confirm</action>
2818 <action function="page">confirm_action</action>
2819 </actions>
2820 </object>
2821
2822 <object type="button">
2823 <condition var1="tw_show_dumlock" var2="1" />
2824 <placement x="%col1_x%" y="%row2_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>Install HTC Dumlock</text>
2827 <image resource="main_button" />
2828 <actions>
2829 <action function="set">tw_back=htcdumlock</action>
2830 <action function="set">tw_action=installhtcdumlock</action>
2831 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2832 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2833 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2834 <action function="set">tw_slider_text=Swipe to Confirm</action>
2835 <action function="page">confirm_action</action>
2836 </actions>
2837 </object>
2838
2839 <object type="action">
2840 <touch key="home" />
2841 <action function="page">main</action>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="back" />
2846 <action function="page">advanced</action>
2847 </object>
2848
2849 <object type="template" name="footer" />
2850 </page>
2851
2852 <page name="lock">
2853 <background color="#000000A0" />
2854
2855 <object type="image">
2856 <image resource="unlock-icon" />
2857 <placement x="%lock_x%" y="%lock_y%" />
2858 </object>
2859
2860 <object type="slider">
2861 <placement x="%slider_x%" y="%slider_y%" />
2862 <resource base="slider" used="slider-used" touch="slider-touch" />
2863 <action function="overlay"></action>
2864 </object>
2865
2866 <object type="text" color="%text_color%">
2867 <font resource="font" />
2868 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2869 <text>Swipe to Unlock</text>
2870 </object>
2871 </page>
2872
2873 <page name="filemanagerlist">
2874 <object type="template" name="header" />
2875
2876 <object type="text" color="%text_color%">
2877 <font resource="font" />
2878 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2879 <text>File Manager: Select a File or Folder</text>
2880 </object>
2881
2882 <object type="fileselector">
2883 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2884 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2885 <text>%tw_file_location1%</text>
2886 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2887 <sort name="tw_gui_sort_order" />
2888 <icon folder="folder_icon" file="file_icon" />
2889 <background color="%fileselector_background%" />
2890 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2891 <folders="1" files="1" />
2892 <path name="tw_file_location1" default="/" />
2893 <data name="tw_filename1" />
2894 <selection name="tw_selection1" />
2895 </object>
2896
2897 <object type="template" name="sort_options" />
2898
2899 <object type="action">
2900 <actions>
2901 <action function="set">tw_fm_type=File</action>
2902 <action function="set">tw_fm_isfolder=0</action>
2903 </actions>
2904 </object>
2905
2906 <object type="action">
2907 <touch key="home" />
2908 <action function="page">main</action>
2909 </object>
2910
2911 <object type="action">
2912 <touch key="back" />
2913 <action function="page">advanced</action>
2914 </object>
2915
2916 <object type="action">
2917 <condition var1="tw_filename1" op="modified" />
2918 <actions>
2919 <action function="page">filemanageroptions</action>
2920 </actions>
2921 </object>
2922
2923 <object type="button">
2924 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text>Select</text>
2927 <image resource="medium_button" />
2928 <actions>
2929 <action function="set">tw_filename1=tw_file_location1</action>
2930 <action function="set">tw_fm_isfolder=1</action>
2931 <action function="set">tw_fm_type=Folder</action>
2932 <action function="page">filemanageroptions</action>
2933 </actions>
2934 </object>
2935
2936 <object type="template" name="footer" />
2937 </page>
2938
2939 <page name="filemanageroptions">
2940 <object type="template" name="header" />
2941
2942 <object type="text" color="%text_color%">
2943 <font resource="font" />
2944 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2945 <text>%tw_fm_type% Selected:</text>
2946 </object>
2947
2948 <object type="text" color="%text_color%">
2949 <font resource="font" />
2950 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2951 <text>%tw_filename1%</text>
2952 </object>
2953
2954 <object type="button">
2955 <condition var1="tw_fm_isfolder" var2="0" />
2956 <placement x="%col1_x%" y="%row2_y%" />
2957 <font resource="font" color="%button_text_color%" />
2958 <text>Copy File</text>
2959 <image resource="main_button" />
2960 <actions>
2961 <action function="set">tw_filemanager_command=cp</action>
2962 <action function="set">tw_fm_text1=Copying</action>
2963 <action function="page">choosedestinationfolder</action>
2964 </actions>
2965 </object>
2966
2967 <object type="button">
2968 <condition var1="tw_fm_isfolder" var2="1" />
2969 <placement x="%col1_x%" y="%row2_y%" />
2970 <font resource="font" color="%button_text_color%" />
2971 <text>Copy Folder</text>
2972 <image resource="main_button" />
2973 <actions>
2974 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2975 <action function="set">tw_fm_text1=Copying</action>
2976 <action function="page">choosedestinationfolder</action>
2977 </actions>
2978 </object>
2979
2980 <object type="button">
2981 <placement x="%col2_x%" y="%row2_y%" />
2982 <font resource="font" color="%button_text_color%" />
2983 <text>Move</text>
2984 <image resource="main_button" />
2985 <actions>
2986 <action function="set">tw_filemanager_command=mv</action>
2987 <action function="set">tw_fm_text1=Moving</action>
2988 <action function="page">choosedestinationfolder</action>
2989 </actions>
2990 </object>
2991
2992 <object type="button">
2993 <placement x="%col1_x%" y="%row3_y%" />
2994 <font resource="font" color="%button_text_color%" />
2995 <text>chmod 755</text>
2996 <image resource="main_button" />
2997 <actions>
2998 <action function="set">tw_filemanager_command=chmod 755</action>
2999 <action function="set">tw_fm_text1=chmod 755</action>
3000 <action function="set">tw_fm_text2=</action>
3001 <action function="set">tw_fm_text3=</action>
3002 <action function="set">tw_include_text3=0</action>
3003 <action function="set">tw_back=filemanageroptions</action>
3004 <action function="page">filemanagerconfirm</action>
3005 </actions>
3006 </object>
3007
3008 <object type="button">
3009 <placement x="%col2_x%" y="%row3_y%" />
3010 <font resource="font" color="%button_text_color%" />
3011 <text>chmod</text>
3012 <image resource="main_button" />
3013 <actions>
3014 <action function="set">tw_filemanager_rename=0000</action>
3015 <action function="set">tw_fm_text2=</action>
3016 <action function="set">tw_fm_text3=</action>
3017 <action function="set">tw_include_text3=0</action>
3018 <action function="set">tw_back=filemanageroptions</action>
3019 <action function="page">filemanagerchmod</action>
3020 </actions>
3021 </object>
3022
3023 <object type="button">
3024 <placement x="%col1_x%" y="%row4_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>Delete</text>
3027 <image resource="main_button" />
3028 <actions>
3029 <action function="set">tw_filemanager_command=rm -rf</action>
3030 <action function="set">tw_fm_text1=Deleting</action>
3031 <action function="set">tw_fm_text2=</action>
3032 <action function="set">tw_fm_text3=</action>
3033 <action function="set">tw_include_text3=0</action>
3034 <action function="set">tw_back=filemanageroptions</action>
3035 <action function="page">filemanagerconfirm</action>
3036 </actions>
3037 </object>
3038
3039 <object type="button">
3040 <condition var1="tw_fm_isfolder" var2="0" />
3041 <placement x="%col2_x%" y="%row4_y%" />
3042 <font resource="font" color="%button_text_color%" />
3043 <text>Rename File</text>
3044 <image resource="main_button" />
3045 <actions>
3046 <action function="set">tw_filemanager_rename=tw_selection1</action>
3047 <action function="set">tw_fm_text1=Renaming</action>
3048 <action function="set">tw_filemanager_command=mv</action>
3049 <action function="page">filemanagerrenamefile</action>
3050 </actions>
3051 </object>
3052
3053 <object type="button">
3054 <condition var1="tw_fm_isfolder" var2="1" />
3055 <placement x="%col2_x%" y="%row4_y%" />
3056 <font resource="font" color="%button_text_color%" />
3057 <text>Rename Folder</text>
3058 <image resource="main_button" />
3059 <actions>
3060 <action function="set">tw_filemanager_rename=tw_selection1</action>
3061 <action function="set">tw_fm_text1=Renaming</action>
3062 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3063 <action function="page">filemanagerrenamefolder</action>
3064 </actions>
3065 </object>
3066
3067 <object type="action">
3068 <touch key="home" />
3069 <action function="page">main</action>
3070 </object>
3071
3072 <object type="action">
3073 <touch key="back" />
3074 <action function="page">filemanagerlist</action>
3075 </object>
3076
3077 <object type="template" name="footer" />
3078 </page>
3079
3080 <page name="choosedestinationfolder">
3081 <object type="template" name="header" />
3082
3083 <object type="text" color="%text_color%">
3084 <font resource="font" />
3085 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3086 <text>Browse to Destination Folder & Press Select</text>
3087 </object>
3088
3089 <object type="fileselector">
3090 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3091 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3092 <text>%tw_file_location2%</text>
3093 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3094 <sort name="tw_gui_sort_order" />
3095 <icon folder="folder_icon" file="file_icon" />
3096 <background color="%fileselector_background%" />
3097 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3098 <filter folders="1" files="0" />
3099 <path name="tw_file_location2" default="/" />
3100 <data name="tw_filename2" />
3101 <selection name="tw_selection2" />
3102 </object>
3103
3104 <object type="template" name="sort_options" />
3105
3106 <object type="action">
3107 <touch key="home" />
3108 <action function="page">main</action>
3109 </object>
3110
3111 <object type="action">
3112 <touch key="back" />
3113 <action function="page">filemanageroptions</action>
3114 </object>
3115
3116 <object type="button">
3117 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3118 <font resource="font" color="%button_text_color%" />
3119 <text>Select</text>
3120 <image resource="medium_button" />
3121 <actions>
3122 <action function="set">tw_fm_text2=to</action>
3123 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3124 <action function="set">tw_include_text3=1</action>
3125 <action function="set">tw_back=filemanageroptions</action>
3126 <action function="page">filemanagerconfirm</action>
3127 </actions>
3128 </object>
3129
3130 <object type="template" name="footer" />
3131 </page>
3132
3133 <page name="filemanagerrenamefile">
3134 <object type="template" name="header" />
3135
3136 <object type="text" color="%text_color%">
3137 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3138 <font resource="font" />
3139 <text>Please Enter a New %tw_fm_type% Name</text>
3140 </object>
3141
3142 <object type="input">
3143 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3144 <background color="%input_background_color%" />
3145 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3146 <font resource="font" color="%text_color%" />
3147 <text>%tw_filemanager_rename%</text>
3148 <data name="tw_filemanager_rename" />
3149 <restrict minlen="1" maxlen="128" />
3150 <actions>
3151 <action function="set">tw_fm_text2=to</action>
3152 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3153 <action function="set">tw_include_text3=1</action>
3154 <action function="set">tw_back=filemanageroptions</action>
3155 <action function="page">filemanagerconfirm</action>
3156 </actions>
3157 </object>
3158
3159 <object type="button">
3160 <placement x="%col_center_x%" y="%row2_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Cancel</text>
3163 <image resource="main_button" />
3164 <action function="page">filemanageroptions</action>
3165 </object>
3166
3167 <object type="template" name="keyboardtemplate" />
3168
3169 <object type="action">
3170 <touch key="home" />
3171 <action function="page">main</action>
3172 </object>
3173
3174 <object type="action">
3175 <touch key="back" />
3176 <action function="page">filemanageroptions</action>
3177 </object>
3178
3179 <object type="template" name="footer" />
3180 </page>
3181
3182 <page name="filemanagerrenamefolder">
3183 <object type="template" name="header" />
3184
3185 <object type="text" color="%text_color%">
3186 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3187 <font resource="font" />
3188 <text>Please Enter a New %tw_fm_type% Name</text>
3189 </object>
3190
3191 <object type="input">
3192 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3193 <background color="%input_background_color%" />
3194 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3195 <font resource="font" color="%text_color%" />
3196 <text>%tw_filemanager_rename%</text>
3197 <data name="tw_filemanager_rename" />
3198 <restrict minlen="1" maxlen="128" />
3199 <actions>
3200 <action function="set">tw_fm_text2=to</action>
3201 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3202 <action function="set">tw_include_text3=1</action>
3203 <action function="set">tw_back=filemanageroptions</action>
3204 <action function="page">filemanagerconfirm</action>
3205 </actions>
3206 </object>
3207
3208 <object type="button">
3209 <placement x="%col_center_x%" y="%row2_y%" />
3210 <font resource="font" color="%button_text_color%" />
3211 <text>Cancel</text>
3212 <image resource="main_button" />
3213 <action function="page">filemanageroptions</action>
3214 </object>
3215
3216 <object type="template" name="keyboardtemplate" />
3217
3218 <object type="action">
3219 <touch key="home" />
3220 <action function="page">main</action>
3221 </object>
3222
3223 <object type="action">
3224 <touch key="back" />
3225 <action function="page">filemanageroptions</action>
3226 </object>
3227
3228 <object type="template" name="footer" />
3229 </page>
3230
3231 <page name="filemanagerchmod">
3232 <object type="template" name="header" />
3233
3234 <object type="text" color="%text_color%">
3235 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3236 <font resource="font" />
3237 <text>Please Enter New Permissions</text>
3238 </object>
3239
3240 <object type="input">
3241 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3242 <background color="%input_background_color%" />
3243 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3244 <font resource="font" color="%text_color%" />
3245 <text>%tw_filemanager_rename%</text>
3246 <data name="tw_filemanager_rename" />
3247 <restrict minlen="3" maxlen="4" allow="0123456789" />
3248 <actions>
3249 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3250 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3251 <action function="set">tw_back=filemanageroptions</action>
3252 <action function="page">filemanagerconfirm</action>
3253 </actions>
3254 </object>
3255
3256 <object type="button">
3257 <placement x="%col_center_x%" y="%row2_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text>Cancel</text>
3260 <image resource="main_button" />
3261 <action function="page">filemanageroptions</action>
3262 </object>
3263
3264 <object type="template" name="keyboardtemplate" />
3265
3266 <object type="action">
3267 <touch key="home" />
3268 <action function="page">main</action>
3269 </object>
3270
3271 <object type="action">
3272 <touch key="back" />
3273 <action function="page">filemanageroptions</action>
3274 </object>
3275
3276 <object type="template" name="footer" />
3277 </page>
3278
3279 <page name="filemanagerconfirm">
3280 <object type="template" name="header" />
3281
3282 <object type="text" color="%text_color%">
3283 <font resource="font" />
3284 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3285 <text>%tw_fm_text1%</text>
3286 </object>
3287
3288 <object type="text" color="%text_color%">
3289 <font resource="font" />
3290 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3291 <text>%tw_filename1%</text>
3292 </object>
3293
3294 <object type="text" color="%text_color%">
3295 <font resource="font" />
3296 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3297 <text>%tw_fm_text2%</text>
3298 </object>
3299
3300 <object type="text" color="%text_color%">
3301 <font resource="font" />
3302 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3303 <text>%tw_fm_text3%</text>
3304 </object>
3305
3306 <object type="text" color="%text_color%">
3307 <font resource="font" />
3308 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3309 <text>Press back button to cancel.</text>
3310 </object>
3311
3312 <object type="slider">
3313 <placement x="%slider_x%" y="%slider_y%" />
3314 <resource base="slider" used="slider-used" touch="slider-touch" />
3315 <action function="page">filemanageracction</action>
3316 </object>
3317
3318 <object type="text" color="%text_color%">
3319 <font resource="font" />
3320 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3321 <text>Swipe to Confirm</text>
3322 </object>
3323
3324 <object type="action">
3325 <touch key="back" />
3326 <action function="page">%tw_back%</action>
3327 </object>
3328
3329 <object type="action">
3330 <touch key="home" />
3331 <action function="page">main</action>
3332 </object>
3333
3334 <object type="template" name="footer" />
3335 </page>
3336
3337 <page name="filemanageracction">
3338 <object type="template" name="header" />
3339
3340 <object type="text" color="%text_color%">
3341
3342 <font resource="font" />
3343 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3344 <text>%tw_fm_text1%</text>
3345 </object>
3346
3347 <object type="template" name="action_page_console" />
3348
3349 <object type="template" name="progress_bar" />
3350
3351 <object type="action">
3352 <conditions>
3353 <condition var1="tw_operation_state" var2="1" />
3354 <condition var1="tw_operation_status" var2="0" />
3355 </conditions>
3356 <actions>
3357 <action function="set">tw_back=filemanagerlist</action>
3358 <action function="set">tw_complete_text1=File Operation Complete</action>
3359 <action function="page">action_complete</action>
3360 </actions>
3361 </object>
3362
3363 <object type="action">
3364 <conditions>
3365 <condition var1="tw_operation_state" var2="1" />
3366 <condition var1="tw_operation_status" op="!=" var2="0" />
3367 </conditions>
3368 <actions>
3369 <action function="set">tw_complete_text1=File Operation Complete</action>
3370 <action function="page">action_complete</action>
3371 </actions>
3372 </object>
3373
3374 <object type="action">
3375 <condition var1="tw_include_text3" var2="0" />
3376 <actions>
3377 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3378 </actions>
3379 </object>
3380
3381 <object type="action">
3382 <condition var1="tw_include_text3" var2="1" />
3383 <actions>
3384 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3385 </actions>
3386 </object>
3387 </page>
3388
3389 <page name="decrypt">
3390 <object type="template" name="header" />
3391
3392 <object type="text" color="%text_color%">
3393 <font resource="font" />
3394 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3395 <text>Please Enter Your Password</text>
3396 </object>
3397
3398 <object type="input">
3399 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3400 <background color="%input_background_color%" />
3401 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3402 <font resource="font" color="%text_color%" />
3403 <text>%tw_crypto_display%</text>
3404 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3405 <restrict minlen="1" maxlen="254" />
3406 <actions>
3407 <action function="page">trydecrypt</action>
3408 </actions>
3409 </object>
3410
3411 <object type="text" color="%text_fail_color%">
3412 <condition var1="tw_password_fail" var2="1" />
3413 <font resource="font" />
3414 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3415 <text>Password Failed, Please Try Again</text>
3416 </object>
3417
3418 <object type="button">
3419 <placement x="%col_center_x%" y="%row2_y%" />
3420 <font resource="font" color="%button_text_color%" />
3421 <text>Cancel</text>
3422 <image resource="main_button" />
3423 <actions>
3424 <action function="page">main</action>
3425 </actions>
3426 </object>
3427
3428 <object type="template" name="keyboardtemplate" />
3429
3430 <object type="action">
3431 <touch key="home" />
3432 <actions>
3433 <action function="page">main</action>
3434 </actions>
3435 </object>
3436
3437 <object type="action">
3438 <touch key="back" />
3439 <actions>
3440 <action function="page">main</action>
3441 </actions>
3442 </object>
3443
3444 <object type="template" name="footer" />
3445 </page>
3446
3447 <page name="trydecrypt">
3448 <object type="template" name="header" />
3449
3450 <object type="text" color="%text_color%">
3451 <font resource="font" />
3452 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3453 <text>Trying Decryption with Your Password</text>
3454 </object>
3455
3456 <object type="template" name="action_page_console" />
3457
3458 <object type="template" name="progress_bar" />
3459
3460 <object type="action">
3461 <action function="decrypt"></action>
3462 </object>
3463
3464 <object type="action">
3465 <conditions>
3466 <condition var1="tw_operation_state" var2="1" />
3467 <condition var1="tw_operation_status" op="!=" var2="0" />
3468 </conditions>
3469 <actions>
3470 <action function="set">tw_password_fail=1</action>
3471 <action function="page">decrypt</action>
3472 </actions>
3473 </object>
3474
3475 <object type="action">
3476 <conditions>
3477 <condition var1="tw_operation_state" var2="1" />
3478 <condition var1="tw_operation_status" op="=" var2="0" />
3479 </conditions>
3480 <action function="page">main</action>
3481 </object>
3482 </page>
3483
3484 <page name="terminalfolder">
3485 <object type="template" name="header" />
3486
3487 <object type="text" color="%text_color%">
3488 <font resource="font" />
3489 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3490 <text>Browse to Starting Folder</text>
3491 </object>
3492
3493 <object type="fileselector">
3494 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3495 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3496 <text>%tw_terminal_location%</text>
3497 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3498 <sort name="tw_gui_sort_order" />
3499 <icon folder="folder_icon" file="file_icon" />
3500 <background color="%fileselector_background%" />
3501 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3502 <filter folders="1" files="0" />
3503 <path name="tw_terminal_location" default="/" />
3504 <data name="tw_terminal" />
3505 <selection name="tw_terminal_selection" />
3506 </object>
3507
3508 <object type="template" name="sort_options" />
3509
3510 <object type="action">
3511 <touch key="home" />
3512 <action function="page">main</action>
3513 </object>
3514
3515 <object type="action">
3516 <touch key="back" />
3517 <action function="page">advanced</action>
3518 </object>
3519
3520 <object type="button">
3521 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3522 <font resource="font" color="%button_text_color%" />
3523 <text>Select</text>
3524 <image resource="medium_button" />
3525 <actions>
3526 <action function="page">terminalcommand</action>
3527 </actions>
3528 </object>
3529
3530 <object type="template" name="footer" />
3531 </page>
3532
3533 <page name="terminalcommand">
3534 <object type="template" name="header" />
3535
3536 <object type="console">
3537 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3538 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3539 <font resource="fixed" />
3540 </object>
3541
3542 <object type="text" color="%text_color%">
3543 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3544 <font resource="font" />
3545 <text>Starting Path: %tw_terminal_location%</text>
3546 </object>
3547
3548 <object type="input">
3549 <condition var1="tw_terminal_state" var2="0" />
3550 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3551 <background color="%input_background_color%" />
3552 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3553 <font resource="font" color="%text_color%" />
3554 <text>%tw_terminal_command%</text>
3555 <data name="tw_terminal_command" />
3556 <restrict minlen="1" />
3557 <action function="terminalcommand">%tw_terminal_command%</action>
3558 </object>
3559
3560 <object type="button">
3561 <condition var1="tw_terminal_state" var2="1" />
3562 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3563 <font resource="font" color="%button_text_color%" />
3564 <text>KILL</text>
3565 <image resource="medium_button" />
3566 <action function="killterminal"></action>
3567 </object>
3568
3569 <object type="template" name="keyboardtemplate" />
3570
3571 <object type="action">
3572 <touch key="home" />
3573 <action function="page">main</action>
3574 </object>
3575
3576 <object type="action">
3577 <touch key="back" />
3578 <action function="page">terminalfolder</action>
3579 </object>
3580 </page>
3581 </pages>
3582</recovery>