blob: 9501ad899347ea1ae89ed84290e25b3f6c9d812b [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="480" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-16" />
14 <resource name="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040044 <resource name="exclamation" type="image" filename="exclamation150" />
Dees_Troy51a0e822012-09-05 15:24:24 -040045 </resources>
46
47 <variables>
48 <variable name="col1_x" value="23" />
49 <variable name="col2_x" value="210" />
50 <variable name="col3_x" value="410" />
51 <variable name="col4_x" value="610" />
52 <variable name="row1_y" value="90" />
53 <variable name="row2_y" value="340" />
54 <variable name="col_center_x" value="310" />
55 <variable name="center_x" value="400" />
56 <variable name="screen_width" value="800" />
57 <variable name="screen_height" value="480" />
58 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040059 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040060 <variable name="col1_medium_x" value="120" />
61 <variable name="col2_medium_x" value="250" />
62 <variable name="col3_medium_x" value="380" />
63 <variable name="col4_medium_x" value="510" />
64 <variable name="row1_medium_y" value="105" />
65 <variable name="row2_medium_y" value="175" />
66 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060067 <variable name="row4_medium_y" value="340" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row5_medium_y" value="320" />
69 <variable name="row1_text_y" value="58" />
70 <variable name="row2_text_y" value="78" />
71 <variable name="row3_text_y" value="100" />
72 <variable name="row4_text_y" value="120" />
73 <variable name="row5_text_y" value="140" />
74 <variable name="row6_text_y" value="160" />
75 <variable name="row7_text_y" value="180" />
76 <variable name="row8_text_y" value="200" />
77 <variable name="row9_text_y" value="220" />
78 <variable name="row10_text_y" value="240" />
79 <variable name="row11_text_y" value="260" />
80 <variable name="row12_text_y" value="280" />
81 <variable name="row13_text_y" value="300" />
82 <variable name="row14_text_y" value="320" />
83 <variable name="row15_text_y" value="340" />
84 <variable name="row16_text_y" value="360" />
85 <variable name="row17_text_y" value="380" />
86 <variable name="row18_text_y" value="400" />
87 <variable name="row_offsetmedium_y" value="320" />
88 <variable name="home_button_x" value="589" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="659" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="729" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="23" />
95 <variable name="nandcheck_col2" value="360" />
96 <variable name="nandcheck_row1" value="130" />
97 <variable name="nandcheck_row2" value="160" />
98 <variable name="nandcheck_row3" value="190" />
99 <variable name="nandcheck_row4" value="220" />
100 <variable name="nandcheck_row5" value="250" />
101 <variable name="nandcheck_row6" value="280" />
102 <variable name="nandcheck_row7" value="310" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#A0A0A0" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600107 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400108 <variable name="slider_x" value="225" />
109 <variable name="slider_y" value="390" />
110 <variable name="slider_text_y" value="425" />
111 <variable name="sort_text_x" value="170" />
112 <variable name="sort_asc_text_y" value="418" />
113 <variable name="sort_asc_button_y" value="413" />
114 <variable name="sort_desc_text_y" value="452" />
115 <variable name="sort_desc_button_y" value="447" />
116 <variable name="sort_col1_button_x" value="300" />
117 <variable name="sort_col2_button_x" value="370" />
118 <variable name="sort_col3_button_x" value="440" />
119 <variable name="col1_sdext_x" value="265" />
120 <variable name="col2_sdext_x" value="475" />
121 <variable name="row1_sdext_y" value="85" />
122 <variable name="row2_sdext_y" value="150" />
123 <variable name="row_extsize_y" value="85" />
124 <variable name="row_swapsize_y" value="150" />
125 <variable name="input_x" value="28" />
126 <variable name="input_width" value="720" />
127 <variable name="input_height" value="25" />
128 <variable name="input_background_color" value="#303030" />
129 <variable name="input_cursor_color" value="#33B5E5" />
130 <variable name="input_cursor_width" value="2" />
131 <variable name="console_x" value="25" />
132 <variable name="console_width" value="750" />
133 <variable name="console_foreground" value="#A0A0A0" />
134 <variable name="console_background" value="#303030" />
135 <variable name="console_scroll" value="#303030" />
136 <variable name="console_action_height" value="230" />
137 <variable name="console_install_height" value="260" />
138 <variable name="console_installdone_height" value="260" />
139 <variable name="fileselector_folder_x" value="28" />
140 <variable name="fileselector_folder_width" value="248" />
141 <variable name="fileselector_folderonly_width" value="460" />
142 <variable name="fileselector_file_x" value="278" />
143 <variable name="fileselector_file_width" value="506" />
144 <variable name="fileselector_install_y" value="120" />
145 <variable name="fileselector_install_height" value="290" />
146 <variable name="fileselector_header_background" value="#202020" />
147 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
148 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
149 <variable name="fileselector_header_separatorheight" value="2" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="1" />
152 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600153 <variable name="fileselector_highlight_color" value="#505050" />
154 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="fileselector_spacing" value="12" />
156 <variable name="zipstorage_text_y" value="88" />
157 <variable name="listbox_x" value="156" />
158 <variable name="listbox_y" value="90" />
159 <variable name="listbox_width" value="460" />
160 <variable name="listbox_tz_height" value="170" />
161 <variable name="listbox_background" value="#303030" />
162 <variable name="listbox_spacing" value="12" />
163 <variable name="sd_plus_x" value="280" />
164 <variable name="lock_x" value="250" />
165 <variable name="lock_y" value="90" />
166 <variable name="filemanager_select_x" value="610" />
167 <variable name="filemanager_select_y" value="413" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="195" />
170 <variable name="col_right_x" value="772" />
171 <variable name="cancel_button_y" value="180" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="240" />
174 <variable name="terminal_text_y" value="247" />
175 <variable name="terminal_button_y" value="237" />
176 <variable name="terminal_input_width" value="551" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="325" />
178 <variable name="exclamation_y" value="120" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400179 </variables>
180
181 <templates>
182 <template name="header">
183 <background color="#000000FF" />
184
185 <object type="image">
186 <image resource="side" />
187 <placement x="0" y="0" />
188 </object>
189
190 <object type="image">
191 <image resource="side" />
192 <placement x="770" y="0" />
193 </object>
194
195 <object type="image">
196 <image resource="base" />
197 <placement x="0" y="0" />
198 </object>
199
200 <object type="image">
201 <image resource="bottom" />
202 <placement x="1" y="450" />
203 </object>
204
205 <object type="image">
206 <image resource="large_black" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="250" y="2" />
213 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="37" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery Level: %tw_battery%</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="450" y="37" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <condition var1="tw_simulate_actions" var2="1" />
235 <font resource="font" />
236 <placement x="250" y="20" />
237 <text>SIMULATING ACTIONS</text>
238 </object>
239
240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400242 <placement x="%home_button_x%" y="%home_button_y%" />
243 <font resource="font" color="%button_text_color%" />
244 <text></text>
245 <image resource="home_icon" />
246 <condition var1="tw_busy" var2="0" />
247 <action function="key">home</action>
248 </object>
249
250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400252 <placement x="%back_button_x%" y="%back_button_y%" />
253 <font resource="font" color="%button_text_color%" />
254 <text></text>
255 <image resource="back_icon" />
256 <condition var1="tw_busy" var2="0" />
257 <action function="key">back</action>
258 </object>
259
260 <object type="action">
261 <touch key="power" />
262 <action function="overlay">lock</action>
263 </object>
264 </template>
265
266 <template name="progress_bar">
267 <object type="progressbar">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource empty="progress_empty" full="progress_full" />
270 <data name="ui_progress" />
271 </object>
272
273 <object type="animation">
274 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
275 <resource name="progress" />
276 <speed fps="15" render="2" />
277 <loop frame="1" />
278 </object>
279 </template>
280
281 <template name="sort_options">
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
285 <text>Sort Ascending:</text>
286 </object>
287
288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400290 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
291 <font resource="font" color="%button_text_color%" />
292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=1</action>
295 </object>
296
297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400299 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
300 <font resource="font" color="%button_text_color%" />
301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=2</action>
304 </object>
305
306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400308 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
309 <font resource="font" color="%button_text_color%" />
310 <text>Size</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=3</action>
313 </object>
314
315 <object type="text" color="%text_color%">
316 <font resource="font" />
317 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
318 <text>Sort Descending:</text>
319 </object>
320
321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400323 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Name</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=-1</action>
328 </object>
329
330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600340 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400341 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
342 <font resource="font" color="%button_text_color%" />
343 <text>Size</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=-3</action>
346 </object>
347 </template>
348
349 <template name="flash_zip_console">
350 <object type="console">
351 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="action_page_console">
358 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400359 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400360 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
361 <font resource="fixed" />
362 </object>
363 </template>
364
365 <template name="footer">
366 <object type="console">
367 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
368 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
369 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
370 <font resource="fixed" />
371 </object>
372 </template>
373
374 <template name="keyboardtemplate">
375 <object type="keyboard">
376 <placement x="0" y="277" />
377 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400379 <layout1>
380 <keysize height="51" width="73" />
381 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="70:c:8" />
382 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
383 <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
384 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
385 </layout1>
386 <layout2>
387 <keysize height="51" width="73" />
388 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="70:c:8" />
389 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
390 <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
391 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
392 </layout2>
393 <layout3>
394 <keysize height="51" width="73" />
395 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
396 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
397 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
398 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
399 </layout3>
400 <layout4>
401 <keysize height="51" width="73" />
402 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
403 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
404 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
405 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
406 </layout4>
407 </object>
408 </template>
409 </templates>
410
411 <pages>
412 <page name="main">
413 <object type="action">
414 <actions>
415 <action function="set">tw_clear_destination=main2</action>
416 <action function="page">clear_vars</action>
417 </actions>
418 </object>
419 </page>
420
421 <page name="main2">
422 <object type="template" name="header" />
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row1_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Install</text>
429 <image resource="main_button" />
430 <actions>
431 <action function="queueclear"></action>
432 <action function="page">install</action>
433 </actions>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col2_x%" y="%row1_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Backup</text>
441 <image resource="main_button" />
442 <action function="page">backup</action>
443 </object>
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col3_x%" y="%row1_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Restore</text>
450 <image resource="main_button" />
451 <action function="page">restore</action>
452 </object>
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col4_x%" y="%row1_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Wipe</text>
459 <image resource="main_button" />
460 <action function="page">wipe</action>
461 </object>
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col1_x%" y="%row2_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Mount</text>
468 <image resource="main_button" />
469 <action function="page">mount</action>
470 </object>
471
472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <placement x="%col2_x%" y="%row2_y%" />
475 <font resource="font" color="%button_text_color%" />
476 <text>Settings</text>
477 <image resource="main_button" />
478 <action function="page">settings</action>
479 </object>
480
481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400483 <placement x="%col3_x%" y="%row2_y%" />
484 <font resource="font" color="%button_text_color%" />
485 <text>Advanced</text>
486 <image resource="main_button" />
487 <action function="page">advanced</action>
488 </object>
489
490 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600491 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400492 <placement x="%col4_x%" y="%row2_y%" />
493 <font resource="font" color="%button_text_color%" />
494 <text>Reboot</text>
495 <image resource="main_button" />
496 <action function="page">reboot</action>
497 </object>
498
499 <object type="template" name="footer" />
500 </page>
501
502 <page name="install">
503 <object type="template" name="header" />
504
505 <object type="text" color="%text_color%">
506 <font resource="font" />
507 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
508 <text>Select Zip to Install</text>
509 </object>
510
511 <object type="button">
512 <placement x="%col2_x%" y="%zipstorage_text_y%" />
513 <font resource="font" color="%text_color%" />
514 <conditions>
515 <condition var1="tw_has_dual_storage" var2="1" />
516 <condition var1="tw_use_external_storage" var2="1" />
517 </conditions>
518 <text>Using external SD</text>
519 <image resource="radio_true" />
520 <action function="togglestorage">external</action>
521 </object>
522
523 <object type="button">
524 <placement x="%col2_x%" y="%zipstorage_text_y%" />
525 <font resource="font" color="%text_color%" />
526 <conditions>
527 <condition var1="tw_has_dual_storage" var2="1" />
528 <condition var1="tw_use_external_storage" var2="0" />
529 </conditions>
530 <text>Using external SD</text>
531 <image resource="radio_false" />
532 <action function="togglestorage">external</action>
533 </object>
534
535 <object type="button">
536 <placement x="%col3_x%" y="%zipstorage_text_y%" />
537 <font resource="font" color="%text_color%" />
538 <conditions>
539 <condition var1="tw_has_dual_storage" var2="1" />
540 <condition var1="tw_use_external_storage" var2="1" />
541 </conditions>
542 <text>Using internal storage</text>
543 <image resource="radio_false" />
544 <action function="togglestorage">internal</action>
545 </object>
546
547 <object type="button">
548 <placement x="%col3_x%" y="%zipstorage_text_y%" />
549 <font resource="font" color="%text_color%" />
550 <conditions>
551 <condition var1="tw_has_dual_storage" var2="1" />
552 <condition var1="tw_use_external_storage" var2="0" />
553 </conditions>
554 <text>Using internal storage</text>
555 <image resource="radio_true" />
556 <action function="togglestorage">internal</action>
557 </object>
558
559 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
562 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
563 <text>Folders:</text>
564 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
565 <sort name="tw_gui_sort_order" />
566 <icon folder="folder_icon" file="file_icon" />
567 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600568 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400569 <filter folders="1" files="0" />
570 <path name="tw_zip_location" default="/sdcard" />
571 <data name="select" />
572 </object>
573
574 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600575 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
577 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
578 <text>%tw_zip_location%</text>
579 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
580 <sort name="tw_gui_sort_order" />
581 <icon folder="folder_icon" file="file_icon" />
582 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600583 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <filter extn=".zip" folders="0" files="1" />
585 <path name="tw_zip_location" />
586 <data name="tw_filename" />
587 <selection name="tw_file" />
588 </object>
589
590 <object type="template" name="sort_options" />
591
592 <object type="action">
593 <condition var1="tw_filename" op="modified" />
594 <actions>
595 <action function="queuezip"></action>
596 <action function="page">flash_confirm</action>
597 </actions>
598 </object>
599
600 <object type="action">
601 <touch key="back" />
602 <action function="page">main</action>
603 </object>
604
605 <object type="action">
606 <touch key="home" />
607 <action function="page">main</action>
608 </object>
609
610 <object type="template" name="footer" />
611 </page>
612
613 <page name="flash_confirm">
614 <object type="template" name="header" />
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
618 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
619 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
625 <text>Folder:</text>
626 </object>
627
628 <object type="text" color="%text_color%">
629 <font resource="font" />
630 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
631 <text>%tw_zip_location%</text>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
637 <text>File to flash:</text>
638 </object>
639
640 <object type="text" color="%text_color%">
641 <font resource="font" />
642 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
643 <text>%tw_file%</text>
644 </object>
645
646 <object type="text" color="%text_color%">
647 <font resource="font" />
648 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
649 <text>Press back to cancel adding this zip.</text>
650 </object>
651
652 <object type="checkbox">
653 <placement x="%col2_x%" y="%row7_text_y%" />
654 <font resource="font" color="%text_color%" />
655 <text>Zip file signature verification?</text>
656 <data variable="tw_signed_zip_verify" />
657 <image checked="checkbox_true" unchecked="checkbox_false" />
658 </object>
659
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <object type="text" color="%text_color%">
661 <font resource="font" />
662 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
663 <text>File %tw_zip_queue_count% of max of 10</text>
664 </object>
665
666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600667 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400668 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
669 <placement x="%col2_x%" y="%row5_medium_y%" />
670 <font resource="font" color="%button_text_color%" />
671 <text>Add More Zips</text>
672 <image resource="mediumwide_button" />
673 <action function="page">install</action>
674 </object>
675
676 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600677 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400678 <placement x="%col3_x%" y="%row5_medium_y%" />
679 <font resource="font" color="%button_text_color%" />
680 <text>Clear Queue</text>
681 <image resource="mediumwide_button" />
682 <actions>
683 <action function="queueclear"></action>
684 <action function="page">install</action>
685 </actions>
686 </object>
687
688 <object type="slider">
689 <placement x="%slider_x%" y="%slider_y%" />
690 <resource base="slider" used="slider-used" touch="slider-touch" />
691 <action function="flash">flash_zip</action>
692 </object>
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
697 <text>Swipe to Confirm Flash</text>
698 </object>
699
700 <object type="action">
701 <touch key="back" />
702 <actions>
703 <action function="cancelzip"></action>
704 <action function="page">install</action>
705 </actions>
706 </object>
707
708 <object type="action">
709 <touch key="home" />
710 <action function="page">main</action>
711 </object>
712
713 <object type="template" name="footer" />
714 </page>
715
716 <page name="flash_zip">
717 <object type="template" name="header" />
718
719 <object type="template" name="flash_zip_console" />
720
721 <object type="text" color="%text_color%">
722 <font resource="font" />
723 <placement x="%col1_x%" y="%row16_text_y%" />
724 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
725 </object>
726
727 <object type="text" color="%text_color%">
728 <font resource="font" />
729 <placement x="%col1_x%" y="%row17_text_y%" />
730 <text>%tw_filename%</text>
731 </object>
732
733 <object type="template" name="progress_bar" />
734
735 <object type="action">
736 <condition var1="tw_operation_state" var2="1" />
737 <action function="page">flash_done</action>
738 </object>
739 </page>
740
741 <page name="flash_done">
742 <object type="template" name="header" />
743
744 <object type="template" name="flash_zip_console" />
745
746 <object type="text" color="%text_fail_color%">
747 <condition var1="tw_operation_status" op="!=" var2="0" />
748 <font resource="font" />
749 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
750 <text>Failed</text>
751 </object>
752
753 <object type="text" color="%text_success_color%">
754 <condition var1="tw_operation_status" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
757 <text>Successful</text>
758 </object>
759
760 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600761 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <placement x="%col1_x%" y="%slider_y%" />
763 <font resource="font" color="%button_text_color%" />
764 <text>Wipe Cache/Dalvik</text>
765 <image resource="main_button" />
766 <actions>
767 <action function="set">tw_back=flash_done</action>
768 <action function="set">tw_action=wipe</action>
769 <action function="set">tw_action_param=/cache</action>
770 <action function="set">tw_has_action2=1</action>
771 <action function="set">tw_action2=wipe</action>
772 <action function="set">tw_action2_param=dalvik</action>
773 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
774 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
775 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
776 <action function="set">tw_slider_text=Swipe to Wipe</action>
777 <action function="page">confirm_action</action>
778 </actions>
779 </object>
780
781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400783 <condition var1="tw_reboot_system" var2="1" />
784 <placement x="%col4_x%" y="%slider_y%" />
785 <font resource="font" color="%button_text_color%" />
786 <text>Reboot System</text>
787 <image resource="main_button" />
788 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400789 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400790 <action function="set">tw_action=reboot</action>
791 <action function="set">tw_action_param=system</action>
792 <action function="set">tw_has_action2=0</action>
793 <action function="set">tw_text1=No OS Installed! Are you</action>
794 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400795 <action function="set">tw_text3=</action>
796 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400797 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400798 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400799 <action function="set">tw_complete_text1=Rebooting...</action>
800 <action function="set">tw_slider_text=Swipe to Reboot</action>
801 <action function="page">rebootcheck</action>
802 </actions>
803 </object>
804
805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600806 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400807 <placement x="%col_center_x%" y="%slider_y%" />
808 <font resource="font" color="%button_text_color%" />
809 <text>Home</text>
810 <image resource="main_button" />
811 <actions>
812 <action function="set">tw_clear_destination=main2</action>
813 <action function="page">clear_vars</action>
814 </actions>
815 </object>
816
817 <object type="action">
818 <touch key="back" />
819 <actions>
820 <action function="set">tw_clear_destination=install</action>
821 <action function="page">clear_vars</action>
822 </actions>
823 </object>
824
825 <object type="action">
826 <touch key="home" />
827 <actions>
828 <action function="set">tw_clear_destination=main2</action>
829 <action function="page">clear_vars</action>
830 </actions>
831 </object>
832 </page>
833
834 <page name="clear_vars">
835 <object type="action">
836 <action function="set">tw_operation_state=0</action>
837 <action function="set">tw_text1=</action>
838 <action function="set">tw_text2=</action>
839 <action function="set">tw_text3=</action>
840 <action function="set">tw_text4=</action>
841 <action function="set">tw_action_text1=</action>
842 <action function="set">tw_action_text2=</action>
843 <action function="set">tw_action_param=</action>
844 <action function="set">tw_has_action2=0</action>
845 <action function="set">tw_action2=</action>
846 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400847 <action function="set">tw_has_cancel=0</action>
848 <action function="set">tw_cancel_action=</action>
849 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400850 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400851 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400852 <action function="page">%tw_clear_destination%</action>
853 </object>
854 </page>
855
856 <page name="confirm_action">
857 <object type="template" name="header" />
858
Dees_Troyce2fe772012-09-28 12:34:33 -0400859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600860 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400861 <condition var1="tw_show_exclamation" var2="1" />
862 <placement x="%exclamation_x%" y="%exclamation_y%" />
863 <font resource="font" color="%button_text_color%" />
864 <text></text>
865 <image resource="exclamation" />
866 </object>
867
Dees_Troy51a0e822012-09-05 15:24:24 -0400868 <object type="text" color="%text_color%">
869 <font resource="font" />
870 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
871 <text>%tw_text1%</text>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
876 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
877 <text>%tw_text2%</text>
878 </object>
879
880 <object type="text" color="%text_color%">
881 <font resource="font" />
882 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
883 <text>%tw_text3%</text>
884 </object>
885
886 <object type="text" color="%text_color%">
887 <font resource="font" />
888 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
889 <text>%tw_text4%</text>
890 </object>
891
892 <object type="text" color="%text_color%">
893 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400894 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400895 <text>Press back button to cancel.</text>
896 </object>
897
898 <object type="slider">
899 <placement x="%slider_x%" y="%slider_y%" />
900 <resource base="slider" used="slider-used" touch="slider-touch" />
901 <action function="page">action_page</action>
902 </object>
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
907 <text>%tw_slider_text%</text>
908 </object>
909
910 <object type="action">
911 <touch key="back" />
912 <actions>
913 <action function="set">tw_clear_destination=%tw_back%</action>
914 <action function="page">clear_vars</action>
915 </actions>
916 </object>
917
918 <object type="action">
919 <touch key="home" />
920 <action function="page">main</action>
921 </object>
922
923 <object type="template" name="footer" />
924 </page>
925
926 <page name="action_page">
927 <object type="template" name="header" />
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
932 <text>%tw_action_text1%</text>
933 </object>
934
935 <object type="text" color="%text_color%">
936 <font resource="font" />
937 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
938 <text>%tw_action_text2%</text>
939 </object>
940
941 <object type="template" name="action_page_console" />
942
Dees_Troy2691f9d2012-09-24 11:15:49 -0400943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600944 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400945 <condition var1="tw_has_cancel" var2="1" />
946 <placement x="%col4_x%" y="%slider_y%" />
947 <font resource="font" color="%button_text_color%" />
948 <text>Cancel</text>
949 <image resource="main_button" />
950 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
951 </object>
952
Dees_Troy51a0e822012-09-05 15:24:24 -0400953 <object type="template" name="progress_bar" />
954
955 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400956 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400957 <actions>
958 <action function="page">action_complete</action>
959 </actions>
960 </object>
961
962 <object type="action">
963 <condition var1="tw_has_action2" var2="0" />
964 <actions>
965 <action function="%tw_action%">%tw_action_param%</action>
966 </actions>
967 </object>
968
969 <object type="action">
970 <condition var1="tw_has_action2" var2="1" />
971 <actions>
972 <action function="%tw_action%">%tw_action_param%</action>
973 <action function="%tw_action2%">%tw_action2_param%</action>
974 </actions>
975 </object>
976 </page>
977
Dees_Troy6ef66352013-02-21 08:26:57 -0600978 <page name="singleaction_page">
979 <object type="template" name="header" />
980
981 <object type="text" color="%text_color%">
982 <font resource="font" />
983 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
984 <text>%tw_action_text1%</text>
985 </object>
986
987 <object type="text" color="%text_color%">
988 <font resource="font" />
989 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
990 <text>%tw_action_text2%</text>
991 </object>
992
993 <object type="template" name="action_page_console" />
994
995 <object type="template" name="progress_bar" />
996
997 <object type="action">
998 <condition var1="tw_operation_state" var2="1" />
999 <actions>
1000 <action function="set">tw_page_done=1</action>
1001 </actions>
1002 </object>
1003
1004 <object type="action">
1005 <condition var1="tw_has_action2" var2="0" />
1006 <actions>
1007 <action function="%tw_action%">%tw_action_param%</action>
1008 </actions>
1009 </object>
1010
1011 <object type="action">
1012 <condition var1="tw_has_action2" var2="1" />
1013 <actions>
1014 <action function="%tw_action%">%tw_action_param%</action>
1015 <action function="%tw_action2%">%tw_action2_param%</action>
1016 </actions>
1017 </object>
1018 </page>
1019
Dees_Troy51a0e822012-09-05 15:24:24 -04001020 <page name="action_complete">
1021 <object type="template" name="header" />
1022
1023 <object type="text" color="%text_color%">
1024 <font resource="font" />
1025 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1026 <text>%tw_complete_text1%</text>
1027 </object>
1028
1029 <object type="text" color="%text_fail_color%">
1030 <condition var1="tw_operation_status" op="!=" var2="0" />
1031 <font resource="font" />
1032 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1033 <text>Failed</text>
1034 </object>
1035
1036 <object type="text" color="%text_success_color%">
1037 <condition var1="tw_operation_status" var2="0" />
1038 <font resource="font" />
1039 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1040 <text>Successful</text>
1041 </object>
1042
1043 <object type="template" name="action_page_console" />
1044
1045 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001046 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001047 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001048 <placement x="%col_center_x%" y="%slider_y%" />
1049 <font resource="font" color="%button_text_color%" />
1050 <text>Back</text>
1051 <image resource="main_button" />
1052 <actions>
1053 <action function="set">tw_clear_destination=%tw_back%</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
Dees_Troya3f81542012-10-08 10:58:53 -04001058 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001059 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001060 <condition var1="tw_show_reboot" var2="1" />
1061 <placement x="%col_center_x%" y="%slider_y%" />
1062 <font resource="font" color="%button_text_color%" />
1063 <text>Reboot System</text>
1064 <image resource="main_button" />
1065 <actions>
1066 <action function="set">tw_back=main2</action>
1067 <action function="set">tw_action=reboot</action>
1068 <action function="set">tw_action_param=system</action>
1069 <action function="set">tw_has_action2=0</action>
1070 <action function="set">tw_text1=No OS Installed! Are you</action>
1071 <action function="set">tw_text2=sure you wish to reboot?</action>
1072 <action function="set">tw_text3=</action>
1073 <action function="set">tw_text4=</action>
1074 <action function="set">tw_action_text1=Rebooting...</action>
1075 <action function="set">tw_action_text2=</action>
1076 <action function="set">tw_complete_text1=Rebooting...</action>
1077 <action function="set">tw_slider_text=Swipe to Reboot</action>
1078 <action function="page">rebootcheck</action>
1079 </actions>
1080 </object>
1081
Dees_Troy51a0e822012-09-05 15:24:24 -04001082 <object type="action">
1083 <touch key="home" />
1084 <actions>
1085 <action function="set">tw_clear_destination=main2</action>
1086 <action function="page">clear_vars</action>
1087 </actions>
1088 </object>
1089
1090 <object type="action">
1091 <touch key="back" />
1092 <actions>
1093 <action function="set">tw_clear_destination=%tw_back%</action>
1094 <action function="page">clear_vars</action>
1095 </actions>
1096 </object>
1097 </page>
1098
1099 <page name="filecheck">
1100 <object type="action">
1101 <action function="fileexists">%tw_filecheck%</action>
1102 </object>
1103
1104 <object type="action">
1105 <conditions>
1106 <condition var1="tw_operation_state" var2="1" />
1107 <condition var1="tw_operation_status" var2="0" />
1108 </conditions>
1109 <actions>
1110 <action function="set">tw_fileexists=1</action>
1111 <action function="page">%tw_existpage%</action>
1112 </actions>
1113 </object>
1114
1115 <object type="action">
1116 <conditions>
1117 <condition var1="tw_operation_state" var2="1" />
1118 <condition var1="tw_operation_status" var2="1" />
1119 </conditions>
1120 <actions>
1121 <action function="set">tw_fileexists=0</action>
1122 <action function="page">%tw_notexistpage%</action>
1123 </actions>
1124 </object>
1125 </page>
1126
1127 <page name="rebootcheck">
1128 <object type="action">
1129 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1130 <action function="reboot">%tw_action_param%</action>
1131 </object>
1132
1133 <object type="action">
1134 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1135 <action function="page">confirm_action</action>
1136 </object>
1137 </page>
1138
1139 <page name="reboot">
1140 <object type="template" name="header" />
1141
1142 <object type="text" color="%text_color%">
1143 <font resource="font" />
1144 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1145 <text>Reboot Menu</text>
1146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <condition var1="tw_reboot_system" var2="1" />
1151 <placement x="%col1_x%" y="%row1_y%" />
1152 <font resource="font" color="%button_text_color%" />
1153 <text>System</text>
1154 <image resource="main_button" />
1155 <actions>
1156 <action function="set">tw_back=reboot</action>
1157 <action function="set">tw_action=reboot</action>
1158 <action function="set">tw_action_param=system</action>
1159 <action function="set">tw_has_action2=0</action>
1160 <action function="set">tw_text1=No OS Installed! Are you</action>
1161 <action function="set">tw_text2=sure you wish to reboot?</action>
1162 <action function="set">tw_action_text1=Rebooting...</action>
1163 <action function="set">tw_complete_text1=Rebooting...</action>
1164 <action function="set">tw_slider_text=Swipe to Reboot</action>
1165 <action function="page">rebootcheck</action>
1166 </actions>
1167 </object>
1168
1169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001170 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 <condition var1="tw_reboot_poweroff" var2="1" />
1172 <placement x="%col2_x%" y="%row1_y%" />
1173 <font resource="font" color="%button_text_color%" />
1174 <text>Power Off</text>
1175 <image resource="main_button" />
1176 <actions>
1177 <action function="set">tw_back=reboot</action>
1178 <action function="set">tw_action=reboot</action>
1179 <action function="set">tw_action_param=poweroff</action>
1180 <action function="set">tw_has_action2=0</action>
1181 <action function="set">tw_text1=No OS Installed! Are you</action>
1182 <action function="set">tw_text2=sure you wish to power off?</action>
1183 <action function="set">tw_action_text1=Turning Off...</action>
1184 <action function="set">tw_complete_text1=Turning Off...</action>
1185 <action function="set">tw_slider_text=Swipe to Power Off</action>
1186 <action function="page">rebootcheck</action>
1187 </actions>
1188 </object>
1189
1190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001192 <condition var1="tw_reboot_recovery" var2="1" />
1193 <placement x="%col1_x%" y="%row2_y%" />
1194 <font resource="font" color="%button_text_color%" />
1195 <text>Recovery</text>
1196 <image resource="main_button" />
1197 <actions>
1198 <action function="set">tw_back=reboot</action>
1199 <action function="set">tw_action=reboot</action>
1200 <action function="set">tw_action_param=recovery</action>
1201 <action function="set">tw_has_action2=0</action>
1202 <action function="set">tw_text1=No OS Installed! Are you</action>
1203 <action function="set">tw_text2=sure you wish to reboot?</action>
1204 <action function="set">tw_action_text1=Rebooting...</action>
1205 <action function="set">tw_complete_text1=Rebooting...</action>
1206 <action function="set">tw_slider_text=Swipe to Reboot</action>
1207 <action function="page">rebootcheck</action>
1208 </actions>
1209 </object>
1210
1211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001212 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001213 <condition var1="tw_reboot_bootloader" var2="1" />
1214 <placement x="%col2_x%" y="%row2_y%" />
1215 <font resource="font" color="%button_text_color%" />
1216 <text>Bootloader</text>
1217 <image resource="main_button" />
1218 <actions>
1219 <action function="set">tw_back=reboot</action>
1220 <action function="set">tw_action=reboot</action>
1221 <action function="set">tw_action_param=bootloader</action>
1222 <action function="set">tw_has_action2=0</action>
1223 <action function="set">tw_text1=No OS Installed! Are you</action>
1224 <action function="set">tw_text2=sure you wish to reboot?</action>
1225 <action function="set">tw_action_text1=Rebooting...</action>
1226 <action function="set">tw_complete_text1=Rebooting...</action>
1227 <action function="set">tw_slider_text=Swipe to Reboot</action>
1228 <action function="page">rebootcheck</action>
1229 </actions>
1230 </object>
1231
1232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 <condition var1="tw_download_mode" var2="1" />
1235 <placement x="%col3_x%" y="%row2_y%" />
1236 <font resource="font" color="%button_text_color%" />
1237 <text>Download</text>
1238 <image resource="main_button" />
1239 <actions>
1240 <action function="set">tw_back=reboot</action>
1241 <action function="set">tw_action=reboot</action>
1242 <action function="set">tw_action_param=download</action>
1243 <action function="set">tw_has_action2=0</action>
1244 <action function="set">tw_text1=No OS Installed! Are you</action>
1245 <action function="set">tw_text2=sure you wish to reboot?</action>
1246 <action function="set">tw_action_text1=Rebooting...</action>
1247 <action function="set">tw_complete_text1=Rebooting...</action>
1248 <action function="set">tw_slider_text=Swipe to Reboot</action>
1249 <action function="page">rebootcheck</action>
1250 </actions>
1251 </object>
1252
1253 <object type="action">
1254 <touch key="home" />
1255 <action function="page">main</action>
1256 </object>
1257
1258 <object type="action">
1259 <touch key="back" />
1260 <action function="page">main</action>
1261 </object>
1262
1263 <object type="template" name="footer" />
1264 </page>
1265
1266 <page name="mount">
1267 <object type="template" name="header" />
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1272 <text>Mount Menu</text>
1273 </object>
1274
1275 <object type="button">
1276 <condition var1="tw_has_usb_storage" var2="1" />
1277 <placement x="%col1_x%" y="%row1_y%" />
1278 <font resource="font" color="%button_text_color%" />
1279 <text>Mount USB Storage</text>
1280 <image resource="main_button" />
1281 <action function="page">usb_mount</action>
1282 </object>
1283
1284 <object type="button">
1285 <placement x="%col1_x%" y="%row7_text_y%" />
1286 <font resource="font" color="%text_color%" />
1287 <condition var1="mounted" op="!=" var2="/system" />
1288 <text>Mount System</text>
1289 <image resource="checkbox_false" />
1290 <action function="mount">/system</action>
1291 </object>
1292
1293 <object type="button">
1294 <placement x="%col1_x%" y="%row7_text_y%" />
1295 <font resource="font" color="%text_color%" />
1296 <condition var1="mounted" op="=" var2="/system" />
1297 <text>Unmount System</text>
1298 <image resource="checkbox_true" />
1299 <action function="umount">/system</action>
1300 </object>
1301
1302 <object type="button">
1303 <placement x="%col1_x%" y="%row8_text_y%" />
1304 <font resource="font" color="%text_color%" />
1305 <condition var1="mounted" op="!=" var2="/data" />
1306 <text>Mount Data</text>
1307 <image resource="checkbox_false" />
1308 <action function="mount">/data</action>
1309 </object>
1310
1311 <object type="button">
1312 <placement x="%col1_x%" y="%row8_text_y%" />
1313 <font resource="font" color="%text_color%" />
1314 <condition var1="mounted" op="=" var2="/data" />
1315 <text>Unmount Data</text>
1316 <image resource="checkbox_true" />
1317 <action function="umount">/data</action>
1318 </object>
1319
1320 <object type="button">
1321 <placement x="%col1_x%" y="%row9_text_y%" />
1322 <font resource="font" color="%text_color%" />
1323 <condition var1="mounted" op="!=" var2="/cache" />
1324 <text>Mount Cache</text>
1325 <image resource="checkbox_false" />
1326 <action function="mount">/cache</action>
1327 </object>
1328
1329 <object type="button">
1330 <placement x="%col1_x%" y="%row9_text_y%" />
1331 <font resource="font" color="%text_color%" />
1332 <condition var1="mounted" op="=" var2="/cache" />
1333 <text>Unmount Cache</text>
1334 <image resource="checkbox_true" />
1335 <action function="umount">/cache</action>
1336 </object>
1337
1338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001340 <placement x="%col1_x%" y="%row10_text_y%" />
1341 <font resource="font" color="%text_color%" />
1342 <conditions>
1343 <condition var1="tw_has_external" var2="1" />
1344 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1345 </conditions>
1346 <text>Mount SDCard</text>
1347 <image resource="checkbox_false" />
1348 <action function="mount">EXTERNAL</action>
1349 </object>
1350
1351 <object type="button">
1352 <placement x="%col1_x%" y="%row10_text_y%" />
1353 <font resource="font" color="%text_color%" />
1354 <conditions>
1355 <condition var1="tw_has_external" var2="1" />
1356 <condition var1="mounted" op="=" var2="EXTERNAL" />
1357 </conditions>
1358 <text>Unmount SDCard</text>
1359 <image resource="checkbox_true" />
1360 <action function="umount">EXTERNAL</action>
1361 </object>
1362
1363 <object type="button">
1364 <placement x="%col2_x%" y="%row10_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <conditions>
1367 <condition var1="tw_has_internal" var2="1" />
1368 <condition var1="tw_has_data_media" var2="0" />
1369 <condition var1="mounted" op="!=" var2="INTERNAL" />
1370 </conditions>
1371 <text>Mount Internal Storage</text>
1372 <image resource="checkbox_false" />
1373 <action function="mount">INTERNAL</action>
1374 </object>
1375
1376 <object type="button">
1377 <placement x="%col2_x%" y="%row10_text_y%" />
1378 <font resource="font" color="%text_color%" />
1379 <conditions>
1380 <condition var1="tw_has_internal" var2="1" />
1381 <condition var1="tw_has_data_media" var2="0" />
1382 <condition var1="mounted" op="=" var2="INTERNAL" />
1383 </conditions>
1384 <text>Unmount Internal Storage</text>
1385 <image resource="checkbox_true" />
1386 <action function="umount">INTERNAL</action>
1387 </object>
1388
1389 <object type="button">
1390 <conditions>
1391 <condition var1="tw_has_sdext_partition" var2="1" />
1392 <condition var1="mounted" op="!=" var2="/sd-ext" />
1393 </conditions>
1394 <placement x="%col1_x%" y="%row11_text_y%" />
1395 <font resource="font" color="%text_color%" />
1396 <text>Mount SD-Ext</text>
1397 <image resource="checkbox_false" />
1398 <action function="mount">/sd-ext</action>
1399 </object>
1400
1401 <object type="button">
1402 <placement x="%col1_x%" y="%row11_text_y%" />
1403 <font resource="font" color="%text_color%" />
1404 <condition var1="mounted" op="=" var2="/sd-ext" />
1405 <text>Unmount SD-Ext</text>
1406 <image resource="checkbox_true" />
1407 <action function="umount">/sd-ext</action>
1408 </object>
1409
1410 <object type="button">
1411 <conditions>
1412 <condition var1="tw_boot_is_mountable" var2="1" />
1413 <condition var1="mounted" op="!=" var2="/boot" />
1414 </conditions>
1415 <placement x="%col1_x%" y="%row12_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>Mount Boot</text>
1418 <image resource="checkbox_false" />
1419 <action function="mount">/boot</action>
1420 </object>
1421
1422 <object type="button">
1423 <conditions>
1424 <condition var1="tw_boot_is_mountable" var2="1" />
1425 <condition var1="mounted" op="=" var2="/boot" />
1426 </conditions>
1427 <placement x="%col1_x%" y="%row12_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <text>Unmount Boot</text>
1430 <image resource="checkbox_true" />
1431 <action function="umount">/boot</action>
1432 </object>
1433
1434 <object type="button">
1435 <placement x="%col1_x%" y="%row13_text_y%" />
1436 <font resource="font" color="%text_color%" />
1437 <conditions>
1438 <condition var1="tw_has_dual_storage" var2="1" />
1439 <condition var1="tw_use_external_storage" var2="1" />
1440 </conditions>
1441 <text>Using external SD</text>
1442 <image resource="radio_true" />
1443 <action function="togglestorage">external</action>
1444 </object>
1445
1446 <object type="button">
1447 <placement x="%col1_x%" y="%row13_text_y%" />
1448 <font resource="font" color="%text_color%" />
1449 <conditions>
1450 <condition var1="tw_has_dual_storage" var2="1" />
1451 <condition var1="tw_use_external_storage" var2="0" />
1452 </conditions>
1453 <text>Using external SD</text>
1454 <image resource="radio_false" />
1455 <action function="togglestorage">external</action>
1456 </object>
1457
1458 <object type="button">
1459 <placement x="%col2_x%" y="%row13_text_y%" />
1460 <font resource="font" color="%text_color%" />
1461 <conditions>
1462 <condition var1="tw_has_dual_storage" var2="1" />
1463 <condition var1="tw_use_external_storage" var2="1" />
1464 </conditions>
1465 <text>Using internal storage</text>
1466 <image resource="radio_false" />
1467 <action function="togglestorage">internal</action>
1468 </object>
1469
1470 <object type="button">
1471 <placement x="%col2_x%" y="%row13_text_y%" />
1472 <font resource="font" color="%text_color%" />
1473 <conditions>
1474 <condition var1="tw_has_dual_storage" var2="1" />
1475 <condition var1="tw_use_external_storage" var2="0" />
1476 </conditions>
1477 <text>Using internal storage</text>
1478 <image resource="radio_true" />
1479 <action function="togglestorage">internal</action>
1480 </object>
1481
1482 <object type="action">
1483 <touch key="home" />
1484 <action function="page">main</action>
1485 </object>
1486
1487 <object type="action">
1488 <touch key="back" />
1489 <action function="page">main</action>
1490 </object>
1491
1492 <object type="template" name="footer" />
1493 </page>
1494
1495 <page name="usb_mount">
1496 <object type="template" name="header" />
1497
1498 <object type="text" color="%text_color%">
1499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1500 <font resource="font" />
1501 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1502 </object>
1503
1504 <object type="text" color="%text_color%">
1505 <placement x="%col1_x%" y="%row2_text_y%" />
1506 <font resource="font" />
1507 <text></text>
1508 </object>
1509
1510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001512 <placement x="%col_center_x%" y="%row1_y%" />
1513 <font resource="font" color="%button_text_color%" />
1514 <text>Unmount</text>
1515 <image resource="main_button" />
1516 <action function="page">usb_umount</action>
1517 </object>
1518
1519 <object type="action">
1520 <action function="mount">usb</action>
1521 </object>
1522
1523 <object type="template" name="footer" />
1524 </page>
1525
1526 <page name="usb_umount">
1527 <object type="action">
1528 <action function="unmount">usb</action>
1529 </object>
1530
1531 <object type="action">
1532 <action function="page">mount</action>
1533 </object>
1534
1535 <object type="template" name="footer" />
1536 </page>
1537
1538 <page name="wipe">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1544 <text>Wipe Menu</text>
1545 </object>
1546
1547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001548 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001549 <placement x="%col1_x%" y="%row1_y%" />
1550 <font resource="font" color="%button_text_color%" />
1551 <text>Cache</text>
1552 <image resource="main_button" />
1553 <actions>
1554 <action function="set">tw_back=wipe</action>
1555 <action function="set">tw_action=wipe</action>
1556 <action function="set">tw_action_param=/cache</action>
1557 <action function="set">tw_text1=Wipe Cache?</action>
1558 <action function="set">tw_action_text1=Wiping Cache...</action>
1559 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1560 <action function="set">tw_slider_text=Swipe to Wipe</action>
1561 <action function="page">confirm_action</action>
1562 </actions>
1563 </object>
1564
1565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001567 <placement x="%col2_x%" y="%row1_y%" />
1568 <font resource="font" color="%button_text_color%" />
1569 <text>Dalvik Cache</text>
1570 <image resource="main_button" />
1571 <actions>
1572 <action function="set">tw_back=wipe</action>
1573 <action function="set">tw_action=wipe</action>
1574 <action function="set">tw_action_param=dalvik</action>
1575 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1576 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1577 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1578 <action function="set">tw_slider_text=Swipe to Wipe</action>
1579 <action function="page">confirm_action</action>
1580 </actions>
1581 </object>
1582
1583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001585 <placement x="%col3_x%" y="%row1_y%" />
1586 <font resource="font" color="%button_text_color%" />
1587 <text>Factory Reset</text>
1588 <image resource="main_button" />
1589 <actions>
1590 <action function="set">tw_back=wipe</action>
1591 <action function="set">tw_action=wipe</action>
1592 <action function="set">tw_action_param=data</action>
1593 <action function="set">tw_text1=Factory Reset?</action>
1594 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1595 <action function="set">tw_action_text1=Factory Reset...</action>
1596 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1597 <action function="set">tw_slider_text=Swipe to Wipe</action>
1598 <action function="page">confirm_action</action>
1599 </actions>
1600 </object>
1601
1602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001604 <placement x="%col4_x%" y="%row1_y%" />
1605 <font resource="font" color="%button_text_color%" />
1606 <text>System</text>
1607 <image resource="main_button" />
1608 <actions>
1609 <action function="set">tw_back=wipe</action>
1610 <action function="set">tw_action=wipe</action>
1611 <action function="set">tw_action_param=/system</action>
1612 <action function="set">tw_text1=Wipe System?</action>
1613 <action function="set">tw_text2=This will wipe your ROM</action>
1614 <action function="set">tw_action_text1=Wiping System...</action>
1615 <action function="set">tw_complete_text1=System Wipe Complete</action>
1616 <action function="set">tw_slider_text=Swipe to Wipe</action>
1617 <action function="page">confirm_action</action>
1618 </actions>
1619 </object>
1620
1621 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001622 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001623 <condition var1="tw_has_external" var2="1" />
1624 <placement x="%col1_x%" y="%row2_y%" />
1625 <font resource="font" color="%button_text_color%" />
1626 <text>External Storage</text>
1627 <image resource="main_button" />
1628 <actions>
1629 <action function="set">tw_back=wipe</action>
1630 <action function="set">tw_action=wipe</action>
1631 <action function="set">tw_action_param=EXTERNAL</action>
1632 <action function="set">tw_has_action2=1</action>
1633 <action function="set">tw_action2=set</action>
1634 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1635 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1636 <action function="set">tw_action_text1=Wiping External Storage...</action>
1637 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1638 <action function="set">tw_slider_text=Swipe to Wipe</action>
1639 <action function="page">confirm_action</action>
1640 </actions>
1641 </object>
1642
1643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001645 <condition var1="tw_has_internal" var2="1" />
1646 <placement x="%col2_x%" y="%row2_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Internal Storage</text>
1649 <image resource="main_button" />
1650 <actions>
1651 <action function="set">tw_back=wipe</action>
1652 <action function="set">tw_action=wipe</action>
1653 <action function="set">tw_action_param=INTERNAL</action>
1654 <action function="set">tw_has_action2=1</action>
1655 <action function="set">tw_action2=set</action>
1656 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1657 <action function="set">tw_text1=Wipe Internal Storage?</action>
1658 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1659 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1660 <action function="set">tw_slider_text=Swipe to Wipe</action>
1661 <action function="page">confirm_action</action>
1662 </actions>
1663 </object>
1664
1665 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001666 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001667 <conditions>
1668 <condition var1="tw_has_internal" var2="1" />
1669 <condition var1="tw_has_data_media" var2="1" />
1670 </conditions>
1671 <placement x="%col3_x%" y="%row2_y%" />
1672 <font resource="font" color="%button_text_color%" />
1673 <text>Format Data</text>
1674 <image resource="main_button" />
1675 <actions>
1676 <action function="set">tw_back=wipe</action>
1677 <action function="set">tw_action=wipe</action>
1678 <action function="set">tw_action_param=DATAMEDIA</action>
1679 <action function="set">tw_has_action2=1</action>
1680 <action function="set">tw_action2=set</action>
1681 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1682 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1683 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001684 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <action function="set">tw_action_text1=Formatting Data...</action>
1686 <action function="set">tw_complete_text1=Data Format Complete</action>
1687 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001688 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <action function="page">confirm_action</action>
1690 </actions>
1691 </object>
1692
1693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001694 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001695 <condition var1="tw_has_data_media" var2="0" />
1696 <placement x="%col3_x%" y="%row2_y%" />
1697 <font resource="font" color="%button_text_color%" />
1698 <text>Android Secure</text>
1699 <image resource="main_button" />
1700 <actions>
1701 <action function="set">tw_back=wipe</action>
1702 <action function="set">tw_action=wipe</action>
1703 <action function="set">tw_action_param=ANDROIDSECURE</action>
1704 <action function="set">tw_text1=Wipe Android Secure?</action>
1705 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1706 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1707 <action function="set">tw_slider_text=Swipe to Format</action>
1708 <action function="page">confirm_action</action>
1709 </actions>
1710 </object>
1711
1712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001713 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <condition var1="tw_has_sdext_partition" var2="1" />
1715 <placement x="%col4_x%" y="%row2_y%" />
1716 <font resource="font" color="%button_text_color%" />
1717 <text>SD Ext</text>
1718 <image resource="main_button" />
1719 <actions>
1720 <action function="set">tw_back=wipe</action>
1721 <action function="set">tw_action=wipe</action>
1722 <action function="set">tw_action_param=/sd-ext</action>
1723 <action function="set">tw_text1=Wipe SD-Ext?</action>
1724 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1725 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1726 <action function="set">tw_slider_text=Swipe to Wipe</action>
1727 <action function="page">confirm_action</action>
1728 </actions>
1729 </object>
1730
1731 <object type="action">
1732 <touch key="home" />
1733 <action function="page">main</action>
1734 </object>
1735
1736 <object type="action">
1737 <touch key="back" />
1738 <action function="page">main</action>
1739 </object>
1740
1741 <object type="template" name="footer" />
1742 </page>
1743
1744 <page name="backup">
1745 <object type="template" name="header" />
1746
1747 <object type="text" color="%text_color%">
1748 <font resource="font" />
1749 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1750 <text>Back Up Device</text>
1751 </object>
1752
1753 <object type="text" color="%text_color%">
1754 <font resource="font" />
1755 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1756 <text>Free Space: %tw_storage_free_size% MB</text>
1757 </object>
1758
1759 <object type="text" color="%text_color%">
1760 <font resource="font" />
1761 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1762 <text>Backup Name: %tw_backup_name%</text>
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>System (%tw_backup_system_size% MB)</text>
1769 <data variable="tw_backup_system" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>Data (%tw_backup_data_size% MB)</text>
1777 <data variable="tw_backup_data" />
1778 <image checked="checkbox_true" unchecked="checkbox_false" />
1779 </object>
1780
1781 <object type="checkbox">
1782 <condition var1="tw_has_boot_partition" var2="1" />
1783 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1784 <font resource="font" color="%text_color%" />
1785 <text>Boot (%tw_backup_boot_size% MB)</text>
1786 <data variable="tw_backup_boot" />
1787 <image checked="checkbox_true" unchecked="checkbox_false" />
1788 </object>
1789
1790 <object type="checkbox">
1791 <condition var1="tw_has_recovery_partition" var2="1" />
1792 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1793 <font resource="font" color="%text_color%" />
1794 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1795 <data variable="tw_backup_recovery" />
1796 <image checked="checkbox_true" unchecked="checkbox_false" />
1797 </object>
1798
1799 <object type="checkbox">
1800 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1801 <font resource="font" color="%text_color%" />
1802 <text>Cache (%tw_backup_cache_size% MB)</text>
1803 <data variable="tw_backup_cache" />
1804 <image checked="checkbox_true" unchecked="checkbox_false" />
1805 </object>
1806
1807 <object type="checkbox">
1808 <condition var1="tw_has_android_secure" var2="1" />
1809 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1810 <font resource="font" color="%text_color%" />
1811 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1812 <data variable="tw_backup_andsec" />
1813 <image checked="checkbox_true" unchecked="checkbox_false" />
1814 </object>
1815
1816 <object type="checkbox">
1817 <condition var1="tw_has_sdext_partition" var2="1" />
1818 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1819 <font resource="font" color="%text_color%" />
1820 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1821 <data variable="tw_backup_sdext" />
1822 <image checked="checkbox_true" unchecked="checkbox_false" />
1823 </object>
1824
1825 <object type="checkbox">
1826 <condition var1="tw_sp1_name" op=">" var2="" />
1827 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1830 <data variable="tw_backup_sp1" />
1831 <image checked="checkbox_true" unchecked="checkbox_false" />
1832 </object>
1833
1834 <object type="checkbox">
1835 <condition var1="tw_sp2_name" op=">" var2="" />
1836 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1837 <font resource="font" color="%text_color%" />
1838 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1839 <data variable="tw_backup_sp2" />
1840 <image checked="checkbox_true" unchecked="checkbox_false" />
1841 </object>
1842
1843 <object type="checkbox">
1844 <condition var1="tw_sp3_name" op=">" var2="" />
1845 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1846 <font resource="font" color="%text_color%" />
1847 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1848 <data variable="tw_backup_sp3" />
1849 <image checked="checkbox_true" unchecked="checkbox_false" />
1850 </object>
1851
1852 <object type="checkbox">
1853 <placement x="%col1_x%" y="%nandcheck_row6%" />
1854 <font resource="font" color="%text_color%" />
1855 <text>Enable Compression (Requires more time)</text>
1856 <data variable="tw_use_compression" />
1857 <image checked="checkbox_true" unchecked="checkbox_false" />
1858 </object>
1859
1860 <object type="checkbox">
1861 <placement x="%col3_x%" y="%nandcheck_row6%" />
1862 <font resource="font" color="%text_color%" />
1863 <text>Skip MD5 generation on backups</text>
1864 <data variable="tw_skip_md5_generate" />
1865 <image checked="checkbox_true" unchecked="checkbox_false" />
1866 </object>
1867
1868 <object type="button">
1869 <placement x="%col2_x%" y="%nandcheck_row7%" />
1870 <font resource="font" color="%text_color%" />
1871 <conditions>
1872 <condition var1="tw_has_dual_storage" var2="1" />
1873 <condition var1="tw_use_external_storage" var2="1" />
1874 </conditions>
1875 <text>Using external SD</text>
1876 <image resource="radio_true" />
1877 <action function="togglestorage">external</action>
1878 </object>
1879
1880 <object type="button">
1881 <placement x="%col2_x%" y="%nandcheck_row7%" />
1882 <font resource="font" color="%text_color%" />
1883 <conditions>
1884 <condition var1="tw_has_dual_storage" var2="1" />
1885 <condition var1="tw_use_external_storage" var2="0" />
1886 </conditions>
1887 <text>Using external SD</text>
1888 <image resource="radio_false" />
1889 <action function="togglestorage">external</action>
1890 </object>
1891
1892 <object type="button">
1893 <placement x="%col3_x%" y="%nandcheck_row7%" />
1894 <font resource="font" color="%text_color%" />
1895 <conditions>
1896 <condition var1="tw_has_dual_storage" var2="1" />
1897 <condition var1="tw_use_external_storage" var2="1" />
1898 </conditions>
1899 <text>Using internal storage</text>
1900 <image resource="radio_false" />
1901 <action function="togglestorage">internal</action>
1902 </object>
1903
1904 <object type="button">
1905 <placement x="%col3_x%" y="%nandcheck_row7%" />
1906 <font resource="font" color="%text_color%" />
1907 <conditions>
1908 <condition var1="tw_has_dual_storage" var2="1" />
1909 <condition var1="tw_use_external_storage" var2="0" />
1910 </conditions>
1911 <text>Using internal storage</text>
1912 <image resource="radio_true" />
1913 <action function="togglestorage">internal</action>
1914 </object>
1915
1916 <object type="slider">
1917 <placement x="%slider_x%" y="%slider_y%" />
1918 <resource base="slider" used="slider-used" touch="slider-touch" />
1919 <actions>
1920 <action function="set">tw_operation_state=0</action>
1921 <action function="page">backup_run</action>
1922 </actions>
1923 </object>
1924
1925 <object type="text" color="%text_color%">
1926 <font resource="font" />
1927 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1928 <text>Swipe to Back Up</text>
1929 </object>
1930
1931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001932 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001933 <placement x="%col4_x%" y="%row1_y%" />
1934 <font resource="font" color="%button_text_color%" />
1935 <text>Refresh Sizes</text>
1936 <image resource="main_button" />
1937 <action function="refreshsizes"></action>
1938 </object>
1939
1940 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001941 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001942 <placement x="%col4_x%" y="%backup_name_button_y%" />
1943 <font resource="font" color="%button_text_color%" />
1944 <text>Set Backup Name</text>
1945 <image resource="main_button" />
1946 <actions>
1947 <action function="set">tw_fileexists=0</action>
1948 <action function="page">backupname1</action>
1949 </actions>
1950 </object>
1951
1952 <object type="action">
1953 <touch key="home" />
1954 <action function="page">main</action>
1955 </object>
1956
1957 <object type="action">
1958 <touch key="back" />
1959 <action function="page">main</action>
1960 </object>
1961
1962 <object type="template" name="footer" />
1963 </page>
1964
1965 <page name="backupname1">
1966 <object type="action">
1967 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1968 <action function="set">tw_backup_name=</function>
1969 </object>
1970
1971 <object type="action">
1972 <action function="page">backupname2</function>
1973 </object>
1974 </page>
1975
1976 <page name="backupname2">
1977 <object type="template" name="header" />
1978
1979 <object type="text" color="%text_color%">
1980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1981 <font resource="font" />
1982 <text>Please Enter a Backup Name</text>
1983 </object>
1984
1985 <object type="input">
1986 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1987 <background color="%input_background_color%" />
1988 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1989 <font resource="font" color="%text_color%" />
1990 <text>%tw_backup_name%</text>
1991 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001992 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001993 <actions>
1994 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1995 <action function="set">tw_existpage=backupname2</action>
1996 <action function="set">tw_notexistpage=backup</action>
1997 <action function="page">filecheck</action>
1998 </actions>
1999 </object>
2000
2001 <object type="text" color="%text_fail_color%">
2002 <condition var1="tw_fileexists" var2="1" />
2003 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2004 <font resource="font" />
2005 <text>A backup with that name already exists!</text>
2006 </object>
2007
2008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002009 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002010 <placement x="%col_center_x%" y="%cancel_button_y%" />
2011 <font resource="font" color="%button_text_color%" />
2012 <text>Cancel / Clear</text>
2013 <image resource="main_button" />
2014 <actions>
2015 <action function="set">tw_backup_name=(Current Date)</action>
2016 <action function="page">backup</action>
2017 </actions>
2018 </object>
2019
2020 <object type="template" name="keyboardtemplate" />
2021
2022 <object type="action">
2023 <touch key="home" />
2024 <actions>
2025 <action function="set">tw_backup_name=(Current Date)</action>
2026 <action function="page">main</action>
2027 </actions>
2028 </object>
2029
2030 <object type="action">
2031 <touch key="back" />
2032 <actions>
2033 <action function="set">tw_backup_name=(Current Date)</action>
2034 <action function="page">backup</action>
2035 </actions>
2036 </object>
2037
2038 <object type="template" name="footer" />
2039 </page>
2040
2041 <page name="backup_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
2050 <object type="template" name="action_page_console" />
2051
2052 <object type="template" name="progress_bar" />
2053
2054 <object type="action">
2055 <action function="nandroid">backup</action>
2056 </object>
2057
2058 <object type="action">
2059 <condition var1="tw_operation_state" var2="1" />
2060 <actions>
2061 <action function="set">tw_back=backup</action>
2062 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002063 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002064 <action function="page">action_complete</action>
2065 </actions>
2066 </object>
2067
2068 <object type="template" name="footer" />
2069 </page>
2070
2071 <page name="restore">
2072 <object type="template" name="header" />
2073
2074 <object type="button">
2075 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <conditions>
2078 <condition var1="tw_has_dual_storage" var2="1" />
2079 <condition var1="tw_use_external_storage" var2="1" />
2080 </conditions>
2081 <text>Using external SD</text>
2082 <image resource="radio_true" />
2083 <action function="togglestorage">external</action>
2084 </object>
2085
2086 <object type="button">
2087 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2088 <font resource="font" color="%text_color%" />
2089 <conditions>
2090 <condition var1="tw_has_dual_storage" var2="1" />
2091 <condition var1="tw_use_external_storage" var2="0" />
2092 </conditions>
2093 <text>Using external SD</text>
2094 <image resource="radio_false" />
2095 <action function="togglestorage">external</action>
2096 </object>
2097
2098 <object type="button">
2099 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2100 <font resource="font" color="%text_color%" />
2101 <conditions>
2102 <condition var1="tw_has_dual_storage" var2="1" />
2103 <condition var1="tw_use_external_storage" var2="1" />
2104 </conditions>
2105 <text>Using internal storage</text>
2106 <image resource="radio_false" />
2107 <action function="togglestorage">internal</action>
2108 </object>
2109
2110 <object type="button">
2111 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2112 <font resource="font" color="%text_color%" />
2113 <conditions>
2114 <condition var1="tw_has_dual_storage" var2="1" />
2115 <condition var1="tw_use_external_storage" var2="0" />
2116 </conditions>
2117 <text>Using internal storage</text>
2118 <image resource="radio_true" />
2119 <action function="togglestorage">internal</action>
2120 </object>
2121
2122 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002123 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002124 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2125 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2126 <text>Select Package to Restore:</text>
2127 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2128 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002129 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002130 <icon folder="folder_icon" file="file_icon" />
2131 <background color="%fileselector_background%" />
2132 <filter folders="1" files="0" nav="0" />
2133 <path name="tw_backups_folder" />
2134 <data name="tw_restore" default="" />
2135 <selection name="tw_restore_name" />
2136 </object>
2137
2138 <object type="template" name="sort_options" />
2139
2140 <object type="action">
2141 <condition var1="tw_restore" op="modified" />
2142 <actions>
2143 <action function="readBackup"></action>
2144 <action function="page">restore_select</action>
2145 </actions>
2146 </object>
2147
Gary Peckffdc6ae2012-11-21 18:02:02 -08002148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002149 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002150 <conditions>
2151 <condition var1="tw_is_encrypted" var2="1" />
2152 <condition var1="tw_is_decrypted" var2="0" />
2153 </conditions>
2154 <placement x="%col2_x%" y="row3_y" />
2155 <font resource="font" color="%button_text_color%" />
2156 <text>Decrypt Data</text>
2157 <image resource="main_button" />
2158 <action function="page">decrypt</action>
2159 </object>
2160
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <object type="action">
2162 <touch key="home" />
2163 <action function="page">main</action>
2164 </object>
2165
2166 <object type="action">
2167 <touch key="back" />
2168 <action function="page">main</action>
2169 </object>
2170
2171 <object type="template" name="footer" />
2172 </page>
2173
2174 <page name="restore_select">
2175 <object type="template" name="header" />
2176
2177 <object type="text" color="%text_color%">
2178 <font resource="font" />
2179 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2180 <text>Package to Restore: %tw_restore_name%</text>
2181 </object>
2182
2183 <object type="text" color="%text_color%">
2184 <font resource="font" />
2185 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2186 <text>Package Date: %tw_restore_file_date%</text>
2187 </object>
2188
2189 <object type="checkbox">
2190 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2191 <font resource="font" color="%text_color%" />
2192 <text>System</text>
2193 <condition var1="tw_restore_system" op=">=" var2="0" />
2194 <data variable="tw_restore_system" />
2195 <image checked="checkbox_true" unchecked="checkbox_false" />
2196 </object>
2197
2198 <object type="checkbox">
2199 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2200 <font resource="font" color="%text_color%" />
2201 <text>Data</text>
2202 <condition var1="tw_restore_data" op=">=" var2="0" />
2203 <data variable="tw_restore_data" />
2204 <image checked="checkbox_true" unchecked="checkbox_false" />
2205 </object>
2206
2207 <object type="checkbox">
2208 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2209 <font resource="font" color="%text_color%" />
2210 <text>Boot</text>
2211 <condition var1="tw_restore_boot" op=">=" var2="0" />
2212 <data variable="tw_restore_boot" />
2213 <image checked="checkbox_true" unchecked="checkbox_false" />
2214 </object>
2215
2216 <object type="checkbox">
2217 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2218 <font resource="font" color="%text_color%" />
2219 <text>Cache</text>
2220 <condition var1="tw_restore_cache" op=">=" var2="0" />
2221 <data variable="tw_restore_cache" />
2222 <image checked="checkbox_true" unchecked="checkbox_false" />
2223 </object>
2224
2225 <object type="checkbox">
2226 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2227 <font resource="font" color="%text_color%" />
2228 <text>.android_secure</text>
2229 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2230 <data variable="tw_restore_andsec" />
2231 <image checked="checkbox_true" unchecked="checkbox_false" />
2232 </object>
2233
2234 <object type="checkbox">
2235 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2236 <font resource="font" color="%text_color%" />
2237 <text>sd-ext</text>
2238 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2239 <data variable="tw_restore_sdext" />
2240 <image checked="checkbox_true" unchecked="checkbox_false" />
2241 </object>
2242
2243 <object type="checkbox">
2244 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2245 <font resource="font" color="%text_color%" />
2246 <text>%tw_sp1_name%</text>
2247 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2248 <data variable="tw_restore_sp1" />
2249 <image checked="checkbox_true" unchecked="checkbox_false" />
2250 </object>
2251
2252 <object type="checkbox">
2253 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2254 <font resource="font" color="%text_color%" />
2255 <text>%tw_sp2_name%</text>
2256 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2257 <data variable="tw_restore_sp2" />
2258 <image checked="checkbox_true" unchecked="checkbox_false" />
2259 </object>
2260
2261 <object type="checkbox">
2262 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2263 <font resource="font" color="%text_color%" />
2264 <text>%tw_sp3_name%</text>
2265 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2266 <data variable="tw_restore_sp3" />
2267 <image checked="checkbox_true" unchecked="checkbox_false" />
2268 </object>
2269
2270 <object type="checkbox">
2271 <placement x="%col1_x%" y="%nandcheck_row6%" />
2272 <font resource="font" color="%text_color%" />
2273 <text>Enable MD5 checking of backup files</text>
2274 <data variable="tw_skip_md5_check" />
2275 <image checked="checkbox_true" unchecked="checkbox_false" />
2276 </object>
2277
2278 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002279 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002280 <placement x="%col4_x%" y="%row1_y%" />
2281 <font resource="font" color="%button_text_color%" />
2282 <text>Rename Backup</text>
2283 <image resource="main_button" />
2284 <actions>
2285 <action function="set">tw_backup_rename=</action>
2286 <action function="set">tw_fileexists=0</action>
2287 <action function="page">renamebackup</action>
2288 </actions>
2289 </object>
2290
2291 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002292 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002293 <placement x="%col4_x%" y="%backup_name_button_y%" />
2294 <font resource="font" color="%button_text_color%" />
2295 <text>Delete Backup</text>
2296 <image resource="main_button" />
2297 <actions>
2298 <action function="set">tw_back=restore</action>
2299 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002300 <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 -04002301 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2302 <action function="set">tw_text2=This cannot be undone!</action>
2303 <action function="set">tw_action_text1=Deleting Backup...</action>
2304 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2305 <action function="set">tw_slider_text=Swipe to Delete</action>
2306 <action function="page">confirm_action</action>
2307 </actions>
2308 </object>
2309
2310 <object type="slider">
2311 <placement x="%slider_x%" y="%slider_y%" />
2312 <resource base="slider" used="slider-used" touch="slider-touch" />
2313 <action function="page">restore_run</action>
2314 </object>
2315
2316 <object type="text" color="%text_color%">
2317 <font resource="font" />
2318 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2319 <text>Swipe to Restore</text>
2320 </object>
2321
2322 <object type="action">
2323 <touch key="home" />
2324 <action function="page">main</action>
2325 </object>
2326
2327 <object type="action">
2328 <touch key="back" />
2329 <action function="page">restore</action>
2330 </object>
2331
2332 <object type="template" name="footer" />
2333 </page>
2334
2335 <page name="renamebackup">
2336 <object type="template" name="header" />
2337
2338 <object type="text" color="%text_color%">
2339 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2340 <font resource="font" />
2341 <text>Please Enter a New Backup Name</text>
2342 </object>
2343
2344 <object type="input">
2345 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2346 <background color="%input_background_color%" />
2347 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2348 <font resource="font" color="%text_color%" />
2349 <text>%tw_backup_rename%</text>
2350 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002351 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002352 <actions>
2353 <action function="set">tw_back=restore</action>
2354 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002355 <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 -04002356 <action function="set">tw_text1=Rename Backup?</action>
2357 <action function="set">tw_text2=This cannot be undone!</action>
2358 <action function="set">tw_action_text1=Renaming Backup...</action>
2359 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2360 <action function="set">tw_slider_text=Swipe to Rename</action>
2361 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2362 <action function="set">tw_existpage=renamebackup</action>
2363 <action function="set">tw_notexistpage=confirm_action</action>
2364 <action function="page">filecheck</action>
2365 </actions>
2366 </object>
2367
2368 <object type="text" color="%text_fail_color%">
2369 <condition var1="tw_fileexists" var2="1" />
2370 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2371 <font resource="font" />
2372 <text>A backup with that name already exists!</text>
2373 </object>
2374
2375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <placement x="%col_center_x%" y="%cancel_button_y%" />
2378 <font resource="font" color="%button_text_color%" />
2379 <text>Cancel</text>
2380 <image resource="main_button" />
2381 <action function="page">restore_select</action>
2382 </object>
2383
2384 <object type="template" name="keyboardtemplate" />
2385
2386 <object type="action">
2387 <touch key="home" />
2388 <action function="page">main</action>
2389 </object>
2390
2391 <object type="action">
2392 <touch key="back" />
2393 <action function="page">restore_select</action>
2394 </object>
2395
2396 <object type="template" name="footer" />
2397 </page>
2398
2399 <page name="restore_run">
2400 <object type="template" name="header" />
2401
2402 <object type="text" color="%text_color%">
2403 <font resource="font" />
2404 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2405 <text>%tw_operation% %tw_partition%</text>
2406 </object>
2407
2408 <object type="template" name="action_page_console" />
2409
2410 <object type="template" name="progress_bar" />
2411
2412 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002413 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <actions>
2415 <action function="set">tw_back=restore_select</action>
2416 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002417 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <action function="page">action_complete</action>
2419 </actions>
2420 </object>
2421
2422 <object type="action">
2423 <action function="nandroid">restore</action>
2424 </object>
2425 </page>
2426
2427 <page name="settings">
2428 <object type="template" name="header" />
2429
2430 <object type="text" color="%text_color%">
2431 <font resource="font" />
2432 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2433 <text>Settings</text>
2434 </object>
2435
2436 <object type="checkbox">
2437 <placement x="%col1_x%" y="%row2_text_y%" />
2438 <font resource="font" color="%text_color%" />
2439 <text>Zip file signature verification?</text>
2440 <data variable="tw_signed_zip_verify" />
2441 <image checked="checkbox_true" unchecked="checkbox_false" />
2442 </object>
2443
2444 <object type="checkbox">
2445 <placement x="%col1_x%" y="%row3_text_y%" />
2446 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <text>Use rm -rf instead of formatting?</text>
2448 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%text_color%" />
2455 <text>Skip MD5 generation on backups</text>
2456 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <font resource="font" color="%text_color%" />
2463 <text>Enable MD5 checking of backup files</text>
2464 <data variable="tw_skip_md5_check" />
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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <font resource="font" color="%text_color%" />
2471 <text>Ignore image size errors during backup</text>
2472 <data variable="tw_ignore_image_size" />
2473 <image checked="checkbox_true" unchecked="checkbox_false" />
2474 </object>
2475
2476 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002477 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <font resource="font" color="%text_color%" />
2479 <text>Simulate most actions for theme testing</text>
2480 <data variable="tw_simulate_actions" />
2481 <image checked="checkbox_true" unchecked="checkbox_false" />
2482 </object>
2483
2484 <object type="checkbox">
2485 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002486 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <font resource="font" color="%text_color%" />
2488 <text>Simulate failure for actions</text>
2489 <data variable="tw_simulate_fail" />
2490 <image checked="checkbox_true" unchecked="checkbox_false" />
2491 </object>
2492
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002493 <object type="checkbox">
2494 <placement x="%col1_x%" y="%row9_text_y%" />
2495 <font resource="font" color="%text_color%" />
2496 <text>Use Military Time</text>
2497 <data variable="tw_military_time" />
2498 <image checked="checkbox_true" unchecked="checkbox_false" />
2499 </object>
2500
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002502 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <placement x="%col1_x%" y="%row2_y%" />
2504 <font resource="font" color="%button_text_color%" />
2505 <text>Time Zone</text>
2506 <image resource="main_button" />
2507 <action function="page">timezone</action>
2508 </object>
2509
2510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002511 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002512 <placement x="%col4_x%" y="%row2_y%" />
2513 <font resource="font" color="%button_text_color%" />
2514 <text>Screen</text>
2515 <image resource="main_button" />
2516 <action function="page">screen</action>
2517 </object>
2518
2519 <object type="button">
2520 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002521 <placement x="%col_center_x%" y="%slider_y%" />
2522 <font resource="font" color="%button_text_color%" />
2523 <text>Restore Defaults</text>
2524 <image resource="main_button" />
2525 <action function="restoredefaultsettings"></action>
2526 </object>
2527
2528 <object type="action">
2529 <touch key="home" />
2530 <action function="page">main</action>
2531 </object>
2532
2533 <object type="action">
2534 <touch key="back" />
2535 <action function="page">main</action>
2536 </object>
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002537
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <object type="template" name="footer" />
2539 </page>
2540
2541 <page name="timezone">
2542 <object type="template" name="header" />
2543
2544 <object type="text" color="%text_color%">
2545 <font resource="font" />
2546 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2547 <text>Select Time Zone</text>
2548 </object>
2549
2550 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002551 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002553 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2554 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002556 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002558 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <data name="tw_time_zone_guisel" />
2560 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2561 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2562 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2563 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2564 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2565 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2566 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2567 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2568 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2569 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2570 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2571 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2572 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2573 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2574 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2575 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2576 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2577 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2578 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2579 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2580 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2581 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2582 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2583 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2584 </object>
2585
2586 <object type="checkbox">
2587 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2588 <font resource="font" color="%text_color%" />
2589 <text>Do you use daylight savings time (DST)?</text>
2590 <data variable="tw_time_zone_guidst" />
2591 <image checked="checkbox_true" unchecked="checkbox_false" />
2592 </object>
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2597 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2598 </object>
2599
2600 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002601 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002602 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2603 <font resource="font" color="%button_text_color%" />
2604 <text>0</text>
2605 <image resource="medium_button" />
2606 <action function="set">tw_time_zone_guioffset=0</action>
2607 </object>
2608
2609 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002610 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002611 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2612 <font resource="font" color="%button_text_color%" />
2613 <text>15</text>
2614 <image resource="medium_button" />
2615 <action function="set">tw_time_zone_guioffset=15</action>
2616 </object>
2617
2618 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002619 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002620 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2621 <font resource="font" color="%button_text_color%" />
2622 <text>30</text>
2623 <image resource="medium_button" />
2624 <action function="set">tw_time_zone_guioffset=30</action>
2625 </object>
2626
2627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2630 <font resource="font" color="%button_text_color%" />
2631 <text>45</text>
2632 <image resource="medium_button" />
2633 <action function="set">tw_time_zone_guioffset=45</action>
2634 </object>
2635
2636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002638 <placement x="%col4_x%" y="%row2_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>Set Time Zone</text>
2641 <image resource="main_button" />
2642 <action function="setguitimezone"></action>
2643 </object>
2644
2645 <object type="text" color="%text_color%">
2646 <font resource="font" />
2647 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2648 <text>Current Time Zone: %tw_time_zone%</text>
2649 </object>
2650
2651 <object type="action">
2652 <touch key="home" />
2653 <action function="page">main</action>
2654 </object>
2655
2656 <object type="action">
2657 <touch key="back" />
2658 <action function="page">settings</action>
2659 </object>
2660
2661 <object type="template" name="footer" />
2662 </page>
2663
Dees_Troy2f9117a2013-02-17 19:52:09 -06002664 <page name="screen">
2665 <object type="template" name="header" />
2666
2667 <object type="text" color="%text_color%">
2668 <font resource="font" />
2669 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2670 <text>Screen Settings</text>
2671 </object>
2672
2673 <object type="text" color="%text_color%">
2674 <font resource="font" />
2675 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2676 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2677 </object>
2678
2679 <object type="button">
2680 <placement x="%col1_medium_x%" y="%row2_medium_y%" />
2681 <font resource="font" color="%button_text_color%" />
2682 <text>None</text>
2683 <image resource="medium_button" />
2684 <action function="set">tw_screen_timeout_secs=0</action>
2685 </object>
2686
2687 <object type="button">
2688 <placement x="%col2_medium_x%" y="%row2_medium_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>60</text>
2691 <image resource="medium_button" />
2692 <action function="set">tw_screen_timeout_secs=60</action>
2693 </object>
2694
2695 <object type="button">
2696 <placement x="%col3_medium_x%" y="%row2_medium_y%" />
2697 <font resource="font" color="%button_text_color%" />
2698 <text>120</text>
2699 <image resource="medium_button" />
2700 <action function="set">tw_screen_timeout_secs=120</action>
2701 </object>
2702
2703 <object type="button">
2704 <placement x="%col4_medium_x%" y="%row2_medium_y%" />
2705 <font resource="font" color="%button_text_color%" />
2706 <text>180</text>
2707 <image resource="medium_button" />
2708 <action function="set">tw_screen_timeout_secs=180</action>
2709 </object>
2710
2711 <object type="text" color="%text_color%">
2712 <condition var1="tw_has_brightnesss_file" var2="1" />
2713 <font resource="font" />
2714 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2715 <text>Brightness: %tw_brightness_display%</text>
2716 </object>
2717
2718 <object type="button">
2719 <condition var1="tw_has_brightnesss_file" var2="1" />
2720 <placement x="%col1_medium_x%" y="%row4_medium_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>25%</text>
2723 <image resource="medium_button" />
2724 <actions>
2725 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2726 <action function="set">tw_brightness_display=25%</action>
2727 <action function="set">tw_brightness=%tw_brightness_25%</action>
2728 </actions>
2729 </object>
2730
2731 <object type="button">
2732 <condition var1="tw_has_brightnesss_file" var2="1" />
2733 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>50%</text>
2736 <image resource="medium_button" />
2737 <actions>
2738 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2739 <action function="set">tw_brightness_display=50%</action>
2740 <action function="set">tw_brightness=%tw_brightness_50%</action>
2741 </actions>
2742 </object>
2743
2744 <object type="button">
2745 <condition var1="tw_has_brightnesss_file" var2="1" />
2746 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text>75%</text>
2749 <image resource="medium_button" />
2750 <actions>
2751 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2752 <action function="set">tw_brightness_display=75%</action>
2753 <action function="set">tw_brightness=%tw_brightness_75%</action>
2754 </actions>
2755 </object>
2756
2757 <object type="button">
2758 <condition var1="tw_has_brightnesss_file" var2="1" />
2759 <placement x="%col4_medium_x%" y="%row4_medium_y%" />
2760 <font resource="font" color="%button_text_color%" />
2761 <text>100%</text>
2762 <image resource="medium_button" />
2763 <actions>
2764 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2765 <action function="set">tw_brightness_display=100%</action>
2766 <action function="set">tw_brightness=%tw_brightness_100%</action>
2767 </actions>
2768 </object>
2769
2770 <object type="action">
2771 <touch key="home" />
2772 <action function="page">main</action>
2773 </object>
2774
2775 <object type="action">
2776 <touch key="back" />
2777 <action function="page">settings</action>
2778 </object>
2779
2780 <object type="template" name="footer" />
2781 </page>
2782
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <page name="advanced">
2784 <object type="template" name="header" />
2785
2786 <object type="text" color="%text_color%">
2787 <font resource="font" />
2788 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2789 <text>Advanced</text>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <placement x="%col1_x%" y="%row1_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text>Copy Log to SD</text>
2797 <image resource="main_button" />
2798 <actions>
2799 <action function="set">tw_back=advanced</action>
2800 <action function="set">tw_action=copylog</action>
2801 <action function="set">tw_text1=Copy Log to SD Card?</action>
2802 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2803 <action function="set">tw_complete_text1=Log Copy Complete</action>
2804 <action function="set">tw_slider_text=Swipe to Confirm</action>
2805 <action function="page">confirm_action</action>
2806 </actions>
2807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <placement x="%col2_x%" y="%row1_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>Fix Permissions</text>
2814 <image resource="main_button" />
2815 <actions>
2816 <action function="set">tw_back=advanced</action>
2817 <action function="set">tw_action=fixpermissions</action>
2818 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002820 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2821 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002822 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <action function="page">confirm_action</action>
2824 </actions>
2825 </object>
2826
2827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002828 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002829 <placement x="%col3_x%" y="%row1_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>Terminal Command</text>
2832 <image resource="main_button" />
2833 <action function="page">terminalfolder</action>
2834 </object>
2835
2836 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002837 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002838 <placement x="%col4_x%" y="%row1_y%" />
2839 <font resource="font" color="%button_text_color%" />
2840 <text>ADB Sideload</text>
2841 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002842 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002843 </object>
2844
2845 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002846 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002847 <condition var1="tw_allow_partition_sdcard" var2="1" />
2848 <placement x="%col1_x%" y="%row2_y%" />
2849 <font resource="font" color="%button_text_color%" />
2850 <text>Partition SD Card</text>
2851 <image resource="main_button" />
2852 <action function="page">partsdcard</action>
2853 </object>
2854
2855 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002856 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002857 <placement x="%col2_x%" y="%row2_y%" />
2858 <font resource="font" color="%button_text_color%" />
2859 <text>File Manager</text>
2860 <image resource="main_button" />
2861 <action function="page">filemanagerlist</action>
2862 </object>
2863
2864 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002865 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002866 <placement x="%col3_x%" y="%row2_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text>Reload Theme</text>
2869 <image resource="main_button" />
2870 <action function="reload"></action>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <condition var1="tw_show_dumlock" var2="1" />
2876 <placement x="%col4_x%" y="%row2_y%" />
2877 <font resource="font" color="%button_text_color%" />
2878 <text>HTC Dumlock</text>
2879 <image resource="main_button" />
2880 <action function="page">htcdumlock</action>
2881 </object>
2882
2883 <object type="action">
2884 <touch key="home" />
2885 <action function="page">main</action>
2886 </object>
2887
2888 <object type="action">
2889 <touch key="back" />
2890 <action function="page">main</action>
2891 </object>
2892
2893 <object type="template" name="footer" />
2894 </page>
2895
2896 <page name="partsdcard">
2897 <object type="template" name="header" />
2898
2899 <object type="text" color="%text_color%">
2900 <font resource="font" />
2901 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2902 <text>Partition SD Card</text>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2908 <font resource="font" color="%button_text_color%" />
2909 <text></text>
2910 <image resource="minus_button" />
2911 <action function="addsubtract">tw_sdext_size-128</action>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text></text>
2919 <image resource="plus_button" />
2920 <action function="addsubtract">tw_sdext_size+128</action>
2921 </object>
2922
2923 <object type="text" color="%text_color%">
2924 <font resource="font" />
2925 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2926 <text>EXT Size: %tw_sdext_size%</text>
2927 </object>
2928
2929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002930 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002931 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2932 <font resource="font" color="%button_text_color%" />
2933 <text></text>
2934 <image resource="minus_button" />
2935 <action function="addsubtract">tw_swap_size-32</action>
2936 </object>
2937
2938 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002939 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002940 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2941 <font resource="font" color="%button_text_color%" />
2942 <text></text>
2943 <image resource="plus_button" />
2944 <action function="addsubtract">tw_swap_size+32</action>
2945 </object>
2946
2947 <object type="text" color="%text_color%">
2948 <font resource="font" />
2949 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2950 <text>Swap Size: %tw_swap_size%</text>
2951 </object>
2952
2953 <object type="text" color="%text_color%">
2954 <font resource="font" />
2955 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2956 <text>File system: %tw_sdpart_file_system%</text>
2957 </object>
2958
2959 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002960 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002961 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2962 <font resource="font" color="%button_text_color%" />
2963 <text>EXT3</text>
2964 <image resource="medium_button" />
2965 <action function="set">tw_sdpart_file_system=ext3</action>
2966 </object>
2967
2968 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002969 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002970 <condition var1="tw_sdext_disable_ext4" var2="0" />
2971 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2972 <font resource="font" color="%button_text_color%" />
2973 <text>EXT4</text>
2974 <image resource="medium_button" />
2975 <action function="set">tw_sdpart_file_system=ext4</action>
2976 </object>
2977
2978 <object type="text" color="%text_color%">
2979 <font resource="font" />
2980 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2981 <text>You will lose all files on your SD card!</text>
2982 </object>
2983
2984 <object type="text" color="%text_color%">
2985 <font resource="font" />
2986 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2987 <text>This action cannot be undone!</text>
2988 </object>
2989
2990 <object type="slider">
2991 <placement x="%slider_x%" y="%slider_y%" />
2992 <resource base="slider" used="slider-used" touch="slider-touch" />
2993 <actions>
2994 <action function="set">tw_back=partsdcard</action>
2995 <action function="set">tw_action=partitionsd</action>
2996 <action function="set">tw_has_action2=1</action>
2997 <action function="set">tw_action2=set</action>
2998 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2999 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3000 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003001 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003002 <action function="page">action_page</action>
3003 </actions>
3004 </object>
3005
3006 <object type="text" color="%text_color%">
3007 <font resource="font" />
3008 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3009 <text>Swipe to Confirm Partition</text>
3010 </object>
3011
3012 <object type="action">
3013 <touch key="home" />
3014 <action function="page">main</action>
3015 </object>
3016
3017 <object type="action">
3018 <touch key="back" />
3019 <action function="page">advanced</action>
3020 </object>
3021
3022 <object type="template" name="footer" />
3023 </page>
3024
3025
3026 <page name="htcdumlock">
3027 <object type="template" name="header" />
3028
3029 <object type="text" color="%text_color%">
3030 <font resource="font" />
3031 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3032 <text>HTC Dumlock</text>
3033 </object>
3034
3035 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003036 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003037 <condition var1="tw_show_dumlock" var2="1" />
3038 <placement x="%col1_x%" y="%row1_y%" />
3039 <font resource="font" color="%button_text_color%" />
3040 <text>Restore Original Boot</text>
3041 <image resource="main_button" />
3042 <actions>
3043 <action function="set">tw_back=htcdumlock</action>
3044 <action function="set">tw_action=htcdumlockrestoreboot</action>
3045 <action function="set">tw_text1=Restore original boot image?</action>
3046 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3047 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3048 <action function="set">tw_slider_text=Swipe to Confirm</action>
3049 <action function="page">confirm_action</action>
3050 </actions>
3051 </object>
3052
3053 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003054 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003055 <condition var1="tw_show_dumlock" var2="1" />
3056 <placement x="%col2_x%" y="%row1_y%" />
3057 <font resource="font" color="%button_text_color%" />
3058 <text>Reflash Recovery->Boot</text>
3059 <image resource="main_button" />
3060 <actions>
3061 <action function="set">tw_back=htcdumlock</action>
3062 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3063 <action function="set">tw_text1=Reflash recovery to boot?</action>
3064 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3065 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3066 <action function="set">tw_slider_text=Swipe to Confirm</action>
3067 <action function="page">confirm_action</action>
3068 </actions>
3069 </object>
3070
3071 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003072 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003073 <condition var1="tw_show_dumlock" var2="1" />
3074 <placement x="%col1_x%" y="%row2_y%" />
3075 <font resource="font" color="%button_text_color%" />
3076 <text>Install HTC Dumlock</text>
3077 <image resource="main_button" />
3078 <actions>
3079 <action function="set">tw_back=htcdumlock</action>
3080 <action function="set">tw_action=installhtcdumlock</action>
3081 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3082 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3083 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3084 <action function="set">tw_slider_text=Swipe to Confirm</action>
3085 <action function="page">confirm_action</action>
3086 </actions>
3087 </object>
3088
3089 <object type="action">
3090 <touch key="home" />
3091 <action function="page">main</action>
3092 </object>
3093
3094 <object type="action">
3095 <touch key="back" />
3096 <action function="page">advanced</action>
3097 </object>
3098
3099 <object type="template" name="footer" />
3100 </page>
3101
3102 <page name="lock">
3103 <background color="#000000A0" />
3104
3105 <object type="image">
3106 <image resource="unlock-icon" />
3107 <placement x="%lock_x%" y="%lock_y%" />
3108 </object>
3109
3110 <object type="slider">
3111 <placement x="%slider_x%" y="%slider_y%" />
3112 <resource base="slider" used="slider-used" touch="slider-touch" />
3113 <action function="overlay"></action>
3114 </object>
3115
3116 <object type="text" color="%text_color%">
3117 <font resource="font" />
3118 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3119 <text>Swipe to Unlock</text>
3120 </object>
3121 </page>
3122
3123
3124 <page name="filemanagerlist">
3125 <object type="template" name="header" />
3126
3127 <object type="text" color="%text_color%">
3128 <font resource="font" />
3129 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3130 <text>File Manager: Select a File or Folder</text>
3131 </object>
3132
3133 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003134 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003135 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3136 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3137 <text>Folders:</text>
3138 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3139 <sort name="tw_gui_sort_order" />
3140 <icon folder="folder_icon" file="file_icon" />
3141 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003142 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003143 <filter folders="1" files="0" />
3144 <path name="tw_file_location1" default="/sdcard" />
3145 <data name="select" />
3146 <selection name="tw_selection1" />
3147 </object>
3148
3149 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003150 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003151 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3152 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3153 <text>%tw_file_location1%</text>
3154 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3155 <sort name="tw_gui_sort_order" />
3156 <icon folder="folder_icon" file="file_icon" />
3157 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003158 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003159 <filter folders="0" files="1" />
3160 <path name="tw_file_location1" default="/" />
3161 <data name="tw_filename1" />
3162 <selection name="tw_selection1" />
3163 </object>
3164
3165 <object type="template" name="sort_options" />
3166
3167 <object type="action">
3168 <actions>
3169 <action function="set">tw_fm_type=File</action>
3170 <action function="set">tw_fm_isfolder=0</action>
3171 </actions>
3172 </object>
3173
3174 <object type="action">
3175 <touch key="home" />
3176 <action function="page">main</action>
3177 </object>
3178
3179 <object type="action">
3180 <touch key="back" />
3181 <action function="page">advanced</action>
3182 </object>
3183
3184 <object type="action">
3185 <condition var1="tw_filename1" op="modified" />
3186 <actions>
3187 <action function="page">filemanageroptions</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003192 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003193 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3194 <font resource="font" color="%button_text_color%" />
3195 <text>Select Folder</text>
3196 <image resource="main_button" />
3197 <actions>
3198 <action function="set">tw_filename1=tw_file_location1</action>
3199 <action function="set">tw_fm_isfolder=1</action>
3200 <action function="set">tw_fm_type=Folder</action>
3201 <action function="page">filemanageroptions</action>
3202 </actions>
3203 </object>
3204
3205 <object type="template" name="footer" />
3206 </page>
3207
3208 <page name="filemanageroptions">
3209 <object type="template" name="header" />
3210
3211 <object type="text" color="%text_color%">
3212 <font resource="font" />
3213 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3214 <text>%tw_fm_type% Selected:</text>
3215 </object>
3216
3217 <object type="text" color="%text_color%">
3218 <font resource="font" />
3219 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3220 <text>%tw_filename1%</text>
3221 </object>
3222
3223 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003224 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003225 <condition var1="tw_fm_isfolder" var2="0" />
3226 <placement x="%col1_x%" y="%row2_y%" />
3227 <font resource="font" color="%button_text_color%" />
3228 <text>Copy File</text>
3229 <image resource="main_button" />
3230 <actions>
3231 <action function="set">tw_filemanager_command=cp</action>
3232 <action function="set">tw_fm_text1=Copying</action>
3233 <action function="page">choosedestinationfolder</action>
3234 </actions>
3235 </object>
3236
3237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <condition var1="tw_fm_isfolder" var2="1" />
3240 <placement x="%col1_x%" y="%row2_y%" />
3241 <font resource="font" color="%button_text_color%" />
3242 <text>Copy Folder</text>
3243 <image resource="main_button" />
3244 <actions>
3245 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3246 <action function="set">tw_fm_text1=Copying</action>
3247 <action function="page">choosedestinationfolder</action>
3248 </actions>
3249 </object>
3250
3251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <placement x="%col2_x%" y="%row2_y%" />
3254 <font resource="font" color="%button_text_color%" />
3255 <text>Move</text>
3256 <image resource="main_button" />
3257 <actions>
3258 <action function="set">tw_filemanager_command=mv</action>
3259 <action function="set">tw_fm_text1=Moving</action>
3260 <action function="page">choosedestinationfolder</action>
3261 </actions>
3262 </object>
3263
3264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003266 <placement x="%col3_x%" y="%row2_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>chmod 755</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_filemanager_command=chmod 755</action>
3272 <action function="set">tw_fm_text1=chmod 755</action>
3273 <action function="set">tw_fm_text2=</action>
3274 <action function="set">tw_fm_text3=</action>
3275 <action function="set">tw_include_text3=0</action>
3276 <action function="set">tw_back=filemanageroptions</action>
3277 <action function="page">filemanagerconfirm</action>
3278 </actions>
3279 </object>
3280
3281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003283 <placement x="%col4_x%" y="%row2_y%" />
3284 <font resource="font" color="%button_text_color%" />
3285 <text>chmod</text>
3286 <image resource="main_button" />
3287 <actions>
3288 <action function="set">tw_filemanager_rename=0000</action>
3289 <action function="set">tw_fm_text2=</action>
3290 <action function="set">tw_fm_text3=</action>
3291 <action function="set">tw_include_text3=0</action>
3292 <action function="set">tw_back=filemanageroptions</action>
3293 <action function="page">filemanagerchmod</action>
3294 </actions>
3295 </object>
3296
3297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003299 <placement x="%col1_x%" y="%row1_y%" />
3300 <font resource="font" color="%button_text_color%" />
3301 <text>Delete</text>
3302 <image resource="main_button" />
3303 <actions>
3304 <action function="set">tw_filemanager_command=rm -rf</action>
3305 <action function="set">tw_fm_text1=Deleting</action>
3306 <action function="set">tw_fm_text2=</action>
3307 <action function="set">tw_fm_text3=</action>
3308 <action function="set">tw_include_text3=0</action>
3309 <action function="set">tw_back=filemanageroptions</action>
3310 <action function="page">filemanagerconfirm</action>
3311 </actions>
3312 </object>
3313
3314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <condition var1="tw_fm_isfolder" var2="0" />
3317 <placement x="%col4_x%" y="%row1_y%" />
3318 <font resource="font" color="%button_text_color%" />
3319 <text>Rename File</text>
3320 <image resource="main_button" />
3321 <actions>
3322 <action function="set">tw_filemanager_rename=tw_selection1</action>
3323 <action function="set">tw_fm_text1=Renaming</action>
3324 <action function="set">tw_filemanager_command=mv</action>
3325 <action function="page">filemanagerrenamefile</action>
3326 </actions>
3327 </object>
3328
3329 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003330 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003331 <condition var1="tw_fm_isfolder" var2="1" />
3332 <placement x="%col4_x%" y="%row1_y%" />
3333 <font resource="font" color="%button_text_color%" />
3334 <text>Rename Folder</text>
3335 <image resource="main_button" />
3336 <actions>
3337 <action function="set">tw_filemanager_rename=tw_selection1</action>
3338 <action function="set">tw_fm_text1=Renaming</action>
3339 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3340 <action function="page">filemanagerrenamefolder</action>
3341 </actions>
3342 </object>
3343
3344 <object type="action">
3345 <touch key="home" />
3346 <action function="page">main</action>
3347 </object>
3348
3349 <object type="action">
3350 <touch key="back" />
3351 <action function="page">filemanagerlist</action>
3352 </object>
3353
3354 <object type="template" name="footer" />
3355 </page>
3356
3357 <page name="choosedestinationfolder">
3358 <object type="template" name="header" />
3359
3360 <object type="text" color="%text_color%">
3361 <font resource="font" />
3362 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3363 <text>Browse to Destination Folder & Press Select</text>
3364 </object>
3365
3366 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003367 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003368 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3369 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3370 <text>%tw_file_location2%</text>
3371 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3372 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003373 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003374 <icon folder="folder_icon" file="file_icon" />
3375 <background color="%fileselector_background%" />
3376 <filter folders="1" files="0" />
3377 <path name="tw_file_location2" default="/sdcard" />
3378 <data name="tw_filename2" />
3379 </object>
3380
3381 <object type="template" name="sort_options" />
3382
3383 <object type="action">
3384 <touch key="home" />
3385 <action function="page">main</action>
3386 </object>
3387
3388 <object type="action">
3389 <touch key="back" />
3390 <action function="page">filemanageroptions</action>
3391 </object>
3392
3393 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003394 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003395 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3396 <font resource="font" color="%button_text_color%" />
3397 <text>Select Folder</text>
3398 <image resource="main_button" />
3399 <actions>
3400 <action function="set">tw_fm_text2=to</action>
3401 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3402 <action function="set">tw_include_text3=1</action>
3403 <action function="set">tw_back=filemanageroptions</action>
3404 <action function="page">filemanagerconfirm</action>
3405 </actions>
3406 </object>
3407
3408 <object type="template" name="footer" />
3409 </page>
3410
3411 <page name="filemanagerrenamefile">
3412 <object type="template" name="header" />
3413
3414 <object type="text" color="%text_color%">
3415 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3416 <font resource="font" />
3417 <text>Please Enter a New %tw_fm_type% Name</text>
3418 </object>
3419
3420 <object type="input">
3421 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3422 <background color="%input_background_color%" />
3423 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3424 <font resource="font" color="%text_color%" />
3425 <text>%tw_filemanager_rename%</text>
3426 <data name="tw_filemanager_rename" />
3427 <restrict minlen="1" maxlen="128" />
3428 <actions>
3429 <action function="set">tw_fm_text2=to</action>
3430 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3431 <action function="set">tw_include_text3=1</action>
3432 <action function="set">tw_back=filemanageroptions</action>
3433 <action function="page">filemanagerconfirm</action>
3434 </actions>
3435 </object>
3436
3437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003439 <placement x="%col_center_x%" y="%cancel_button_y%" />
3440 <font resource="font" color="%button_text_color%" />
3441 <text>Cancel</text>
3442 <image resource="main_button" />
3443 <action function="page">filemanageroptions</action>
3444 </object>
3445
3446 <object type="template" name="keyboardtemplate" />
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">filemanageroptions</action>
3456 </object>
3457
3458 <object type="template" name="footer" />
3459 </page>
3460
3461 <page name="filemanagerrenamefolder">
3462 <object type="template" name="header" />
3463
3464 <object type="text" color="%text_color%">
3465 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3466 <font resource="font" />
3467 <text>Please Enter a New %tw_fm_type% Name</text>
3468 </object>
3469
3470 <object type="input">
3471 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3472 <background color="%input_background_color%" />
3473 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3474 <font resource="font" color="%text_color%" />
3475 <text>%tw_filemanager_rename%</text>
3476 <data name="tw_filemanager_rename" />
3477 <restrict minlen="1" maxlen="128" />
3478 <actions>
3479 <action function="set">tw_fm_text2=to</action>
3480 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3481 <action function="set">tw_include_text3=1</action>
3482 <action function="set">tw_back=filemanageroptions</action>
3483 <action function="page">filemanagerconfirm</action>
3484 </actions>
3485 </object>
3486
3487 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003488 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003489 <placement x="%col_center_x%" y="%cancel_button_y%" />
3490 <font resource="font" color="%button_text_color%" />
3491 <text>Cancel</text>
3492 <image resource="main_button" />
3493 <action function="page">filemanageroptions</action>
3494 </object>
3495
3496 <object type="template" name="keyboardtemplate" />
3497
3498 <object type="action">
3499 <touch key="home" />
3500 <action function="page">main</action>
3501 </object>
3502
3503 <object type="action">
3504 <touch key="back" />
3505 <action function="page">filemanageroptions</action>
3506 </object>
3507
3508 <object type="template" name="footer" />
3509 </page>
3510
3511 <page name="filemanagerchmod">
3512 <object type="template" name="header" />
3513
3514 <object type="text" color="%text_color%">
3515 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3516 <font resource="font" />
3517 <text>Please Enter New Permissions</text>
3518 </object>
3519
3520 <object type="input">
3521 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3522 <background color="%input_background_color%" />
3523 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3524 <font resource="font" color="%text_color%" />
3525 <text>%tw_filemanager_rename%</text>
3526 <data name="tw_filemanager_rename" />
3527 <restrict minlen="3" maxlen="4" allow="0123456789" />
3528 <actions>
3529 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3530 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3531 <action function="set">tw_back=filemanageroptions</action>
3532 <action function="page">filemanagerconfirm</action>
3533 </actions>
3534 </object>
3535
3536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003538 <placement x="%col_center_x%" y="%cancel_button_y%" />
3539 <font resource="font" color="%button_text_color%" />
3540 <text>Cancel</text>
3541 <image resource="main_button" />
3542 <action function="page">filemanageroptions</action>
3543 </object>
3544
3545 <object type="template" name="keyboardtemplate" />
3546
3547 <object type="action">
3548 <touch key="home" />
3549 <action function="page">main</action>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="back" />
3554 <action function="page">filemanageroptions</action>
3555 </object>
3556
3557 <object type="template" name="footer" />
3558 </page>
3559
3560 <page name="filemanagerconfirm">
3561 <object type="template" name="header" />
3562
3563 <object type="text" color="%text_color%">
3564 <font resource="font" />
3565 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3566 <text>%tw_fm_text1%</text>
3567 </object>
3568
3569 <object type="text" color="%text_color%">
3570 <font resource="font" />
3571 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3572 <text>%tw_filename1%</text>
3573 </object>
3574
3575 <object type="text" color="%text_color%">
3576 <font resource="font" />
3577 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3578 <text>%tw_fm_text2%</text>
3579 </object>
3580
3581 <object type="text" color="%text_color%">
3582 <font resource="font" />
3583 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3584 <text>%tw_fm_text3%</text>
3585 </object>
3586
3587 <object type="text" color="%text_color%">
3588 <font resource="font" />
3589 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3590 <text>Press back button to cancel.</text>
3591 </object>
3592
3593 <object type="slider">
3594 <placement x="%slider_x%" y="%slider_y%" />
3595 <resource base="slider" used="slider-used" touch="slider-touch" />
3596 <action function="page">filemanageracction</action>
3597 </object>
3598
3599 <object type="text" color="%text_color%">
3600 <font resource="font" />
3601 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3602 <text>Swipe to Confirm</text>
3603 </object>
3604
3605 <object type="action">
3606 <touch key="back" />
3607 <action function="page">%tw_back%</action>
3608 </object>
3609
3610 <object type="action">
3611 <touch key="home" />
3612 <action function="page">main</action>
3613 </object>
3614
3615 <object type="template" name="footer" />
3616 </page>
3617
3618 <page name="filemanageracction">
3619 <object type="template" name="header" />
3620
3621 <object type="text" color="%text_color%">
3622 <font resource="font" />
3623 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3624 <text>%tw_fm_text1%</text>
3625 </object>
3626
3627 <object type="template" name="action_page_console" />
3628
3629 <object type="template" name="progress_bar" />
3630
3631 <object type="action">
3632 <conditions>
3633 <condition var1="tw_operation_state" var2="1" />
3634 <condition var1="tw_operation_status" var2="0" />
3635 </conditions>
3636 <actions>
3637 <action function="set">tw_back=filemanagerlist</action>
3638 <action function="set">tw_complete_text1=File Operation Complete</action>
3639 <action function="page">action_complete</action>
3640 </actions>
3641 </object>
3642
3643 <object type="action">
3644 <conditions>
3645 <condition var1="tw_operation_state" var2="1" />
3646 <condition var1="tw_operation_status" op="!=" var2="0" />
3647 </conditions>
3648 <actions>
3649 <action function="set">tw_complete_text1=File Operation Complete</action>
3650 <action function="page">action_complete</action>
3651 </actions>
3652 </object>
3653
3654 <object type="action">
3655 <condition var1="tw_include_text3" var2="0" />
3656 <actions>
3657 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3658 </actions>
3659 </object>
3660
3661 <object type="action">
3662 <condition var1="tw_include_text3" var2="1" />
3663 <actions>
3664 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3665 </actions>
3666 </object>
3667 </page>
3668
3669 <page name="decrypt">
3670 <object type="template" name="header" />
3671
3672 <object type="text" color="%text_color%">
3673 <font resource="font" />
3674 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3675 <text>Please Enter Your Password</text>
3676 </object>
3677
3678 <object type="input">
3679 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3680 <background color="%input_background_color%" />
3681 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3682 <font resource="font" color="%text_color%" />
3683 <text>%tw_crypto_display%</text>
3684 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3685 <restrict minlen="1" maxlen="254" />
3686 <actions>
3687 <action function="page">trydecrypt</action>
3688 </actions>
3689 </object>
3690
3691 <object type="text" color="%text_fail_color%">
3692 <condition var1="tw_password_fail" var2="1" />
3693 <font resource="font" />
3694 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3695 <text>Password Failed, Please Try Again</text>
3696 </object>
3697
3698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003700 <placement x="%col_center_x%" y="%cancel_button_y%" />
3701 <font resource="font" color="%button_text_color%" />
3702 <text>Cancel</text>
3703 <image resource="main_button" />
3704 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003705 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003706 <action function="page">main</action>
3707 </actions>
3708 </object>
3709
3710 <object type="template" name="keyboardtemplate" />
3711
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <object type="template" name="footer" />
3713 </page>
3714
3715 <page name="trydecrypt">
3716 <object type="template" name="header" />
3717
3718 <object type="text" color="%text_color%">
3719 <font resource="font" />
3720 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3721 <text>Trying Decryption with Your Password</text>
3722 </object>
3723
3724 <object type="template" name="action_page_console" />
3725
3726 <object type="template" name="progress_bar" />
3727
3728 <object type="action">
3729 <action function="decrypt"></action>
3730 </object>
3731
3732 <object type="action">
3733 <conditions>
3734 <condition var1="tw_operation_state" var2="1" />
3735 <condition var1="tw_operation_status" op="!=" var2="0" />
3736 </conditions>
3737 <actions>
3738 <action function="set">tw_password_fail=1</action>
3739 <action function="page">decrypt</action>
3740 </actions>
3741 </object>
3742
3743 <object type="action">
3744 <conditions>
3745 <condition var1="tw_operation_state" var2="1" />
3746 <condition var1="tw_operation_status" op="=" var2="0" />
3747 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003748 <actions>
3749 <action function="set">tw_page_done=1</action>
3750 <action function="page">main</action>
3751 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003752 </object>
3753 </page>
3754
3755 <page name="terminalfolder">
3756 <object type="template" name="header" />
3757
3758 <object type="text" color="%text_color%">
3759 <font resource="font" />
3760 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3761 <text>Browse to Starting Folder</text>
3762 </object>
3763
3764 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003765 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3767 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3768 <text>%tw_terminal_location%</text>
3769 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3770 <sort name="tw_gui_sort_order" />
3771 <icon folder="folder_icon" file="file_icon" />
3772 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003773 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003774 <filter folders="1" files="0" />
3775 <path name="tw_terminal_location" default="/" />
3776 <data name="tw_terminal" />
3777 <selection name="tw_terminal_selection" />
3778 </object>
3779
3780 <object type="template" name="sort_options" />
3781
3782 <object type="action">
3783 <touch key="home" />
3784 <action function="page">main</action>
3785 </object>
3786
3787 <object type="action">
3788 <touch key="back" />
3789 <action function="page">advanced</action>
3790 </object>
3791
3792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003794 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3795 <font resource="font" color="%button_text_color%" />
3796 <text>Select Folder</text>
3797 <image resource="main_button" />
3798 <actions>
3799 <action function="page">terminalcommand</action>
3800 </actions>
3801 </object>
3802
3803 <object type="template" name="footer" />
3804 </page>
3805
3806 <page name="terminalcommand">
3807 <background color="#000000FF" />
3808
3809 <object type="console">
3810 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3811 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3812 <font resource="fixed" />
3813 </object>
3814
3815 <object type="text" color="%text_color%">
3816 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3817 <font resource="font" />
3818 <text>Starting Path: %tw_terminal_location%</text>
3819 </object>
3820
3821 <object type="input">
3822 <condition var1="tw_terminal_state" var2="0" />
3823 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3824 <background color="%input_background_color%" />
3825 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3826 <font resource="font" color="%text_color%" />
3827 <text>%tw_terminal_command%</text>
3828 <data name="tw_terminal_command" />
3829 <restrict minlen="1" />
3830 <action function="terminalcommand">%tw_terminal_command%</action>
3831 </object>
3832
3833 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003834 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003835 <condition var1="tw_terminal_state" var2="1" />
3836 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3837 <font resource="font" color="%button_text_color%" />
3838 <text>KILL</text>
3839 <image resource="medium_button" />
3840 <action function="killterminal"></action>
3841 </object>
3842
3843 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003844 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003845 <placement x="%home_button_x%" y="%terminal_button_y%" />
3846 <font resource="font" color="%button_text_color%" />
3847 <text></text>
3848 <image resource="home_icon" />
3849 <condition var1="tw_busy" var2="0" />
3850 <action function="key">home</action>
3851 </object>
3852
3853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003854 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003855 <placement x="%back_button_x%" y="%terminal_button_y%" />
3856 <font resource="font" color="%button_text_color%" />
3857 <text></text>
3858 <image resource="back_icon" />
3859 <condition var1="tw_busy" var2="0" />
3860 <action function="key">back</action>
3861 </object>
3862
3863 <object type="action">
3864 <touch key="power" />
3865 <action function="overlay">lock</action>
3866 </object>
3867
3868 <object type="template" name="keyboardtemplate" />
3869
3870 <object type="action">
3871 <touch key="home" />
3872 <action function="page">main</action>
3873 </object>
3874
3875 <object type="action">
3876 <touch key="back" />
3877 <action function="page">terminalfolder</action>
3878 </object>
3879 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003880
3881 <page name="sideload">
3882 <object type="template" name="header" />
3883
3884 <object type="text" color="%text_color%">
3885 <font resource="font" />
3886 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3887 <text>ADB Sideload</text>
3888 </object>
3889
3890 <object type="checkbox">
3891 <placement x="%col1_x%" y="%row3_text_y%" />
3892 <font resource="font" color="%text_color%" />
3893 <text>Wipe Dalvik Cache.</text>
3894 <data variable="tw_wipe_dalvik" />
3895 <image checked="checkbox_true" unchecked="checkbox_false" />
3896 </object>
3897
3898 <object type="checkbox">
3899 <placement x="%col1_x%" y="%row4_text_y%" />
3900 <font resource="font" color="%text_color%" />
3901 <text>Wipe Cache.</text>
3902 <data variable="tw_wipe_cache" />
3903 <image checked="checkbox_true" unchecked="checkbox_false" />
3904 </object>
3905
3906 <object type="slider">
3907 <placement x="%slider_x%" y="%slider_y%" />
3908 <resource base="slider" used="slider-used" touch="slider-touch" />
3909 <actions>
3910 <action function="set">tw_back=advanced</action>
3911 <action function="set">tw_action=adbsideload</action>
3912 <action function="set">tw_action_text1=ADB Sideload</action>
3913 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3914 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3915 <action function="set">tw_has_cancel=1</action>
3916 <action function="set">tw_show_reboot=1</action>
3917 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3918 <action function="page">action_page</action>
3919 </actions>
3920 </object>
3921
3922 <object type="text" color="%text_color%">
3923 <font resource="font" />
3924 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3925 <text>Swipe to Start Sideload</text>
3926 </object>
3927
3928 <object type="action">
3929 <touch key="home" />
3930 <action function="page">main</action>
3931 </object>
3932
3933 <object type="action">
3934 <touch key="back" />
3935 <action function="page">advanced</action>
3936 </object>
3937
3938 <object type="template" name="footer" />
3939 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003940
3941 <page name="installsu">
3942 <object type="template" name="header" />
3943
3944 <object type="text" color="%text_color%">
3945 <font resource="font" />
3946 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3947 <text>Install SuperSU?</text>
3948 </object>
3949
3950 <object type="text" color="%text_color%">
3951 <font resource="font" />
3952 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3953 <text>Your device does not appear to be rooted.</text>
3954 </object>
3955
3956 <object type="text" color="%text_color%">
3957 <font resource="font" />
3958 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3959 <text>Install SuperSU now? This will root your device.</text>
3960 </object>
3961
3962 <object type="button">
3963 <highlight color="%highlight_color%" />
3964 <placement x="%col_center_x%" y="%row2_medium_y%" />
3965 <font resource="font" color="%button_text_color%" />
3966 <text>Do Not Install</text>
3967 <image resource="main_button" />
3968 <action function="set">tw_page_done=1</action>
3969 </object>
3970
3971 <object type="slider">
3972 <placement x="%slider_x%" y="%slider_y%" />
3973 <resource base="slider" used="slider-used" touch="slider-touch" />
3974 <actions>
3975 <action function="set">tw_action=installsu</action>
3976 <action function="set">tw_action_text1=Installing SuperSU</action>
3977 <action function="set">tw_action_text2=</action>
3978 <action function="page">singleaction_page</action>
3979 </actions>
3980 </object>
3981
3982 <object type="text" color="%text_color%">
3983 <font resource="font" />
3984 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3985 <text>Swipe to Install</text>
3986 </object>
3987 </page>
3988
3989 <page name="fixsu">
3990 <object type="template" name="header" />
3991
3992 <object type="text" color="%text_color%">
3993 <font resource="font" />
3994 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3995 <text>Fix Superuser Permissions?</text>
3996 </object>
3997
3998 <object type="text" color="%text_color%">
3999 <font resource="font" />
4000 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4001 <text>Root permissions appear to be lost.</text>
4002 </object>
4003
4004 <object type="text" color="%text_color%">
4005 <font resource="font" />
4006 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4007 <text>Fix root permissions now?</text>
4008 </object>
4009
4010 <object type="text" color="%text_color%">
4011 <font resource="font" />
4012 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4013 <text>(Fixes permissions on su binary & app)</text>
4014 </object>
4015
4016 <object type="button">
4017 <highlight color="%highlight_color%" />
4018 <placement x="%col_center_x%" y="%row2_medium_y%" />
4019 <font resource="font" color="%button_text_color%" />
4020 <text>Do Not Fix</text>
4021 <image resource="main_button" />
4022 <action function="set">tw_page_done=1</action>
4023 </object>
4024
4025 <object type="slider">
4026 <placement x="%slider_x%" y="%slider_y%" />
4027 <resource base="slider" used="slider-used" touch="slider-touch" />
4028 <actions>
4029 <action function="set">tw_action=fixsu</action>
4030 <action function="set">tw_action_text1=Fixing Root Permissions</action>
4031 <action function="set">tw_action_text2=</action>
4032 <action function="page">singleaction_page</action>
4033 </actions>
4034 </object>
4035
4036 <object type="text" color="%text_color%">
4037 <font resource="font" />
4038 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4039 <text>Swipe to Fix Root</text>
4040 </object>
4041 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004042 </pages>
4043</recovery>