blob: 383774e122395054ac02c660135ae71301a42cae [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="600" />
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="600" />
58 <variable name="col_progressbar_x" value="386" />
59 <variable name="row_progressbar_y" value="540" />
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="200" />
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="440" />
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="195" />
98 <variable name="nandcheck_row3" value="240" />
99 <variable name="nandcheck_row4" value="285" />
100 <variable name="nandcheck_row5" value="330" />
101 <variable name="nandcheck_row6" value="375" />
102 <variable name="nandcheck_row7" value="410" />
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="470" />
110 <variable name="slider_text_y" value="520" />
111 <variable name="sort_text_x" value="270" />
112 <variable name="sort_asc_text_y" value="510" />
113 <variable name="sort_asc_button_y" value="505" />
114 <variable name="sort_desc_text_y" value="545" />
115 <variable name="sort_desc_button_y" value="542" />
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="382" />
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" />
156 <variable name="zipstorage_text_y" value="88" />
157 <variable name="listbox_x" value="269" />
158 <variable name="listbox_y" value="90" />
159 <variable name="listbox_width" value="460" />
160 <variable name="listbox_tz_height" value="290" />
161 <variable name="listbox_background" value="#303030" />
162 <variable name="listbox_spacing" value="18" />
163 <variable name="sd_plus_x" value="280" />
164 <variable name="lock_x" value="312" />
165 <variable name="lock_y" value="184" />
166 <variable name="filemanager_select_x" value="761" />
167 <variable name="filemanager_select_y" value="495" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="240" />
170 <variable name="col_right_x" value="996" />
171 <variable name="cancel_button_y" value="220" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="300" />
174 <variable name="terminal_text_y" value="307" />
175 <variable name="terminal_button_y" value="298" />
176 <variable name="terminal_input_width" value="775" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="412" />
178 <variable name="exclamation_y" value="200" />
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="994" 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="570" />
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="5" />
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="30" />
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="30" />
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="550" y="30" />
237 <text>SIMULATING ACTIONS</text>
238 </object>
239
240 <object type="button">
241 <placement x="%home_button_x%" y="%home_button_y%" />
242 <font resource="font" color="%button_text_color%" />
243 <text></text>
244 <image resource="home_icon" />
245 <condition var1="tw_busy" var2="0" />
246 <action function="key">home</action>
247 </object>
248
249 <object type="button">
250 <placement x="%back_button_x%" y="%back_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text></text>
253 <image resource="back_icon" />
254 <condition var1="tw_busy" var2="0" />
255 <action function="key">back</action>
256 </object>
257
258 <object type="action">
259 <touch key="power" />
260 <action function="overlay">lock</action>
261 </object>
262 </template>
263
264 <template name="progress_bar">
265 <object type="progressbar">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
267 <resource empty="progress_empty" full="progress_full" />
268 <data name="ui_progress" />
269 </object>
270
271 <object type="animation">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource name="progress" />
274 <speed fps="15" render="2" />
275 <loop frame="1" />
276 </object>
277 </template>
278
279 <template name="sort_options">
280 <object type="text" color="%text_color%">
281 <font resource="font" />
282 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
283 <text>Sort Ascending:</text>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
288 <font resource="font" color="%button_text_color%" />
289 <text>Name</text>
290 <image resource="sort_button" />
291 <action function="set">tw_gui_sort_order=1</action>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <text>Date</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=2</action>
300 </object>
301
302 <object type="button">
303 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
304 <font resource="font" color="%button_text_color%" />
305 <text>Size</text>
306 <image resource="sort_button" />
307 <action function="set">tw_gui_sort_order=3</action>
308 </object>
309
310 <object type="text" color="%text_color%">
311 <font resource="font" />
312 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
313 <text>Sort Descending:</text>
314 </object>
315
316 <object type="button">
317 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Name</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=-1</action>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-2</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
334 <font resource="font" color="%button_text_color%" />
335 <text>Size</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-3</action>
338 </object>
339 </template>
340
341 <template name="flash_zip_console">
342 <object type="console">
343 <placement x="%console_x%" y="85" w="%console_width%" h="340" />
344 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
345 <font resource="fixed" />
346 </object>
347 </template>
348
349 <template name="action_page_console">
350 <object type="console">
351 <placement x="%console_x%" y="200" w="%console_width%" h="265" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="footer">
358 <object type="console">
359 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
360 <placement x="%console_x%" y="75" w="%console_width%" h="497" />
361 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
362 <font resource="fixed" />
363 </object>
364 </template>
365
366 <template name="keyboardtemplate">
367 <object type="keyboard">
368 <placement x="0" y="341" />
369 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <layout1>
372 <keysize height="65" width="92" />
373 <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="104:c:8" />
374 <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" />
375 <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
376 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
377 </layout1>
378 <layout2>
379 <keysize height="65" width="92" />
380 <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="104:c:8" />
381 <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" />
382 <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
383 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
384 </layout2>
385 <layout3>
386 <keysize height="65" width="92" />
387 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" />
388 <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" />
389 <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" />
390 <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" />
391 </layout3>
392 <layout4>
393 <keysize height="65" width="92" />
394 <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" />
395 <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" />
396 <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" />
397 <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " />
398 </layout4>
399 </object>
400 </template>
401 </templates>
402
403 <pages>
404 <page name="main">
405 <object type="action">
406 <actions>
407 <action function="set">tw_clear_destination=main2</action>
408 <action function="page">clear_vars</action>
409 </actions>
410 </object>
411 </page>
412
413 <page name="main2">
414 <object type="template" name="header" />
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Install</text>
421 <image resource="main_button" />
422 <actions>
423 <action function="queueclear"></action>
424 <action function="page">install</action>
425 </actions>
426 </object>
427
428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400430 <placement x="%col2_x%" y="%row1_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Backup</text>
433 <image resource="main_button" />
434 <action function="page">backup</action>
435 </object>
436
437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400439 <placement x="%col3_x%" y="%row1_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Restore</text>
442 <image resource="main_button" />
443 <action function="page">restore</action>
444 </object>
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col4_x%" y="%row1_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Wipe</text>
451 <image resource="main_button" />
452 <action function="page">wipe</action>
453 </object>
454
455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col1_x%" y="%row2_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Mount</text>
460 <image resource="main_button" />
461 <action function="page">mount</action>
462 </object>
463
464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400466 <placement x="%col2_x%" y="%row2_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Settings</text>
469 <image resource="main_button" />
470 <action function="page">settings</action>
471 </object>
472
473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <placement x="%col3_x%" y="%row2_y%" />
476 <font resource="font" color="%button_text_color%" />
477 <text>Advanced</text>
478 <image resource="main_button" />
479 <action function="page">advanced</action>
480 </object>
481
482 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600483 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400484 <placement x="%col4_x%" y="%row2_y%" />
485 <font resource="font" color="%button_text_color%" />
486 <text>Reboot</text>
487 <image resource="main_button" />
488 <action function="page">reboot</action>
489 </object>
490
491 <object type="template" name="footer" />
492 </page>
493
494 <page name="install">
495 <object type="template" name="header" />
496
497 <object type="text" color="%text_color%">
498 <font resource="font" />
499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
500 <text>Select Zip to Install</text>
501 </object>
502
503 <object type="button">
504 <placement x="%col2_x%" y="%zipstorage_text_y%" />
505 <font resource="font" color="%text_color%" />
506 <conditions>
507 <condition var1="tw_has_dual_storage" var2="1" />
508 <condition var1="tw_use_external_storage" var2="1" />
509 </conditions>
510 <text>Using external SD</text>
511 <image resource="radio_true" />
512 <action function="togglestorage">external</action>
513 </object>
514
515 <object type="button">
516 <placement x="%col2_x%" y="%zipstorage_text_y%" />
517 <font resource="font" color="%text_color%" />
518 <conditions>
519 <condition var1="tw_has_dual_storage" var2="1" />
520 <condition var1="tw_use_external_storage" var2="0" />
521 </conditions>
522 <text>Using external SD</text>
523 <image resource="radio_false" />
524 <action function="togglestorage">external</action>
525 </object>
526
527 <object type="button">
528 <placement x="%col3_x%" y="%zipstorage_text_y%" />
529 <font resource="font" color="%text_color%" />
530 <conditions>
531 <condition var1="tw_has_dual_storage" var2="1" />
532 <condition var1="tw_use_external_storage" var2="1" />
533 </conditions>
534 <text>Using internal storage</text>
535 <image resource="radio_false" />
536 <action function="togglestorage">internal</action>
537 </object>
538
539 <object type="button">
540 <placement x="%col3_x%" y="%zipstorage_text_y%" />
541 <font resource="font" color="%text_color%" />
542 <conditions>
543 <condition var1="tw_has_dual_storage" var2="1" />
544 <condition var1="tw_use_external_storage" var2="0" />
545 </conditions>
546 <text>Using internal storage</text>
547 <image resource="radio_true" />
548 <action function="togglestorage">internal</action>
549 </object>
550
551 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600552 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400553 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
554 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
555 <text>Folders:</text>
556 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
557 <sort name="tw_gui_sort_order" />
558 <icon folder="folder_icon" file="file_icon" />
559 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <filter folders="1" files="0" />
562 <path name="tw_zip_location" default="/sdcard" />
563 <data name="select" />
564 </object>
565
566 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600567 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
569 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
570 <text>%tw_zip_location%</text>
571 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
572 <sort name="tw_gui_sort_order" />
573 <icon folder="folder_icon" file="file_icon" />
574 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600575 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <filter extn=".zip" folders="0" files="1" />
577 <path name="tw_zip_location" />
578 <data name="tw_filename" />
579 <selection name="tw_file" />
580 </object>
581
582 <object type="template" name="sort_options" />
583
584 <object type="action">
585 <condition var1="tw_filename" op="modified" />
586 <actions>
587 <action function="queuezip"></action>
588 <action function="page">flash_confirm</action>
589 </actions>
590 </object>
591
592 <object type="action">
593 <touch key="back" />
594 <action function="page">main</action>
595 </object>
596
597 <object type="action">
598 <touch key="home" />
599 <action function="page">main</action>
600 </object>
601
602 <object type="template" name="footer" />
603 </page>
604
605 <page name="flash_confirm">
606 <object type="template" name="header" />
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
611 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
617 <text>Folder:</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
623 <text>%tw_zip_location%</text>
624 </object>
625
626 <object type="text" color="%text_color%">
627 <font resource="font" />
628 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
629 <text>File to flash:</text>
630 </object>
631
632 <object type="text" color="%text_color%">
633 <font resource="font" />
634 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
635 <text>%tw_file%</text>
636 </object>
637
638 <object type="text" color="%text_color%">
639 <font resource="font" />
640 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
641 <text>Press back to cancel adding this zip.</text>
642 </object>
643
644 <object type="checkbox">
645 <placement x="%col2_x%" y="%row7_text_y%" />
646 <font resource="font" color="%text_color%" />
647 <text>Zip file signature verification?</text>
648 <data variable="tw_signed_zip_verify" />
649 <image checked="checkbox_true" unchecked="checkbox_false" />
650 </object>
651
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <object type="text" color="%text_color%">
653 <font resource="font" />
654 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
655 <text>File %tw_zip_queue_count% of max of 10</text>
656 </object>
657
658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
661 <placement x="%col2_x%" y="%row5_medium_y%" />
662 <font resource="font" color="%button_text_color%" />
663 <text>Add More Zips</text>
664 <image resource="mediumwide_button" />
665 <action function="page">install</action>
666 </object>
667
668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400670 <placement x="%col3_x%" y="%row5_medium_y%" />
671 <font resource="font" color="%button_text_color%" />
672 <text>Clear Queue</text>
673 <image resource="mediumwide_button" />
674 <actions>
675 <action function="queueclear"></action>
676 <action function="page">install</action>
677 </actions>
678 </object>
679
680 <object type="slider">
681 <placement x="%slider_x%" y="%slider_y%" />
682 <resource base="slider" used="slider-used" touch="slider-touch" />
683 <action function="flash">flash_zip</action>
684 </object>
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
689 <text>Swipe to Confirm Flash</text>
690 </object>
691
692 <object type="action">
693 <touch key="back" />
694 <actions>
695 <action function="cancelzip"></action>
696 <action function="page">install</action>
697 </actions>
698 </object>
699
700 <object type="action">
701 <touch key="home" />
702 <action function="page">main</action>
703 </object>
704
705 <object type="template" name="footer" />
706 </page>
707
708 <page name="flash_zip">
709 <object type="template" name="header" />
710
711 <object type="template" name="flash_zip_console" />
712
713 <object type="text" color="%text_color%">
714 <font resource="font" />
715 <placement x="%col1_x%" y="%row16_text_y%" />
716 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
717 </object>
718
719 <object type="text" color="%text_color%">
720 <font resource="font" />
721 <placement x="%col1_x%" y="%row17_text_y%" />
722 <text>%tw_filename%</text>
723 </object>
724
725 <object type="template" name="progress_bar" />
726
727 <object type="action">
728 <condition var1="tw_operation_state" var2="1" />
729 <action function="page">flash_done</action>
730 </object>
731 </page>
732
733 <page name="flash_done">
734 <object type="template" name="header" />
735
736 <object type="template" name="flash_zip_console" />
737
738 <object type="text" color="%text_fail_color%">
739 <condition var1="tw_operation_status" op="!=" var2="0" />
740 <font resource="font" />
741 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
742 <text>Failed</text>
743 </object>
744
745 <object type="text" color="%text_success_color%">
746 <condition var1="tw_operation_status" var2="0" />
747 <font resource="font" />
748 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
749 <text>Successful</text>
750 </object>
751
752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <placement x="%col1_x%" y="%slider_y%" />
755 <font resource="font" color="%button_text_color%" />
756 <text>Wipe Cache/Dalvik</text>
757 <image resource="main_button" />
758 <actions>
759 <action function="set">tw_back=flash_done</action>
760 <action function="set">tw_action=wipe</action>
761 <action function="set">tw_action_param=/cache</action>
762 <action function="set">tw_has_action2=1</action>
763 <action function="set">tw_action2=wipe</action>
764 <action function="set">tw_action2_param=dalvik</action>
765 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
766 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
767 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
768 <action function="set">tw_slider_text=Swipe to Wipe</action>
769 <action function="page">confirm_action</action>
770 </actions>
771 </object>
772
773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400775 <condition var1="tw_reboot_system" var2="1" />
776 <placement x="%col4_x%" y="%slider_y%" />
777 <font resource="font" color="%button_text_color%" />
778 <text>Reboot System</text>
779 <image resource="main_button" />
780 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400781 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400782 <action function="set">tw_action=reboot</action>
783 <action function="set">tw_action_param=system</action>
784 <action function="set">tw_has_action2=0</action>
785 <action function="set">tw_text1=No OS Installed! Are you</action>
786 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400787 <action function="set">tw_text3=</action>
788 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400789 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400790 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400791 <action function="set">tw_complete_text1=Rebooting...</action>
792 <action function="set">tw_slider_text=Swipe to Reboot</action>
793 <action function="page">rebootcheck</action>
794 </actions>
795 </object>
796
797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400799 <placement x="%col_center_x%" y="%slider_y%" />
800 <font resource="font" color="%button_text_color%" />
801 <text>Home</text>
802 <image resource="main_button" />
803 <actions>
804 <action function="set">tw_clear_destination=main2</action>
805 <action function="page">clear_vars</action>
806 </actions>
807 </object>
808
809 <object type="action">
810 <touch key="back" />
811 <actions>
812 <action function="set">tw_clear_destination=install</action>
813 <action function="page">clear_vars</action>
814 </actions>
815 </object>
816
817 <object type="action">
818 <touch key="home" />
819 <actions>
820 <action function="set">tw_clear_destination=main2</action>
821 <action function="page">clear_vars</action>
822 </actions>
823 </object>
824 </page>
825
826 <page name="clear_vars">
827 <object type="action">
828 <action function="set">tw_operation_state=0</action>
829 <action function="set">tw_text1=</action>
830 <action function="set">tw_text2=</action>
831 <action function="set">tw_text3=</action>
832 <action function="set">tw_text4=</action>
833 <action function="set">tw_action_text1=</action>
834 <action function="set">tw_action_text2=</action>
835 <action function="set">tw_action_param=</action>
836 <action function="set">tw_has_action2=0</action>
837 <action function="set">tw_action2=</action>
838 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400839 <action function="set">tw_has_cancel=0</action>
840 <action function="set">tw_cancel_action=</action>
841 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400842 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400843 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400844 <action function="page">%tw_clear_destination%</action>
845 </object>
846 </page>
847
848 <page name="confirm_action">
849 <object type="template" name="header" />
850
Dees_Troyce2fe772012-09-28 12:34:33 -0400851 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600852 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400853 <condition var1="tw_show_exclamation" var2="1" />
854 <placement x="%exclamation_x%" y="%exclamation_y%" />
855 <font resource="font" color="%button_text_color%" />
856 <text></text>
857 <image resource="exclamation" />
858 </object>
859
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
863 <text>%tw_text1%</text>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
869 <text>%tw_text2%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
875 <text>%tw_text3%</text>
876 </object>
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
880 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
881 <text>%tw_text4%</text>
882 </object>
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400886 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400887 <text>Press back button to cancel.</text>
888 </object>
889
890 <object type="slider">
891 <placement x="%slider_x%" y="%slider_y%" />
892 <resource base="slider" used="slider-used" touch="slider-touch" />
893 <action function="page">action_page</action>
894 </object>
895
896 <object type="text" color="%text_color%">
897 <font resource="font" />
898 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
899 <text>%tw_slider_text%</text>
900 </object>
901
902 <object type="action">
903 <touch key="back" />
904 <actions>
905 <action function="set">tw_clear_destination=%tw_back%</action>
906 <action function="page">clear_vars</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <touch key="home" />
912 <action function="page">main</action>
913 </object>
914
915 <object type="template" name="footer" />
916 </page>
917
918 <page name="action_page">
919 <object type="template" name="header" />
920
921 <object type="text" color="%text_color%">
922 <font resource="font" />
923 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
924 <text>%tw_action_text1%</text>
925 </object>
926
927 <object type="text" color="%text_color%">
928 <font resource="font" />
929 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
930 <text>%tw_action_text2%</text>
931 </object>
932
933 <object type="template" name="action_page_console" />
934
Dees_Troy2691f9d2012-09-24 11:15:49 -0400935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600936 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400937 <condition var1="tw_has_cancel" var2="1" />
938 <placement x="%col4_x%" y="%slider_y%" />
939 <font resource="font" color="%button_text_color%" />
940 <text>Cancel</text>
941 <image resource="main_button" />
942 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
943 </object>
944
Dees_Troy51a0e822012-09-05 15:24:24 -0400945 <object type="template" name="progress_bar" />
946
947 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400948 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400949 <actions>
950 <action function="page">action_complete</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="0" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 </actions>
959 </object>
960
961 <object type="action">
962 <condition var1="tw_has_action2" var2="1" />
963 <actions>
964 <action function="%tw_action%">%tw_action_param%</action>
965 <action function="%tw_action2%">%tw_action2_param%</action>
966 </actions>
967 </object>
968 </page>
969
Dees_Troy6ef66352013-02-21 08:26:57 -0600970 <page name="singleaction_page">
971 <object type="template" name="header" />
972
973 <object type="text" color="%text_color%">
974 <font resource="font" />
975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
976 <text>%tw_action_text1%</text>
977 </object>
978
979 <object type="text" color="%text_color%">
980 <font resource="font" />
981 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
982 <text>%tw_action_text2%</text>
983 </object>
984
985 <object type="template" name="action_page_console" />
986
987 <object type="template" name="progress_bar" />
988
989 <object type="action">
990 <condition var1="tw_operation_state" var2="1" />
991 <actions>
992 <action function="set">tw_page_done=1</action>
993 </actions>
994 </object>
995
996 <object type="action">
997 <condition var1="tw_has_action2" var2="0" />
998 <actions>
999 <action function="%tw_action%">%tw_action_param%</action>
1000 </actions>
1001 </object>
1002
1003 <object type="action">
1004 <condition var1="tw_has_action2" var2="1" />
1005 <actions>
1006 <action function="%tw_action%">%tw_action_param%</action>
1007 <action function="%tw_action2%">%tw_action2_param%</action>
1008 </actions>
1009 </object>
1010 </page>
1011
Dees_Troy51a0e822012-09-05 15:24:24 -04001012 <page name="action_complete">
1013 <object type="template" name="header" />
1014
1015 <object type="text" color="%text_color%">
1016 <font resource="font" />
1017 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1018 <text>%tw_complete_text1%</text>
1019 </object>
1020
1021 <object type="text" color="%text_fail_color%">
1022 <condition var1="tw_operation_status" op="!=" var2="0" />
1023 <font resource="font" />
1024 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1025 <text>Failed</text>
1026 </object>
1027
1028 <object type="text" color="%text_success_color%">
1029 <condition var1="tw_operation_status" var2="0" />
1030 <font resource="font" />
1031 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1032 <text>Successful</text>
1033 </object>
1034
1035 <object type="template" name="action_page_console" />
1036
1037 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001038 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001039 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001040 <placement x="%col_center_x%" y="%slider_y%" />
1041 <font resource="font" color="%button_text_color%" />
1042 <text>Back</text>
1043 <image resource="main_button" />
1044 <actions>
1045 <action function="set">tw_clear_destination=%tw_back%</action>
1046 <action function="page">clear_vars</action>
1047 </actions>
1048 </object>
1049
Dees_Troya3f81542012-10-08 10:58:53 -04001050 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001051 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001052 <condition var1="tw_show_reboot" var2="1" />
1053 <placement x="%col_center_x%" y="%slider_y%" />
1054 <font resource="font" color="%button_text_color%" />
1055 <text>Reboot System</text>
1056 <image resource="main_button" />
1057 <actions>
1058 <action function="set">tw_back=main2</action>
1059 <action function="set">tw_action=reboot</action>
1060 <action function="set">tw_action_param=system</action>
1061 <action function="set">tw_has_action2=0</action>
1062 <action function="set">tw_text1=No OS Installed! Are you</action>
1063 <action function="set">tw_text2=sure you wish to reboot?</action>
1064 <action function="set">tw_text3=</action>
1065 <action function="set">tw_text4=</action>
1066 <action function="set">tw_action_text1=Rebooting...</action>
1067 <action function="set">tw_action_text2=</action>
1068 <action function="set">tw_complete_text1=Rebooting...</action>
1069 <action function="set">tw_slider_text=Swipe to Reboot</action>
1070 <action function="page">rebootcheck</action>
1071 </actions>
1072 </object>
1073
Dees_Troy51a0e822012-09-05 15:24:24 -04001074 <object type="action">
1075 <touch key="home" />
1076 <actions>
1077 <action function="set">tw_clear_destination=main2</action>
1078 <action function="page">clear_vars</action>
1079 </actions>
1080 </object>
1081
1082 <object type="action">
1083 <touch key="back" />
1084 <actions>
1085 <action function="set">tw_clear_destination=%tw_back%</action>
1086 <action function="page">clear_vars</action>
1087 </actions>
1088 </object>
1089 </page>
1090
1091 <page name="filecheck">
1092 <object type="action">
1093 <action function="fileexists">%tw_filecheck%</action>
1094 </object>
1095
1096 <object type="action">
1097 <conditions>
1098 <condition var1="tw_operation_state" var2="1" />
1099 <condition var1="tw_operation_status" var2="0" />
1100 </conditions>
1101 <actions>
1102 <action function="set">tw_fileexists=1</action>
1103 <action function="page">%tw_existpage%</action>
1104 </actions>
1105 </object>
1106
1107 <object type="action">
1108 <conditions>
1109 <condition var1="tw_operation_state" var2="1" />
1110 <condition var1="tw_operation_status" var2="1" />
1111 </conditions>
1112 <actions>
1113 <action function="set">tw_fileexists=0</action>
1114 <action function="page">%tw_notexistpage%</action>
1115 </actions>
1116 </object>
1117 </page>
1118
1119 <page name="rebootcheck">
1120 <object type="action">
1121 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1122 <action function="reboot">%tw_action_param%</action>
1123 </object>
1124
1125 <object type="action">
1126 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1127 <action function="page">confirm_action</action>
1128 </object>
1129 </page>
1130
1131 <page name="reboot">
1132 <object type="template" name="header" />
1133
1134 <object type="text" color="%text_color%">
1135 <font resource="font" />
1136 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1137 <text>Reboot Menu</text>
1138 </object>
1139
1140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 <condition var1="tw_reboot_system" var2="1" />
1143 <placement x="%col1_x%" y="%row1_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>System</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=reboot</action>
1149 <action function="set">tw_action=reboot</action>
1150 <action function="set">tw_action_param=system</action>
1151 <action function="set">tw_has_action2=0</action>
1152 <action function="set">tw_text1=No OS Installed! Are you</action>
1153 <action function="set">tw_text2=sure you wish to reboot?</action>
1154 <action function="set">tw_action_text1=Rebooting...</action>
1155 <action function="set">tw_complete_text1=Rebooting...</action>
1156 <action function="set">tw_slider_text=Swipe to Reboot</action>
1157 <action function="page">rebootcheck</action>
1158 </actions>
1159 </object>
1160
1161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <condition var1="tw_reboot_poweroff" var2="1" />
1164 <placement x="%col2_x%" y="%row1_y%" />
1165 <font resource="font" color="%button_text_color%" />
1166 <text>Power Off</text>
1167 <image resource="main_button" />
1168 <actions>
1169 <action function="set">tw_back=reboot</action>
1170 <action function="set">tw_action=reboot</action>
1171 <action function="set">tw_action_param=poweroff</action>
1172 <action function="set">tw_has_action2=0</action>
1173 <action function="set">tw_text1=No OS Installed! Are you</action>
1174 <action function="set">tw_text2=sure you wish to power off?</action>
1175 <action function="set">tw_action_text1=Turning Off...</action>
1176 <action function="set">tw_complete_text1=Turning Off...</action>
1177 <action function="set">tw_slider_text=Swipe to Power Off</action>
1178 <action function="page">rebootcheck</action>
1179 </actions>
1180 </object>
1181
1182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001183 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001184 <condition var1="tw_reboot_recovery" var2="1" />
1185 <placement x="%col1_x%" y="%row2_y%" />
1186 <font resource="font" color="%button_text_color%" />
1187 <text>Recovery</text>
1188 <image resource="main_button" />
1189 <actions>
1190 <action function="set">tw_back=reboot</action>
1191 <action function="set">tw_action=reboot</action>
1192 <action function="set">tw_action_param=recovery</action>
1193 <action function="set">tw_has_action2=0</action>
1194 <action function="set">tw_text1=No OS Installed! Are you</action>
1195 <action function="set">tw_text2=sure you wish to reboot?</action>
1196 <action function="set">tw_action_text1=Rebooting...</action>
1197 <action function="set">tw_complete_text1=Rebooting...</action>
1198 <action function="set">tw_slider_text=Swipe to Reboot</action>
1199 <action function="page">rebootcheck</action>
1200 </actions>
1201 </object>
1202
1203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001205 <condition var1="tw_reboot_bootloader" var2="1" />
1206 <placement x="%col2_x%" y="%row2_y%" />
1207 <font resource="font" color="%button_text_color%" />
1208 <text>Bootloader</text>
1209 <image resource="main_button" />
1210 <actions>
1211 <action function="set">tw_back=reboot</action>
1212 <action function="set">tw_action=reboot</action>
1213 <action function="set">tw_action_param=bootloader</action>
1214 <action function="set">tw_has_action2=0</action>
1215 <action function="set">tw_text1=No OS Installed! Are you</action>
1216 <action function="set">tw_text2=sure you wish to reboot?</action>
1217 <action function="set">tw_action_text1=Rebooting...</action>
1218 <action function="set">tw_complete_text1=Rebooting...</action>
1219 <action function="set">tw_slider_text=Swipe to Reboot</action>
1220 <action function="page">rebootcheck</action>
1221 </actions>
1222 </object>
1223
1224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 <condition var1="tw_download_mode" var2="1" />
1227 <placement x="%col3_x%" y="%row2_y%" />
1228 <font resource="font" color="%button_text_color%" />
1229 <text>Download</text>
1230 <image resource="main_button" />
1231 <actions>
1232 <action function="set">tw_back=reboot</action>
1233 <action function="set">tw_action=reboot</action>
1234 <action function="set">tw_action_param=download</action>
1235 <action function="set">tw_has_action2=0</action>
1236 <action function="set">tw_text1=No OS Installed! Are you</action>
1237 <action function="set">tw_text2=sure you wish to reboot?</action>
1238 <action function="set">tw_action_text1=Rebooting...</action>
1239 <action function="set">tw_complete_text1=Rebooting...</action>
1240 <action function="set">tw_slider_text=Swipe to Reboot</action>
1241 <action function="page">rebootcheck</action>
1242 </actions>
1243 </object>
1244
1245 <object type="action">
1246 <touch key="home" />
1247 <action function="page">main</action>
1248 </object>
1249
1250 <object type="action">
1251 <touch key="back" />
1252 <action function="page">main</action>
1253 </object>
1254
1255 <object type="template" name="footer" />
1256 </page>
1257
1258 <page name="mount">
1259 <object type="template" name="header" />
1260
1261 <object type="text" color="%text_color%">
1262 <font resource="font" />
1263 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1264 <text>Mount Menu</text>
1265 </object>
1266
1267 <object type="button">
1268 <condition var1="tw_has_usb_storage" var2="1" />
1269 <placement x="%col1_x%" y="%row1_y%" />
1270 <font resource="font" color="%button_text_color%" />
1271 <text>Mount USB Storage</text>
1272 <image resource="main_button" />
1273 <action function="page">usb_mount</action>
1274 </object>
1275
1276 <object type="button">
1277 <placement x="%col1_x%" y="%row7_text_y%" />
1278 <font resource="font" color="%text_color%" />
1279 <condition var1="mounted" op="!=" var2="/system" />
1280 <text>Mount System</text>
1281 <image resource="checkbox_false" />
1282 <action function="mount">/system</action>
1283 </object>
1284
1285 <object type="button">
1286 <placement x="%col1_x%" y="%row7_text_y%" />
1287 <font resource="font" color="%text_color%" />
1288 <condition var1="mounted" op="=" var2="/system" />
1289 <text>Unmount System</text>
1290 <image resource="checkbox_true" />
1291 <action function="umount">/system</action>
1292 </object>
1293
1294 <object type="button">
1295 <placement x="%col1_x%" y="%row8_text_y%" />
1296 <font resource="font" color="%text_color%" />
1297 <condition var1="mounted" op="!=" var2="/data" />
1298 <text>Mount Data</text>
1299 <image resource="checkbox_false" />
1300 <action function="mount">/data</action>
1301 </object>
1302
1303 <object type="button">
1304 <placement x="%col1_x%" y="%row8_text_y%" />
1305 <font resource="font" color="%text_color%" />
1306 <condition var1="mounted" op="=" var2="/data" />
1307 <text>Unmount Data</text>
1308 <image resource="checkbox_true" />
1309 <action function="umount">/data</action>
1310 </object>
1311
1312 <object type="button">
1313 <placement x="%col1_x%" y="%row9_text_y%" />
1314 <font resource="font" color="%text_color%" />
1315 <condition var1="mounted" op="!=" var2="/cache" />
1316 <text>Mount Cache</text>
1317 <image resource="checkbox_false" />
1318 <action function="mount">/cache</action>
1319 </object>
1320
1321 <object type="button">
1322 <placement x="%col1_x%" y="%row9_text_y%" />
1323 <font resource="font" color="%text_color%" />
1324 <condition var1="mounted" op="=" var2="/cache" />
1325 <text>Unmount Cache</text>
1326 <image resource="checkbox_true" />
1327 <action function="umount">/cache</action>
1328 </object>
1329
1330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 <placement x="%col1_x%" y="%row10_text_y%" />
1333 <font resource="font" color="%text_color%" />
1334 <conditions>
1335 <condition var1="tw_has_external" var2="1" />
1336 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1337 </conditions>
1338 <text>Mount SDCard</text>
1339 <image resource="checkbox_false" />
1340 <action function="mount">EXTERNAL</action>
1341 </object>
1342
1343 <object type="button">
1344 <placement x="%col1_x%" y="%row10_text_y%" />
1345 <font resource="font" color="%text_color%" />
1346 <conditions>
1347 <condition var1="tw_has_external" var2="1" />
1348 <condition var1="mounted" op="=" var2="EXTERNAL" />
1349 </conditions>
1350 <text>Unmount SDCard</text>
1351 <image resource="checkbox_true" />
1352 <action function="umount">EXTERNAL</action>
1353 </object>
1354
1355 <object type="button">
1356 <placement x="%col2_x%" y="%row10_text_y%" />
1357 <font resource="font" color="%text_color%" />
1358 <conditions>
1359 <condition var1="tw_has_internal" var2="1" />
1360 <condition var1="tw_has_data_media" var2="0" />
1361 <condition var1="mounted" op="!=" var2="INTERNAL" />
1362 </conditions>
1363 <text>Mount Internal Storage</text>
1364 <image resource="checkbox_false" />
1365 <action function="mount">INTERNAL</action>
1366 </object>
1367
1368 <object type="button">
1369 <placement x="%col2_x%" y="%row10_text_y%" />
1370 <font resource="font" color="%text_color%" />
1371 <conditions>
1372 <condition var1="tw_has_internal" var2="1" />
1373 <condition var1="tw_has_data_media" var2="0" />
1374 <condition var1="mounted" op="=" var2="INTERNAL" />
1375 </conditions>
1376 <text>Unmount Internal Storage</text>
1377 <image resource="checkbox_true" />
1378 <action function="umount">INTERNAL</action>
1379 </object>
1380
1381 <object type="button">
1382 <conditions>
1383 <condition var1="tw_has_sdext_partition" var2="1" />
1384 <condition var1="mounted" op="!=" var2="/sd-ext" />
1385 </conditions>
1386 <placement x="%col1_x%" y="%row11_text_y%" />
1387 <font resource="font" color="%text_color%" />
1388 <text>Mount SD-Ext</text>
1389 <image resource="checkbox_false" />
1390 <action function="mount">/sd-ext</action>
1391 </object>
1392
1393 <object type="button">
1394 <placement x="%col1_x%" y="%row11_text_y%" />
1395 <font resource="font" color="%text_color%" />
1396 <condition var1="mounted" op="=" var2="/sd-ext" />
1397 <text>Unmount SD-Ext</text>
1398 <image resource="checkbox_true" />
1399 <action function="umount">/sd-ext</action>
1400 </object>
1401
1402 <object type="button">
1403 <conditions>
1404 <condition var1="tw_boot_is_mountable" var2="1" />
1405 <condition var1="mounted" op="!=" var2="/boot" />
1406 </conditions>
1407 <placement x="%col1_x%" y="%row12_text_y%" />
1408 <font resource="font" color="%text_color%" />
1409 <text>Mount Boot</text>
1410 <image resource="checkbox_false" />
1411 <action function="mount">/boot</action>
1412 </object>
1413
1414 <object type="button">
1415 <conditions>
1416 <condition var1="tw_boot_is_mountable" var2="1" />
1417 <condition var1="mounted" op="=" var2="/boot" />
1418 </conditions>
1419 <placement x="%col1_x%" y="%row12_text_y%" />
1420 <font resource="font" color="%text_color%" />
1421 <text>Unmount Boot</text>
1422 <image resource="checkbox_true" />
1423 <action function="umount">/boot</action>
1424 </object>
1425
1426 <object type="button">
1427 <placement x="%col1_x%" y="%row13_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <conditions>
1430 <condition var1="tw_has_dual_storage" var2="1" />
1431 <condition var1="tw_use_external_storage" var2="1" />
1432 </conditions>
1433 <text>Using external SD</text>
1434 <image resource="radio_true" />
1435 <action function="togglestorage">external</action>
1436 </object>
1437
1438 <object type="button">
1439 <placement x="%col1_x%" y="%row13_text_y%" />
1440 <font resource="font" color="%text_color%" />
1441 <conditions>
1442 <condition var1="tw_has_dual_storage" var2="1" />
1443 <condition var1="tw_use_external_storage" var2="0" />
1444 </conditions>
1445 <text>Using external SD</text>
1446 <image resource="radio_false" />
1447 <action function="togglestorage">external</action>
1448 </object>
1449
1450 <object type="button">
1451 <placement x="%col2_x%" y="%row13_text_y%" />
1452 <font resource="font" color="%text_color%" />
1453 <conditions>
1454 <condition var1="tw_has_dual_storage" var2="1" />
1455 <condition var1="tw_use_external_storage" var2="1" />
1456 </conditions>
1457 <text>Using internal storage</text>
1458 <image resource="radio_false" />
1459 <action function="togglestorage">internal</action>
1460 </object>
1461
1462 <object type="button">
1463 <placement x="%col2_x%" y="%row13_text_y%" />
1464 <font resource="font" color="%text_color%" />
1465 <conditions>
1466 <condition var1="tw_has_dual_storage" var2="1" />
1467 <condition var1="tw_use_external_storage" var2="0" />
1468 </conditions>
1469 <text>Using internal storage</text>
1470 <image resource="radio_true" />
1471 <action function="togglestorage">internal</action>
1472 </object>
1473
1474 <object type="action">
1475 <touch key="home" />
1476 <action function="page">main</action>
1477 </object>
1478
1479 <object type="action">
1480 <touch key="back" />
1481 <action function="page">main</action>
1482 </object>
1483
1484 <object type="template" name="footer" />
1485 </page>
1486
1487 <page name="usb_mount">
1488 <object type="template" name="header" />
1489
1490 <object type="text" color="%text_color%">
1491 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1492 <font resource="font" />
1493 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1494 </object>
1495
1496 <object type="text" color="%text_color%">
1497 <placement x="%col1_x%" y="%row2_text_y%" />
1498 <font resource="font" />
1499 <text></text>
1500 </object>
1501
1502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001503 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001504 <placement x="%col_center_x%" y="%row1_y%" />
1505 <font resource="font" color="%button_text_color%" />
1506 <text>Unmount</text>
1507 <image resource="main_button" />
1508 <action function="page">usb_umount</action>
1509 </object>
1510
1511 <object type="action">
1512 <action function="mount">usb</action>
1513 </object>
1514
1515 <object type="template" name="footer" />
1516 </page>
1517
1518 <page name="usb_umount">
1519 <object type="action">
1520 <action function="unmount">usb</action>
1521 </object>
1522
1523 <object type="action">
1524 <action function="page">mount</action>
1525 </object>
1526
1527 <object type="template" name="footer" />
1528 </page>
1529
1530 <page name="wipe">
1531 <object type="template" name="header" />
1532
1533 <object type="text" color="%text_color%">
1534 <font resource="font" />
1535 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1536 <text>Wipe Menu</text>
1537 </object>
1538
1539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001540 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001541 <placement x="%col1_x%" y="%row1_y%" />
1542 <font resource="font" color="%button_text_color%" />
1543 <text>Cache</text>
1544 <image resource="main_button" />
1545 <actions>
1546 <action function="set">tw_back=wipe</action>
1547 <action function="set">tw_action=wipe</action>
1548 <action function="set">tw_action_param=/cache</action>
1549 <action function="set">tw_text1=Wipe Cache?</action>
1550 <action function="set">tw_action_text1=Wiping Cache...</action>
1551 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1552 <action function="set">tw_slider_text=Swipe to Wipe</action>
1553 <action function="page">confirm_action</action>
1554 </actions>
1555 </object>
1556
1557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001559 <placement x="%col2_x%" y="%row1_y%" />
1560 <font resource="font" color="%button_text_color%" />
1561 <text>Dalvik Cache</text>
1562 <image resource="main_button" />
1563 <actions>
1564 <action function="set">tw_back=wipe</action>
1565 <action function="set">tw_action=wipe</action>
1566 <action function="set">tw_action_param=dalvik</action>
1567 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1568 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1569 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1570 <action function="set">tw_slider_text=Swipe to Wipe</action>
1571 <action function="page">confirm_action</action>
1572 </actions>
1573 </object>
1574
1575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001577 <placement x="%col3_x%" y="%row1_y%" />
1578 <font resource="font" color="%button_text_color%" />
1579 <text>Factory Reset</text>
1580 <image resource="main_button" />
1581 <actions>
1582 <action function="set">tw_back=wipe</action>
1583 <action function="set">tw_action=wipe</action>
1584 <action function="set">tw_action_param=data</action>
1585 <action function="set">tw_text1=Factory Reset?</action>
1586 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1587 <action function="set">tw_action_text1=Factory Reset...</action>
1588 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1589 <action function="set">tw_slider_text=Swipe to Wipe</action>
1590 <action function="page">confirm_action</action>
1591 </actions>
1592 </object>
1593
1594 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001595 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001596 <placement x="%col4_x%" y="%row1_y%" />
1597 <font resource="font" color="%button_text_color%" />
1598 <text>System</text>
1599 <image resource="main_button" />
1600 <actions>
1601 <action function="set">tw_back=wipe</action>
1602 <action function="set">tw_action=wipe</action>
1603 <action function="set">tw_action_param=/system</action>
1604 <action function="set">tw_text1=Wipe System?</action>
1605 <action function="set">tw_text2=This will wipe your ROM</action>
1606 <action function="set">tw_action_text1=Wiping System...</action>
1607 <action function="set">tw_complete_text1=System Wipe Complete</action>
1608 <action function="set">tw_slider_text=Swipe to Wipe</action>
1609 <action function="page">confirm_action</action>
1610 </actions>
1611 </object>
1612
1613 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001614 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001615 <condition var1="tw_has_external" var2="1" />
1616 <placement x="%col1_x%" y="%row2_y%" />
1617 <font resource="font" color="%button_text_color%" />
1618 <text>External Storage</text>
1619 <image resource="main_button" />
1620 <actions>
1621 <action function="set">tw_back=wipe</action>
1622 <action function="set">tw_action=wipe</action>
1623 <action function="set">tw_action_param=EXTERNAL</action>
1624 <action function="set">tw_has_action2=1</action>
1625 <action function="set">tw_action2=set</action>
1626 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1627 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1628 <action function="set">tw_action_text1=Wiping External Storage...</action>
1629 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1630 <action function="set">tw_slider_text=Swipe to Wipe</action>
1631 <action function="page">confirm_action</action>
1632 </actions>
1633 </object>
1634
1635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001637 <condition var1="tw_has_internal" var2="1" />
1638 <placement x="%col2_x%" y="%row2_y%" />
1639 <font resource="font" color="%button_text_color%" />
1640 <text>Internal Storage</text>
1641 <image resource="main_button" />
1642 <actions>
1643 <action function="set">tw_back=wipe</action>
1644 <action function="set">tw_action=wipe</action>
1645 <action function="set">tw_action_param=INTERNAL</action>
1646 <action function="set">tw_has_action2=1</action>
1647 <action function="set">tw_action2=set</action>
1648 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1649 <action function="set">tw_text1=Wipe Internal Storage?</action>
1650 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1651 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1652 <action function="set">tw_slider_text=Swipe to Wipe</action>
1653 <action function="page">confirm_action</action>
1654 </actions>
1655 </object>
1656
1657 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001658 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001659 <conditions>
1660 <condition var1="tw_has_internal" var2="1" />
1661 <condition var1="tw_has_data_media" var2="1" />
1662 </conditions>
1663 <placement x="%col3_x%" y="%row2_y%" />
1664 <font resource="font" color="%button_text_color%" />
1665 <text>Format Data</text>
1666 <image resource="main_button" />
1667 <actions>
1668 <action function="set">tw_back=wipe</action>
1669 <action function="set">tw_action=wipe</action>
1670 <action function="set">tw_action_param=DATAMEDIA</action>
1671 <action function="set">tw_has_action2=1</action>
1672 <action function="set">tw_action2=set</action>
1673 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1674 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1675 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001676 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001677 <action function="set">tw_action_text1=Formatting Data...</action>
1678 <action function="set">tw_complete_text1=Data Format Complete</action>
1679 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001680 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001681 <action function="page">confirm_action</action>
1682 </actions>
1683 </object>
1684
1685 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001686 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001687 <condition var1="tw_has_data_media" var2="0" />
1688 <placement x="%col3_x%" y="%row2_y%" />
1689 <font resource="font" color="%button_text_color%" />
1690 <text>Android Secure</text>
1691 <image resource="main_button" />
1692 <actions>
1693 <action function="set">tw_back=wipe</action>
1694 <action function="set">tw_action=wipe</action>
1695 <action function="set">tw_action_param=ANDROIDSECURE</action>
1696 <action function="set">tw_text1=Wipe Android Secure?</action>
1697 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1698 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1699 <action function="set">tw_slider_text=Swipe to Format</action>
1700 <action function="page">confirm_action</action>
1701 </actions>
1702 </object>
1703
1704 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001705 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001706 <condition var1="tw_has_sdext_partition" var2="1" />
1707 <placement x="%col4_x%" y="%row2_y%" />
1708 <font resource="font" color="%button_text_color%" />
1709 <text>SD Ext</text>
1710 <image resource="main_button" />
1711 <actions>
1712 <action function="set">tw_back=wipe</action>
1713 <action function="set">tw_action=wipe</action>
1714 <action function="set">tw_action_param=/sd-ext</action>
1715 <action function="set">tw_text1=Wipe SD-Ext?</action>
1716 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1717 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1718 <action function="set">tw_slider_text=Swipe to Wipe</action>
1719 <action function="page">confirm_action</action>
1720 </actions>
1721 </object>
1722
1723 <object type="action">
1724 <touch key="home" />
1725 <action function="page">main</action>
1726 </object>
1727
1728 <object type="action">
1729 <touch key="back" />
1730 <action function="page">main</action>
1731 </object>
1732
1733 <object type="template" name="footer" />
1734 </page>
1735
1736 <page name="backup">
1737 <object type="template" name="header" />
1738
1739 <object type="text" color="%text_color%">
1740 <font resource="font" />
1741 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1742 <text>Back Up Device</text>
1743 </object>
1744
1745 <object type="text" color="%text_color%">
1746 <font resource="font" />
1747 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1748 <text>Free Space: %tw_storage_free_size% MB</text>
1749 </object>
1750
1751 <object type="text" color="%text_color%">
1752 <font resource="font" />
1753 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1754 <text>Backup Name: %tw_backup_name%</text>
1755 </object>
1756
1757 <object type="checkbox">
1758 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1759 <font resource="font" color="%text_color%" />
1760 <text>System (%tw_backup_system_size% MB)</text>
1761 <data variable="tw_backup_system" />
1762 <image checked="checkbox_true" unchecked="checkbox_false" />
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>Data (%tw_backup_data_size% MB)</text>
1769 <data variable="tw_backup_data" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <condition var1="tw_has_boot_partition" var2="1" />
1775 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1776 <font resource="font" color="%text_color%" />
1777 <text>Boot (%tw_backup_boot_size% MB)</text>
1778 <data variable="tw_backup_boot" />
1779 <image checked="checkbox_true" unchecked="checkbox_false" />
1780 </object>
1781
1782 <object type="checkbox">
1783 <condition var1="tw_has_recovery_partition" var2="1" />
1784 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1787 <data variable="tw_backup_recovery" />
1788 <image checked="checkbox_true" unchecked="checkbox_false" />
1789 </object>
1790
1791 <object type="checkbox">
1792 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1793 <font resource="font" color="%text_color%" />
1794 <text>Cache (%tw_backup_cache_size% MB)</text>
1795 <data variable="tw_backup_cache" />
1796 <image checked="checkbox_true" unchecked="checkbox_false" />
1797 </object>
1798
1799 <object type="checkbox">
1800 <condition var1="tw_has_android_secure" var2="1" />
1801 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1802 <font resource="font" color="%text_color%" />
1803 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1804 <data variable="tw_backup_andsec" />
1805 <image checked="checkbox_true" unchecked="checkbox_false" />
1806 </object>
1807
1808 <object type="checkbox">
1809 <condition var1="tw_has_sdext_partition" var2="1" />
1810 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1811 <font resource="font" color="%text_color%" />
1812 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1813 <data variable="tw_backup_sdext" />
1814 <image checked="checkbox_true" unchecked="checkbox_false" />
1815 </object>
1816
1817 <object type="checkbox">
1818 <condition var1="tw_sp1_name" op=">" var2="" />
1819 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1820 <font resource="font" color="%text_color%" />
1821 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1822 <data variable="tw_backup_sp1" />
1823 <image checked="checkbox_true" unchecked="checkbox_false" />
1824 </object>
1825
1826 <object type="checkbox">
1827 <condition var1="tw_sp2_name" op=">" var2="" />
1828 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1829 <font resource="font" color="%text_color%" />
1830 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1831 <data variable="tw_backup_sp2" />
1832 <image checked="checkbox_true" unchecked="checkbox_false" />
1833 </object>
1834
1835 <object type="checkbox">
1836 <condition var1="tw_sp3_name" op=">" var2="" />
1837 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1838 <font resource="font" color="%text_color%" />
1839 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1840 <data variable="tw_backup_sp3" />
1841 <image checked="checkbox_true" unchecked="checkbox_false" />
1842 </object>
1843
1844 <object type="checkbox">
1845 <placement x="%col1_x%" y="%nandcheck_row6%" />
1846 <font resource="font" color="%text_color%" />
1847 <text>Enable Compression (Requires more time)</text>
1848 <data variable="tw_use_compression" />
1849 <image checked="checkbox_true" unchecked="checkbox_false" />
1850 </object>
1851
1852 <object type="checkbox">
1853 <placement x="%col3_x%" y="%nandcheck_row6%" />
1854 <font resource="font" color="%text_color%" />
1855 <text>Skip MD5 generation on backups</text>
1856 <data variable="tw_skip_md5_generate" />
1857 <image checked="checkbox_true" unchecked="checkbox_false" />
1858 </object>
1859
1860 <object type="button">
1861 <placement x="%col2_x%" y="%nandcheck_row7%" />
1862 <font resource="font" color="%text_color%" />
1863 <conditions>
1864 <condition var1="tw_has_dual_storage" var2="1" />
1865 <condition var1="tw_use_external_storage" var2="1" />
1866 </conditions>
1867 <text>Using external SD</text>
1868 <image resource="radio_true" />
1869 <action function="togglestorage">external</action>
1870 </object>
1871
1872 <object type="button">
1873 <placement x="%col2_x%" y="%nandcheck_row7%" />
1874 <font resource="font" color="%text_color%" />
1875 <conditions>
1876 <condition var1="tw_has_dual_storage" var2="1" />
1877 <condition var1="tw_use_external_storage" var2="0" />
1878 </conditions>
1879 <text>Using external SD</text>
1880 <image resource="radio_false" />
1881 <action function="togglestorage">external</action>
1882 </object>
1883
1884 <object type="button">
1885 <placement x="%col3_x%" y="%nandcheck_row7%" />
1886 <font resource="font" color="%text_color%" />
1887 <conditions>
1888 <condition var1="tw_has_dual_storage" var2="1" />
1889 <condition var1="tw_use_external_storage" var2="1" />
1890 </conditions>
1891 <text>Using internal storage</text>
1892 <image resource="radio_false" />
1893 <action function="togglestorage">internal</action>
1894 </object>
1895
1896 <object type="button">
1897 <placement x="%col3_x%" y="%nandcheck_row7%" />
1898 <font resource="font" color="%text_color%" />
1899 <conditions>
1900 <condition var1="tw_has_dual_storage" var2="1" />
1901 <condition var1="tw_use_external_storage" var2="0" />
1902 </conditions>
1903 <text>Using internal storage</text>
1904 <image resource="radio_true" />
1905 <action function="togglestorage">internal</action>
1906 </object>
1907
1908 <object type="slider">
1909 <placement x="%slider_x%" y="%slider_y%" />
1910 <resource base="slider" used="slider-used" touch="slider-touch" />
1911 <actions>
1912 <action function="set">tw_operation_state=0</action>
1913 <action function="page">backup_run</action>
1914 </actions>
1915 </object>
1916
1917 <object type="text" color="%text_color%">
1918 <font resource="font" />
1919 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1920 <text>Swipe to Back Up</text>
1921 </object>
1922
1923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001924 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001925 <placement x="%col4_x%" y="%row1_y%" />
1926 <font resource="font" color="%button_text_color%" />
1927 <text>Refresh Sizes</text>
1928 <image resource="main_button" />
1929 <action function="refreshsizes"></action>
1930 </object>
1931
1932 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001933 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001934 <placement x="%col4_x%" y="%backup_name_button_y%" />
1935 <font resource="font" color="%button_text_color%" />
1936 <text>Set Backup Name</text>
1937 <image resource="main_button" />
1938 <actions>
1939 <action function="set">tw_fileexists=0</action>
1940 <action function="page">backupname1</action>
1941 </actions>
1942 </object>
1943
1944 <object type="action">
1945 <touch key="home" />
1946 <action function="page">main</action>
1947 </object>
1948
1949 <object type="action">
1950 <touch key="back" />
1951 <action function="page">main</action>
1952 </object>
1953
1954 <object type="template" name="footer" />
1955 </page>
1956
1957 <page name="backupname1">
1958 <object type="action">
1959 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1960 <action function="set">tw_backup_name=</function>
1961 </object>
1962
1963 <object type="action">
1964 <action function="page">backupname2</function>
1965 </object>
1966 </page>
1967
1968 <page name="backupname2">
1969 <object type="template" name="header" />
1970
1971 <object type="text" color="%text_color%">
1972 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1973 <font resource="font" />
1974 <text>Please Enter a Backup Name</text>
1975 </object>
1976
1977 <object type="input">
1978 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1979 <background color="%input_background_color%" />
1980 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1981 <font resource="font" color="%text_color%" />
1982 <text>%tw_backup_name%</text>
1983 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001984 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001985 <actions>
1986 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1987 <action function="set">tw_existpage=backupname2</action>
1988 <action function="set">tw_notexistpage=backup</action>
1989 <action function="page">filecheck</action>
1990 </actions>
1991 </object>
1992
1993 <object type="text" color="%text_fail_color%">
1994 <condition var1="tw_fileexists" var2="1" />
1995 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1996 <font resource="font" />
1997 <text>A backup with that name already exists!</text>
1998 </object>
1999
2000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002001 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002002 <placement x="%col_center_x%" y="%cancel_button_y%" />
2003 <font resource="font" color="%button_text_color%" />
2004 <text>Cancel / Clear</text>
2005 <image resource="main_button" />
2006 <actions>
2007 <action function="set">tw_backup_name=(Current Date)</action>
2008 <action function="page">backup</action>
2009 </actions>
2010 </object>
2011
2012 <object type="template" name="keyboardtemplate" />
2013
2014 <object type="action">
2015 <touch key="home" />
2016 <actions>
2017 <action function="set">tw_backup_name=(Current Date)</action>
2018 <action function="page">main</action>
2019 </actions>
2020 </object>
2021
2022 <object type="action">
2023 <touch key="back" />
2024 <actions>
2025 <action function="set">tw_backup_name=(Current Date)</action>
2026 <action function="page">backup</action>
2027 </actions>
2028 </object>
2029
2030 <object type="template" name="footer" />
2031 </page>
2032
2033 <page name="backup_run">
2034 <object type="template" name="header" />
2035
2036 <object type="text" color="%text_color%">
2037 <font resource="font" />
2038 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2039 <text>%tw_operation% %tw_partition%</text>
2040 </object>
2041
2042 <object type="template" name="action_page_console" />
2043
2044 <object type="template" name="progress_bar" />
2045
2046 <object type="action">
2047 <action function="nandroid">backup</action>
2048 </object>
2049
2050 <object type="action">
2051 <condition var1="tw_operation_state" var2="1" />
2052 <actions>
2053 <action function="set">tw_back=backup</action>
2054 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002055 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <action function="page">action_complete</action>
2057 </actions>
2058 </object>
2059
2060 <object type="template" name="footer" />
2061 </page>
2062
2063 <page name="restore">
2064 <object type="template" name="header" />
2065
2066 <object type="button">
2067 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2068 <font resource="font" color="%text_color%" />
2069 <conditions>
2070 <condition var1="tw_has_dual_storage" var2="1" />
2071 <condition var1="tw_use_external_storage" var2="1" />
2072 </conditions>
2073 <text>Using external SD</text>
2074 <image resource="radio_true" />
2075 <action function="togglestorage">external</action>
2076 </object>
2077
2078 <object type="button">
2079 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2080 <font resource="font" color="%text_color%" />
2081 <conditions>
2082 <condition var1="tw_has_dual_storage" var2="1" />
2083 <condition var1="tw_use_external_storage" var2="0" />
2084 </conditions>
2085 <text>Using external SD</text>
2086 <image resource="radio_false" />
2087 <action function="togglestorage">external</action>
2088 </object>
2089
2090 <object type="button">
2091 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2092 <font resource="font" color="%text_color%" />
2093 <conditions>
2094 <condition var1="tw_has_dual_storage" var2="1" />
2095 <condition var1="tw_use_external_storage" var2="1" />
2096 </conditions>
2097 <text>Using internal storage</text>
2098 <image resource="radio_false" />
2099 <action function="togglestorage">internal</action>
2100 </object>
2101
2102 <object type="button">
2103 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2104 <font resource="font" color="%text_color%" />
2105 <conditions>
2106 <condition var1="tw_has_dual_storage" var2="1" />
2107 <condition var1="tw_use_external_storage" var2="0" />
2108 </conditions>
2109 <text>Using internal storage</text>
2110 <image resource="radio_true" />
2111 <action function="togglestorage">internal</action>
2112 </object>
2113
2114 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002115 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002116 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2117 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2118 <text>Select Package to Restore:</text>
2119 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2120 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002121 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002122 <icon folder="folder_icon" file="file_icon" />
2123 <background color="%fileselector_background%" />
2124 <filter folders="1" files="0" nav="0" />
2125 <path name="tw_backups_folder" />
2126 <data name="tw_restore" default="" />
2127 <selection name="tw_restore_name" />
2128 </object>
2129
2130 <object type="template" name="sort_options" />
2131
2132 <object type="action">
2133 <condition var1="tw_restore" op="modified" />
2134 <actions>
2135 <action function="readBackup"></action>
2136 <action function="page">restore_select</action>
2137 </actions>
2138 </object>
2139
Gary Peckffdc6ae2012-11-21 18:02:02 -08002140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002141 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002142 <conditions>
2143 <condition var1="tw_is_encrypted" var2="1" />
2144 <condition var1="tw_is_decrypted" var2="0" />
2145 </conditions>
2146 <placement x="%col2_x%" y="row3_y" />
2147 <font resource="font" color="%button_text_color%" />
2148 <text>Decrypt Data</text>
2149 <image resource="main_button" />
2150 <action function="page">decrypt</action>
2151 </object>
2152
Dees_Troy51a0e822012-09-05 15:24:24 -04002153 <object type="action">
2154 <touch key="home" />
2155 <action function="page">main</action>
2156 </object>
2157
2158 <object type="action">
2159 <touch key="back" />
2160 <action function="page">main</action>
2161 </object>
2162
2163 <object type="template" name="footer" />
2164 </page>
2165
2166 <page name="restore_select">
2167 <object type="template" name="header" />
2168
2169 <object type="text" color="%text_color%">
2170 <font resource="font" />
2171 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2172 <text>Package to Restore: %tw_restore_name%</text>
2173 </object>
2174
2175 <object type="text" color="%text_color%">
2176 <font resource="font" />
2177 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2178 <text>Package Date: %tw_restore_file_date%</text>
2179 </object>
2180
2181 <object type="checkbox">
2182 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2183 <font resource="font" color="%text_color%" />
2184 <text>System</text>
2185 <condition var1="tw_restore_system" op=">=" var2="0" />
2186 <data variable="tw_restore_system" />
2187 <image checked="checkbox_true" unchecked="checkbox_false" />
2188 </object>
2189
2190 <object type="checkbox">
2191 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2192 <font resource="font" color="%text_color%" />
2193 <text>Data</text>
2194 <condition var1="tw_restore_data" op=">=" var2="0" />
2195 <data variable="tw_restore_data" />
2196 <image checked="checkbox_true" unchecked="checkbox_false" />
2197 </object>
2198
2199 <object type="checkbox">
2200 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2201 <font resource="font" color="%text_color%" />
2202 <text>Boot</text>
2203 <condition var1="tw_restore_boot" op=">=" var2="0" />
2204 <data variable="tw_restore_boot" />
2205 <image checked="checkbox_true" unchecked="checkbox_false" />
2206 </object>
2207
2208 <object type="checkbox">
2209 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2210 <font resource="font" color="%text_color%" />
2211 <text>Cache</text>
2212 <condition var1="tw_restore_cache" op=">=" var2="0" />
2213 <data variable="tw_restore_cache" />
2214 <image checked="checkbox_true" unchecked="checkbox_false" />
2215 </object>
2216
2217 <object type="checkbox">
2218 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2219 <font resource="font" color="%text_color%" />
2220 <text>.android_secure</text>
2221 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2222 <data variable="tw_restore_andsec" />
2223 <image checked="checkbox_true" unchecked="checkbox_false" />
2224 </object>
2225
2226 <object type="checkbox">
2227 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2228 <font resource="font" color="%text_color%" />
2229 <text>sd-ext</text>
2230 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2231 <data variable="tw_restore_sdext" />
2232 <image checked="checkbox_true" unchecked="checkbox_false" />
2233 </object>
2234
2235 <object type="checkbox">
2236 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2237 <font resource="font" color="%text_color%" />
2238 <text>%tw_sp1_name%</text>
2239 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2240 <data variable="tw_restore_sp1" />
2241 <image checked="checkbox_true" unchecked="checkbox_false" />
2242 </object>
2243
2244 <object type="checkbox">
2245 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2246 <font resource="font" color="%text_color%" />
2247 <text>%tw_sp2_name%</text>
2248 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2249 <data variable="tw_restore_sp2" />
2250 <image checked="checkbox_true" unchecked="checkbox_false" />
2251 </object>
2252
2253 <object type="checkbox">
2254 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2255 <font resource="font" color="%text_color%" />
2256 <text>%tw_sp3_name%</text>
2257 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2258 <data variable="tw_restore_sp3" />
2259 <image checked="checkbox_true" unchecked="checkbox_false" />
2260 </object>
2261
2262 <object type="checkbox">
2263 <placement x="%col1_x%" y="%nandcheck_row6%" />
2264 <font resource="font" color="%text_color%" />
2265 <text>Enable MD5 checking of backup files</text>
2266 <data variable="tw_skip_md5_check" />
2267 <image checked="checkbox_true" unchecked="checkbox_false" />
2268 </object>
2269
2270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002271 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002272 <placement x="%col4_x%" y="%row1_y%" />
2273 <font resource="font" color="%button_text_color%" />
2274 <text>Rename Backup</text>
2275 <image resource="main_button" />
2276 <actions>
2277 <action function="set">tw_backup_rename=</action>
2278 <action function="set">tw_fileexists=0</action>
2279 <action function="page">renamebackup</action>
2280 </actions>
2281 </object>
2282
2283 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002284 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002285 <placement x="%col4_x%" y="%backup_name_button_y%" />
2286 <font resource="font" color="%button_text_color%" />
2287 <text>Delete Backup</text>
2288 <image resource="main_button" />
2289 <actions>
2290 <action function="set">tw_back=restore</action>
2291 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002292 <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 -04002293 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2294 <action function="set">tw_text2=This cannot be undone!</action>
2295 <action function="set">tw_action_text1=Deleting Backup...</action>
2296 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2297 <action function="set">tw_slider_text=Swipe to Delete</action>
2298 <action function="page">confirm_action</action>
2299 </actions>
2300 </object>
2301
2302 <object type="slider">
2303 <placement x="%slider_x%" y="%slider_y%" />
2304 <resource base="slider" used="slider-used" touch="slider-touch" />
2305 <action function="page">restore_run</action>
2306 </object>
2307
2308 <object type="text" color="%text_color%">
2309 <font resource="font" />
2310 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2311 <text>Swipe to Restore</text>
2312 </object>
2313
2314 <object type="action">
2315 <touch key="home" />
2316 <action function="page">main</action>
2317 </object>
2318
2319 <object type="action">
2320 <touch key="back" />
2321 <action function="page">restore</action>
2322 </object>
2323
2324 <object type="template" name="footer" />
2325 </page>
2326
2327 <page name="renamebackup">
2328 <object type="template" name="header" />
2329
2330 <object type="text" color="%text_color%">
2331 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2332 <font resource="font" />
2333 <text>Please Enter a New Backup Name</text>
2334 </object>
2335
2336 <object type="input">
2337 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2338 <background color="%input_background_color%" />
2339 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2340 <font resource="font" color="%text_color%" />
2341 <text>%tw_backup_rename%</text>
2342 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002343 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <actions>
2345 <action function="set">tw_back=restore</action>
2346 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002347 <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 -04002348 <action function="set">tw_text1=Rename Backup?</action>
2349 <action function="set">tw_text2=This cannot be undone!</action>
2350 <action function="set">tw_action_text1=Renaming Backup...</action>
2351 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2352 <action function="set">tw_slider_text=Swipe to Rename</action>
2353 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2354 <action function="set">tw_existpage=renamebackup</action>
2355 <action function="set">tw_notexistpage=confirm_action</action>
2356 <action function="page">filecheck</action>
2357 </actions>
2358 </object>
2359
2360 <object type="text" color="%text_fail_color%">
2361 <condition var1="tw_fileexists" var2="1" />
2362 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2363 <font resource="font" />
2364 <text>A backup with that name already exists!</text>
2365 </object>
2366
2367 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002368 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <placement x="%col_center_x%" y="%cancel_button_y%" />
2370 <font resource="font" color="%button_text_color%" />
2371 <text>Cancel</text>
2372 <image resource="main_button" />
2373 <action function="page">restore_select</action>
2374 </object>
2375
2376 <object type="template" name="keyboardtemplate" />
2377
2378 <object type="action">
2379 <touch key="home" />
2380 <action function="page">main</action>
2381 </object>
2382
2383 <object type="action">
2384 <touch key="back" />
2385 <action function="page">restore_select</action>
2386 </object>
2387
2388 <object type="template" name="footer" />
2389 </page>
2390
2391 <page name="restore_run">
2392 <object type="template" name="header" />
2393
2394 <object type="text" color="%text_color%">
2395 <font resource="font" />
2396 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2397 <text>%tw_operation% %tw_partition%</text>
2398 </object>
2399
2400 <object type="template" name="action_page_console" />
2401
2402 <object type="template" name="progress_bar" />
2403
2404 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002405 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <actions>
2407 <action function="set">tw_back=restore_select</action>
2408 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002409 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <action function="page">action_complete</action>
2411 </actions>
2412 </object>
2413
2414 <object type="action">
2415 <action function="nandroid">restore</action>
2416 </object>
2417 </page>
2418
2419 <page name="settings">
2420 <object type="template" name="header" />
2421
2422 <object type="text" color="%text_color%">
2423 <font resource="font" />
2424 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2425 <text>Settings</text>
2426 </object>
2427
2428 <object type="checkbox">
2429 <placement x="%col1_x%" y="%row2_text_y%" />
2430 <font resource="font" color="%text_color%" />
2431 <text>Zip file signature verification?</text>
2432 <data variable="tw_signed_zip_verify" />
2433 <image checked="checkbox_true" unchecked="checkbox_false" />
2434 </object>
2435
2436 <object type="checkbox">
2437 <placement x="%col1_x%" y="%row3_text_y%" />
2438 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <text>Use rm -rf instead of formatting?</text>
2440 <data variable="tw_rm_rf" />
2441 <image checked="checkbox_true" unchecked="checkbox_false" />
2442 </object>
2443
2444 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002445 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <font resource="font" color="%text_color%" />
2447 <text>Skip MD5 generation on backups</text>
2448 <data variable="tw_skip_md5_generate" />
2449 <image checked="checkbox_true" unchecked="checkbox_false" />
2450 </object>
2451
2452 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002453 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%text_color%" />
2455 <text>Enable MD5 checking of backup files</text>
2456 <data variable="tw_skip_md5_check" />
2457 <image checked="checkbox_true" unchecked="checkbox_false" />
2458 </object>
2459
2460 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002461 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <font resource="font" color="%text_color%" />
2463 <text>Ignore image size errors during backup</text>
2464 <data variable="tw_ignore_image_size" />
2465 <image checked="checkbox_true" unchecked="checkbox_false" />
2466 </object>
2467
2468 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002469 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <font resource="font" color="%text_color%" />
2471 <text>Simulate most actions for theme testing</text>
2472 <data variable="tw_simulate_actions" />
2473 <image checked="checkbox_true" unchecked="checkbox_false" />
2474 </object>
2475
2476 <object type="checkbox">
2477 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002478 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <font resource="font" color="%text_color%" />
2480 <text>Simulate failure for actions</text>
2481 <data variable="tw_simulate_fail" />
2482 <image checked="checkbox_true" unchecked="checkbox_false" />
2483 </object>
2484
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002485 <object type="checkbox">
2486 <placement x="%col1_x%" y="%row9_text_y%" />
2487 <font resource="font" color="%text_color%" />
2488 <text>Use Military Time</text>
2489 <data variable="tw_military_time" />
2490 <image checked="checkbox_true" unchecked="checkbox_false" />
2491 </object>
2492
Dees_Troy51a0e822012-09-05 15:24:24 -04002493 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002494 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <placement x="%col1_x%" y="%row2_y%" />
2496 <font resource="font" color="%button_text_color%" />
2497 <text>Time Zone</text>
2498 <image resource="main_button" />
2499 <action function="page">timezone</action>
2500 </object>
2501
2502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002503 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002504 <placement x="%col4_x%" y="%row2_y%" />
2505 <font resource="font" color="%button_text_color%" />
2506 <text>Screen</text>
2507 <image resource="main_button" />
2508 <action function="page">screen</action>
2509 </object>
2510
2511 <object type="button">
2512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <placement x="%col_center_x%" y="%slider_y%" />
2514 <font resource="font" color="%button_text_color%" />
2515 <text>Restore Defaults</text>
2516 <image resource="main_button" />
2517 <action function="restoredefaultsettings"></action>
2518 </object>
2519
2520 <object type="action">
2521 <touch key="home" />
2522 <action function="page">main</action>
2523 </object>
2524
2525 <object type="action">
2526 <touch key="back" />
2527 <action function="page">main</action>
2528 </object>
2529
2530 <object type="template" name="footer" />
2531 </page>
2532
2533 <page name="timezone">
2534 <object type="template" name="header" />
2535
2536 <object type="text" color="%text_color%">
2537 <font resource="font" />
2538 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2539 <text>Select Time Zone</text>
2540 </object>
2541
2542 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002543 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002545 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2546 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002547 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002548 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002550 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <data name="tw_time_zone_guisel" />
2552 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2553 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2554 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2555 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2556 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2557 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2558 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2559 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2560 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2561 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2562 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2563 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2564 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2565 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2566 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2567 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2568 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2569 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2570 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2571 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2572 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2573 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2574 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2575 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2576 </object>
2577
2578 <object type="checkbox">
2579 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2580 <font resource="font" color="%text_color%" />
2581 <text>Do you use daylight savings time (DST)?</text>
2582 <data variable="tw_time_zone_guidst" />
2583 <image checked="checkbox_true" unchecked="checkbox_false" />
2584 </object>
2585
2586 <object type="text" color="%text_color%">
2587 <font resource="font" />
2588 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2589 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2590 </object>
2591
2592 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002593 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002594 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2595 <font resource="font" color="%button_text_color%" />
2596 <text>0</text>
2597 <image resource="medium_button" />
2598 <action function="set">tw_time_zone_guioffset=0</action>
2599 </object>
2600
2601 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002602 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002603 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2604 <font resource="font" color="%button_text_color%" />
2605 <text>15</text>
2606 <image resource="medium_button" />
2607 <action function="set">tw_time_zone_guioffset=15</action>
2608 </object>
2609
2610 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002611 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002612 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2613 <font resource="font" color="%button_text_color%" />
2614 <text>30</text>
2615 <image resource="medium_button" />
2616 <action function="set">tw_time_zone_guioffset=30</action>
2617 </object>
2618
2619 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002620 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2622 <font resource="font" color="%button_text_color%" />
2623 <text>45</text>
2624 <image resource="medium_button" />
2625 <action function="set">tw_time_zone_guioffset=45</action>
2626 </object>
2627
2628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002630 <placement x="%col4_x%" y="%row2_y%" />
2631 <font resource="font" color="%button_text_color%" />
2632 <text>Set Time Zone</text>
2633 <image resource="main_button" />
2634 <action function="setguitimezone"></action>
2635 </object>
2636
2637 <object type="text" color="%text_color%">
2638 <font resource="font" />
2639 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2640 <text>Current Time Zone: %tw_time_zone%</text>
2641 </object>
2642
2643 <object type="action">
2644 <touch key="home" />
2645 <action function="page">main</action>
2646 </object>
2647
2648 <object type="action">
2649 <touch key="back" />
2650 <action function="page">settings</action>
2651 </object>
2652
2653 <object type="template" name="footer" />
2654 </page>
2655
Dees_Troy2f9117a2013-02-17 19:52:09 -06002656 <page name="screen">
2657 <object type="template" name="header" />
2658
2659 <object type="text" color="%text_color%">
2660 <font resource="font" />
2661 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2662 <text>Screen Settings</text>
2663 </object>
2664
2665 <object type="text" color="%text_color%">
2666 <font resource="font" />
2667 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2668 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2669 </object>
2670
2671 <object type="button">
2672 <placement x="%col1_medium_x%" y="%row2_medium_y%" />
2673 <font resource="font" color="%button_text_color%" />
2674 <text>None</text>
2675 <image resource="medium_button" />
2676 <action function="set">tw_screen_timeout_secs=0</action>
2677 </object>
2678
2679 <object type="button">
2680 <placement x="%col2_medium_x%" y="%row2_medium_y%" />
2681 <font resource="font" color="%button_text_color%" />
2682 <text>60</text>
2683 <image resource="medium_button" />
2684 <action function="set">tw_screen_timeout_secs=60</action>
2685 </object>
2686
2687 <object type="button">
2688 <placement x="%col3_medium_x%" y="%row2_medium_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>120</text>
2691 <image resource="medium_button" />
2692 <action function="set">tw_screen_timeout_secs=120</action>
2693 </object>
2694
2695 <object type="button">
2696 <placement x="%col4_medium_x%" y="%row2_medium_y%" />
2697 <font resource="font" color="%button_text_color%" />
2698 <text>180</text>
2699 <image resource="medium_button" />
2700 <action function="set">tw_screen_timeout_secs=180</action>
2701 </object>
2702
2703 <object type="text" color="%text_color%">
2704 <condition var1="tw_has_brightnesss_file" var2="1" />
2705 <font resource="font" />
2706 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2707 <text>Brightness: %tw_brightness_display%</text>
2708 </object>
2709
2710 <object type="button">
2711 <condition var1="tw_has_brightnesss_file" var2="1" />
2712 <placement x="%col1_medium_x%" y="%row4_medium_y%" />
2713 <font resource="font" color="%button_text_color%" />
2714 <text>25%</text>
2715 <image resource="medium_button" />
2716 <actions>
2717 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2718 <action function="set">tw_brightness_display=25%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002719 <action function="set">tw_brightness=%tw_brightness_25%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002720 </actions>
2721 </object>
2722
2723 <object type="button">
2724 <condition var1="tw_has_brightnesss_file" var2="1" />
2725 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2726 <font resource="font" color="%button_text_color%" />
2727 <text>50%</text>
2728 <image resource="medium_button" />
2729 <actions>
2730 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2731 <action function="set">tw_brightness_display=50%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002732 <action function="set">tw_brightness=%tw_brightness_50%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002733 </actions>
2734 </object>
2735
2736 <object type="button">
2737 <condition var1="tw_has_brightnesss_file" var2="1" />
2738 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>75%</text>
2741 <image resource="medium_button" />
2742 <actions>
2743 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2744 <action function="set">tw_brightness_display=75%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002745 <action function="set">tw_brightness=%tw_brightness_75%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002746 </actions>
2747 </object>
2748
2749 <object type="button">
2750 <condition var1="tw_has_brightnesss_file" var2="1" />
2751 <placement x="%col4_medium_x%" y="%row4_medium_y%" />
2752 <font resource="font" color="%button_text_color%" />
2753 <text>100%</text>
2754 <image resource="medium_button" />
2755 <actions>
2756 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2757 <action function="set">tw_brightness_display=100%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002758 <action function="set">tw_brightness=%tw_brightness_100%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002759 </actions>
2760 </object>
2761
2762 <object type="action">
2763 <touch key="home" />
2764 <action function="page">main</action>
2765 </object>
2766
2767 <object type="action">
2768 <touch key="back" />
2769 <action function="page">settings</action>
2770 </object>
2771
2772 <object type="template" name="footer" />
2773 </page>
2774
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <page name="advanced">
2776 <object type="template" name="header" />
2777
2778 <object type="text" color="%text_color%">
2779 <font resource="font" />
2780 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2781 <text>Advanced</text>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <placement x="%col1_x%" y="%row1_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>Copy Log to SD</text>
2789 <image resource="main_button" />
2790 <actions>
2791 <action function="set">tw_back=advanced</action>
2792 <action function="set">tw_action=copylog</action>
2793 <action function="set">tw_text1=Copy Log to SD Card?</action>
2794 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2795 <action function="set">tw_complete_text1=Log Copy Complete</action>
2796 <action function="set">tw_slider_text=Swipe to Confirm</action>
2797 <action function="page">confirm_action</action>
2798 </actions>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <placement x="%col2_x%" y="%row1_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>Fix Permissions</text>
2806 <image resource="main_button" />
2807 <actions>
2808 <action function="set">tw_back=advanced</action>
2809 <action function="set">tw_action=fixpermissions</action>
2810 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2813 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002814 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002815 <action function="page">confirm_action</action>
2816 </actions>
2817 </object>
2818
2819 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002820 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002821 <placement x="%col3_x%" y="%row1_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>Terminal Command</text>
2824 <image resource="main_button" />
2825 <action function="page">terminalfolder</action>
2826 </object>
2827
2828 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002829 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002830 <placement x="%col4_x%" y="%row1_y%" />
2831 <font resource="font" color="%button_text_color%" />
2832 <text>ADB Sideload</text>
2833 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002834 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002835 </object>
2836
2837 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002838 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <condition var1="tw_allow_partition_sdcard" var2="1" />
2840 <placement x="%col1_x%" y="%row2_y%" />
2841 <font resource="font" color="%button_text_color%" />
2842 <text>Partition SD Card</text>
2843 <image resource="main_button" />
2844 <action function="page">partsdcard</action>
2845 </object>
2846
2847 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002848 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002849 <placement x="%col2_x%" y="%row2_y%" />
2850 <font resource="font" color="%button_text_color%" />
2851 <text>File Manager</text>
2852 <image resource="main_button" />
2853 <action function="page">filemanagerlist</action>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002858 <placement x="%col3_x%" y="%row2_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text>Reload Theme</text>
2861 <image resource="main_button" />
2862 <action function="reload"></action>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <condition var1="tw_show_dumlock" var2="1" />
2868 <placement x="%col4_x%" y="%row2_y%" />
2869 <font resource="font" color="%button_text_color%" />
2870 <text>HTC Dumlock</text>
2871 <image resource="main_button" />
2872 <action function="page">htcdumlock</action>
2873 </object>
2874
2875 <object type="action">
2876 <touch key="home" />
2877 <action function="page">main</action>
2878 </object>
2879
2880 <object type="action">
2881 <touch key="back" />
2882 <action function="page">main</action>
2883 </object>
2884
2885 <object type="template" name="footer" />
2886 </page>
2887
2888 <page name="partsdcard">
2889 <object type="template" name="header" />
2890
2891 <object type="text" color="%text_color%">
2892 <font resource="font" />
2893 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2894 <text>Partition SD Card</text>
2895 </object>
2896
2897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2900 <font resource="font" color="%button_text_color%" />
2901 <text></text>
2902 <image resource="minus_button" />
2903 <action function="addsubtract">tw_sdext_size-128</action>
2904 </object>
2905
2906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002907 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2909 <font resource="font" color="%button_text_color%" />
2910 <text></text>
2911 <image resource="plus_button" />
2912 <action function="addsubtract">tw_sdext_size+128</action>
2913 </object>
2914
2915 <object type="text" color="%text_color%">
2916 <font resource="font" />
2917 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2918 <text>EXT Size: %tw_sdext_size%</text>
2919 </object>
2920
2921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002922 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002923 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2924 <font resource="font" color="%button_text_color%" />
2925 <text></text>
2926 <image resource="minus_button" />
2927 <action function="addsubtract">tw_swap_size-32</action>
2928 </object>
2929
2930 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002931 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002932 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2933 <font resource="font" color="%button_text_color%" />
2934 <text></text>
2935 <image resource="plus_button" />
2936 <action function="addsubtract">tw_swap_size+32</action>
2937 </object>
2938
2939 <object type="text" color="%text_color%">
2940 <font resource="font" />
2941 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2942 <text>Swap Size: %tw_swap_size%</text>
2943 </object>
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2948 <text>File system: %tw_sdpart_file_system%</text>
2949 </object>
2950
2951 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002952 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002953 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2954 <font resource="font" color="%button_text_color%" />
2955 <text>EXT3</text>
2956 <image resource="medium_button" />
2957 <action function="set">tw_sdpart_file_system=ext3</action>
2958 </object>
2959
2960 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002961 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <condition var1="tw_sdext_disable_ext4" var2="0" />
2963 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2964 <font resource="font" color="%button_text_color%" />
2965 <text>EXT4</text>
2966 <image resource="medium_button" />
2967 <action function="set">tw_sdpart_file_system=ext4</action>
2968 </object>
2969
2970 <object type="text" color="%text_color%">
2971 <font resource="font" />
2972 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2973 <text>You will lose all files on your SD card!</text>
2974 </object>
2975
2976 <object type="text" color="%text_color%">
2977 <font resource="font" />
2978 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2979 <text>This action cannot be undone!</text>
2980 </object>
2981
2982 <object type="slider">
2983 <placement x="%slider_x%" y="%slider_y%" />
2984 <resource base="slider" used="slider-used" touch="slider-touch" />
2985 <actions>
2986 <action function="set">tw_back=partsdcard</action>
2987 <action function="set">tw_action=partitionsd</action>
2988 <action function="set">tw_has_action2=1</action>
2989 <action function="set">tw_action2=set</action>
2990 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2991 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2992 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002993 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002994 <action function="page">action_page</action>
2995 </actions>
2996 </object>
2997
2998 <object type="text" color="%text_color%">
2999 <font resource="font" />
3000 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3001 <text>Swipe to Confirm Partition</text>
3002 </object>
3003
3004 <object type="action">
3005 <touch key="home" />
3006 <action function="page">main</action>
3007 </object>
3008
3009 <object type="action">
3010 <touch key="back" />
3011 <action function="page">advanced</action>
3012 </object>
3013
3014 <object type="template" name="footer" />
3015 </page>
3016
3017
3018 <page name="htcdumlock">
3019 <object type="template" name="header" />
3020
3021 <object type="text" color="%text_color%">
3022 <font resource="font" />
3023 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3024 <text>HTC Dumlock</text>
3025 </object>
3026
3027 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003028 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003029 <condition var1="tw_show_dumlock" var2="1" />
3030 <placement x="%col1_x%" y="%row1_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>Restore Original Boot</text>
3033 <image resource="main_button" />
3034 <actions>
3035 <action function="set">tw_back=htcdumlock</action>
3036 <action function="set">tw_action=htcdumlockrestoreboot</action>
3037 <action function="set">tw_text1=Restore original boot image?</action>
3038 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3039 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3040 <action function="set">tw_slider_text=Swipe to Confirm</action>
3041 <action function="page">confirm_action</action>
3042 </actions>
3043 </object>
3044
3045 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003046 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003047 <condition var1="tw_show_dumlock" var2="1" />
3048 <placement x="%col2_x%" y="%row1_y%" />
3049 <font resource="font" color="%button_text_color%" />
3050 <text>Reflash Recovery->Boot</text>
3051 <image resource="main_button" />
3052 <actions>
3053 <action function="set">tw_back=htcdumlock</action>
3054 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3055 <action function="set">tw_text1=Reflash recovery to boot?</action>
3056 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3057 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3058 <action function="set">tw_slider_text=Swipe to Confirm</action>
3059 <action function="page">confirm_action</action>
3060 </actions>
3061 </object>
3062
3063 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003064 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003065 <condition var1="tw_show_dumlock" var2="1" />
3066 <placement x="%col1_x%" y="%row2_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Install HTC Dumlock</text>
3069 <image resource="main_button" />
3070 <actions>
3071 <action function="set">tw_back=htcdumlock</action>
3072 <action function="set">tw_action=installhtcdumlock</action>
3073 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3074 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3075 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3076 <action function="set">tw_slider_text=Swipe to Confirm</action>
3077 <action function="page">confirm_action</action>
3078 </actions>
3079 </object>
3080
3081 <object type="action">
3082 <touch key="home" />
3083 <action function="page">main</action>
3084 </object>
3085
3086 <object type="action">
3087 <touch key="back" />
3088 <action function="page">advanced</action>
3089 </object>
3090
3091 <object type="template" name="footer" />
3092 </page>
3093
3094 <page name="lock">
3095 <background color="#000000A0" />
3096
3097 <object type="image">
3098 <image resource="unlock-icon" />
3099 <placement x="%lock_x%" y="%lock_y%" />
3100 </object>
3101
3102 <object type="slider">
3103 <placement x="%slider_x%" y="%slider_y%" />
3104 <resource base="slider" used="slider-used" touch="slider-touch" />
3105 <action function="overlay"></action>
3106 </object>
3107
3108 <object type="text" color="%text_color%">
3109 <font resource="font" />
3110 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3111 <text>Swipe to Unlock</text>
3112 </object>
3113 </page>
3114
3115
3116 <page name="filemanagerlist">
3117 <object type="template" name="header" />
3118
3119 <object type="text" color="%text_color%">
3120 <font resource="font" />
3121 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3122 <text>File Manager: Select a File or Folder</text>
3123 </object>
3124
3125 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003126 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3128 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3129 <text>Folders:</text>
3130 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3131 <sort name="tw_gui_sort_order" />
3132 <icon folder="folder_icon" file="file_icon" />
3133 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003134 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003135 <filter folders="1" files="0" />
3136 <path name="tw_file_location1" default="/sdcard" />
3137 <data name="select" />
3138 <selection name="tw_selection1" />
3139 </object>
3140
3141 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003142 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003143 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3144 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3145 <text>%tw_file_location1%</text>
3146 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3147 <sort name="tw_gui_sort_order" />
3148 <icon folder="folder_icon" file="file_icon" />
3149 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003150 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003151 <filter folders="0" files="1" />
3152 <path name="tw_file_location1" default="/" />
3153 <data name="tw_filename1" />
3154 <selection name="tw_selection1" />
3155 </object>
3156
3157 <object type="template" name="sort_options" />
3158
3159 <object type="action">
3160 <actions>
3161 <action function="set">tw_fm_type=File</action>
3162 <action function="set">tw_fm_isfolder=0</action>
3163 </actions>
3164 </object>
3165
3166 <object type="action">
3167 <touch key="home" />
3168 <action function="page">main</action>
3169 </object>
3170
3171 <object type="action">
3172 <touch key="back" />
3173 <action function="page">advanced</action>
3174 </object>
3175
3176 <object type="action">
3177 <condition var1="tw_filename1" op="modified" />
3178 <actions>
3179 <action function="page">filemanageroptions</action>
3180 </actions>
3181 </object>
3182
3183 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003184 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003185 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3186 <font resource="font" color="%button_text_color%" />
3187 <text>Select Folder</text>
3188 <image resource="main_button" />
3189 <actions>
3190 <action function="set">tw_filename1=tw_file_location1</action>
3191 <action function="set">tw_fm_isfolder=1</action>
3192 <action function="set">tw_fm_type=Folder</action>
3193 <action function="page">filemanageroptions</action>
3194 </actions>
3195 </object>
3196
3197 <object type="template" name="footer" />
3198 </page>
3199
3200 <page name="filemanageroptions">
3201 <object type="template" name="header" />
3202
3203 <object type="text" color="%text_color%">
3204 <font resource="font" />
3205 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3206 <text>%tw_fm_type% Selected:</text>
3207 </object>
3208
3209 <object type="text" color="%text_color%">
3210 <font resource="font" />
3211 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3212 <text>%tw_filename1%</text>
3213 </object>
3214
3215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003217 <condition var1="tw_fm_isfolder" var2="0" />
3218 <placement x="%col1_x%" y="%row2_y%" />
3219 <font resource="font" color="%button_text_color%" />
3220 <text>Copy File</text>
3221 <image resource="main_button" />
3222 <actions>
3223 <action function="set">tw_filemanager_command=cp</action>
3224 <action function="set">tw_fm_text1=Copying</action>
3225 <action function="page">choosedestinationfolder</action>
3226 </actions>
3227 </object>
3228
3229 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003230 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003231 <condition var1="tw_fm_isfolder" var2="1" />
3232 <placement x="%col1_x%" y="%row2_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text>Copy Folder</text>
3235 <image resource="main_button" />
3236 <actions>
3237 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3238 <action function="set">tw_fm_text1=Copying</action>
3239 <action function="page">choosedestinationfolder</action>
3240 </actions>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <placement x="%col2_x%" y="%row2_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>Move</text>
3248 <image resource="main_button" />
3249 <actions>
3250 <action function="set">tw_filemanager_command=mv</action>
3251 <action function="set">tw_fm_text1=Moving</action>
3252 <action function="page">choosedestinationfolder</action>
3253 </actions>
3254 </object>
3255
3256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003258 <placement x="%col3_x%" y="%row2_y%" />
3259 <font resource="font" color="%button_text_color%" />
3260 <text>chmod 755</text>
3261 <image resource="main_button" />
3262 <actions>
3263 <action function="set">tw_filemanager_command=chmod 755</action>
3264 <action function="set">tw_fm_text1=chmod 755</action>
3265 <action function="set">tw_fm_text2=</action>
3266 <action function="set">tw_fm_text3=</action>
3267 <action function="set">tw_include_text3=0</action>
3268 <action function="set">tw_back=filemanageroptions</action>
3269 <action function="page">filemanagerconfirm</action>
3270 </actions>
3271 </object>
3272
3273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003275 <placement x="%col4_x%" y="%row2_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>chmod</text>
3278 <image resource="main_button" />
3279 <actions>
3280 <action function="set">tw_filemanager_rename=0000</action>
3281 <action function="set">tw_fm_text2=</action>
3282 <action function="set">tw_fm_text3=</action>
3283 <action function="set">tw_include_text3=0</action>
3284 <action function="set">tw_back=filemanageroptions</action>
3285 <action function="page">filemanagerchmod</action>
3286 </actions>
3287 </object>
3288
3289 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003290 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003291 <placement x="%col1_x%" y="%row1_y%" />
3292 <font resource="font" color="%button_text_color%" />
3293 <text>Delete</text>
3294 <image resource="main_button" />
3295 <actions>
3296 <action function="set">tw_filemanager_command=rm -rf</action>
3297 <action function="set">tw_fm_text1=Deleting</action>
3298 <action function="set">tw_fm_text2=</action>
3299 <action function="set">tw_fm_text3=</action>
3300 <action function="set">tw_include_text3=0</action>
3301 <action function="set">tw_back=filemanageroptions</action>
3302 <action function="page">filemanagerconfirm</action>
3303 </actions>
3304 </object>
3305
3306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003308 <condition var1="tw_fm_isfolder" var2="0" />
3309 <placement x="%col4_x%" y="%row1_y%" />
3310 <font resource="font" color="%button_text_color%" />
3311 <text>Rename File</text>
3312 <image resource="main_button" />
3313 <actions>
3314 <action function="set">tw_filemanager_rename=tw_selection1</action>
3315 <action function="set">tw_fm_text1=Renaming</action>
3316 <action function="set">tw_filemanager_command=mv</action>
3317 <action function="page">filemanagerrenamefile</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 <condition var1="tw_fm_isfolder" var2="1" />
3324 <placement x="%col4_x%" y="%row1_y%" />
3325 <font resource="font" color="%button_text_color%" />
3326 <text>Rename Folder</text>
3327 <image resource="main_button" />
3328 <actions>
3329 <action function="set">tw_filemanager_rename=tw_selection1</action>
3330 <action function="set">tw_fm_text1=Renaming</action>
3331 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3332 <action function="page">filemanagerrenamefolder</action>
3333 </actions>
3334 </object>
3335
3336 <object type="action">
3337 <touch key="home" />
3338 <action function="page">main</action>
3339 </object>
3340
3341 <object type="action">
3342 <touch key="back" />
3343 <action function="page">filemanagerlist</action>
3344 </object>
3345
3346 <object type="template" name="footer" />
3347 </page>
3348
3349 <page name="choosedestinationfolder">
3350 <object type="template" name="header" />
3351
3352 <object type="text" color="%text_color%">
3353 <font resource="font" />
3354 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3355 <text>Browse to Destination Folder & Press Select</text>
3356 </object>
3357
3358 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003359 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003360 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3361 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3362 <text>%tw_file_location2%</text>
3363 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3364 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003365 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003366 <icon folder="folder_icon" file="file_icon" />
3367 <background color="%fileselector_background%" />
3368 <filter folders="1" files="0" />
3369 <path name="tw_file_location2" default="/sdcard" />
3370 <data name="tw_filename2" />
3371 </object>
3372
3373 <object type="template" name="sort_options" />
3374
3375 <object type="action">
3376 <touch key="home" />
3377 <action function="page">main</action>
3378 </object>
3379
3380 <object type="action">
3381 <touch key="back" />
3382 <action function="page">filemanageroptions</action>
3383 </object>
3384
3385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003387 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3388 <font resource="font" color="%button_text_color%" />
3389 <text>Select Folder</text>
3390 <image resource="main_button" />
3391 <actions>
3392 <action function="set">tw_fm_text2=to</action>
3393 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3394 <action function="set">tw_include_text3=1</action>
3395 <action function="set">tw_back=filemanageroptions</action>
3396 <action function="page">filemanagerconfirm</action>
3397 </actions>
3398 </object>
3399
3400 <object type="template" name="footer" />
3401 </page>
3402
3403 <page name="filemanagerrenamefile">
3404 <object type="template" name="header" />
3405
3406 <object type="text" color="%text_color%">
3407 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3408 <font resource="font" />
3409 <text>Please Enter a New %tw_fm_type% Name</text>
3410 </object>
3411
3412 <object type="input">
3413 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3414 <background color="%input_background_color%" />
3415 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3416 <font resource="font" color="%text_color%" />
3417 <text>%tw_filemanager_rename%</text>
3418 <data name="tw_filemanager_rename" />
3419 <restrict minlen="1" maxlen="128" />
3420 <actions>
3421 <action function="set">tw_fm_text2=to</action>
3422 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3423 <action function="set">tw_include_text3=1</action>
3424 <action function="set">tw_back=filemanageroptions</action>
3425 <action function="page">filemanagerconfirm</action>
3426 </actions>
3427 </object>
3428
3429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003431 <placement x="%col_center_x%" y="%cancel_button_y%" />
3432 <font resource="font" color="%button_text_color%" />
3433 <text>Cancel</text>
3434 <image resource="main_button" />
3435 <action function="page">filemanageroptions</action>
3436 </object>
3437
3438 <object type="template" name="keyboardtemplate" />
3439
3440 <object type="action">
3441 <touch key="home" />
3442 <action function="page">main</action>
3443 </object>
3444
3445 <object type="action">
3446 <touch key="back" />
3447 <action function="page">filemanageroptions</action>
3448 </object>
3449
3450 <object type="template" name="footer" />
3451 </page>
3452
3453 <page name="filemanagerrenamefolder">
3454 <object type="template" name="header" />
3455
3456 <object type="text" color="%text_color%">
3457 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3458 <font resource="font" />
3459 <text>Please Enter a New %tw_fm_type% Name</text>
3460 </object>
3461
3462 <object type="input">
3463 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3464 <background color="%input_background_color%" />
3465 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3466 <font resource="font" color="%text_color%" />
3467 <text>%tw_filemanager_rename%</text>
3468 <data name="tw_filemanager_rename" />
3469 <restrict minlen="1" maxlen="128" />
3470 <actions>
3471 <action function="set">tw_fm_text2=to</action>
3472 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3473 <action function="set">tw_include_text3=1</action>
3474 <action function="set">tw_back=filemanageroptions</action>
3475 <action function="page">filemanagerconfirm</action>
3476 </actions>
3477 </object>
3478
3479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003481 <placement x="%col_center_x%" y="%cancel_button_y%" />
3482 <font resource="font" color="%button_text_color%" />
3483 <text>Cancel</text>
3484 <image resource="main_button" />
3485 <action function="page">filemanageroptions</action>
3486 </object>
3487
3488 <object type="template" name="keyboardtemplate" />
3489
3490 <object type="action">
3491 <touch key="home" />
3492 <action function="page">main</action>
3493 </object>
3494
3495 <object type="action">
3496 <touch key="back" />
3497 <action function="page">filemanageroptions</action>
3498 </object>
3499
3500 <object type="template" name="footer" />
3501 </page>
3502
3503 <page name="filemanagerchmod">
3504 <object type="template" name="header" />
3505
3506 <object type="text" color="%text_color%">
3507 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3508 <font resource="font" />
3509 <text>Please Enter New Permissions</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_filemanager_rename%</text>
3518 <data name="tw_filemanager_rename" />
3519 <restrict minlen="3" maxlen="4" allow="0123456789" />
3520 <actions>
3521 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3522 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3523 <action function="set">tw_back=filemanageroptions</action>
3524 <action function="page">filemanagerconfirm</action>
3525 </actions>
3526 </object>
3527
3528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003529 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003530 <placement x="%col_center_x%" y="%cancel_button_y%" />
3531 <font resource="font" color="%button_text_color%" />
3532 <text>Cancel</text>
3533 <image resource="main_button" />
3534 <action function="page">filemanageroptions</action>
3535 </object>
3536
3537 <object type="template" name="keyboardtemplate" />
3538
3539 <object type="action">
3540 <touch key="home" />
3541 <action function="page">main</action>
3542 </object>
3543
3544 <object type="action">
3545 <touch key="back" />
3546 <action function="page">filemanageroptions</action>
3547 </object>
3548
3549 <object type="template" name="footer" />
3550 </page>
3551
3552 <page name="filemanagerconfirm">
3553 <object type="template" name="header" />
3554
3555 <object type="text" color="%text_color%">
3556 <font resource="font" />
3557 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3558 <text>%tw_fm_text1%</text>
3559 </object>
3560
3561 <object type="text" color="%text_color%">
3562 <font resource="font" />
3563 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3564 <text>%tw_filename1%</text>
3565 </object>
3566
3567 <object type="text" color="%text_color%">
3568 <font resource="font" />
3569 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3570 <text>%tw_fm_text2%</text>
3571 </object>
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3576 <text>%tw_fm_text3%</text>
3577 </object>
3578
3579 <object type="text" color="%text_color%">
3580 <font resource="font" />
3581 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3582 <text>Press back button to cancel.</text>
3583 </object>
3584
3585 <object type="slider">
3586 <placement x="%slider_x%" y="%slider_y%" />
3587 <resource base="slider" used="slider-used" touch="slider-touch" />
3588 <action function="page">filemanageracction</action>
3589 </object>
3590
3591 <object type="text" color="%text_color%">
3592 <font resource="font" />
3593 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3594 <text>Swipe to Confirm</text>
3595 </object>
3596
3597 <object type="action">
3598 <touch key="back" />
3599 <action function="page">%tw_back%</action>
3600 </object>
3601
3602 <object type="action">
3603 <touch key="home" />
3604 <action function="page">main</action>
3605 </object>
3606
3607 <object type="template" name="footer" />
3608 </page>
3609
3610 <page name="filemanageracction">
3611 <object type="template" name="header" />
3612
3613 <object type="text" color="%text_color%">
3614 <font resource="font" />
3615 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3616 <text>%tw_fm_text1%</text>
3617 </object>
3618
3619 <object type="template" name="action_page_console" />
3620
3621 <object type="template" name="progress_bar" />
3622
3623 <object type="action">
3624 <conditions>
3625 <condition var1="tw_operation_state" var2="1" />
3626 <condition var1="tw_operation_status" var2="0" />
3627 </conditions>
3628 <actions>
3629 <action function="set">tw_back=filemanagerlist</action>
3630 <action function="set">tw_complete_text1=File Operation Complete</action>
3631 <action function="page">action_complete</action>
3632 </actions>
3633 </object>
3634
3635 <object type="action">
3636 <conditions>
3637 <condition var1="tw_operation_state" var2="1" />
3638 <condition var1="tw_operation_status" op="!=" var2="0" />
3639 </conditions>
3640 <actions>
3641 <action function="set">tw_complete_text1=File Operation Complete</action>
3642 <action function="page">action_complete</action>
3643 </actions>
3644 </object>
3645
3646 <object type="action">
3647 <condition var1="tw_include_text3" var2="0" />
3648 <actions>
3649 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3650 </actions>
3651 </object>
3652
3653 <object type="action">
3654 <condition var1="tw_include_text3" var2="1" />
3655 <actions>
3656 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3657 </actions>
3658 </object>
3659 </page>
3660
3661 <page name="decrypt">
3662 <object type="template" name="header" />
3663
3664 <object type="text" color="%text_color%">
3665 <font resource="font" />
3666 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3667 <text>Please Enter Your Password</text>
3668 </object>
3669
3670 <object type="input">
3671 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3672 <background color="%input_background_color%" />
3673 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3674 <font resource="font" color="%text_color%" />
3675 <text>%tw_crypto_display%</text>
3676 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3677 <restrict minlen="1" maxlen="254" />
3678 <actions>
3679 <action function="page">trydecrypt</action>
3680 </actions>
3681 </object>
3682
3683 <object type="text" color="%text_fail_color%">
3684 <condition var1="tw_password_fail" var2="1" />
3685 <font resource="font" />
3686 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3687 <text>Password Failed, Please Try Again</text>
3688 </object>
3689
3690 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003691 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003692 <placement x="%col_center_x%" y="%cancel_button_y%" />
3693 <font resource="font" color="%button_text_color%" />
3694 <text>Cancel</text>
3695 <image resource="main_button" />
3696 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003697 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003698 <action function="page">main</action>
3699 </actions>
3700 </object>
3701
3702 <object type="template" name="keyboardtemplate" />
3703
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 <object type="template" name="footer" />
3705 </page>
3706
3707 <page name="trydecrypt">
3708 <object type="template" name="header" />
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3713 <text>Trying Decryption with Your Password</text>
3714 </object>
3715
3716 <object type="template" name="action_page_console" />
3717
3718 <object type="template" name="progress_bar" />
3719
3720 <object type="action">
3721 <action function="decrypt"></action>
3722 </object>
3723
3724 <object type="action">
3725 <conditions>
3726 <condition var1="tw_operation_state" var2="1" />
3727 <condition var1="tw_operation_status" op="!=" var2="0" />
3728 </conditions>
3729 <actions>
3730 <action function="set">tw_password_fail=1</action>
3731 <action function="page">decrypt</action>
3732 </actions>
3733 </object>
3734
3735 <object type="action">
3736 <conditions>
3737 <condition var1="tw_operation_state" var2="1" />
3738 <condition var1="tw_operation_status" op="=" var2="0" />
3739 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003740 <actions>
3741 <action function="set">tw_page_done=1</action>
3742 <action function="page">main</action>
3743 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003744 </object>
3745 </page>
3746
3747 <page name="terminalfolder">
3748 <object type="template" name="header" />
3749
3750 <object type="text" color="%text_color%">
3751 <font resource="font" />
3752 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3753 <text>Browse to Starting Folder</text>
3754 </object>
3755
3756 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003757 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003758 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3759 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3760 <text>%tw_terminal_location%</text>
3761 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3762 <sort name="tw_gui_sort_order" />
3763 <icon folder="folder_icon" file="file_icon" />
3764 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003765 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <filter folders="1" files="0" />
3767 <path name="tw_terminal_location" default="/" />
3768 <data name="tw_terminal" />
3769 <selection name="tw_terminal_selection" />
3770 </object>
3771
3772 <object type="template" name="sort_options" />
3773
3774 <object type="action">
3775 <touch key="home" />
3776 <action function="page">main</action>
3777 </object>
3778
3779 <object type="action">
3780 <touch key="back" />
3781 <action function="page">advanced</action>
3782 </object>
3783
3784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003786 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3787 <font resource="font" color="%button_text_color%" />
3788 <text>Select Folder</text>
3789 <image resource="main_button" />
3790 <actions>
3791 <action function="page">terminalcommand</action>
3792 </actions>
3793 </object>
3794
3795 <object type="template" name="footer" />
3796 </page>
3797
3798 <page name="terminalcommand">
3799 <background color="#000000FF" />
3800
3801 <object type="console">
3802 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3803 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3804 <font resource="fixed" />
3805 </object>
3806
3807 <object type="text" color="%text_color%">
3808 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3809 <font resource="font" />
3810 <text>Starting Path: %tw_terminal_location%</text>
3811 </object>
3812
3813 <object type="input">
3814 <condition var1="tw_terminal_state" var2="0" />
3815 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3816 <background color="%input_background_color%" />
3817 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3818 <font resource="font" color="%text_color%" />
3819 <text>%tw_terminal_command%</text>
3820 <data name="tw_terminal_command" />
3821 <restrict minlen="1" />
3822 <action function="terminalcommand">%tw_terminal_command%</action>
3823 </object>
3824
3825 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003826 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003827 <condition var1="tw_terminal_state" var2="1" />
3828 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3829 <font resource="font" color="%button_text_color%" />
3830 <text>KILL</text>
3831 <image resource="medium_button" />
3832 <action function="killterminal"></action>
3833 </object>
3834
3835 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003836 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003837 <placement x="%home_button_x%" y="%terminal_button_y%" />
3838 <font resource="font" color="%button_text_color%" />
3839 <text></text>
3840 <image resource="home_icon" />
3841 <condition var1="tw_busy" var2="0" />
3842 <action function="key">home</action>
3843 </object>
3844
3845 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003846 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003847 <placement x="%back_button_x%" y="%terminal_button_y%" />
3848 <font resource="font" color="%button_text_color%" />
3849 <text></text>
3850 <image resource="back_icon" />
3851 <condition var1="tw_busy" var2="0" />
3852 <action function="key">back</action>
3853 </object>
3854
3855 <object type="action">
3856 <touch key="power" />
3857 <action function="overlay">lock</action>
3858 </object>
3859
3860 <object type="template" name="keyboardtemplate" />
3861
3862 <object type="action">
3863 <touch key="home" />
3864 <action function="page">main</action>
3865 </object>
3866
3867 <object type="action">
3868 <touch key="back" />
3869 <action function="page">terminalfolder</action>
3870 </object>
3871 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003872
3873 <page name="sideload">
3874 <object type="template" name="header" />
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3879 <text>ADB Sideload</text>
3880 </object>
3881
3882 <object type="checkbox">
3883 <placement x="%col1_x%" y="%row3_text_y%" />
3884 <font resource="font" color="%text_color%" />
3885 <text>Wipe Dalvik Cache.</text>
3886 <data variable="tw_wipe_dalvik" />
3887 <image checked="checkbox_true" unchecked="checkbox_false" />
3888 </object>
3889
3890 <object type="checkbox">
3891 <placement x="%col1_x%" y="%row4_text_y%" />
3892 <font resource="font" color="%text_color%" />
3893 <text>Wipe Cache.</text>
3894 <data variable="tw_wipe_cache" />
3895 <image checked="checkbox_true" unchecked="checkbox_false" />
3896 </object>
3897
3898 <object type="slider">
3899 <placement x="%slider_x%" y="%slider_y%" />
3900 <resource base="slider" used="slider-used" touch="slider-touch" />
3901 <actions>
3902 <action function="set">tw_back=advanced</action>
3903 <action function="set">tw_action=adbsideload</action>
3904 <action function="set">tw_action_text1=ADB Sideload</action>
3905 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3906 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3907 <action function="set">tw_has_cancel=1</action>
3908 <action function="set">tw_show_reboot=1</action>
3909 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3910 <action function="page">action_page</action>
3911 </actions>
3912 </object>
3913
3914 <object type="text" color="%text_color%">
3915 <font resource="font" />
3916 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3917 <text>Swipe to Start Sideload</text>
3918 </object>
3919
3920 <object type="action">
3921 <touch key="home" />
3922 <action function="page">main</action>
3923 </object>
3924
3925 <object type="action">
3926 <touch key="back" />
3927 <action function="page">advanced</action>
3928 </object>
3929
3930 <object type="template" name="footer" />
3931 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003932
3933 <page name="installsu">
3934 <object type="template" name="header" />
3935
3936 <object type="text" color="%text_color%">
3937 <font resource="font" />
3938 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3939 <text>Install SuperSU?</text>
3940 </object>
3941
3942 <object type="text" color="%text_color%">
3943 <font resource="font" />
3944 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3945 <text>Your device does not appear to be rooted.</text>
3946 </object>
3947
3948 <object type="text" color="%text_color%">
3949 <font resource="font" />
3950 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3951 <text>Install SuperSU now? This will root your device.</text>
3952 </object>
3953
3954 <object type="button">
3955 <highlight color="%highlight_color%" />
3956 <placement x="%col_center_x%" y="%row2_medium_y%" />
3957 <font resource="font" color="%button_text_color%" />
3958 <text>Do Not Install</text>
3959 <image resource="main_button" />
3960 <action function="set">tw_page_done=1</action>
3961 </object>
3962
3963 <object type="slider">
3964 <placement x="%slider_x%" y="%slider_y%" />
3965 <resource base="slider" used="slider-used" touch="slider-touch" />
3966 <actions>
3967 <action function="set">tw_action=installsu</action>
3968 <action function="set">tw_action_text1=Installing SuperSU</action>
3969 <action function="set">tw_action_text2=</action>
3970 <action function="page">singleaction_page</action>
3971 </actions>
3972 </object>
3973
3974 <object type="text" color="%text_color%">
3975 <font resource="font" />
3976 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3977 <text>Swipe to Install</text>
3978 </object>
3979 </page>
3980
3981 <page name="fixsu">
3982 <object type="template" name="header" />
3983
3984 <object type="text" color="%text_color%">
3985 <font resource="font" />
3986 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3987 <text>Fix Superuser Permissions?</text>
3988 </object>
3989
3990 <object type="text" color="%text_color%">
3991 <font resource="font" />
3992 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3993 <text>Root permissions appear to be lost.</text>
3994 </object>
3995
3996 <object type="text" color="%text_color%">
3997 <font resource="font" />
3998 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3999 <text>Fix root permissions now?</text>
4000 </object>
4001
4002 <object type="text" color="%text_color%">
4003 <font resource="font" />
4004 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4005 <text>(Fixes permissions on su binary & app)</text>
4006 </object>
4007
4008 <object type="button">
4009 <highlight color="%highlight_color%" />
4010 <placement x="%col_center_x%" y="%row2_medium_y%" />
4011 <font resource="font" color="%button_text_color%" />
4012 <text>Do Not Fix</text>
4013 <image resource="main_button" />
4014 <action function="set">tw_page_done=1</action>
4015 </object>
4016
4017 <object type="slider">
4018 <placement x="%slider_x%" y="%slider_y%" />
4019 <resource base="slider" used="slider-used" touch="slider-touch" />
4020 <actions>
4021 <action function="set">tw_action=fixsu</action>
4022 <action function="set">tw_action_text1=Fixing Root Permissions</action>
4023 <action function="set">tw_action_text2=</action>
4024 <action function="page">singleaction_page</action>
4025 </actions>
4026 </object>
4027
4028 <object type="text" color="%text_color%">
4029 <font resource="font" />
4030 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4031 <text>Swipe to Fix Root</text>
4032 </object>
4033 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004034 </pages>
4035</recovery>