blob: 342b14e8e69de5d1087838a0783c4f0ad3a9d127 [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">
2508 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2509 <icon selected="radio_true" unselected="radio_false" />
2510 <background color="%listbox_background%" />
2511 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2512 <data name="tw_time_zone_guisel" />
2513 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2514 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2515 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2516 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2517 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2518 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2519 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2520 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2521 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2522 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2523 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2524 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2525 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2526 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2527 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2528 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2529 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2530 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2531 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2532 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2533 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2534 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2535 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2536 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2537 </object>
2538
2539 <object type="checkbox">
2540 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2541 <font resource="font" color="%text_color%" />
2542 <text>Do you use daylight savings time (DST)?</text>
2543 <data variable="tw_time_zone_guidst" />
2544 <image checked="checkbox_true" unchecked="checkbox_false" />
2545 </object>
2546
2547 <object type="text" color="%text_color%">
2548 <font resource="font" />
2549 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2550 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2551 </object>
2552
2553 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002554 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2556 <font resource="font" color="%button_text_color%" />
2557 <text>0</text>
2558 <image resource="medium_button" />
2559 <action function="set">tw_time_zone_guioffset=0</action>
2560 </object>
2561
2562 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002563 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002564 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2565 <font resource="font" color="%button_text_color%" />
2566 <text>15</text>
2567 <image resource="medium_button" />
2568 <action function="set">tw_time_zone_guioffset=15</action>
2569 </object>
2570
2571 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002572 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002573 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2574 <font resource="font" color="%button_text_color%" />
2575 <text>30</text>
2576 <image resource="medium_button" />
2577 <action function="set">tw_time_zone_guioffset=30</action>
2578 </object>
2579
2580 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002581 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002582 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2583 <font resource="font" color="%button_text_color%" />
2584 <text>45</text>
2585 <image resource="medium_button" />
2586 <action function="set">tw_time_zone_guioffset=45</action>
2587 </object>
2588
2589 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002590 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <placement x="%col4_x%" y="%row2_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>Set Time Zone</text>
2594 <image resource="main_button" />
2595 <action function="setguitimezone"></action>
2596 </object>
2597
2598 <object type="text" color="%text_color%">
2599 <font resource="font" />
2600 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2601 <text>Current Time Zone: %tw_time_zone%</text>
2602 </object>
2603
2604 <object type="action">
2605 <touch key="home" />
2606 <action function="page">main</action>
2607 </object>
2608
2609 <object type="action">
2610 <touch key="back" />
2611 <action function="page">settings</action>
2612 </object>
2613
2614 <object type="template" name="footer" />
2615 </page>
2616
2617 <page name="advanced">
2618 <object type="template" name="header" />
2619
2620 <object type="text" color="%text_color%">
2621 <font resource="font" />
2622 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2623 <text>Advanced</text>
2624 </object>
2625
2626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002628 <placement x="%col1_x%" y="%row1_y%" />
2629 <font resource="font" color="%button_text_color%" />
2630 <text>Copy Log to SD</text>
2631 <image resource="main_button" />
2632 <actions>
2633 <action function="set">tw_back=advanced</action>
2634 <action function="set">tw_action=copylog</action>
2635 <action function="set">tw_text1=Copy Log to SD Card?</action>
2636 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2637 <action function="set">tw_complete_text1=Log Copy Complete</action>
2638 <action function="set">tw_slider_text=Swipe to Confirm</action>
2639 <action function="page">confirm_action</action>
2640 </actions>
2641 </object>
2642
2643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <placement x="%col2_x%" y="%row1_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>Fix Permissions</text>
2648 <image resource="main_button" />
2649 <actions>
2650 <action function="set">tw_back=advanced</action>
2651 <action function="set">tw_action=fixpermissions</action>
2652 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002653 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002654 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2655 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002656 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002657 <action function="page">confirm_action</action>
2658 </actions>
2659 </object>
2660
2661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002662 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002663 <placement x="%col3_x%" y="%row1_y%" />
2664 <font resource="font" color="%button_text_color%" />
2665 <text>Terminal Command</text>
2666 <image resource="main_button" />
2667 <action function="page">terminalfolder</action>
2668 </object>
2669
2670 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002671 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002672 <placement x="%col4_x%" y="%row1_y%" />
2673 <font resource="font" color="%button_text_color%" />
2674 <text>ADB Sideload</text>
2675 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002676 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002677 </object>
2678
2679 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002680 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002681 <condition var1="tw_allow_partition_sdcard" var2="1" />
2682 <placement x="%col1_x%" y="%row2_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text>Partition SD Card</text>
2685 <image resource="main_button" />
2686 <action function="page">partsdcard</action>
2687 </object>
2688
2689 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002690 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <placement x="%col2_x%" y="%row2_y%" />
2692 <font resource="font" color="%button_text_color%" />
2693 <text>File Manager</text>
2694 <image resource="main_button" />
2695 <action function="page">filemanagerlist</action>
2696 </object>
2697
2698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002699 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002700 <placement x="%col3_x%" y="%row2_y%" />
2701 <font resource="font" color="%button_text_color%" />
2702 <text>Reload Theme</text>
2703 <image resource="main_button" />
2704 <action function="reload"></action>
2705 </object>
2706
2707 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002708 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002709 <condition var1="tw_show_dumlock" var2="1" />
2710 <placement x="%col4_x%" y="%row2_y%" />
2711 <font resource="font" color="%button_text_color%" />
2712 <text>HTC Dumlock</text>
2713 <image resource="main_button" />
2714 <action function="page">htcdumlock</action>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="home" />
2719 <action function="page">main</action>
2720 </object>
2721
2722 <object type="action">
2723 <touch key="back" />
2724 <action function="page">main</action>
2725 </object>
2726
2727 <object type="template" name="footer" />
2728 </page>
2729
2730 <page name="partsdcard">
2731 <object type="template" name="header" />
2732
2733 <object type="text" color="%text_color%">
2734 <font resource="font" />
2735 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2736 <text>Partition SD Card</text>
2737 </object>
2738
2739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002741 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2742 <font resource="font" color="%button_text_color%" />
2743 <text></text>
2744 <image resource="minus_button" />
2745 <action function="addsubtract">tw_sdext_size-128</action>
2746 </object>
2747
2748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2751 <font resource="font" color="%button_text_color%" />
2752 <text></text>
2753 <image resource="plus_button" />
2754 <action function="addsubtract">tw_sdext_size+128</action>
2755 </object>
2756
2757 <object type="text" color="%text_color%">
2758 <font resource="font" />
2759 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2760 <text>EXT Size: %tw_sdext_size%</text>
2761 </object>
2762
2763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2766 <font resource="font" color="%button_text_color%" />
2767 <text></text>
2768 <image resource="minus_button" />
2769 <action function="addsubtract">tw_swap_size-32</action>
2770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2775 <font resource="font" color="%button_text_color%" />
2776 <text></text>
2777 <image resource="plus_button" />
2778 <action function="addsubtract">tw_swap_size+32</action>
2779 </object>
2780
2781 <object type="text" color="%text_color%">
2782 <font resource="font" />
2783 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2784 <text>Swap Size: %tw_swap_size%</text>
2785 </object>
2786
2787 <object type="text" color="%text_color%">
2788 <font resource="font" />
2789 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2790 <text>File system: %tw_sdpart_file_system%</text>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>EXT3</text>
2798 <image resource="medium_button" />
2799 <action function="set">tw_sdpart_file_system=ext3</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <condition var1="tw_sdext_disable_ext4" var2="0" />
2805 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>EXT4</text>
2808 <image resource="medium_button" />
2809 <action function="set">tw_sdpart_file_system=ext4</action>
2810 </object>
2811
2812 <object type="text" color="%text_color%">
2813 <font resource="font" />
2814 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2815 <text>You will lose all files on your SD card!</text>
2816 </object>
2817
2818 <object type="text" color="%text_color%">
2819 <font resource="font" />
2820 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2821 <text>This action cannot be undone!</text>
2822 </object>
2823
2824 <object type="slider">
2825 <placement x="%slider_x%" y="%slider_y%" />
2826 <resource base="slider" used="slider-used" touch="slider-touch" />
2827 <actions>
2828 <action function="set">tw_back=partsdcard</action>
2829 <action function="set">tw_action=partitionsd</action>
2830 <action function="set">tw_has_action2=1</action>
2831 <action function="set">tw_action2=set</action>
2832 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2833 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2834 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002835 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002836 <action function="page">action_page</action>
2837 </actions>
2838 </object>
2839
2840 <object type="text" color="%text_color%">
2841 <font resource="font" />
2842 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2843 <text>Swipe to Confirm Partition</text>
2844 </object>
2845
2846 <object type="action">
2847 <touch key="home" />
2848 <action function="page">main</action>
2849 </object>
2850
2851 <object type="action">
2852 <touch key="back" />
2853 <action function="page">advanced</action>
2854 </object>
2855
2856 <object type="template" name="footer" />
2857 </page>
2858
2859
2860 <page name="htcdumlock">
2861 <object type="template" name="header" />
2862
2863 <object type="text" color="%text_color%">
2864 <font resource="font" />
2865 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2866 <text>HTC Dumlock</text>
2867 </object>
2868
2869 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002870 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002871 <condition var1="tw_show_dumlock" var2="1" />
2872 <placement x="%col1_x%" y="%row1_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text>Restore Original Boot</text>
2875 <image resource="main_button" />
2876 <actions>
2877 <action function="set">tw_back=htcdumlock</action>
2878 <action function="set">tw_action=htcdumlockrestoreboot</action>
2879 <action function="set">tw_text1=Restore original boot image?</action>
2880 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2881 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2882 <action function="set">tw_slider_text=Swipe to Confirm</action>
2883 <action function="page">confirm_action</action>
2884 </actions>
2885 </object>
2886
2887 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002888 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002889 <condition var1="tw_show_dumlock" var2="1" />
2890 <placement x="%col2_x%" y="%row1_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text>Reflash Recovery->Boot</text>
2893 <image resource="main_button" />
2894 <actions>
2895 <action function="set">tw_back=htcdumlock</action>
2896 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2897 <action function="set">tw_text1=Reflash recovery to boot?</action>
2898 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2899 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2900 <action function="set">tw_slider_text=Swipe to Confirm</action>
2901 <action function="page">confirm_action</action>
2902 </actions>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <condition var1="tw_show_dumlock" var2="1" />
2908 <placement x="%col1_x%" y="%row2_y%" />
2909 <font resource="font" color="%button_text_color%" />
2910 <text>Install HTC Dumlock</text>
2911 <image resource="main_button" />
2912 <actions>
2913 <action function="set">tw_back=htcdumlock</action>
2914 <action function="set">tw_action=installhtcdumlock</action>
2915 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2916 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2917 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2918 <action function="set">tw_slider_text=Swipe to Confirm</action>
2919 <action function="page">confirm_action</action>
2920 </actions>
2921 </object>
2922
2923 <object type="action">
2924 <touch key="home" />
2925 <action function="page">main</action>
2926 </object>
2927
2928 <object type="action">
2929 <touch key="back" />
2930 <action function="page">advanced</action>
2931 </object>
2932
2933 <object type="template" name="footer" />
2934 </page>
2935
2936 <page name="lock">
2937 <background color="#000000A0" />
2938
2939 <object type="image">
2940 <image resource="unlock-icon" />
2941 <placement x="%lock_x%" y="%lock_y%" />
2942 </object>
2943
2944 <object type="slider">
2945 <placement x="%slider_x%" y="%slider_y%" />
2946 <resource base="slider" used="slider-used" touch="slider-touch" />
2947 <action function="overlay"></action>
2948 </object>
2949
2950 <object type="text" color="%text_color%">
2951 <font resource="font" />
2952 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2953 <text>Swipe to Unlock</text>
2954 </object>
2955 </page>
2956
2957
2958 <page name="filemanagerlist">
2959 <object type="template" name="header" />
2960
2961 <object type="text" color="%text_color%">
2962 <font resource="font" />
2963 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2964 <text>File Manager: Select a File or Folder</text>
2965 </object>
2966
2967 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002968 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002969 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2970 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2971 <text>Folders:</text>
2972 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2973 <sort name="tw_gui_sort_order" />
2974 <icon folder="folder_icon" file="file_icon" />
2975 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002976 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002977 <filter folders="1" files="0" />
2978 <path name="tw_file_location1" default="/sdcard" />
2979 <data name="select" />
2980 <selection name="tw_selection1" />
2981 </object>
2982
2983 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002984 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002985 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2986 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2987 <text>%tw_file_location1%</text>
2988 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2989 <sort name="tw_gui_sort_order" />
2990 <icon folder="folder_icon" file="file_icon" />
2991 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002992 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002993 <filter folders="0" files="1" />
2994 <path name="tw_file_location1" default="/" />
2995 <data name="tw_filename1" />
2996 <selection name="tw_selection1" />
2997 </object>
2998
2999 <object type="template" name="sort_options" />
3000
3001 <object type="action">
3002 <actions>
3003 <action function="set">tw_fm_type=File</action>
3004 <action function="set">tw_fm_isfolder=0</action>
3005 </actions>
3006 </object>
3007
3008 <object type="action">
3009 <touch key="home" />
3010 <action function="page">main</action>
3011 </object>
3012
3013 <object type="action">
3014 <touch key="back" />
3015 <action function="page">advanced</action>
3016 </object>
3017
3018 <object type="action">
3019 <condition var1="tw_filename1" op="modified" />
3020 <actions>
3021 <action function="page">filemanageroptions</action>
3022 </actions>
3023 </object>
3024
3025 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003026 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003027 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3028 <font resource="font" color="%button_text_color%" />
3029 <text>Select Folder</text>
3030 <image resource="main_button" />
3031 <actions>
3032 <action function="set">tw_filename1=tw_file_location1</action>
3033 <action function="set">tw_fm_isfolder=1</action>
3034 <action function="set">tw_fm_type=Folder</action>
3035 <action function="page">filemanageroptions</action>
3036 </actions>
3037 </object>
3038
3039 <object type="template" name="footer" />
3040 </page>
3041
3042 <page name="filemanageroptions">
3043 <object type="template" name="header" />
3044
3045 <object type="text" color="%text_color%">
3046 <font resource="font" />
3047 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3048 <text>%tw_fm_type% Selected:</text>
3049 </object>
3050
3051 <object type="text" color="%text_color%">
3052 <font resource="font" />
3053 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3054 <text>%tw_filename1%</text>
3055 </object>
3056
3057 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003058 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003059 <condition var1="tw_fm_isfolder" var2="0" />
3060 <placement x="%col1_x%" y="%row2_y%" />
3061 <font resource="font" color="%button_text_color%" />
3062 <text>Copy File</text>
3063 <image resource="main_button" />
3064 <actions>
3065 <action function="set">tw_filemanager_command=cp</action>
3066 <action function="set">tw_fm_text1=Copying</action>
3067 <action function="page">choosedestinationfolder</action>
3068 </actions>
3069 </object>
3070
3071 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003072 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003073 <condition var1="tw_fm_isfolder" var2="1" />
3074 <placement x="%col1_x%" y="%row2_y%" />
3075 <font resource="font" color="%button_text_color%" />
3076 <text>Copy Folder</text>
3077 <image resource="main_button" />
3078 <actions>
3079 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3080 <action function="set">tw_fm_text1=Copying</action>
3081 <action function="page">choosedestinationfolder</action>
3082 </actions>
3083 </object>
3084
3085 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003086 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <placement x="%col2_x%" y="%row2_y%" />
3088 <font resource="font" color="%button_text_color%" />
3089 <text>Move</text>
3090 <image resource="main_button" />
3091 <actions>
3092 <action function="set">tw_filemanager_command=mv</action>
3093 <action function="set">tw_fm_text1=Moving</action>
3094 <action function="page">choosedestinationfolder</action>
3095 </actions>
3096 </object>
3097
3098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003099 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003100 <placement x="%col3_x%" y="%row2_y%" />
3101 <font resource="font" color="%button_text_color%" />
3102 <text>chmod 755</text>
3103 <image resource="main_button" />
3104 <actions>
3105 <action function="set">tw_filemanager_command=chmod 755</action>
3106 <action function="set">tw_fm_text1=chmod 755</action>
3107 <action function="set">tw_fm_text2=</action>
3108 <action function="set">tw_fm_text3=</action>
3109 <action function="set">tw_include_text3=0</action>
3110 <action function="set">tw_back=filemanageroptions</action>
3111 <action function="page">filemanagerconfirm</action>
3112 </actions>
3113 </object>
3114
3115 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003116 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003117 <placement x="%col4_x%" y="%row2_y%" />
3118 <font resource="font" color="%button_text_color%" />
3119 <text>chmod</text>
3120 <image resource="main_button" />
3121 <actions>
3122 <action function="set">tw_filemanager_rename=0000</action>
3123 <action function="set">tw_fm_text2=</action>
3124 <action function="set">tw_fm_text3=</action>
3125 <action function="set">tw_include_text3=0</action>
3126 <action function="set">tw_back=filemanageroptions</action>
3127 <action function="page">filemanagerchmod</action>
3128 </actions>
3129 </object>
3130
3131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003133 <placement x="%col1_x%" y="%row1_y%" />
3134 <font resource="font" color="%button_text_color%" />
3135 <text>Delete</text>
3136 <image resource="main_button" />
3137 <actions>
3138 <action function="set">tw_filemanager_command=rm -rf</action>
3139 <action function="set">tw_fm_text1=Deleting</action>
3140 <action function="set">tw_fm_text2=</action>
3141 <action function="set">tw_fm_text3=</action>
3142 <action function="set">tw_include_text3=0</action>
3143 <action function="set">tw_back=filemanageroptions</action>
3144 <action function="page">filemanagerconfirm</action>
3145 </actions>
3146 </object>
3147
3148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003150 <condition var1="tw_fm_isfolder" var2="0" />
3151 <placement x="%col4_x%" y="%row1_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Rename File</text>
3154 <image resource="main_button" />
3155 <actions>
3156 <action function="set">tw_filemanager_rename=tw_selection1</action>
3157 <action function="set">tw_fm_text1=Renaming</action>
3158 <action function="set">tw_filemanager_command=mv</action>
3159 <action function="page">filemanagerrenamefile</action>
3160 </actions>
3161 </object>
3162
3163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003165 <condition var1="tw_fm_isfolder" var2="1" />
3166 <placement x="%col4_x%" y="%row1_y%" />
3167 <font resource="font" color="%button_text_color%" />
3168 <text>Rename Folder</text>
3169 <image resource="main_button" />
3170 <actions>
3171 <action function="set">tw_filemanager_rename=tw_selection1</action>
3172 <action function="set">tw_fm_text1=Renaming</action>
3173 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3174 <action function="page">filemanagerrenamefolder</action>
3175 </actions>
3176 </object>
3177
3178 <object type="action">
3179 <touch key="home" />
3180 <action function="page">main</action>
3181 </object>
3182
3183 <object type="action">
3184 <touch key="back" />
3185 <action function="page">filemanagerlist</action>
3186 </object>
3187
3188 <object type="template" name="footer" />
3189 </page>
3190
3191 <page name="choosedestinationfolder">
3192 <object type="template" name="header" />
3193
3194 <object type="text" color="%text_color%">
3195 <font resource="font" />
3196 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3197 <text>Browse to Destination Folder & Press Select</text>
3198 </object>
3199
3200 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003201 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3204 <text>%tw_file_location2%</text>
3205 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3206 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003207 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003208 <icon folder="folder_icon" file="file_icon" />
3209 <background color="%fileselector_background%" />
3210 <filter folders="1" files="0" />
3211 <path name="tw_file_location2" default="/sdcard" />
3212 <data name="tw_filename2" />
3213 </object>
3214
3215 <object type="template" name="sort_options" />
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">filemanageroptions</action>
3225 </object>
3226
3227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003229 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3230 <font resource="font" color="%button_text_color%" />
3231 <text>Select Folder</text>
3232 <image resource="main_button" />
3233 <actions>
3234 <action function="set">tw_fm_text2=to</action>
3235 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3236 <action function="set">tw_include_text3=1</action>
3237 <action function="set">tw_back=filemanageroptions</action>
3238 <action function="page">filemanagerconfirm</action>
3239 </actions>
3240 </object>
3241
3242 <object type="template" name="footer" />
3243 </page>
3244
3245 <page name="filemanagerrenamefile">
3246 <object type="template" name="header" />
3247
3248 <object type="text" color="%text_color%">
3249 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3250 <font resource="font" />
3251 <text>Please Enter a New %tw_fm_type% Name</text>
3252 </object>
3253
3254 <object type="input">
3255 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3256 <background color="%input_background_color%" />
3257 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3258 <font resource="font" color="%text_color%" />
3259 <text>%tw_filemanager_rename%</text>
3260 <data name="tw_filemanager_rename" />
3261 <restrict minlen="1" maxlen="128" />
3262 <actions>
3263 <action function="set">tw_fm_text2=to</action>
3264 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3265 <action function="set">tw_include_text3=1</action>
3266 <action function="set">tw_back=filemanageroptions</action>
3267 <action function="page">filemanagerconfirm</action>
3268 </actions>
3269 </object>
3270
3271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003273 <placement x="%col_center_x%" y="%cancel_button_y%" />
3274 <font resource="font" color="%button_text_color%" />
3275 <text>Cancel</text>
3276 <image resource="main_button" />
3277 <action function="page">filemanageroptions</action>
3278 </object>
3279
3280 <object type="template" name="keyboardtemplate" />
3281
3282 <object type="action">
3283 <touch key="home" />
3284 <action function="page">main</action>
3285 </object>
3286
3287 <object type="action">
3288 <touch key="back" />
3289 <action function="page">filemanageroptions</action>
3290 </object>
3291
3292 <object type="template" name="footer" />
3293 </page>
3294
3295 <page name="filemanagerrenamefolder">
3296 <object type="template" name="header" />
3297
3298 <object type="text" color="%text_color%">
3299 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3300 <font resource="font" />
3301 <text>Please Enter a New %tw_fm_type% Name</text>
3302 </object>
3303
3304 <object type="input">
3305 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3306 <background color="%input_background_color%" />
3307 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3308 <font resource="font" color="%text_color%" />
3309 <text>%tw_filemanager_rename%</text>
3310 <data name="tw_filemanager_rename" />
3311 <restrict minlen="1" maxlen="128" />
3312 <actions>
3313 <action function="set">tw_fm_text2=to</action>
3314 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3315 <action function="set">tw_include_text3=1</action>
3316 <action function="set">tw_back=filemanageroptions</action>
3317 <action function="page">filemanagerconfirm</action>
3318 </actions>
3319 </object>
3320
3321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003323 <placement x="%col_center_x%" y="%cancel_button_y%" />
3324 <font resource="font" color="%button_text_color%" />
3325 <text>Cancel</text>
3326 <image resource="main_button" />
3327 <action function="page">filemanageroptions</action>
3328 </object>
3329
3330 <object type="template" name="keyboardtemplate" />
3331
3332 <object type="action">
3333 <touch key="home" />
3334 <action function="page">main</action>
3335 </object>
3336
3337 <object type="action">
3338 <touch key="back" />
3339 <action function="page">filemanageroptions</action>
3340 </object>
3341
3342 <object type="template" name="footer" />
3343 </page>
3344
3345 <page name="filemanagerchmod">
3346 <object type="template" name="header" />
3347
3348 <object type="text" color="%text_color%">
3349 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3350 <font resource="font" />
3351 <text>Please Enter New Permissions</text>
3352 </object>
3353
3354 <object type="input">
3355 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3356 <background color="%input_background_color%" />
3357 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3358 <font resource="font" color="%text_color%" />
3359 <text>%tw_filemanager_rename%</text>
3360 <data name="tw_filemanager_rename" />
3361 <restrict minlen="3" maxlen="4" allow="0123456789" />
3362 <actions>
3363 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3364 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3365 <action function="set">tw_back=filemanageroptions</action>
3366 <action function="page">filemanagerconfirm</action>
3367 </actions>
3368 </object>
3369
3370 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003371 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003372 <placement x="%col_center_x%" y="%cancel_button_y%" />
3373 <font resource="font" color="%button_text_color%" />
3374 <text>Cancel</text>
3375 <image resource="main_button" />
3376 <action function="page">filemanageroptions</action>
3377 </object>
3378
3379 <object type="template" name="keyboardtemplate" />
3380
3381 <object type="action">
3382 <touch key="home" />
3383 <action function="page">main</action>
3384 </object>
3385
3386 <object type="action">
3387 <touch key="back" />
3388 <action function="page">filemanageroptions</action>
3389 </object>
3390
3391 <object type="template" name="footer" />
3392 </page>
3393
3394 <page name="filemanagerconfirm">
3395 <object type="template" name="header" />
3396
3397 <object type="text" color="%text_color%">
3398 <font resource="font" />
3399 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3400 <text>%tw_fm_text1%</text>
3401 </object>
3402
3403 <object type="text" color="%text_color%">
3404 <font resource="font" />
3405 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3406 <text>%tw_filename1%</text>
3407 </object>
3408
3409 <object type="text" color="%text_color%">
3410 <font resource="font" />
3411 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3412 <text>%tw_fm_text2%</text>
3413 </object>
3414
3415 <object type="text" color="%text_color%">
3416 <font resource="font" />
3417 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3418 <text>%tw_fm_text3%</text>
3419 </object>
3420
3421 <object type="text" color="%text_color%">
3422 <font resource="font" />
3423 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3424 <text>Press back button to cancel.</text>
3425 </object>
3426
3427 <object type="slider">
3428 <placement x="%slider_x%" y="%slider_y%" />
3429 <resource base="slider" used="slider-used" touch="slider-touch" />
3430 <action function="page">filemanageracction</action>
3431 </object>
3432
3433 <object type="text" color="%text_color%">
3434 <font resource="font" />
3435 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3436 <text>Swipe to Confirm</text>
3437 </object>
3438
3439 <object type="action">
3440 <touch key="back" />
3441 <action function="page">%tw_back%</action>
3442 </object>
3443
3444 <object type="action">
3445 <touch key="home" />
3446 <action function="page">main</action>
3447 </object>
3448
3449 <object type="template" name="footer" />
3450 </page>
3451
3452 <page name="filemanageracction">
3453 <object type="template" name="header" />
3454
3455 <object type="text" color="%text_color%">
3456 <font resource="font" />
3457 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3458 <text>%tw_fm_text1%</text>
3459 </object>
3460
3461 <object type="template" name="action_page_console" />
3462
3463 <object type="template" name="progress_bar" />
3464
3465 <object type="action">
3466 <conditions>
3467 <condition var1="tw_operation_state" var2="1" />
3468 <condition var1="tw_operation_status" var2="0" />
3469 </conditions>
3470 <actions>
3471 <action function="set">tw_back=filemanagerlist</action>
3472 <action function="set">tw_complete_text1=File Operation Complete</action>
3473 <action function="page">action_complete</action>
3474 </actions>
3475 </object>
3476
3477 <object type="action">
3478 <conditions>
3479 <condition var1="tw_operation_state" var2="1" />
3480 <condition var1="tw_operation_status" op="!=" var2="0" />
3481 </conditions>
3482 <actions>
3483 <action function="set">tw_complete_text1=File Operation Complete</action>
3484 <action function="page">action_complete</action>
3485 </actions>
3486 </object>
3487
3488 <object type="action">
3489 <condition var1="tw_include_text3" var2="0" />
3490 <actions>
3491 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3492 </actions>
3493 </object>
3494
3495 <object type="action">
3496 <condition var1="tw_include_text3" var2="1" />
3497 <actions>
3498 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3499 </actions>
3500 </object>
3501 </page>
3502
3503 <page name="decrypt">
3504 <object type="template" name="header" />
3505
3506 <object type="text" color="%text_color%">
3507 <font resource="font" />
3508 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3509 <text>Please Enter Your Password</text>
3510 </object>
3511
3512 <object type="input">
3513 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3514 <background color="%input_background_color%" />
3515 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3516 <font resource="font" color="%text_color%" />
3517 <text>%tw_crypto_display%</text>
3518 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3519 <restrict minlen="1" maxlen="254" />
3520 <actions>
3521 <action function="page">trydecrypt</action>
3522 </actions>
3523 </object>
3524
3525 <object type="text" color="%text_fail_color%">
3526 <condition var1="tw_password_fail" var2="1" />
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3529 <text>Password Failed, Please Try Again</text>
3530 </object>
3531
3532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003533 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003534 <placement x="%col_center_x%" y="%cancel_button_y%" />
3535 <font resource="font" color="%button_text_color%" />
3536 <text>Cancel</text>
3537 <image resource="main_button" />
3538 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003539 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003540 <action function="page">main</action>
3541 </actions>
3542 </object>
3543
3544 <object type="template" name="keyboardtemplate" />
3545
Dees_Troy51a0e822012-09-05 15:24:24 -04003546 <object type="template" name="footer" />
3547 </page>
3548
3549 <page name="trydecrypt">
3550 <object type="template" name="header" />
3551
3552 <object type="text" color="%text_color%">
3553 <font resource="font" />
3554 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3555 <text>Trying Decryption with Your Password</text>
3556 </object>
3557
3558 <object type="template" name="action_page_console" />
3559
3560 <object type="template" name="progress_bar" />
3561
3562 <object type="action">
3563 <action function="decrypt"></action>
3564 </object>
3565
3566 <object type="action">
3567 <conditions>
3568 <condition var1="tw_operation_state" var2="1" />
3569 <condition var1="tw_operation_status" op="!=" var2="0" />
3570 </conditions>
3571 <actions>
3572 <action function="set">tw_password_fail=1</action>
3573 <action function="page">decrypt</action>
3574 </actions>
3575 </object>
3576
3577 <object type="action">
3578 <conditions>
3579 <condition var1="tw_operation_state" var2="1" />
3580 <condition var1="tw_operation_status" op="=" var2="0" />
3581 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003582 <actions>
3583 <action function="set">tw_page_done=1</action>
3584 <action function="page">main</action>
3585 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003586 </object>
3587 </page>
3588
3589 <page name="terminalfolder">
3590 <object type="template" name="header" />
3591
3592 <object type="text" color="%text_color%">
3593 <font resource="font" />
3594 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3595 <text>Browse to Starting Folder</text>
3596 </object>
3597
3598 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003599 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003600 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3601 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3602 <text>%tw_terminal_location%</text>
3603 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3604 <sort name="tw_gui_sort_order" />
3605 <icon folder="folder_icon" file="file_icon" />
3606 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003607 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003608 <filter folders="1" files="0" />
3609 <path name="tw_terminal_location" default="/" />
3610 <data name="tw_terminal" />
3611 <selection name="tw_terminal_selection" />
3612 </object>
3613
3614 <object type="template" name="sort_options" />
3615
3616 <object type="action">
3617 <touch key="home" />
3618 <action function="page">main</action>
3619 </object>
3620
3621 <object type="action">
3622 <touch key="back" />
3623 <action function="page">advanced</action>
3624 </object>
3625
3626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3629 <font resource="font" color="%button_text_color%" />
3630 <text>Select Folder</text>
3631 <image resource="main_button" />
3632 <actions>
3633 <action function="page">terminalcommand</action>
3634 </actions>
3635 </object>
3636
3637 <object type="template" name="footer" />
3638 </page>
3639
3640 <page name="terminalcommand">
3641 <background color="#000000FF" />
3642
3643 <object type="console">
3644 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3645 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3646 <font resource="fixed" />
3647 </object>
3648
3649 <object type="text" color="%text_color%">
3650 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3651 <font resource="font" />
3652 <text>Starting Path: %tw_terminal_location%</text>
3653 </object>
3654
3655 <object type="input">
3656 <condition var1="tw_terminal_state" var2="0" />
3657 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3658 <background color="%input_background_color%" />
3659 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3660 <font resource="font" color="%text_color%" />
3661 <text>%tw_terminal_command%</text>
3662 <data name="tw_terminal_command" />
3663 <restrict minlen="1" />
3664 <action function="terminalcommand">%tw_terminal_command%</action>
3665 </object>
3666
3667 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003668 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003669 <condition var1="tw_terminal_state" var2="1" />
3670 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3671 <font resource="font" color="%button_text_color%" />
3672 <text>KILL</text>
3673 <image resource="medium_button" />
3674 <action function="killterminal"></action>
3675 </object>
3676
3677 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003678 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003679 <placement x="%home_button_x%" y="%terminal_button_y%" />
3680 <font resource="font" color="%button_text_color%" />
3681 <text></text>
3682 <image resource="home_icon" />
3683 <condition var1="tw_busy" var2="0" />
3684 <action function="key">home</action>
3685 </object>
3686
3687 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003688 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003689 <placement x="%back_button_x%" y="%terminal_button_y%" />
3690 <font resource="font" color="%button_text_color%" />
3691 <text></text>
3692 <image resource="back_icon" />
3693 <condition var1="tw_busy" var2="0" />
3694 <action function="key">back</action>
3695 </object>
3696
3697 <object type="action">
3698 <touch key="power" />
3699 <action function="overlay">lock</action>
3700 </object>
3701
3702 <object type="template" name="keyboardtemplate" />
3703
3704 <object type="action">
3705 <touch key="home" />
3706 <action function="page">main</action>
3707 </object>
3708
3709 <object type="action">
3710 <touch key="back" />
3711 <action function="page">terminalfolder</action>
3712 </object>
3713 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003714
3715 <page name="sideload">
3716 <object type="template" name="header" />
3717
3718 <object type="text" color="%text_color%">
3719 <font resource="font" />
3720 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3721 <text>ADB Sideload</text>
3722 </object>
3723
3724 <object type="checkbox">
3725 <placement x="%col1_x%" y="%row3_text_y%" />
3726 <font resource="font" color="%text_color%" />
3727 <text>Wipe Dalvik Cache.</text>
3728 <data variable="tw_wipe_dalvik" />
3729 <image checked="checkbox_true" unchecked="checkbox_false" />
3730 </object>
3731
3732 <object type="checkbox">
3733 <placement x="%col1_x%" y="%row4_text_y%" />
3734 <font resource="font" color="%text_color%" />
3735 <text>Wipe Cache.</text>
3736 <data variable="tw_wipe_cache" />
3737 <image checked="checkbox_true" unchecked="checkbox_false" />
3738 </object>
3739
3740 <object type="slider">
3741 <placement x="%slider_x%" y="%slider_y%" />
3742 <resource base="slider" used="slider-used" touch="slider-touch" />
3743 <actions>
3744 <action function="set">tw_back=advanced</action>
3745 <action function="set">tw_action=adbsideload</action>
3746 <action function="set">tw_action_text1=ADB Sideload</action>
3747 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3748 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3749 <action function="set">tw_has_cancel=1</action>
3750 <action function="set">tw_show_reboot=1</action>
3751 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3752 <action function="page">action_page</action>
3753 </actions>
3754 </object>
3755
3756 <object type="text" color="%text_color%">
3757 <font resource="font" />
3758 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3759 <text>Swipe to Start Sideload</text>
3760 </object>
3761
3762 <object type="action">
3763 <touch key="home" />
3764 <action function="page">main</action>
3765 </object>
3766
3767 <object type="action">
3768 <touch key="back" />
3769 <action function="page">advanced</action>
3770 </object>
3771
3772 <object type="template" name="footer" />
3773 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003774 </pages>
3775</recovery>