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