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