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