blob: 95237faec209e1a3f613c06fcc243a34a34ea2ad [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1920" height="1200" />
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-30" />
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="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040045 </resources>
46
47 <variables>
48 <variable name="col1_x" value="210" />
49 <variable name="col2_x" value="590" />
50 <variable name="col3_x" value="970" />
51 <variable name="col4_x" value="1350" />
52 <variable name="row1_y" value="220" />
53 <variable name="row2_y" value="600" />
54 <variable name="col_center_x" value="780" />
55 <variable name="center_x" value="960" />
56 <variable name="screen_width" value="1920" />
57 <variable name="screen_height" value="1200" />
58 <variable name="col_progressbar_x" value="771" />
59 <variable name="row_progressbar_y" value="1100" />
60 <variable name="col1_medium_x" value="570" />
61 <variable name="col2_medium_x" value="770" />
62 <variable name="col3_medium_x" value="970" />
63 <variable name="col4_medium_x" value="1170" />
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="515" />
68 <variable name="row5_medium_y" value="700" />
69 <variable name="row1_text_y" value="90" />
70 <variable name="row2_text_y" value="140" />
71 <variable name="row3_text_y" value="190" />
72 <variable name="row4_text_y" value="240" />
73 <variable name="row5_text_y" value="290" />
74 <variable name="row6_text_y" value="340" />
75 <variable name="row7_text_y" value="390" />
76 <variable name="row8_text_y" value="440" />
77 <variable name="row9_text_y" value="490" />
78 <variable name="row10_text_y" value="540" />
79 <variable name="row11_text_y" value="590" />
80 <variable name="row12_text_y" value="640" />
81 <variable name="row13_text_y" value="690" />
82 <variable name="row14_text_y" value="740" />
83 <variable name="row15_text_y" value="790" />
84 <variable name="row16_text_y" value="840" />
85 <variable name="row17_text_y" value="890" />
86 <variable name="row18_text_y" value="940" />
87 <variable name="row_offsetmedium_y" value="775" />
88 <variable name="home_button_x" value="1620" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="1720" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="1820" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="328" />
95 <variable name="nandcheck_col2" value="800" />
96 <variable name="nandcheck_row1" value="200" />
97 <variable name="nandcheck_row2" value="275" />
98 <variable name="nandcheck_row3" value="350" />
99 <variable name="nandcheck_row4" value="425" />
100 <variable name="nandcheck_row5" value="500" />
101 <variable name="nandcheck_row6" value="575" />
102 <variable name="nandcheck_row7" value="650" />
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="630" />
109 <variable name="slider_y" value="1000" />
110 <variable name="slider_text_y" value="1075" />
111 <variable name="sort_text_x" value="400" />
112 <variable name="sort_asc_text_y" value="1045" />
113 <variable name="sort_asc_button_y" value="1040" />
114 <variable name="sort_desc_text_y" value="1105" />
115 <variable name="sort_desc_button_y" value="1100" />
116 <variable name="sort_col1_button_x" value="670" />
117 <variable name="sort_col2_button_x" value="770" />
118 <variable name="sort_col3_button_x" value="870" />
119 <variable name="col1_sdext_x" value="720" />
120 <variable name="col2_sdext_x" value="1100" />
121 <variable name="row1_sdext_y" value="180" />
122 <variable name="row2_sdext_y" value="265" />
123 <variable name="row_extsize_y" value="175" />
124 <variable name="row_swapsize_y" value="260" />
125 <variable name="input_x" value="50" />
126 <variable name="input_width" value="1820" />
127 <variable name="input_height" value="50" />
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="50" />
132 <variable name="console_width" value="1820" />
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="50" />
140 <variable name="fileselector_folder_width" value="610" />
141 <variable name="fileselector_folderonly_width" value="800" />
142 <variable name="fileselector_file_x" value="700" />
143 <variable name="fileselector_file_width" value="1170" />
144 <variable name="fileselector_install_y" value="190" />
145 <variable name="fileselector_install_height" value="800" />
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="130" />
157 <variable name="listbox_x" value="560" />
158 <variable name="listbox_y" value="150" />
159 <variable name="listbox_width" value="800" />
160 <variable name="listbox_tz_height" value="400" />
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="660" />
165 <variable name="lock_y" value="300" />
166 <variable name="filemanager_select_x" value="1500" />
167 <variable name="filemanager_select_y" value="980" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="390" />
170 <variable name="col_right_x" value="1870" />
171 <variable name="cancel_button_y" value="240" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="610" />
174 <variable name="terminal_text_y" value="624" />
175 <variable name="terminal_button_y" value="615" />
176 <variable name="terminal_input_width" value="1550" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="760" />
178 <variable name="exclamation_y" value="260" />
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="1875" 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="1155" />
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="40" />
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="600" y="40" />
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="850" y="40" />
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="6" />
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="140" w="%console_width%" h="700" />
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="400" w="%console_width%" h="600" />
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="150" w="%console_width%" h="1000" />
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="684" />
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="129" width="159" />
373 <row1 key01="153:" 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="177:c:8" />
374 <row2 key01="213:layout3" key02="156:a" key03="156:s" key04="156:d" key05="156:f" key06="156:g" key07="156:h" key08="156:j" key09="k" key10="156:l" key11="303:action" />
375 <row3 key01="269:layout2" key02="154:z" key03="154:x" key04="154:c" key05="154:v" key06="154:b" key07="154:n" key08="154:m" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout2" />
376 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
377 </layout1>
378 <layout2>
379 <keysize height="129" width="159" />
380 <row1 key01="153:" 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="177:c:8" />
381 <row2 key01="213:layout3" key02="156:A" key03="156:S" key04="156:D" key05="156:F" key06="156:G" key07="156:H" key08="156:J" key09="156:K" key10="156:L" key11="303:action" />
382 <row3 key01="269:layout1" key02="154:Z" key03="154:X" key04="154:C" key05="154:V" key06="154:B" key07="154:N" key08="154:M" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout1" />
383 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
384 </layout2>
385 <layout3>
386 <keysize height="129" width="159" />
387 <row1 key01="153:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="177:c:8" />
388 <row2 key01="213:layout1" key02="156:#" key03="156:$" key04="156:%" key05="156:&" key06="156:*" key07="156:-" key08="156:+" key09="156:(" key10="156:)" key11="303:action" />
389 <row3 key01="269:layout4" key02="154:<" key03="154:>" key04="154:=" key05="154:'" key06="154:;" key07="154:," key08="154:." key09="154:!" key10="154:?" key11="265:layout4" />
390 <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" />
391 </layout3>
392 <layout4>
393 <keysize height="129" width="159" />
394 <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" />
395 <row2 key01="213:layout1" key02="156:" key03="156:" key04="156:" key05="156:" key06="156:^" key07="156:" key08="156:" key09="156:{" key10="156:}" key11="303:action" />
396 <row3 key01="269:layout3" key02="154:\" key03="154:" key04="154:" key05="154:" key06="154:" key07="154:[" key08="154:]" key09="154:!" key10="154:?" key11="265:layout3" />
397 <row4 key01="600:" key02="720: " />
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">
2500 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2501 <icon selected="radio_true" unselected="radio_false" />
2502 <background color="%listbox_background%" />
2503 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2504 <data name="tw_time_zone_guisel" />
2505 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2506 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2507 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2508 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2509 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2510 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2511 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2512 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2513 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2514 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2515 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2516 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2517 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2518 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2519 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2520 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2521 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2522 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2523 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2524 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2525 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2526 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2527 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2528 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2529 </object>
2530
2531 <object type="checkbox">
2532 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2533 <font resource="font" color="%text_color%" />
2534 <text>Do you use daylight savings time (DST)?</text>
2535 <data variable="tw_time_zone_guidst" />
2536 <image checked="checkbox_true" unchecked="checkbox_false" />
2537 </object>
2538
2539 <object type="text" color="%text_color%">
2540 <font resource="font" />
2541 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2542 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2543 </object>
2544
2545 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002546 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002547 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2548 <font resource="font" color="%button_text_color%" />
2549 <text>0</text>
2550 <image resource="medium_button" />
2551 <action function="set">tw_time_zone_guioffset=0</action>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002556 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2557 <font resource="font" color="%button_text_color%" />
2558 <text>15</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=15</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2566 <font resource="font" color="%button_text_color%" />
2567 <text>30</text>
2568 <image resource="medium_button" />
2569 <action function="set">tw_time_zone_guioffset=30</action>
2570 </object>
2571
2572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002573 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002574 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2575 <font resource="font" color="%button_text_color%" />
2576 <text>45</text>
2577 <image resource="medium_button" />
2578 <action function="set">tw_time_zone_guioffset=45</action>
2579 </object>
2580
2581 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002582 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002583 <placement x="%col4_x%" y="%row2_y%" />
2584 <font resource="font" color="%button_text_color%" />
2585 <text>Set Time Zone</text>
2586 <image resource="main_button" />
2587 <action function="setguitimezone"></action>
2588 </object>
2589
2590 <object type="text" color="%text_color%">
2591 <font resource="font" />
2592 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2593 <text>Current Time Zone: %tw_time_zone%</text>
2594 </object>
2595
2596 <object type="action">
2597 <touch key="home" />
2598 <action function="page">main</action>
2599 </object>
2600
2601 <object type="action">
2602 <touch key="back" />
2603 <action function="page">settings</action>
2604 </object>
2605
2606 <object type="template" name="footer" />
2607 </page>
2608
2609 <page name="advanced">
2610 <object type="template" name="header" />
2611
2612 <object type="text" color="%text_color%">
2613 <font resource="font" />
2614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2615 <text>Advanced</text>
2616 </object>
2617
2618 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002619 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002620 <placement x="%col1_x%" y="%row1_y%" />
2621 <font resource="font" color="%button_text_color%" />
2622 <text>Copy Log to SD</text>
2623 <image resource="main_button" />
2624 <actions>
2625 <action function="set">tw_back=advanced</action>
2626 <action function="set">tw_action=copylog</action>
2627 <action function="set">tw_text1=Copy Log to SD Card?</action>
2628 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2629 <action function="set">tw_complete_text1=Log Copy Complete</action>
2630 <action function="set">tw_slider_text=Swipe to Confirm</action>
2631 <action function="page">confirm_action</action>
2632 </actions>
2633 </object>
2634
2635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <placement x="%col2_x%" y="%row1_y%" />
2638 <font resource="font" color="%button_text_color%" />
2639 <text>Fix Permissions</text>
2640 <image resource="main_button" />
2641 <actions>
2642 <action function="set">tw_back=advanced</action>
2643 <action function="set">tw_action=fixpermissions</action>
2644 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002646 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2647 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002648 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002649 <action function="page">confirm_action</action>
2650 </actions>
2651 </object>
2652
2653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002654 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002655 <placement x="%col3_x%" y="%row1_y%" />
2656 <font resource="font" color="%button_text_color%" />
2657 <text>Terminal Command</text>
2658 <image resource="main_button" />
2659 <action function="page">terminalfolder</action>
2660 </object>
2661
2662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002663 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002664 <placement x="%col4_x%" y="%row1_y%" />
2665 <font resource="font" color="%button_text_color%" />
2666 <text>ADB Sideload</text>
2667 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002668 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002669 </object>
2670
2671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002673 <condition var1="tw_allow_partition_sdcard" var2="1" />
2674 <placement x="%col1_x%" y="%row2_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>Partition SD Card</text>
2677 <image resource="main_button" />
2678 <action function="page">partsdcard</action>
2679 </object>
2680
2681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <placement x="%col2_x%" y="%row2_y%" />
2684 <font resource="font" color="%button_text_color%" />
2685 <text>File Manager</text>
2686 <image resource="main_button" />
2687 <action function="page">filemanagerlist</action>
2688 </object>
2689
2690 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002691 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002692 <placement x="%col3_x%" y="%row2_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>Reload Theme</text>
2695 <image resource="main_button" />
2696 <action function="reload"></action>
2697 </object>
2698
2699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002701 <condition var1="tw_show_dumlock" var2="1" />
2702 <placement x="%col4_x%" y="%row2_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>HTC Dumlock</text>
2705 <image resource="main_button" />
2706 <action function="page">htcdumlock</action>
2707 </object>
2708
2709 <object type="action">
2710 <touch key="home" />
2711 <action function="page">main</action>
2712 </object>
2713
2714 <object type="action">
2715 <touch key="back" />
2716 <action function="page">main</action>
2717 </object>
2718
2719 <object type="template" name="footer" />
2720 </page>
2721
2722 <page name="partsdcard">
2723 <object type="template" name="header" />
2724
2725 <object type="text" color="%text_color%">
2726 <font resource="font" />
2727 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2728 <text>Partition SD Card</text>
2729 </object>
2730
2731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002733 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text></text>
2736 <image resource="minus_button" />
2737 <action function="addsubtract">tw_sdext_size-128</action>
2738 </object>
2739
2740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2743 <font resource="font" color="%button_text_color%" />
2744 <text></text>
2745 <image resource="plus_button" />
2746 <action function="addsubtract">tw_sdext_size+128</action>
2747 </object>
2748
2749 <object type="text" color="%text_color%">
2750 <font resource="font" />
2751 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2752 <text>EXT Size: %tw_sdext_size%</text>
2753 </object>
2754
2755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2758 <font resource="font" color="%button_text_color%" />
2759 <text></text>
2760 <image resource="minus_button" />
2761 <action function="addsubtract">tw_swap_size-32</action>
2762 </object>
2763
2764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text></text>
2769 <image resource="plus_button" />
2770 <action function="addsubtract">tw_swap_size+32</action>
2771 </object>
2772
2773 <object type="text" color="%text_color%">
2774 <font resource="font" />
2775 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2776 <text>Swap Size: %tw_swap_size%</text>
2777 </object>
2778
2779 <object type="text" color="%text_color%">
2780 <font resource="font" />
2781 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2782 <text>File system: %tw_sdpart_file_system%</text>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>EXT3</text>
2790 <image resource="medium_button" />
2791 <action function="set">tw_sdpart_file_system=ext3</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <condition var1="tw_sdext_disable_ext4" var2="0" />
2797 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>EXT4</text>
2800 <image resource="medium_button" />
2801 <action function="set">tw_sdpart_file_system=ext4</action>
2802 </object>
2803
2804 <object type="text" color="%text_color%">
2805 <font resource="font" />
2806 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2807 <text>You will lose all files on your SD card!</text>
2808 </object>
2809
2810 <object type="text" color="%text_color%">
2811 <font resource="font" />
2812 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2813 <text>This action cannot be undone!</text>
2814 </object>
2815
2816 <object type="slider">
2817 <placement x="%slider_x%" y="%slider_y%" />
2818 <resource base="slider" used="slider-used" touch="slider-touch" />
2819 <actions>
2820 <action function="set">tw_back=partsdcard</action>
2821 <action function="set">tw_action=partitionsd</action>
2822 <action function="set">tw_has_action2=1</action>
2823 <action function="set">tw_action2=set</action>
2824 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2825 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2826 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002827 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002828 <action function="page">action_page</action>
2829 </actions>
2830 </object>
2831
2832 <object type="text" color="%text_color%">
2833 <font resource="font" />
2834 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2835 <text>Swipe to Confirm Partition</text>
2836 </object>
2837
2838 <object type="action">
2839 <touch key="home" />
2840 <action function="page">main</action>
2841 </object>
2842
2843 <object type="action">
2844 <touch key="back" />
2845 <action function="page">advanced</action>
2846 </object>
2847
2848 <object type="template" name="footer" />
2849 </page>
2850
2851
2852 <page name="htcdumlock">
2853 <object type="template" name="header" />
2854
2855 <object type="text" color="%text_color%">
2856 <font resource="font" />
2857 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2858 <text>HTC Dumlock</text>
2859 </object>
2860
2861 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002862 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002863 <condition var1="tw_show_dumlock" var2="1" />
2864 <placement x="%col1_x%" y="%row1_y%" />
2865 <font resource="font" color="%button_text_color%" />
2866 <text>Restore Original Boot</text>
2867 <image resource="main_button" />
2868 <actions>
2869 <action function="set">tw_back=htcdumlock</action>
2870 <action function="set">tw_action=htcdumlockrestoreboot</action>
2871 <action function="set">tw_text1=Restore original boot image?</action>
2872 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2873 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2874 <action function="set">tw_slider_text=Swipe to Confirm</action>
2875 <action function="page">confirm_action</action>
2876 </actions>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <condition var1="tw_show_dumlock" var2="1" />
2882 <placement x="%col2_x%" y="%row1_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text>Reflash Recovery->Boot</text>
2885 <image resource="main_button" />
2886 <actions>
2887 <action function="set">tw_back=htcdumlock</action>
2888 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2889 <action function="set">tw_text1=Reflash recovery to boot?</action>
2890 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2891 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2892 <action function="set">tw_slider_text=Swipe to Confirm</action>
2893 <action function="page">confirm_action</action>
2894 </actions>
2895 </object>
2896
2897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <condition var1="tw_show_dumlock" var2="1" />
2900 <placement x="%col1_x%" y="%row2_y%" />
2901 <font resource="font" color="%button_text_color%" />
2902 <text>Install HTC Dumlock</text>
2903 <image resource="main_button" />
2904 <actions>
2905 <action function="set">tw_back=htcdumlock</action>
2906 <action function="set">tw_action=installhtcdumlock</action>
2907 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2908 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2909 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2910 <action function="set">tw_slider_text=Swipe to Confirm</action>
2911 <action function="page">confirm_action</action>
2912 </actions>
2913 </object>
2914
2915 <object type="action">
2916 <touch key="home" />
2917 <action function="page">main</action>
2918 </object>
2919
2920 <object type="action">
2921 <touch key="back" />
2922 <action function="page">advanced</action>
2923 </object>
2924
2925 <object type="template" name="footer" />
2926 </page>
2927
2928 <page name="lock">
2929 <background color="#000000A0" />
2930
2931 <object type="image">
2932 <image resource="unlock-icon" />
2933 <placement x="%lock_x%" y="%lock_y%" />
2934 </object>
2935
2936 <object type="slider">
2937 <placement x="%slider_x%" y="%slider_y%" />
2938 <resource base="slider" used="slider-used" touch="slider-touch" />
2939 <action function="overlay"></action>
2940 </object>
2941
2942 <object type="text" color="%text_color%">
2943 <font resource="font" />
2944 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2945 <text>Swipe to Unlock</text>
2946 </object>
2947 </page>
2948
2949
2950 <page name="filemanagerlist">
2951 <object type="template" name="header" />
2952
2953 <object type="text" color="%text_color%">
2954 <font resource="font" />
2955 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2956 <text>File Manager: Select a File or Folder</text>
2957 </object>
2958
2959 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002960 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002961 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2962 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2963 <text>Folders:</text>
2964 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2965 <sort name="tw_gui_sort_order" />
2966 <icon folder="folder_icon" file="file_icon" />
2967 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002968 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002969 <filter folders="1" files="0" />
2970 <path name="tw_file_location1" default="/sdcard" />
2971 <data name="select" />
2972 <selection name="tw_selection1" />
2973 </object>
2974
2975 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002976 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002977 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2978 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2979 <text>%tw_file_location1%</text>
2980 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2981 <sort name="tw_gui_sort_order" />
2982 <icon folder="folder_icon" file="file_icon" />
2983 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002984 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002985 <filter folders="0" files="1" />
2986 <path name="tw_file_location1" default="/" />
2987 <data name="tw_filename1" />
2988 <selection name="tw_selection1" />
2989 </object>
2990
2991 <object type="template" name="sort_options" />
2992
2993 <object type="action">
2994 <actions>
2995 <action function="set">tw_fm_type=File</action>
2996 <action function="set">tw_fm_isfolder=0</action>
2997 </actions>
2998 </object>
2999
3000 <object type="action">
3001 <touch key="home" />
3002 <action function="page">main</action>
3003 </object>
3004
3005 <object type="action">
3006 <touch key="back" />
3007 <action function="page">advanced</action>
3008 </object>
3009
3010 <object type="action">
3011 <condition var1="tw_filename1" op="modified" />
3012 <actions>
3013 <action function="page">filemanageroptions</action>
3014 </actions>
3015 </object>
3016
3017 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003018 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003019 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3020 <font resource="font" color="%button_text_color%" />
3021 <text>Select Folder</text>
3022 <image resource="main_button" />
3023 <actions>
3024 <action function="set">tw_filename1=tw_file_location1</action>
3025 <action function="set">tw_fm_isfolder=1</action>
3026 <action function="set">tw_fm_type=Folder</action>
3027 <action function="page">filemanageroptions</action>
3028 </actions>
3029 </object>
3030
3031 <object type="template" name="footer" />
3032 </page>
3033
3034 <page name="filemanageroptions">
3035 <object type="template" name="header" />
3036
3037 <object type="text" color="%text_color%">
3038 <font resource="font" />
3039 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3040 <text>%tw_fm_type% Selected:</text>
3041 </object>
3042
3043 <object type="text" color="%text_color%">
3044 <font resource="font" />
3045 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3046 <text>%tw_filename1%</text>
3047 </object>
3048
3049 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003050 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003051 <condition var1="tw_fm_isfolder" var2="0" />
3052 <placement x="%col1_x%" y="%row2_y%" />
3053 <font resource="font" color="%button_text_color%" />
3054 <text>Copy File</text>
3055 <image resource="main_button" />
3056 <actions>
3057 <action function="set">tw_filemanager_command=cp</action>
3058 <action function="set">tw_fm_text1=Copying</action>
3059 <action function="page">choosedestinationfolder</action>
3060 </actions>
3061 </object>
3062
3063 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003064 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003065 <condition var1="tw_fm_isfolder" var2="1" />
3066 <placement x="%col1_x%" y="%row2_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Copy Folder</text>
3069 <image resource="main_button" />
3070 <actions>
3071 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3072 <action function="set">tw_fm_text1=Copying</action>
3073 <action function="page">choosedestinationfolder</action>
3074 </actions>
3075 </object>
3076
3077 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003078 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%col2_x%" y="%row2_y%" />
3080 <font resource="font" color="%button_text_color%" />
3081 <text>Move</text>
3082 <image resource="main_button" />
3083 <actions>
3084 <action function="set">tw_filemanager_command=mv</action>
3085 <action function="set">tw_fm_text1=Moving</action>
3086 <action function="page">choosedestinationfolder</action>
3087 </actions>
3088 </object>
3089
3090 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003091 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <placement x="%col3_x%" y="%row2_y%" />
3093 <font resource="font" color="%button_text_color%" />
3094 <text>chmod 755</text>
3095 <image resource="main_button" />
3096 <actions>
3097 <action function="set">tw_filemanager_command=chmod 755</action>
3098 <action function="set">tw_fm_text1=chmod 755</action>
3099 <action function="set">tw_fm_text2=</action>
3100 <action function="set">tw_fm_text3=</action>
3101 <action function="set">tw_include_text3=0</action>
3102 <action function="set">tw_back=filemanageroptions</action>
3103 <action function="page">filemanagerconfirm</action>
3104 </actions>
3105 </object>
3106
3107 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003108 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003109 <placement x="%col4_x%" y="%row2_y%" />
3110 <font resource="font" color="%button_text_color%" />
3111 <text>chmod</text>
3112 <image resource="main_button" />
3113 <actions>
3114 <action function="set">tw_filemanager_rename=0000</action>
3115 <action function="set">tw_fm_text2=</action>
3116 <action function="set">tw_fm_text3=</action>
3117 <action function="set">tw_include_text3=0</action>
3118 <action function="set">tw_back=filemanageroptions</action>
3119 <action function="page">filemanagerchmod</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <placement x="%col1_x%" y="%row1_y%" />
3126 <font resource="font" color="%button_text_color%" />
3127 <text>Delete</text>
3128 <image resource="main_button" />
3129 <actions>
3130 <action function="set">tw_filemanager_command=rm -rf</action>
3131 <action function="set">tw_fm_text1=Deleting</action>
3132 <action function="set">tw_fm_text2=</action>
3133 <action function="set">tw_fm_text3=</action>
3134 <action function="set">tw_include_text3=0</action>
3135 <action function="set">tw_back=filemanageroptions</action>
3136 <action function="page">filemanagerconfirm</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <condition var1="tw_fm_isfolder" var2="0" />
3143 <placement x="%col4_x%" y="%row1_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>Rename File</text>
3146 <image resource="main_button" />
3147 <actions>
3148 <action function="set">tw_filemanager_rename=tw_selection1</action>
3149 <action function="set">tw_fm_text1=Renaming</action>
3150 <action function="set">tw_filemanager_command=mv</action>
3151 <action function="page">filemanagerrenamefile</action>
3152 </actions>
3153 </object>
3154
3155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003157 <condition var1="tw_fm_isfolder" var2="1" />
3158 <placement x="%col4_x%" y="%row1_y%" />
3159 <font resource="font" color="%button_text_color%" />
3160 <text>Rename Folder</text>
3161 <image resource="main_button" />
3162 <actions>
3163 <action function="set">tw_filemanager_rename=tw_selection1</action>
3164 <action function="set">tw_fm_text1=Renaming</action>
3165 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3166 <action function="page">filemanagerrenamefolder</action>
3167 </actions>
3168 </object>
3169
3170 <object type="action">
3171 <touch key="home" />
3172 <action function="page">main</action>
3173 </object>
3174
3175 <object type="action">
3176 <touch key="back" />
3177 <action function="page">filemanagerlist</action>
3178 </object>
3179
3180 <object type="template" name="footer" />
3181 </page>
3182
3183 <page name="choosedestinationfolder">
3184 <object type="template" name="header" />
3185
3186 <object type="text" color="%text_color%">
3187 <font resource="font" />
3188 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3189 <text>Browse to Destination Folder & Press Select</text>
3190 </object>
3191
3192 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003193 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003194 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3195 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3196 <text>%tw_file_location2%</text>
3197 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3198 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003199 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003200 <icon folder="folder_icon" file="file_icon" />
3201 <background color="%fileselector_background%" />
3202 <filter folders="1" files="0" />
3203 <path name="tw_file_location2" default="/sdcard" />
3204 <data name="tw_filename2" />
3205 </object>
3206
3207 <object type="template" name="sort_options" />
3208
3209 <object type="action">
3210 <touch key="home" />
3211 <action function="page">main</action>
3212 </object>
3213
3214 <object type="action">
3215 <touch key="back" />
3216 <action function="page">filemanageroptions</action>
3217 </object>
3218
3219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003221 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3222 <font resource="font" color="%button_text_color%" />
3223 <text>Select Folder</text>
3224 <image resource="main_button" />
3225 <actions>
3226 <action function="set">tw_fm_text2=to</action>
3227 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3228 <action function="set">tw_include_text3=1</action>
3229 <action function="set">tw_back=filemanageroptions</action>
3230 <action function="page">filemanagerconfirm</action>
3231 </actions>
3232 </object>
3233
3234 <object type="template" name="footer" />
3235 </page>
3236
3237 <page name="filemanagerrenamefile">
3238 <object type="template" name="header" />
3239
3240 <object type="text" color="%text_color%">
3241 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3242 <font resource="font" />
3243 <text>Please Enter a New %tw_fm_type% Name</text>
3244 </object>
3245
3246 <object type="input">
3247 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3248 <background color="%input_background_color%" />
3249 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3250 <font resource="font" color="%text_color%" />
3251 <text>%tw_filemanager_rename%</text>
3252 <data name="tw_filemanager_rename" />
3253 <restrict minlen="1" maxlen="128" />
3254 <actions>
3255 <action function="set">tw_fm_text2=to</action>
3256 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3257 <action function="set">tw_include_text3=1</action>
3258 <action function="set">tw_back=filemanageroptions</action>
3259 <action function="page">filemanagerconfirm</action>
3260 </actions>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <placement x="%col_center_x%" y="%cancel_button_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text>Cancel</text>
3268 <image resource="main_button" />
3269 <action function="page">filemanageroptions</action>
3270 </object>
3271
3272 <object type="template" name="keyboardtemplate" />
3273
3274 <object type="action">
3275 <touch key="home" />
3276 <action function="page">main</action>
3277 </object>
3278
3279 <object type="action">
3280 <touch key="back" />
3281 <action function="page">filemanageroptions</action>
3282 </object>
3283
3284 <object type="template" name="footer" />
3285 </page>
3286
3287 <page name="filemanagerrenamefolder">
3288 <object type="template" name="header" />
3289
3290 <object type="text" color="%text_color%">
3291 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3292 <font resource="font" />
3293 <text>Please Enter a New %tw_fm_type% Name</text>
3294 </object>
3295
3296 <object type="input">
3297 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3298 <background color="%input_background_color%" />
3299 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3300 <font resource="font" color="%text_color%" />
3301 <text>%tw_filemanager_rename%</text>
3302 <data name="tw_filemanager_rename" />
3303 <restrict minlen="1" maxlen="128" />
3304 <actions>
3305 <action function="set">tw_fm_text2=to</action>
3306 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3307 <action function="set">tw_include_text3=1</action>
3308 <action function="set">tw_back=filemanageroptions</action>
3309 <action function="page">filemanagerconfirm</action>
3310 </actions>
3311 </object>
3312
3313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003315 <placement x="%col_center_x%" y="%cancel_button_y%" />
3316 <font resource="font" color="%button_text_color%" />
3317 <text>Cancel</text>
3318 <image resource="main_button" />
3319 <action function="page">filemanageroptions</action>
3320 </object>
3321
3322 <object type="template" name="keyboardtemplate" />
3323
3324 <object type="action">
3325 <touch key="home" />
3326 <action function="page">main</action>
3327 </object>
3328
3329 <object type="action">
3330 <touch key="back" />
3331 <action function="page">filemanageroptions</action>
3332 </object>
3333
3334 <object type="template" name="footer" />
3335 </page>
3336
3337 <page name="filemanagerchmod">
3338 <object type="template" name="header" />
3339
3340 <object type="text" color="%text_color%">
3341 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3342 <font resource="font" />
3343 <text>Please Enter New Permissions</text>
3344 </object>
3345
3346 <object type="input">
3347 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3348 <background color="%input_background_color%" />
3349 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3350 <font resource="font" color="%text_color%" />
3351 <text>%tw_filemanager_rename%</text>
3352 <data name="tw_filemanager_rename" />
3353 <restrict minlen="3" maxlen="4" allow="0123456789" />
3354 <actions>
3355 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3356 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3357 <action function="set">tw_back=filemanageroptions</action>
3358 <action function="page">filemanagerconfirm</action>
3359 </actions>
3360 </object>
3361
3362 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003364 <placement x="%col_center_x%" y="%cancel_button_y%" />
3365 <font resource="font" color="%button_text_color%" />
3366 <text>Cancel</text>
3367 <image resource="main_button" />
3368 <action function="page">filemanageroptions</action>
3369 </object>
3370
3371 <object type="template" name="keyboardtemplate" />
3372
3373 <object type="action">
3374 <touch key="home" />
3375 <action function="page">main</action>
3376 </object>
3377
3378 <object type="action">
3379 <touch key="back" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="footer" />
3384 </page>
3385
3386 <page name="filemanagerconfirm">
3387 <object type="template" name="header" />
3388
3389 <object type="text" color="%text_color%">
3390 <font resource="font" />
3391 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3392 <text>%tw_fm_text1%</text>
3393 </object>
3394
3395 <object type="text" color="%text_color%">
3396 <font resource="font" />
3397 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3398 <text>%tw_filename1%</text>
3399 </object>
3400
3401 <object type="text" color="%text_color%">
3402 <font resource="font" />
3403 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3404 <text>%tw_fm_text2%</text>
3405 </object>
3406
3407 <object type="text" color="%text_color%">
3408 <font resource="font" />
3409 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3410 <text>%tw_fm_text3%</text>
3411 </object>
3412
3413 <object type="text" color="%text_color%">
3414 <font resource="font" />
3415 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3416 <text>Press back button to cancel.</text>
3417 </object>
3418
3419 <object type="slider">
3420 <placement x="%slider_x%" y="%slider_y%" />
3421 <resource base="slider" used="slider-used" touch="slider-touch" />
3422 <action function="page">filemanageracction</action>
3423 </object>
3424
3425 <object type="text" color="%text_color%">
3426 <font resource="font" />
3427 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3428 <text>Swipe to Confirm</text>
3429 </object>
3430
3431 <object type="action">
3432 <touch key="back" />
3433 <action function="page">%tw_back%</action>
3434 </object>
3435
3436 <object type="action">
3437 <touch key="home" />
3438 <action function="page">main</action>
3439 </object>
3440
3441 <object type="template" name="footer" />
3442 </page>
3443
3444 <page name="filemanageracction">
3445 <object type="template" name="header" />
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3450 <text>%tw_fm_text1%</text>
3451 </object>
3452
3453 <object type="template" name="action_page_console" />
3454
3455 <object type="template" name="progress_bar" />
3456
3457 <object type="action">
3458 <conditions>
3459 <condition var1="tw_operation_state" var2="1" />
3460 <condition var1="tw_operation_status" var2="0" />
3461 </conditions>
3462 <actions>
3463 <action function="set">tw_back=filemanagerlist</action>
3464 <action function="set">tw_complete_text1=File Operation Complete</action>
3465 <action function="page">action_complete</action>
3466 </actions>
3467 </object>
3468
3469 <object type="action">
3470 <conditions>
3471 <condition var1="tw_operation_state" var2="1" />
3472 <condition var1="tw_operation_status" op="!=" var2="0" />
3473 </conditions>
3474 <actions>
3475 <action function="set">tw_complete_text1=File Operation Complete</action>
3476 <action function="page">action_complete</action>
3477 </actions>
3478 </object>
3479
3480 <object type="action">
3481 <condition var1="tw_include_text3" var2="0" />
3482 <actions>
3483 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3484 </actions>
3485 </object>
3486
3487 <object type="action">
3488 <condition var1="tw_include_text3" var2="1" />
3489 <actions>
3490 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3491 </actions>
3492 </object>
3493 </page>
3494
3495 <page name="decrypt">
3496 <object type="template" name="header" />
3497
3498 <object type="text" color="%text_color%">
3499 <font resource="font" />
3500 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3501 <text>Please Enter Your Password</text>
3502 </object>
3503
3504 <object type="input">
3505 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3506 <background color="%input_background_color%" />
3507 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3508 <font resource="font" color="%text_color%" />
3509 <text>%tw_crypto_display%</text>
3510 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3511 <restrict minlen="1" maxlen="254" />
3512 <actions>
3513 <action function="page">trydecrypt</action>
3514 </actions>
3515 </object>
3516
3517 <object type="text" color="%text_fail_color%">
3518 <condition var1="tw_password_fail" var2="1" />
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3521 <text>Password Failed, Please Try Again</text>
3522 </object>
3523
3524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003525 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003526 <placement x="%col_center_x%" y="%cancel_button_y%" />
3527 <font resource="font" color="%button_text_color%" />
3528 <text>Cancel</text>
3529 <image resource="main_button" />
3530 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003531 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003532 <action function="page">main</action>
3533 </actions>
3534 </object>
3535
3536 <object type="template" name="keyboardtemplate" />
3537
Dees_Troy51a0e822012-09-05 15:24:24 -04003538 <object type="template" name="footer" />
3539 </page>
3540
3541 <page name="trydecrypt">
3542 <object type="template" name="header" />
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3547 <text>Trying Decryption with Your Password</text>
3548 </object>
3549
3550 <object type="template" name="action_page_console" />
3551
3552 <object type="template" name="progress_bar" />
3553
3554 <object type="action">
3555 <action function="decrypt"></action>
3556 </object>
3557
3558 <object type="action">
3559 <conditions>
3560 <condition var1="tw_operation_state" var2="1" />
3561 <condition var1="tw_operation_status" op="!=" var2="0" />
3562 </conditions>
3563 <actions>
3564 <action function="set">tw_password_fail=1</action>
3565 <action function="page">decrypt</action>
3566 </actions>
3567 </object>
3568
3569 <object type="action">
3570 <conditions>
3571 <condition var1="tw_operation_state" var2="1" />
3572 <condition var1="tw_operation_status" op="=" var2="0" />
3573 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003574 <actions>
3575 <action function="set">tw_page_done=1</action>
3576 <action function="page">main</action>
3577 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003578 </object>
3579 </page>
3580
3581 <page name="terminalfolder">
3582 <object type="template" name="header" />
3583
3584 <object type="text" color="%text_color%">
3585 <font resource="font" />
3586 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3587 <text>Browse to Starting Folder</text>
3588 </object>
3589
3590 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003591 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003592 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3593 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3594 <text>%tw_terminal_location%</text>
3595 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3596 <sort name="tw_gui_sort_order" />
3597 <icon folder="folder_icon" file="file_icon" />
3598 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003599 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003600 <filter folders="1" files="0" />
3601 <path name="tw_terminal_location" default="/" />
3602 <data name="tw_terminal" />
3603 <selection name="tw_terminal_selection" />
3604 </object>
3605
3606 <object type="template" name="sort_options" />
3607
3608 <object type="action">
3609 <touch key="home" />
3610 <action function="page">main</action>
3611 </object>
3612
3613 <object type="action">
3614 <touch key="back" />
3615 <action function="page">advanced</action>
3616 </object>
3617
3618 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003619 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003620 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3621 <font resource="font" color="%button_text_color%" />
3622 <text>Select Folder</text>
3623 <image resource="main_button" />
3624 <actions>
3625 <action function="page">terminalcommand</action>
3626 </actions>
3627 </object>
3628
3629 <object type="template" name="footer" />
3630 </page>
3631
3632 <page name="terminalcommand">
3633 <background color="#000000FF" />
3634
3635 <object type="console">
3636 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3637 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3638 <font resource="fixed" />
3639 </object>
3640
3641 <object type="text" color="%text_color%">
3642 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3643 <font resource="font" />
3644 <text>Starting Path: %tw_terminal_location%</text>
3645 </object>
3646
3647 <object type="input">
3648 <condition var1="tw_terminal_state" var2="0" />
3649 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3650 <background color="%input_background_color%" />
3651 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3652 <font resource="font" color="%text_color%" />
3653 <text>%tw_terminal_command%</text>
3654 <data name="tw_terminal_command" />
3655 <restrict minlen="1" />
3656 <action function="terminalcommand">%tw_terminal_command%</action>
3657 </object>
3658
3659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003660 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003661 <condition var1="tw_terminal_state" var2="1" />
3662 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3663 <font resource="font" color="%button_text_color%" />
3664 <text>KILL</text>
3665 <image resource="medium_button" />
3666 <action function="killterminal"></action>
3667 </object>
3668
3669 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003670 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003671 <placement x="%home_button_x%" y="%terminal_button_y%" />
3672 <font resource="font" color="%button_text_color%" />
3673 <text></text>
3674 <image resource="home_icon" />
3675 <condition var1="tw_busy" var2="0" />
3676 <action function="key">home</action>
3677 </object>
3678
3679 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003680 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003681 <placement x="%back_button_x%" y="%terminal_button_y%" />
3682 <font resource="font" color="%button_text_color%" />
3683 <text></text>
3684 <image resource="back_icon" />
3685 <condition var1="tw_busy" var2="0" />
3686 <action function="key">back</action>
3687 </object>
3688
3689 <object type="action">
3690 <touch key="power" />
3691 <action function="overlay">lock</action>
3692 </object>
3693
3694 <object type="template" name="keyboardtemplate" />
3695
3696 <object type="action">
3697 <touch key="home" />
3698 <action function="page">main</action>
3699 </object>
3700
3701 <object type="action">
3702 <touch key="back" />
3703 <action function="page">terminalfolder</action>
3704 </object>
3705 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003706
3707 <page name="sideload">
3708 <object type="template" name="header" />
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3713 <text>ADB Sideload</text>
3714 </object>
3715
3716 <object type="checkbox">
3717 <placement x="%col1_x%" y="%row3_text_y%" />
3718 <font resource="font" color="%text_color%" />
3719 <text>Wipe Dalvik Cache.</text>
3720 <data variable="tw_wipe_dalvik" />
3721 <image checked="checkbox_true" unchecked="checkbox_false" />
3722 </object>
3723
3724 <object type="checkbox">
3725 <placement x="%col1_x%" y="%row4_text_y%" />
3726 <font resource="font" color="%text_color%" />
3727 <text>Wipe Cache.</text>
3728 <data variable="tw_wipe_cache" />
3729 <image checked="checkbox_true" unchecked="checkbox_false" />
3730 </object>
3731
3732 <object type="slider">
3733 <placement x="%slider_x%" y="%slider_y%" />
3734 <resource base="slider" used="slider-used" touch="slider-touch" />
3735 <actions>
3736 <action function="set">tw_back=advanced</action>
3737 <action function="set">tw_action=adbsideload</action>
3738 <action function="set">tw_action_text1=ADB Sideload</action>
3739 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3740 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3741 <action function="set">tw_has_cancel=1</action>
3742 <action function="set">tw_show_reboot=1</action>
3743 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3744 <action function="page">action_page</action>
3745 </actions>
3746 </object>
3747
3748 <object type="text" color="%text_color%">
3749 <font resource="font" />
3750 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3751 <text>Swipe to Start Sideload</text>
3752 </object>
3753
3754 <object type="action">
3755 <touch key="home" />
3756 <action function="page">main</action>
3757 </object>
3758
3759 <object type="action">
3760 <touch key="back" />
3761 <action function="page">advanced</action>
3762 </object>
3763
3764 <object type="template" name="footer" />
3765 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 </pages>
3767</recovery>