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