blob: 8e96c7bf60f2265389e9f4c6b6246d22d03973e3 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1280" height="800" />
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="151" />
49 <variable name="col2_x" value="397" />
50 <variable name="col3_x" value="643" />
51 <variable name="col4_x" value="889" />
52 <variable name="row1_y" value="127" />
53 <variable name="row2_y" value="388" />
54 <variable name="col_center_x" value="520" />
55 <variable name="center_x" value="640" />
56 <variable name="screen_width" value="1280" />
57 <variable name="screen_height" value="800" />
58 <variable name="col_progressbar_x" value="514" />
59 <variable name="row_progressbar_y" value="700" />
60 <variable name="col1_medium_x" value="385" />
61 <variable name="col2_medium_x" value="515" />
62 <variable name="col3_medium_x" value="645" />
63 <variable name="col4_medium_x" value="775" />
64 <variable name="row1_medium_y" value="105" />
65 <variable name="row2_medium_y" value="175" />
66 <variable name="row3_medium_y" value="245" />
67 <variable name="row4_medium_y" value="315" />
68 <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="1069" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="1139" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="1209" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="328" />
95 <variable name="nandcheck_col2" value="600" />
96 <variable name="nandcheck_row1" value="150" />
97 <variable name="nandcheck_row2" value="200" />
98 <variable name="nandcheck_row3" value="250" />
99 <variable name="nandcheck_row4" value="300" />
100 <variable name="nandcheck_row5" value="350" />
101 <variable name="nandcheck_row6" value="400" />
102 <variable name="nandcheck_row7" value="450" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#A0A0A0" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600107 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400108 <variable name="slider_x" value="435" />
109 <variable name="slider_y" value="600" />
110 <variable name="slider_text_y" value="650" />
111 <variable name="sort_text_x" value="398" />
112 <variable name="sort_asc_text_y" value="655" />
113 <variable name="sort_asc_button_y" value="650" />
114 <variable name="sort_desc_text_y" value="700" />
115 <variable name="sort_desc_button_y" value="695" />
116 <variable name="sort_col1_button_x" value="568" />
117 <variable name="sort_col2_button_x" value="638" />
118 <variable name="sort_col3_button_x" value="708" />
119 <variable name="col1_sdext_x" value="508" />
120 <variable name="col2_sdext_x" value="718" />
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="1200" />
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="1230" />
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="410" />
141 <variable name="fileselector_folderonly_width" value="588" />
142 <variable name="fileselector_file_x" value="445" />
143 <variable name="fileselector_file_width" value="810" />
144 <variable name="fileselector_install_y" value="120" />
145 <variable name="fileselector_install_height" value="510" />
146 <variable name="fileselector_header_background" value="#202020" />
147 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
148 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
149 <variable name="fileselector_header_separatorheight" value="3" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="2" />
152 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600153 <variable name="fileselector_highlight_color" value="#505050" />
154 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="fileselector_spacing" value="18" />
156 <variable name="zipstorage_text_y" value="88" />
157 <variable name="listbox_x" value="397" />
158 <variable name="listbox_y" value="90" />
159 <variable name="listbox_width" value="588" />
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="408" />
164 <variable name="lock_x" value="440" />
165 <variable name="lock_y" value="184" />
166 <variable name="filemanager_select_x" value="1017" />
167 <variable name="filemanager_select_y" value="620" />
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="1252" />
171 <variable name="cancel_button_y" value="240" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="362" />
174 <variable name="terminal_text_y" value="368" />
175 <variable name="terminal_button_y" value="358" />
176 <variable name="terminal_input_width" value="1031" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="540" />
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="1250" 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="770" />
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="430" />
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="380" />
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="665" />
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="438" />
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="91" width="106" />
373 <row1 key01="102:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="118:c:8" />
374 <row2 key01="142:layout3" key02="104:a" key03="104:s" key04="104:d" key05="104:f" key06="104:g" key07="104:h" key08="104:j" key09="104:k" key10="104:l" key11="202:action" />
375 <row3 key01="176:layout2" key02="103:z" key03="103:x" key04="103:c" key05="103:v" key06="103:b" key07="103:n" key08="103:m" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout2" />
376 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
377 </layout1>
378 <layout2>
379 <keysize height="90" width="106" />
380 <row1 key01="102:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="118:c:8" />
381 <row2 key01="142:layout3" key02="104:A" key03="104:S" key04="104:D" key05="104:F" key06="104:G" key07="104:H" key08="104:J" key09="104:K" key10="104:L" key11="202:action" />
382 <row3 key01="176:layout1" key02="103:Z" key03="103:X" key04="103:C" key05="103:V" key06="103:B" key07="103:N" key08="103:M" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout1" />
383 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
384 </layout2>
385 <layout3>
386 <keysize height="90" width="106" />
387 <row1 key01="102:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="118:c:8" />
388 <row2 key01="142:layout1" key02="104:#" key03="104:$" key04="104:%" key05="104:&" key06="104:*" key07="104:-" key08="104:+" key09="104:(" key10="104:)" key11="202:action" />
389 <row3 key01="176:layout4" key02="103:<" key03="103:>" key04="103:=" key05="103:'" key06="103:;" key07="103:," key08="103:." key09="103:!" key10="103:?" key11="177:layout4" />
390 <row4 key01="190:" key02="/" key03="104:@" key04="480: " key05="102:c:34" key06="_" />
391 </layout3>
392 <layout4>
393 <keysize height="91" width="106" />
394 <row1 key01="102:" key02="~" key03="`" key04="|" key05="106:" key06="106:" key07="106:" key08="106:" key09="106:" key10="106:" key11="106:" key12="118:c:8" />
395 <row2 key01="142:layout1" key02="104:" key03="104:" key04="104:" key05="104:" key06="104:^" key07="104:" key08="104:" key09="104:{" key10="104:}" key11="202:action" />
396 <row3 key01="176:layout3" key02="103:\" key03="103:" key04="103:" key05="103:" key06="103:" key07="103:[" key08="103:]" key09="103:!" key10="103:?" key11="177:layout3" />
397 <row4 key01="400:" key02="480: " />
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%" />
2405 <text>Force MD5 check on all zips?</text>
2406 <data variable="tw_force_md5_check" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
2411 <placement x="%col1_x%" y="%row4_text_y%" />
2412 <font resource="font" color="%text_color%" />
2413 <text>Use rm -rf instead of formatting?</text>
2414 <data variable="tw_rm_rf" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
2419 <placement x="%col1_x%" y="%row5_text_y%" />
2420 <font resource="font" color="%text_color%" />
2421 <text>Skip MD5 generation on backups</text>
2422 <data variable="tw_skip_md5_generate" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
2427 <placement x="%col1_x%" y="%row6_text_y%" />
2428 <font resource="font" color="%text_color%" />
2429 <text>Enable MD5 checking of backup files</text>
2430 <data variable="tw_skip_md5_check" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="checkbox">
2435 <placement x="%col1_x%" y="%row7_text_y%" />
2436 <font resource="font" color="%text_color%" />
2437 <text>Ignore image size errors during backup</text>
2438 <data variable="tw_ignore_image_size" />
2439 <image checked="checkbox_true" unchecked="checkbox_false" />
2440 </object>
2441
2442 <object type="checkbox">
2443 <placement x="%col1_x%" y="%row8_text_y%" />
2444 <font resource="font" color="%text_color%" />
2445 <text>Simulate most actions for theme testing</text>
2446 <data variable="tw_simulate_actions" />
2447 <image checked="checkbox_true" unchecked="checkbox_false" />
2448 </object>
2449
2450 <object type="checkbox">
2451 <condition var1="tw_simulate_actions" var2="1" />
2452 <placement x="%col1_x%" y="%row9_text_y%" />
2453 <font resource="font" color="%text_color%" />
2454 <text>Simulate failure for actions</text>
2455 <data variable="tw_simulate_fail" />
2456 <image checked="checkbox_true" unchecked="checkbox_false" />
2457 </object>
2458
2459 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002460 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <placement x="%col1_x%" y="%row2_y%" />
2462 <font resource="font" color="%button_text_color%" />
2463 <text>Time Zone</text>
2464 <image resource="main_button" />
2465 <action function="page">timezone</action>
2466 </object>
2467
2468 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002469 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <placement x="%col_center_x%" y="%slider_y%" />
2471 <font resource="font" color="%button_text_color%" />
2472 <text>Restore Defaults</text>
2473 <image resource="main_button" />
2474 <action function="restoredefaultsettings"></action>
2475 </object>
2476
2477 <object type="action">
2478 <touch key="home" />
2479 <action function="page">main</action>
2480 </object>
2481
2482 <object type="action">
2483 <touch key="back" />
2484 <action function="page">main</action>
2485 </object>
2486
2487 <object type="template" name="footer" />
2488 </page>
2489
2490 <page name="timezone">
2491 <object type="template" name="header" />
2492
2493 <object type="text" color="%text_color%">
2494 <font resource="font" />
2495 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2496 <text>Select Time Zone</text>
2497 </object>
2498
2499 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002500 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002502 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2503 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002505 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002507 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 <data name="tw_time_zone_guisel" />
2509 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2510 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2511 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2512 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2513 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2514 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2515 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2516 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2517 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2518 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2519 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2520 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2521 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2522 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2523 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2524 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2525 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2526 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2527 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2528 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2529 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2530 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2531 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2532 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2533 </object>
2534
2535 <object type="checkbox">
2536 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2537 <font resource="font" color="%text_color%" />
2538 <text>Do you use daylight savings time (DST)?</text>
2539 <data variable="tw_time_zone_guidst" />
2540 <image checked="checkbox_true" unchecked="checkbox_false" />
2541 </object>
2542
2543 <object type="text" color="%text_color%">
2544 <font resource="font" />
2545 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2546 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>0</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=0</action>
2556 </object>
2557
2558 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002559 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>15</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=15</action>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>30</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=30</action>
2574 </object>
2575
2576 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002577 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002578 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2579 <font resource="font" color="%button_text_color%" />
2580 <text>45</text>
2581 <image resource="medium_button" />
2582 <action function="set">tw_time_zone_guioffset=45</action>
2583 </object>
2584
2585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002586 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002587 <placement x="%col4_x%" y="%row2_y%" />
2588 <font resource="font" color="%button_text_color%" />
2589 <text>Set Time Zone</text>
2590 <image resource="main_button" />
2591 <action function="setguitimezone"></action>
2592 </object>
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2597 <text>Current Time Zone: %tw_time_zone%</text>
2598 </object>
2599
2600 <object type="action">
2601 <touch key="home" />
2602 <action function="page">main</action>
2603 </object>
2604
2605 <object type="action">
2606 <touch key="back" />
2607 <action function="page">settings</action>
2608 </object>
2609
2610 <object type="template" name="footer" />
2611 </page>
2612
2613 <page name="advanced">
2614 <object type="template" name="header" />
2615
2616 <object type="text" color="%text_color%">
2617 <font resource="font" />
2618 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2619 <text>Advanced</text>
2620 </object>
2621
2622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002624 <placement x="%col1_x%" y="%row1_y%" />
2625 <font resource="font" color="%button_text_color%" />
2626 <text>Copy Log to SD</text>
2627 <image resource="main_button" />
2628 <actions>
2629 <action function="set">tw_back=advanced</action>
2630 <action function="set">tw_action=copylog</action>
2631 <action function="set">tw_text1=Copy Log to SD Card?</action>
2632 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2633 <action function="set">tw_complete_text1=Log Copy Complete</action>
2634 <action function="set">tw_slider_text=Swipe to Confirm</action>
2635 <action function="page">confirm_action</action>
2636 </actions>
2637 </object>
2638
2639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002641 <placement x="%col2_x%" y="%row1_y%" />
2642 <font resource="font" color="%button_text_color%" />
2643 <text>Fix Permissions</text>
2644 <image resource="main_button" />
2645 <actions>
2646 <action function="set">tw_back=advanced</action>
2647 <action function="set">tw_action=fixpermissions</action>
2648 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002649 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002650 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2651 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002652 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002653 <action function="page">confirm_action</action>
2654 </actions>
2655 </object>
2656
2657 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002658 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002659 <placement x="%col3_x%" y="%row1_y%" />
2660 <font resource="font" color="%button_text_color%" />
2661 <text>Terminal Command</text>
2662 <image resource="main_button" />
2663 <action function="page">terminalfolder</action>
2664 </object>
2665
2666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002667 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002668 <placement x="%col4_x%" y="%row1_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text>ADB Sideload</text>
2671 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002672 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002673 </object>
2674
2675 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002676 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002677 <condition var1="tw_allow_partition_sdcard" var2="1" />
2678 <placement x="%col1_x%" y="%row2_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text>Partition SD Card</text>
2681 <image resource="main_button" />
2682 <action function="page">partsdcard</action>
2683 </object>
2684
2685 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002686 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002687 <placement x="%col2_x%" y="%row2_y%" />
2688 <font resource="font" color="%button_text_color%" />
2689 <text>File Manager</text>
2690 <image resource="main_button" />
2691 <action function="page">filemanagerlist</action>
2692 </object>
2693
2694 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002695 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002696 <placement x="%col3_x%" y="%row2_y%" />
2697 <font resource="font" color="%button_text_color%" />
2698 <text>Reload Theme</text>
2699 <image resource="main_button" />
2700 <action function="reload"></action>
2701 </object>
2702
2703 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002704 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002705 <condition var1="tw_show_dumlock" var2="1" />
2706 <placement x="%col4_x%" y="%row2_y%" />
2707 <font resource="font" color="%button_text_color%" />
2708 <text>HTC Dumlock</text>
2709 <image resource="main_button" />
2710 <action function="page">htcdumlock</action>
2711 </object>
2712
2713 <object type="action">
2714 <touch key="home" />
2715 <action function="page">main</action>
2716 </object>
2717
2718 <object type="action">
2719 <touch key="back" />
2720 <action function="page">main</action>
2721 </object>
2722
2723 <object type="template" name="footer" />
2724 </page>
2725
2726 <page name="partsdcard">
2727 <object type="template" name="header" />
2728
2729 <object type="text" color="%text_color%">
2730 <font resource="font" />
2731 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2732 <text>Partition SD Card</text>
2733 </object>
2734
2735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002736 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002737 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2738 <font resource="font" color="%button_text_color%" />
2739 <text></text>
2740 <image resource="minus_button" />
2741 <action function="addsubtract">tw_sdext_size-128</action>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text></text>
2749 <image resource="plus_button" />
2750 <action function="addsubtract">tw_sdext_size+128</action>
2751 </object>
2752
2753 <object type="text" color="%text_color%">
2754 <font resource="font" />
2755 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2756 <text>EXT Size: %tw_sdext_size%</text>
2757 </object>
2758
2759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2762 <font resource="font" color="%button_text_color%" />
2763 <text></text>
2764 <image resource="minus_button" />
2765 <action function="addsubtract">tw_swap_size-32</action>
2766 </object>
2767
2768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2771 <font resource="font" color="%button_text_color%" />
2772 <text></text>
2773 <image resource="plus_button" />
2774 <action function="addsubtract">tw_swap_size+32</action>
2775 </object>
2776
2777 <object type="text" color="%text_color%">
2778 <font resource="font" />
2779 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2780 <text>Swap Size: %tw_swap_size%</text>
2781 </object>
2782
2783 <object type="text" color="%text_color%">
2784 <font resource="font" />
2785 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2786 <text>File system: %tw_sdpart_file_system%</text>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>EXT3</text>
2794 <image resource="medium_button" />
2795 <action function="set">tw_sdpart_file_system=ext3</action>
2796 </object>
2797
2798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002799 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002800 <condition var1="tw_sdext_disable_ext4" var2="0" />
2801 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>EXT4</text>
2804 <image resource="medium_button" />
2805 <action function="set">tw_sdpart_file_system=ext4</action>
2806 </object>
2807
2808 <object type="text" color="%text_color%">
2809 <font resource="font" />
2810 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2811 <text>You will lose all files on your SD card!</text>
2812 </object>
2813
2814 <object type="text" color="%text_color%">
2815 <font resource="font" />
2816 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2817 <text>This action cannot be undone!</text>
2818 </object>
2819
2820 <object type="slider">
2821 <placement x="%slider_x%" y="%slider_y%" />
2822 <resource base="slider" used="slider-used" touch="slider-touch" />
2823 <actions>
2824 <action function="set">tw_back=partsdcard</action>
2825 <action function="set">tw_action=partitionsd</action>
2826 <action function="set">tw_has_action2=1</action>
2827 <action function="set">tw_action2=set</action>
2828 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2829 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2830 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002831 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <action function="page">action_page</action>
2833 </actions>
2834 </object>
2835
2836 <object type="text" color="%text_color%">
2837 <font resource="font" />
2838 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2839 <text>Swipe to Confirm Partition</text>
2840 </object>
2841
2842 <object type="action">
2843 <touch key="home" />
2844 <action function="page">main</action>
2845 </object>
2846
2847 <object type="action">
2848 <touch key="back" />
2849 <action function="page">advanced</action>
2850 </object>
2851
2852 <object type="template" name="footer" />
2853 </page>
2854
2855
2856 <page name="htcdumlock">
2857 <object type="template" name="header" />
2858
2859 <object type="text" color="%text_color%">
2860 <font resource="font" />
2861 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2862 <text>HTC Dumlock</text>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <condition var1="tw_show_dumlock" var2="1" />
2868 <placement x="%col1_x%" y="%row1_y%" />
2869 <font resource="font" color="%button_text_color%" />
2870 <text>Restore Original Boot</text>
2871 <image resource="main_button" />
2872 <actions>
2873 <action function="set">tw_back=htcdumlock</action>
2874 <action function="set">tw_action=htcdumlockrestoreboot</action>
2875 <action function="set">tw_text1=Restore original boot image?</action>
2876 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2877 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2878 <action function="set">tw_slider_text=Swipe to Confirm</action>
2879 <action function="page">confirm_action</action>
2880 </actions>
2881 </object>
2882
2883 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002884 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002885 <condition var1="tw_show_dumlock" var2="1" />
2886 <placement x="%col2_x%" y="%row1_y%" />
2887 <font resource="font" color="%button_text_color%" />
2888 <text>Reflash Recovery->Boot</text>
2889 <image resource="main_button" />
2890 <actions>
2891 <action function="set">tw_back=htcdumlock</action>
2892 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2893 <action function="set">tw_text1=Reflash recovery to boot?</action>
2894 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2895 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2896 <action function="set">tw_slider_text=Swipe to Confirm</action>
2897 <action function="page">confirm_action</action>
2898 </actions>
2899 </object>
2900
2901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <condition var1="tw_show_dumlock" var2="1" />
2904 <placement x="%col1_x%" y="%row2_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text>Install HTC Dumlock</text>
2907 <image resource="main_button" />
2908 <actions>
2909 <action function="set">tw_back=htcdumlock</action>
2910 <action function="set">tw_action=installhtcdumlock</action>
2911 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2912 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2913 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2914 <action function="set">tw_slider_text=Swipe to Confirm</action>
2915 <action function="page">confirm_action</action>
2916 </actions>
2917 </object>
2918
2919 <object type="action">
2920 <touch key="home" />
2921 <action function="page">main</action>
2922 </object>
2923
2924 <object type="action">
2925 <touch key="back" />
2926 <action function="page">advanced</action>
2927 </object>
2928
2929 <object type="template" name="footer" />
2930 </page>
2931
2932 <page name="lock">
2933 <background color="#000000A0" />
2934
2935 <object type="image">
2936 <image resource="unlock-icon" />
2937 <placement x="%lock_x%" y="%lock_y%" />
2938 </object>
2939
2940 <object type="slider">
2941 <placement x="%slider_x%" y="%slider_y%" />
2942 <resource base="slider" used="slider-used" touch="slider-touch" />
2943 <action function="overlay"></action>
2944 </object>
2945
2946 <object type="text" color="%text_color%">
2947 <font resource="font" />
2948 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2949 <text>Swipe to Unlock</text>
2950 </object>
2951 </page>
2952
2953
2954 <page name="filemanagerlist">
2955 <object type="template" name="header" />
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2960 <text>File Manager: Select a File or Folder</text>
2961 </object>
2962
2963 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002964 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002965 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2966 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2967 <text>Folders:</text>
2968 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2969 <sort name="tw_gui_sort_order" />
2970 <icon folder="folder_icon" file="file_icon" />
2971 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002972 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002973 <filter folders="1" files="0" />
2974 <path name="tw_file_location1" default="/sdcard" />
2975 <data name="select" />
2976 <selection name="tw_selection1" />
2977 </object>
2978
2979 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002980 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002981 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2982 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2983 <text>%tw_file_location1%</text>
2984 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2985 <sort name="tw_gui_sort_order" />
2986 <icon folder="folder_icon" file="file_icon" />
2987 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002988 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <filter folders="0" files="1" />
2990 <path name="tw_file_location1" default="/" />
2991 <data name="tw_filename1" />
2992 <selection name="tw_selection1" />
2993 </object>
2994
2995 <object type="template" name="sort_options" />
2996
2997 <object type="action">
2998 <actions>
2999 <action function="set">tw_fm_type=File</action>
3000 <action function="set">tw_fm_isfolder=0</action>
3001 </actions>
3002 </object>
3003
3004 <object type="action">
3005 <touch key="home" />
3006 <action function="page">main</action>
3007 </object>
3008
3009 <object type="action">
3010 <touch key="back" />
3011 <action function="page">advanced</action>
3012 </object>
3013
3014 <object type="action">
3015 <condition var1="tw_filename1" op="modified" />
3016 <actions>
3017 <action function="page">filemanageroptions</action>
3018 </actions>
3019 </object>
3020
3021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003022 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3024 <font resource="font" color="%button_text_color%" />
3025 <text>Select Folder</text>
3026 <image resource="main_button" />
3027 <actions>
3028 <action function="set">tw_filename1=tw_file_location1</action>
3029 <action function="set">tw_fm_isfolder=1</action>
3030 <action function="set">tw_fm_type=Folder</action>
3031 <action function="page">filemanageroptions</action>
3032 </actions>
3033 </object>
3034
3035 <object type="template" name="footer" />
3036 </page>
3037
3038 <page name="filemanageroptions">
3039 <object type="template" name="header" />
3040
3041 <object type="text" color="%text_color%">
3042 <font resource="font" />
3043 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3044 <text>%tw_fm_type% Selected:</text>
3045 </object>
3046
3047 <object type="text" color="%text_color%">
3048 <font resource="font" />
3049 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3050 <text>%tw_filename1%</text>
3051 </object>
3052
3053 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003054 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003055 <condition var1="tw_fm_isfolder" var2="0" />
3056 <placement x="%col1_x%" y="%row2_y%" />
3057 <font resource="font" color="%button_text_color%" />
3058 <text>Copy File</text>
3059 <image resource="main_button" />
3060 <actions>
3061 <action function="set">tw_filemanager_command=cp</action>
3062 <action function="set">tw_fm_text1=Copying</action>
3063 <action function="page">choosedestinationfolder</action>
3064 </actions>
3065 </object>
3066
3067 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003068 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003069 <condition var1="tw_fm_isfolder" var2="1" />
3070 <placement x="%col1_x%" y="%row2_y%" />
3071 <font resource="font" color="%button_text_color%" />
3072 <text>Copy Folder</text>
3073 <image resource="main_button" />
3074 <actions>
3075 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3076 <action function="set">tw_fm_text1=Copying</action>
3077 <action function="page">choosedestinationfolder</action>
3078 </actions>
3079 </object>
3080
3081 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003082 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003083 <placement x="%col2_x%" y="%row2_y%" />
3084 <font resource="font" color="%button_text_color%" />
3085 <text>Move</text>
3086 <image resource="main_button" />
3087 <actions>
3088 <action function="set">tw_filemanager_command=mv</action>
3089 <action function="set">tw_fm_text1=Moving</action>
3090 <action function="page">choosedestinationfolder</action>
3091 </actions>
3092 </object>
3093
3094 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003095 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <placement x="%col3_x%" y="%row2_y%" />
3097 <font resource="font" color="%button_text_color%" />
3098 <text>chmod 755</text>
3099 <image resource="main_button" />
3100 <actions>
3101 <action function="set">tw_filemanager_command=chmod 755</action>
3102 <action function="set">tw_fm_text1=chmod 755</action>
3103 <action function="set">tw_fm_text2=</action>
3104 <action function="set">tw_fm_text3=</action>
3105 <action function="set">tw_include_text3=0</action>
3106 <action function="set">tw_back=filemanageroptions</action>
3107 <action function="page">filemanagerconfirm</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <placement x="%col4_x%" y="%row2_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>chmod</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_rename=0000</action>
3119 <action function="set">tw_fm_text2=</action>
3120 <action function="set">tw_fm_text3=</action>
3121 <action function="set">tw_include_text3=0</action>
3122 <action function="set">tw_back=filemanageroptions</action>
3123 <action function="page">filemanagerchmod</action>
3124 </actions>
3125 </object>
3126
3127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <placement x="%col1_x%" y="%row1_y%" />
3130 <font resource="font" color="%button_text_color%" />
3131 <text>Delete</text>
3132 <image resource="main_button" />
3133 <actions>
3134 <action function="set">tw_filemanager_command=rm -rf</action>
3135 <action function="set">tw_fm_text1=Deleting</action>
3136 <action function="set">tw_fm_text2=</action>
3137 <action function="set">tw_fm_text3=</action>
3138 <action function="set">tw_include_text3=0</action>
3139 <action function="set">tw_back=filemanageroptions</action>
3140 <action function="page">filemanagerconfirm</action>
3141 </actions>
3142 </object>
3143
3144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003146 <condition var1="tw_fm_isfolder" var2="0" />
3147 <placement x="%col4_x%" y="%row1_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>Rename File</text>
3150 <image resource="main_button" />
3151 <actions>
3152 <action function="set">tw_filemanager_rename=tw_selection1</action>
3153 <action function="set">tw_fm_text1=Renaming</action>
3154 <action function="set">tw_filemanager_command=mv</action>
3155 <action function="page">filemanagerrenamefile</action>
3156 </actions>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <condition var1="tw_fm_isfolder" var2="1" />
3162 <placement x="%col4_x%" y="%row1_y%" />
3163 <font resource="font" color="%button_text_color%" />
3164 <text>Rename Folder</text>
3165 <image resource="main_button" />
3166 <actions>
3167 <action function="set">tw_filemanager_rename=tw_selection1</action>
3168 <action function="set">tw_fm_text1=Renaming</action>
3169 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3170 <action function="page">filemanagerrenamefolder</action>
3171 </actions>
3172 </object>
3173
3174 <object type="action">
3175 <touch key="home" />
3176 <action function="page">main</action>
3177 </object>
3178
3179 <object type="action">
3180 <touch key="back" />
3181 <action function="page">filemanagerlist</action>
3182 </object>
3183
3184 <object type="template" name="footer" />
3185 </page>
3186
3187 <page name="choosedestinationfolder">
3188 <object type="template" name="header" />
3189
3190 <object type="text" color="%text_color%">
3191 <font resource="font" />
3192 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3193 <text>Browse to Destination Folder & Press Select</text>
3194 </object>
3195
3196 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003197 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003198 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3199 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3200 <text>%tw_file_location2%</text>
3201 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3202 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003203 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003204 <icon folder="folder_icon" file="file_icon" />
3205 <background color="%fileselector_background%" />
3206 <filter folders="1" files="0" />
3207 <path name="tw_file_location2" default="/sdcard" />
3208 <data name="tw_filename2" />
3209 </object>
3210
3211 <object type="template" name="sort_options" />
3212
3213 <object type="action">
3214 <touch key="home" />
3215 <action function="page">main</action>
3216 </object>
3217
3218 <object type="action">
3219 <touch key="back" />
3220 <action function="page">filemanageroptions</action>
3221 </object>
3222
3223 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003224 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003225 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3226 <font resource="font" color="%button_text_color%" />
3227 <text>Select Folder</text>
3228 <image resource="main_button" />
3229 <actions>
3230 <action function="set">tw_fm_text2=to</action>
3231 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3232 <action function="set">tw_include_text3=1</action>
3233 <action function="set">tw_back=filemanageroptions</action>
3234 <action function="page">filemanagerconfirm</action>
3235 </actions>
3236 </object>
3237
3238 <object type="template" name="footer" />
3239 </page>
3240
3241 <page name="filemanagerrenamefile">
3242 <object type="template" name="header" />
3243
3244 <object type="text" color="%text_color%">
3245 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3246 <font resource="font" />
3247 <text>Please Enter a New %tw_fm_type% Name</text>
3248 </object>
3249
3250 <object type="input">
3251 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3252 <background color="%input_background_color%" />
3253 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3254 <font resource="font" color="%text_color%" />
3255 <text>%tw_filemanager_rename%</text>
3256 <data name="tw_filemanager_rename" />
3257 <restrict minlen="1" maxlen="128" />
3258 <actions>
3259 <action function="set">tw_fm_text2=to</action>
3260 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3261 <action function="set">tw_include_text3=1</action>
3262 <action function="set">tw_back=filemanageroptions</action>
3263 <action function="page">filemanagerconfirm</action>
3264 </actions>
3265 </object>
3266
3267 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003268 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003269 <placement x="%col_center_x%" y="%cancel_button_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Cancel</text>
3272 <image resource="main_button" />
3273 <action function="page">filemanageroptions</action>
3274 </object>
3275
3276 <object type="template" name="keyboardtemplate" />
3277
3278 <object type="action">
3279 <touch key="home" />
3280 <action function="page">main</action>
3281 </object>
3282
3283 <object type="action">
3284 <touch key="back" />
3285 <action function="page">filemanageroptions</action>
3286 </object>
3287
3288 <object type="template" name="footer" />
3289 </page>
3290
3291 <page name="filemanagerrenamefolder">
3292 <object type="template" name="header" />
3293
3294 <object type="text" color="%text_color%">
3295 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3296 <font resource="font" />
3297 <text>Please Enter a New %tw_fm_type% Name</text>
3298 </object>
3299
3300 <object type="input">
3301 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3302 <background color="%input_background_color%" />
3303 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3304 <font resource="font" color="%text_color%" />
3305 <text>%tw_filemanager_rename%</text>
3306 <data name="tw_filemanager_rename" />
3307 <restrict minlen="1" maxlen="128" />
3308 <actions>
3309 <action function="set">tw_fm_text2=to</action>
3310 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3311 <action function="set">tw_include_text3=1</action>
3312 <action function="set">tw_back=filemanageroptions</action>
3313 <action function="page">filemanagerconfirm</action>
3314 </actions>
3315 </object>
3316
3317 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003318 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003319 <placement x="%col_center_x%" y="%cancel_button_y%" />
3320 <font resource="font" color="%button_text_color%" />
3321 <text>Cancel</text>
3322 <image resource="main_button" />
3323 <action function="page">filemanageroptions</action>
3324 </object>
3325
3326 <object type="template" name="keyboardtemplate" />
3327
3328 <object type="action">
3329 <touch key="home" />
3330 <action function="page">main</action>
3331 </object>
3332
3333 <object type="action">
3334 <touch key="back" />
3335 <action function="page">filemanageroptions</action>
3336 </object>
3337
3338 <object type="template" name="footer" />
3339 </page>
3340
3341 <page name="filemanagerchmod">
3342 <object type="template" name="header" />
3343
3344 <object type="text" color="%text_color%">
3345 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3346 <font resource="font" />
3347 <text>Please Enter New Permissions</text>
3348 </object>
3349
3350 <object type="input">
3351 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3352 <background color="%input_background_color%" />
3353 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3354 <font resource="font" color="%text_color%" />
3355 <text>%tw_filemanager_rename%</text>
3356 <data name="tw_filemanager_rename" />
3357 <restrict minlen="3" maxlen="4" allow="0123456789" />
3358 <actions>
3359 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3360 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3361 <action function="set">tw_back=filemanageroptions</action>
3362 <action function="page">filemanagerconfirm</action>
3363 </actions>
3364 </object>
3365
3366 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003367 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003368 <placement x="%col_center_x%" y="%cancel_button_y%" />
3369 <font resource="font" color="%button_text_color%" />
3370 <text>Cancel</text>
3371 <image resource="main_button" />
3372 <action function="page">filemanageroptions</action>
3373 </object>
3374
3375 <object type="template" name="keyboardtemplate" />
3376
3377 <object type="action">
3378 <touch key="home" />
3379 <action function="page">main</action>
3380 </object>
3381
3382 <object type="action">
3383 <touch key="back" />
3384 <action function="page">filemanageroptions</action>
3385 </object>
3386
3387 <object type="template" name="footer" />
3388 </page>
3389
3390 <page name="filemanagerconfirm">
3391 <object type="template" name="header" />
3392
3393 <object type="text" color="%text_color%">
3394 <font resource="font" />
3395 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3396 <text>%tw_fm_text1%</text>
3397 </object>
3398
3399 <object type="text" color="%text_color%">
3400 <font resource="font" />
3401 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3402 <text>%tw_filename1%</text>
3403 </object>
3404
3405 <object type="text" color="%text_color%">
3406 <font resource="font" />
3407 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3408 <text>%tw_fm_text2%</text>
3409 </object>
3410
3411 <object type="text" color="%text_color%">
3412 <font resource="font" />
3413 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3414 <text>%tw_fm_text3%</text>
3415 </object>
3416
3417 <object type="text" color="%text_color%">
3418 <font resource="font" />
3419 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3420 <text>Press back button to cancel.</text>
3421 </object>
3422
3423 <object type="slider">
3424 <placement x="%slider_x%" y="%slider_y%" />
3425 <resource base="slider" used="slider-used" touch="slider-touch" />
3426 <action function="page">filemanageracction</action>
3427 </object>
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3432 <text>Swipe to Confirm</text>
3433 </object>
3434
3435 <object type="action">
3436 <touch key="back" />
3437 <action function="page">%tw_back%</action>
3438 </object>
3439
3440 <object type="action">
3441 <touch key="home" />
3442 <action function="page">main</action>
3443 </object>
3444
3445 <object type="template" name="footer" />
3446 </page>
3447
3448 <page name="filemanageracction">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3454 <text>%tw_fm_text1%</text>
3455 </object>
3456
3457 <object type="template" name="action_page_console" />
3458
3459 <object type="template" name="progress_bar" />
3460
3461 <object type="action">
3462 <conditions>
3463 <condition var1="tw_operation_state" var2="1" />
3464 <condition var1="tw_operation_status" var2="0" />
3465 </conditions>
3466 <actions>
3467 <action function="set">tw_back=filemanagerlist</action>
3468 <action function="set">tw_complete_text1=File Operation Complete</action>
3469 <action function="page">action_complete</action>
3470 </actions>
3471 </object>
3472
3473 <object type="action">
3474 <conditions>
3475 <condition var1="tw_operation_state" var2="1" />
3476 <condition var1="tw_operation_status" op="!=" var2="0" />
3477 </conditions>
3478 <actions>
3479 <action function="set">tw_complete_text1=File Operation Complete</action>
3480 <action function="page">action_complete</action>
3481 </actions>
3482 </object>
3483
3484 <object type="action">
3485 <condition var1="tw_include_text3" var2="0" />
3486 <actions>
3487 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3488 </actions>
3489 </object>
3490
3491 <object type="action">
3492 <condition var1="tw_include_text3" var2="1" />
3493 <actions>
3494 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3495 </actions>
3496 </object>
3497 </page>
3498
3499 <page name="decrypt">
3500 <object type="template" name="header" />
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3505 <text>Please Enter Your Password</text>
3506 </object>
3507
3508 <object type="input">
3509 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3510 <background color="%input_background_color%" />
3511 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3512 <font resource="font" color="%text_color%" />
3513 <text>%tw_crypto_display%</text>
3514 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3515 <restrict minlen="1" maxlen="254" />
3516 <actions>
3517 <action function="page">trydecrypt</action>
3518 </actions>
3519 </object>
3520
3521 <object type="text" color="%text_fail_color%">
3522 <condition var1="tw_password_fail" var2="1" />
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3525 <text>Password Failed, Please Try Again</text>
3526 </object>
3527
3528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003529 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003530 <placement x="%col_center_x%" y="%cancel_button_y%" />
3531 <font resource="font" color="%button_text_color%" />
3532 <text>Cancel</text>
3533 <image resource="main_button" />
3534 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003535 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003536 <action function="page">main</action>
3537 </actions>
3538 </object>
3539
3540 <object type="template" name="keyboardtemplate" />
3541
Dees_Troy51a0e822012-09-05 15:24:24 -04003542 <object type="template" name="footer" />
3543 </page>
3544
3545 <page name="trydecrypt">
3546 <object type="template" name="header" />
3547
3548 <object type="text" color="%text_color%">
3549 <font resource="font" />
3550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3551 <text>Trying Decryption with Your Password</text>
3552 </object>
3553
3554 <object type="template" name="action_page_console" />
3555
3556 <object type="template" name="progress_bar" />
3557
3558 <object type="action">
3559 <action function="decrypt"></action>
3560 </object>
3561
3562 <object type="action">
3563 <conditions>
3564 <condition var1="tw_operation_state" var2="1" />
3565 <condition var1="tw_operation_status" op="!=" var2="0" />
3566 </conditions>
3567 <actions>
3568 <action function="set">tw_password_fail=1</action>
3569 <action function="page">decrypt</action>
3570 </actions>
3571 </object>
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" op="=" var2="0" />
3577 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003578 <actions>
3579 <action function="set">tw_page_done=1</action>
3580 <action function="page">main</action>
3581 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003582 </object>
3583 </page>
3584
3585 <page name="terminalfolder">
3586 <object type="template" name="header" />
3587
3588 <object type="text" color="%text_color%">
3589 <font resource="font" />
3590 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3591 <text>Browse to Starting Folder</text>
3592 </object>
3593
3594 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003595 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003596 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3597 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3598 <text>%tw_terminal_location%</text>
3599 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3600 <sort name="tw_gui_sort_order" />
3601 <icon folder="folder_icon" file="file_icon" />
3602 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003603 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003604 <filter folders="1" files="0" />
3605 <path name="tw_terminal_location" default="/" />
3606 <data name="tw_terminal" />
3607 <selection name="tw_terminal_selection" />
3608 </object>
3609
3610 <object type="template" name="sort_options" />
3611
3612 <object type="action">
3613 <touch key="home" />
3614 <action function="page">main</action>
3615 </object>
3616
3617 <object type="action">
3618 <touch key="back" />
3619 <action function="page">advanced</action>
3620 </object>
3621
3622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003624 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3625 <font resource="font" color="%button_text_color%" />
3626 <text>Select Folder</text>
3627 <image resource="main_button" />
3628 <actions>
3629 <action function="page">terminalcommand</action>
3630 </actions>
3631 </object>
3632
3633 <object type="template" name="footer" />
3634 </page>
3635
3636 <page name="terminalcommand">
3637 <background color="#000000FF" />
3638
3639 <object type="console">
3640 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3641 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3642 <font resource="fixed" />
3643 </object>
3644
3645 <object type="text" color="%text_color%">
3646 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3647 <font resource="font" />
3648 <text>Starting Path: %tw_terminal_location%</text>
3649 </object>
3650
3651 <object type="input">
3652 <condition var1="tw_terminal_state" var2="0" />
3653 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3654 <background color="%input_background_color%" />
3655 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3656 <font resource="font" color="%text_color%" />
3657 <text>%tw_terminal_command%</text>
3658 <data name="tw_terminal_command" />
3659 <restrict minlen="1" />
3660 <action function="terminalcommand">%tw_terminal_command%</action>
3661 </object>
3662
3663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003664 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003665 <condition var1="tw_terminal_state" var2="1" />
3666 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3667 <font resource="font" color="%button_text_color%" />
3668 <text>KILL</text>
3669 <image resource="medium_button" />
3670 <action function="killterminal"></action>
3671 </object>
3672
3673 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003674 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003675 <placement x="%home_button_x%" y="%terminal_button_y%" />
3676 <font resource="font" color="%button_text_color%" />
3677 <text></text>
3678 <image resource="home_icon" />
3679 <condition var1="tw_busy" var2="0" />
3680 <action function="key">home</action>
3681 </object>
3682
3683 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003684 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003685 <placement x="%back_button_x%" y="%terminal_button_y%" />
3686 <font resource="font" color="%button_text_color%" />
3687 <text></text>
3688 <image resource="back_icon" />
3689 <condition var1="tw_busy" var2="0" />
3690 <action function="key">back</action>
3691 </object>
3692
3693 <object type="action">
3694 <touch key="power" />
3695 <action function="overlay">lock</action>
3696 </object>
3697
3698 <object type="template" name="keyboardtemplate" />
3699
3700 <object type="action">
3701 <touch key="home" />
3702 <action function="page">main</action>
3703 </object>
3704
3705 <object type="action">
3706 <touch key="back" />
3707 <action function="page">terminalfolder</action>
3708 </object>
3709 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003710
3711 <page name="sideload">
3712 <object type="template" name="header" />
3713
3714 <object type="text" color="%text_color%">
3715 <font resource="font" />
3716 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3717 <text>ADB Sideload</text>
3718 </object>
3719
3720 <object type="checkbox">
3721 <placement x="%col1_x%" y="%row3_text_y%" />
3722 <font resource="font" color="%text_color%" />
3723 <text>Wipe Dalvik Cache.</text>
3724 <data variable="tw_wipe_dalvik" />
3725 <image checked="checkbox_true" unchecked="checkbox_false" />
3726 </object>
3727
3728 <object type="checkbox">
3729 <placement x="%col1_x%" y="%row4_text_y%" />
3730 <font resource="font" color="%text_color%" />
3731 <text>Wipe Cache.</text>
3732 <data variable="tw_wipe_cache" />
3733 <image checked="checkbox_true" unchecked="checkbox_false" />
3734 </object>
3735
3736 <object type="slider">
3737 <placement x="%slider_x%" y="%slider_y%" />
3738 <resource base="slider" used="slider-used" touch="slider-touch" />
3739 <actions>
3740 <action function="set">tw_back=advanced</action>
3741 <action function="set">tw_action=adbsideload</action>
3742 <action function="set">tw_action_text1=ADB Sideload</action>
3743 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3744 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3745 <action function="set">tw_has_cancel=1</action>
3746 <action function="set">tw_show_reboot=1</action>
3747 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3748 <action function="page">action_page</action>
3749 </actions>
3750 </object>
3751
3752 <object type="text" color="%text_color%">
3753 <font resource="font" />
3754 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3755 <text>Swipe to Start Sideload</text>
3756 </object>
3757
3758 <object type="action">
3759 <touch key="home" />
3760 <action function="page">main</action>
3761 </object>
3762
3763 <object type="action">
3764 <touch key="back" />
3765 <action function="page">advanced</action>
3766 </object>
3767
3768 <object type="template" name="footer" />
3769 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003770 </pages>
3771</recovery>