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