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