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