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