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