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