blob: 9d6abf9a840abe55f314c75d37cec1d082c17ecb [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="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="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
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="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040044 <resource name="exclamation" type="image" filename="exclamation150" />
Dees_Troy51a0e822012-09-05 15:24:24 -040045 </resources>
46
47 <variables>
48 <variable name="col1_x" value="23" />
49 <variable name="col2_x" value="210" />
50 <variable name="col3_x" value="410" />
51 <variable name="col4_x" value="610" />
52 <variable name="row1_y" value="90" />
53 <variable name="row2_y" value="340" />
54 <variable name="col_center_x" value="310" />
55 <variable name="center_x" value="400" />
56 <variable name="screen_width" value="800" />
57 <variable name="screen_height" value="480" />
58 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040059 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040060 <variable name="col1_medium_x" value="120" />
61 <variable name="col2_medium_x" value="250" />
62 <variable name="col3_medium_x" value="380" />
63 <variable name="col4_medium_x" value="510" />
64 <variable name="row1_medium_y" value="105" />
65 <variable name="row2_medium_y" value="175" />
66 <variable name="row3_medium_y" value="245" />
67 <variable name="row4_medium_y" value="220" />
68 <variable name="row5_medium_y" value="320" />
69 <variable name="row1_text_y" value="58" />
70 <variable name="row2_text_y" value="78" />
71 <variable name="row3_text_y" value="100" />
72 <variable name="row4_text_y" value="120" />
73 <variable name="row5_text_y" value="140" />
74 <variable name="row6_text_y" value="160" />
75 <variable name="row7_text_y" value="180" />
76 <variable name="row8_text_y" value="200" />
77 <variable name="row9_text_y" value="220" />
78 <variable name="row10_text_y" value="240" />
79 <variable name="row11_text_y" value="260" />
80 <variable name="row12_text_y" value="280" />
81 <variable name="row13_text_y" value="300" />
82 <variable name="row14_text_y" value="320" />
83 <variable name="row15_text_y" value="340" />
84 <variable name="row16_text_y" value="360" />
85 <variable name="row17_text_y" value="380" />
86 <variable name="row18_text_y" value="400" />
87 <variable name="row_offsetmedium_y" value="320" />
88 <variable name="home_button_x" value="589" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="659" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="729" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="23" />
95 <variable name="nandcheck_col2" value="360" />
96 <variable name="nandcheck_row1" value="130" />
97 <variable name="nandcheck_row2" value="160" />
98 <variable name="nandcheck_row3" value="190" />
99 <variable name="nandcheck_row4" value="220" />
100 <variable name="nandcheck_row5" value="250" />
101 <variable name="nandcheck_row6" value="280" />
102 <variable name="nandcheck_row7" value="310" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#A0A0A0" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600107 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400108 <variable name="slider_x" value="225" />
109 <variable name="slider_y" value="390" />
110 <variable name="slider_text_y" value="425" />
111 <variable name="sort_text_x" value="170" />
112 <variable name="sort_asc_text_y" value="418" />
113 <variable name="sort_asc_button_y" value="413" />
114 <variable name="sort_desc_text_y" value="452" />
115 <variable name="sort_desc_button_y" value="447" />
116 <variable name="sort_col1_button_x" value="300" />
117 <variable name="sort_col2_button_x" value="370" />
118 <variable name="sort_col3_button_x" value="440" />
119 <variable name="col1_sdext_x" value="265" />
120 <variable name="col2_sdext_x" value="475" />
121 <variable name="row1_sdext_y" value="85" />
122 <variable name="row2_sdext_y" value="150" />
123 <variable name="row_extsize_y" value="85" />
124 <variable name="row_swapsize_y" value="150" />
125 <variable name="input_x" value="28" />
126 <variable name="input_width" value="720" />
127 <variable name="input_height" value="25" />
128 <variable name="input_background_color" value="#303030" />
129 <variable name="input_cursor_color" value="#33B5E5" />
130 <variable name="input_cursor_width" value="2" />
131 <variable name="console_x" value="25" />
132 <variable name="console_width" value="750" />
133 <variable name="console_foreground" value="#A0A0A0" />
134 <variable name="console_background" value="#303030" />
135 <variable name="console_scroll" value="#303030" />
136 <variable name="console_action_height" value="230" />
137 <variable name="console_install_height" value="260" />
138 <variable name="console_installdone_height" value="260" />
139 <variable name="fileselector_folder_x" value="28" />
140 <variable name="fileselector_folder_width" value="248" />
141 <variable name="fileselector_folderonly_width" value="460" />
142 <variable name="fileselector_file_x" value="278" />
143 <variable name="fileselector_file_width" value="506" />
144 <variable name="fileselector_install_y" value="120" />
145 <variable name="fileselector_install_height" value="290" />
146 <variable name="fileselector_header_background" value="#202020" />
147 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
148 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
149 <variable name="fileselector_header_separatorheight" value="2" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="1" />
152 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600153 <variable name="fileselector_highlight_color" value="#505050" />
154 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="fileselector_spacing" value="12" />
156 <variable name="zipstorage_text_y" value="88" />
157 <variable name="listbox_x" value="156" />
158 <variable name="listbox_y" value="90" />
159 <variable name="listbox_width" value="460" />
160 <variable name="listbox_tz_height" value="170" />
161 <variable name="listbox_background" value="#303030" />
162 <variable name="listbox_spacing" value="12" />
163 <variable name="sd_plus_x" value="280" />
164 <variable name="lock_x" value="250" />
165 <variable name="lock_y" value="90" />
166 <variable name="filemanager_select_x" value="610" />
167 <variable name="filemanager_select_y" value="413" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="195" />
170 <variable name="col_right_x" value="772" />
171 <variable name="cancel_button_y" value="180" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="240" />
174 <variable name="terminal_text_y" value="247" />
175 <variable name="terminal_button_y" value="237" />
176 <variable name="terminal_input_width" value="551" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="325" />
178 <variable name="exclamation_y" value="120" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400179 </variables>
180
181 <templates>
182 <template name="header">
183 <background color="#000000FF" />
184
185 <object type="image">
186 <image resource="side" />
187 <placement x="0" y="0" />
188 </object>
189
190 <object type="image">
191 <image resource="side" />
192 <placement x="770" y="0" />
193 </object>
194
195 <object type="image">
196 <image resource="base" />
197 <placement x="0" y="0" />
198 </object>
199
200 <object type="image">
201 <image resource="bottom" />
202 <placement x="1" y="450" />
203 </object>
204
205 <object type="image">
206 <image resource="large_black" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="250" y="2" />
213 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="37" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery Level: %tw_battery%</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="450" y="37" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <condition var1="tw_simulate_actions" var2="1" />
235 <font resource="font" />
236 <placement x="250" y="20" />
237 <text>SIMULATING ACTIONS</text>
238 </object>
239
240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400242 <placement x="%home_button_x%" y="%home_button_y%" />
243 <font resource="font" color="%button_text_color%" />
244 <text></text>
245 <image resource="home_icon" />
246 <condition var1="tw_busy" var2="0" />
247 <action function="key">home</action>
248 </object>
249
250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400252 <placement x="%back_button_x%" y="%back_button_y%" />
253 <font resource="font" color="%button_text_color%" />
254 <text></text>
255 <image resource="back_icon" />
256 <condition var1="tw_busy" var2="0" />
257 <action function="key">back</action>
258 </object>
259
260 <object type="action">
261 <touch key="power" />
262 <action function="overlay">lock</action>
263 </object>
264 </template>
265
266 <template name="progress_bar">
267 <object type="progressbar">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource empty="progress_empty" full="progress_full" />
270 <data name="ui_progress" />
271 </object>
272
273 <object type="animation">
274 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
275 <resource name="progress" />
276 <speed fps="15" render="2" />
277 <loop frame="1" />
278 </object>
279 </template>
280
281 <template name="sort_options">
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
285 <text>Sort Ascending:</text>
286 </object>
287
288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400290 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
291 <font resource="font" color="%button_text_color%" />
292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=1</action>
295 </object>
296
297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400299 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
300 <font resource="font" color="%button_text_color%" />
301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=2</action>
304 </object>
305
306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400308 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
309 <font resource="font" color="%button_text_color%" />
310 <text>Size</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=3</action>
313 </object>
314
315 <object type="text" color="%text_color%">
316 <font resource="font" />
317 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
318 <text>Sort Descending:</text>
319 </object>
320
321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400323 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Name</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=-1</action>
328 </object>
329
330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600340 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400341 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
342 <font resource="font" color="%button_text_color%" />
343 <text>Size</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=-3</action>
346 </object>
347 </template>
348
349 <template name="flash_zip_console">
350 <object type="console">
351 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="action_page_console">
358 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400359 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400360 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
361 <font resource="fixed" />
362 </object>
363 </template>
364
365 <template name="footer">
366 <object type="console">
367 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
368 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
369 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
370 <font resource="fixed" />
371 </object>
372 </template>
373
374 <template name="keyboardtemplate">
375 <object type="keyboard">
376 <placement x="0" y="277" />
377 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400379 <layout1>
380 <keysize height="51" width="73" />
381 <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" key11="70:c:8" />
382 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
383 <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
384 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
385 </layout1>
386 <layout2>
387 <keysize height="51" width="73" />
388 <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" key11="70:c:8" />
389 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
390 <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
391 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
392 </layout2>
393 <layout3>
394 <keysize height="51" width="73" />
395 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
396 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
397 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
398 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
399 </layout3>
400 <layout4>
401 <keysize height="51" width="73" />
402 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
403 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
404 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
405 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
406 </layout4>
407 </object>
408 </template>
409 </templates>
410
411 <pages>
412 <page name="main">
413 <object type="action">
414 <actions>
415 <action function="set">tw_clear_destination=main2</action>
416 <action function="page">clear_vars</action>
417 </actions>
418 </object>
419 </page>
420
421 <page name="main2">
422 <object type="template" name="header" />
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row1_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Install</text>
429 <image resource="main_button" />
430 <actions>
431 <action function="queueclear"></action>
432 <action function="page">install</action>
433 </actions>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col2_x%" y="%row1_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Backup</text>
441 <image resource="main_button" />
442 <action function="page">backup</action>
443 </object>
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col3_x%" y="%row1_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Restore</text>
450 <image resource="main_button" />
451 <action function="page">restore</action>
452 </object>
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col4_x%" y="%row1_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Wipe</text>
459 <image resource="main_button" />
460 <action function="page">wipe</action>
461 </object>
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col1_x%" y="%row2_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Mount</text>
468 <image resource="main_button" />
469 <action function="page">mount</action>
470 </object>
471
472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <placement x="%col2_x%" y="%row2_y%" />
475 <font resource="font" color="%button_text_color%" />
476 <text>Settings</text>
477 <image resource="main_button" />
478 <action function="page">settings</action>
479 </object>
480
481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400483 <placement x="%col3_x%" y="%row2_y%" />
484 <font resource="font" color="%button_text_color%" />
485 <text>Advanced</text>
486 <image resource="main_button" />
487 <action function="page">advanced</action>
488 </object>
489
490 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600491 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400492 <placement x="%col4_x%" y="%row2_y%" />
493 <font resource="font" color="%button_text_color%" />
494 <text>Reboot</text>
495 <image resource="main_button" />
496 <action function="page">reboot</action>
497 </object>
498
499 <object type="template" name="footer" />
500 </page>
501
502 <page name="install">
503 <object type="template" name="header" />
504
505 <object type="text" color="%text_color%">
506 <font resource="font" />
507 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
508 <text>Select Zip to Install</text>
509 </object>
510
511 <object type="button">
512 <placement x="%col2_x%" y="%zipstorage_text_y%" />
513 <font resource="font" color="%text_color%" />
514 <conditions>
515 <condition var1="tw_has_dual_storage" var2="1" />
516 <condition var1="tw_use_external_storage" var2="1" />
517 </conditions>
518 <text>Using external SD</text>
519 <image resource="radio_true" />
520 <action function="togglestorage">external</action>
521 </object>
522
523 <object type="button">
524 <placement x="%col2_x%" y="%zipstorage_text_y%" />
525 <font resource="font" color="%text_color%" />
526 <conditions>
527 <condition var1="tw_has_dual_storage" var2="1" />
528 <condition var1="tw_use_external_storage" var2="0" />
529 </conditions>
530 <text>Using external SD</text>
531 <image resource="radio_false" />
532 <action function="togglestorage">external</action>
533 </object>
534
535 <object type="button">
536 <placement x="%col3_x%" y="%zipstorage_text_y%" />
537 <font resource="font" color="%text_color%" />
538 <conditions>
539 <condition var1="tw_has_dual_storage" var2="1" />
540 <condition var1="tw_use_external_storage" var2="1" />
541 </conditions>
542 <text>Using internal storage</text>
543 <image resource="radio_false" />
544 <action function="togglestorage">internal</action>
545 </object>
546
547 <object type="button">
548 <placement x="%col3_x%" y="%zipstorage_text_y%" />
549 <font resource="font" color="%text_color%" />
550 <conditions>
551 <condition var1="tw_has_dual_storage" var2="1" />
552 <condition var1="tw_use_external_storage" var2="0" />
553 </conditions>
554 <text>Using internal storage</text>
555 <image resource="radio_true" />
556 <action function="togglestorage">internal</action>
557 </object>
558
559 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
562 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
563 <text>Folders:</text>
564 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
565 <sort name="tw_gui_sort_order" />
566 <icon folder="folder_icon" file="file_icon" />
567 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600568 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400569 <filter folders="1" files="0" />
570 <path name="tw_zip_location" default="/sdcard" />
571 <data name="select" />
572 </object>
573
574 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600575 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
577 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
578 <text>%tw_zip_location%</text>
579 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
580 <sort name="tw_gui_sort_order" />
581 <icon folder="folder_icon" file="file_icon" />
582 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600583 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <filter extn=".zip" folders="0" files="1" />
585 <path name="tw_zip_location" />
586 <data name="tw_filename" />
587 <selection name="tw_file" />
588 </object>
589
590 <object type="template" name="sort_options" />
591
592 <object type="action">
593 <condition var1="tw_filename" op="modified" />
594 <actions>
595 <action function="queuezip"></action>
596 <action function="page">flash_confirm</action>
597 </actions>
598 </object>
599
600 <object type="action">
601 <touch key="back" />
602 <action function="page">main</action>
603 </object>
604
605 <object type="action">
606 <touch key="home" />
607 <action function="page">main</action>
608 </object>
609
610 <object type="template" name="footer" />
611 </page>
612
613 <page name="flash_confirm">
614 <object type="template" name="header" />
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
618 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
619 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
625 <text>Folder:</text>
626 </object>
627
628 <object type="text" color="%text_color%">
629 <font resource="font" />
630 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
631 <text>%tw_zip_location%</text>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
637 <text>File to flash:</text>
638 </object>
639
640 <object type="text" color="%text_color%">
641 <font resource="font" />
642 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
643 <text>%tw_file%</text>
644 </object>
645
646 <object type="text" color="%text_color%">
647 <font resource="font" />
648 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
649 <text>Press back to cancel adding this zip.</text>
650 </object>
651
652 <object type="checkbox">
653 <placement x="%col2_x%" y="%row7_text_y%" />
654 <font resource="font" color="%text_color%" />
655 <text>Zip file signature verification?</text>
656 <data variable="tw_signed_zip_verify" />
657 <image checked="checkbox_true" unchecked="checkbox_false" />
658 </object>
659
660 <object type="checkbox">
661 <placement x="%col2_x%" y="%row8_text_y%" />
662 <font resource="font" color="%text_color%" />
663 <text>Force MD5 check on all zips?</text>
664 <data variable="tw_force_md5_check" />
665 <image checked="checkbox_true" unchecked="checkbox_false" />
666 </object>
667
668 <object type="text" color="%text_color%">
669 <font resource="font" />
670 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
671 <text>File %tw_zip_queue_count% of max of 10</text>
672 </object>
673
674 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600675 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400676 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
677 <placement x="%col2_x%" y="%row5_medium_y%" />
678 <font resource="font" color="%button_text_color%" />
679 <text>Add More Zips</text>
680 <image resource="mediumwide_button" />
681 <action function="page">install</action>
682 </object>
683
684 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600685 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400686 <placement x="%col3_x%" y="%row5_medium_y%" />
687 <font resource="font" color="%button_text_color%" />
688 <text>Clear Queue</text>
689 <image resource="mediumwide_button" />
690 <actions>
691 <action function="queueclear"></action>
692 <action function="page">install</action>
693 </actions>
694 </object>
695
696 <object type="slider">
697 <placement x="%slider_x%" y="%slider_y%" />
698 <resource base="slider" used="slider-used" touch="slider-touch" />
699 <action function="flash">flash_zip</action>
700 </object>
701
702 <object type="text" color="%text_color%">
703 <font resource="font" />
704 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
705 <text>Swipe to Confirm Flash</text>
706 </object>
707
708 <object type="action">
709 <touch key="back" />
710 <actions>
711 <action function="cancelzip"></action>
712 <action function="page">install</action>
713 </actions>
714 </object>
715
716 <object type="action">
717 <touch key="home" />
718 <action function="page">main</action>
719 </object>
720
721 <object type="template" name="footer" />
722 </page>
723
724 <page name="flash_zip">
725 <object type="template" name="header" />
726
727 <object type="template" name="flash_zip_console" />
728
729 <object type="text" color="%text_color%">
730 <font resource="font" />
731 <placement x="%col1_x%" y="%row16_text_y%" />
732 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
733 </object>
734
735 <object type="text" color="%text_color%">
736 <font resource="font" />
737 <placement x="%col1_x%" y="%row17_text_y%" />
738 <text>%tw_filename%</text>
739 </object>
740
741 <object type="template" name="progress_bar" />
742
743 <object type="action">
744 <condition var1="tw_operation_state" var2="1" />
745 <action function="page">flash_done</action>
746 </object>
747 </page>
748
749 <page name="flash_done">
750 <object type="template" name="header" />
751
752 <object type="template" name="flash_zip_console" />
753
754 <object type="text" color="%text_fail_color%">
755 <condition var1="tw_operation_status" op="!=" var2="0" />
756 <font resource="font" />
757 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
758 <text>Failed</text>
759 </object>
760
761 <object type="text" color="%text_success_color%">
762 <condition var1="tw_operation_status" var2="0" />
763 <font resource="font" />
764 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
765 <text>Successful</text>
766 </object>
767
768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400770 <placement x="%col1_x%" y="%slider_y%" />
771 <font resource="font" color="%button_text_color%" />
772 <text>Wipe Cache/Dalvik</text>
773 <image resource="main_button" />
774 <actions>
775 <action function="set">tw_back=flash_done</action>
776 <action function="set">tw_action=wipe</action>
777 <action function="set">tw_action_param=/cache</action>
778 <action function="set">tw_has_action2=1</action>
779 <action function="set">tw_action2=wipe</action>
780 <action function="set">tw_action2_param=dalvik</action>
781 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
782 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
783 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
784 <action function="set">tw_slider_text=Swipe to Wipe</action>
785 <action function="page">confirm_action</action>
786 </actions>
787 </object>
788
789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400791 <condition var1="tw_reboot_system" var2="1" />
792 <placement x="%col4_x%" y="%slider_y%" />
793 <font resource="font" color="%button_text_color%" />
794 <text>Reboot System</text>
795 <image resource="main_button" />
796 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400797 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400798 <action function="set">tw_action=reboot</action>
799 <action function="set">tw_action_param=system</action>
800 <action function="set">tw_has_action2=0</action>
801 <action function="set">tw_text1=No OS Installed! Are you</action>
802 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400803 <action function="set">tw_text3=</action>
804 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400805 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400806 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400807 <action function="set">tw_complete_text1=Rebooting...</action>
808 <action function="set">tw_slider_text=Swipe to Reboot</action>
809 <action function="page">rebootcheck</action>
810 </actions>
811 </object>
812
813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600814 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400815 <placement x="%col_center_x%" y="%slider_y%" />
816 <font resource="font" color="%button_text_color%" />
817 <text>Home</text>
818 <image resource="main_button" />
819 <actions>
820 <action function="set">tw_clear_destination=main2</action>
821 <action function="page">clear_vars</action>
822 </actions>
823 </object>
824
825 <object type="action">
826 <touch key="back" />
827 <actions>
828 <action function="set">tw_clear_destination=install</action>
829 <action function="page">clear_vars</action>
830 </actions>
831 </object>
832
833 <object type="action">
834 <touch key="home" />
835 <actions>
836 <action function="set">tw_clear_destination=main2</action>
837 <action function="page">clear_vars</action>
838 </actions>
839 </object>
840 </page>
841
842 <page name="clear_vars">
843 <object type="action">
844 <action function="set">tw_operation_state=0</action>
845 <action function="set">tw_text1=</action>
846 <action function="set">tw_text2=</action>
847 <action function="set">tw_text3=</action>
848 <action function="set">tw_text4=</action>
849 <action function="set">tw_action_text1=</action>
850 <action function="set">tw_action_text2=</action>
851 <action function="set">tw_action_param=</action>
852 <action function="set">tw_has_action2=0</action>
853 <action function="set">tw_action2=</action>
854 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400855 <action function="set">tw_has_cancel=0</action>
856 <action function="set">tw_cancel_action=</action>
857 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400858 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400859 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <action function="page">%tw_clear_destination%</action>
861 </object>
862 </page>
863
864 <page name="confirm_action">
865 <object type="template" name="header" />
866
Dees_Troyce2fe772012-09-28 12:34:33 -0400867 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600868 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400869 <condition var1="tw_show_exclamation" var2="1" />
870 <placement x="%exclamation_x%" y="%exclamation_y%" />
871 <font resource="font" color="%button_text_color%" />
872 <text></text>
873 <image resource="exclamation" />
874 </object>
875
Dees_Troy51a0e822012-09-05 15:24:24 -0400876 <object type="text" color="%text_color%">
877 <font resource="font" />
878 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
879 <text>%tw_text1%</text>
880 </object>
881
882 <object type="text" color="%text_color%">
883 <font resource="font" />
884 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
885 <text>%tw_text2%</text>
886 </object>
887
888 <object type="text" color="%text_color%">
889 <font resource="font" />
890 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
891 <text>%tw_text3%</text>
892 </object>
893
894 <object type="text" color="%text_color%">
895 <font resource="font" />
896 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
897 <text>%tw_text4%</text>
898 </object>
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400902 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400903 <text>Press back button to cancel.</text>
904 </object>
905
906 <object type="slider">
907 <placement x="%slider_x%" y="%slider_y%" />
908 <resource base="slider" used="slider-used" touch="slider-touch" />
909 <action function="page">action_page</action>
910 </object>
911
912 <object type="text" color="%text_color%">
913 <font resource="font" />
914 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
915 <text>%tw_slider_text%</text>
916 </object>
917
918 <object type="action">
919 <touch key="back" />
920 <actions>
921 <action function="set">tw_clear_destination=%tw_back%</action>
922 <action function="page">clear_vars</action>
923 </actions>
924 </object>
925
926 <object type="action">
927 <touch key="home" />
928 <action function="page">main</action>
929 </object>
930
931 <object type="template" name="footer" />
932 </page>
933
934 <page name="action_page">
935 <object type="template" name="header" />
936
937 <object type="text" color="%text_color%">
938 <font resource="font" />
939 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
940 <text>%tw_action_text1%</text>
941 </object>
942
943 <object type="text" color="%text_color%">
944 <font resource="font" />
945 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
946 <text>%tw_action_text2%</text>
947 </object>
948
949 <object type="template" name="action_page_console" />
950
Dees_Troy2691f9d2012-09-24 11:15:49 -0400951 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600952 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400953 <condition var1="tw_has_cancel" var2="1" />
954 <placement x="%col4_x%" y="%slider_y%" />
955 <font resource="font" color="%button_text_color%" />
956 <text>Cancel</text>
957 <image resource="main_button" />
958 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
959 </object>
960
Dees_Troy51a0e822012-09-05 15:24:24 -0400961 <object type="template" name="progress_bar" />
962
963 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400964 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400965 <actions>
966 <action function="page">action_complete</action>
967 </actions>
968 </object>
969
970 <object type="action">
971 <condition var1="tw_has_action2" var2="0" />
972 <actions>
973 <action function="%tw_action%">%tw_action_param%</action>
974 </actions>
975 </object>
976
977 <object type="action">
978 <condition var1="tw_has_action2" var2="1" />
979 <actions>
980 <action function="%tw_action%">%tw_action_param%</action>
981 <action function="%tw_action2%">%tw_action2_param%</action>
982 </actions>
983 </object>
984 </page>
985
986 <page name="action_complete">
987 <object type="template" name="header" />
988
989 <object type="text" color="%text_color%">
990 <font resource="font" />
991 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
992 <text>%tw_complete_text1%</text>
993 </object>
994
995 <object type="text" color="%text_fail_color%">
996 <condition var1="tw_operation_status" op="!=" var2="0" />
997 <font resource="font" />
998 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
999 <text>Failed</text>
1000 </object>
1001
1002 <object type="text" color="%text_success_color%">
1003 <condition var1="tw_operation_status" var2="0" />
1004 <font resource="font" />
1005 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1006 <text>Successful</text>
1007 </object>
1008
1009 <object type="template" name="action_page_console" />
1010
1011 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001012 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001013 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001014 <placement x="%col_center_x%" y="%slider_y%" />
1015 <font resource="font" color="%button_text_color%" />
1016 <text>Back</text>
1017 <image resource="main_button" />
1018 <actions>
1019 <action function="set">tw_clear_destination=%tw_back%</action>
1020 <action function="page">clear_vars</action>
1021 </actions>
1022 </object>
1023
Dees_Troya3f81542012-10-08 10:58:53 -04001024 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001025 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001026 <condition var1="tw_show_reboot" var2="1" />
1027 <placement x="%col_center_x%" y="%slider_y%" />
1028 <font resource="font" color="%button_text_color%" />
1029 <text>Reboot System</text>
1030 <image resource="main_button" />
1031 <actions>
1032 <action function="set">tw_back=main2</action>
1033 <action function="set">tw_action=reboot</action>
1034 <action function="set">tw_action_param=system</action>
1035 <action function="set">tw_has_action2=0</action>
1036 <action function="set">tw_text1=No OS Installed! Are you</action>
1037 <action function="set">tw_text2=sure you wish to reboot?</action>
1038 <action function="set">tw_text3=</action>
1039 <action function="set">tw_text4=</action>
1040 <action function="set">tw_action_text1=Rebooting...</action>
1041 <action function="set">tw_action_text2=</action>
1042 <action function="set">tw_complete_text1=Rebooting...</action>
1043 <action function="set">tw_slider_text=Swipe to Reboot</action>
1044 <action function="page">rebootcheck</action>
1045 </actions>
1046 </object>
1047
Dees_Troy51a0e822012-09-05 15:24:24 -04001048 <object type="action">
1049 <touch key="home" />
1050 <actions>
1051 <action function="set">tw_clear_destination=main2</action>
1052 <action function="page">clear_vars</action>
1053 </actions>
1054 </object>
1055
1056 <object type="action">
1057 <touch key="back" />
1058 <actions>
1059 <action function="set">tw_clear_destination=%tw_back%</action>
1060 <action function="page">clear_vars</action>
1061 </actions>
1062 </object>
1063 </page>
1064
1065 <page name="filecheck">
1066 <object type="action">
1067 <action function="fileexists">%tw_filecheck%</action>
1068 </object>
1069
1070 <object type="action">
1071 <conditions>
1072 <condition var1="tw_operation_state" var2="1" />
1073 <condition var1="tw_operation_status" var2="0" />
1074 </conditions>
1075 <actions>
1076 <action function="set">tw_fileexists=1</action>
1077 <action function="page">%tw_existpage%</action>
1078 </actions>
1079 </object>
1080
1081 <object type="action">
1082 <conditions>
1083 <condition var1="tw_operation_state" var2="1" />
1084 <condition var1="tw_operation_status" var2="1" />
1085 </conditions>
1086 <actions>
1087 <action function="set">tw_fileexists=0</action>
1088 <action function="page">%tw_notexistpage%</action>
1089 </actions>
1090 </object>
1091 </page>
1092
1093 <page name="rebootcheck">
1094 <object type="action">
1095 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1096 <action function="reboot">%tw_action_param%</action>
1097 </object>
1098
1099 <object type="action">
1100 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1101 <action function="page">confirm_action</action>
1102 </object>
1103 </page>
1104
1105 <page name="reboot">
1106 <object type="template" name="header" />
1107
1108 <object type="text" color="%text_color%">
1109 <font resource="font" />
1110 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1111 <text>Reboot Menu</text>
1112 </object>
1113
1114 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001115 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001116 <condition var1="tw_reboot_system" var2="1" />
1117 <placement x="%col1_x%" y="%row1_y%" />
1118 <font resource="font" color="%button_text_color%" />
1119 <text>System</text>
1120 <image resource="main_button" />
1121 <actions>
1122 <action function="set">tw_back=reboot</action>
1123 <action function="set">tw_action=reboot</action>
1124 <action function="set">tw_action_param=system</action>
1125 <action function="set">tw_has_action2=0</action>
1126 <action function="set">tw_text1=No OS Installed! Are you</action>
1127 <action function="set">tw_text2=sure you wish to reboot?</action>
1128 <action function="set">tw_action_text1=Rebooting...</action>
1129 <action function="set">tw_complete_text1=Rebooting...</action>
1130 <action function="set">tw_slider_text=Swipe to Reboot</action>
1131 <action function="page">rebootcheck</action>
1132 </actions>
1133 </object>
1134
1135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <condition var1="tw_reboot_poweroff" var2="1" />
1138 <placement x="%col2_x%" y="%row1_y%" />
1139 <font resource="font" color="%button_text_color%" />
1140 <text>Power Off</text>
1141 <image resource="main_button" />
1142 <actions>
1143 <action function="set">tw_back=reboot</action>
1144 <action function="set">tw_action=reboot</action>
1145 <action function="set">tw_action_param=poweroff</action>
1146 <action function="set">tw_has_action2=0</action>
1147 <action function="set">tw_text1=No OS Installed! Are you</action>
1148 <action function="set">tw_text2=sure you wish to power off?</action>
1149 <action function="set">tw_action_text1=Turning Off...</action>
1150 <action function="set">tw_complete_text1=Turning Off...</action>
1151 <action function="set">tw_slider_text=Swipe to Power Off</action>
1152 <action function="page">rebootcheck</action>
1153 </actions>
1154 </object>
1155
1156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001157 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <condition var1="tw_reboot_recovery" var2="1" />
1159 <placement x="%col1_x%" y="%row2_y%" />
1160 <font resource="font" color="%button_text_color%" />
1161 <text>Recovery</text>
1162 <image resource="main_button" />
1163 <actions>
1164 <action function="set">tw_back=reboot</action>
1165 <action function="set">tw_action=reboot</action>
1166 <action function="set">tw_action_param=recovery</action>
1167 <action function="set">tw_has_action2=0</action>
1168 <action function="set">tw_text1=No OS Installed! Are you</action>
1169 <action function="set">tw_text2=sure you wish to reboot?</action>
1170 <action function="set">tw_action_text1=Rebooting...</action>
1171 <action function="set">tw_complete_text1=Rebooting...</action>
1172 <action function="set">tw_slider_text=Swipe to Reboot</action>
1173 <action function="page">rebootcheck</action>
1174 </actions>
1175 </object>
1176
1177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001179 <condition var1="tw_reboot_bootloader" var2="1" />
1180 <placement x="%col2_x%" y="%row2_y%" />
1181 <font resource="font" color="%button_text_color%" />
1182 <text>Bootloader</text>
1183 <image resource="main_button" />
1184 <actions>
1185 <action function="set">tw_back=reboot</action>
1186 <action function="set">tw_action=reboot</action>
1187 <action function="set">tw_action_param=bootloader</action>
1188 <action function="set">tw_has_action2=0</action>
1189 <action function="set">tw_text1=No OS Installed! Are you</action>
1190 <action function="set">tw_text2=sure you wish to reboot?</action>
1191 <action function="set">tw_action_text1=Rebooting...</action>
1192 <action function="set">tw_complete_text1=Rebooting...</action>
1193 <action function="set">tw_slider_text=Swipe to Reboot</action>
1194 <action function="page">rebootcheck</action>
1195 </actions>
1196 </object>
1197
1198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001199 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001200 <condition var1="tw_download_mode" var2="1" />
1201 <placement x="%col3_x%" y="%row2_y%" />
1202 <font resource="font" color="%button_text_color%" />
1203 <text>Download</text>
1204 <image resource="main_button" />
1205 <actions>
1206 <action function="set">tw_back=reboot</action>
1207 <action function="set">tw_action=reboot</action>
1208 <action function="set">tw_action_param=download</action>
1209 <action function="set">tw_has_action2=0</action>
1210 <action function="set">tw_text1=No OS Installed! Are you</action>
1211 <action function="set">tw_text2=sure you wish to reboot?</action>
1212 <action function="set">tw_action_text1=Rebooting...</action>
1213 <action function="set">tw_complete_text1=Rebooting...</action>
1214 <action function="set">tw_slider_text=Swipe to Reboot</action>
1215 <action function="page">rebootcheck</action>
1216 </actions>
1217 </object>
1218
1219 <object type="action">
1220 <touch key="home" />
1221 <action function="page">main</action>
1222 </object>
1223
1224 <object type="action">
1225 <touch key="back" />
1226 <action function="page">main</action>
1227 </object>
1228
1229 <object type="template" name="footer" />
1230 </page>
1231
1232 <page name="mount">
1233 <object type="template" name="header" />
1234
1235 <object type="text" color="%text_color%">
1236 <font resource="font" />
1237 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1238 <text>Mount Menu</text>
1239 </object>
1240
1241 <object type="button">
1242 <condition var1="tw_has_usb_storage" var2="1" />
1243 <placement x="%col1_x%" y="%row1_y%" />
1244 <font resource="font" color="%button_text_color%" />
1245 <text>Mount USB Storage</text>
1246 <image resource="main_button" />
1247 <action function="page">usb_mount</action>
1248 </object>
1249
1250 <object type="button">
1251 <placement x="%col1_x%" y="%row7_text_y%" />
1252 <font resource="font" color="%text_color%" />
1253 <condition var1="mounted" op="!=" var2="/system" />
1254 <text>Mount System</text>
1255 <image resource="checkbox_false" />
1256 <action function="mount">/system</action>
1257 </object>
1258
1259 <object type="button">
1260 <placement x="%col1_x%" y="%row7_text_y%" />
1261 <font resource="font" color="%text_color%" />
1262 <condition var1="mounted" op="=" var2="/system" />
1263 <text>Unmount System</text>
1264 <image resource="checkbox_true" />
1265 <action function="umount">/system</action>
1266 </object>
1267
1268 <object type="button">
1269 <placement x="%col1_x%" y="%row8_text_y%" />
1270 <font resource="font" color="%text_color%" />
1271 <condition var1="mounted" op="!=" var2="/data" />
1272 <text>Mount Data</text>
1273 <image resource="checkbox_false" />
1274 <action function="mount">/data</action>
1275 </object>
1276
1277 <object type="button">
1278 <placement x="%col1_x%" y="%row8_text_y%" />
1279 <font resource="font" color="%text_color%" />
1280 <condition var1="mounted" op="=" var2="/data" />
1281 <text>Unmount Data</text>
1282 <image resource="checkbox_true" />
1283 <action function="umount">/data</action>
1284 </object>
1285
1286 <object type="button">
1287 <placement x="%col1_x%" y="%row9_text_y%" />
1288 <font resource="font" color="%text_color%" />
1289 <condition var1="mounted" op="!=" var2="/cache" />
1290 <text>Mount Cache</text>
1291 <image resource="checkbox_false" />
1292 <action function="mount">/cache</action>
1293 </object>
1294
1295 <object type="button">
1296 <placement x="%col1_x%" y="%row9_text_y%" />
1297 <font resource="font" color="%text_color%" />
1298 <condition var1="mounted" op="=" var2="/cache" />
1299 <text>Unmount Cache</text>
1300 <image resource="checkbox_true" />
1301 <action function="umount">/cache</action>
1302 </object>
1303
1304 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001305 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001306 <placement x="%col1_x%" y="%row10_text_y%" />
1307 <font resource="font" color="%text_color%" />
1308 <conditions>
1309 <condition var1="tw_has_external" var2="1" />
1310 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1311 </conditions>
1312 <text>Mount SDCard</text>
1313 <image resource="checkbox_false" />
1314 <action function="mount">EXTERNAL</action>
1315 </object>
1316
1317 <object type="button">
1318 <placement x="%col1_x%" y="%row10_text_y%" />
1319 <font resource="font" color="%text_color%" />
1320 <conditions>
1321 <condition var1="tw_has_external" var2="1" />
1322 <condition var1="mounted" op="=" var2="EXTERNAL" />
1323 </conditions>
1324 <text>Unmount SDCard</text>
1325 <image resource="checkbox_true" />
1326 <action function="umount">EXTERNAL</action>
1327 </object>
1328
1329 <object type="button">
1330 <placement x="%col2_x%" y="%row10_text_y%" />
1331 <font resource="font" color="%text_color%" />
1332 <conditions>
1333 <condition var1="tw_has_internal" var2="1" />
1334 <condition var1="tw_has_data_media" var2="0" />
1335 <condition var1="mounted" op="!=" var2="INTERNAL" />
1336 </conditions>
1337 <text>Mount Internal Storage</text>
1338 <image resource="checkbox_false" />
1339 <action function="mount">INTERNAL</action>
1340 </object>
1341
1342 <object type="button">
1343 <placement x="%col2_x%" y="%row10_text_y%" />
1344 <font resource="font" color="%text_color%" />
1345 <conditions>
1346 <condition var1="tw_has_internal" var2="1" />
1347 <condition var1="tw_has_data_media" var2="0" />
1348 <condition var1="mounted" op="=" var2="INTERNAL" />
1349 </conditions>
1350 <text>Unmount Internal Storage</text>
1351 <image resource="checkbox_true" />
1352 <action function="umount">INTERNAL</action>
1353 </object>
1354
1355 <object type="button">
1356 <conditions>
1357 <condition var1="tw_has_sdext_partition" var2="1" />
1358 <condition var1="mounted" op="!=" var2="/sd-ext" />
1359 </conditions>
1360 <placement x="%col1_x%" y="%row11_text_y%" />
1361 <font resource="font" color="%text_color%" />
1362 <text>Mount SD-Ext</text>
1363 <image resource="checkbox_false" />
1364 <action function="mount">/sd-ext</action>
1365 </object>
1366
1367 <object type="button">
1368 <placement x="%col1_x%" y="%row11_text_y%" />
1369 <font resource="font" color="%text_color%" />
1370 <condition var1="mounted" op="=" var2="/sd-ext" />
1371 <text>Unmount SD-Ext</text>
1372 <image resource="checkbox_true" />
1373 <action function="umount">/sd-ext</action>
1374 </object>
1375
1376 <object type="button">
1377 <conditions>
1378 <condition var1="tw_boot_is_mountable" var2="1" />
1379 <condition var1="mounted" op="!=" var2="/boot" />
1380 </conditions>
1381 <placement x="%col1_x%" y="%row12_text_y%" />
1382 <font resource="font" color="%text_color%" />
1383 <text>Mount Boot</text>
1384 <image resource="checkbox_false" />
1385 <action function="mount">/boot</action>
1386 </object>
1387
1388 <object type="button">
1389 <conditions>
1390 <condition var1="tw_boot_is_mountable" var2="1" />
1391 <condition var1="mounted" op="=" var2="/boot" />
1392 </conditions>
1393 <placement x="%col1_x%" y="%row12_text_y%" />
1394 <font resource="font" color="%text_color%" />
1395 <text>Unmount Boot</text>
1396 <image resource="checkbox_true" />
1397 <action function="umount">/boot</action>
1398 </object>
1399
1400 <object type="button">
1401 <placement x="%col1_x%" y="%row13_text_y%" />
1402 <font resource="font" color="%text_color%" />
1403 <conditions>
1404 <condition var1="tw_has_dual_storage" var2="1" />
1405 <condition var1="tw_use_external_storage" var2="1" />
1406 </conditions>
1407 <text>Using external SD</text>
1408 <image resource="radio_true" />
1409 <action function="togglestorage">external</action>
1410 </object>
1411
1412 <object type="button">
1413 <placement x="%col1_x%" y="%row13_text_y%" />
1414 <font resource="font" color="%text_color%" />
1415 <conditions>
1416 <condition var1="tw_has_dual_storage" var2="1" />
1417 <condition var1="tw_use_external_storage" var2="0" />
1418 </conditions>
1419 <text>Using external SD</text>
1420 <image resource="radio_false" />
1421 <action function="togglestorage">external</action>
1422 </object>
1423
1424 <object type="button">
1425 <placement x="%col2_x%" y="%row13_text_y%" />
1426 <font resource="font" color="%text_color%" />
1427 <conditions>
1428 <condition var1="tw_has_dual_storage" var2="1" />
1429 <condition var1="tw_use_external_storage" var2="1" />
1430 </conditions>
1431 <text>Using internal storage</text>
1432 <image resource="radio_false" />
1433 <action function="togglestorage">internal</action>
1434 </object>
1435
1436 <object type="button">
1437 <placement x="%col2_x%" y="%row13_text_y%" />
1438 <font resource="font" color="%text_color%" />
1439 <conditions>
1440 <condition var1="tw_has_dual_storage" var2="1" />
1441 <condition var1="tw_use_external_storage" var2="0" />
1442 </conditions>
1443 <text>Using internal storage</text>
1444 <image resource="radio_true" />
1445 <action function="togglestorage">internal</action>
1446 </object>
1447
1448 <object type="action">
1449 <touch key="home" />
1450 <action function="page">main</action>
1451 </object>
1452
1453 <object type="action">
1454 <touch key="back" />
1455 <action function="page">main</action>
1456 </object>
1457
1458 <object type="template" name="footer" />
1459 </page>
1460
1461 <page name="usb_mount">
1462 <object type="template" name="header" />
1463
1464 <object type="text" color="%text_color%">
1465 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1466 <font resource="font" />
1467 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1468 </object>
1469
1470 <object type="text" color="%text_color%">
1471 <placement x="%col1_x%" y="%row2_text_y%" />
1472 <font resource="font" />
1473 <text></text>
1474 </object>
1475
1476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001478 <placement x="%col_center_x%" y="%row1_y%" />
1479 <font resource="font" color="%button_text_color%" />
1480 <text>Unmount</text>
1481 <image resource="main_button" />
1482 <action function="page">usb_umount</action>
1483 </object>
1484
1485 <object type="action">
1486 <action function="mount">usb</action>
1487 </object>
1488
1489 <object type="template" name="footer" />
1490 </page>
1491
1492 <page name="usb_umount">
1493 <object type="action">
1494 <action function="unmount">usb</action>
1495 </object>
1496
1497 <object type="action">
1498 <action function="page">mount</action>
1499 </object>
1500
1501 <object type="template" name="footer" />
1502 </page>
1503
1504 <page name="wipe">
1505 <object type="template" name="header" />
1506
1507 <object type="text" color="%text_color%">
1508 <font resource="font" />
1509 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1510 <text>Wipe Menu</text>
1511 </object>
1512
1513 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001514 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001515 <placement x="%col1_x%" y="%row1_y%" />
1516 <font resource="font" color="%button_text_color%" />
1517 <text>Cache</text>
1518 <image resource="main_button" />
1519 <actions>
1520 <action function="set">tw_back=wipe</action>
1521 <action function="set">tw_action=wipe</action>
1522 <action function="set">tw_action_param=/cache</action>
1523 <action function="set">tw_text1=Wipe Cache?</action>
1524 <action function="set">tw_action_text1=Wiping Cache...</action>
1525 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1526 <action function="set">tw_slider_text=Swipe to Wipe</action>
1527 <action function="page">confirm_action</action>
1528 </actions>
1529 </object>
1530
1531 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001532 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001533 <placement x="%col2_x%" y="%row1_y%" />
1534 <font resource="font" color="%button_text_color%" />
1535 <text>Dalvik Cache</text>
1536 <image resource="main_button" />
1537 <actions>
1538 <action function="set">tw_back=wipe</action>
1539 <action function="set">tw_action=wipe</action>
1540 <action function="set">tw_action_param=dalvik</action>
1541 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1542 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1543 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1544 <action function="set">tw_slider_text=Swipe to Wipe</action>
1545 <action function="page">confirm_action</action>
1546 </actions>
1547 </object>
1548
1549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001551 <placement x="%col3_x%" y="%row1_y%" />
1552 <font resource="font" color="%button_text_color%" />
1553 <text>Factory Reset</text>
1554 <image resource="main_button" />
1555 <actions>
1556 <action function="set">tw_back=wipe</action>
1557 <action function="set">tw_action=wipe</action>
1558 <action function="set">tw_action_param=data</action>
1559 <action function="set">tw_text1=Factory Reset?</action>
1560 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1561 <action function="set">tw_action_text1=Factory Reset...</action>
1562 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1563 <action function="set">tw_slider_text=Swipe to Wipe</action>
1564 <action function="page">confirm_action</action>
1565 </actions>
1566 </object>
1567
1568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001570 <placement x="%col4_x%" y="%row1_y%" />
1571 <font resource="font" color="%button_text_color%" />
1572 <text>System</text>
1573 <image resource="main_button" />
1574 <actions>
1575 <action function="set">tw_back=wipe</action>
1576 <action function="set">tw_action=wipe</action>
1577 <action function="set">tw_action_param=/system</action>
1578 <action function="set">tw_text1=Wipe System?</action>
1579 <action function="set">tw_text2=This will wipe your ROM</action>
1580 <action function="set">tw_action_text1=Wiping System...</action>
1581 <action function="set">tw_complete_text1=System Wipe Complete</action>
1582 <action function="set">tw_slider_text=Swipe to Wipe</action>
1583 <action function="page">confirm_action</action>
1584 </actions>
1585 </object>
1586
1587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001589 <condition var1="tw_has_external" var2="1" />
1590 <placement x="%col1_x%" y="%row2_y%" />
1591 <font resource="font" color="%button_text_color%" />
1592 <text>External Storage</text>
1593 <image resource="main_button" />
1594 <actions>
1595 <action function="set">tw_back=wipe</action>
1596 <action function="set">tw_action=wipe</action>
1597 <action function="set">tw_action_param=EXTERNAL</action>
1598 <action function="set">tw_has_action2=1</action>
1599 <action function="set">tw_action2=set</action>
1600 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1601 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1602 <action function="set">tw_action_text1=Wiping External Storage...</action>
1603 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1604 <action function="set">tw_slider_text=Swipe to Wipe</action>
1605 <action function="page">confirm_action</action>
1606 </actions>
1607 </object>
1608
1609 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001610 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001611 <condition var1="tw_has_internal" var2="1" />
1612 <placement x="%col2_x%" y="%row2_y%" />
1613 <font resource="font" color="%button_text_color%" />
1614 <text>Internal Storage</text>
1615 <image resource="main_button" />
1616 <actions>
1617 <action function="set">tw_back=wipe</action>
1618 <action function="set">tw_action=wipe</action>
1619 <action function="set">tw_action_param=INTERNAL</action>
1620 <action function="set">tw_has_action2=1</action>
1621 <action function="set">tw_action2=set</action>
1622 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1623 <action function="set">tw_text1=Wipe Internal Storage?</action>
1624 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1625 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1626 <action function="set">tw_slider_text=Swipe to Wipe</action>
1627 <action function="page">confirm_action</action>
1628 </actions>
1629 </object>
1630
1631 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001632 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001633 <conditions>
1634 <condition var1="tw_has_internal" var2="1" />
1635 <condition var1="tw_has_data_media" var2="1" />
1636 </conditions>
1637 <placement x="%col3_x%" y="%row2_y%" />
1638 <font resource="font" color="%button_text_color%" />
1639 <text>Format Data</text>
1640 <image resource="main_button" />
1641 <actions>
1642 <action function="set">tw_back=wipe</action>
1643 <action function="set">tw_action=wipe</action>
1644 <action function="set">tw_action_param=DATAMEDIA</action>
1645 <action function="set">tw_has_action2=1</action>
1646 <action function="set">tw_action2=set</action>
1647 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1648 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1649 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001650 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001651 <action function="set">tw_action_text1=Formatting Data...</action>
1652 <action function="set">tw_complete_text1=Data Format Complete</action>
1653 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001654 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001655 <action function="page">confirm_action</action>
1656 </actions>
1657 </object>
1658
1659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001660 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001661 <condition var1="tw_has_data_media" var2="0" />
1662 <placement x="%col3_x%" y="%row2_y%" />
1663 <font resource="font" color="%button_text_color%" />
1664 <text>Android Secure</text>
1665 <image resource="main_button" />
1666 <actions>
1667 <action function="set">tw_back=wipe</action>
1668 <action function="set">tw_action=wipe</action>
1669 <action function="set">tw_action_param=ANDROIDSECURE</action>
1670 <action function="set">tw_text1=Wipe Android Secure?</action>
1671 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1672 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1673 <action function="set">tw_slider_text=Swipe to Format</action>
1674 <action function="page">confirm_action</action>
1675 </actions>
1676 </object>
1677
1678 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001679 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001680 <condition var1="tw_has_sdext_partition" var2="1" />
1681 <placement x="%col4_x%" y="%row2_y%" />
1682 <font resource="font" color="%button_text_color%" />
1683 <text>SD Ext</text>
1684 <image resource="main_button" />
1685 <actions>
1686 <action function="set">tw_back=wipe</action>
1687 <action function="set">tw_action=wipe</action>
1688 <action function="set">tw_action_param=/sd-ext</action>
1689 <action function="set">tw_text1=Wipe SD-Ext?</action>
1690 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1691 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1692 <action function="set">tw_slider_text=Swipe to Wipe</action>
1693 <action function="page">confirm_action</action>
1694 </actions>
1695 </object>
1696
1697 <object type="action">
1698 <touch key="home" />
1699 <action function="page">main</action>
1700 </object>
1701
1702 <object type="action">
1703 <touch key="back" />
1704 <action function="page">main</action>
1705 </object>
1706
1707 <object type="template" name="footer" />
1708 </page>
1709
1710 <page name="backup">
1711 <object type="template" name="header" />
1712
1713 <object type="text" color="%text_color%">
1714 <font resource="font" />
1715 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1716 <text>Back Up Device</text>
1717 </object>
1718
1719 <object type="text" color="%text_color%">
1720 <font resource="font" />
1721 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1722 <text>Free Space: %tw_storage_free_size% MB</text>
1723 </object>
1724
1725 <object type="text" color="%text_color%">
1726 <font resource="font" />
1727 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1728 <text>Backup Name: %tw_backup_name%</text>
1729 </object>
1730
1731 <object type="checkbox">
1732 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1733 <font resource="font" color="%text_color%" />
1734 <text>System (%tw_backup_system_size% MB)</text>
1735 <data variable="tw_backup_system" />
1736 <image checked="checkbox_true" unchecked="checkbox_false" />
1737 </object>
1738
1739 <object type="checkbox">
1740 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1741 <font resource="font" color="%text_color%" />
1742 <text>Data (%tw_backup_data_size% MB)</text>
1743 <data variable="tw_backup_data" />
1744 <image checked="checkbox_true" unchecked="checkbox_false" />
1745 </object>
1746
1747 <object type="checkbox">
1748 <condition var1="tw_has_boot_partition" var2="1" />
1749 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1750 <font resource="font" color="%text_color%" />
1751 <text>Boot (%tw_backup_boot_size% MB)</text>
1752 <data variable="tw_backup_boot" />
1753 <image checked="checkbox_true" unchecked="checkbox_false" />
1754 </object>
1755
1756 <object type="checkbox">
1757 <condition var1="tw_has_recovery_partition" var2="1" />
1758 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1759 <font resource="font" color="%text_color%" />
1760 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1761 <data variable="tw_backup_recovery" />
1762 <image checked="checkbox_true" unchecked="checkbox_false" />
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>Cache (%tw_backup_cache_size% MB)</text>
1769 <data variable="tw_backup_cache" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <condition var1="tw_has_android_secure" var2="1" />
1775 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1776 <font resource="font" color="%text_color%" />
1777 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1778 <data variable="tw_backup_andsec" />
1779 <image checked="checkbox_true" unchecked="checkbox_false" />
1780 </object>
1781
1782 <object type="checkbox">
1783 <condition var1="tw_has_sdext_partition" var2="1" />
1784 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1787 <data variable="tw_backup_sdext" />
1788 <image checked="checkbox_true" unchecked="checkbox_false" />
1789 </object>
1790
1791 <object type="checkbox">
1792 <condition var1="tw_sp1_name" op=">" var2="" />
1793 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1794 <font resource="font" color="%text_color%" />
1795 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1796 <data variable="tw_backup_sp1" />
1797 <image checked="checkbox_true" unchecked="checkbox_false" />
1798 </object>
1799
1800 <object type="checkbox">
1801 <condition var1="tw_sp2_name" op=">" var2="" />
1802 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1803 <font resource="font" color="%text_color%" />
1804 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1805 <data variable="tw_backup_sp2" />
1806 <image checked="checkbox_true" unchecked="checkbox_false" />
1807 </object>
1808
1809 <object type="checkbox">
1810 <condition var1="tw_sp3_name" op=">" var2="" />
1811 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1812 <font resource="font" color="%text_color%" />
1813 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1814 <data variable="tw_backup_sp3" />
1815 <image checked="checkbox_true" unchecked="checkbox_false" />
1816 </object>
1817
1818 <object type="checkbox">
1819 <placement x="%col1_x%" y="%nandcheck_row6%" />
1820 <font resource="font" color="%text_color%" />
1821 <text>Enable Compression (Requires more time)</text>
1822 <data variable="tw_use_compression" />
1823 <image checked="checkbox_true" unchecked="checkbox_false" />
1824 </object>
1825
1826 <object type="checkbox">
1827 <placement x="%col3_x%" y="%nandcheck_row6%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>Skip MD5 generation on backups</text>
1830 <data variable="tw_skip_md5_generate" />
1831 <image checked="checkbox_true" unchecked="checkbox_false" />
1832 </object>
1833
1834 <object type="button">
1835 <placement x="%col2_x%" y="%nandcheck_row7%" />
1836 <font resource="font" color="%text_color%" />
1837 <conditions>
1838 <condition var1="tw_has_dual_storage" var2="1" />
1839 <condition var1="tw_use_external_storage" var2="1" />
1840 </conditions>
1841 <text>Using external SD</text>
1842 <image resource="radio_true" />
1843 <action function="togglestorage">external</action>
1844 </object>
1845
1846 <object type="button">
1847 <placement x="%col2_x%" y="%nandcheck_row7%" />
1848 <font resource="font" color="%text_color%" />
1849 <conditions>
1850 <condition var1="tw_has_dual_storage" var2="1" />
1851 <condition var1="tw_use_external_storage" var2="0" />
1852 </conditions>
1853 <text>Using external SD</text>
1854 <image resource="radio_false" />
1855 <action function="togglestorage">external</action>
1856 </object>
1857
1858 <object type="button">
1859 <placement x="%col3_x%" y="%nandcheck_row7%" />
1860 <font resource="font" color="%text_color%" />
1861 <conditions>
1862 <condition var1="tw_has_dual_storage" var2="1" />
1863 <condition var1="tw_use_external_storage" var2="1" />
1864 </conditions>
1865 <text>Using internal storage</text>
1866 <image resource="radio_false" />
1867 <action function="togglestorage">internal</action>
1868 </object>
1869
1870 <object type="button">
1871 <placement x="%col3_x%" y="%nandcheck_row7%" />
1872 <font resource="font" color="%text_color%" />
1873 <conditions>
1874 <condition var1="tw_has_dual_storage" var2="1" />
1875 <condition var1="tw_use_external_storage" var2="0" />
1876 </conditions>
1877 <text>Using internal storage</text>
1878 <image resource="radio_true" />
1879 <action function="togglestorage">internal</action>
1880 </object>
1881
1882 <object type="slider">
1883 <placement x="%slider_x%" y="%slider_y%" />
1884 <resource base="slider" used="slider-used" touch="slider-touch" />
1885 <actions>
1886 <action function="set">tw_operation_state=0</action>
1887 <action function="page">backup_run</action>
1888 </actions>
1889 </object>
1890
1891 <object type="text" color="%text_color%">
1892 <font resource="font" />
1893 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1894 <text>Swipe to Back Up</text>
1895 </object>
1896
1897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001899 <placement x="%col4_x%" y="%row1_y%" />
1900 <font resource="font" color="%button_text_color%" />
1901 <text>Refresh Sizes</text>
1902 <image resource="main_button" />
1903 <action function="refreshsizes"></action>
1904 </object>
1905
1906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001907 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001908 <placement x="%col4_x%" y="%backup_name_button_y%" />
1909 <font resource="font" color="%button_text_color%" />
1910 <text>Set Backup Name</text>
1911 <image resource="main_button" />
1912 <actions>
1913 <action function="set">tw_fileexists=0</action>
1914 <action function="page">backupname1</action>
1915 </actions>
1916 </object>
1917
1918 <object type="action">
1919 <touch key="home" />
1920 <action function="page">main</action>
1921 </object>
1922
1923 <object type="action">
1924 <touch key="back" />
1925 <action function="page">main</action>
1926 </object>
1927
1928 <object type="template" name="footer" />
1929 </page>
1930
1931 <page name="backupname1">
1932 <object type="action">
1933 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1934 <action function="set">tw_backup_name=</function>
1935 </object>
1936
1937 <object type="action">
1938 <action function="page">backupname2</function>
1939 </object>
1940 </page>
1941
1942 <page name="backupname2">
1943 <object type="template" name="header" />
1944
1945 <object type="text" color="%text_color%">
1946 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1947 <font resource="font" />
1948 <text>Please Enter a Backup Name</text>
1949 </object>
1950
1951 <object type="input">
1952 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1953 <background color="%input_background_color%" />
1954 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1955 <font resource="font" color="%text_color%" />
1956 <text>%tw_backup_name%</text>
1957 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001958 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001959 <actions>
1960 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1961 <action function="set">tw_existpage=backupname2</action>
1962 <action function="set">tw_notexistpage=backup</action>
1963 <action function="page">filecheck</action>
1964 </actions>
1965 </object>
1966
1967 <object type="text" color="%text_fail_color%">
1968 <condition var1="tw_fileexists" var2="1" />
1969 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1970 <font resource="font" />
1971 <text>A backup with that name already exists!</text>
1972 </object>
1973
1974 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001975 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001976 <placement x="%col_center_x%" y="%cancel_button_y%" />
1977 <font resource="font" color="%button_text_color%" />
1978 <text>Cancel / Clear</text>
1979 <image resource="main_button" />
1980 <actions>
1981 <action function="set">tw_backup_name=(Current Date)</action>
1982 <action function="page">backup</action>
1983 </actions>
1984 </object>
1985
1986 <object type="template" name="keyboardtemplate" />
1987
1988 <object type="action">
1989 <touch key="home" />
1990 <actions>
1991 <action function="set">tw_backup_name=(Current Date)</action>
1992 <action function="page">main</action>
1993 </actions>
1994 </object>
1995
1996 <object type="action">
1997 <touch key="back" />
1998 <actions>
1999 <action function="set">tw_backup_name=(Current Date)</action>
2000 <action function="page">backup</action>
2001 </actions>
2002 </object>
2003
2004 <object type="template" name="footer" />
2005 </page>
2006
2007 <page name="backup_run">
2008 <object type="template" name="header" />
2009
2010 <object type="text" color="%text_color%">
2011 <font resource="font" />
2012 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2013 <text>%tw_operation% %tw_partition%</text>
2014 </object>
2015
2016 <object type="template" name="action_page_console" />
2017
2018 <object type="template" name="progress_bar" />
2019
2020 <object type="action">
2021 <action function="nandroid">backup</action>
2022 </object>
2023
2024 <object type="action">
2025 <condition var1="tw_operation_state" var2="1" />
2026 <actions>
2027 <action function="set">tw_back=backup</action>
2028 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002029 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002030 <action function="page">action_complete</action>
2031 </actions>
2032 </object>
2033
2034 <object type="template" name="footer" />
2035 </page>
2036
2037 <page name="restore">
2038 <object type="template" name="header" />
2039
2040 <object type="button">
2041 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2042 <font resource="font" color="%text_color%" />
2043 <conditions>
2044 <condition var1="tw_has_dual_storage" var2="1" />
2045 <condition var1="tw_use_external_storage" var2="1" />
2046 </conditions>
2047 <text>Using external SD</text>
2048 <image resource="radio_true" />
2049 <action function="togglestorage">external</action>
2050 </object>
2051
2052 <object type="button">
2053 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2054 <font resource="font" color="%text_color%" />
2055 <conditions>
2056 <condition var1="tw_has_dual_storage" var2="1" />
2057 <condition var1="tw_use_external_storage" var2="0" />
2058 </conditions>
2059 <text>Using external SD</text>
2060 <image resource="radio_false" />
2061 <action function="togglestorage">external</action>
2062 </object>
2063
2064 <object type="button">
2065 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2066 <font resource="font" color="%text_color%" />
2067 <conditions>
2068 <condition var1="tw_has_dual_storage" var2="1" />
2069 <condition var1="tw_use_external_storage" var2="1" />
2070 </conditions>
2071 <text>Using internal storage</text>
2072 <image resource="radio_false" />
2073 <action function="togglestorage">internal</action>
2074 </object>
2075
2076 <object type="button">
2077 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2078 <font resource="font" color="%text_color%" />
2079 <conditions>
2080 <condition var1="tw_has_dual_storage" var2="1" />
2081 <condition var1="tw_use_external_storage" var2="0" />
2082 </conditions>
2083 <text>Using internal storage</text>
2084 <image resource="radio_true" />
2085 <action function="togglestorage">internal</action>
2086 </object>
2087
2088 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002089 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002090 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2091 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2092 <text>Select Package to Restore:</text>
2093 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2094 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002095 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 <icon folder="folder_icon" file="file_icon" />
2097 <background color="%fileselector_background%" />
2098 <filter folders="1" files="0" nav="0" />
2099 <path name="tw_backups_folder" />
2100 <data name="tw_restore" default="" />
2101 <selection name="tw_restore_name" />
2102 </object>
2103
2104 <object type="template" name="sort_options" />
2105
2106 <object type="action">
2107 <condition var1="tw_restore" op="modified" />
2108 <actions>
2109 <action function="readBackup"></action>
2110 <action function="page">restore_select</action>
2111 </actions>
2112 </object>
2113
Gary Peckffdc6ae2012-11-21 18:02:02 -08002114 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002115 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002116 <conditions>
2117 <condition var1="tw_is_encrypted" var2="1" />
2118 <condition var1="tw_is_decrypted" var2="0" />
2119 </conditions>
2120 <placement x="%col2_x%" y="row3_y" />
2121 <font resource="font" color="%button_text_color%" />
2122 <text>Decrypt Data</text>
2123 <image resource="main_button" />
2124 <action function="page">decrypt</action>
2125 </object>
2126
Dees_Troy51a0e822012-09-05 15:24:24 -04002127 <object type="action">
2128 <touch key="home" />
2129 <action function="page">main</action>
2130 </object>
2131
2132 <object type="action">
2133 <touch key="back" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="template" name="footer" />
2138 </page>
2139
2140 <page name="restore_select">
2141 <object type="template" name="header" />
2142
2143 <object type="text" color="%text_color%">
2144 <font resource="font" />
2145 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2146 <text>Package to Restore: %tw_restore_name%</text>
2147 </object>
2148
2149 <object type="text" color="%text_color%">
2150 <font resource="font" />
2151 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2152 <text>Package Date: %tw_restore_file_date%</text>
2153 </object>
2154
2155 <object type="checkbox">
2156 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2157 <font resource="font" color="%text_color%" />
2158 <text>System</text>
2159 <condition var1="tw_restore_system" op=">=" var2="0" />
2160 <data variable="tw_restore_system" />
2161 <image checked="checkbox_true" unchecked="checkbox_false" />
2162 </object>
2163
2164 <object type="checkbox">
2165 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2166 <font resource="font" color="%text_color%" />
2167 <text>Data</text>
2168 <condition var1="tw_restore_data" op=">=" var2="0" />
2169 <data variable="tw_restore_data" />
2170 <image checked="checkbox_true" unchecked="checkbox_false" />
2171 </object>
2172
2173 <object type="checkbox">
2174 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2175 <font resource="font" color="%text_color%" />
2176 <text>Boot</text>
2177 <condition var1="tw_restore_boot" op=">=" var2="0" />
2178 <data variable="tw_restore_boot" />
2179 <image checked="checkbox_true" unchecked="checkbox_false" />
2180 </object>
2181
2182 <object type="checkbox">
2183 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2184 <font resource="font" color="%text_color%" />
2185 <text>Cache</text>
2186 <condition var1="tw_restore_cache" op=">=" var2="0" />
2187 <data variable="tw_restore_cache" />
2188 <image checked="checkbox_true" unchecked="checkbox_false" />
2189 </object>
2190
2191 <object type="checkbox">
2192 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2193 <font resource="font" color="%text_color%" />
2194 <text>.android_secure</text>
2195 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2196 <data variable="tw_restore_andsec" />
2197 <image checked="checkbox_true" unchecked="checkbox_false" />
2198 </object>
2199
2200 <object type="checkbox">
2201 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2202 <font resource="font" color="%text_color%" />
2203 <text>sd-ext</text>
2204 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2205 <data variable="tw_restore_sdext" />
2206 <image checked="checkbox_true" unchecked="checkbox_false" />
2207 </object>
2208
2209 <object type="checkbox">
2210 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2211 <font resource="font" color="%text_color%" />
2212 <text>%tw_sp1_name%</text>
2213 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2214 <data variable="tw_restore_sp1" />
2215 <image checked="checkbox_true" unchecked="checkbox_false" />
2216 </object>
2217
2218 <object type="checkbox">
2219 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2220 <font resource="font" color="%text_color%" />
2221 <text>%tw_sp2_name%</text>
2222 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2223 <data variable="tw_restore_sp2" />
2224 <image checked="checkbox_true" unchecked="checkbox_false" />
2225 </object>
2226
2227 <object type="checkbox">
2228 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2229 <font resource="font" color="%text_color%" />
2230 <text>%tw_sp3_name%</text>
2231 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2232 <data variable="tw_restore_sp3" />
2233 <image checked="checkbox_true" unchecked="checkbox_false" />
2234 </object>
2235
2236 <object type="checkbox">
2237 <placement x="%col1_x%" y="%nandcheck_row6%" />
2238 <font resource="font" color="%text_color%" />
2239 <text>Enable MD5 checking of backup files</text>
2240 <data variable="tw_skip_md5_check" />
2241 <image checked="checkbox_true" unchecked="checkbox_false" />
2242 </object>
2243
2244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <placement x="%col4_x%" y="%row1_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>Rename Backup</text>
2249 <image resource="main_button" />
2250 <actions>
2251 <action function="set">tw_backup_rename=</action>
2252 <action function="set">tw_fileexists=0</action>
2253 <action function="page">renamebackup</action>
2254 </actions>
2255 </object>
2256
2257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002259 <placement x="%col4_x%" y="%backup_name_button_y%" />
2260 <font resource="font" color="%button_text_color%" />
2261 <text>Delete Backup</text>
2262 <image resource="main_button" />
2263 <actions>
2264 <action function="set">tw_back=restore</action>
2265 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002266 <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 -04002267 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2268 <action function="set">tw_text2=This cannot be undone!</action>
2269 <action function="set">tw_action_text1=Deleting Backup...</action>
2270 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2271 <action function="set">tw_slider_text=Swipe to Delete</action>
2272 <action function="page">confirm_action</action>
2273 </actions>
2274 </object>
2275
2276 <object type="slider">
2277 <placement x="%slider_x%" y="%slider_y%" />
2278 <resource base="slider" used="slider-used" touch="slider-touch" />
2279 <action function="page">restore_run</action>
2280 </object>
2281
2282 <object type="text" color="%text_color%">
2283 <font resource="font" />
2284 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2285 <text>Swipe to Restore</text>
2286 </object>
2287
2288 <object type="action">
2289 <touch key="home" />
2290 <action function="page">main</action>
2291 </object>
2292
2293 <object type="action">
2294 <touch key="back" />
2295 <action function="page">restore</action>
2296 </object>
2297
2298 <object type="template" name="footer" />
2299 </page>
2300
2301 <page name="renamebackup">
2302 <object type="template" name="header" />
2303
2304 <object type="text" color="%text_color%">
2305 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2306 <font resource="font" />
2307 <text>Please Enter a New Backup Name</text>
2308 </object>
2309
2310 <object type="input">
2311 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2312 <background color="%input_background_color%" />
2313 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2314 <font resource="font" color="%text_color%" />
2315 <text>%tw_backup_rename%</text>
2316 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002317 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002318 <actions>
2319 <action function="set">tw_back=restore</action>
2320 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002321 <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 -04002322 <action function="set">tw_text1=Rename Backup?</action>
2323 <action function="set">tw_text2=This cannot be undone!</action>
2324 <action function="set">tw_action_text1=Renaming Backup...</action>
2325 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2326 <action function="set">tw_slider_text=Swipe to Rename</action>
2327 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2328 <action function="set">tw_existpage=renamebackup</action>
2329 <action function="set">tw_notexistpage=confirm_action</action>
2330 <action function="page">filecheck</action>
2331 </actions>
2332 </object>
2333
2334 <object type="text" color="%text_fail_color%">
2335 <condition var1="tw_fileexists" var2="1" />
2336 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2337 <font resource="font" />
2338 <text>A backup with that name already exists!</text>
2339 </object>
2340
2341 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002342 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002343 <placement x="%col_center_x%" y="%cancel_button_y%" />
2344 <font resource="font" color="%button_text_color%" />
2345 <text>Cancel</text>
2346 <image resource="main_button" />
2347 <action function="page">restore_select</action>
2348 </object>
2349
2350 <object type="template" name="keyboardtemplate" />
2351
2352 <object type="action">
2353 <touch key="home" />
2354 <action function="page">main</action>
2355 </object>
2356
2357 <object type="action">
2358 <touch key="back" />
2359 <action function="page">restore_select</action>
2360 </object>
2361
2362 <object type="template" name="footer" />
2363 </page>
2364
2365 <page name="restore_run">
2366 <object type="template" name="header" />
2367
2368 <object type="text" color="%text_color%">
2369 <font resource="font" />
2370 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2371 <text>%tw_operation% %tw_partition%</text>
2372 </object>
2373
2374 <object type="template" name="action_page_console" />
2375
2376 <object type="template" name="progress_bar" />
2377
2378 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002379 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <actions>
2381 <action function="set">tw_back=restore_select</action>
2382 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002383 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <action function="page">action_complete</action>
2385 </actions>
2386 </object>
2387
2388 <object type="action">
2389 <action function="nandroid">restore</action>
2390 </object>
2391 </page>
2392
2393 <page name="settings">
2394 <object type="template" name="header" />
2395
2396 <object type="text" color="%text_color%">
2397 <font resource="font" />
2398 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2399 <text>Settings</text>
2400 </object>
2401
2402 <object type="checkbox">
2403 <placement x="%col1_x%" y="%row2_text_y%" />
2404 <font resource="font" color="%text_color%" />
2405 <text>Zip file signature verification?</text>
2406 <data variable="tw_signed_zip_verify" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
2411 <placement x="%col1_x%" y="%row3_text_y%" />
2412 <font resource="font" color="%text_color%" />
2413 <text>Force MD5 check on all zips?</text>
2414 <data variable="tw_force_md5_check" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
2419 <placement x="%col1_x%" y="%row4_text_y%" />
2420 <font resource="font" color="%text_color%" />
2421 <text>Use rm -rf instead of formatting?</text>
2422 <data variable="tw_rm_rf" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
2427 <placement x="%col1_x%" y="%row5_text_y%" />
2428 <font resource="font" color="%text_color%" />
2429 <text>Skip MD5 generation on backups</text>
2430 <data variable="tw_skip_md5_generate" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="checkbox">
2435 <placement x="%col1_x%" y="%row6_text_y%" />
2436 <font resource="font" color="%text_color%" />
2437 <text>Enable MD5 checking of backup files</text>
2438 <data variable="tw_skip_md5_check" />
2439 <image checked="checkbox_true" unchecked="checkbox_false" />
2440 </object>
2441
2442 <object type="checkbox">
2443 <placement x="%col1_x%" y="%row7_text_y%" />
2444 <font resource="font" color="%text_color%" />
2445 <text>Ignore image size errors during backup</text>
2446 <data variable="tw_ignore_image_size" />
2447 <image checked="checkbox_true" unchecked="checkbox_false" />
2448 </object>
2449
2450 <object type="checkbox">
2451 <placement x="%col1_x%" y="%row8_text_y%" />
2452 <font resource="font" color="%text_color%" />
2453 <text>Simulate most actions for theme testing</text>
2454 <data variable="tw_simulate_actions" />
2455 <image checked="checkbox_true" unchecked="checkbox_false" />
2456 </object>
2457
2458 <object type="checkbox">
2459 <condition var1="tw_simulate_actions" var2="1" />
2460 <placement x="%col1_x%" y="%row9_text_y%" />
2461 <font resource="font" color="%text_color%" />
2462 <text>Simulate failure for actions</text>
2463 <data variable="tw_simulate_fail" />
2464 <image checked="checkbox_true" unchecked="checkbox_false" />
2465 </object>
2466
2467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <placement x="%col1_x%" y="%row2_y%" />
2470 <font resource="font" color="%button_text_color%" />
2471 <text>Time Zone</text>
2472 <image resource="main_button" />
2473 <action function="page">timezone</action>
2474 </object>
2475
2476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <placement x="%col_center_x%" y="%slider_y%" />
2479 <font resource="font" color="%button_text_color%" />
2480 <text>Restore Defaults</text>
2481 <image resource="main_button" />
2482 <action function="restoredefaultsettings"></action>
2483 </object>
2484
2485 <object type="action">
2486 <touch key="home" />
2487 <action function="page">main</action>
2488 </object>
2489
2490 <object type="action">
2491 <touch key="back" />
2492 <action function="page">main</action>
2493 </object>
2494
2495 <object type="template" name="footer" />
2496 </page>
2497
2498 <page name="timezone">
2499 <object type="template" name="header" />
2500
2501 <object type="text" color="%text_color%">
2502 <font resource="font" />
2503 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2504 <text>Select Time Zone</text>
2505 </object>
2506
2507 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002508 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2511 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002513 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002515 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <data name="tw_time_zone_guisel" />
2517 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2518 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2519 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2520 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2521 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2522 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2523 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2524 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2525 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2526 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2527 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2528 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2529 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2530 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2531 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2532 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2533 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2534 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2535 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2536 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2537 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2538 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2539 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2540 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2541 </object>
2542
2543 <object type="checkbox">
2544 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2545 <font resource="font" color="%text_color%" />
2546 <text>Do you use daylight savings time (DST)?</text>
2547 <data variable="tw_time_zone_guidst" />
2548 <image checked="checkbox_true" unchecked="checkbox_false" />
2549 </object>
2550
2551 <object type="text" color="%text_color%">
2552 <font resource="font" />
2553 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2554 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text>0</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=0</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2569 <font resource="font" color="%button_text_color%" />
2570 <text>15</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=15</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2578 <font resource="font" color="%button_text_color%" />
2579 <text>30</text>
2580 <image resource="medium_button" />
2581 <action function="set">tw_time_zone_guioffset=30</action>
2582 </object>
2583
2584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002585 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002586 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>45</text>
2589 <image resource="medium_button" />
2590 <action function="set">tw_time_zone_guioffset=45</action>
2591 </object>
2592
2593 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002594 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002595 <placement x="%col4_x%" y="%row2_y%" />
2596 <font resource="font" color="%button_text_color%" />
2597 <text>Set Time Zone</text>
2598 <image resource="main_button" />
2599 <action function="setguitimezone"></action>
2600 </object>
2601
2602 <object type="text" color="%text_color%">
2603 <font resource="font" />
2604 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2605 <text>Current Time Zone: %tw_time_zone%</text>
2606 </object>
2607
2608 <object type="action">
2609 <touch key="home" />
2610 <action function="page">main</action>
2611 </object>
2612
2613 <object type="action">
2614 <touch key="back" />
2615 <action function="page">settings</action>
2616 </object>
2617
2618 <object type="template" name="footer" />
2619 </page>
2620
2621 <page name="advanced">
2622 <object type="template" name="header" />
2623
2624 <object type="text" color="%text_color%">
2625 <font resource="font" />
2626 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2627 <text>Advanced</text>
2628 </object>
2629
2630 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002631 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002632 <placement x="%col1_x%" y="%row1_y%" />
2633 <font resource="font" color="%button_text_color%" />
2634 <text>Copy Log to SD</text>
2635 <image resource="main_button" />
2636 <actions>
2637 <action function="set">tw_back=advanced</action>
2638 <action function="set">tw_action=copylog</action>
2639 <action function="set">tw_text1=Copy Log to SD Card?</action>
2640 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2641 <action function="set">tw_complete_text1=Log Copy Complete</action>
2642 <action function="set">tw_slider_text=Swipe to Confirm</action>
2643 <action function="page">confirm_action</action>
2644 </actions>
2645 </object>
2646
2647 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002648 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002649 <placement x="%col2_x%" y="%row1_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>Fix Permissions</text>
2652 <image resource="main_button" />
2653 <actions>
2654 <action function="set">tw_back=advanced</action>
2655 <action function="set">tw_action=fixpermissions</action>
2656 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002657 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002658 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2659 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002660 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002661 <action function="page">confirm_action</action>
2662 </actions>
2663 </object>
2664
2665 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002666 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002667 <placement x="%col3_x%" y="%row1_y%" />
2668 <font resource="font" color="%button_text_color%" />
2669 <text>Terminal Command</text>
2670 <image resource="main_button" />
2671 <action function="page">terminalfolder</action>
2672 </object>
2673
2674 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002675 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002676 <placement x="%col4_x%" y="%row1_y%" />
2677 <font resource="font" color="%button_text_color%" />
2678 <text>ADB Sideload</text>
2679 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002680 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002681 </object>
2682
2683 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002684 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002685 <condition var1="tw_allow_partition_sdcard" var2="1" />
2686 <placement x="%col1_x%" y="%row2_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>Partition SD Card</text>
2689 <image resource="main_button" />
2690 <action function="page">partsdcard</action>
2691 </object>
2692
2693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002694 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002695 <placement x="%col2_x%" y="%row2_y%" />
2696 <font resource="font" color="%button_text_color%" />
2697 <text>File Manager</text>
2698 <image resource="main_button" />
2699 <action function="page">filemanagerlist</action>
2700 </object>
2701
2702 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002703 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002704 <placement x="%col3_x%" y="%row2_y%" />
2705 <font resource="font" color="%button_text_color%" />
2706 <text>Reload Theme</text>
2707 <image resource="main_button" />
2708 <action function="reload"></action>
2709 </object>
2710
2711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002713 <condition var1="tw_show_dumlock" var2="1" />
2714 <placement x="%col4_x%" y="%row2_y%" />
2715 <font resource="font" color="%button_text_color%" />
2716 <text>HTC Dumlock</text>
2717 <image resource="main_button" />
2718 <action function="page">htcdumlock</action>
2719 </object>
2720
2721 <object type="action">
2722 <touch key="home" />
2723 <action function="page">main</action>
2724 </object>
2725
2726 <object type="action">
2727 <touch key="back" />
2728 <action function="page">main</action>
2729 </object>
2730
2731 <object type="template" name="footer" />
2732 </page>
2733
2734 <page name="partsdcard">
2735 <object type="template" name="header" />
2736
2737 <object type="text" color="%text_color%">
2738 <font resource="font" />
2739 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2740 <text>Partition SD Card</text>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text></text>
2748 <image resource="minus_button" />
2749 <action function="addsubtract">tw_sdext_size-128</action>
2750 </object>
2751
2752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2755 <font resource="font" color="%button_text_color%" />
2756 <text></text>
2757 <image resource="plus_button" />
2758 <action function="addsubtract">tw_sdext_size+128</action>
2759 </object>
2760
2761 <object type="text" color="%text_color%">
2762 <font resource="font" />
2763 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2764 <text>EXT Size: %tw_sdext_size%</text>
2765 </object>
2766
2767 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002768 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2770 <font resource="font" color="%button_text_color%" />
2771 <text></text>
2772 <image resource="minus_button" />
2773 <action function="addsubtract">tw_swap_size-32</action>
2774 </object>
2775
2776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text></text>
2781 <image resource="plus_button" />
2782 <action function="addsubtract">tw_swap_size+32</action>
2783 </object>
2784
2785 <object type="text" color="%text_color%">
2786 <font resource="font" />
2787 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2788 <text>Swap Size: %tw_swap_size%</text>
2789 </object>
2790
2791 <object type="text" color="%text_color%">
2792 <font resource="font" />
2793 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2794 <text>File system: %tw_sdpart_file_system%</text>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>EXT3</text>
2802 <image resource="medium_button" />
2803 <action function="set">tw_sdpart_file_system=ext3</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002808 <condition var1="tw_sdext_disable_ext4" var2="0" />
2809 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text>EXT4</text>
2812 <image resource="medium_button" />
2813 <action function="set">tw_sdpart_file_system=ext4</action>
2814 </object>
2815
2816 <object type="text" color="%text_color%">
2817 <font resource="font" />
2818 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2819 <text>You will lose all files on your SD card!</text>
2820 </object>
2821
2822 <object type="text" color="%text_color%">
2823 <font resource="font" />
2824 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2825 <text>This action cannot be undone!</text>
2826 </object>
2827
2828 <object type="slider">
2829 <placement x="%slider_x%" y="%slider_y%" />
2830 <resource base="slider" used="slider-used" touch="slider-touch" />
2831 <actions>
2832 <action function="set">tw_back=partsdcard</action>
2833 <action function="set">tw_action=partitionsd</action>
2834 <action function="set">tw_has_action2=1</action>
2835 <action function="set">tw_action2=set</action>
2836 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2837 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2838 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002839 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 <action function="page">action_page</action>
2841 </actions>
2842 </object>
2843
2844 <object type="text" color="%text_color%">
2845 <font resource="font" />
2846 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2847 <text>Swipe to Confirm Partition</text>
2848 </object>
2849
2850 <object type="action">
2851 <touch key="home" />
2852 <action function="page">main</action>
2853 </object>
2854
2855 <object type="action">
2856 <touch key="back" />
2857 <action function="page">advanced</action>
2858 </object>
2859
2860 <object type="template" name="footer" />
2861 </page>
2862
2863
2864 <page name="htcdumlock">
2865 <object type="template" name="header" />
2866
2867 <object type="text" color="%text_color%">
2868 <font resource="font" />
2869 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2870 <text>HTC Dumlock</text>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <condition var1="tw_show_dumlock" var2="1" />
2876 <placement x="%col1_x%" y="%row1_y%" />
2877 <font resource="font" color="%button_text_color%" />
2878 <text>Restore Original Boot</text>
2879 <image resource="main_button" />
2880 <actions>
2881 <action function="set">tw_back=htcdumlock</action>
2882 <action function="set">tw_action=htcdumlockrestoreboot</action>
2883 <action function="set">tw_text1=Restore original boot image?</action>
2884 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2885 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2886 <action function="set">tw_slider_text=Swipe to Confirm</action>
2887 <action function="page">confirm_action</action>
2888 </actions>
2889 </object>
2890
2891 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002892 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002893 <condition var1="tw_show_dumlock" var2="1" />
2894 <placement x="%col2_x%" y="%row1_y%" />
2895 <font resource="font" color="%button_text_color%" />
2896 <text>Reflash Recovery->Boot</text>
2897 <image resource="main_button" />
2898 <actions>
2899 <action function="set">tw_back=htcdumlock</action>
2900 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2901 <action function="set">tw_text1=Reflash recovery to boot?</action>
2902 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2903 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2904 <action function="set">tw_slider_text=Swipe to Confirm</action>
2905 <action function="page">confirm_action</action>
2906 </actions>
2907 </object>
2908
2909 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002910 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <condition var1="tw_show_dumlock" var2="1" />
2912 <placement x="%col1_x%" y="%row2_y%" />
2913 <font resource="font" color="%button_text_color%" />
2914 <text>Install HTC Dumlock</text>
2915 <image resource="main_button" />
2916 <actions>
2917 <action function="set">tw_back=htcdumlock</action>
2918 <action function="set">tw_action=installhtcdumlock</action>
2919 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2920 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2921 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2922 <action function="set">tw_slider_text=Swipe to Confirm</action>
2923 <action function="page">confirm_action</action>
2924 </actions>
2925 </object>
2926
2927 <object type="action">
2928 <touch key="home" />
2929 <action function="page">main</action>
2930 </object>
2931
2932 <object type="action">
2933 <touch key="back" />
2934 <action function="page">advanced</action>
2935 </object>
2936
2937 <object type="template" name="footer" />
2938 </page>
2939
2940 <page name="lock">
2941 <background color="#000000A0" />
2942
2943 <object type="image">
2944 <image resource="unlock-icon" />
2945 <placement x="%lock_x%" y="%lock_y%" />
2946 </object>
2947
2948 <object type="slider">
2949 <placement x="%slider_x%" y="%slider_y%" />
2950 <resource base="slider" used="slider-used" touch="slider-touch" />
2951 <action function="overlay"></action>
2952 </object>
2953
2954 <object type="text" color="%text_color%">
2955 <font resource="font" />
2956 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2957 <text>Swipe to Unlock</text>
2958 </object>
2959 </page>
2960
2961
2962 <page name="filemanagerlist">
2963 <object type="template" name="header" />
2964
2965 <object type="text" color="%text_color%">
2966 <font resource="font" />
2967 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2968 <text>File Manager: Select a File or Folder</text>
2969 </object>
2970
2971 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002972 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002973 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2974 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2975 <text>Folders:</text>
2976 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2977 <sort name="tw_gui_sort_order" />
2978 <icon folder="folder_icon" file="file_icon" />
2979 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002980 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002981 <filter folders="1" files="0" />
2982 <path name="tw_file_location1" default="/sdcard" />
2983 <data name="select" />
2984 <selection name="tw_selection1" />
2985 </object>
2986
2987 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002988 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2990 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2991 <text>%tw_file_location1%</text>
2992 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2993 <sort name="tw_gui_sort_order" />
2994 <icon folder="folder_icon" file="file_icon" />
2995 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002996 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <filter folders="0" files="1" />
2998 <path name="tw_file_location1" default="/" />
2999 <data name="tw_filename1" />
3000 <selection name="tw_selection1" />
3001 </object>
3002
3003 <object type="template" name="sort_options" />
3004
3005 <object type="action">
3006 <actions>
3007 <action function="set">tw_fm_type=File</action>
3008 <action function="set">tw_fm_isfolder=0</action>
3009 </actions>
3010 </object>
3011
3012 <object type="action">
3013 <touch key="home" />
3014 <action function="page">main</action>
3015 </object>
3016
3017 <object type="action">
3018 <touch key="back" />
3019 <action function="page">advanced</action>
3020 </object>
3021
3022 <object type="action">
3023 <condition var1="tw_filename1" op="modified" />
3024 <actions>
3025 <action function="page">filemanageroptions</action>
3026 </actions>
3027 </object>
3028
3029 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003030 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003031 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3032 <font resource="font" color="%button_text_color%" />
3033 <text>Select Folder</text>
3034 <image resource="main_button" />
3035 <actions>
3036 <action function="set">tw_filename1=tw_file_location1</action>
3037 <action function="set">tw_fm_isfolder=1</action>
3038 <action function="set">tw_fm_type=Folder</action>
3039 <action function="page">filemanageroptions</action>
3040 </actions>
3041 </object>
3042
3043 <object type="template" name="footer" />
3044 </page>
3045
3046 <page name="filemanageroptions">
3047 <object type="template" name="header" />
3048
3049 <object type="text" color="%text_color%">
3050 <font resource="font" />
3051 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3052 <text>%tw_fm_type% Selected:</text>
3053 </object>
3054
3055 <object type="text" color="%text_color%">
3056 <font resource="font" />
3057 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3058 <text>%tw_filename1%</text>
3059 </object>
3060
3061 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003062 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003063 <condition var1="tw_fm_isfolder" var2="0" />
3064 <placement x="%col1_x%" y="%row2_y%" />
3065 <font resource="font" color="%button_text_color%" />
3066 <text>Copy File</text>
3067 <image resource="main_button" />
3068 <actions>
3069 <action function="set">tw_filemanager_command=cp</action>
3070 <action function="set">tw_fm_text1=Copying</action>
3071 <action function="page">choosedestinationfolder</action>
3072 </actions>
3073 </object>
3074
3075 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003076 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <condition var1="tw_fm_isfolder" var2="1" />
3078 <placement x="%col1_x%" y="%row2_y%" />
3079 <font resource="font" color="%button_text_color%" />
3080 <text>Copy Folder</text>
3081 <image resource="main_button" />
3082 <actions>
3083 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3084 <action function="set">tw_fm_text1=Copying</action>
3085 <action function="page">choosedestinationfolder</action>
3086 </actions>
3087 </object>
3088
3089 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003090 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003091 <placement x="%col2_x%" y="%row2_y%" />
3092 <font resource="font" color="%button_text_color%" />
3093 <text>Move</text>
3094 <image resource="main_button" />
3095 <actions>
3096 <action function="set">tw_filemanager_command=mv</action>
3097 <action function="set">tw_fm_text1=Moving</action>
3098 <action function="page">choosedestinationfolder</action>
3099 </actions>
3100 </object>
3101
3102 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003103 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003104 <placement x="%col3_x%" y="%row2_y%" />
3105 <font resource="font" color="%button_text_color%" />
3106 <text>chmod 755</text>
3107 <image resource="main_button" />
3108 <actions>
3109 <action function="set">tw_filemanager_command=chmod 755</action>
3110 <action function="set">tw_fm_text1=chmod 755</action>
3111 <action function="set">tw_fm_text2=</action>
3112 <action function="set">tw_fm_text3=</action>
3113 <action function="set">tw_include_text3=0</action>
3114 <action function="set">tw_back=filemanageroptions</action>
3115 <action function="page">filemanagerconfirm</action>
3116 </actions>
3117 </object>
3118
3119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003121 <placement x="%col4_x%" y="%row2_y%" />
3122 <font resource="font" color="%button_text_color%" />
3123 <text>chmod</text>
3124 <image resource="main_button" />
3125 <actions>
3126 <action function="set">tw_filemanager_rename=0000</action>
3127 <action function="set">tw_fm_text2=</action>
3128 <action function="set">tw_fm_text3=</action>
3129 <action function="set">tw_include_text3=0</action>
3130 <action function="set">tw_back=filemanageroptions</action>
3131 <action function="page">filemanagerchmod</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <placement x="%col1_x%" y="%row1_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>Delete</text>
3140 <image resource="main_button" />
3141 <actions>
3142 <action function="set">tw_filemanager_command=rm -rf</action>
3143 <action function="set">tw_fm_text1=Deleting</action>
3144 <action function="set">tw_fm_text2=</action>
3145 <action function="set">tw_fm_text3=</action>
3146 <action function="set">tw_include_text3=0</action>
3147 <action function="set">tw_back=filemanageroptions</action>
3148 <action function="page">filemanagerconfirm</action>
3149 </actions>
3150 </object>
3151
3152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003153 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003154 <condition var1="tw_fm_isfolder" var2="0" />
3155 <placement x="%col4_x%" y="%row1_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Rename File</text>
3158 <image resource="main_button" />
3159 <actions>
3160 <action function="set">tw_filemanager_rename=tw_selection1</action>
3161 <action function="set">tw_fm_text1=Renaming</action>
3162 <action function="set">tw_filemanager_command=mv</action>
3163 <action function="page">filemanagerrenamefile</action>
3164 </actions>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003169 <condition var1="tw_fm_isfolder" var2="1" />
3170 <placement x="%col4_x%" y="%row1_y%" />
3171 <font resource="font" color="%button_text_color%" />
3172 <text>Rename Folder</text>
3173 <image resource="main_button" />
3174 <actions>
3175 <action function="set">tw_filemanager_rename=tw_selection1</action>
3176 <action function="set">tw_fm_text1=Renaming</action>
3177 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3178 <action function="page">filemanagerrenamefolder</action>
3179 </actions>
3180 </object>
3181
3182 <object type="action">
3183 <touch key="home" />
3184 <action function="page">main</action>
3185 </object>
3186
3187 <object type="action">
3188 <touch key="back" />
3189 <action function="page">filemanagerlist</action>
3190 </object>
3191
3192 <object type="template" name="footer" />
3193 </page>
3194
3195 <page name="choosedestinationfolder">
3196 <object type="template" name="header" />
3197
3198 <object type="text" color="%text_color%">
3199 <font resource="font" />
3200 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3201 <text>Browse to Destination Folder & Press Select</text>
3202 </object>
3203
3204 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003205 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003206 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3207 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3208 <text>%tw_file_location2%</text>
3209 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3210 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003211 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003212 <icon folder="folder_icon" file="file_icon" />
3213 <background color="%fileselector_background%" />
3214 <filter folders="1" files="0" />
3215 <path name="tw_file_location2" default="/sdcard" />
3216 <data name="tw_filename2" />
3217 </object>
3218
3219 <object type="template" name="sort_options" />
3220
3221 <object type="action">
3222 <touch key="home" />
3223 <action function="page">main</action>
3224 </object>
3225
3226 <object type="action">
3227 <touch key="back" />
3228 <action function="page">filemanageroptions</action>
3229 </object>
3230
3231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text>Select Folder</text>
3236 <image resource="main_button" />
3237 <actions>
3238 <action function="set">tw_fm_text2=to</action>
3239 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3240 <action function="set">tw_include_text3=1</action>
3241 <action function="set">tw_back=filemanageroptions</action>
3242 <action function="page">filemanagerconfirm</action>
3243 </actions>
3244 </object>
3245
3246 <object type="template" name="footer" />
3247 </page>
3248
3249 <page name="filemanagerrenamefile">
3250 <object type="template" name="header" />
3251
3252 <object type="text" color="%text_color%">
3253 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3254 <font resource="font" />
3255 <text>Please Enter a New %tw_fm_type% Name</text>
3256 </object>
3257
3258 <object type="input">
3259 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3260 <background color="%input_background_color%" />
3261 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3262 <font resource="font" color="%text_color%" />
3263 <text>%tw_filemanager_rename%</text>
3264 <data name="tw_filemanager_rename" />
3265 <restrict minlen="1" maxlen="128" />
3266 <actions>
3267 <action function="set">tw_fm_text2=to</action>
3268 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3269 <action function="set">tw_include_text3=1</action>
3270 <action function="set">tw_back=filemanageroptions</action>
3271 <action function="page">filemanagerconfirm</action>
3272 </actions>
3273 </object>
3274
3275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003277 <placement x="%col_center_x%" y="%cancel_button_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>Cancel</text>
3280 <image resource="main_button" />
3281 <action function="page">filemanageroptions</action>
3282 </object>
3283
3284 <object type="template" name="keyboardtemplate" />
3285
3286 <object type="action">
3287 <touch key="home" />
3288 <action function="page">main</action>
3289 </object>
3290
3291 <object type="action">
3292 <touch key="back" />
3293 <action function="page">filemanageroptions</action>
3294 </object>
3295
3296 <object type="template" name="footer" />
3297 </page>
3298
3299 <page name="filemanagerrenamefolder">
3300 <object type="template" name="header" />
3301
3302 <object type="text" color="%text_color%">
3303 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3304 <font resource="font" />
3305 <text>Please Enter a New %tw_fm_type% Name</text>
3306 </object>
3307
3308 <object type="input">
3309 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3310 <background color="%input_background_color%" />
3311 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3312 <font resource="font" color="%text_color%" />
3313 <text>%tw_filemanager_rename%</text>
3314 <data name="tw_filemanager_rename" />
3315 <restrict minlen="1" maxlen="128" />
3316 <actions>
3317 <action function="set">tw_fm_text2=to</action>
3318 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3319 <action function="set">tw_include_text3=1</action>
3320 <action function="set">tw_back=filemanageroptions</action>
3321 <action function="page">filemanagerconfirm</action>
3322 </actions>
3323 </object>
3324
3325 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003326 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003327 <placement x="%col_center_x%" y="%cancel_button_y%" />
3328 <font resource="font" color="%button_text_color%" />
3329 <text>Cancel</text>
3330 <image resource="main_button" />
3331 <action function="page">filemanageroptions</action>
3332 </object>
3333
3334 <object type="template" name="keyboardtemplate" />
3335
3336 <object type="action">
3337 <touch key="home" />
3338 <action function="page">main</action>
3339 </object>
3340
3341 <object type="action">
3342 <touch key="back" />
3343 <action function="page">filemanageroptions</action>
3344 </object>
3345
3346 <object type="template" name="footer" />
3347 </page>
3348
3349 <page name="filemanagerchmod">
3350 <object type="template" name="header" />
3351
3352 <object type="text" color="%text_color%">
3353 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3354 <font resource="font" />
3355 <text>Please Enter New Permissions</text>
3356 </object>
3357
3358 <object type="input">
3359 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3360 <background color="%input_background_color%" />
3361 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3362 <font resource="font" color="%text_color%" />
3363 <text>%tw_filemanager_rename%</text>
3364 <data name="tw_filemanager_rename" />
3365 <restrict minlen="3" maxlen="4" allow="0123456789" />
3366 <actions>
3367 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3368 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3369 <action function="set">tw_back=filemanageroptions</action>
3370 <action function="page">filemanagerconfirm</action>
3371 </actions>
3372 </object>
3373
3374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003376 <placement x="%col_center_x%" y="%cancel_button_y%" />
3377 <font resource="font" color="%button_text_color%" />
3378 <text>Cancel</text>
3379 <image resource="main_button" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="keyboardtemplate" />
3384
3385 <object type="action">
3386 <touch key="home" />
3387 <action function="page">main</action>
3388 </object>
3389
3390 <object type="action">
3391 <touch key="back" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="footer" />
3396 </page>
3397
3398 <page name="filemanagerconfirm">
3399 <object type="template" name="header" />
3400
3401 <object type="text" color="%text_color%">
3402 <font resource="font" />
3403 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3404 <text>%tw_fm_text1%</text>
3405 </object>
3406
3407 <object type="text" color="%text_color%">
3408 <font resource="font" />
3409 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3410 <text>%tw_filename1%</text>
3411 </object>
3412
3413 <object type="text" color="%text_color%">
3414 <font resource="font" />
3415 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3416 <text>%tw_fm_text2%</text>
3417 </object>
3418
3419 <object type="text" color="%text_color%">
3420 <font resource="font" />
3421 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3422 <text>%tw_fm_text3%</text>
3423 </object>
3424
3425 <object type="text" color="%text_color%">
3426 <font resource="font" />
3427 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3428 <text>Press back button to cancel.</text>
3429 </object>
3430
3431 <object type="slider">
3432 <placement x="%slider_x%" y="%slider_y%" />
3433 <resource base="slider" used="slider-used" touch="slider-touch" />
3434 <action function="page">filemanageracction</action>
3435 </object>
3436
3437 <object type="text" color="%text_color%">
3438 <font resource="font" />
3439 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3440 <text>Swipe to Confirm</text>
3441 </object>
3442
3443 <object type="action">
3444 <touch key="back" />
3445 <action function="page">%tw_back%</action>
3446 </object>
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="template" name="footer" />
3454 </page>
3455
3456 <page name="filemanageracction">
3457 <object type="template" name="header" />
3458
3459 <object type="text" color="%text_color%">
3460 <font resource="font" />
3461 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3462 <text>%tw_fm_text1%</text>
3463 </object>
3464
3465 <object type="template" name="action_page_console" />
3466
3467 <object type="template" name="progress_bar" />
3468
3469 <object type="action">
3470 <conditions>
3471 <condition var1="tw_operation_state" var2="1" />
3472 <condition var1="tw_operation_status" var2="0" />
3473 </conditions>
3474 <actions>
3475 <action function="set">tw_back=filemanagerlist</action>
3476 <action function="set">tw_complete_text1=File Operation Complete</action>
3477 <action function="page">action_complete</action>
3478 </actions>
3479 </object>
3480
3481 <object type="action">
3482 <conditions>
3483 <condition var1="tw_operation_state" var2="1" />
3484 <condition var1="tw_operation_status" op="!=" var2="0" />
3485 </conditions>
3486 <actions>
3487 <action function="set">tw_complete_text1=File Operation Complete</action>
3488 <action function="page">action_complete</action>
3489 </actions>
3490 </object>
3491
3492 <object type="action">
3493 <condition var1="tw_include_text3" var2="0" />
3494 <actions>
3495 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3496 </actions>
3497 </object>
3498
3499 <object type="action">
3500 <condition var1="tw_include_text3" var2="1" />
3501 <actions>
3502 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3503 </actions>
3504 </object>
3505 </page>
3506
3507 <page name="decrypt">
3508 <object type="template" name="header" />
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3513 <text>Please Enter Your Password</text>
3514 </object>
3515
3516 <object type="input">
3517 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3518 <background color="%input_background_color%" />
3519 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3520 <font resource="font" color="%text_color%" />
3521 <text>%tw_crypto_display%</text>
3522 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3523 <restrict minlen="1" maxlen="254" />
3524 <actions>
3525 <action function="page">trydecrypt</action>
3526 </actions>
3527 </object>
3528
3529 <object type="text" color="%text_fail_color%">
3530 <condition var1="tw_password_fail" var2="1" />
3531 <font resource="font" />
3532 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3533 <text>Password Failed, Please Try Again</text>
3534 </object>
3535
3536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003538 <placement x="%col_center_x%" y="%cancel_button_y%" />
3539 <font resource="font" color="%button_text_color%" />
3540 <text>Cancel</text>
3541 <image resource="main_button" />
3542 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003543 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003544 <action function="page">main</action>
3545 </actions>
3546 </object>
3547
3548 <object type="template" name="keyboardtemplate" />
3549
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 <object type="template" name="footer" />
3551 </page>
3552
3553 <page name="trydecrypt">
3554 <object type="template" name="header" />
3555
3556 <object type="text" color="%text_color%">
3557 <font resource="font" />
3558 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3559 <text>Trying Decryption with Your Password</text>
3560 </object>
3561
3562 <object type="template" name="action_page_console" />
3563
3564 <object type="template" name="progress_bar" />
3565
3566 <object type="action">
3567 <action function="decrypt"></action>
3568 </object>
3569
3570 <object type="action">
3571 <conditions>
3572 <condition var1="tw_operation_state" var2="1" />
3573 <condition var1="tw_operation_status" op="!=" var2="0" />
3574 </conditions>
3575 <actions>
3576 <action function="set">tw_password_fail=1</action>
3577 <action function="page">decrypt</action>
3578 </actions>
3579 </object>
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" op="=" var2="0" />
3585 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003586 <actions>
3587 <action function="set">tw_page_done=1</action>
3588 <action function="page">main</action>
3589 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003590 </object>
3591 </page>
3592
3593 <page name="terminalfolder">
3594 <object type="template" name="header" />
3595
3596 <object type="text" color="%text_color%">
3597 <font resource="font" />
3598 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3599 <text>Browse to Starting Folder</text>
3600 </object>
3601
3602 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003603 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003604 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3605 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3606 <text>%tw_terminal_location%</text>
3607 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3608 <sort name="tw_gui_sort_order" />
3609 <icon folder="folder_icon" file="file_icon" />
3610 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003611 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003612 <filter folders="1" files="0" />
3613 <path name="tw_terminal_location" default="/" />
3614 <data name="tw_terminal" />
3615 <selection name="tw_terminal_selection" />
3616 </object>
3617
3618 <object type="template" name="sort_options" />
3619
3620 <object type="action">
3621 <touch key="home" />
3622 <action function="page">main</action>
3623 </object>
3624
3625 <object type="action">
3626 <touch key="back" />
3627 <action function="page">advanced</action>
3628 </object>
3629
3630 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003631 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003632 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3633 <font resource="font" color="%button_text_color%" />
3634 <text>Select Folder</text>
3635 <image resource="main_button" />
3636 <actions>
3637 <action function="page">terminalcommand</action>
3638 </actions>
3639 </object>
3640
3641 <object type="template" name="footer" />
3642 </page>
3643
3644 <page name="terminalcommand">
3645 <background color="#000000FF" />
3646
3647 <object type="console">
3648 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3649 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3650 <font resource="fixed" />
3651 </object>
3652
3653 <object type="text" color="%text_color%">
3654 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3655 <font resource="font" />
3656 <text>Starting Path: %tw_terminal_location%</text>
3657 </object>
3658
3659 <object type="input">
3660 <condition var1="tw_terminal_state" var2="0" />
3661 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3662 <background color="%input_background_color%" />
3663 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3664 <font resource="font" color="%text_color%" />
3665 <text>%tw_terminal_command%</text>
3666 <data name="tw_terminal_command" />
3667 <restrict minlen="1" />
3668 <action function="terminalcommand">%tw_terminal_command%</action>
3669 </object>
3670
3671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003673 <condition var1="tw_terminal_state" var2="1" />
3674 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3675 <font resource="font" color="%button_text_color%" />
3676 <text>KILL</text>
3677 <image resource="medium_button" />
3678 <action function="killterminal"></action>
3679 </object>
3680
3681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003683 <placement x="%home_button_x%" y="%terminal_button_y%" />
3684 <font resource="font" color="%button_text_color%" />
3685 <text></text>
3686 <image resource="home_icon" />
3687 <condition var1="tw_busy" var2="0" />
3688 <action function="key">home</action>
3689 </object>
3690
3691 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003692 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003693 <placement x="%back_button_x%" y="%terminal_button_y%" />
3694 <font resource="font" color="%button_text_color%" />
3695 <text></text>
3696 <image resource="back_icon" />
3697 <condition var1="tw_busy" var2="0" />
3698 <action function="key">back</action>
3699 </object>
3700
3701 <object type="action">
3702 <touch key="power" />
3703 <action function="overlay">lock</action>
3704 </object>
3705
3706 <object type="template" name="keyboardtemplate" />
3707
3708 <object type="action">
3709 <touch key="home" />
3710 <action function="page">main</action>
3711 </object>
3712
3713 <object type="action">
3714 <touch key="back" />
3715 <action function="page">terminalfolder</action>
3716 </object>
3717 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003718
3719 <page name="sideload">
3720 <object type="template" name="header" />
3721
3722 <object type="text" color="%text_color%">
3723 <font resource="font" />
3724 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3725 <text>ADB Sideload</text>
3726 </object>
3727
3728 <object type="checkbox">
3729 <placement x="%col1_x%" y="%row3_text_y%" />
3730 <font resource="font" color="%text_color%" />
3731 <text>Wipe Dalvik Cache.</text>
3732 <data variable="tw_wipe_dalvik" />
3733 <image checked="checkbox_true" unchecked="checkbox_false" />
3734 </object>
3735
3736 <object type="checkbox">
3737 <placement x="%col1_x%" y="%row4_text_y%" />
3738 <font resource="font" color="%text_color%" />
3739 <text>Wipe Cache.</text>
3740 <data variable="tw_wipe_cache" />
3741 <image checked="checkbox_true" unchecked="checkbox_false" />
3742 </object>
3743
3744 <object type="slider">
3745 <placement x="%slider_x%" y="%slider_y%" />
3746 <resource base="slider" used="slider-used" touch="slider-touch" />
3747 <actions>
3748 <action function="set">tw_back=advanced</action>
3749 <action function="set">tw_action=adbsideload</action>
3750 <action function="set">tw_action_text1=ADB Sideload</action>
3751 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3752 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3753 <action function="set">tw_has_cancel=1</action>
3754 <action function="set">tw_show_reboot=1</action>
3755 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3756 <action function="page">action_page</action>
3757 </actions>
3758 </object>
3759
3760 <object type="text" color="%text_color%">
3761 <font resource="font" />
3762 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3763 <text>Swipe to Start Sideload</text>
3764 </object>
3765
3766 <object type="action">
3767 <touch key="home" />
3768 <action function="page">main</action>
3769 </object>
3770
3771 <object type="action">
3772 <touch key="back" />
3773 <action function="page">advanced</action>
3774 </object>
3775
3776 <object type="template" name="footer" />
3777 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003778 </pages>
3779</recovery>