blob: 54bc5dbed3d0655b547ead77604f4ab195f17436 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="25" />
Dees_Troyb46a6842012-09-25 11:06:46 -040047 <variable name="col2_x" value="425" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <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="50" />
100 <variable name="home_button_y" value="1226" />
101 <variable name="back_button_x" value="666" />
102 <variable name="back_button_y" value="1226" />
103 <variable name="sort_text_x" value="85" />
104 <variable name="sort_asc_text_y" value="1090" />
105 <variable name="sort_asc_button_y" value="1080" />
106 <variable name="sort_desc_text_y" value="1150" />
107 <variable name="sort_desc_button_y" value="1140" />
108 <variable name="sort_col1_button_x" value="330" />
109 <variable name="sort_col2_button_x" value="430" />
110 <variable name="sort_col3_button_x" value="530" />
111 <variable name="input_width" value="750" />
112 <variable name="input_height" value="50" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="800" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="470" />
122 <variable name="console_install_height" value="600" />
123 <variable name="console_installdone_height" value="440" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="800" />
126 <variable name="fileselector_install_height" value="750" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
134 <variable name="fileselector_spacing" value="36"/>
135 <variable name="listbox_x" value="5" />
136 <variable name="listbox_width" value="710" />
137 <variable name="listbox_tz_height" value="540" />
138 <variable name="listbox_background" value="#303030" />
139 <variable name="listbox_spacing" value="16" />
140 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400141 <variable name="sdext_text_x" value="115" />
142 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400144 <variable name="sdswap_text_x" value="115" />
145 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="sdfilesystem_text_y" value="340" />
147 <variable name="sdfilesystem_button_y" value="380" />
148 <variable name="lock_x" value="200" />
149 <variable name="lock_y" value="400" />
150 <variable name="filemanager_select_x" value="320" />
151 <variable name="filemanager_select_y" value="950" />
152 <variable name="backup_name_y" value="550" />
153 <variable name="terminal_console_height" value="600" />
154 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="terminal_button_y" value="620" />
156 <variable name="row_dst_text_y" value="720" />
157 <variable name="row_offset_text_y" value="800" />
158 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400159 <variable name="exclamation_x" value="200" />
160 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 </variables>
162
163 <templates>
164 <template name="header">
165 <background color="#000000FF" />
166
167 <object type="image">
168 <image resource="top_bar" />
169 <placement x="0" y="0" />
170 </object>
171
172 <object type="text" color="%text_color%">
173 <font resource="font" />
174 <placement x="120" y="10" />
175 <text>Team Win Recovery Project v%tw_version%</text>
176 </object>
177
178 <object type="text" color="%text_color%">
179 <condition var1="tw_simulate_actions" var2="1" />
180 <font resource="font" />
181 <placement x="120" y="45" />
182 <text>SIMULATING ACTIONS</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <font resource="font" />
187 <placement x="120" y="76" />
188 <text>%tw_time%</text>
189 </object>
190
191 <object type="text" color="%text_color%">
192 <font resource="font" />
193 <placement x="270" y="76" />
194 <conditions>
195 <condition var1="tw_no_battery_percent" var2="0" />
196 <condition var1="tw_battery" op=">" var2="0" />
197 <condition var1="tw_battery" op="<" var2="101" />
198 </conditions>
199 <text>Battery: %tw_battery%</text>
200 </object>
201
202 <object type="button">
203 <placement x="%home_button_x%" y="%home_button_y%" />
204 <font resource="font" color="%button_text_color%" />
205 <text></text>
206 <image resource="home_icon" />
207 <condition var1="tw_busy" var2="0" />
208 <action function="key">home</action>
209 </object>
210
211 <object type="button">
212 <placement x="%back_button_x%" y="%back_button_y%" />
213 <font resource="font" color="%button_text_color%" />
214 <text></text>
215 <image resource="back_icon" />
216 <condition var1="tw_busy" var2="0" />
217 <action function="key">back</action>
218 </object>
219
220 <object type="action">
221 <touch key="power" />
222 <action function="overlay">lock</action>
223 </object>
224 </template>
225
226 <template name="progress_bar">
227 <object type="progressbar">
228 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
229 <resource empty="progress_empty" full="progress_full" />
230 <data name="ui_progress" />
231 </object>
232
233 <object type="animation">
234 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
235 <resource name="progress" />
236 <speed fps="15" render="2" />
237 <loop frame="1" />
238 </object>
239 </template>
240
241 <template name="sort_options">
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
245 <text>Sort Ascending:</text>
246 </object>
247
248 <object type="button">
249 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
250 <font resource="font" color="%button_text_color%" />
251 <text>Name</text>
252 <image resource="sort_button" />
253 <action function="set">tw_gui_sort_order=1</action>
254 </object>
255
256 <object type="button">
257 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text>Date</text>
260 <image resource="sort_button" />
261 <action function="set">tw_gui_sort_order=2</action>
262 </object>
263
264 <object type="button">
265 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
266 <font resource="font" color="%button_text_color%" />
267 <text>Size</text>
268 <image resource="sort_button" />
269 <action function="set">tw_gui_sort_order=3</action>
270 </object>
271
272 <object type="text" color="%text_color%">
273 <font resource="font" />
274 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
275 <text>Sort Descending:</text>
276 </object>
277
278 <object type="button">
279 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
280 <font resource="font" color="%button_text_color%" />
281 <text>Name</text>
282 <image resource="sort_button" />
283 <action function="set">tw_gui_sort_order=-1</action>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
288 <font resource="font" color="%button_text_color%" />
289 <text>Date</text>
290 <image resource="sort_button" />
291 <action function="set">tw_gui_sort_order=-2</action>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <text>Size</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=-3</action>
300 </object>
301 </template>
302
303 <template name="action_page_console">
304 <object type="console">
305 <placement x="0" y="%row3_text_y%" w="800" h="600" />
306 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
307 <font resource="fixed" />
308 </object>
309 </template>
310
311 <template name="footer">
312 <object type="console">
313 <slideout resource="slideout" x="355" y="1220" />
314 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
315 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
316 <font resource="fixed" />
317 </object>
318 </template>
319
320 <template name="keyboardtemplate">
321 <object type="keyboard">
322 <placement x="0" y="740" />
323 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
324 <layout1>
325 <keysize height="115" width="80" />
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="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
328 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
329 <row4 key01="104:layout3" key02="150:" key03="390: " key04="80:." key05="180:a:action" />
330 </layout1>
331 <layout2>
332 <keysize height="116" width="80" />
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="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
335 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
336 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
337 </layout2>
338 <layout3>
339 <keysize height="115" width="80" />
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="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
343 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
344 </layout3>
345 <layout4>
346 <keysize height="116" width="80" />
347 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
348 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
349 <row3 key01="115:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="108:c:8" />
350 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123: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
Dees_Troyb46a6842012-09-25 11:06:46 -0400420
Dees_Troy51a0e822012-09-05 15:24:24 -0400421 <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>
Dees_Troyb46a6842012-09-25 11:06:46 -0400484
Dees_Troy51a0e822012-09-05 15:24:24 -0400485 <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>
Dees_Troyb46a6842012-09-25 11:06:46 -0400496
Dees_Troy51a0e822012-09-05 15:24:24 -0400497 <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" />
607 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
608 <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" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400619 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400620 <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>
729 <action function="set">tw_back=flash_done</action>
730 <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>
735 <action function="set">tw_action_text1=Rebooting...</action>
736 <action function="set">tw_complete_text1=Rebooting...</action>
737 <action function="set">tw_slider_text=Swipe to Reboot</action>
738 <action function="page">rebootcheck</action>
739 </actions>
740 </object>
741
742 <object type="button">
743 <placement x="%col_center_x%" y="%row3_y%" />
744 <font resource="font" color="%button_text_color%" />
745 <text>Home</text>
746 <image resource="main_button" />
747 <actions>
748 <action function="set">tw_clear_destination=main2</action>
749 <action function="page">clear_vars</action>
750 </actions>
751 </object>
752
753 <object type="text" color="%text_fail_color%">
754 <condition var1="tw_operation_status" op="!=" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
757 <text>Failed</text>
758 </object>
759
760 <object type="text" color="%text_success_color%">
761 <condition var1="tw_operation_status" var2="0" />
762 <font resource="font" />
763 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
764 <text>Successful</text>
765 </object>
766
767 <object type="action">
768 <touch key="back" />
769 <actions>
770 <action function="set">tw_clear_destination=install</action>
771 <action function="page">clear_vars</action>
772 </actions>
773 </object>
774
775 <object type="action">
776 <touch key="home" />
777 <actions>
778 <action function="set">tw_clear_destination=main2</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782 </page>
783
784 <page name="clear_vars">
785 <object type="action">
786 <action function="set">tw_operation_state=0</action>
787 <action function="set">tw_text1=</action>
788 <action function="set">tw_text2=</action>
789 <action function="set">tw_text3=</action>
790 <action function="set">tw_text4=</action>
791 <action function="set">tw_action_text1=</action>
792 <action function="set">tw_action_text2=</action>
793 <action function="set">tw_action_param=</action>
794 <action function="set">tw_has_action2=0</action>
795 <action function="set">tw_action2=</action>
796 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400797 <action function="set">tw_has_cancel=0</action>
798 <action function="set">tw_cancel_action=</action>
799 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400800 <action function="set">tw_show_exclamation=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400801 <action function="page">%tw_clear_destination%</action>
802 </object>
803 </page>
804
805 <page name="confirm_action">
806 <object type="template" name="header" />
807
Dees_Troyce2fe772012-09-28 12:34:33 -0400808 <object type="button">
809 <condition var1="tw_show_exclamation" var2="1" />
810 <placement x="%exclamation_x%" y="%exclamation_y%" />
811 <font resource="font" color="%button_text_color%" />
812 <text></text>
813 <image resource="exclamation" />
814 </object>
815
Dees_Troy51a0e822012-09-05 15:24:24 -0400816 <object type="text" color="%text_color%">
817 <font resource="font" />
818 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
819 <text>%tw_text1%</text>
820 </object>
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
825 <text>%tw_text2%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
831 <text>%tw_text3%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
836 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
837 <text>%tw_text4%</text>
838 </object>
839
840 <object type="text" color="%text_color%">
841 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400842 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400843 <text>Press back button to cancel.</text>
844 </object>
845
846 <object type="slider">
847 <placement x="%slider_x%" y="%slider_y%" />
848 <resource base="slider" used="slider-used" touch="slider-touch" />
849 <action function="page">action_page</action>
850 </object>
851
852 <object type="text" color="%text_color%">
853 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400854 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400855 <text>%tw_slider_text%</text>
856 </object>
857
858 <object type="action">
859 <touch key="back" />
860 <actions>
861 <action function="set">tw_clear_destination=%tw_back%</action>
862 <action function="page">clear_vars</action>
863 </actions>
864 </object>
865
866 <object type="action">
867 <touch key="home" />
868 <action function="page">main</action>
869 </object>
870
871 <object type="template" name="footer" />
872 </page>
873
874 <page name="action_page">
875 <object type="template" name="header" />
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
880 <text>%tw_action_text1%</text>
881 </object>
882
883 <object type="text" color="%text_color%">
884 <font resource="font" />
885 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
886 <text>%tw_action_text2%</text>
887 </object>
888
889 <object type="template" name="action_page_console" />
890
Dees_Troycfb63ae2012-09-19 14:30:17 -0400891 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -0400892 <condition var1="tw_has_cancel" var2="1" />
893 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400894 <font resource="font" color="%button_text_color%" />
895 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400896 <image resource="medium_button" />
897 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400898 </object>
899
Dees_Troycfb63ae2012-09-19 14:30:17 -0400900 <object type="template" name="progress_bar" />
901
902 <object type="action">
903 <conditions>
904 <condition var1="tw_operation_state" var2="1" />
905 <condition var1="tw_operation_status" var2="0" />
906 </conditions>
907 <actions>
908 <action function="page">action_complete</action>
909 </actions>
910 </object>
911
912 <object type="action">
913 <conditions>
914 <condition var1="tw_operation_state" var2="1" />
915 <condition var1="tw_operation_status" op="!=" var2="0" />
916 </conditions>
917 <actions>
918 <action function="page">action_complete</action>
919 </actions>
920 </object>
921
922 <object type="action">
923 <condition var1="tw_has_action2" var2="0" />
924 <actions>
925 <action function="%tw_action%">%tw_action_param%</action>
926 </actions>
927 </object>
928
929 <object type="action">
930 <condition var1="tw_has_action2" var2="1" />
931 <actions>
932 <action function="%tw_action%">%tw_action_param%</action>
933 <action function="%tw_action2%">%tw_action2_param%</action>
934 </actions>
935 </object>
936 </page>
937
Dees_Troy51a0e822012-09-05 15:24:24 -0400938 <page name="action_complete">
939 <object type="template" name="header" />
940
941 <object type="text" color="%text_color%">
942 <font resource="font" />
943 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
944 <text>%tw_complete_text1%</text>
945 </object>
946
947 <object type="text" color="%text_fail_color%">
948 <condition var1="tw_operation_status" op="!=" var2="0" />
949 <font resource="font" />
950 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
951 <text>Failed</text>
952 </object>
953
954 <object type="text" color="%text_success_color%">
955 <condition var1="tw_operation_status" var2="0" />
956 <font resource="font" />
957 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
958 <text>Successful</text>
959 </object>
960
961 <object type="template" name="action_page_console" />
962
963 <object type="button">
964 <placement x="%col_center_x%" y="%row4_y%" />
965 <font resource="font" color="%button_text_color%" />
966 <text>Back</text>
967 <image resource="main_button" />
968 <actions>
969 <action function="set">tw_clear_destination=%tw_back%</action>
970 <action function="page">clear_vars</action>
971 </actions>
972 </object>
973
974 <object type="action">
975 <touch key="home" />
976 <actions>
977 <action function="set">tw_clear_destination=main2</action>
978 <action function="page">clear_vars</action>
979 </actions>
980 </object>
981
982 <object type="action">
983 <touch key="back" />
984 <actions>
985 <action function="set">tw_clear_destination=%tw_back%</action>
986 <action function="page">clear_vars</action>
987 </actions>
988 </object>
989 </page>
990
991 <page name="filecheck">
992 <object type="action">
993 <action function="fileexists">%tw_filecheck%</action>
994 </object>
995
996 <object type="action">
997 <conditions>
998 <condition var1="tw_operation_state" var2="1" />
999 <condition var1="tw_operation_status" var2="0" />
1000 </conditions>
1001 <actions>
1002 <action function="set">tw_fileexists=1</action>
1003 <action function="page">%tw_existpage%</action>
1004 </actions>
1005 </object>
1006
1007 <object type="action">
1008 <conditions>
1009 <condition var1="tw_operation_state" var2="1" />
1010 <condition var1="tw_operation_status" var2="1" />
1011 </conditions>
1012 <actions>
1013 <action function="set">tw_fileexists=0</action>
1014 <action function="page">%tw_notexistpage%</action>
1015 </actions>
1016 </object>
1017 </page>
1018
1019 <page name="rebootcheck">
1020 <object type="action">
1021 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1022 <action function="reboot">%tw_action_param%</action>
1023 </object>
1024
1025 <object type="action">
1026 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1027 <action function="page">confirm_action</action>
1028 </object>
1029 </page>
1030
1031 <page name="wipe">
1032 <object type="template" name="header" />
1033
1034 <object type="text" color="%text_color%">
1035 <font resource="font" />
1036 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1037 <text>Wipe Menu</text>
1038 </object>
1039
1040 <object type="button">
1041 <placement x="%col1_x%" y="%row1_y%" />
1042 <font resource="font" color="%button_text_color%" />
1043 <text>Cache</text>
1044 <image resource="main_button" />
1045 <actions>
1046 <action function="set">tw_back=wipe</action>
1047 <action function="set">tw_action=wipe</action>
1048 <action function="set">tw_action_param=/cache</action>
1049 <action function="set">tw_text1=Wipe Cache?</action>
1050 <action function="set">tw_action_text1=Wiping Cache...</action>
1051 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1052 <action function="set">tw_slider_text=Swipe to Wipe</action>
1053 <action function="page">confirm_action</action>
1054 </actions>
1055 </object>
1056
1057 <object type="button">
1058 <placement x="%col2_x%" y="%row1_y%" />
1059 <font resource="font" color="%button_text_color%" />
1060 <text>Dalvik Cache</text>
1061 <image resource="main_button" />
1062 <actions>
1063 <action function="set">tw_back=wipe</action>
1064 <action function="set">tw_action=wipe</action>
1065 <action function="set">tw_action_param=dalvik</action>
1066 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1067 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1068 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1069 <action function="set">tw_slider_text=Swipe to Wipe</action>
1070 <action function="page">confirm_action</action>
1071 </actions>
1072 </object>
1073
1074 <object type="button">
1075 <placement x="%col1_x%" y="%row2_y%" />
1076 <font resource="font" color="%button_text_color%" />
1077 <text>Factory Reset</text>
1078 <image resource="main_button" />
1079 <actions>
1080 <action function="set">tw_back=wipe</action>
1081 <action function="set">tw_action=wipe</action>
1082 <action function="set">tw_action_param=data</action>
1083 <action function="set">tw_text1=Factory Reset?</action>
1084 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1085 <action function="set">tw_action_text1=Factory Reset...</action>
1086 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1087 <action function="set">tw_slider_text=Swipe to Wipe</action>
1088 <action function="page">confirm_action</action>
1089 </actions>
1090 </object>
1091
1092 <object type="button">
1093 <placement x="%col2_x%" y="%row2_y%" />
1094 <font resource="font" color="%button_text_color%" />
1095 <text>System</text>
1096 <image resource="main_button" />
1097 <actions>
1098 <action function="set">tw_back=wipe</action>
1099 <action function="set">tw_action=wipe</action>
1100 <action function="set">tw_action_param=/system</action>
1101 <action function="set">tw_text1=Wipe System?</action>
1102 <action function="set">tw_text2=This will wipe your ROM</action>
1103 <action function="set">tw_action_text1=Wiping System...</action>
1104 <action function="set">tw_complete_text1=System Wipe Complete</action>
1105 <action function="set">tw_slider_text=Swipe to Wipe</action>
1106 <action function="page">confirm_action</action>
1107 </actions>
1108 </object>
1109
1110 <object type="button">
1111 <condition var1="tw_has_external" var2="1" />
1112 <placement x="%col1_x%" y="%row3_y%" />
1113 <font resource="font" color="%button_text_color%" />
1114 <text>External Storage</text>
1115 <image resource="main_button" />
1116 <actions>
1117 <action function="set">tw_back=wipe</action>
1118 <action function="set">tw_action=wipe</action>
1119 <action function="set">tw_action_param=EXTERNAL</action>
1120 <action function="set">tw_has_action2=1</action>
1121 <action function="set">tw_action2=set</action>
1122 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001123 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001124 <action function="set">tw_action_text1=Wiping External Storage...</action>
1125 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1126 <action function="set">tw_slider_text=Swipe to Wipe</action>
1127 <action function="page">confirm_action</action>
1128 </actions>
1129 </object>
1130
1131 <object type="button">
1132 <condition var1="tw_has_internal" var2="1" />
1133 <placement x="%col2_x%" y="%row3_y%" />
1134 <font resource="font" color="%button_text_color%" />
1135 <text>Internal Storage</text>
1136 <image resource="main_button" />
1137 <actions>
1138 <action function="set">tw_back=wipe</action>
1139 <action function="set">tw_action=wipe</action>
1140 <action function="set">tw_action_param=INTERNAL</action>
1141 <action function="set">tw_has_action2=1</action>
1142 <action function="set">tw_action2=set</action>
1143 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1144 <action function="set">tw_text1=Wipe Internal Storage?</action>
1145 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1146 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1147 <action function="set">tw_slider_text=Swipe to Wipe</action>
1148 <action function="page">confirm_action</action>
1149 </actions>
1150 </object>
1151
1152 <object type="button">
1153 <conditions>
1154 <condition var1="tw_has_internal" var2="1" />
1155 <condition var1="tw_has_data_media" var2="1" />
1156 </conditions>
1157 <placement x="%col1_x%" y="%row4_y%" />
1158 <font resource="font" color="%button_text_color%" />
1159 <text>Format Data</text>
1160 <image resource="main_button" />
1161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=DATAMEDIA</action>
1165 <action function="set">tw_has_action2=1</action>
1166 <action function="set">tw_action2=set</action>
1167 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001168 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001170 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 <action function="set">tw_action_text1=Formatting Data...</action>
1172 <action function="set">tw_complete_text1=Data Format Complete</action>
1173 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001174 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 <action function="page">confirm_action</action>
1176 </actions>
1177 </object>
1178
1179 <object type="button">
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001180 <condition var1="tw_has_data_media" var2="0" />
1181 <placement x="%col1_x%" y="%row4_y%" />
1182 <font resource="font" color="%button_text_color%" />
1183 <text>Android Secure</text>
1184 <image resource="main_button" />
1185 <actions>
1186 <action function="set">tw_back=wipe</action>
1187 <action function="set">tw_action=wipe</action>
1188 <action function="set">tw_action_param=ANDROIDSECURE</action>
1189 <action function="set">tw_text1=Wipe Android Secure?</action>
1190 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1191 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1192 <action function="set">tw_slider_text=Swipe to Format</action>
1193 <action function="page">confirm_action</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001198 <condition var1="tw_has_sdext_partition" var2="1" />
1199 <placement x="%col2_x%" y="%row4_y%" />
1200 <font resource="font" color="%button_text_color%" />
1201 <text>SD Ext</text>
1202 <image resource="main_button" />
1203 <actions>
1204 <action function="set">tw_back=wipe</action>
1205 <action function="set">tw_action=wipe</action>
1206 <action function="set">tw_action_param=/sd-ext</action>
1207 <action function="set">tw_text1=Wipe SD-Ext?</action>
1208 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1209 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1210 <action function="set">tw_slider_text=Swipe to Wipe</action>
1211 <action function="page">confirm_action</action>
1212 </actions>
1213 </object>
1214
1215 <object type="action">
1216 <touch key="home" />
1217 <action function="page">main</action>
1218 </object>
1219
1220 <object type="action">
1221 <touch key="back" />
1222 <action function="page">main</action>
1223 </object>
1224
1225 <object type="template" name="footer" />
1226 </page>
1227
1228 <page name="backup">
1229 <object type="template" name="header" />
1230
Dees_Troyb46a6842012-09-25 11:06:46 -04001231 <object type="text" color="%text_color%">
1232 <font resource="font" />
1233 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1234 <text>Backup Name: %tw_backup_name%</text>
1235 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001236
Dees_Troyb46a6842012-09-25 11:06:46 -04001237 <object type="text" color="%text_color%">
1238 <placement x="%col1_x%" y="%row1_text_y%" />
1239 <font resource="font" />
1240 <text>Backup Device</text>
1241 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242
Dees_Troyb46a6842012-09-25 11:06:46 -04001243 <object type="slider">
1244 <placement x="%slider_x%" y="slider_y" />
1245 <resource base="slider" used="slider-used" touch="slider-touch" />
1246 <action function="page">backup_run</action>
1247 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248
1249 <object type="text" color="%text_color%">
1250 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001251 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 <text>Swipe to Back Up</text>
1253 </object>
1254
1255 <object type="button">
1256 <placement x="%col2_x%" y="%row1_y%" />
1257 <font resource="font" color="%button_text_color%" />
1258 <text>Refresh Sizes</text>
1259 <image resource="main_button" />
1260 <action function="refreshsizes"></action>
1261 </object>
1262
1263 <object type="button">
1264 <placement x="%col2_x%" y="%backup_name_y%" />
1265 <font resource="font" color="%button_text_color%" />
1266 <text>Set Backup Name</text>
1267 <image resource="main_button" />
1268 <actions>
1269 <action function="set">tw_fileexists=0</action>
1270 <action function="page">backupname1</action>
1271 </actions>
1272 </object>
1273
1274 <object type="checkbox">
1275 <placement x="%col1_x%" y="%row2_text_y%" />
1276 <font resource="font" color="%text_color%" />
1277 <text>System (%tw_backup_system_size% MB)</text>
1278 <data variable="tw_backup_system" />
1279 <image checked="checkbox_true" unchecked="checkbox_false" />
1280 </object>
1281
1282 <object type="checkbox">
1283 <placement x="%col1_x%" y="%row3_text_y%" />
1284 <font resource="font" color="%text_color%" />
1285 <text>Data (%tw_backup_data_size% MB)</text>
1286 <data variable="tw_backup_data" />
1287 <image checked="checkbox_true" unchecked="checkbox_false" />
1288 </object>
1289
1290 <object type="checkbox">
1291 <condition var1="tw_has_boot_partition" var2="1" />
1292 <placement x="%col1_x%" y="%row4_text_y%" />
1293 <font resource="font" color="%text_color%" />
1294 <text>Boot (%tw_backup_boot_size% MB)</text>
1295 <data variable="tw_backup_boot" />
1296 <image checked="checkbox_true" unchecked="checkbox_false" />
1297 </object>
1298
1299 <object type="checkbox">
1300 <condition var1="tw_has_recovery_partition" var2="1" />
1301 <placement x="%col1_x%" y="%row5_text_y%" />
1302 <font resource="font" color="%text_color%" />
1303 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1304 <data variable="tw_backup_recovery" />
1305 <image checked="checkbox_true" unchecked="checkbox_false" />
1306 </object>
1307
1308 <object type="checkbox">
1309 <placement x="%col1_x%" y="%row6_text_y%" />
1310 <font resource="font" color="%text_color%" />
1311 <text>Cache (%tw_backup_cache_size% MB)</text>
1312 <data variable="tw_backup_cache" />
1313 <image checked="checkbox_true" unchecked="checkbox_false" />
1314 </object>
1315
1316 <object type="checkbox">
1317 <condition var1="tw_has_android_secure" var2="1" />
1318 <placement x="%col1_x%" y="%row7_text_y%" />
1319 <font resource="font" color="%text_color%" />
1320 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1321 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1322 <data variable="tw_backup_andsec" />
1323 <image checked="checkbox_true" unchecked="checkbox_false" />
1324 </object>
1325
1326 <object type="checkbox">
1327 <condition var1="tw_has_sdext_partition" var2="1" />
1328 <placement x="%col1_x%" y="%row8_text_y%" />
1329 <font resource="font" color="%text_color%" />
1330 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1331 <condition var1="fileexists" var2="/sd-ext" />
1332 <data variable="tw_backup_sdext" />
1333 <image checked="checkbox_true" unchecked="checkbox_false" />
1334 </object>
1335
1336 <object type="checkbox">
1337 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001338 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001339 <font resource="font" color="%text_color%" />
1340 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1341 <data variable="tw_backup_sp1" />
1342 <image checked="checkbox_true" unchecked="checkbox_false" />
1343 </object>
1344
1345 <object type="checkbox">
1346 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001347 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001348 <font resource="font" color="%text_color%" />
1349 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1350 <data variable="tw_backup_sp2" />
1351 <image checked="checkbox_true" unchecked="checkbox_false" />
1352 </object>
1353
1354 <object type="checkbox">
1355 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001356 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001357 <font resource="font" color="%text_color%" />
1358 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1359 <data variable="tw_backup_sp3" />
1360 <image checked="checkbox_true" unchecked="checkbox_false" />
1361 </object>
1362
1363 <object type="text" color="%text_color%">
1364 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001365 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001366 <text>Free Space: %tw_storage_free_size% MB</text>
1367 </object>
1368
1369 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001370 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001371 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001372 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001373 <data variable="tw_use_compression" />
1374 <image checked="checkbox_true" unchecked="checkbox_false" />
1375 </object>
1376
1377 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001378 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001379 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001380 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001381 <data variable="tw_skip_md5_generate" />
1382 <image checked="checkbox_true" unchecked="checkbox_false" />
1383 </object>
1384
1385 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001386 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 <font resource="font" color="%text_color%" />
1388 <conditions>
1389 <condition var1="tw_has_dual_storage" var2="1" />
1390 <condition var1="tw_use_external_storage" var2="1" />
1391 </conditions>
1392 <text>Use external SD</text>
1393 <image resource="radio_true" />
1394 <action function="togglestorage">external</action>
1395 </object>
1396
1397 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001398 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001399 <font resource="font" color="%text_color%" />
1400 <conditions>
1401 <condition var1="tw_has_dual_storage" var2="1" />
1402 <condition var1="tw_use_external_storage" var2="0" />
1403 </conditions>
1404 <text>Use external SD</text>
1405 <image resource="radio_false" />
1406 <action function="togglestorage">external</action>
1407 </object>
1408
1409 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001410 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001411 <font resource="font" color="%text_color%" />
1412 <conditions>
1413 <condition var1="tw_has_dual_storage" var2="1" />
1414 <condition var1="tw_use_external_storage" var2="1" />
1415 </conditions>
1416 <text>Use internal storage</text>
1417 <image resource="radio_false" />
1418 <action function="togglestorage">internal</action>
1419 </object>
1420
1421 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001422 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001423 <font resource="font" color="%text_color%" />
1424 <conditions>
1425 <condition var1="tw_has_dual_storage" var2="1" />
1426 <condition var1="tw_use_external_storage" var2="0" />
1427 </conditions>
1428 <text>Use internal storage</text>
1429 <image resource="radio_true" />
1430 <action function="togglestorage">internal</action>
1431 </object>
1432
1433 <object type="action">
1434 <touch key="home" />
1435 <action function="page">main</action>
1436 </object>
1437
1438 <object type="action">
1439 <touch key="back" />
1440 <action function="page">main</action>
1441 </object>
1442
1443 <object type="template" name="footer" />
1444 </page>
1445
1446 <page name="backupname1">
1447 <object type="action">
1448 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1449 <action function="set">tw_backup_name=</function>
1450 </object>
1451
1452 <object type="action">
1453 <action function="page">backupname2</function>
1454 </object>
1455 </page>
1456
1457 <page name="backupname2">
1458 <object type="template" name="header" />
1459
1460 <object type="text" color="%text_color%">
1461 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1462 <font resource="font" />
1463 <text>Please Enter a Backup Name</text>
1464 </object>
1465
1466 <object type="input">
1467 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1468 <background color="%input_background_color%" />
1469 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1470 <font resource="font" color="%text_color%" />
1471 <text>%tw_backup_name%</text>
1472 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001473 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001474 <actions>
1475 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1476 <action function="set">tw_existpage=backupname2</action>
1477 <action function="set">tw_notexistpage=backup</action>
1478 <action function="page">filecheck</action>
1479 </actions>
1480 </object>
1481
1482 <object type="text" color="%text_fail_color%">
1483 <condition var1="tw_fileexists" var2="1" />
1484 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1485 <font resource="font" />
1486 <text>A backup with that name already exists!</text>
1487 </object>
1488
Dees_Troyb46a6842012-09-25 11:06:46 -04001489 <object type="button">
1490 <placement x="%col_center_x%" y="%row2_y%" />
1491 <font resource="font" color="%button_text_color%" />
1492 <text>Cancel</text>
1493 <image resource="main_button" />
1494 <actions>
1495 <action function="set">tw_backup_name=(Current Date)</action>
1496 <action function="page">backup</action>
1497 </actions>
1498 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001499
1500 <object type="template" name="keyboardtemplate" />
1501
Dees_Troyb46a6842012-09-25 11:06:46 -04001502 <object type="action">
1503 <touch key="home" />
1504 <actions>
1505 <action function="set">tw_backup_name=(Current Date)</action>
1506 <action function="page">main</action>
1507 </actions>
1508 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001509
Dees_Troyb46a6842012-09-25 11:06:46 -04001510 <object type="action">
1511 <touch key="back" />
1512 <actions>
1513 <action function="set">tw_backup_name=(Current Date)</action>
1514 <action function="page">backup</action>
1515 </actions>
1516 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001517
1518 <object type="template" name="footer" />
1519 </page>
1520
1521 <page name="backup_run">
1522 <object type="template" name="header" />
1523
1524 <object type="text" color="%text_color%">
1525 <font resource="font" />
1526 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1527 <text>%tw_operation% %tw_partition%</text>
1528 </object>
1529
1530 <object type="template" name="action_page_console" />
1531
1532 <object type="template" name="progress_bar" />
1533
1534 <object type="action">
1535 <action function="nandroid">backup</action>
1536 </object>
1537
1538 <object type="action">
1539 <condition var1="tw_operation_state" var2="1" />
1540 <actions>
1541 <action function="set">tw_back=backup</action>
1542 <action function="set">tw_complete_text1=Backup Complete</action>
1543 <action function="page">action_complete</action>
1544 </actions>
1545 </object>
1546 </page>
1547
1548 <page name="restore">
1549 <object type="template" name="header" />
1550
1551 <object type="button">
1552 <placement x="%col1_x%" y="%row1_header_y%" />
1553 <font resource="font" color="%text_color%" />
1554 <conditions>
1555 <condition var1="tw_has_dual_storage" var2="1" />
1556 <condition var1="tw_use_external_storage" var2="1" />
1557 </conditions>
1558 <text>Use external SD</text>
1559 <image resource="radio_true" />
1560 <action function="togglestorage">external</action>
1561 </object>
1562
1563 <object type="button">
1564 <placement x="%col1_x%" y="%row1_header_y%" />
1565 <font resource="font" color="%text_color%" />
1566 <conditions>
1567 <condition var1="tw_has_dual_storage" var2="1" />
1568 <condition var1="tw_use_external_storage" var2="0" />
1569 </conditions>
1570 <text>Use external SD</text>
1571 <image resource="radio_false" />
1572 <action function="togglestorage">external</action>
1573 </object>
1574
1575 <object type="button">
1576 <placement x="%col2_x%" y="%row1_header_y%" />
1577 <font resource="font" color="%text_color%" />
1578 <conditions>
1579 <condition var1="tw_has_dual_storage" var2="1" />
1580 <condition var1="tw_use_external_storage" var2="1" />
1581 </conditions>
1582 <text>Use internal storage</text>
1583 <image resource="radio_false" />
1584 <action function="togglestorage">internal</action>
1585 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001586
Dees_Troy51a0e822012-09-05 15:24:24 -04001587 <object type="button">
1588 <placement x="%col2_x%" y="%row1_header_y%" />
1589 <font resource="font" color="%text_color%" />
1590 <conditions>
1591 <condition var1="tw_has_dual_storage" var2="1" />
1592 <condition var1="tw_use_external_storage" var2="0" />
1593 </conditions>
1594 <text>Use internal storage</text>
1595 <image resource="radio_true" />
1596 <action function="togglestorage">internal</action>
1597 </object>
1598
1599 <object type="fileselector">
1600 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1601 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1602 <text>Select Package to Restore:</text>
1603 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1604 <sort name="tw_gui_sort_order" />
1605 <icon folder="folder_icon" file="file_icon" />
1606 <background color="%fileselector_background%" />
1607 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1608 <filter folders="1" files="0" nav="0" />
1609 <path name="tw_backups_folder" />
1610 <data name="tw_restore" default="" />
1611 <selection name="tw_restore_name" />
1612 </object>
1613
1614 <object type="template" name="sort_options" />
1615
1616 <object type="action">
1617 <condition var1="tw_restore" op="modified" />
1618 <actions>
1619 <action function="readBackup"></action>
1620 <action function="page">restore_select</action>
1621 </actions>
1622 </object>
1623
1624 <object type="action">
1625 <touch key="home" />
1626 <action function="page">main</action>
1627 </object>
1628
1629 <object type="action">
1630 <touch key="back" />
1631 <action function="page">main</action>
1632 </object>
1633
1634 <object type="template" name="footer" />
1635 </page>
1636
1637 <page name="restore_select">
1638 <object type="template" name="header" />
1639
1640 <object type="text">
1641 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1642 <font resource="font" color="%text_color%" />
1643 <text>Restoring: %tw_restore_name%</text>
1644 </object>
1645
1646 <object type="button">
1647 <placement x="%col2_x%" y="%row1_y%" />
1648 <font resource="font" color="%button_text_color%" />
1649 <text>Rename Backup</text>
1650 <image resource="main_button" />
1651 <actions>
1652 <action function="set">tw_backup_rename=</action>
1653 <action function="set">tw_fileexists=0</action>
1654 <action function="page">renamebackup</action>
1655 </actions>
1656 </object>
1657
1658 <object type="button">
1659 <placement x="%col2_x%" y="%row2_y%" />
1660 <font resource="font" color="%button_text_color%" />
1661 <text>Delete Backup</text>
1662 <image resource="main_button" />
1663 <actions>
1664 <action function="set">tw_back=restore</action>
1665 <action function="set">tw_action=cmd</action>
1666 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action>
1667 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1668 <action function="set">tw_text2=This cannot be undone!</action>
1669 <action function="set">tw_action_text1=Deleting Backup...</action>
1670 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1671 <action function="set">tw_slider_text=Swipe to Delete</action>
1672 <action function="page">confirm_action</action>
1673 </actions>
1674 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001675
Dees_Troy51a0e822012-09-05 15:24:24 -04001676 <object type="slider">
1677 <placement x="%slider_x%" y="%slider_y%" />
1678 <resource base="slider" used="slider-used" touch="slider-touch" />
1679 <action function="page">restore_run</action>
1680 </object>
1681
1682 <object type="text" color="%text_color%">
1683 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001684 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <text>Swipe to Restore</text>
1686 </object>
1687
1688 <object type="checkbox">
1689 <placement x="%col1_x%" y="%row2_text_y%" />
1690 <font resource="font" color="%text_color%" />
1691 <text>System</text>
1692 <condition var1="tw_restore_system" op=">=" var2="0" />
1693 <data variable="tw_restore_system" />
1694 <image checked="checkbox_true" unchecked="checkbox_false" />
1695 </object>
1696
1697 <object type="checkbox">
1698 <placement x="%col1_x%" y="%row3_text_y%" />
1699 <font resource="font" color="%text_color%" />
1700 <text>Data</text>
1701 <condition var1="tw_restore_data" op=">=" var2="0" />
1702 <data variable="tw_restore_data" />
1703 <image checked="checkbox_true" unchecked="checkbox_false" />
1704 </object>
1705
1706 <object type="checkbox">
1707 <placement x="%col1_x%" y="%row4_text_y%" />
1708 <font resource="font" color="%text_color%" />
1709 <text>Boot</text>
1710 <condition var1="tw_restore_boot" op=">=" var2="0" />
1711 <data variable="tw_restore_boot" />
1712 <image checked="checkbox_true" unchecked="checkbox_false" />
1713 </object>
1714
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <object type="checkbox">
1716 <placement x="%col1_x%" y="%row6_text_y%" />
1717 <font resource="font" color="%text_color%" />
1718 <text>Cache</text>
1719 <condition var1="tw_restore_cache" op=">=" var2="0" />
1720 <data variable="tw_restore_cache" />
1721 <image checked="checkbox_true" unchecked="checkbox_false" />
1722 </object>
1723
1724 <object type="checkbox">
1725 <placement x="%col1_x%" y="%row7_text_y%" />
1726 <font resource="font" color="%text_color%" />
1727 <text>.android_secure</text>
1728 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1729 <data variable="tw_restore_andsec" />
1730 <image checked="checkbox_true" unchecked="checkbox_false" />
1731 </object>
1732
1733 <object type="checkbox">
1734 <placement x="%col1_x%" y="%row8_text_y%" />
1735 <font resource="font" color="%text_color%" />
1736 <text>sd-ext</text>
1737 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1738 <data variable="tw_restore_sdext" />
1739 <image checked="checkbox_true" unchecked="checkbox_false" />
1740 </object>
1741
1742 <object type="checkbox">
1743 <placement x="%col1_x%" y="%row10_text_y%" />
1744 <font resource="font" color="%text_color%" />
1745 <text>%tw_sp1_name%</text>
1746 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1747 <data variable="tw_restore_sp1" />
1748 <image checked="checkbox_true" unchecked="checkbox_false" />
1749 </object>
1750
1751 <object type="checkbox">
1752 <placement x="%col1_x%" y="%row11_text_y%" />
1753 <font resource="font" color="%text_color%" />
1754 <text>%tw_sp2_name%</text>
1755 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1756 <data variable="tw_restore_sp2" />
1757 <image checked="checkbox_true" unchecked="checkbox_false" />
1758 </object>
1759
1760 <object type="checkbox">
1761 <placement x="%col1_x%" y="%row12_text_y%" />
1762 <font resource="font" color="%text_color%" />
1763 <text>%tw_sp3_name%</text>
1764 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1765 <data variable="tw_restore_sp3" />
1766 <image checked="checkbox_true" unchecked="checkbox_false" />
1767 </object>
1768
1769 <object type="checkbox">
1770 <placement x="%col1_x%" y="%row14_text_y%" />
1771 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001772 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001773 <data variable="tw_skip_md5_check" />
1774 <image checked="checkbox_true" unchecked="checkbox_false" />
1775 </object>
1776
Dees_Troyb46a6842012-09-25 11:06:46 -04001777 <object type="text" color="%text_color%">
1778 <font resource="font" />
1779 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1780 <text>Package Date: %tw_restore_file_date%</text>
1781 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001782
1783 <object type="action">
1784 <touch key="home" />
1785 <action function="page">main</action>
1786 </object>
1787
1788 <object type="action">
1789 <touch key="back" />
1790 <action function="page">restore</action>
1791 </object>
1792
1793 <object type="template" name="footer" />
1794 </page>
1795
1796 <page name="renamebackup">
1797 <object type="template" name="header" />
1798
1799 <object type="text" color="%text_color%">
1800 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1801 <font resource="font" />
1802 <text>Please Enter a New Backup Name</text>
1803 </object>
1804
1805 <object type="input">
1806 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1807 <background color="%input_background_color%" />
1808 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1809 <font resource="font" color="%text_color%" />
1810 <text>%tw_backup_rename%</text>
1811 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001812 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001813 <actions>
1814 <action function="set">tw_back=restore</action>
1815 <action function="set">tw_action=cmd</action>
1816 <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
1817 <action function="set">tw_text1=Rename Backup?</action>
1818 <action function="set">tw_text2=This cannot be undone!</action>
1819 <action function="set">tw_action_text1=Renaming Backup...</action>
1820 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1821 <action function="set">tw_slider_text=Swipe to Rename</action>
1822 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1823 <action function="set">tw_existpage=renamebackup</action>
1824 <action function="set">tw_notexistpage=confirm_action</action>
1825 <action function="page">filecheck</action>
1826 </actions>
1827 </object>
1828
1829 <object type="text" color="%text_fail_color%">
1830 <condition var1="tw_fileexists" var2="1" />
1831 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1832 <font resource="font" />
1833 <text>A backup with that name already exists!</text>
1834 </object>
1835
1836 <object type="button">
1837 <placement x="%col_center_x%" y="%row2_y%" />
1838 <font resource="font" color="%button_text_color%" />
1839 <text>Cancel</text>
1840 <image resource="main_button" />
1841 <action function="page">restore_select</action>
1842 </object>
1843
1844 <object type="template" name="keyboardtemplate" />
1845
1846 <object type="action">
1847 <touch key="home" />
1848 <action function="page">main</action>
1849 </object>
1850
1851 <object type="action">
1852 <touch key="back" />
1853 <action function="page">restore_select</action>
1854 </object>
1855
1856 <object type="template" name="footer" />
1857 </page>
1858
1859 <page name="restore_run">
1860 <object type="template" name="header" />
1861
1862 <object type="text" color="%text_color%">
1863 <font resource="font" />
1864 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1865 <text>%tw_operation% %tw_partition%</text>
1866 </object>
1867
1868 <object type="template" name="action_page_console" />
1869
1870 <object type="template" name="progress_bar" />
1871
1872 <object type="action">
1873 <conditions>
1874 <condition var1="tw_operation_state" var2="1" />
1875 <condition var1="tw_operation_status" var2="0" />
1876 </conditions>
1877 <actions>
1878 <action function="set">tw_back=restore_select</action>
1879 <action function="set">tw_complete_text1=Restore Complete</action>
1880 <action function="page">action_complete</action>
1881 </actions>
1882 </object>
1883
1884 <object type="action">
1885 <conditions>
1886 <condition var1="tw_operation_state" var2="1" />
1887 <condition var1="tw_operation_status" var2="1" />
1888 </conditions>
1889 <actions>
1890 <action function="set">tw_back=restore_select</action>
1891 <action function="set">tw_complete_text1=Restore Complete</action>
1892 <action function="page">action_complete</action>
1893 </actions>
1894 </object>
1895
1896 <object type="action">
1897 <action function="nandroid">restore</action>
1898 </object>
1899 </page>
1900
1901 <page name="mount">
1902 <object type="template" name="header" />
1903
1904 <object type="text" color="%text_color%">
1905 <font resource="font" />
1906 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1907 <text>Mount Menu</text>
1908 </object>
1909
1910 <object type="button">
1911 <placement x="%col1_x%" y="%row1_text_y%" />
1912 <font resource="font" color="%text_color%" />
1913 <condition var1="mounted" op="!=" var2="/system" />
1914 <text>Mount System</text>
1915 <image resource="checkbox_false" />
1916 <action function="mount">/system</action>
1917 </object>
1918
1919 <object type="button">
1920 <placement x="%col1_x%" y="%row1_text_y%" />
1921 <font resource="font" color="%text_color%" />
1922 <condition var1="mounted" op="=" var2="/system" />
1923 <text>Unmount System</text>
1924 <image resource="checkbox_true" />
1925 <action function="umount">/system</action>
1926 </object>
1927
1928 <object type="button">
1929 <placement x="%col1_x%" y="%row2_text_y%" />
1930 <font resource="font" color="%text_color%" />
1931 <condition var1="mounted" op="!=" var2="/data" />
1932 <text>Mount Data</text>
1933 <image resource="checkbox_false" />
1934 <action function="mount">/data</action>
1935 </object>
1936
1937 <object type="button">
1938 <placement x="%col1_x%" y="%row2_text_y%" />
1939 <font resource="font" color="%text_color%" />
1940 <condition var1="mounted" op="=" var2="/data" />
1941 <text>Unmount Data</text>
1942 <image resource="checkbox_true" />
1943 <action function="umount">/data</action>
1944 </object>
1945
1946 <object type="button">
1947 <placement x="%col1_x%" y="%row3_text_y%" />
1948 <font resource="font" color="%text_color%" />
1949 <condition var1="mounted" op="!=" var2="/cache" />
1950 <text>Mount Cache</text>
1951 <image resource="checkbox_false" />
1952 <action function="mount">/cache</action>
1953 </object>
1954
1955 <object type="button">
1956 <placement x="%col1_x%" y="%row3_text_y%" />
1957 <font resource="font" color="%text_color%" />
1958 <condition var1="mounted" op="=" var2="/cache" />
1959 <text>Unmount Cache</text>
1960 <image resource="checkbox_true" />
1961 <action function="umount">/cache</action>
1962 </object>
1963
1964 <object type="button">
1965 <placement x="%col1_x%" y="%row4_text_y%" />
1966 <font resource="font" color="%text_color%" />
1967 <conditions>
1968 <condition var1="tw_has_external" var2="1" />
1969 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1970 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001971 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001972 <image resource="checkbox_false" />
1973 <action function="mount">EXTERNAL</action>
1974 </object>
1975
1976 <object type="button">
1977 <placement x="%col1_x%" y="%row4_text_y%" />
1978 <font resource="font" color="%text_color%" />
1979 <conditions>
1980 <condition var1="tw_has_external" var2="1" />
1981 <condition var1="mounted" op="=" var2="EXTERNAL" />
1982 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001983 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001984 <image resource="checkbox_true" />
1985 <action function="umount">EXTERNAL</action>
1986 </object>
1987
1988 <object type="button">
1989 <placement x="%col2_x%" y="%row4_text_y%" />
1990 <font resource="font" color="%text_color%" />
1991 <conditions>
1992 <condition var1="tw_has_internal" var2="1" />
1993 <condition var1="tw_has_data_media" var2="0" />
1994 <condition var1="mounted" op="!=" var2="INTERNAL" />
1995 </conditions>
1996 <text>Mount Internal</text>
1997 <image resource="checkbox_false" />
1998 <action function="mount">INTERNAL</action>
1999 </object>
2000
2001 <object type="button">
2002 <placement x="%col2_x%" y="%row4_text_y%" />
2003 <font resource="font" color="%text_color%" />
2004 <conditions>
2005 <condition var1="tw_has_internal" var2="1" />
2006 <condition var1="tw_has_data_media" var2="0" />
2007 <condition var1="mounted" op="=" var2="INTERNAL" />
2008 </conditions>
2009 <text>Unmount Internal</text>
2010 <image resource="checkbox_true" />
2011 <action function="umount">INTERNAL</action>
2012 </object>
2013
2014 <object type="button">
2015 <conditions>
2016 <condition var1="tw_has_sdext_partition" var2="1" />
2017 <condition var1="mounted" op="!=" var2="/sd-ext" />
2018 </conditions>
2019 <placement x="%col1_x%" y="%row5_text_y%" />
2020 <font resource="font" color="%text_color%" />
2021 <text>Mount SD-Ext</text>
2022 <image resource="checkbox_false" />
2023 <action function="mount">/sd-ext</action>
2024 </object>
2025
2026 <object type="button">
2027 <placement x="%col1_x%" y="%row5_text_y%" />
2028 <font resource="font" color="%text_color%" />
2029 <condition var1="mounted" op="=" var2="/sd-ext" />
2030 <text>Unmount SD-Ext</text>
2031 <image resource="checkbox_true" />
2032 <action function="umount">/sd-ext</action>
2033 </object>
2034
2035 <object type="button">
2036 <conditions>
2037 <condition var1="tw_boot_is_mountable" var2="1" />
2038 <condition var1="mounted" op="!=" var2="/boot" />
2039 </conditions>
2040 <placement x="%col1_x%" y="%row6_text_y%" />
2041 <font resource="font" color="#A0A0A0" />
2042 <text>Mount Boot</text>
2043 <image resource="checkbox_false" />
2044 <action function="mount">/boot</action>
2045 </object>
2046
2047 <object type="button">
2048 <conditions>
2049 <condition var1="tw_boot_is_mountable" var2="1" />
2050 <condition var1="mounted" op="=" var2="/boot" />
2051 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002052
Dees_Troy51a0e822012-09-05 15:24:24 -04002053 <placement x="%col1_x%" y="%row6_text_y%" />
2054 <font resource="font" color="#A0A0A0" />
2055 <text>Unmount Boot</text>
2056 <image resource="checkbox_true" />
2057 <action function="umount">/boot</action>
2058 </object>
2059
2060 <object type="button">
2061 <placement x="%col1_x%" y="%row8_text_y%" />
2062 <font resource="font" color="%text_color%" />
2063 <conditions>
2064 <condition var1="tw_has_dual_storage" var2="1" />
2065 <condition var1="tw_use_external_storage" var2="1" />
2066 </conditions>
2067 <text>Use external SD</text>
2068 <image resource="radio_true" />
2069 <action function="togglestorage">external</action>
2070 </object>
2071
2072 <object type="button">
2073 <placement x="%col1_x%" y="%row8_text_y%" />
2074 <font resource="font" color="%text_color%" />
2075 <conditions>
2076 <condition var1="tw_has_dual_storage" var2="1" />
2077 <condition var1="tw_use_external_storage" var2="0" />
2078 </conditions>
2079 <text>Use external SD</text>
2080 <image resource="radio_false" />
2081 <action function="togglestorage">external</action>
2082 </object>
2083
2084 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002085 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002086 <font resource="font" color="%text_color%" />
2087 <conditions>
2088 <condition var1="tw_has_dual_storage" var2="1" />
2089 <condition var1="tw_use_external_storage" var2="1" />
2090 </conditions>
2091 <text>Use internal storage</text>
2092 <image resource="radio_false" />
2093 <action function="togglestorage">internal</action>
2094 </object>
2095
2096 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002097 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002098 <font resource="font" color="%text_color%" />
2099 <conditions>
2100 <condition var1="tw_has_dual_storage" var2="1" />
2101 <condition var1="tw_use_external_storage" var2="0" />
2102 </conditions>
2103 <text>Use internal storage</text>
2104 <image resource="radio_true" />
2105 <action function="togglestorage">internal</action>
2106 </object>
2107
2108 <object type="button">
2109 <condition var1="tw_has_usb_storage" var2="1" />
2110 <placement x="%col1_x%" y="row3_y" />
2111 <font resource="font" color="%button_text_color%" />
2112 <text>Mount USB Storage</text>
2113 <image resource="main_button" />
2114 <action function="page">usb_mount</action>
2115 </object>
2116
2117 <object type="action">
2118 <touch key="home" />
2119 <action function="page">main</action>
2120 </object>
2121
2122 <object type="action">
2123 <touch key="back" />
2124 <action function="page">main</action>
2125 </object>
2126
2127 <object type="template" name="footer" />
2128 </page>
2129
2130 <page name="usb_mount">
2131 <object type="template" name="header" />
2132
2133 <object type="text" color="%text_color%">
2134 <font resource="font" />
2135 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2136 <text>USB Storage Mounted</text>
2137 </object>
2138
2139 <object type="text" color="%text_color%">
2140 <placement x="%col1_x%" y="%row1_text_y%" />
2141 <font resource="font" />
2142 <text>Be sure to safely remove your device</text>
2143 </object>
2144
2145 <object type="text" color="%text_color%">
2146 <placement x="%col1_x%" y="%row2_text_y%" />
2147 <font resource="font" />
2148 <text>from your computer before unmounting!</text>
2149 </object>
2150
2151 <object type="button">
2152 <placement x="%col1_x%" y="%row3_y%" />
2153 <font resource="font" color="%button_text_color%" />
2154 <text>Unmount</text>
2155 <image resource="main_button" />
2156 <action function="page">usb_umount</action>
2157 </object>
2158
2159 <object type="action">
2160 <action function="mount">usb</action>
2161 </object>
2162
2163 <object type="template" name="footer" />
2164 </page>
2165
2166 <page name="usb_umount">
2167 <object type="action">
2168 <action function="unmount">usb</action>
2169 </object>
2170
2171 <object type="action">
2172 <action function="page">mount</action>
2173 </object>
2174 </page>
2175
2176 <page name="reboot">
2177 <object type="template" name="header" />
2178
2179 <object type="text" color="%text_color%">
2180 <font resource="font" />
2181 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2182 <text>Reboot Menu</text>
2183 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002184
Dees_Troy51a0e822012-09-05 15:24:24 -04002185 <object type="button">
2186 <condition var1="tw_reboot_system" var2="1" />
2187 <placement x="%col1_x%" y="%row1_y%" />
2188 <font resource="font" color="%button_text_color%" />
2189 <text>System</text>
2190 <image resource="main_button" />
2191 <actions>
2192 <action function="set">tw_back=reboot</action>
2193 <action function="set">tw_action=reboot</action>
2194 <action function="set">tw_action_param=system</action>
2195 <action function="set">tw_has_action2=0</action>
2196 <action function="set">tw_text1=No OS Installed! Are you</action>
2197 <action function="set">tw_text2=sure you wish to reboot?</action>
2198 <action function="set">tw_action_text1=Rebooting...</action>
2199 <action function="set">tw_complete_text1=Rebooting...</action>
2200 <action function="set">tw_slider_text=Swipe to Reboot</action>
2201 <action function="page">rebootcheck</action>
2202 </actions>
2203 </object>
2204
2205 <object type="button">
2206 <condition var1="tw_reboot_poweroff" var2="1" />
2207 <placement x="%col2_x%" y="%row1_y%" />
2208 <font resource="font" color="%button_text_color%" />
2209 <text>Power Off</text>
2210 <image resource="main_button" />
2211 <actions>
2212 <action function="set">tw_back=reboot</action>
2213 <action function="set">tw_action=reboot</action>
2214 <action function="set">tw_action_param=poweroff</action>
2215 <action function="set">tw_has_action2=0</action>
2216 <action function="set">tw_text1=No OS Installed! Are you</action>
2217 <action function="set">tw_text2=sure you wish to power off?</action>
2218 <action function="set">tw_action_text1=Turning Off...</action>
2219 <action function="set">tw_complete_text1=Turning Off...</action>
2220 <action function="set">tw_slider_text=Swipe to Power Off</action>
2221 <action function="page">rebootcheck</action>
2222 </actions>
2223 </object>
2224
2225 <object type="button">
2226 <condition var1="tw_reboot_recovery" var2="1" />
2227 <placement x="%col1_x%" y="%row2_y%" />
2228 <font resource="font" color="%button_text_color%" />
2229 <text>Recovery</text>
2230 <image resource="main_button" />
2231 <actions>
2232 <action function="set">tw_back=reboot</action>
2233 <action function="set">tw_action=reboot</action>
2234 <action function="set">tw_action_param=recovery</action>
2235 <action function="set">tw_has_action2=0</action>
2236 <action function="set">tw_text1=No OS Installed! Are you</action>
2237 <action function="set">tw_text2=sure you wish to reboot?</action>
2238 <action function="set">tw_action_text1=Rebooting...</action>
2239 <action function="set">tw_complete_text1=Rebooting...</action>
2240 <action function="set">tw_slider_text=Swipe to Reboot</action>
2241 <action function="page">rebootcheck</action>
2242 </actions>
2243 </object>
2244
2245 <object type="button">
2246 <condition var1="tw_reboot_bootloader" var2="1" />
2247 <placement x="%col2_x%" y="%row2_y%" />
2248 <font resource="font" color="%button_text_color%" />
2249 <text>Bootloader</text>
2250 <image resource="main_button" />
2251 <actions>
2252 <action function="set">tw_back=reboot</action>
2253 <action function="set">tw_action=reboot</action>
2254 <action function="set">tw_action_param=bootloader</action>
2255 <action function="set">tw_has_action2=0</action>
2256 <action function="set">tw_text1=No OS Installed! Are you</action>
2257 <action function="set">tw_text2=sure you wish to reboot?</action>
2258 <action function="set">tw_action_text1=Rebooting...</action>
2259 <action function="set">tw_complete_text1=Rebooting...</action>
2260 <action function="set">tw_slider_text=Swipe to Reboot</action>
2261 <action function="page">rebootcheck</action>
2262 </actions>
2263 </object>
2264
2265 <object type="button">
2266 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002267 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002268 <font resource="font" color="%button_text_color%" />
2269 <text>Download</text>
2270 <image resource="main_button" />
2271 <actions>
2272 <action function="set">tw_back=reboot</action>
2273 <action function="set">tw_action=reboot</action>
2274 <action function="set">tw_action_param=download</action>
2275 <action function="set">tw_has_action2=0</action>
2276 <action function="set">tw_text1=No OS Installed! Are you</action>
2277 <action function="set">tw_text2=sure you wish to reboot?</action>
2278 <action function="set">tw_action_text1=Rebooting...</action>
2279 <action function="set">tw_complete_text1=Rebooting...</action>
2280 <action function="set">tw_slider_text=Swipe to Reboot</action>
2281 <action function="page">rebootcheck</action>
2282 </actions>
2283 </object>
2284
2285 <object type="action">
2286 <touch key="home" />
2287 <action function="page">main</action>
2288 </object>
2289
2290 <object type="action">
2291 <touch key="back" />
2292 <action function="page">main</action>
2293 </object>
2294
2295 <object type="template" name="footer" />
2296 </page>
2297
2298 <page name="settings">
2299 <object type="template" name="header" />
2300
2301 <object type="text" color="%text_color%">
2302 <font resource="font" />
2303 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2304 <text>Settings</text>
2305 </object>
2306
2307 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002308 <placement x="%col1_x%" y="%row1_text_y%" />
2309 <font resource="font" color="%text_color%" />
2310 <text>Zip file signature verification.</text>
2311 <data variable="tw_signed_zip_verify" />
2312 <image checked="checkbox_true" unchecked="checkbox_false" />
2313 </object>
2314
2315 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <placement x="%col1_x%" y="%row2_text_y%" />
2317 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002318 <text>Force MD5 check on all zips.</text>
2319 <data variable="tw_force_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002320 <image checked="checkbox_true" unchecked="checkbox_false" />
2321 </object>
2322
2323 <object type="checkbox">
2324 <placement x="%col1_x%" y="%row3_text_y%" />
2325 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002326 <text>Use rm -rf instead of formatting.</text>
2327 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002328 <image checked="checkbox_true" unchecked="checkbox_false" />
2329 </object>
2330
2331 <object type="checkbox">
2332 <placement x="%col1_x%" y="%row4_text_y%" />
2333 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002334 <text>Skip MD5 generation during backup.</text>
2335 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002336 <image checked="checkbox_true" unchecked="checkbox_false" />
2337 </object>
2338
2339 <object type="checkbox">
2340 <placement x="%col1_x%" y="%row5_text_y%" />
2341 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002342 <text>Enable MD5 verification of backup files.</text>
2343 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <image checked="checkbox_true" unchecked="checkbox_false" />
2345 </object>
2346
2347 <object type="checkbox">
2348 <placement x="%col1_x%" y="%row6_text_y%" />
2349 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002350 <text>Ignore image size errors during backup.</text>
2351 <data variable="tw_ignore_image_size" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002352 <image checked="checkbox_true" unchecked="checkbox_false" />
2353 </object>
2354
2355 <object type="checkbox">
2356 <placement x="%col1_x%" y="%row7_text_y%" />
2357 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002358 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002359 <data variable="tw_simulate_actions" />
2360 <image checked="checkbox_true" unchecked="checkbox_false" />
2361 </object>
2362
2363 <object type="checkbox">
2364 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002365 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002367 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002368 <data variable="tw_simulate_fail" />
2369 <image checked="checkbox_true" unchecked="checkbox_false" />
2370 </object>
2371
2372 <object type="button">
2373 <placement x="%col1_x%" y="%row3_y%" />
2374 <font resource="font" color="%button_text_color%" />
2375 <text>Time Zone</text>
2376 <image resource="main_button" />
2377 <action function="page">timezone</action>
2378 </object>
2379
2380 <object type="button">
2381 <placement x="%col_center_x%" y="%row4_y%" />
2382 <font resource="font" color="%button_text_color%" />
2383 <text>Restore Defaults</text>
2384 <image resource="main_button" />
2385 <action function="restoredefaultsettings"></action>
2386 </object>
2387
2388 <object type="action">
2389 <touch key="home" />
2390 <action function="page">main</action>
2391 </object>
2392
2393 <object type="action">
2394 <touch key="back" />
2395 <action function="page">main</action>
2396 </object>
2397
2398 <object type="template" name="footer" />
2399 </page>
2400
2401 <page name="timezone">
2402 <object type="template" name="header" />
2403
2404 <object type="text" color="%text_color%">
2405 <font resource="font" />
2406 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2407 <text>Select Time Zone</text>
2408 </object>
2409
2410 <object type="listbox">
2411 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2412 <icon selected="radio_true" unselected="radio_false" />
2413 <background color="%listbox_background%" />
2414 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2415 <data name="tw_time_zone_guisel" />
2416 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2417 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2418 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2419 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2420 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2421 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2422 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2423 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2424 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2425 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2426 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2427 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2428 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2429 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2430 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2431 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2432 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2433 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2434 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2435 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2436 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2437 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2438 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2439 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2440 </object>
2441
2442 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002443 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002444 <font resource="font" color="%text_color%" />
2445 <text>Do you use daylight savings time (DST)?</text>
2446 <data variable="tw_time_zone_guidst" />
2447 <image checked="checkbox_true" unchecked="checkbox_false" />
2448 </object>
2449
2450 <object type="text" color="%text_color%">
2451 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002452 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002453 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2454 </object>
2455
2456 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002457 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <font resource="font" color="%button_text_color%" />
2459 <text>None</text>
2460 <image resource="medium_button" />
2461 <action function="set">tw_time_zone_guioffset=0</action>
2462 </object>
2463
2464 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002465 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002466 <font resource="font" color="%button_text_color%" />
2467 <text>15</text>
2468 <image resource="medium_button" />
2469 <action function="set">tw_time_zone_guioffset=15</action>
2470 </object>
2471
2472 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002473 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <font resource="font" color="%button_text_color%" />
2475 <text>30</text>
2476 <image resource="medium_button" />
2477 <action function="set">tw_time_zone_guioffset=30</action>
2478 </object>
2479
2480 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002481 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <font resource="font" color="%button_text_color%" />
2483 <text>45</text>
2484 <image resource="medium_button" />
2485 <action function="set">tw_time_zone_guioffset=45</action>
2486 </object>
2487
2488 <object type="button">
2489 <placement x="%col_center_x%" y="%tz_set_y%" />
2490 <font resource="font" color="%button_text_color%" />
2491 <text>Set Time Zone</text>
2492 <image resource="main_button" />
2493 <action function="setguitimezone"></action>
2494 </object>
2495
2496 <object type="text" color="%text_color%">
2497 <font resource="font" />
2498 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2499 <text>Current Time Zone: %tw_time_zone%</text>
2500 </object>
2501
2502 <object type="action">
2503 <touch key="home" />
2504 <action function="page">main</action>
2505 </object>
2506
2507 <object type="action">
2508 <touch key="back" />
2509 <action function="page">settings</action>
2510 </object>
2511
2512 <object type="template" name="footer" />
2513 </page>
2514
2515 <page name="advanced">
2516 <object type="template" name="header" />
2517
2518 <object type="text" color="%text_color%">
2519 <font resource="font" />
2520 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2521 <text>Advanced</text>
2522 </object>
2523
2524 <object type="button">
2525 <placement x="%col1_x%" y="%row1_y%" />
2526 <font resource="font" color="%button_text_color%" />
2527 <text>Copy Log to SD</text>
2528 <image resource="main_button" />
2529 <actions>
2530 <action function="set">tw_back=advanced</action>
2531 <action function="set">tw_action=copylog</action>
2532 <action function="set">tw_text1=Copy Log to SD Card?</action>
2533 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2534 <action function="set">tw_complete_text1=Log Copy Complete</action>
2535 <action function="set">tw_slider_text=Swipe to Confirm</action>
2536 <action function="page">confirm_action</action>
2537 </actions>
2538 </object>
2539
2540 <object type="button">
2541 <placement x="%col2_x%" y="%row1_y%" />
2542 <font resource="font" color="%button_text_color%" />
2543 <text>Fix Permissions</text>
2544 <image resource="main_button" />
2545 <actions>
2546 <action function="set">tw_back=advanced</action>
2547 <action function="set">tw_action=fixpermissions</action>
2548 <action function="set">tw_text1=Fix Permissions?</action>
2549 <action function="set">tw_text2=This will take a few minutes.</action>
2550 <action function="set">tw_action_text1=Fixing Permissions...</action>
2551 <action function="set">tw_action_text2=This will take a few minutes.</action>
2552 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2553 <action function="set">tw_slider_text=Swipe to Confirm</action>
2554 <action function="page">confirm_action</action>
2555 </actions>
2556 </object>
2557
2558 <object type="button">
2559 <condition var1="tw_allow_partition_sdcard" var2="1" />
2560 <placement x="%col1_x%" y="%row2_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>Partition SD Card</text>
2563 <image resource="main_button" />
2564 <action function="page">partsdcard</action>
2565 </object>
2566
2567 <object type="button">
2568 <placement x="%col2_x%" y="%row2_y%" />
2569 <font resource="font" color="%button_text_color%" />
2570 <text>File Manager</text>
2571 <image resource="main_button" />
2572 <action function="page">filemanagerlist</action>
2573 </object>
2574
2575 <object type="button">
2576 <placement x="%col1_x%" y="%row3_y%" />
2577 <font resource="font" color="%button_text_color%" />
2578 <text>Terminal Command</text>
2579 <image resource="main_button" />
2580 <action function="page">terminalfolder</action>
2581 </object>
2582
2583 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002584 <placement x="%col2_x%" y="%row3_y%" />
2585 <font resource="font" color="%button_text_color%" />
2586 <text>Reload Theme</text>
2587 <image resource="main_button" />
2588 <action function="reload"></action>
2589 </object>
2590
2591 <object type="button">
Dees_Troy43d8b002012-09-17 16:00:01 -04002592 <placement x="%col1_x%" y="%row4_y%" />
2593 <font resource="font" color="%button_text_color%" />
2594 <text>ADB Sideload</text>
2595 <image resource="main_button" />
2596 <actions>
Dees_Troycfb63ae2012-09-19 14:30:17 -04002597 <action function="set">tw_back=advanced</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002598 <action function="set">tw_action=adbsideload</action>
2599 <action function="set">tw_action_text1=ADB Sideload</action>
2600 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2601 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002602 <action function="set">tw_has_cancel=1</action>
2603 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2604 <action function="page">action_page</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002605 </actions>
2606 </object>
2607
2608 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002609 <condition var1="tw_show_dumlock" var2="1" />
2610 <placement x="%col2_x%" y="%row4_y%" />
2611 <font resource="font" color="%button_text_color%" />
2612 <text>HTC Dumlock</text>
2613 <image resource="main_button" />
2614 <action function="page">htcdumlock</action>
2615 </object>
2616
2617 <object type="button">
2618 <condition var1="tw_has_injecttwrp" var2="1" />
2619 <placement x="%col2_x%" y="%row4_y%" />
2620 <font resource="font" color="%button_text_color%" />
2621 <text>Re-Inject TWRP</text>
2622 <image resource="main_button" />
2623 <actions>
2624 <action function="set">tw_back=advanced</action>
2625 <action function="set">tw_action=reinjecttwrp</action>
2626 <action function="set">tw_text1=Re-Inject TWRP?</action>
2627 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2628 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2629 <action function="set">tw_slider_text=Swipe to Confirm</action>
2630 <action function="page">confirm_action</action>
2631 </actions>
2632 </object>
2633
Dees_Troy51a0e822012-09-05 15:24:24 -04002634 <object type="action">
2635 <touch key="home" />
2636 <action function="page">main</action>
2637 </object>
2638
2639 <object type="action">
2640 <touch key="back" />
2641 <action function="page">main</action>
2642 </object>
2643
2644 <object type="template" name="footer" />
2645 </page>
2646
2647 <page name="partsdcard">
2648 <object type="template" name="header" />
2649
2650 <object type="text" color="%text_color%">
2651 <font resource="font" />
2652 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2653 <text>Partition SD Card</text>
2654 </object>
2655
2656 <object type="button">
2657 <placement x="%col1_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text></text>
2660 <image resource="minus_button" />
2661 <action function="addsubtract">tw_sdext_size-128</action>
2662 </object>
2663
2664 <object type="button">
2665 <placement x="%sd_plus_x%" y="%row1_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text></text>
2668 <image resource="plus_button" />
2669 <action function="addsubtract">tw_sdext_size+128</action>
2670 </object>
2671
2672 <object type="text" color="%text_color%">
2673 <font resource="font" />
2674 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2675 <text>EXT Size: %tw_sdext_size%</text>
2676 </object>
2677
2678 <object type="button">
2679 <placement x="%col1_x%" y="%sdswap_button_y%" />
2680 <font resource="font" color="%button_text_color%" />
2681 <text></text>
2682 <image resource="minus_button" />
2683 <action function="addsubtract">tw_swap_size-32</action>
2684 </object>
2685
2686 <object type="button">
2687 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2688 <font resource="font" color="%button_text_color%" />
2689 <text></text>
2690 <image resource="plus_button" />
2691 <action function="addsubtract">tw_swap_size+32</action>
2692 </object>
2693
2694 <object type="text" color="%text_color%">
2695 <font resource="font" />
2696 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2697 <text>Swap Size: %tw_swap_size%</text>
2698 </object>
2699
2700 <object type="text" color="%text_color%">
2701 <font resource="font" />
2702 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2703 <text>File system: %tw_sdpart_file_system%</text>
2704 </object>
2705
2706 <object type="button">
2707 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2708 <font resource="font" color="%button_text_color%" />
2709 <text>EXT3</text>
2710 <image resource="main_button" />
2711 <action function="set">tw_sdpart_file_system=ext3</action>
2712 </object>
2713
2714 <object type="button">
2715 <condition var1="tw_sdext_disable_ext4" var2="0" />
2716 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>EXT4</text>
2719 <image resource="main_button" />
2720 <action function="set">tw_sdpart_file_system=ext4</action>
2721 </object>
2722
2723 <object type="text" color="%text_color%">
2724 <font resource="font" />
2725 <placement x="%col1_x%" y="%row12_text_y%" />
2726 <text>You will lose all files on your SD card!</text>
2727 </object>
2728
2729 <object type="text" color="%text_color%">
2730 <font resource="font" />
2731 <placement x="%col1_x%" y="%row13_text_y%" />
2732 <text>This action cannot be undone!</text>
2733 </object>
2734
2735 <object type="slider">
2736 <placement x="%slider_x%" y="%slider_y%" />
2737 <resource base="slider" used="slider-used" touch="slider-touch" />
2738 <action function="page">partsdcardaction</action>
2739 <actions>
2740 <action function="set">tw_back=partsdcard</action>
2741 <action function="set">tw_action=partitionsd</action>
2742 <action function="set">tw_has_action2=1</action>
2743 <action function="set">tw_action2=set</action>
2744 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2745 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2746 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002747 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <action function="page">action_page</action>
2749 </actions>
2750 </object>
2751
2752 <object type="text" color="%text_color%">
2753 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002754 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <text>Swipe to Partition</text>
2756 </object>
2757
2758 <object type="action">
2759 <touch key="home" />
2760 <action function="page">main</action>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="back" />
2765 <action function="page">advanced</action>
2766 </object>
2767
2768 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 </page>
2770
2771 <page name="htcdumlock">
2772 <object type="template" name="header" />
2773
2774 <object type="text" color="%text_color%">
2775 <font resource="font" />
2776 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2777 <text>HTC Dumlock</text>
2778 </object>
2779
2780 <object type="button">
2781 <condition var1="tw_show_dumlock" var2="1" />
2782 <placement x="%col1_x%" y="%row1_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>Restore Original Boot</text>
2785 <image resource="main_button" />
2786 <actions>
2787 <action function="set">tw_back=htcdumlock</action>
2788 <action function="set">tw_action=htcdumlockrestoreboot</action>
2789 <action function="set">tw_text1=Restore original boot image?</action>
2790 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2791 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2792 <action function="set">tw_slider_text=Swipe to Confirm</action>
2793 <action function="page">confirm_action</action>
2794 </actions>
2795 </object>
2796
2797 <object type="button">
2798 <condition var1="tw_show_dumlock" var2="1" />
2799 <placement x="%col2_x%" y="%row1_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>Reflash Recovery</text>
2802 <image resource="main_button" />
2803 <actions>
2804 <action function="set">tw_back=htcdumlock</action>
2805 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2806 <action function="set">tw_text1=Reflash recovery to boot?</action>
2807 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2808 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2809 <action function="set">tw_slider_text=Swipe to Confirm</action>
2810 <action function="page">confirm_action</action>
2811 </actions>
2812 </object>
2813
2814 <object type="button">
2815 <condition var1="tw_show_dumlock" var2="1" />
2816 <placement x="%col1_x%" y="%row2_y%" />
2817 <font resource="font" color="%button_text_color%" />
2818 <text>Install HTC Dumlock</text>
2819 <image resource="main_button" />
2820 <actions>
2821 <action function="set">tw_back=htcdumlock</action>
2822 <action function="set">tw_action=installhtcdumlock</action>
2823 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2824 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2825 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2826 <action function="set">tw_slider_text=Swipe to Confirm</action>
2827 <action function="page">confirm_action</action>
2828 </actions>
2829 </object>
2830
2831 <object type="action">
2832 <touch key="home" />
2833 <action function="page">main</action>
2834 </object>
2835
2836 <object type="action">
2837 <touch key="back" />
2838 <action function="page">advanced</action>
2839 </object>
2840
2841 <object type="template" name="footer" />
2842 </page>
2843
2844 <page name="lock">
2845 <background color="#000000A0" />
2846
2847 <object type="image">
2848 <image resource="unlock-icon" />
2849 <placement x="%lock_x%" y="%lock_y%" />
2850 </object>
2851
2852 <object type="slider">
2853 <placement x="%slider_x%" y="%slider_y%" />
2854 <resource base="slider" used="slider-used" touch="slider-touch" />
2855 <action function="overlay"></action>
2856 </object>
2857
2858 <object type="text" color="%text_color%">
2859 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002860 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <text>Swipe to Unlock</text>
2862 </object>
2863 </page>
2864
2865 <page name="filemanagerlist">
2866 <object type="template" name="header" />
2867
2868 <object type="text" color="%text_color%">
2869 <font resource="font" />
2870 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2871 <text>File Manager: Select a File or Folder</text>
2872 </object>
2873
2874 <object type="fileselector">
2875 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2876 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2877 <text>%tw_file_location1%</text>
2878 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2879 <sort name="tw_gui_sort_order" />
2880 <icon folder="folder_icon" file="file_icon" />
2881 <background color="%fileselector_background%" />
2882 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2883 <folders="1" files="1" />
2884 <path name="tw_file_location1" default="/" />
2885 <data name="tw_filename1" />
2886 <selection name="tw_selection1" />
2887 </object>
2888
2889 <object type="template" name="sort_options" />
2890
2891 <object type="action">
2892 <actions>
2893 <action function="set">tw_fm_type=File</action>
2894 <action function="set">tw_fm_isfolder=0</action>
2895 </actions>
2896 </object>
2897
2898 <object type="action">
2899 <touch key="home" />
2900 <action function="page">main</action>
2901 </object>
2902
2903 <object type="action">
2904 <touch key="back" />
2905 <action function="page">advanced</action>
2906 </object>
2907
2908 <object type="action">
2909 <condition var1="tw_filename1" op="modified" />
2910 <actions>
2911 <action function="page">filemanageroptions</action>
2912 </actions>
2913 </object>
2914
2915 <object type="button">
2916 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>Select</text>
2919 <image resource="medium_button" />
2920 <actions>
2921 <action function="set">tw_filename1=tw_file_location1</action>
2922 <action function="set">tw_fm_isfolder=1</action>
2923 <action function="set">tw_fm_type=Folder</action>
2924 <action function="page">filemanageroptions</action>
2925 </actions>
2926 </object>
2927
2928 <object type="template" name="footer" />
2929 </page>
2930
2931 <page name="filemanageroptions">
2932 <object type="template" name="header" />
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2937 <text>%tw_fm_type% Selected:</text>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2943 <text>%tw_filename1%</text>
2944 </object>
2945
2946 <object type="button">
2947 <condition var1="tw_fm_isfolder" var2="0" />
2948 <placement x="%col1_x%" y="%row2_y%" />
2949 <font resource="font" color="%button_text_color%" />
2950 <text>Copy File</text>
2951 <image resource="main_button" />
2952 <actions>
2953 <action function="set">tw_filemanager_command=cp</action>
2954 <action function="set">tw_fm_text1=Copying</action>
2955 <action function="page">choosedestinationfolder</action>
2956 </actions>
2957 </object>
2958
2959 <object type="button">
2960 <condition var1="tw_fm_isfolder" var2="1" />
2961 <placement x="%col1_x%" y="%row2_y%" />
2962 <font resource="font" color="%button_text_color%" />
2963 <text>Copy Folder</text>
2964 <image resource="main_button" />
2965 <actions>
2966 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2967 <action function="set">tw_fm_text1=Copying</action>
2968 <action function="page">choosedestinationfolder</action>
2969 </actions>
2970 </object>
2971
2972 <object type="button">
2973 <placement x="%col2_x%" y="%row2_y%" />
2974 <font resource="font" color="%button_text_color%" />
2975 <text>Move</text>
2976 <image resource="main_button" />
2977 <actions>
2978 <action function="set">tw_filemanager_command=mv</action>
2979 <action function="set">tw_fm_text1=Moving</action>
2980 <action function="page">choosedestinationfolder</action>
2981 </actions>
2982 </object>
2983
2984 <object type="button">
2985 <placement x="%col1_x%" y="%row3_y%" />
2986 <font resource="font" color="%button_text_color%" />
2987 <text>chmod 755</text>
2988 <image resource="main_button" />
2989 <actions>
2990 <action function="set">tw_filemanager_command=chmod 755</action>
2991 <action function="set">tw_fm_text1=chmod 755</action>
2992 <action function="set">tw_fm_text2=</action>
2993 <action function="set">tw_fm_text3=</action>
2994 <action function="set">tw_include_text3=0</action>
2995 <action function="set">tw_back=filemanageroptions</action>
2996 <action function="page">filemanagerconfirm</action>
2997 </actions>
2998 </object>
2999
3000 <object type="button">
3001 <placement x="%col2_x%" y="%row3_y%" />
3002 <font resource="font" color="%button_text_color%" />
3003 <text>chmod</text>
3004 <image resource="main_button" />
3005 <actions>
3006 <action function="set">tw_filemanager_rename=0000</action>
3007 <action function="set">tw_fm_text2=</action>
3008 <action function="set">tw_fm_text3=</action>
3009 <action function="set">tw_include_text3=0</action>
3010 <action function="set">tw_back=filemanageroptions</action>
3011 <action function="page">filemanagerchmod</action>
3012 </actions>
3013 </object>
3014
3015 <object type="button">
3016 <placement x="%col1_x%" y="%row4_y%" />
3017 <font resource="font" color="%button_text_color%" />
3018 <text>Delete</text>
3019 <image resource="main_button" />
3020 <actions>
3021 <action function="set">tw_filemanager_command=rm -rf</action>
3022 <action function="set">tw_fm_text1=Deleting</action>
3023 <action function="set">tw_fm_text2=</action>
3024 <action function="set">tw_fm_text3=</action>
3025 <action function="set">tw_include_text3=0</action>
3026 <action function="set">tw_back=filemanageroptions</action>
3027 <action function="page">filemanagerconfirm</action>
3028 </actions>
3029 </object>
3030
3031 <object type="button">
3032 <condition var1="tw_fm_isfolder" var2="0" />
3033 <placement x="%col2_x%" y="%row4_y%" />
3034 <font resource="font" color="%button_text_color%" />
3035 <text>Rename File</text>
3036 <image resource="main_button" />
3037 <actions>
3038 <action function="set">tw_filemanager_rename=tw_selection1</action>
3039 <action function="set">tw_fm_text1=Renaming</action>
3040 <action function="set">tw_filemanager_command=mv</action>
3041 <action function="page">filemanagerrenamefile</action>
3042 </actions>
3043 </object>
3044
3045 <object type="button">
3046 <condition var1="tw_fm_isfolder" var2="1" />
3047 <placement x="%col2_x%" y="%row4_y%" />
3048 <font resource="font" color="%button_text_color%" />
3049 <text>Rename Folder</text>
3050 <image resource="main_button" />
3051 <actions>
3052 <action function="set">tw_filemanager_rename=tw_selection1</action>
3053 <action function="set">tw_fm_text1=Renaming</action>
3054 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3055 <action function="page">filemanagerrenamefolder</action>
3056 </actions>
3057 </object>
3058
3059 <object type="action">
3060 <touch key="home" />
3061 <action function="page">main</action>
3062 </object>
3063
3064 <object type="action">
3065 <touch key="back" />
3066 <action function="page">filemanagerlist</action>
3067 </object>
3068
3069 <object type="template" name="footer" />
3070 </page>
3071
3072 <page name="choosedestinationfolder">
3073 <object type="template" name="header" />
3074
3075 <object type="text" color="%text_color%">
3076 <font resource="font" />
3077 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3078 <text>Browse to Destination Folder & Press Select</text>
3079 </object>
3080
3081 <object type="fileselector">
3082 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3083 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3084 <text>%tw_file_location2%</text>
3085 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3086 <sort name="tw_gui_sort_order" />
3087 <icon folder="folder_icon" file="file_icon" />
3088 <background color="%fileselector_background%" />
3089 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3090 <filter folders="1" files="0" />
3091 <path name="tw_file_location2" default="/" />
3092 <data name="tw_filename2" />
3093 <selection name="tw_selection2" />
3094 </object>
3095
3096 <object type="template" name="sort_options" />
3097
3098 <object type="action">
3099 <touch key="home" />
3100 <action function="page">main</action>
3101 </object>
3102
3103 <object type="action">
3104 <touch key="back" />
3105 <action function="page">filemanageroptions</action>
3106 </object>
3107
3108 <object type="button">
3109 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3110 <font resource="font" color="%button_text_color%" />
3111 <text>Select</text>
3112 <image resource="medium_button" />
3113 <actions>
3114 <action function="set">tw_fm_text2=to</action>
3115 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3116 <action function="set">tw_include_text3=1</action>
3117 <action function="set">tw_back=filemanageroptions</action>
3118 <action function="page">filemanagerconfirm</action>
3119 </actions>
3120 </object>
3121
3122 <object type="template" name="footer" />
3123 </page>
3124
3125 <page name="filemanagerrenamefile">
3126 <object type="template" name="header" />
3127
3128 <object type="text" color="%text_color%">
3129 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3130 <font resource="font" />
3131 <text>Please Enter a New %tw_fm_type% Name</text>
3132 </object>
3133
3134 <object type="input">
3135 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3136 <background color="%input_background_color%" />
3137 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3138 <font resource="font" color="%text_color%" />
3139 <text>%tw_filemanager_rename%</text>
3140 <data name="tw_filemanager_rename" />
3141 <restrict minlen="1" maxlen="128" />
3142 <actions>
3143 <action function="set">tw_fm_text2=to</action>
3144 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3145 <action function="set">tw_include_text3=1</action>
3146 <action function="set">tw_back=filemanageroptions</action>
3147 <action function="page">filemanagerconfirm</action>
3148 </actions>
3149 </object>
3150
3151 <object type="button">
3152 <placement x="%col_center_x%" y="%row2_y%" />
3153 <font resource="font" color="%button_text_color%" />
3154 <text>Cancel</text>
3155 <image resource="main_button" />
3156 <action function="page">filemanageroptions</action>
3157 </object>
3158
3159 <object type="template" name="keyboardtemplate" />
3160
3161 <object type="action">
3162 <touch key="home" />
3163 <action function="page">main</action>
3164 </object>
3165
3166 <object type="action">
3167 <touch key="back" />
3168 <action function="page">filemanageroptions</action>
3169 </object>
3170
3171 <object type="template" name="footer" />
3172 </page>
3173
3174 <page name="filemanagerrenamefolder">
3175 <object type="template" name="header" />
3176
3177 <object type="text" color="%text_color%">
3178 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3179 <font resource="font" />
3180 <text>Please Enter a New %tw_fm_type% Name</text>
3181 </object>
3182
3183 <object type="input">
3184 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3185 <background color="%input_background_color%" />
3186 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3187 <font resource="font" color="%text_color%" />
3188 <text>%tw_filemanager_rename%</text>
3189 <data name="tw_filemanager_rename" />
3190 <restrict minlen="1" maxlen="128" />
3191 <actions>
3192 <action function="set">tw_fm_text2=to</action>
3193 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3194 <action function="set">tw_include_text3=1</action>
3195 <action function="set">tw_back=filemanageroptions</action>
3196 <action function="page">filemanagerconfirm</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
3201 <placement x="%col_center_x%" y="%row2_y%" />
3202 <font resource="font" color="%button_text_color%" />
3203 <text>Cancel</text>
3204 <image resource="main_button" />
3205 <action function="page">filemanageroptions</action>
3206 </object>
3207
3208 <object type="template" name="keyboardtemplate" />
3209
3210 <object type="action">
3211 <touch key="home" />
3212 <action function="page">main</action>
3213 </object>
3214
3215 <object type="action">
3216 <touch key="back" />
3217 <action function="page">filemanageroptions</action>
3218 </object>
3219
3220 <object type="template" name="footer" />
3221 </page>
3222
3223 <page name="filemanagerchmod">
3224 <object type="template" name="header" />
3225
3226 <object type="text" color="%text_color%">
3227 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3228 <font resource="font" />
3229 <text>Please Enter New Permissions</text>
3230 </object>
3231
3232 <object type="input">
3233 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3234 <background color="%input_background_color%" />
3235 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3236 <font resource="font" color="%text_color%" />
3237 <text>%tw_filemanager_rename%</text>
3238 <data name="tw_filemanager_rename" />
3239 <restrict minlen="3" maxlen="4" allow="0123456789" />
3240 <actions>
3241 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3242 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3243 <action function="set">tw_back=filemanageroptions</action>
3244 <action function="page">filemanagerconfirm</action>
3245 </actions>
3246 </object>
3247
3248 <object type="button">
3249 <placement x="%col_center_x%" y="%row2_y%" />
3250 <font resource="font" color="%button_text_color%" />
3251 <text>Cancel</text>
3252 <image resource="main_button" />
3253 <action function="page">filemanageroptions</action>
3254 </object>
3255
3256 <object type="template" name="keyboardtemplate" />
3257
3258 <object type="action">
3259 <touch key="home" />
3260 <action function="page">main</action>
3261 </object>
3262
3263 <object type="action">
3264 <touch key="back" />
3265 <action function="page">filemanageroptions</action>
3266 </object>
3267
3268 <object type="template" name="footer" />
3269 </page>
3270
3271 <page name="filemanagerconfirm">
3272 <object type="template" name="header" />
3273
3274 <object type="text" color="%text_color%">
3275 <font resource="font" />
3276 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3277 <text>%tw_fm_text1%</text>
3278 </object>
3279
3280 <object type="text" color="%text_color%">
3281 <font resource="font" />
3282 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3283 <text>%tw_filename1%</text>
3284 </object>
3285
3286 <object type="text" color="%text_color%">
3287 <font resource="font" />
3288 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3289 <text>%tw_fm_text2%</text>
3290 </object>
3291
3292 <object type="text" color="%text_color%">
3293 <font resource="font" />
3294 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3295 <text>%tw_fm_text3%</text>
3296 </object>
3297
3298 <object type="text" color="%text_color%">
3299 <font resource="font" />
3300 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3301 <text>Press back button to cancel.</text>
3302 </object>
3303
3304 <object type="slider">
3305 <placement x="%slider_x%" y="%slider_y%" />
3306 <resource base="slider" used="slider-used" touch="slider-touch" />
3307 <action function="page">filemanageracction</action>
3308 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003309
Dees_Troy51a0e822012-09-05 15:24:24 -04003310 <object type="text" color="%text_color%">
3311 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003312 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003313 <text>Swipe to Confirm</text>
3314 </object>
3315
3316 <object type="action">
3317 <touch key="back" />
3318 <action function="page">%tw_back%</action>
3319 </object>
3320
3321 <object type="action">
3322 <touch key="home" />
3323 <action function="page">main</action>
3324 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003325
Dees_Troy51a0e822012-09-05 15:24:24 -04003326 <object type="template" name="footer" />
3327 </page>
3328
3329 <page name="filemanageracction">
3330 <object type="template" name="header" />
3331
3332 <object type="text" color="%text_color%">
3333
3334 <font resource="font" />
3335 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3336 <text>%tw_fm_text1%</text>
3337 </object>
3338
3339 <object type="template" name="action_page_console" />
3340
3341 <object type="template" name="progress_bar" />
3342
3343 <object type="action">
3344 <conditions>
3345 <condition var1="tw_operation_state" var2="1" />
3346 <condition var1="tw_operation_status" var2="0" />
3347 </conditions>
3348 <actions>
3349 <action function="set">tw_back=filemanagerlist</action>
3350 <action function="set">tw_complete_text1=File Operation Complete</action>
3351 <action function="page">action_complete</action>
3352 </actions>
3353 </object>
3354
3355 <object type="action">
3356 <conditions>
3357 <condition var1="tw_operation_state" var2="1" />
3358 <condition var1="tw_operation_status" op="!=" var2="0" />
3359 </conditions>
3360 <actions>
3361 <action function="set">tw_complete_text1=File Operation Complete</action>
3362 <action function="page">action_complete</action>
3363 </actions>
3364 </object>
3365
3366 <object type="action">
3367 <condition var1="tw_include_text3" var2="0" />
3368 <actions>
3369 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3370 </actions>
3371 </object>
3372
3373 <object type="action">
3374 <condition var1="tw_include_text3" var2="1" />
3375 <actions>
3376 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3377 </actions>
3378 </object>
3379 </page>
3380
3381 <page name="decrypt">
3382 <object type="template" name="header" />
3383
3384 <object type="text" color="%text_color%">
3385 <font resource="font" />
3386 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3387 <text>Please Enter Your Password</text>
3388 </object>
3389
3390 <object type="input">
3391 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3392 <background color="%input_background_color%" />
3393 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3394 <font resource="font" color="%text_color%" />
3395 <text>%tw_crypto_display%</text>
3396 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3397 <restrict minlen="1" maxlen="254" />
3398 <actions>
3399 <action function="page">trydecrypt</action>
3400 </actions>
3401 </object>
3402
3403 <object type="text" color="%text_fail_color%">
3404 <condition var1="tw_password_fail" var2="1" />
3405 <font resource="font" />
3406 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3407 <text>Password Failed, Please Try Again</text>
3408 </object>
3409
3410 <object type="button">
3411 <placement x="%col_center_x%" y="%row2_y%" />
3412 <font resource="font" color="%button_text_color%" />
3413 <text>Cancel</text>
3414 <image resource="main_button" />
3415 <actions>
3416 <action function="page">main</action>
3417 </actions>
3418 </object>
3419
3420 <object type="template" name="keyboardtemplate" />
3421
3422 <object type="action">
3423 <touch key="home" />
3424 <actions>
3425 <action function="page">main</action>
3426 </actions>
3427 </object>
3428
3429 <object type="action">
3430 <touch key="back" />
3431 <actions>
3432 <action function="page">main</action>
3433 </actions>
3434 </object>
3435
3436 <object type="template" name="footer" />
3437 </page>
3438
3439 <page name="trydecrypt">
3440 <object type="template" name="header" />
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3445 <text>Trying Decryption with Your Password</text>
3446 </object>
3447
3448 <object type="template" name="action_page_console" />
3449
3450 <object type="template" name="progress_bar" />
3451
3452 <object type="action">
3453 <action function="decrypt"></action>
3454 </object>
3455
3456 <object type="action">
3457 <conditions>
3458 <condition var1="tw_operation_state" var2="1" />
3459 <condition var1="tw_operation_status" op="!=" var2="0" />
3460 </conditions>
3461 <actions>
3462 <action function="set">tw_password_fail=1</action>
3463 <action function="page">decrypt</action>
3464 </actions>
3465 </object>
3466
3467 <object type="action">
3468 <conditions>
3469 <condition var1="tw_operation_state" var2="1" />
3470 <condition var1="tw_operation_status" op="=" var2="0" />
3471 </conditions>
3472 <action function="page">main</action>
3473 </object>
3474 </page>
3475
3476 <page name="terminalfolder">
3477 <object type="template" name="header" />
3478
3479 <object type="text" color="%text_color%">
3480 <font resource="font" />
3481 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3482 <text>Browse to Starting Folder</text>
3483 </object>
3484
3485 <object type="fileselector">
3486 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3487 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3488 <text>%tw_terminal_location%</text>
3489 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3490 <sort name="tw_gui_sort_order" />
3491 <icon folder="folder_icon" file="file_icon" />
3492 <background color="%fileselector_background%" />
3493 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3494 <filter folders="1" files="0" />
3495 <path name="tw_terminal_location" default="/" />
3496 <data name="tw_terminal" />
3497 <selection name="tw_terminal_selection" />
3498 </object>
3499
3500 <object type="template" name="sort_options" />
3501
3502 <object type="action">
3503 <touch key="home" />
3504 <action function="page">main</action>
3505 </object>
3506
3507 <object type="action">
3508 <touch key="back" />
3509 <action function="page">advanced</action>
3510 </object>
3511
3512 <object type="button">
3513 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3514 <font resource="font" color="%button_text_color%" />
3515 <text>Select</text>
3516 <image resource="medium_button" />
3517 <actions>
3518 <action function="page">terminalcommand</action>
3519 </actions>
3520 </object>
3521
3522 <object type="template" name="footer" />
3523 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003524
Dees_Troy51a0e822012-09-05 15:24:24 -04003525 <page name="terminalcommand">
3526 <object type="template" name="header" />
3527
3528 <object type="console">
3529 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3530 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3531 <font resource="fixed" />
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3536 <font resource="font" />
3537 <text>Starting Path: %tw_terminal_location%</text>
3538 </object>
3539
3540 <object type="input">
3541 <condition var1="tw_terminal_state" var2="0" />
3542 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3543 <background color="%input_background_color%" />
3544 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3545 <font resource="font" color="%text_color%" />
3546 <text>%tw_terminal_command%</text>
3547 <data name="tw_terminal_command" />
3548 <restrict minlen="1" />
3549 <action function="terminalcommand">%tw_terminal_command%</action>
3550 </object>
3551
3552 <object type="button">
3553 <condition var1="tw_terminal_state" var2="1" />
3554 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3555 <font resource="font" color="%button_text_color%" />
3556 <text>KILL</text>
3557 <image resource="medium_button" />
3558 <action function="killterminal"></action>
3559 </object>
3560
3561 <object type="template" name="keyboardtemplate" />
3562
3563 <object type="action">
3564 <touch key="home" />
3565 <action function="page">main</action>
3566 </object>
3567
3568 <object type="action">
3569 <touch key="back" />
3570 <action function="page">terminalfolder</action>
3571 </object>
3572 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003573 </pages>
3574</recovery>