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