blob: 88365e62e9352a47e1f9499087193165ffdcf367 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1024" height="768" />
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-Regular-20" />
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="exclamation200" />
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="269" />
50 <variable name="col3_x" value="515" />
51 <variable name="col4_x" value="761" />
52 <variable name="row1_y" value="127" />
53 <variable name="row2_y" value="388" />
54 <variable name="col_center_x" value="392" />
55 <variable name="center_x" value="512" />
56 <variable name="screen_width" value="1024" />
57 <variable name="screen_height" value="768" />
58 <variable name="col_progressbar_x" value="386" />
59 <variable name="row_progressbar_y" value="700" />
60 <variable name="col1_medium_x" value="257" />
61 <variable name="col2_medium_x" value="387" />
62 <variable name="col3_medium_x" value="517" />
63 <variable name="col4_medium_x" value="647" />
64 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060065 <variable name="row2_medium_y" value="245" />
Dees_Troy51a0e822012-09-05 15:24:24 -040066 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060067 <variable name="row4_medium_y" value="450" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row5_medium_y" value="405" />
69 <variable name="row1_text_y" value="58" />
70 <variable name="row2_text_y" value="105" />
71 <variable name="row3_text_y" value="140" />
72 <variable name="row4_text_y" value="170" />
73 <variable name="row5_text_y" value="200" />
74 <variable name="row6_text_y" value="230" />
75 <variable name="row7_text_y" value="260" />
76 <variable name="row8_text_y" value="290" />
77 <variable name="row9_text_y" value="320" />
78 <variable name="row10_text_y" value="350" />
79 <variable name="row11_text_y" value="380" />
80 <variable name="row12_text_y" value="410" />
81 <variable name="row13_text_y" value="440" />
82 <variable name="row14_text_y" value="470" />
83 <variable name="row15_text_y" value="500" />
84 <variable name="row16_text_y" value="530" />
85 <variable name="row17_text_y" value="560" />
86 <variable name="row18_text_y" value="590" />
87 <variable name="row_offsetmedium_y" value="465" />
88 <variable name="home_button_x" value="813" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="883" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="953" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="150" />
95 <variable name="nandcheck_col2" value="450" />
96 <variable name="nandcheck_row1" value="150" />
97 <variable name="nandcheck_row2" value="200" />
98 <variable name="nandcheck_row3" value="250" />
99 <variable name="nandcheck_row4" value="300" />
100 <variable name="nandcheck_row5" value="350" />
101 <variable name="nandcheck_row6" value="400" />
102 <variable name="nandcheck_row7" value="450" />
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="307" />
109 <variable name="slider_y" value="600" />
110 <variable name="slider_text_y" value="650" />
111 <variable name="sort_text_x" value="270" />
112 <variable name="sort_asc_text_y" value="655" />
113 <variable name="sort_asc_button_y" value="650" />
114 <variable name="sort_desc_text_y" value="700" />
115 <variable name="sort_desc_button_y" value="695" />
116 <variable name="sort_col1_button_x" value="440" />
117 <variable name="sort_col2_button_x" value="510" />
118 <variable name="sort_col3_button_x" value="580" />
119 <variable name="col1_sdext_x" value="370" />
120 <variable name="col2_sdext_x" value="600" />
121 <variable name="row1_sdext_y" value="115" />
122 <variable name="row2_sdext_y" value="180" />
123 <variable name="row_extsize_y" value="115" />
124 <variable name="row_swapsize_y" value="180" />
125 <variable name="input_x" value="28" />
126 <variable name="input_width" value="944" />
127 <variable name="input_height" value="30" />
128 <variable name="input_background_color" value="#303030" />
129 <variable name="input_cursor_color" value="#33B5E5" />
130 <variable name="input_cursor_width" value="3" />
131 <variable name="console_x" value="25" />
132 <variable name="console_width" value="974" />
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="320" />
137 <variable name="console_install_height" value="440" />
138 <variable name="console_installdone_height" value="300" />
139 <variable name="fileselector_folder_x" value="28" />
140 <variable name="fileselector_folder_width" value="282" />
141 <variable name="fileselector_folderonly_width" value="460" />
142 <variable name="fileselector_file_x" value="317" />
143 <variable name="fileselector_file_width" value="682" />
144 <variable name="fileselector_install_y" value="120" />
145 <variable name="fileselector_install_height" value="510" />
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="3" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="2" />
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="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100156 <variable name="fastscroll_linecolor" value="#808080" />
157 <variable name="fastscroll_rectcolor" value="#808080" />
158 <variable name="fastscroll_w" value="32" />
159 <variable name="fastscroll_linew" value="2" />
160 <variable name="fastscroll_rectw" value="24" />
161 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400162 <variable name="zipstorage_text_y" value="88" />
163 <variable name="listbox_x" value="269" />
164 <variable name="listbox_y" value="90" />
165 <variable name="listbox_width" value="460" />
166 <variable name="listbox_tz_height" value="290" />
167 <variable name="listbox_background" value="#303030" />
168 <variable name="listbox_spacing" value="18" />
169 <variable name="sd_plus_x" value="280" />
170 <variable name="lock_x" value="312" />
171 <variable name="lock_y" value="184" />
172 <variable name="filemanager_select_x" value="761" />
173 <variable name="filemanager_select_y" value="620" />
174 <variable name="backup_name_text_y" value="440" />
175 <variable name="backup_name_button_y" value="240" />
176 <variable name="col_right_x" value="996" />
177 <variable name="cancel_button_y" value="240" />
178 <variable name="terminal_console_y" value="0" />
179 <variable name="terminal_console_height" value="362" />
180 <variable name="terminal_text_y" value="368" />
181 <variable name="terminal_button_y" value="358" />
182 <variable name="terminal_input_width" value="775" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400183 <variable name="exclamation_x" value="412" />
184 <variable name="exclamation_y" value="200" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400185 </variables>
186
187 <templates>
188 <template name="header">
189 <background color="#000000FF" />
190
191 <object type="image">
192 <image resource="side" />
193 <placement x="0" y="0" />
194 </object>
195
196 <object type="image">
197 <image resource="side" />
198 <placement x="994" y="0" />
199 </object>
200
201 <object type="image">
202 <image resource="base" />
203 <placement x="0" y="0" />
204 </object>
205
206 <object type="image">
207 <image resource="bottom" />
208 <placement x="1" y="738" />
209 </object>
210
211 <object type="image">
212 <image resource="large_black" />
213 <placement x="0" y="0" />
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="5" />
219 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
220 </object>
221
222 <object type="text" color="%text_color%">
223 <font resource="font" />
224 <placement x="250" y="30" />
225 <conditions>
226 <condition var1="tw_no_battery_percent" var2="0" />
227 <condition var1="tw_battery" op=">" var2="0" />
228 <condition var1="tw_battery" op="<" var2="101" />
229 </conditions>
230 <text>Battery Level: %tw_battery%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <font resource="font" />
235 <placement x="450" y="30" />
236 <text>%tw_time%</text>
237 </object>
238
239 <object type="text" color="%text_color%">
240 <condition var1="tw_simulate_actions" var2="1" />
241 <font resource="font" />
242 <placement x="550" y="30" />
243 <text>SIMULATING ACTIONS</text>
244 </object>
245
246 <object type="button">
247 <placement x="%home_button_x%" y="%home_button_y%" />
248 <font resource="font" color="%button_text_color%" />
249 <text></text>
250 <image resource="home_icon" />
251 <condition var1="tw_busy" var2="0" />
252 <action function="key">home</action>
253 </object>
254
255 <object type="button">
256 <placement x="%back_button_x%" y="%back_button_y%" />
257 <font resource="font" color="%button_text_color%" />
258 <text></text>
259 <image resource="back_icon" />
260 <condition var1="tw_busy" var2="0" />
261 <action function="key">back</action>
262 </object>
263
264 <object type="action">
265 <touch key="power" />
266 <action function="overlay">lock</action>
267 </object>
268 </template>
269
270 <template name="progress_bar">
271 <object type="progressbar">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource empty="progress_empty" full="progress_full" />
274 <data name="ui_progress" />
275 </object>
276
277 <object type="animation">
278 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
279 <resource name="progress" />
280 <speed fps="15" render="2" />
281 <loop frame="1" />
282 </object>
283 </template>
284
285 <template name="sort_options">
286 <object type="text" color="%text_color%">
287 <font resource="font" />
288 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
289 <text>Sort Ascending:</text>
290 </object>
291
292 <object type="button">
293 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
294 <font resource="font" color="%button_text_color%" />
295 <text>Name</text>
296 <image resource="sort_button" />
297 <action function="set">tw_gui_sort_order=1</action>
298 </object>
299
300 <object type="button">
301 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=2</action>
306 </object>
307
308 <object type="button">
309 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
310 <font resource="font" color="%button_text_color%" />
311 <text>Size</text>
312 <image resource="sort_button" />
313 <action function="set">tw_gui_sort_order=3</action>
314 </object>
315
316 <object type="text" color="%text_color%">
317 <font resource="font" />
318 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
319 <text>Sort Descending:</text>
320 </object>
321
322 <object type="button">
323 <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">
331 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Date</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=-2</action>
336 </object>
337
338 <object type="button">
339 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
340 <font resource="font" color="%button_text_color%" />
341 <text>Size</text>
342 <image resource="sort_button" />
343 <action function="set">tw_gui_sort_order=-3</action>
344 </object>
345 </template>
346
347 <template name="flash_zip_console">
348 <object type="console">
349 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
350 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
351 <font resource="fixed" />
352 </object>
353 </template>
354
355 <template name="action_page_console">
356 <object type="console">
357 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
358 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
359 <font resource="fixed" />
360 </object>
361 </template>
362
363 <template name="footer">
364 <object type="console">
365 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
366 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
368 <font resource="fixed" />
369 </object>
370 </template>
371
372 <template name="keyboardtemplate">
373 <object type="keyboard">
374 <placement x="0" y="408" />
375 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400377 <layout1>
378 <keysize height="90" width="85" />
379 <row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" />
380 <row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" />
381 <row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" />
382 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
383 </layout1>
384 <layout2>
385 <keysize height="90" width="85" />
386 <row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" />
387 <row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" />
388 <row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" />
389 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
390 </layout2>
391 <layout3>
392 <keysize height="90" width="85" />
393 <row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" />
394 <row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" />
395 <row3 key01="140:layout4" key02="82:<" key03="82:>" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" />
396 <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" />
397 </layout3>
398 <layout4>
399 <keysize height="90" width="85" />
400 <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" />
401 <row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" />
402 <row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" />
403 <row4 key01="320:" key02="385: " />
404 </layout4>
405 </object>
406 </template>
407 </templates>
408
409 <pages>
410 <page name="main">
411 <object type="action">
412 <actions>
413 <action function="set">tw_clear_destination=main2</action>
414 <action function="page">clear_vars</action>
415 </actions>
416 </object>
417 </page>
418
419 <page name="main2">
420 <object type="template" name="header" />
421
422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400424 <placement x="%col1_x%" y="%row1_y%" />
425 <font resource="font" color="%button_text_color%" />
426 <text>Install</text>
427 <image resource="main_button" />
428 <actions>
429 <action function="queueclear"></action>
430 <action function="page">install</action>
431 </actions>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col2_x%" y="%row1_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Backup</text>
439 <image resource="main_button" />
440 <action function="page">backup</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col3_x%" y="%row1_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Restore</text>
448 <image resource="main_button" />
449 <action function="page">restore</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col4_x%" y="%row1_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Wipe</text>
457 <image resource="main_button" />
458 <action function="page">wipe</action>
459 </object>
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col1_x%" y="%row2_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Mount</text>
466 <image resource="main_button" />
467 <action function="page">mount</action>
468 </object>
469
470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400472 <placement x="%col2_x%" y="%row2_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Settings</text>
475 <image resource="main_button" />
476 <action function="page">settings</action>
477 </object>
478
479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400481 <placement x="%col3_x%" y="%row2_y%" />
482 <font resource="font" color="%button_text_color%" />
483 <text>Advanced</text>
484 <image resource="main_button" />
485 <action function="page">advanced</action>
486 </object>
487
488 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600489 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400490 <placement x="%col4_x%" y="%row2_y%" />
491 <font resource="font" color="%button_text_color%" />
492 <text>Reboot</text>
493 <image resource="main_button" />
494 <action function="page">reboot</action>
495 </object>
496
497 <object type="template" name="footer" />
498 </page>
499
500 <page name="install">
501 <object type="template" name="header" />
502
503 <object type="text" color="%text_color%">
504 <font resource="font" />
505 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
506 <text>Select Zip to Install</text>
507 </object>
508
509 <object type="button">
510 <placement x="%col2_x%" y="%zipstorage_text_y%" />
511 <font resource="font" color="%text_color%" />
512 <conditions>
513 <condition var1="tw_has_dual_storage" var2="1" />
514 <condition var1="tw_use_external_storage" var2="1" />
515 </conditions>
516 <text>Using external SD</text>
517 <image resource="radio_true" />
518 <action function="togglestorage">external</action>
519 </object>
520
521 <object type="button">
522 <placement x="%col2_x%" y="%zipstorage_text_y%" />
523 <font resource="font" color="%text_color%" />
524 <conditions>
525 <condition var1="tw_has_dual_storage" var2="1" />
526 <condition var1="tw_use_external_storage" var2="0" />
527 </conditions>
528 <text>Using external SD</text>
529 <image resource="radio_false" />
530 <action function="togglestorage">external</action>
531 </object>
532
533 <object type="button">
534 <placement x="%col3_x%" y="%zipstorage_text_y%" />
535 <font resource="font" color="%text_color%" />
536 <conditions>
537 <condition var1="tw_has_dual_storage" var2="1" />
538 <condition var1="tw_use_external_storage" var2="1" />
539 </conditions>
540 <text>Using internal storage</text>
541 <image resource="radio_false" />
542 <action function="togglestorage">internal</action>
543 </object>
544
545 <object type="button">
546 <placement x="%col3_x%" y="%zipstorage_text_y%" />
547 <font resource="font" color="%text_color%" />
548 <conditions>
549 <condition var1="tw_has_dual_storage" var2="1" />
550 <condition var1="tw_use_external_storage" var2="0" />
551 </conditions>
552 <text>Using internal storage</text>
553 <image resource="radio_true" />
554 <action function="togglestorage">internal</action>
555 </object>
556
557 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600558 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400559 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
560 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100561 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400562 <text>Folders:</text>
563 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
564 <sort name="tw_gui_sort_order" />
565 <icon folder="folder_icon" file="file_icon" />
566 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600567 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <filter folders="1" files="0" />
569 <path name="tw_zip_location" default="/sdcard" />
570 <data name="select" />
571 </object>
572
573 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600574 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400575 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
576 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100577 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400578 <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
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <object type="text" color="%text_color%">
661 <font resource="font" />
662 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
663 <text>File %tw_zip_queue_count% of max of 10</text>
664 </object>
665
666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600667 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400668 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
669 <placement x="%col2_x%" y="%row5_medium_y%" />
670 <font resource="font" color="%button_text_color%" />
671 <text>Add More Zips</text>
672 <image resource="mediumwide_button" />
673 <action function="page">install</action>
674 </object>
675
676 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600677 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400678 <placement x="%col3_x%" y="%row5_medium_y%" />
679 <font resource="font" color="%button_text_color%" />
680 <text>Clear Queue</text>
681 <image resource="mediumwide_button" />
682 <actions>
683 <action function="queueclear"></action>
684 <action function="page">install</action>
685 </actions>
686 </object>
687
688 <object type="slider">
689 <placement x="%slider_x%" y="%slider_y%" />
690 <resource base="slider" used="slider-used" touch="slider-touch" />
691 <action function="flash">flash_zip</action>
692 </object>
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
697 <text>Swipe to Confirm Flash</text>
698 </object>
699
700 <object type="action">
701 <touch key="back" />
702 <actions>
703 <action function="cancelzip"></action>
704 <action function="page">install</action>
705 </actions>
706 </object>
707
708 <object type="action">
709 <touch key="home" />
710 <action function="page">main</action>
711 </object>
712
713 <object type="template" name="footer" />
714 </page>
715
716 <page name="flash_zip">
717 <object type="template" name="header" />
718
719 <object type="template" name="flash_zip_console" />
720
721 <object type="text" color="%text_color%">
722 <font resource="font" />
723 <placement x="%col1_x%" y="%row16_text_y%" />
724 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
725 </object>
726
727 <object type="text" color="%text_color%">
728 <font resource="font" />
729 <placement x="%col1_x%" y="%row17_text_y%" />
730 <text>%tw_filename%</text>
731 </object>
732
733 <object type="template" name="progress_bar" />
734
735 <object type="action">
736 <condition var1="tw_operation_state" var2="1" />
737 <action function="page">flash_done</action>
738 </object>
739 </page>
740
741 <page name="flash_done">
742 <object type="template" name="header" />
743
744 <object type="template" name="flash_zip_console" />
745
746 <object type="text" color="%text_fail_color%">
747 <condition var1="tw_operation_status" op="!=" var2="0" />
748 <font resource="font" />
749 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
750 <text>Failed</text>
751 </object>
752
753 <object type="text" color="%text_success_color%">
754 <condition var1="tw_operation_status" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
757 <text>Successful</text>
758 </object>
759
760 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600761 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <placement x="%col1_x%" y="%slider_y%" />
763 <font resource="font" color="%button_text_color%" />
764 <text>Wipe Cache/Dalvik</text>
765 <image resource="main_button" />
766 <actions>
767 <action function="set">tw_back=flash_done</action>
768 <action function="set">tw_action=wipe</action>
769 <action function="set">tw_action_param=/cache</action>
770 <action function="set">tw_has_action2=1</action>
771 <action function="set">tw_action2=wipe</action>
772 <action function="set">tw_action2_param=dalvik</action>
773 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
774 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
775 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
776 <action function="set">tw_slider_text=Swipe to Wipe</action>
777 <action function="page">confirm_action</action>
778 </actions>
779 </object>
780
781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400783 <condition var1="tw_reboot_system" var2="1" />
784 <placement x="%col4_x%" y="%slider_y%" />
785 <font resource="font" color="%button_text_color%" />
786 <text>Reboot System</text>
787 <image resource="main_button" />
788 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400789 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400790 <action function="set">tw_action=reboot</action>
791 <action function="set">tw_action_param=system</action>
792 <action function="set">tw_has_action2=0</action>
793 <action function="set">tw_text1=No OS Installed! Are you</action>
794 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400795 <action function="set">tw_text3=</action>
796 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400797 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400798 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400799 <action function="set">tw_complete_text1=Rebooting...</action>
800 <action function="set">tw_slider_text=Swipe to Reboot</action>
801 <action function="page">rebootcheck</action>
802 </actions>
803 </object>
804
805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600806 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400807 <placement x="%col_center_x%" y="%slider_y%" />
808 <font resource="font" color="%button_text_color%" />
809 <text>Home</text>
810 <image resource="main_button" />
811 <actions>
812 <action function="set">tw_clear_destination=main2</action>
813 <action function="page">clear_vars</action>
814 </actions>
815 </object>
816
817 <object type="action">
818 <touch key="back" />
819 <actions>
820 <action function="set">tw_clear_destination=install</action>
821 <action function="page">clear_vars</action>
822 </actions>
823 </object>
824
825 <object type="action">
826 <touch key="home" />
827 <actions>
828 <action function="set">tw_clear_destination=main2</action>
829 <action function="page">clear_vars</action>
830 </actions>
831 </object>
832 </page>
833
834 <page name="clear_vars">
835 <object type="action">
836 <action function="set">tw_operation_state=0</action>
837 <action function="set">tw_text1=</action>
838 <action function="set">tw_text2=</action>
839 <action function="set">tw_text3=</action>
840 <action function="set">tw_text4=</action>
841 <action function="set">tw_action_text1=</action>
842 <action function="set">tw_action_text2=</action>
843 <action function="set">tw_action_param=</action>
844 <action function="set">tw_has_action2=0</action>
845 <action function="set">tw_action2=</action>
846 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400847 <action function="set">tw_has_cancel=0</action>
848 <action function="set">tw_cancel_action=</action>
849 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400850 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400851 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400852 <action function="page">%tw_clear_destination%</action>
853 </object>
854 </page>
855
856 <page name="confirm_action">
857 <object type="template" name="header" />
858
Dees_Troyce2fe772012-09-28 12:34:33 -0400859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600860 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400861 <condition var1="tw_show_exclamation" var2="1" />
862 <placement x="%exclamation_x%" y="%exclamation_y%" />
863 <font resource="font" color="%button_text_color%" />
864 <text></text>
865 <image resource="exclamation" />
866 </object>
867
Dees_Troy51a0e822012-09-05 15:24:24 -0400868 <object type="text" color="%text_color%">
869 <font resource="font" />
870 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
871 <text>%tw_text1%</text>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
876 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
877 <text>%tw_text2%</text>
878 </object>
879
880 <object type="text" color="%text_color%">
881 <font resource="font" />
882 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
883 <text>%tw_text3%</text>
884 </object>
885
886 <object type="text" color="%text_color%">
887 <font resource="font" />
888 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
889 <text>%tw_text4%</text>
890 </object>
891
892 <object type="text" color="%text_color%">
893 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400894 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400895 <text>Press back button to cancel.</text>
896 </object>
897
898 <object type="slider">
899 <placement x="%slider_x%" y="%slider_y%" />
900 <resource base="slider" used="slider-used" touch="slider-touch" />
901 <action function="page">action_page</action>
902 </object>
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
907 <text>%tw_slider_text%</text>
908 </object>
909
910 <object type="action">
911 <touch key="back" />
912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </object>
917
918 <object type="action">
919 <touch key="home" />
920 <action function="page">main</action>
921 </object>
922
923 <object type="template" name="footer" />
924 </page>
925
926 <page name="action_page">
927 <object type="template" name="header" />
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
932 <text>%tw_action_text1%</text>
933 </object>
934
935 <object type="text" color="%text_color%">
936 <font resource="font" />
937 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
938 <text>%tw_action_text2%</text>
939 </object>
940
941 <object type="template" name="action_page_console" />
942
Dees_Troy2691f9d2012-09-24 11:15:49 -0400943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600944 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400945 <condition var1="tw_has_cancel" var2="1" />
946 <placement x="%col4_x%" y="%slider_y%" />
947 <font resource="font" color="%button_text_color%" />
948 <text>Cancel</text>
949 <image resource="main_button" />
950 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
951 </object>
952
Dees_Troy51a0e822012-09-05 15:24:24 -0400953 <object type="template" name="progress_bar" />
954
955 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400956 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400957 <actions>
958 <action function="page">action_complete</action>
959 </actions>
960 </object>
961
962 <object type="action">
963 <condition var1="tw_has_action2" var2="0" />
964 <actions>
965 <action function="%tw_action%">%tw_action_param%</action>
966 </actions>
967 </object>
968
969 <object type="action">
970 <condition var1="tw_has_action2" var2="1" />
971 <actions>
972 <action function="%tw_action%">%tw_action_param%</action>
973 <action function="%tw_action2%">%tw_action2_param%</action>
974 </actions>
975 </object>
976 </page>
977
Dees_Troy6ef66352013-02-21 08:26:57 -0600978 <page name="singleaction_page">
979 <object type="template" name="header" />
980
981 <object type="text" color="%text_color%">
982 <font resource="font" />
983 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
984 <text>%tw_action_text1%</text>
985 </object>
986
987 <object type="text" color="%text_color%">
988 <font resource="font" />
989 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
990 <text>%tw_action_text2%</text>
991 </object>
992
993 <object type="template" name="action_page_console" />
994
995 <object type="template" name="progress_bar" />
996
997 <object type="action">
998 <condition var1="tw_operation_state" var2="1" />
999 <actions>
1000 <action function="set">tw_page_done=1</action>
1001 </actions>
1002 </object>
1003
1004 <object type="action">
1005 <condition var1="tw_has_action2" var2="0" />
1006 <actions>
1007 <action function="%tw_action%">%tw_action_param%</action>
1008 </actions>
1009 </object>
1010
1011 <object type="action">
1012 <condition var1="tw_has_action2" var2="1" />
1013 <actions>
1014 <action function="%tw_action%">%tw_action_param%</action>
1015 <action function="%tw_action2%">%tw_action2_param%</action>
1016 </actions>
1017 </object>
1018 </page>
1019
Dees_Troy51a0e822012-09-05 15:24:24 -04001020 <page name="action_complete">
1021 <object type="template" name="header" />
1022
1023 <object type="text" color="%text_color%">
1024 <font resource="font" />
1025 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1026 <text>%tw_complete_text1%</text>
1027 </object>
1028
1029 <object type="text" color="%text_fail_color%">
1030 <condition var1="tw_operation_status" op="!=" var2="0" />
1031 <font resource="font" />
1032 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1033 <text>Failed</text>
1034 </object>
1035
1036 <object type="text" color="%text_success_color%">
1037 <condition var1="tw_operation_status" var2="0" />
1038 <font resource="font" />
1039 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1040 <text>Successful</text>
1041 </object>
1042
1043 <object type="template" name="action_page_console" />
1044
1045 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001046 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001047 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001048 <placement x="%col_center_x%" y="%slider_y%" />
1049 <font resource="font" color="%button_text_color%" />
1050 <text>Back</text>
1051 <image resource="main_button" />
1052 <actions>
1053 <action function="set">tw_clear_destination=%tw_back%</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
Dees_Troya3f81542012-10-08 10:58:53 -04001058 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001059 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001060 <condition var1="tw_show_reboot" var2="1" />
1061 <placement x="%col_center_x%" y="%slider_y%" />
1062 <font resource="font" color="%button_text_color%" />
1063 <text>Reboot System</text>
1064 <image resource="main_button" />
1065 <actions>
1066 <action function="set">tw_back=main2</action>
1067 <action function="set">tw_action=reboot</action>
1068 <action function="set">tw_action_param=system</action>
1069 <action function="set">tw_has_action2=0</action>
1070 <action function="set">tw_text1=No OS Installed! Are you</action>
1071 <action function="set">tw_text2=sure you wish to reboot?</action>
1072 <action function="set">tw_text3=</action>
1073 <action function="set">tw_text4=</action>
1074 <action function="set">tw_action_text1=Rebooting...</action>
1075 <action function="set">tw_action_text2=</action>
1076 <action function="set">tw_complete_text1=Rebooting...</action>
1077 <action function="set">tw_slider_text=Swipe to Reboot</action>
1078 <action function="page">rebootcheck</action>
1079 </actions>
1080 </object>
1081
Dees_Troy51a0e822012-09-05 15:24:24 -04001082 <object type="action">
1083 <touch key="home" />
1084 <actions>
1085 <action function="set">tw_clear_destination=main2</action>
1086 <action function="page">clear_vars</action>
1087 </actions>
1088 </object>
1089
1090 <object type="action">
1091 <touch key="back" />
1092 <actions>
1093 <action function="set">tw_clear_destination=%tw_back%</action>
1094 <action function="page">clear_vars</action>
1095 </actions>
1096 </object>
1097 </page>
1098
1099 <page name="filecheck">
1100 <object type="action">
1101 <action function="fileexists">%tw_filecheck%</action>
1102 </object>
1103
1104 <object type="action">
1105 <conditions>
1106 <condition var1="tw_operation_state" var2="1" />
1107 <condition var1="tw_operation_status" var2="0" />
1108 </conditions>
1109 <actions>
1110 <action function="set">tw_fileexists=1</action>
1111 <action function="page">%tw_existpage%</action>
1112 </actions>
1113 </object>
1114
1115 <object type="action">
1116 <conditions>
1117 <condition var1="tw_operation_state" var2="1" />
1118 <condition var1="tw_operation_status" var2="1" />
1119 </conditions>
1120 <actions>
1121 <action function="set">tw_fileexists=0</action>
1122 <action function="page">%tw_notexistpage%</action>
1123 </actions>
1124 </object>
1125 </page>
1126
1127 <page name="rebootcheck">
1128 <object type="action">
1129 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1130 <action function="reboot">%tw_action_param%</action>
1131 </object>
1132
1133 <object type="action">
1134 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1135 <action function="page">confirm_action</action>
1136 </object>
1137 </page>
1138
1139 <page name="reboot">
1140 <object type="template" name="header" />
1141
1142 <object type="text" color="%text_color%">
1143 <font resource="font" />
1144 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1145 <text>Reboot Menu</text>
1146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <condition var1="tw_reboot_system" var2="1" />
1151 <placement x="%col1_x%" y="%row1_y%" />
1152 <font resource="font" color="%button_text_color%" />
1153 <text>System</text>
1154 <image resource="main_button" />
1155 <actions>
1156 <action function="set">tw_back=reboot</action>
1157 <action function="set">tw_action=reboot</action>
1158 <action function="set">tw_action_param=system</action>
1159 <action function="set">tw_has_action2=0</action>
1160 <action function="set">tw_text1=No OS Installed! Are you</action>
1161 <action function="set">tw_text2=sure you wish to reboot?</action>
1162 <action function="set">tw_action_text1=Rebooting...</action>
1163 <action function="set">tw_complete_text1=Rebooting...</action>
1164 <action function="set">tw_slider_text=Swipe to Reboot</action>
1165 <action function="page">rebootcheck</action>
1166 </actions>
1167 </object>
1168
1169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001170 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 <condition var1="tw_reboot_poweroff" var2="1" />
1172 <placement x="%col2_x%" y="%row1_y%" />
1173 <font resource="font" color="%button_text_color%" />
1174 <text>Power Off</text>
1175 <image resource="main_button" />
1176 <actions>
1177 <action function="set">tw_back=reboot</action>
1178 <action function="set">tw_action=reboot</action>
1179 <action function="set">tw_action_param=poweroff</action>
1180 <action function="set">tw_has_action2=0</action>
1181 <action function="set">tw_text1=No OS Installed! Are you</action>
1182 <action function="set">tw_text2=sure you wish to power off?</action>
1183 <action function="set">tw_action_text1=Turning Off...</action>
1184 <action function="set">tw_complete_text1=Turning Off...</action>
1185 <action function="set">tw_slider_text=Swipe to Power Off</action>
1186 <action function="page">rebootcheck</action>
1187 </actions>
1188 </object>
1189
1190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001192 <condition var1="tw_reboot_recovery" var2="1" />
1193 <placement x="%col1_x%" y="%row2_y%" />
1194 <font resource="font" color="%button_text_color%" />
1195 <text>Recovery</text>
1196 <image resource="main_button" />
1197 <actions>
1198 <action function="set">tw_back=reboot</action>
1199 <action function="set">tw_action=reboot</action>
1200 <action function="set">tw_action_param=recovery</action>
1201 <action function="set">tw_has_action2=0</action>
1202 <action function="set">tw_text1=No OS Installed! Are you</action>
1203 <action function="set">tw_text2=sure you wish to reboot?</action>
1204 <action function="set">tw_action_text1=Rebooting...</action>
1205 <action function="set">tw_complete_text1=Rebooting...</action>
1206 <action function="set">tw_slider_text=Swipe to Reboot</action>
1207 <action function="page">rebootcheck</action>
1208 </actions>
1209 </object>
1210
1211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001212 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001213 <condition var1="tw_reboot_bootloader" var2="1" />
1214 <placement x="%col2_x%" y="%row2_y%" />
1215 <font resource="font" color="%button_text_color%" />
1216 <text>Bootloader</text>
1217 <image resource="main_button" />
1218 <actions>
1219 <action function="set">tw_back=reboot</action>
1220 <action function="set">tw_action=reboot</action>
1221 <action function="set">tw_action_param=bootloader</action>
1222 <action function="set">tw_has_action2=0</action>
1223 <action function="set">tw_text1=No OS Installed! Are you</action>
1224 <action function="set">tw_text2=sure you wish to reboot?</action>
1225 <action function="set">tw_action_text1=Rebooting...</action>
1226 <action function="set">tw_complete_text1=Rebooting...</action>
1227 <action function="set">tw_slider_text=Swipe to Reboot</action>
1228 <action function="page">rebootcheck</action>
1229 </actions>
1230 </object>
1231
1232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 <condition var1="tw_download_mode" var2="1" />
1235 <placement x="%col3_x%" y="%row2_y%" />
1236 <font resource="font" color="%button_text_color%" />
1237 <text>Download</text>
1238 <image resource="main_button" />
1239 <actions>
1240 <action function="set">tw_back=reboot</action>
1241 <action function="set">tw_action=reboot</action>
1242 <action function="set">tw_action_param=download</action>
1243 <action function="set">tw_has_action2=0</action>
1244 <action function="set">tw_text1=No OS Installed! Are you</action>
1245 <action function="set">tw_text2=sure you wish to reboot?</action>
1246 <action function="set">tw_action_text1=Rebooting...</action>
1247 <action function="set">tw_complete_text1=Rebooting...</action>
1248 <action function="set">tw_slider_text=Swipe to Reboot</action>
1249 <action function="page">rebootcheck</action>
1250 </actions>
1251 </object>
1252
1253 <object type="action">
1254 <touch key="home" />
1255 <action function="page">main</action>
1256 </object>
1257
1258 <object type="action">
1259 <touch key="back" />
1260 <action function="page">main</action>
1261 </object>
1262
1263 <object type="template" name="footer" />
1264 </page>
1265
1266 <page name="mount">
1267 <object type="template" name="header" />
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1272 <text>Mount Menu</text>
1273 </object>
1274
1275 <object type="button">
1276 <condition var1="tw_has_usb_storage" var2="1" />
1277 <placement x="%col1_x%" y="%row1_y%" />
1278 <font resource="font" color="%button_text_color%" />
1279 <text>Mount USB Storage</text>
1280 <image resource="main_button" />
1281 <action function="page">usb_mount</action>
1282 </object>
1283
1284 <object type="button">
1285 <placement x="%col1_x%" y="%row7_text_y%" />
1286 <font resource="font" color="%text_color%" />
1287 <condition var1="mounted" op="!=" var2="/system" />
1288 <text>Mount System</text>
1289 <image resource="checkbox_false" />
1290 <action function="mount">/system</action>
1291 </object>
1292
1293 <object type="button">
1294 <placement x="%col1_x%" y="%row7_text_y%" />
1295 <font resource="font" color="%text_color%" />
1296 <condition var1="mounted" op="=" var2="/system" />
1297 <text>Unmount System</text>
1298 <image resource="checkbox_true" />
1299 <action function="umount">/system</action>
1300 </object>
1301
1302 <object type="button">
1303 <placement x="%col1_x%" y="%row8_text_y%" />
1304 <font resource="font" color="%text_color%" />
1305 <condition var1="mounted" op="!=" var2="/data" />
1306 <text>Mount Data</text>
1307 <image resource="checkbox_false" />
1308 <action function="mount">/data</action>
1309 </object>
1310
1311 <object type="button">
1312 <placement x="%col1_x%" y="%row8_text_y%" />
1313 <font resource="font" color="%text_color%" />
1314 <condition var1="mounted" op="=" var2="/data" />
1315 <text>Unmount Data</text>
1316 <image resource="checkbox_true" />
1317 <action function="umount">/data</action>
1318 </object>
1319
1320 <object type="button">
1321 <placement x="%col1_x%" y="%row9_text_y%" />
1322 <font resource="font" color="%text_color%" />
1323 <condition var1="mounted" op="!=" var2="/cache" />
1324 <text>Mount Cache</text>
1325 <image resource="checkbox_false" />
1326 <action function="mount">/cache</action>
1327 </object>
1328
1329 <object type="button">
1330 <placement x="%col1_x%" y="%row9_text_y%" />
1331 <font resource="font" color="%text_color%" />
1332 <condition var1="mounted" op="=" var2="/cache" />
1333 <text>Unmount Cache</text>
1334 <image resource="checkbox_true" />
1335 <action function="umount">/cache</action>
1336 </object>
1337
1338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001340 <placement x="%col1_x%" y="%row10_text_y%" />
1341 <font resource="font" color="%text_color%" />
1342 <conditions>
1343 <condition var1="tw_has_external" var2="1" />
1344 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1345 </conditions>
1346 <text>Mount SDCard</text>
1347 <image resource="checkbox_false" />
1348 <action function="mount">EXTERNAL</action>
1349 </object>
1350
1351 <object type="button">
1352 <placement x="%col1_x%" y="%row10_text_y%" />
1353 <font resource="font" color="%text_color%" />
1354 <conditions>
1355 <condition var1="tw_has_external" var2="1" />
1356 <condition var1="mounted" op="=" var2="EXTERNAL" />
1357 </conditions>
1358 <text>Unmount SDCard</text>
1359 <image resource="checkbox_true" />
1360 <action function="umount">EXTERNAL</action>
1361 </object>
1362
1363 <object type="button">
1364 <placement x="%col2_x%" y="%row10_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <conditions>
1367 <condition var1="tw_has_internal" var2="1" />
1368 <condition var1="tw_has_data_media" var2="0" />
1369 <condition var1="mounted" op="!=" var2="INTERNAL" />
1370 </conditions>
1371 <text>Mount Internal Storage</text>
1372 <image resource="checkbox_false" />
1373 <action function="mount">INTERNAL</action>
1374 </object>
1375
1376 <object type="button">
1377 <placement x="%col2_x%" y="%row10_text_y%" />
1378 <font resource="font" color="%text_color%" />
1379 <conditions>
1380 <condition var1="tw_has_internal" var2="1" />
1381 <condition var1="tw_has_data_media" var2="0" />
1382 <condition var1="mounted" op="=" var2="INTERNAL" />
1383 </conditions>
1384 <text>Unmount Internal Storage</text>
1385 <image resource="checkbox_true" />
1386 <action function="umount">INTERNAL</action>
1387 </object>
1388
1389 <object type="button">
1390 <conditions>
1391 <condition var1="tw_has_sdext_partition" var2="1" />
1392 <condition var1="mounted" op="!=" var2="/sd-ext" />
1393 </conditions>
1394 <placement x="%col1_x%" y="%row11_text_y%" />
1395 <font resource="font" color="%text_color%" />
1396 <text>Mount SD-Ext</text>
1397 <image resource="checkbox_false" />
1398 <action function="mount">/sd-ext</action>
1399 </object>
1400
1401 <object type="button">
1402 <placement x="%col1_x%" y="%row11_text_y%" />
1403 <font resource="font" color="%text_color%" />
1404 <condition var1="mounted" op="=" var2="/sd-ext" />
1405 <text>Unmount SD-Ext</text>
1406 <image resource="checkbox_true" />
1407 <action function="umount">/sd-ext</action>
1408 </object>
1409
1410 <object type="button">
1411 <conditions>
1412 <condition var1="tw_boot_is_mountable" var2="1" />
1413 <condition var1="mounted" op="!=" var2="/boot" />
1414 </conditions>
1415 <placement x="%col1_x%" y="%row12_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>Mount Boot</text>
1418 <image resource="checkbox_false" />
1419 <action function="mount">/boot</action>
1420 </object>
1421
1422 <object type="button">
1423 <conditions>
1424 <condition var1="tw_boot_is_mountable" var2="1" />
1425 <condition var1="mounted" op="=" var2="/boot" />
1426 </conditions>
1427 <placement x="%col1_x%" y="%row12_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <text>Unmount Boot</text>
1430 <image resource="checkbox_true" />
1431 <action function="umount">/boot</action>
1432 </object>
1433
1434 <object type="button">
1435 <placement x="%col1_x%" y="%row13_text_y%" />
1436 <font resource="font" color="%text_color%" />
1437 <conditions>
1438 <condition var1="tw_has_dual_storage" var2="1" />
1439 <condition var1="tw_use_external_storage" var2="1" />
1440 </conditions>
1441 <text>Using external SD</text>
1442 <image resource="radio_true" />
1443 <action function="togglestorage">external</action>
1444 </object>
1445
1446 <object type="button">
1447 <placement x="%col1_x%" y="%row13_text_y%" />
1448 <font resource="font" color="%text_color%" />
1449 <conditions>
1450 <condition var1="tw_has_dual_storage" var2="1" />
1451 <condition var1="tw_use_external_storage" var2="0" />
1452 </conditions>
1453 <text>Using external SD</text>
1454 <image resource="radio_false" />
1455 <action function="togglestorage">external</action>
1456 </object>
1457
1458 <object type="button">
1459 <placement x="%col2_x%" y="%row13_text_y%" />
1460 <font resource="font" color="%text_color%" />
1461 <conditions>
1462 <condition var1="tw_has_dual_storage" var2="1" />
1463 <condition var1="tw_use_external_storage" var2="1" />
1464 </conditions>
1465 <text>Using internal storage</text>
1466 <image resource="radio_false" />
1467 <action function="togglestorage">internal</action>
1468 </object>
1469
1470 <object type="button">
1471 <placement x="%col2_x%" y="%row13_text_y%" />
1472 <font resource="font" color="%text_color%" />
1473 <conditions>
1474 <condition var1="tw_has_dual_storage" var2="1" />
1475 <condition var1="tw_use_external_storage" var2="0" />
1476 </conditions>
1477 <text>Using internal storage</text>
1478 <image resource="radio_true" />
1479 <action function="togglestorage">internal</action>
1480 </object>
1481
1482 <object type="action">
1483 <touch key="home" />
1484 <action function="page">main</action>
1485 </object>
1486
1487 <object type="action">
1488 <touch key="back" />
1489 <action function="page">main</action>
1490 </object>
1491
1492 <object type="template" name="footer" />
1493 </page>
1494
1495 <page name="usb_mount">
1496 <object type="template" name="header" />
1497
1498 <object type="text" color="%text_color%">
1499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1500 <font resource="font" />
1501 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1502 </object>
1503
1504 <object type="text" color="%text_color%">
1505 <placement x="%col1_x%" y="%row2_text_y%" />
1506 <font resource="font" />
1507 <text></text>
1508 </object>
1509
1510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001512 <placement x="%col_center_x%" y="%row1_y%" />
1513 <font resource="font" color="%button_text_color%" />
1514 <text>Unmount</text>
1515 <image resource="main_button" />
1516 <action function="page">usb_umount</action>
1517 </object>
1518
1519 <object type="action">
1520 <action function="mount">usb</action>
1521 </object>
1522
1523 <object type="template" name="footer" />
1524 </page>
1525
1526 <page name="usb_umount">
1527 <object type="action">
1528 <action function="unmount">usb</action>
1529 </object>
1530
1531 <object type="action">
1532 <action function="page">mount</action>
1533 </object>
1534
1535 <object type="template" name="footer" />
1536 </page>
1537
1538 <page name="wipe">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1544 <text>Wipe Menu</text>
1545 </object>
1546
1547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001548 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001549 <placement x="%col1_x%" y="%row1_y%" />
1550 <font resource="font" color="%button_text_color%" />
1551 <text>Cache</text>
1552 <image resource="main_button" />
1553 <actions>
1554 <action function="set">tw_back=wipe</action>
1555 <action function="set">tw_action=wipe</action>
1556 <action function="set">tw_action_param=/cache</action>
1557 <action function="set">tw_text1=Wipe Cache?</action>
1558 <action function="set">tw_action_text1=Wiping Cache...</action>
1559 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1560 <action function="set">tw_slider_text=Swipe to Wipe</action>
1561 <action function="page">confirm_action</action>
1562 </actions>
1563 </object>
1564
1565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001567 <placement x="%col2_x%" y="%row1_y%" />
1568 <font resource="font" color="%button_text_color%" />
1569 <text>Dalvik Cache</text>
1570 <image resource="main_button" />
1571 <actions>
1572 <action function="set">tw_back=wipe</action>
1573 <action function="set">tw_action=wipe</action>
1574 <action function="set">tw_action_param=dalvik</action>
1575 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1576 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1577 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1578 <action function="set">tw_slider_text=Swipe to Wipe</action>
1579 <action function="page">confirm_action</action>
1580 </actions>
1581 </object>
1582
1583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001585 <placement x="%col3_x%" y="%row1_y%" />
1586 <font resource="font" color="%button_text_color%" />
1587 <text>Factory Reset</text>
1588 <image resource="main_button" />
1589 <actions>
1590 <action function="set">tw_back=wipe</action>
1591 <action function="set">tw_action=wipe</action>
1592 <action function="set">tw_action_param=data</action>
1593 <action function="set">tw_text1=Factory Reset?</action>
1594 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1595 <action function="set">tw_action_text1=Factory Reset...</action>
1596 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1597 <action function="set">tw_slider_text=Swipe to Wipe</action>
1598 <action function="page">confirm_action</action>
1599 </actions>
1600 </object>
1601
1602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001604 <placement x="%col4_x%" y="%row1_y%" />
1605 <font resource="font" color="%button_text_color%" />
1606 <text>System</text>
1607 <image resource="main_button" />
1608 <actions>
1609 <action function="set">tw_back=wipe</action>
1610 <action function="set">tw_action=wipe</action>
1611 <action function="set">tw_action_param=/system</action>
1612 <action function="set">tw_text1=Wipe System?</action>
1613 <action function="set">tw_text2=This will wipe your ROM</action>
1614 <action function="set">tw_action_text1=Wiping System...</action>
1615 <action function="set">tw_complete_text1=System Wipe Complete</action>
1616 <action function="set">tw_slider_text=Swipe to Wipe</action>
1617 <action function="page">confirm_action</action>
1618 </actions>
1619 </object>
1620
1621 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001622 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001623 <condition var1="tw_has_external" var2="1" />
1624 <placement x="%col1_x%" y="%row2_y%" />
1625 <font resource="font" color="%button_text_color%" />
1626 <text>External Storage</text>
1627 <image resource="main_button" />
1628 <actions>
1629 <action function="set">tw_back=wipe</action>
1630 <action function="set">tw_action=wipe</action>
1631 <action function="set">tw_action_param=EXTERNAL</action>
1632 <action function="set">tw_has_action2=1</action>
1633 <action function="set">tw_action2=set</action>
1634 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1635 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1636 <action function="set">tw_action_text1=Wiping External Storage...</action>
1637 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1638 <action function="set">tw_slider_text=Swipe to Wipe</action>
1639 <action function="page">confirm_action</action>
1640 </actions>
1641 </object>
1642
1643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001645 <condition var1="tw_has_internal" var2="1" />
1646 <placement x="%col2_x%" y="%row2_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Internal Storage</text>
1649 <image resource="main_button" />
1650 <actions>
1651 <action function="set">tw_back=wipe</action>
1652 <action function="set">tw_action=wipe</action>
1653 <action function="set">tw_action_param=INTERNAL</action>
1654 <action function="set">tw_has_action2=1</action>
1655 <action function="set">tw_action2=set</action>
1656 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1657 <action function="set">tw_text1=Wipe Internal Storage?</action>
1658 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1659 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1660 <action function="set">tw_slider_text=Swipe to Wipe</action>
1661 <action function="page">confirm_action</action>
1662 </actions>
1663 </object>
1664
1665 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001666 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001667 <conditions>
1668 <condition var1="tw_has_internal" var2="1" />
1669 <condition var1="tw_has_data_media" var2="1" />
1670 </conditions>
1671 <placement x="%col3_x%" y="%row2_y%" />
1672 <font resource="font" color="%button_text_color%" />
1673 <text>Format Data</text>
1674 <image resource="main_button" />
1675 <actions>
1676 <action function="set">tw_back=wipe</action>
1677 <action function="set">tw_action=wipe</action>
1678 <action function="set">tw_action_param=DATAMEDIA</action>
1679 <action function="set">tw_has_action2=1</action>
1680 <action function="set">tw_action2=set</action>
1681 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1682 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1683 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001684 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <action function="set">tw_action_text1=Formatting Data...</action>
1686 <action function="set">tw_complete_text1=Data Format Complete</action>
1687 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001688 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <action function="page">confirm_action</action>
1690 </actions>
1691 </object>
1692
1693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001694 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001695 <condition var1="tw_has_data_media" var2="0" />
1696 <placement x="%col3_x%" y="%row2_y%" />
1697 <font resource="font" color="%button_text_color%" />
1698 <text>Android Secure</text>
1699 <image resource="main_button" />
1700 <actions>
1701 <action function="set">tw_back=wipe</action>
1702 <action function="set">tw_action=wipe</action>
1703 <action function="set">tw_action_param=ANDROIDSECURE</action>
1704 <action function="set">tw_text1=Wipe Android Secure?</action>
1705 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1706 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1707 <action function="set">tw_slider_text=Swipe to Format</action>
1708 <action function="page">confirm_action</action>
1709 </actions>
1710 </object>
1711
1712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001713 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <condition var1="tw_has_sdext_partition" var2="1" />
1715 <placement x="%col4_x%" y="%row2_y%" />
1716 <font resource="font" color="%button_text_color%" />
1717 <text>SD Ext</text>
1718 <image resource="main_button" />
1719 <actions>
1720 <action function="set">tw_back=wipe</action>
1721 <action function="set">tw_action=wipe</action>
1722 <action function="set">tw_action_param=/sd-ext</action>
1723 <action function="set">tw_text1=Wipe SD-Ext?</action>
1724 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1725 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1726 <action function="set">tw_slider_text=Swipe to Wipe</action>
1727 <action function="page">confirm_action</action>
1728 </actions>
1729 </object>
1730
1731 <object type="action">
1732 <touch key="home" />
1733 <action function="page">main</action>
1734 </object>
1735
1736 <object type="action">
1737 <touch key="back" />
1738 <action function="page">main</action>
1739 </object>
1740
1741 <object type="template" name="footer" />
1742 </page>
1743
1744 <page name="backup">
1745 <object type="template" name="header" />
1746
1747 <object type="text" color="%text_color%">
1748 <font resource="font" />
1749 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1750 <text>Back Up Device</text>
1751 </object>
1752
1753 <object type="text" color="%text_color%">
1754 <font resource="font" />
1755 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1756 <text>Free Space: %tw_storage_free_size% MB</text>
1757 </object>
1758
1759 <object type="text" color="%text_color%">
1760 <font resource="font" />
1761 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1762 <text>Backup Name: %tw_backup_name%</text>
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>System (%tw_backup_system_size% MB)</text>
1769 <data variable="tw_backup_system" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>Data (%tw_backup_data_size% MB)</text>
1777 <data variable="tw_backup_data" />
1778 <image checked="checkbox_true" unchecked="checkbox_false" />
1779 </object>
1780
1781 <object type="checkbox">
1782 <condition var1="tw_has_boot_partition" var2="1" />
1783 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1784 <font resource="font" color="%text_color%" />
1785 <text>Boot (%tw_backup_boot_size% MB)</text>
1786 <data variable="tw_backup_boot" />
1787 <image checked="checkbox_true" unchecked="checkbox_false" />
1788 </object>
1789
1790 <object type="checkbox">
1791 <condition var1="tw_has_recovery_partition" var2="1" />
1792 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1793 <font resource="font" color="%text_color%" />
1794 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1795 <data variable="tw_backup_recovery" />
1796 <image checked="checkbox_true" unchecked="checkbox_false" />
1797 </object>
1798
1799 <object type="checkbox">
1800 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1801 <font resource="font" color="%text_color%" />
1802 <text>Cache (%tw_backup_cache_size% MB)</text>
1803 <data variable="tw_backup_cache" />
1804 <image checked="checkbox_true" unchecked="checkbox_false" />
1805 </object>
1806
1807 <object type="checkbox">
1808 <condition var1="tw_has_android_secure" var2="1" />
1809 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1810 <font resource="font" color="%text_color%" />
1811 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1812 <data variable="tw_backup_andsec" />
1813 <image checked="checkbox_true" unchecked="checkbox_false" />
1814 </object>
1815
1816 <object type="checkbox">
1817 <condition var1="tw_has_sdext_partition" var2="1" />
1818 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1819 <font resource="font" color="%text_color%" />
1820 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1821 <data variable="tw_backup_sdext" />
1822 <image checked="checkbox_true" unchecked="checkbox_false" />
1823 </object>
1824
1825 <object type="checkbox">
1826 <condition var1="tw_sp1_name" op=">" var2="" />
1827 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1830 <data variable="tw_backup_sp1" />
1831 <image checked="checkbox_true" unchecked="checkbox_false" />
1832 </object>
1833
1834 <object type="checkbox">
1835 <condition var1="tw_sp2_name" op=">" var2="" />
1836 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1837 <font resource="font" color="%text_color%" />
1838 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1839 <data variable="tw_backup_sp2" />
1840 <image checked="checkbox_true" unchecked="checkbox_false" />
1841 </object>
1842
1843 <object type="checkbox">
1844 <condition var1="tw_sp3_name" op=">" var2="" />
1845 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1846 <font resource="font" color="%text_color%" />
1847 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1848 <data variable="tw_backup_sp3" />
1849 <image checked="checkbox_true" unchecked="checkbox_false" />
1850 </object>
1851
1852 <object type="checkbox">
1853 <placement x="%col1_x%" y="%nandcheck_row6%" />
1854 <font resource="font" color="%text_color%" />
1855 <text>Enable Compression (Requires more time)</text>
1856 <data variable="tw_use_compression" />
1857 <image checked="checkbox_true" unchecked="checkbox_false" />
1858 </object>
1859
1860 <object type="checkbox">
1861 <placement x="%col3_x%" y="%nandcheck_row6%" />
1862 <font resource="font" color="%text_color%" />
1863 <text>Skip MD5 generation on backups</text>
1864 <data variable="tw_skip_md5_generate" />
1865 <image checked="checkbox_true" unchecked="checkbox_false" />
1866 </object>
1867
1868 <object type="button">
1869 <placement x="%col2_x%" y="%nandcheck_row7%" />
1870 <font resource="font" color="%text_color%" />
1871 <conditions>
1872 <condition var1="tw_has_dual_storage" var2="1" />
1873 <condition var1="tw_use_external_storage" var2="1" />
1874 </conditions>
1875 <text>Using external SD</text>
1876 <image resource="radio_true" />
1877 <action function="togglestorage">external</action>
1878 </object>
1879
1880 <object type="button">
1881 <placement x="%col2_x%" y="%nandcheck_row7%" />
1882 <font resource="font" color="%text_color%" />
1883 <conditions>
1884 <condition var1="tw_has_dual_storage" var2="1" />
1885 <condition var1="tw_use_external_storage" var2="0" />
1886 </conditions>
1887 <text>Using external SD</text>
1888 <image resource="radio_false" />
1889 <action function="togglestorage">external</action>
1890 </object>
1891
1892 <object type="button">
1893 <placement x="%col3_x%" y="%nandcheck_row7%" />
1894 <font resource="font" color="%text_color%" />
1895 <conditions>
1896 <condition var1="tw_has_dual_storage" var2="1" />
1897 <condition var1="tw_use_external_storage" var2="1" />
1898 </conditions>
1899 <text>Using internal storage</text>
1900 <image resource="radio_false" />
1901 <action function="togglestorage">internal</action>
1902 </object>
1903
1904 <object type="button">
1905 <placement x="%col3_x%" y="%nandcheck_row7%" />
1906 <font resource="font" color="%text_color%" />
1907 <conditions>
1908 <condition var1="tw_has_dual_storage" var2="1" />
1909 <condition var1="tw_use_external_storage" var2="0" />
1910 </conditions>
1911 <text>Using internal storage</text>
1912 <image resource="radio_true" />
1913 <action function="togglestorage">internal</action>
1914 </object>
1915
1916 <object type="slider">
1917 <placement x="%slider_x%" y="%slider_y%" />
1918 <resource base="slider" used="slider-used" touch="slider-touch" />
1919 <actions>
1920 <action function="set">tw_operation_state=0</action>
1921 <action function="page">backup_run</action>
1922 </actions>
1923 </object>
1924
1925 <object type="text" color="%text_color%">
1926 <font resource="font" />
1927 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1928 <text>Swipe to Back Up</text>
1929 </object>
1930
1931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001932 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001933 <placement x="%col4_x%" y="%row1_y%" />
1934 <font resource="font" color="%button_text_color%" />
1935 <text>Refresh Sizes</text>
1936 <image resource="main_button" />
1937 <action function="refreshsizes"></action>
1938 </object>
1939
1940 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001941 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001942 <placement x="%col4_x%" y="%backup_name_button_y%" />
1943 <font resource="font" color="%button_text_color%" />
1944 <text>Set Backup Name</text>
1945 <image resource="main_button" />
1946 <actions>
1947 <action function="set">tw_fileexists=0</action>
1948 <action function="page">backupname1</action>
1949 </actions>
1950 </object>
1951
1952 <object type="action">
1953 <touch key="home" />
1954 <action function="page">main</action>
1955 </object>
1956
1957 <object type="action">
1958 <touch key="back" />
1959 <action function="page">main</action>
1960 </object>
1961
1962 <object type="template" name="footer" />
1963 </page>
1964
1965 <page name="backupname1">
1966 <object type="action">
1967 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1968 <action function="set">tw_backup_name=</function>
1969 </object>
1970
1971 <object type="action">
1972 <action function="page">backupname2</function>
1973 </object>
1974 </page>
1975
1976 <page name="backupname2">
1977 <object type="template" name="header" />
1978
1979 <object type="text" color="%text_color%">
1980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1981 <font resource="font" />
1982 <text>Please Enter a Backup Name</text>
1983 </object>
1984
1985 <object type="input">
1986 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1987 <background color="%input_background_color%" />
1988 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1989 <font resource="font" color="%text_color%" />
1990 <text>%tw_backup_name%</text>
1991 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001992 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001993 <actions>
1994 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1995 <action function="set">tw_existpage=backupname2</action>
1996 <action function="set">tw_notexistpage=backup</action>
1997 <action function="page">filecheck</action>
1998 </actions>
1999 </object>
2000
2001 <object type="text" color="%text_fail_color%">
2002 <condition var1="tw_fileexists" var2="1" />
2003 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2004 <font resource="font" />
2005 <text>A backup with that name already exists!</text>
2006 </object>
2007
2008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002009 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002010 <placement x="%col_center_x%" y="%cancel_button_y%" />
2011 <font resource="font" color="%button_text_color%" />
2012 <text>Cancel / Clear</text>
2013 <image resource="main_button" />
2014 <actions>
2015 <action function="set">tw_backup_name=(Current Date)</action>
2016 <action function="page">backup</action>
2017 </actions>
2018 </object>
2019
2020 <object type="template" name="keyboardtemplate" />
2021
2022 <object type="action">
2023 <touch key="home" />
2024 <actions>
2025 <action function="set">tw_backup_name=(Current Date)</action>
2026 <action function="page">main</action>
2027 </actions>
2028 </object>
2029
2030 <object type="action">
2031 <touch key="back" />
2032 <actions>
2033 <action function="set">tw_backup_name=(Current Date)</action>
2034 <action function="page">backup</action>
2035 </actions>
2036 </object>
2037
2038 <object type="template" name="footer" />
2039 </page>
2040
2041 <page name="backup_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
2050 <object type="template" name="action_page_console" />
2051
2052 <object type="template" name="progress_bar" />
2053
2054 <object type="action">
2055 <action function="nandroid">backup</action>
2056 </object>
2057
2058 <object type="action">
2059 <condition var1="tw_operation_state" var2="1" />
2060 <actions>
2061 <action function="set">tw_back=backup</action>
2062 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002063 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002064 <action function="page">action_complete</action>
2065 </actions>
2066 </object>
2067
2068 <object type="template" name="footer" />
2069 </page>
2070
2071 <page name="restore">
2072 <object type="template" name="header" />
2073
2074 <object type="button">
2075 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <conditions>
2078 <condition var1="tw_has_dual_storage" var2="1" />
2079 <condition var1="tw_use_external_storage" var2="1" />
2080 </conditions>
2081 <text>Using external SD</text>
2082 <image resource="radio_true" />
2083 <action function="togglestorage">external</action>
2084 </object>
2085
2086 <object type="button">
2087 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2088 <font resource="font" color="%text_color%" />
2089 <conditions>
2090 <condition var1="tw_has_dual_storage" var2="1" />
2091 <condition var1="tw_use_external_storage" var2="0" />
2092 </conditions>
2093 <text>Using external SD</text>
2094 <image resource="radio_false" />
2095 <action function="togglestorage">external</action>
2096 </object>
2097
2098 <object type="button">
2099 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2100 <font resource="font" color="%text_color%" />
2101 <conditions>
2102 <condition var1="tw_has_dual_storage" var2="1" />
2103 <condition var1="tw_use_external_storage" var2="1" />
2104 </conditions>
2105 <text>Using internal storage</text>
2106 <image resource="radio_false" />
2107 <action function="togglestorage">internal</action>
2108 </object>
2109
2110 <object type="button">
2111 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2112 <font resource