blob: eed6c58fa85d6516ecfa258f1c2bec9108e9d893 [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">
bigbiff bigbiff9c754052013-01-09 09:09:08 -05001559 <conditions>
1560 <condition var1="tw_operation_state" var2="1" />
1561 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001562 <actions>
1563 <action function="set">tw_back=backup</action>
1564 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001565 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001566 <action function="page">action_complete</action>
1567 </actions>
1568 </object>
1569 </page>
1570
1571 <page name="restore">
1572 <object type="template" name="header" />
1573
1574 <object type="button">
1575 <placement x="%col1_x%" y="%row1_header_y%" />
1576 <font resource="font" color="%text_color%" />
1577 <conditions>
1578 <condition var1="tw_has_dual_storage" var2="1" />
1579 <condition var1="tw_use_external_storage" var2="1" />
1580 </conditions>
1581 <text>Use external SD</text>
1582 <image resource="radio_true" />
1583 <action function="togglestorage">external</action>
1584 </object>
1585
1586 <object type="button">
1587 <placement x="%col1_x%" y="%row1_header_y%" />
1588 <font resource="font" color="%text_color%" />
1589 <conditions>
1590 <condition var1="tw_has_dual_storage" var2="1" />
1591 <condition var1="tw_use_external_storage" var2="0" />
1592 </conditions>
1593 <text>Use external SD</text>
1594 <image resource="radio_false" />
1595 <action function="togglestorage">external</action>
1596 </object>
1597
1598 <object type="button">
1599 <placement x="%col2_x%" y="%row1_header_y%" />
1600 <font resource="font" color="%text_color%" />
1601 <conditions>
1602 <condition var1="tw_has_dual_storage" var2="1" />
1603 <condition var1="tw_use_external_storage" var2="1" />
1604 </conditions>
1605 <text>Use internal storage</text>
1606 <image resource="radio_false" />
1607 <action function="togglestorage">internal</action>
1608 </object>
1609
1610 <object type="button">
1611 <placement x="%col2_x%" y="%row1_header_y%" />
1612 <font resource="font" color="%text_color%" />
1613 <conditions>
1614 <condition var1="tw_has_dual_storage" var2="1" />
1615 <condition var1="tw_use_external_storage" var2="0" />
1616 </conditions>
1617 <text>Use internal storage</text>
1618 <image resource="radio_true" />
1619 <action function="togglestorage">internal</action>
1620 </object>
1621
1622 <object type="fileselector">
1623 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1624 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1625 <text>Select Package to Restore:</text>
1626 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1627 <sort name="tw_gui_sort_order" />
1628 <icon folder="folder_icon" file="file_icon" />
1629 <background color="%fileselector_background%" />
1630 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1631 <filter folders="1" files="0" nav="0" />
1632 <path name="tw_backups_folder" />
1633 <data name="tw_restore" default="" />
1634 <selection name="tw_restore_name" />
1635 </object>
1636
1637 <object type="template" name="sort_options" />
1638
1639 <object type="action">
1640 <condition var1="tw_restore" op="modified" />
1641 <actions>
1642 <action function="readBackup"></action>
1643 <action function="page">restore_select</action>
1644 </actions>
1645 </object>
1646
1647 <object type="action">
1648 <touch key="home" />
1649 <action function="page">main</action>
1650 </object>
1651
1652 <object type="action">
1653 <touch key="back" />
1654 <action function="page">main</action>
1655 </object>
1656
1657 <object type="template" name="footer" />
1658 </page>
1659
1660 <page name="restore_select">
1661 <object type="template" name="header" />
1662
1663 <object type="text">
1664 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1665 <font resource="font" color="%text_color%" />
1666 <text>Restoring: %tw_restore_name%</text>
1667 </object>
1668
1669 <object type="button">
1670 <placement x="%col2_x%" y="%row1_y%" />
1671 <font resource="font" color="%button_text_color%" />
1672 <text>Rename Backup</text>
1673 <image resource="main_button" />
1674 <actions>
1675 <action function="set">tw_backup_rename=</action>
1676 <action function="set">tw_fileexists=0</action>
1677 <action function="page">renamebackup</action>
1678 </actions>
1679 </object>
1680
1681 <object type="button">
1682 <placement x="%col2_x%" y="%row2_y%" />
1683 <font resource="font" color="%button_text_color%" />
1684 <text>Delete Backup</text>
1685 <image resource="main_button" />
1686 <actions>
1687 <action function="set">tw_back=restore</action>
1688 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001689 <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 -04001690 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1691 <action function="set">tw_text2=This cannot be undone!</action>
1692 <action function="set">tw_action_text1=Deleting Backup...</action>
1693 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1694 <action function="set">tw_slider_text=Swipe to Delete</action>
1695 <action function="page">confirm_action</action>
1696 </actions>
1697 </object>
1698
1699 <object type="slider">
1700 <placement x="%slider_x%" y="%slider_y%" />
1701 <resource base="slider" used="slider-used" touch="slider-touch" />
1702 <action function="page">restore_run</action>
1703 </object>
1704
1705 <object type="text" color="%text_color%">
1706 <font resource="font" />
1707 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1708 <text>Swipe to Restore</text>
1709 </object>
1710
1711 <object type="checkbox">
1712 <placement x="%col1_x%" y="%row2_text_y%" />
1713 <font resource="font" color="%text_color%" />
1714 <text>System</text>
1715 <condition var1="tw_restore_system" op=">=" var2="0" />
1716 <data variable="tw_restore_system" />
1717 <image checked="checkbox_true" unchecked="checkbox_false" />
1718 </object>
1719
1720 <object type="checkbox">
1721 <placement x="%col1_x%" y="%row3_text_y%" />
1722 <font resource="font" color="%text_color%" />
1723 <text>Data</text>
1724 <condition var1="tw_restore_data" op=">=" var2="0" />
1725 <data variable="tw_restore_data" />
1726 <image checked="checkbox_true" unchecked="checkbox_false" />
1727 </object>
1728
1729 <object type="checkbox">
1730 <placement x="%col1_x%" y="%row4_text_y%" />
1731 <font resource="font" color="%text_color%" />
1732 <text>Boot</text>
1733 <condition var1="tw_restore_boot" op=">=" var2="0" />
1734 <data variable="tw_restore_boot" />
1735 <image checked="checkbox_true" unchecked="checkbox_false" />
1736 </object>
1737
1738 <object type="checkbox">
1739 <placement x="%col1_x%" y="%row6_text_y%" />
1740 <font resource="font" color="%text_color%" />
1741 <text>Cache</text>
1742 <condition var1="tw_restore_cache" op=">=" var2="0" />
1743 <data variable="tw_restore_cache" />
1744 <image checked="checkbox_true" unchecked="checkbox_false" />
1745 </object>
1746
1747 <object type="checkbox">
1748 <placement x="%col1_x%" y="%row7_text_y%" />
1749 <font resource="font" color="%text_color%" />
1750 <text>.android_secure</text>
1751 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1752 <data variable="tw_restore_andsec" />
1753 <image checked="checkbox_true" unchecked="checkbox_false" />
1754 </object>
1755
1756 <object type="checkbox">
1757 <placement x="%col1_x%" y="%row8_text_y%" />
1758 <font resource="font" color="%text_color%" />
1759 <text>sd-ext</text>
1760 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1761 <data variable="tw_restore_sdext" />
1762 <image checked="checkbox_true" unchecked="checkbox_false" />
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%col1_x%" y="%row10_text_y%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>%tw_sp1_name%</text>
1769 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1770 <data variable="tw_restore_sp1" />
1771 <image checked="checkbox_true" unchecked="checkbox_false" />
1772 </object>
1773
1774 <object type="checkbox">
1775 <placement x="%col1_x%" y="%row11_text_y%" />
1776 <font resource="font" color="%text_color%" />
1777 <text>%tw_sp2_name%</text>
1778 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1779 <data variable="tw_restore_sp2" />
1780 <image checked="checkbox_true" unchecked="checkbox_false" />
1781 </object>
1782
1783 <object type="checkbox">
1784 <placement x="%col1_x%" y="%row12_text_y%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>%tw_sp3_name%</text>
1787 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1788 <data variable="tw_restore_sp3" />
1789 <image checked="checkbox_true" unchecked="checkbox_false" />
1790 </object>
1791
1792 <object type="checkbox">
1793 <placement x="%col1_x%" y="%row14_text_y%" />
1794 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001795 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001796 <data variable="tw_skip_md5_check" />
1797 <image checked="checkbox_true" unchecked="checkbox_false" />
1798 </object>
1799
1800 <object type="text" color="%text_color%">
1801 <font resource="font" />
1802 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1803 <text>Package Date: %tw_restore_file_date%</text>
1804 </object>
1805
1806 <object type="action">
1807 <touch key="home" />
1808 <action function="page">main</action>
1809 </object>
1810
1811 <object type="action">
1812 <touch key="back" />
1813 <action function="page">restore</action>
1814 </object>
1815
1816 <object type="template" name="footer" />
1817 </page>
1818
1819 <page name="renamebackup">
1820 <object type="template" name="header" />
1821
1822 <object type="text" color="%text_color%">
1823 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1824 <font resource="font" />
1825 <text>Please Enter a New Backup Name</text>
1826 </object>
1827
1828 <object type="input">
1829 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1830 <background color="%input_background_color%" />
1831 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1832 <font resource="font" color="%text_color%" />
1833 <text>%tw_backup_rename%</text>
1834 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001835 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001836 <actions>
1837 <action function="set">tw_back=restore</action>
1838 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001839 <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 -04001840 <action function="set">tw_text1=Rename Backup?</action>
1841 <action function="set">tw_text2=This cannot be undone!</action>
1842 <action function="set">tw_action_text1=Renaming Backup...</action>
1843 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1844 <action function="set">tw_slider_text=Swipe to Rename</action>
1845 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1846 <action function="set">tw_existpage=renamebackup</action>
1847 <action function="set">tw_notexistpage=confirm_action</action>
1848 <action function="page">filecheck</action>
1849 </actions>
1850 </object>
1851
1852 <object type="text" color="%text_fail_color%">
1853 <condition var1="tw_fileexists" var2="1" />
1854 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1855 <font resource="font" />
1856 <text>A backup with that name already exists!</text>
1857 </object>
1858
1859 <object type="button">
1860 <placement x="%col_center_x%" y="%row2_y%" />
1861 <font resource="font" color="%button_text_color%" />
1862 <text>Cancel</text>
1863 <image resource="main_button" />
1864 <action function="page">restore_select</action>
1865 </object>
1866
1867 <object type="template" name="keyboardtemplate" />
1868
1869 <object type="action">
1870 <touch key="home" />
1871 <action function="page">main</action>
1872 </object>
1873
1874 <object type="action">
1875 <touch key="back" />
1876 <action function="page">restore_select</action>
1877 </object>
1878
1879 <object type="template" name="footer" />
1880 </page>
1881
1882 <page name="restore_run">
1883 <object type="template" name="header" />
1884
1885 <object type="text" color="%text_color%">
1886 <font resource="font" />
1887 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1888 <text>%tw_operation% %tw_partition%</text>
1889 </object>
1890
1891 <object type="template" name="action_page_console" />
1892
1893 <object type="template" name="progress_bar" />
1894
1895 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001896 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001897 <actions>
1898 <action function="set">tw_back=restore_select</action>
1899 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001900 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001901 <action function="page">action_complete</action>
1902 </actions>
1903 </object>
1904
1905 <object type="action">
1906 <action function="nandroid">restore</action>
1907 </object>
1908 </page>
1909
1910 <page name="mount">
1911 <object type="template" name="header" />
1912
1913 <object type="text" color="%text_color%">
1914 <font resource="font" />
1915 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1916 <text>Mount Menu</text>
1917 </object>
1918
1919 <object type="button">
1920 <placement x="%col1_x%" y="%row1_text_y%" />
1921 <font resource="font" color="%text_color%" />
1922 <condition var1="mounted" op="!=" var2="/system" />
1923 <text>Mount System</text>
1924 <image resource="checkbox_false" />
1925 <action function="mount">/system</action>
1926 </object>
1927
1928 <object type="button">
1929 <placement x="%col1_x%" y="%row1_text_y%" />
1930 <font resource="font" color="%text_color%" />
1931 <condition var1="mounted" op="=" var2="/system" />
1932 <text>Unmount System</text>
1933 <image resource="checkbox_true" />
1934 <action function="umount">/system</action>
1935 </object>
1936
1937 <object type="button">
1938 <placement x="%col1_x%" y="%row2_text_y%" />
1939 <font resource="font" color="%text_color%" />
1940 <condition var1="mounted" op="!=" var2="/data" />
1941 <text>Mount Data</text>
1942 <image resource="checkbox_false" />
1943 <action function="mount">/data</action>
1944 </object>
1945
1946 <object type="button">
1947 <placement x="%col1_x%" y="%row2_text_y%" />
1948 <font resource="font" color="%text_color%" />
1949 <condition var1="mounted" op="=" var2="/data" />
1950 <text>Unmount Data</text>
1951 <image resource="checkbox_true" />
1952 <action function="umount">/data</action>
1953 </object>
1954
1955 <object type="button">
1956 <placement x="%col1_x%" y="%row3_text_y%" />
1957 <font resource="font" color="%text_color%" />
1958 <condition var1="mounted" op="!=" var2="/cache" />
1959 <text>Mount Cache</text>
1960 <image resource="checkbox_false" />
1961 <action function="mount">/cache</action>
1962 </object>
1963
1964 <object type="button">
1965 <placement x="%col1_x%" y="%row3_text_y%" />
1966 <font resource="font" color="%text_color%" />
1967 <condition var1="mounted" op="=" var2="/cache" />
1968 <text>Unmount Cache</text>
1969 <image resource="checkbox_true" />
1970 <action function="umount">/cache</action>
1971 </object>
1972
1973 <object type="button">
1974 <placement x="%col1_x%" y="%row4_text_y%" />
1975 <font resource="font" color="%text_color%" />
1976 <conditions>
1977 <condition var1="tw_has_external" var2="1" />
1978 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1979 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001980 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001981 <image resource="checkbox_false" />
1982 <action function="mount">EXTERNAL</action>
1983 </object>
1984
1985 <object type="button">
1986 <placement x="%col1_x%" y="%row4_text_y%" />
1987 <font resource="font" color="%text_color%" />
1988 <conditions>
1989 <condition var1="tw_has_external" var2="1" />
1990 <condition var1="mounted" op="=" var2="EXTERNAL" />
1991 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001992 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001993 <image resource="checkbox_true" />
1994 <action function="umount">EXTERNAL</action>
1995 </object>
1996
1997 <object type="button">
1998 <placement x="%col2_x%" y="%row4_text_y%" />
1999 <font resource="font" color="%text_color%" />
2000 <conditions>
2001 <condition var1="tw_has_internal" var2="1" />
2002 <condition var1="tw_has_data_media" var2="0" />
2003 <condition var1="mounted" op="!=" var2="INTERNAL" />
2004 </conditions>
2005 <text>Mount Internal</text>
2006 <image resource="checkbox_false" />
2007 <action function="mount">INTERNAL</action>
2008 </object>
2009
2010 <object type="button">
2011 <placement x="%col2_x%" y="%row4_text_y%" />
2012 <font resource="font" color="%text_color%" />
2013 <conditions>
2014 <condition var1="tw_has_internal" var2="1" />
2015 <condition var1="tw_has_data_media" var2="0" />
2016 <condition var1="mounted" op="=" var2="INTERNAL" />
2017 </conditions>
2018 <text>Unmount Internal</text>
2019 <image resource="checkbox_true" />
2020 <action function="umount">INTERNAL</action>
2021 </object>
2022
2023 <object type="button">
2024 <conditions>
2025 <condition var1="tw_has_sdext_partition" var2="1" />
2026 <condition var1="mounted" op="!=" var2="/sd-ext" />
2027 </conditions>
2028 <placement x="%col1_x%" y="%row5_text_y%" />
2029 <font resource="font" color="%text_color%" />
2030 <text>Mount SD-Ext</text>
2031 <image resource="checkbox_false" />
2032 <action function="mount">/sd-ext</action>
2033 </object>
2034
2035 <object type="button">
2036 <placement x="%col1_x%" y="%row5_text_y%" />
2037 <font resource="font" color="%text_color%" />
2038 <condition var1="mounted" op="=" var2="/sd-ext" />
2039 <text>Unmount SD-Ext</text>
2040 <image resource="checkbox_true" />
2041 <action function="umount">/sd-ext</action>
2042 </object>
2043
2044 <object type="button">
2045 <conditions>
2046 <condition var1="tw_boot_is_mountable" var2="1" />
2047 <condition var1="mounted" op="!=" var2="/boot" />
2048 </conditions>
2049 <placement x="%col1_x%" y="%row6_text_y%" />
2050 <font resource="font" color="#A0A0A0" />
2051 <text>Mount Boot</text>
2052 <image resource="checkbox_false" />
2053 <action function="mount">/boot</action>
2054 </object>
2055
2056 <object type="button">
2057 <conditions>
2058 <condition var1="tw_boot_is_mountable" var2="1" />
2059 <condition var1="mounted" op="=" var2="/boot" />
2060 </conditions>
2061
2062 <placement x="%col1_x%" y="%row6_text_y%" />
2063 <font resource="font" color="#A0A0A0" />
2064 <text>Unmount Boot</text>
2065 <image resource="checkbox_true" />
2066 <action function="umount">/boot</action>
2067 </object>
2068
2069 <object type="button">
2070 <placement x="%col1_x%" y="%row8_text_y%" />
2071 <font resource="font" color="%text_color%" />
2072 <conditions>
2073 <condition var1="tw_has_dual_storage" var2="1" />
2074 <condition var1="tw_use_external_storage" var2="1" />
2075 </conditions>
2076 <text>Use external SD</text>
2077 <image resource="radio_true" />
2078 <action function="togglestorage">external</action>
2079 </object>
2080
2081 <object type="button">
2082 <placement x="%col1_x%" y="%row8_text_y%" />
2083 <font resource="font" color="%text_color%" />
2084 <conditions>
2085 <condition var1="tw_has_dual_storage" var2="1" />
2086 <condition var1="tw_use_external_storage" var2="0" />
2087 </conditions>
2088 <text>Use external SD</text>
2089 <image resource="radio_false" />
2090 <action function="togglestorage">external</action>
2091 </object>
2092
2093 <object type="button">
2094 <placement x="%col2_x%" y="%row8_text_y%" />
2095 <font resource="font" color="%text_color%" />
2096 <conditions>
2097 <condition var1="tw_has_dual_storage" var2="1" />
2098 <condition var1="tw_use_external_storage" var2="1" />
2099 </conditions>
2100 <text>Use internal storage</text>
2101 <image resource="radio_false" />
2102 <action function="togglestorage">internal</action>
2103 </object>
2104
2105 <object type="button">
2106 <placement x="%col2_x%" y="%row8_text_y%" />
2107 <font resource="font" color="%text_color%" />
2108 <conditions>
2109 <condition var1="tw_has_dual_storage" var2="1" />
2110 <condition var1="tw_use_external_storage" var2="0" />
2111 </conditions>
2112 <text>Use internal storage</text>
2113 <image resource="radio_true" />
2114 <action function="togglestorage">internal</action>
2115 </object>
2116
2117 <object type="button">
2118 <condition var1="tw_has_usb_storage" var2="1" />
2119 <placement x="%col1_x%" y="row3_y" />
2120 <font resource="font" color="%button_text_color%" />
2121 <text>Mount USB Storage</text>
2122 <image resource="main_button" />
2123 <action function="page">usb_mount</action>
2124 </object>
2125
Gary Peckffdc6ae2012-11-21 18:02:02 -08002126 <object type="button">
2127 <conditions>
2128 <condition var1="tw_is_encrypted" var2="1" />
2129 <condition var1="tw_is_decrypted" var2="0" />
2130 </conditions>
2131 <placement x="%col2_x%" y="row3_y" />
2132 <font resource="font" color="%button_text_color%" />
2133 <text>Decrypt Data</text>
2134 <image resource="main_button" />
2135 <action function="page">decrypt</action>
2136 </object>
2137
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 <object type="action">
2139 <touch key="home" />
2140 <action function="page">main</action>
2141 </object>
2142
2143 <object type="action">
2144 <touch key="back" />
2145 <action function="page">main</action>
2146 </object>
2147
2148 <object type="template" name="footer" />
2149 </page>
2150
2151 <page name="usb_mount">
2152 <object type="template" name="header" />
2153
2154 <object type="text" color="%text_color%">
2155 <font resource="font" />
2156 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2157 <text>USB Storage Mounted</text>
2158 </object>
2159
2160 <object type="text" color="%text_color%">
2161 <placement x="%col1_x%" y="%row1_text_y%" />
2162 <font resource="font" />
2163 <text>Be sure to safely remove your device</text>
2164 </object>
2165
2166 <object type="text" color="%text_color%">
2167 <placement x="%col1_x%" y="%row2_text_y%" />
2168 <font resource="font" />
2169 <text>from your computer before unmounting!</text>
2170 </object>
2171
2172 <object type="button">
2173 <placement x="%col1_x%" y="%row3_y%" />
2174 <font resource="font" color="%button_text_color%" />
2175 <text>Unmount</text>
2176 <image resource="main_button" />
2177 <action function="page">usb_umount</action>
2178 </object>
2179
2180 <object type="action">
2181 <action function="mount">usb</action>
2182 </object>
2183
2184 <object type="template" name="footer" />
2185 </page>
2186
2187 <page name="usb_umount">
2188 <object type="action">
2189 <action function="unmount">usb</action>
2190 </object>
2191
2192 <object type="action">
2193 <action function="page">mount</action>
2194 </object>
2195 </page>
2196
2197 <page name="reboot">
2198 <object type="template" name="header" />
2199
2200 <object type="text" color="%text_color%">
2201 <font resource="font" />
2202 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2203 <text>Reboot Menu</text>
2204 </object>
2205
2206 <object type="button">
2207 <condition var1="tw_reboot_system" var2="1" />
2208 <placement x="%col1_x%" y="%row1_y%" />
2209 <font resource="font" color="%button_text_color%" />
2210 <text>System</text>
2211 <image resource="main_button" />
2212 <actions>
2213 <action function="set">tw_back=reboot</action>
2214 <action function="set">tw_action=reboot</action>
2215 <action function="set">tw_action_param=system</action>
2216 <action function="set">tw_has_action2=0</action>
2217 <action function="set">tw_text1=No OS Installed! Are you</action>
2218 <action function="set">tw_text2=sure you wish to reboot?</action>
2219 <action function="set">tw_action_text1=Rebooting...</action>
2220 <action function="set">tw_complete_text1=Rebooting...</action>
2221 <action function="set">tw_slider_text=Swipe to Reboot</action>
2222 <action function="page">rebootcheck</action>
2223 </actions>
2224 </object>
2225
2226 <object type="button">
2227 <condition var1="tw_reboot_poweroff" var2="1" />
2228 <placement x="%col2_x%" y="%row1_y%" />
2229 <font resource="font" color="%button_text_color%" />
2230 <text>Power Off</text>
2231 <image resource="main_button" />
2232 <actions>
2233 <action function="set">tw_back=reboot</action>
2234 <action function="set">tw_action=reboot</action>
2235 <action function="set">tw_action_param=poweroff</action>
2236 <action function="set">tw_has_action2=0</action>
2237 <action function="set">tw_text1=No OS Installed! Are you</action>
2238 <action function="set">tw_text2=sure you wish to power off?</action>
2239 <action function="set">tw_action_text1=Turning Off...</action>
2240 <action function="set">tw_complete_text1=Turning Off...</action>
2241 <action function="set">tw_slider_text=Swipe to Power Off</action>
2242 <action function="page">rebootcheck</action>
2243 </actions>
2244 </object>
2245
2246 <object type="button">
2247 <condition var1="tw_reboot_recovery" var2="1" />
2248 <placement x="%col1_x%" y="%row2_y%" />
2249 <font resource="font" color="%button_text_color%" />
2250 <text>Recovery</text>
2251 <image resource="main_button" />
2252 <actions>
2253 <action function="set">tw_back=reboot</action>
2254 <action function="set">tw_action=reboot</action>
2255 <action function="set">tw_action_param=recovery</action>
2256 <action function="set">tw_has_action2=0</action>
2257 <action function="set">tw_text1=No OS Installed! Are you</action>
2258 <action function="set">tw_text2=sure you wish to reboot?</action>
2259 <action function="set">tw_action_text1=Rebooting...</action>
2260 <action function="set">tw_complete_text1=Rebooting...</action>
2261 <action function="set">tw_slider_text=Swipe to Reboot</action>
2262 <action function="page">rebootcheck</action>
2263 </actions>
2264 </object>
2265
2266 <object type="button">
2267 <condition var1="tw_reboot_bootloader" var2="1" />
2268 <placement x="%col2_x%" y="%row2_y%" />
2269 <font resource="font" color="%button_text_color%" />
2270 <text>Bootloader</text>
2271 <image resource="main_button" />
2272 <actions>
2273 <action function="set">tw_back=reboot</action>
2274 <action function="set">tw_action=reboot</action>
2275 <action function="set">tw_action_param=bootloader</action>
2276 <action function="set">tw_has_action2=0</action>
2277 <action function="set">tw_text1=No OS Installed! Are you</action>
2278 <action function="set">tw_text2=sure you wish to reboot?</action>
2279 <action function="set">tw_action_text1=Rebooting...</action>
2280 <action function="set">tw_complete_text1=Rebooting...</action>
2281 <action function="set">tw_slider_text=Swipe to Reboot</action>
2282 <action function="page">rebootcheck</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
2287 <condition var1="tw_download_mode" var2="1" />
2288 <placement x="%col1_x%" y="%row3_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>Download</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=download</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="action">
2307 <touch key="home" />
2308 <action function="page">main</action>
2309 </object>
2310
2311 <object type="action">
2312 <touch key="back" />
2313 <action function="page">main</action>
2314 </object>
2315
2316 <object type="template" name="footer" />
2317 </page>
2318
2319 <page name="settings">
2320 <object type="template" name="header" />
2321
2322 <object type="text" color="%text_color%">
2323 <font resource="font" />
2324 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2325 <text>Settings</text>
2326 </object>
2327
2328 <object type="checkbox">
2329 <placement x="%col1_x%" y="%row1_text_y%" />
2330 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002331 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002332 <data variable="tw_signed_zip_verify" />
2333 <image checked="checkbox_true" unchecked="checkbox_false" />
2334 </object>
2335
2336 <object type="checkbox">
2337 <placement x="%col1_x%" y="%row2_text_y%" />
2338 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002339 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002340 <data variable="tw_force_md5_check" />
2341 <image checked="checkbox_true" unchecked="checkbox_false" />
2342 </object>
2343
2344 <object type="checkbox">
2345 <placement x="%col1_x%" y="%row3_text_y%" />
2346 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002347 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002348 <data variable="tw_rm_rf" />
2349 <image checked="checkbox_true" unchecked="checkbox_false" />
2350 </object>
2351
2352 <object type="checkbox">
2353 <placement x="%col1_x%" y="%row4_text_y%" />
2354 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002355 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002356 <data variable="tw_skip_md5_generate" />
2357 <image checked="checkbox_true" unchecked="checkbox_false" />
2358 </object>
2359
2360 <object type="checkbox">
2361 <placement x="%col1_x%" y="%row5_text_y%" />
2362 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002363 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002364 <data variable="tw_skip_md5_check" />
2365 <image checked="checkbox_true" unchecked="checkbox_false" />
2366 </object>
2367
2368 <object type="checkbox">
2369 <placement x="%col1_x%" y="%row6_text_y%" />
2370 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002371 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002372 <data variable="tw_ignore_image_size" />
2373 <image checked="checkbox_true" unchecked="checkbox_false" />
2374 </object>
2375
2376 <object type="checkbox">
2377 <placement x="%col1_x%" y="%row7_text_y%" />
2378 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002379 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <data variable="tw_simulate_actions" />
2381 <image checked="checkbox_true" unchecked="checkbox_false" />
2382 </object>
2383
2384 <object type="checkbox">
2385 <condition var1="tw_simulate_actions" var2="1" />
2386 <placement x="%col1_x%" y="%row8_text_y%" />
2387 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002388 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <data variable="tw_simulate_fail" />
2390 <image checked="checkbox_true" unchecked="checkbox_false" />
2391 </object>
2392
2393 <object type="button">
2394 <placement x="%col1_x%" y="%row3_y%" />
2395 <font resource="font" color="%button_text_color%" />
2396 <text>Time Zone</text>
2397 <image resource="main_button" />
2398 <action function="page">timezone</action>
2399 </object>
2400
2401 <object type="button">
2402 <placement x="%col_center_x%" y="%row4_y%" />
2403 <font resource="font" color="%button_text_color%" />
2404 <text>Restore Defaults</text>
2405 <image resource="main_button" />
2406 <action function="restoredefaultsettings"></action>
2407 </object>
2408
2409 <object type="action">
2410 <touch key="home" />
2411 <action function="page">main</action>
2412 </object>
2413
2414 <object type="action">
2415 <touch key="back" />
2416 <action function="page">main</action>
2417 </object>
2418
2419 <object type="template" name="footer" />
2420 </page>
2421
2422 <page name="timezone">
2423 <object type="template" name="header" />
2424
2425 <object type="text" color="%text_color%">
2426 <font resource="font" />
2427 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2428 <text>Select Time Zone</text>
2429 </object>
2430
2431 <object type="listbox">
2432 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2433 <icon selected="radio_true" unselected="radio_false" />
2434 <background color="%listbox_background%" />
2435 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2436 <data name="tw_time_zone_guisel" />
2437 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2438 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2439 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2440 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2441 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2442 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2443 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2444 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2445 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2446 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2447 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2448 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2449 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2450 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2451 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2452 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2453 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2454 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2455 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2456 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2457 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2458 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2459 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2460 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2461 </object>
2462
2463 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002464 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <font resource="font" color="%text_color%" />
2466 <text>Do you use daylight savings time (DST)?</text>
2467 <data variable="tw_time_zone_guidst" />
2468 <image checked="checkbox_true" unchecked="checkbox_false" />
2469 </object>
2470
2471 <object type="text" color="%text_color%">
2472 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002473 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2475 </object>
2476
2477 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002478 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <font resource="font" color="%button_text_color%" />
2480 <text>None</text>
2481 <image resource="medium_button" />
2482 <action function="set">tw_time_zone_guioffset=0</action>
2483 </object>
2484
2485 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002486 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <font resource="font" color="%button_text_color%" />
2488 <text>15</text>
2489 <image resource="medium_button" />
2490 <action function="set">tw_time_zone_guioffset=15</action>
2491 </object>
2492
2493 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002494 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <font resource="font" color="%button_text_color%" />
2496 <text>30</text>
2497 <image resource="medium_button" />
2498 <action function="set">tw_time_zone_guioffset=30</action>
2499 </object>
2500
2501 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002502 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <font resource="font" color="%button_text_color%" />
2504 <text>45</text>
2505 <image resource="medium_button" />
2506 <action function="set">tw_time_zone_guioffset=45</action>
2507 </object>
2508
2509 <object type="button">
2510 <placement x="%col_center_x%" y="%tz_set_y%" />
2511 <font resource="font" color="%button_text_color%" />
2512 <text>Set Time Zone</text>
2513 <image resource="main_button" />
2514 <action function="setguitimezone"></action>
2515 </object>
2516
2517 <object type="text" color="%text_color%">
2518 <font resource="font" />
2519 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2520 <text>Current Time Zone: %tw_time_zone%</text>
2521 </object>
2522
2523 <object type="action">
2524 <touch key="home" />
2525 <action function="page">main</action>
2526 </object>
2527
2528 <object type="action">
2529 <touch key="back" />
2530 <action function="page">settings</action>
2531 </object>
2532
2533 <object type="template" name="footer" />
2534 </page>
2535
2536 <page name="advanced">
2537 <object type="template" name="header" />
2538
2539 <object type="text" color="%text_color%">
2540 <font resource="font" />
2541 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2542 <text>Advanced</text>
2543 </object>
2544
2545 <object type="button">
2546 <placement x="%col1_x%" y="%row1_y%" />
2547 <font resource="font" color="%button_text_color%" />
2548 <text>Copy Log to SD</text>
2549 <image resource="main_button" />
2550 <actions>
2551 <action function="set">tw_back=advanced</action>
2552 <action function="set">tw_action=copylog</action>
2553 <action function="set">tw_text1=Copy Log to SD Card?</action>
2554 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2555 <action function="set">tw_complete_text1=Log Copy Complete</action>
2556 <action function="set">tw_slider_text=Swipe to Confirm</action>
2557 <action function="page">confirm_action</action>
2558 </actions>
2559 </object>
2560
2561 <object type="button">
2562 <placement x="%col2_x%" y="%row1_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>Fix Permissions</text>
2565 <image resource="main_button" />
2566 <actions>
2567 <action function="set">tw_back=advanced</action>
2568 <action function="set">tw_action=fixpermissions</action>
2569 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2572 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002573 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002574 <action function="page">confirm_action</action>
2575 </actions>
2576 </object>
2577
2578 <object type="button">
2579 <condition var1="tw_allow_partition_sdcard" var2="1" />
2580 <placement x="%col1_x%" y="%row2_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>Partition SD Card</text>
2583 <image resource="main_button" />
2584 <action function="page">partsdcard</action>
2585 </object>
2586
2587 <object type="button">
2588 <placement x="%col2_x%" y="%row2_y%" />
2589 <font resource="font" color="%button_text_color%" />
2590 <text>File Manager</text>
2591 <image resource="main_button" />
2592 <action function="page">filemanagerlist</action>
2593 </object>
2594
2595 <object type="button">
2596 <placement x="%col1_x%" y="%row3_y%" />
2597 <font resource="font" color="%button_text_color%" />
2598 <text>Terminal Command</text>
2599 <image resource="main_button" />
2600 <action function="page">terminalfolder</action>
2601 </object>
2602
2603 <object type="button">
Dees_Troybbb21012012-09-20 15:59:46 -04002604 <placement x="%col2_x%" y="%row3_y%" />
2605 <font resource="font" color="%button_text_color%" />
2606 <text>Reload Theme</text>
2607 <image resource="main_button" />
2608 <action function="reload"></action>
2609 </object>
2610
2611 <object type="button">
2612 <placement x="%col1_x%" y="%row4_y%" />
2613 <font resource="font" color="%button_text_color%" />
2614 <text>ADB Sideload</text>
2615 <image resource="main_button" />
2616 <actions>
2617 <action function="set">tw_back=advanced</action>
2618 <action function="set">tw_action=adbsideload</action>
2619 <action function="set">tw_action_text1=ADB Sideload</action>
2620 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2621 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
2622 <action function="set">tw_has_cancel=1</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002623 <action function="set">tw_show_reboot=1</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002624 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2625 <action function="page">action_page</action>
2626 </actions>
2627 </object>
2628
2629 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002630 <condition var1="tw_show_dumlock" var2="1" />
2631 <placement x="%col2_x%" y="%row4_y%" />
2632 <font resource="font" color="%button_text_color%" />
2633 <text>HTC Dumlock</text>
2634 <image resource="main_button" />
2635 <action function="page">htcdumlock</action>
2636 </object>
2637
2638 <object type="button">
2639 <condition var1="tw_has_injecttwrp" var2="1" />
2640 <placement x="%col2_x%" y="%row4_y%" />
2641 <font resource="font" color="%button_text_color%" />
2642 <text>Re-Inject TWRP</text>
2643 <image resource="main_button" />
2644 <actions>
2645 <action function="set">tw_back=advanced</action>
2646 <action function="set">tw_action=reinjecttwrp</action>
2647 <action function="set">tw_text1=Re-Inject TWRP?</action>
2648 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2649 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2650 <action function="set">tw_slider_text=Swipe to Confirm</action>
2651 <action function="page">confirm_action</action>
2652 </actions>
2653 </object>
2654
2655 <object type="action">
2656 <touch key="home" />
2657 <action function="page">main</action>
2658 </object>
2659
2660 <object type="action">
2661 <touch key="back" />
2662 <action function="page">main</action>
2663 </object>
2664
2665 <object type="template" name="footer" />
2666 </page>
2667
2668 <page name="partsdcard">
2669 <object type="template" name="header" />
2670
2671 <object type="text" color="%text_color%">
2672 <font resource="font" />
2673 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2674 <text>Partition SD Card</text>
2675 </object>
2676
2677 <object type="button">
2678 <placement x="%col1_x%" y="%row1_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text></text>
2681 <image resource="minus_button" />
2682 <action function="addsubtract">tw_sdext_size-128</action>
2683 </object>
2684
2685 <object type="button">
2686 <placement x="%sd_plus_x%" y="%row1_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text></text>
2689 <image resource="plus_button" />
2690 <action function="addsubtract">tw_sdext_size+128</action>
2691 </object>
2692
2693 <object type="text" color="%text_color%">
2694 <font resource="font" />
2695 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2696 <text>EXT Size: %tw_sdext_size%</text>
2697 </object>
2698
2699 <object type="button">
2700 <placement x="%col1_x%" y="%sdswap_button_y%" />
2701 <font resource="font" color="%button_text_color%" />
2702 <text></text>
2703 <image resource="minus_button" />
2704 <action function="addsubtract">tw_swap_size-32</action>
2705 </object>
2706
2707 <object type="button">
2708 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2709 <font resource="font" color="%button_text_color%" />
2710 <text></text>
2711 <image resource="plus_button" />
2712 <action function="addsubtract">tw_swap_size+32</action>
2713 </object>
2714
2715 <object type="text" color="%text_color%">
2716 <font resource="font" />
2717 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2718 <text>Swap Size: %tw_swap_size%</text>
2719 </object>
2720
2721 <object type="text" color="%text_color%">
2722 <font resource="font" />
2723 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2724 <text>File system: %tw_sdpart_file_system%</text>
2725 </object>
2726
2727 <object type="button">
2728 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>EXT3</text>
2731 <image resource="main_button" />
2732 <action function="set">tw_sdpart_file_system=ext3</action>
2733 </object>
2734
2735 <object type="button">
2736 <condition var1="tw_sdext_disable_ext4" var2="0" />
2737 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2738 <font resource="font" color="%button_text_color%" />
2739 <text>EXT4</text>
2740 <image resource="main_button" />
2741 <action function="set">tw_sdpart_file_system=ext4</action>
2742 </object>
2743
2744 <object type="text" color="%text_color%">
2745 <font resource="font" />
2746 <placement x="%col1_x%" y="%row12_text_y%" />
2747 <text>You will lose all files on your SD card!</text>
2748 </object>
2749
2750 <object type="text" color="%text_color%">
2751 <font resource="font" />
2752 <placement x="%col1_x%" y="%row13_text_y%" />
2753 <text>This action cannot be undone!</text>
2754 </object>
2755
2756 <object type="slider">
2757 <placement x="%slider_x%" y="%slider_y%" />
2758 <resource base="slider" used="slider-used" touch="slider-touch" />
2759 <action function="page">partsdcardaction</action>
2760 <actions>
2761 <action function="set">tw_back=partsdcard</action>
2762 <action function="set">tw_action=partitionsd</action>
2763 <action function="set">tw_has_action2=1</action>
2764 <action function="set">tw_action2=set</action>
2765 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2766 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2767 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002768 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <action function="page">action_page</action>
2770 </actions>
2771 </object>
2772
2773 <object type="text" color="%text_color%">
2774 <font resource="font" />
2775 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2776 <text>Swipe to Partition</text>
2777 </object>
2778
2779 <object type="action">
2780 <touch key="home" />
2781 <action function="page">main</action>
2782 </object>
2783
2784 <object type="action">
2785 <touch key="back" />
2786 <action function="page">advanced</action>
2787 </object>
2788
2789 <object type="template" name="footer" />
2790 </page>
2791
2792 <page name="htcdumlock">
2793 <object type="template" name="header" />
2794
2795 <object type="text" color="%text_color%">
2796 <font resource="font" />
2797 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2798 <text>HTC Dumlock</text>
2799 </object>
2800
2801 <object type="button">
2802 <condition var1="tw_show_dumlock" var2="1" />
2803 <placement x="%col1_x%" y="%row1_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>Restore Original Boot</text>
2806 <image resource="main_button" />
2807 <actions>
2808 <action function="set">tw_back=htcdumlock</action>
2809 <action function="set">tw_action=htcdumlockrestoreboot</action>
2810 <action function="set">tw_text1=Restore original boot image?</action>
2811 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2812 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2813 <action function="set">tw_slider_text=Swipe to Confirm</action>
2814 <action function="page">confirm_action</action>
2815 </actions>
2816 </object>
2817
2818 <object type="button">
2819 <condition var1="tw_show_dumlock" var2="1" />
2820 <placement x="%col2_x%" y="%row1_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text>Reflash Recovery</text>
2823 <image resource="main_button" />
2824 <actions>
2825 <action function="set">tw_back=htcdumlock</action>
2826 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2827 <action function="set">tw_text1=Reflash recovery to boot?</action>
2828 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2829 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2830 <action function="set">tw_slider_text=Swipe to Confirm</action>
2831 <action function="page">confirm_action</action>
2832 </actions>
2833 </object>
2834
2835 <object type="button">
2836 <condition var1="tw_show_dumlock" var2="1" />
2837 <placement x="%col1_x%" y="%row2_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Install HTC Dumlock</text>
2840 <image resource="main_button" />
2841 <actions>
2842 <action function="set">tw_back=htcdumlock</action>
2843 <action function="set">tw_action=installhtcdumlock</action>
2844 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2845 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2846 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2847 <action function="set">tw_slider_text=Swipe to Confirm</action>
2848 <action function="page">confirm_action</action>
2849 </actions>
2850 </object>
2851
2852 <object type="action">
2853 <touch key="home" />
2854 <action function="page">main</action>
2855 </object>
2856
2857 <object type="action">
2858 <touch key="back" />
2859 <action function="page">advanced</action>
2860 </object>
2861
2862 <object type="template" name="footer" />
2863 </page>
2864
2865 <page name="lock">
2866 <background color="#000000A0" />
2867
2868 <object type="image">
2869 <image resource="unlock-icon" />
2870 <placement x="%lock_x%" y="%lock_y%" />
2871 </object>
2872
2873 <object type="slider">
2874 <placement x="%slider_x%" y="%slider_y%" />
2875 <resource base="slider" used="slider-used" touch="slider-touch" />
2876 <action function="overlay"></action>
2877 </object>
2878
2879 <object type="text" color="%text_color%">
2880 <font resource="font" />
2881 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2882 <text>Swipe to Unlock</text>
2883 </object>
2884 </page>
2885
2886 <page name="filemanagerlist">
2887 <object type="template" name="header" />
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2892 <text>File Manager: Select a File or Folder</text>
2893 </object>
2894
2895 <object type="fileselector">
2896 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2897 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2898 <text>%tw_file_location1%</text>
2899 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2900 <sort name="tw_gui_sort_order" />
2901 <icon folder="folder_icon" file="file_icon" />
2902 <background color="%fileselector_background%" />
2903 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2904 <folders="1" files="1" />
2905 <path name="tw_file_location1" default="/" />
2906 <data name="tw_filename1" />
2907 <selection name="tw_selection1" />
2908 </object>
2909
2910 <object type="template" name="sort_options" />
2911
2912 <object type="action">
2913 <actions>
2914 <action function="set">tw_fm_type=File</action>
2915 <action function="set">tw_fm_isfolder=0</action>
2916 </actions>
2917 </object>
2918
2919 <object type="action">
2920 <touch key="home" />
2921 <action function="page">main</action>
2922 </object>
2923
2924 <object type="action">
2925 <touch key="back" />
2926 <action function="page">advanced</action>
2927 </object>
2928
2929 <object type="action">
2930 <condition var1="tw_filename1" op="modified" />
2931 <actions>
2932 <action function="page">filemanageroptions</action>
2933 </actions>
2934 </object>
2935
2936 <object type="button">
2937 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>Select</text>
2940 <image resource="medium_button" />
2941 <actions>
2942 <action function="set">tw_filename1=tw_file_location1</action>
2943 <action function="set">tw_fm_isfolder=1</action>
2944 <action function="set">tw_fm_type=Folder</action>
2945 <action function="page">filemanageroptions</action>
2946 </actions>
2947 </object>
2948
2949 <object type="template" name="footer" />
2950 </page>
2951
2952 <page name="filemanageroptions">
2953 <object type="template" name="header" />
2954
2955 <object type="text" color="%text_color%">
2956 <font resource="font" />
2957 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2958 <text>%tw_fm_type% Selected:</text>
2959 </object>
2960
2961 <object type="text" color="%text_color%">
2962 <font resource="font" />
2963 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2964 <text>%tw_filename1%</text>
2965 </object>
2966
2967 <object type="button">
2968 <condition var1="tw_fm_isfolder" var2="0" />
2969 <placement x="%col1_x%" y="%row2_y%" />
2970 <font resource="font" color="%button_text_color%" />
2971 <text>Copy File</text>
2972 <image resource="main_button" />
2973 <actions>
2974 <action function="set">tw_filemanager_command=cp</action>
2975 <action function="set">tw_fm_text1=Copying</action>
2976 <action function="page">choosedestinationfolder</action>
2977 </actions>
2978 </object>
2979
2980 <object type="button">
2981 <condition var1="tw_fm_isfolder" var2="1" />
2982 <placement x="%col1_x%" y="%row2_y%" />
2983 <font resource="font" color="%button_text_color%" />
2984 <text>Copy Folder</text>
2985 <image resource="main_button" />
2986 <actions>
2987 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2988 <action function="set">tw_fm_text1=Copying</action>
2989 <action function="page">choosedestinationfolder</action>
2990 </actions>
2991 </object>
2992
2993 <object type="button">
2994 <placement x="%col2_x%" y="%row2_y%" />
2995 <font resource="font" color="%button_text_color%" />
2996 <text>Move</text>
2997 <image resource="main_button" />
2998 <actions>
2999 <action function="set">tw_filemanager_command=mv</action>
3000 <action function="set">tw_fm_text1=Moving</action>
3001 <action function="page">choosedestinationfolder</action>
3002 </actions>
3003 </object>
3004
3005 <object type="button">
3006 <placement x="%col1_x%" y="%row3_y%" />
3007 <font resource="font" color="%button_text_color%" />
3008 <text>chmod 755</text>
3009 <image resource="main_button" />
3010 <actions>
3011 <action function="set">tw_filemanager_command=chmod 755</action>
3012 <action function="set">tw_fm_text1=chmod 755</action>
3013 <action function="set">tw_fm_text2=</action>
3014 <action function="set">tw_fm_text3=</action>
3015 <action function="set">tw_include_text3=0</action>
3016 <action function="set">tw_back=filemanageroptions</action>
3017 <action function="page">filemanagerconfirm</action>
3018 </actions>
3019 </object>
3020
3021 <object type="button">
3022 <placement x="%col2_x%" y="%row3_y%" />
3023 <font resource="font" color="%button_text_color%" />
3024 <text>chmod</text>
3025 <image resource="main_button" />
3026 <actions>
3027 <action function="set">tw_filemanager_rename=0000</action>
3028 <action function="set">tw_fm_text2=</action>
3029 <action function="set">tw_fm_text3=</action>
3030 <action function="set">tw_include_text3=0</action>
3031 <action function="set">tw_back=filemanageroptions</action>
3032 <action function="page">filemanagerchmod</action>
3033 </actions>
3034 </object>
3035
3036 <object type="button">
3037 <placement x="%col1_x%" y="%row4_y%" />
3038 <font resource="font" color="%button_text_color%" />
3039 <text>Delete</text>
3040 <image resource="main_button" />
3041 <actions>
3042 <action function="set">tw_filemanager_command=rm -rf</action>
3043 <action function="set">tw_fm_text1=Deleting</action>
3044 <action function="set">tw_fm_text2=</action>
3045 <action function="set">tw_fm_text3=</action>
3046 <action function="set">tw_include_text3=0</action>
3047 <action function="set">tw_back=filemanageroptions</action>
3048 <action function="page">filemanagerconfirm</action>
3049 </actions>
3050 </object>
3051
3052 <object type="button">
3053 <condition var1="tw_fm_isfolder" var2="0" />
3054 <placement x="%col2_x%" y="%row4_y%" />
3055 <font resource="font" color="%button_text_color%" />
3056 <text>Rename File</text>
3057 <image resource="main_button" />
3058 <actions>
3059 <action function="set">tw_filemanager_rename=tw_selection1</action>
3060 <action function="set">tw_fm_text1=Renaming</action>
3061 <action function="set">tw_filemanager_command=mv</action>
3062 <action function="page">filemanagerrenamefile</action>
3063 </actions>
3064 </object>
3065
3066 <object type="button">
3067 <condition var1="tw_fm_isfolder" var2="1" />
3068 <placement x="%col2_x%" y="%row4_y%" />
3069 <font resource="font" color="%button_text_color%" />
3070 <text>Rename Folder</text>
3071 <image resource="main_button" />
3072 <actions>
3073 <action function="set">tw_filemanager_rename=tw_selection1</action>
3074 <action function="set">tw_fm_text1=Renaming</action>
3075 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3076 <action function="page">filemanagerrenamefolder</action>
3077 </actions>
3078 </object>
3079
3080 <object type="action">
3081 <touch key="home" />
3082 <action function="page">main</action>
3083 </object>
3084
3085 <object type="action">
3086 <touch key="back" />
3087 <action function="page">filemanagerlist</action>
3088 </object>
3089
3090 <object type="template" name="footer" />
3091 </page>
3092
3093 <page name="choosedestinationfolder">
3094 <object type="template" name="header" />
3095
3096 <object type="text" color="%text_color%">
3097 <font resource="font" />
3098 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3099 <text>Browse to Destination Folder & Press Select</text>
3100 </object>
3101
3102 <object type="fileselector">
3103 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3104 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3105 <text>%tw_file_location2%</text>
3106 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3107 <sort name="tw_gui_sort_order" />
3108 <icon folder="folder_icon" file="file_icon" />
3109 <background color="%fileselector_background%" />
3110 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3111 <filter folders="1" files="0" />
3112 <path name="tw_file_location2" default="/" />
3113 <data name="tw_filename2" />
3114 <selection name="tw_selection2" />
3115 </object>
3116
3117 <object type="template" name="sort_options" />
3118
3119 <object type="action">
3120 <touch key="home" />
3121 <action function="page">main</action>
3122 </object>
3123
3124 <object type="action">
3125 <touch key="back" />
3126 <action function="page">filemanageroptions</action>
3127 </object>
3128
3129 <object type="button">
3130 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>Select</text>
3133 <image resource="medium_button" />
3134 <actions>
3135 <action function="set">tw_fm_text2=to</action>
3136 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3137 <action function="set">tw_include_text3=1</action>
3138 <action function="set">tw_back=filemanageroptions</action>
3139 <action function="page">filemanagerconfirm</action>
3140 </actions>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanagerrenamefile">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3151 <font resource="font" />
3152 <text>Please Enter a New %tw_fm_type% Name</text>
3153 </object>
3154
3155 <object type="input">
3156 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3157 <background color="%input_background_color%" />
3158 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3159 <font resource="font" color="%text_color%" />
3160 <text>%tw_filemanager_rename%</text>
3161 <data name="tw_filemanager_rename" />
3162 <restrict minlen="1" maxlen="128" />
3163 <actions>
3164 <action function="set">tw_fm_text2=to</action>
3165 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3166 <action function="set">tw_include_text3=1</action>
3167 <action function="set">tw_back=filemanageroptions</action>
3168 <action function="page">filemanagerconfirm</action>
3169 </actions>
3170 </object>
3171
3172 <object type="button">
3173 <placement x="%col_center_x%" y="%row2_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Cancel</text>
3176 <image resource="main_button" />
3177 <action function="page">filemanageroptions</action>
3178 </object>
3179
3180 <object type="template" name="keyboardtemplate" />
3181
3182 <object type="action">
3183 <touch key="home" />
3184 <action function="page">main</action>
3185 </object>
3186
3187 <object type="action">
3188 <touch key="back" />
3189 <action function="page">filemanageroptions</action>
3190 </object>
3191
3192 <object type="template" name="footer" />
3193 </page>
3194
3195 <page name="filemanagerrenamefolder">
3196 <object type="template" name="header" />
3197
3198 <object type="text" color="%text_color%">
3199 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3200 <font resource="font" />
3201 <text>Please Enter a New %tw_fm_type% Name</text>
3202 </object>
3203
3204 <object type="input">
3205 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3206 <background color="%input_background_color%" />
3207 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3208 <font resource="font" color="%text_color%" />
3209 <text>%tw_filemanager_rename%</text>
3210 <data name="tw_filemanager_rename" />
3211 <restrict minlen="1" maxlen="128" />
3212 <actions>
3213 <action function="set">tw_fm_text2=to</action>
3214 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3215 <action function="set">tw_include_text3=1</action>
3216 <action function="set">tw_back=filemanageroptions</action>
3217 <action function="page">filemanagerconfirm</action>
3218 </actions>
3219 </object>
3220
3221 <object type="button">
3222 <placement x="%col_center_x%" y="%row2_y%" />
3223 <font resource="font" color="%button_text_color%" />
3224 <text>Cancel</text>
3225 <image resource="main_button" />
3226 <action function="page">filemanageroptions</action>
3227 </object>
3228
3229 <object type="template" name="keyboardtemplate" />
3230
3231 <object type="action">
3232 <touch key="home" />
3233 <action function="page">main</action>
3234 </object>
3235
3236 <object type="action">
3237 <touch key="back" />
3238 <action function="page">filemanageroptions</action>
3239 </object>
3240
3241 <object type="template" name="footer" />
3242 </page>
3243
3244 <page name="filemanagerchmod">
3245 <object type="template" name="header" />
3246
3247 <object type="text" color="%text_color%">
3248 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3249 <font resource="font" />
3250 <text>Please Enter New Permissions</text>
3251 </object>
3252
3253 <object type="input">
3254 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3255 <background color="%input_background_color%" />
3256 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3257 <font resource="font" color="%text_color%" />
3258 <text>%tw_filemanager_rename%</text>
3259 <data name="tw_filemanager_rename" />
3260 <restrict minlen="3" maxlen="4" allow="0123456789" />
3261 <actions>
3262 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3263 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3264 <action function="set">tw_back=filemanageroptions</action>
3265 <action function="page">filemanagerconfirm</action>
3266 </actions>
3267 </object>
3268
3269 <object type="button">
3270 <placement x="%col_center_x%" y="%row2_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Cancel</text>
3273 <image resource="main_button" />
3274 <action function="page">filemanageroptions</action>
3275 </object>
3276
3277 <object type="template" name="keyboardtemplate" />
3278
3279 <object type="action">
3280 <touch key="home" />
3281 <action function="page">main</action>
3282 </object>
3283
3284 <object type="action">
3285 <touch key="back" />
3286 <action function="page">filemanageroptions</action>
3287 </object>
3288
3289 <object type="template" name="footer" />
3290 </page>
3291
3292 <page name="filemanagerconfirm">
3293 <object type="template" name="header" />
3294
3295 <object type="text" color="%text_color%">
3296 <font resource="font" />
3297 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3298 <text>%tw_fm_text1%</text>
3299 </object>
3300
3301 <object type="text" color="%text_color%">
3302 <font resource="font" />
3303 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3304 <text>%tw_filename1%</text>
3305 </object>
3306
3307 <object type="text" color="%text_color%">
3308 <font resource="font" />
3309 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3310 <text>%tw_fm_text2%</text>
3311 </object>
3312
3313 <object type="text" color="%text_color%">
3314 <font resource="font" />
3315 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3316 <text>%tw_fm_text3%</text>
3317 </object>
3318
3319 <object type="text" color="%text_color%">
3320 <font resource="font" />
3321 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3322 <text>Press back button to cancel.</text>
3323 </object>
3324
3325 <object type="slider">
3326 <placement x="%slider_x%" y="%slider_y%" />
3327 <resource base="slider" used="slider-used" touch="slider-touch" />
3328 <action function="page">filemanageracction</action>
3329 </object>
3330
3331 <object type="text" color="%text_color%">
3332 <font resource="font" />
3333 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3334 <text>Swipe to Confirm</text>
3335 </object>
3336
3337 <object type="action">
3338 <touch key="back" />
3339 <action function="page">%tw_back%</action>
3340 </object>
3341
3342 <object type="action">
3343 <touch key="home" />
3344 <action function="page">main</action>
3345 </object>
3346
3347 <object type="template" name="footer" />
3348 </page>
3349
3350 <page name="filemanageracction">
3351 <object type="template" name="header" />
3352
3353 <object type="text" color="%text_color%">
3354
3355 <font resource="font" />
3356 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3357 <text>%tw_fm_text1%</text>
3358 </object>
3359
3360 <object type="template" name="action_page_console" />
3361
3362 <object type="template" name="progress_bar" />
3363
3364 <object type="action">
3365 <conditions>
3366 <condition var1="tw_operation_state" var2="1" />
3367 <condition var1="tw_operation_status" var2="0" />
3368 </conditions>
3369 <actions>
3370 <action function="set">tw_back=filemanagerlist</action>
3371 <action function="set">tw_complete_text1=File Operation Complete</action>
3372 <action function="page">action_complete</action>
3373 </actions>
3374 </object>
3375
3376 <object type="action">
3377 <conditions>
3378 <condition var1="tw_operation_state" var2="1" />
3379 <condition var1="tw_operation_status" op="!=" var2="0" />
3380 </conditions>
3381 <actions>
3382 <action function="set">tw_complete_text1=File Operation Complete</action>
3383 <action function="page">action_complete</action>
3384 </actions>
3385 </object>
3386
3387 <object type="action">
3388 <condition var1="tw_include_text3" var2="0" />
3389 <actions>
3390 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3391 </actions>
3392 </object>
3393
3394 <object type="action">
3395 <condition var1="tw_include_text3" var2="1" />
3396 <actions>
3397 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3398 </actions>
3399 </object>
3400 </page>
3401
3402 <page name="decrypt">
3403 <object type="template" name="header" />
3404
3405 <object type="text" color="%text_color%">
3406 <font resource="font" />
3407 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3408 <text>Please Enter Your Password</text>
3409 </object>
3410
3411 <object type="input">
3412 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3413 <background color="%input_background_color%" />
3414 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3415 <font resource="font" color="%text_color%" />
3416 <text>%tw_crypto_display%</text>
3417 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3418 <restrict minlen="1" maxlen="254" />
3419 <actions>
3420 <action function="page">trydecrypt</action>
3421 </actions>
3422 </object>
3423
3424 <object type="text" color="%text_fail_color%">
3425 <condition var1="tw_password_fail" var2="1" />
3426 <font resource="font" />
3427 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3428 <text>Password Failed, Please Try Again</text>
3429 </object>
3430
3431 <object type="button">
3432 <placement x="%col_center_x%" y="%row2_y%" />
3433 <font resource="font" color="%button_text_color%" />
3434 <text>Cancel</text>
3435 <image resource="main_button" />
3436 <actions>
3437 <action function="page">main</action>
3438 </actions>
3439 </object>
3440
3441 <object type="template" name="keyboardtemplate" />
3442
3443 <object type="action">
3444 <touch key="home" />
3445 <actions>
3446 <action function="page">main</action>
3447 </actions>
3448 </object>
3449
3450 <object type="action">
3451 <touch key="back" />
3452 <actions>
3453 <action function="page">main</action>
3454 </actions>
3455 </object>
3456
3457 <object type="template" name="footer" />
3458 </page>
3459
3460 <page name="trydecrypt">
3461 <object type="template" name="header" />
3462
3463 <object type="text" color="%text_color%">
3464 <font resource="font" />
3465 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3466 <text>Trying Decryption with Your Password</text>
3467 </object>
3468
3469 <object type="template" name="action_page_console" />
3470
3471 <object type="template" name="progress_bar" />
3472
3473 <object type="action">
3474 <action function="decrypt"></action>
3475 </object>
3476
3477 <object type="action">
3478 <conditions>
3479 <condition var1="tw_operation_state" var2="1" />
3480 <condition var1="tw_operation_status" op="!=" var2="0" />
3481 </conditions>
3482 <actions>
3483 <action function="set">tw_password_fail=1</action>
3484 <action function="page">decrypt</action>
3485 </actions>
3486 </object>
3487
3488 <object type="action">
3489 <conditions>
3490 <condition var1="tw_operation_state" var2="1" />
3491 <condition var1="tw_operation_status" op="=" var2="0" />
3492 </conditions>
3493 <action function="page">main</action>
3494 </object>
3495 </page>
3496
3497 <page name="terminalfolder">
3498 <object type="template" name="header" />
3499
3500 <object type="text" color="%text_color%">
3501 <font resource="font" />
3502 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3503 <text>Browse to Starting Folder</text>
3504 </object>
3505
3506 <object type="fileselector">
3507 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3509 <text>%tw_terminal_location%</text>
3510 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3511 <sort name="tw_gui_sort_order" />
3512 <icon folder="folder_icon" file="file_icon" />
3513 <background color="%fileselector_background%" />
3514 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3515 <filter folders="1" files="0" />
3516 <path name="tw_terminal_location" default="/" />
3517 <data name="tw_terminal" />
3518 <selection name="tw_terminal_selection" />
3519 </object>
3520
3521 <object type="template" name="sort_options" />
3522
3523 <object type="action">
3524 <touch key="home" />
3525 <action function="page">main</action>
3526 </object>
3527
3528 <object type="action">
3529 <touch key="back" />
3530 <action function="page">advanced</action>
3531 </object>
3532
3533 <object type="button">
3534 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3535 <font resource="font" color="%button_text_color%" />
3536 <text>Select</text>
3537 <image resource="medium_button" />
3538 <actions>
3539 <action function="page">terminalcommand</action>
3540 </actions>
3541 </object>
3542
3543 <object type="template" name="footer" />
3544 </page>
3545
3546 <page name="terminalcommand">
3547 <object type="template" name="header" />
3548
3549 <object type="console">
3550 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3551 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3552 <font resource="fixed" />
3553 </object>
3554
3555 <object type="text" color="%text_color%">
3556 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3557 <font resource="font" />
3558 <text>Starting Path: %tw_terminal_location%</text>
3559 </object>
3560
3561 <object type="input">
3562 <condition var1="tw_terminal_state" var2="0" />
3563 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3564 <background color="%input_background_color%" />
3565 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3566 <font resource="font" color="%text_color%" />
3567 <text>%tw_terminal_command%</text>
3568 <data name="tw_terminal_command" />
3569 <restrict minlen="1" />
3570 <action function="terminalcommand">%tw_terminal_command%</action>
3571 </object>
3572
3573 <object type="button">
3574 <condition var1="tw_terminal_state" var2="1" />
3575 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3576 <font resource="font" color="%button_text_color%" />
3577 <text>KILL</text>
3578 <image resource="medium_button" />
3579 <action function="killterminal"></action>
3580 </object>
3581
3582 <object type="template" name="keyboardtemplate" />
3583
3584 <object type="action">
3585 <touch key="home" />
3586 <action function="page">main</action>
3587 </object>
3588
3589 <object type="action">
3590 <touch key="back" />
3591 <action function="page">terminalfolder</action>
3592 </object>
3593 </page>
3594 </pages>
3595</recovery>