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