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