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