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