blob: 1947ffa69c4dc90f6e403a3813e8de972413aa32 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1920" height="1200" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-30" />
14 <resource name="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040044 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040045 </resources>
46
47 <variables>
48 <variable name="col1_x" value="210" />
49 <variable name="col2_x" value="590" />
50 <variable name="col3_x" value="970" />
51 <variable name="col4_x" value="1350" />
52 <variable name="row1_y" value="220" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060053 <variable name="row2_y" value="680" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="col_center_x" value="780" />
55 <variable name="center_x" value="960" />
56 <variable name="screen_width" value="1920" />
57 <variable name="screen_height" value="1200" />
58 <variable name="col_progressbar_x" value="771" />
59 <variable name="row_progressbar_y" value="1100" />
60 <variable name="col1_medium_x" value="570" />
61 <variable name="col2_medium_x" value="770" />
62 <variable name="col3_medium_x" value="970" />
63 <variable name="col4_medium_x" value="1170" />
64 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060065 <variable name="row2_medium_y" value="365" />
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="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row5_medium_y" value="700" />
69 <variable name="row1_text_y" value="90" />
70 <variable name="row2_text_y" value="140" />
71 <variable name="row3_text_y" value="190" />
72 <variable name="row4_text_y" value="240" />
73 <variable name="row5_text_y" value="290" />
74 <variable name="row6_text_y" value="340" />
75 <variable name="row7_text_y" value="390" />
76 <variable name="row8_text_y" value="440" />
77 <variable name="row9_text_y" value="490" />
78 <variable name="row10_text_y" value="540" />
79 <variable name="row11_text_y" value="590" />
80 <variable name="row12_text_y" value="640" />
81 <variable name="row13_text_y" value="690" />
82 <variable name="row14_text_y" value="740" />
83 <variable name="row15_text_y" value="790" />
84 <variable name="row16_text_y" value="840" />
85 <variable name="row17_text_y" value="890" />
86 <variable name="row18_text_y" value="940" />
87 <variable name="row_offsetmedium_y" value="775" />
88 <variable name="home_button_x" value="1620" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="1720" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="1820" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="328" />
95 <variable name="nandcheck_col2" value="800" />
96 <variable name="nandcheck_row1" value="200" />
97 <variable name="nandcheck_row2" value="275" />
98 <variable name="nandcheck_row3" value="350" />
99 <variable name="nandcheck_row4" value="425" />
100 <variable name="nandcheck_row5" value="500" />
101 <variable name="nandcheck_row6" value="575" />
102 <variable name="nandcheck_row7" value="650" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#A0A0A0" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600107 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400108 <variable name="slider_x" value="630" />
109 <variable name="slider_y" value="1000" />
110 <variable name="slider_text_y" value="1075" />
111 <variable name="sort_text_x" value="400" />
112 <variable name="sort_asc_text_y" value="1045" />
113 <variable name="sort_asc_button_y" value="1040" />
114 <variable name="sort_desc_text_y" value="1105" />
115 <variable name="sort_desc_button_y" value="1100" />
116 <variable name="sort_col1_button_x" value="670" />
117 <variable name="sort_col2_button_x" value="770" />
118 <variable name="sort_col3_button_x" value="870" />
119 <variable name="col1_sdext_x" value="720" />
120 <variable name="col2_sdext_x" value="1100" />
121 <variable name="row1_sdext_y" value="180" />
122 <variable name="row2_sdext_y" value="265" />
123 <variable name="row_extsize_y" value="175" />
124 <variable name="row_swapsize_y" value="260" />
125 <variable name="input_x" value="50" />
126 <variable name="input_width" value="1820" />
127 <variable name="input_height" value="50" />
128 <variable name="input_background_color" value="#303030" />
129 <variable name="input_cursor_color" value="#33B5E5" />
130 <variable name="input_cursor_width" value="3" />
131 <variable name="console_x" value="50" />
132 <variable name="console_width" value="1820" />
133 <variable name="console_foreground" value="#A0A0A0" />
134 <variable name="console_background" value="#303030" />
135 <variable name="console_scroll" value="#303030" />
136 <variable name="console_action_height" value="320" />
137 <variable name="console_install_height" value="440" />
138 <variable name="console_installdone_height" value="300" />
139 <variable name="fileselector_folder_x" value="50" />
140 <variable name="fileselector_folder_width" value="610" />
141 <variable name="fileselector_folderonly_width" value="800" />
142 <variable name="fileselector_file_x" value="700" />
143 <variable name="fileselector_file_width" value="1170" />
144 <variable name="fileselector_install_y" value="190" />
145 <variable name="fileselector_install_height" value="800" />
146 <variable name="fileselector_header_background" value="#202020" />
147 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
148 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
149 <variable name="fileselector_header_separatorheight" value="3" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="2" />
152 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600153 <variable name="fileselector_highlight_color" value="#505050" />
154 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="fileselector_spacing" value="18" />
156 <variable name="zipstorage_text_y" value="130" />
157 <variable name="listbox_x" value="560" />
158 <variable name="listbox_y" value="150" />
159 <variable name="listbox_width" value="800" />
160 <variable name="listbox_tz_height" value="400" />
161 <variable name="listbox_background" value="#303030" />
162 <variable name="listbox_spacing" value="18" />
163 <variable name="sd_plus_x" value="408" />
164 <variable name="lock_x" value="660" />
165 <variable name="lock_y" value="300" />
166 <variable name="filemanager_select_x" value="1500" />
167 <variable name="filemanager_select_y" value="980" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="390" />
170 <variable name="col_right_x" value="1870" />
171 <variable name="cancel_button_y" value="240" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="610" />
174 <variable name="terminal_text_y" value="624" />
175 <variable name="terminal_button_y" value="615" />
176 <variable name="terminal_input_width" value="1550" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="760" />
178 <variable name="exclamation_y" value="260" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400179 </variables>
180
181 <templates>
182 <template name="header">
183 <background color="#000000FF" />
184
185 <object type="image">
186 <image resource="side" />
187 <placement x="0" y="0" />
188 </object>
189
190 <object type="image">
191 <image resource="side" />
192 <placement x="1875" y="0" />
193 </object>
194
195 <object type="image">
196 <image resource="base" />
197 <placement x="0" y="0" />
198 </object>
199
200 <object type="image">
201 <image resource="bottom" />
202 <placement x="1" y="1155" />
203 </object>
204
205 <object type="image">
206 <image resource="large_black" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="250" y="5" />
213 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="40" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery Level: %tw_battery%</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="600" y="40" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <condition var1="tw_simulate_actions" var2="1" />
235 <font resource="font" />
236 <placement x="850" y="40" />
237 <text>SIMULATING ACTIONS</text>
238 </object>
239
240 <object type="button">
241 <placement x="%home_button_x%" y="%home_button_y%" />
242 <font resource="font" color="%button_text_color%" />
243 <text></text>
244 <image resource="home_icon" />
245 <condition var1="tw_busy" var2="0" />
246 <action function="key">home</action>
247 </object>
248
249 <object type="button">
250 <placement x="%back_button_x%" y="%back_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text></text>
253 <image resource="back_icon" />
254 <condition var1="tw_busy" var2="0" />
255 <action function="key">back</action>
256 </object>
257
258 <object type="action">
259 <touch key="power" />
260 <action function="overlay">lock</action>
261 </object>
262 </template>
263
264 <template name="progress_bar">
265 <object type="progressbar">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
267 <resource empty="progress_empty" full="progress_full" />
268 <data name="ui_progress" />
269 </object>
270
271 <object type="animation">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource name="progress" />
274 <speed fps="15" render="6" />
275 <loop frame="1" />
276 </object>
277 </template>
278
279 <template name="sort_options">
280 <object type="text" color="%text_color%">
281 <font resource="font" />
282 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
283 <text>Sort Ascending:</text>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
288 <font resource="font" color="%button_text_color%" />
289 <text>Name</text>
290 <image resource="sort_button" />
291 <action function="set">tw_gui_sort_order=1</action>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <text>Date</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=2</action>
300 </object>
301
302 <object type="button">
303 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
304 <font resource="font" color="%button_text_color%" />
305 <text>Size</text>
306 <image resource="sort_button" />
307 <action function="set">tw_gui_sort_order=3</action>
308 </object>
309
310 <object type="text" color="%text_color%">
311 <font resource="font" />
312 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
313 <text>Sort Descending:</text>
314 </object>
315
316 <object type="button">
317 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Name</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=-1</action>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-2</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
334 <font resource="font" color="%button_text_color%" />
335 <text>Size</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-3</action>
338 </object>
339 </template>
340
341 <template name="flash_zip_console">
342 <object type="console">
343 <placement x="%console_x%" y="140" w="%console_width%" h="700" />
344 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
345 <font resource="fixed" />
346 </object>
347 </template>
348
349 <template name="action_page_console">
350 <object type="console">
351 <placement x="%console_x%" y="400" w="%console_width%" h="600" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="footer">
358 <object type="console">
359 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
360 <placement x="%console_x%" y="150" w="%console_width%" h="1000" />
361 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
362 <font resource="fixed" />
363 </object>
364 </template>
365
366 <template name="keyboardtemplate">
367 <object type="keyboard">
368 <placement x="0" y="684" />
369 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <layout1>
372 <keysize height="129" width="159" />
373 <row1 key01="153:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="177:c:8" />
374 <row2 key01="213:layout3" key02="156:a" key03="156:s" key04="156:d" key05="156:f" key06="156:g" key07="156:h" key08="156:j" key09="k" key10="156:l" key11="303:action" />
375 <row3 key01="269:layout2" key02="154:z" key03="154:x" key04="154:c" key05="154:v" key06="154:b" key07="154:n" key08="154:m" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout2" />
376 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
377 </layout1>
378 <layout2>
379 <keysize height="129" width="159" />
380 <row1 key01="153:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="177:c:8" />
381 <row2 key01="213:layout3" key02="156:A" key03="156:S" key04="156:D" key05="156:F" key06="156:G" key07="156:H" key08="156:J" key09="156:K" key10="156:L" key11="303:action" />
382 <row3 key01="269:layout1" key02="154:Z" key03="154:X" key04="154:C" key05="154:V" key06="154:B" key07="154:N" key08="154:M" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout1" />
383 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
384 </layout2>
385 <layout3>
386 <keysize height="129" width="159" />
387 <row1 key01="153:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="177:c:8" />
388 <row2 key01="213:layout1" key02="156:#" key03="156:$" key04="156:%" key05="156:&" key06="156:*" key07="156:-" key08="156:+" key09="156:(" key10="156:)" key11="303:action" />
389 <row3 key01="269:layout4" key02="154:<" key03="154:>" key04="154:=" key05="154:'" key06="154:;" key07="154:," key08="154:." key09="154:!" key10="154:?" key11="265:layout4" />
390 <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" />
391 </layout3>
392 <layout4>
393 <keysize height="129" width="159" />
394 <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" />
395 <row2 key01="213:layout1" key02="156:" key03="156:" key04="156:" key05="156:" key06="156:^" key07="156:" key08="156:" key09="156:{" key10="156:}" key11="303:action" />
396 <row3 key01="269:layout3" key02="154:\" key03="154:" key04="154:" key05="154:" key06="154:" key07="154:[" key08="154:]" key09="154:!" key10="154:?" key11="265:layout3" />
397 <row4 key01="600:" key02="720: " />
398 </layout4>
399 </object>
400 </template>
401 </templates>
402
403 <pages>
404 <page name="main">
405 <object type="action">
406 <actions>
407 <action function="set">tw_clear_destination=main2</action>
408 <action function="page">clear_vars</action>
409 </actions>
410 </object>
411 </page>
412
413 <page name="main2">
414 <object type="template" name="header" />
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Install</text>
421 <image resource="main_button" />
422 <actions>
423 <action function="queueclear"></action>
424 <action function="page">install</action>
425 </actions>
426 </object>
427
428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400430 <placement x="%col2_x%" y="%row1_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Backup</text>
433 <image resource="main_button" />
434 <action function="page">backup</action>
435 </object>
436
437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400439 <placement x="%col3_x%" y="%row1_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Restore</text>
442 <image resource="main_button" />
443 <action function="page">restore</action>
444 </object>
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col4_x%" y="%row1_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Wipe</text>
451 <image resource="main_button" />
452 <action function="page">wipe</action>
453 </object>
454
455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col1_x%" y="%row2_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Mount</text>
460 <image resource="main_button" />
461 <action function="page">mount</action>
462 </object>
463
464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400466 <placement x="%col2_x%" y="%row2_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Settings</text>
469 <image resource="main_button" />
470 <action function="page">settings</action>
471 </object>
472
473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <placement x="%col3_x%" y="%row2_y%" />
476 <font resource="font" color="%button_text_color%" />
477 <text>Advanced</text>
478 <image resource="main_button" />
479 <action function="page">advanced</action>
480 </object>
481
482 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600483 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400484 <placement x="%col4_x%" y="%row2_y%" />
485 <font resource="font" color="%button_text_color%" />
486 <text>Reboot</text>
487 <image resource="main_button" />
488 <action function="page">reboot</action>
489 </object>
490
491 <object type="template" name="footer" />
492 </page>
493
494 <page name="install">
495 <object type="template" name="header" />
496
497 <object type="text" color="%text_color%">
498 <font resource="font" />
499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
500 <text>Select Zip to Install</text>
501 </object>
502
503 <object type="button">
504 <placement x="%col2_x%" y="%zipstorage_text_y%" />
505 <font resource="font" color="%text_color%" />
506 <conditions>
507 <condition var1="tw_has_dual_storage" var2="1" />
508 <condition var1="tw_use_external_storage" var2="1" />
509 </conditions>
510 <text>Using external SD</text>
511 <image resource="radio_true" />
512 <action function="togglestorage">external</action>
513 </object>
514
515 <object type="button">
516 <placement x="%col2_x%" y="%zipstorage_text_y%" />
517 <font resource="font" color="%text_color%" />
518 <conditions>
519 <condition var1="tw_has_dual_storage" var2="1" />
520 <condition var1="tw_use_external_storage" var2="0" />
521 </conditions>
522 <text>Using external SD</text>
523 <image resource="radio_false" />
524 <action function="togglestorage">external</action>
525 </object>
526
527 <object type="button">
528 <placement x="%col3_x%" y="%zipstorage_text_y%" />
529 <font resource="font" color="%text_color%" />
530 <conditions>
531 <condition var1="tw_has_dual_storage" var2="1" />
532 <condition var1="tw_use_external_storage" var2="1" />
533 </conditions>
534 <text>Using internal storage</text>
535 <image resource="radio_false" />
536 <action function="togglestorage">internal</action>
537 </object>
538
539 <object type="button">
540 <placement x="%col3_x%" y="%zipstorage_text_y%" />
541 <font resource="font" color="%text_color%" />
542 <conditions>
543 <condition var1="tw_has_dual_storage" var2="1" />
544 <condition var1="tw_use_external_storage" var2="0" />
545 </conditions>
546 <text>Using internal storage</text>
547 <image resource="radio_true" />
548 <action function="togglestorage">internal</action>
549 </object>
550
551 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600552 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400553 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
554 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
555 <text>Folders:</text>
556 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
557 <sort name="tw_gui_sort_order" />
558 <icon folder="folder_icon" file="file_icon" />
559 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <filter folders="1" files="0" />
562 <path name="tw_zip_location" default="/sdcard" />
563 <data name="select" />
564 </object>
565
566 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600567 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
569 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
570 <text>%tw_zip_location%</text>
571 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
572 <sort name="tw_gui_sort_order" />
573 <icon folder="folder_icon" file="file_icon" />
574 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600575 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <filter extn=".zip" folders="0" files="1" />
577 <path name="tw_zip_location" />
578 <data name="tw_filename" />
579 <selection name="tw_file" />
580 </object>
581
582 <object type="template" name="sort_options" />
583
584 <object type="action">
585 <condition var1="tw_filename" op="modified" />
586 <actions>
587 <action function="queuezip"></action>
588 <action function="page">flash_confirm</action>
589 </actions>
590 </object>
591
592 <object type="action">
593 <touch key="back" />
594 <action function="page">main</action>
595 </object>
596
597 <object type="action">
598 <touch key="home" />
599 <action function="page">main</action>
600 </object>
601
602 <object type="template" name="footer" />
603 </page>
604
605 <page name="flash_confirm">
606 <object type="template" name="header" />
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
611 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
617 <text>Folder:</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
623 <text>%tw_zip_location%</text>
624 </object>
625
626 <object type="text" color="%text_color%">
627 <font resource="font" />
628 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
629 <text>File to flash:</text>
630 </object>
631
632 <object type="text" color="%text_color%">
633 <font resource="font" />
634 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
635 <text>%tw_file%</text>
636 </object>
637
638 <object type="text" color="%text_color%">
639 <font resource="font" />
640 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
641 <text>Press back to cancel adding this zip.</text>
642 </object>
643
644 <object type="checkbox">
645 <placement x="%col2_x%" y="%row7_text_y%" />
646 <font resource="font" color="%text_color%" />
647 <text>Zip file signature verification?</text>
648 <data variable="tw_signed_zip_verify" />
649 <image checked="checkbox_true" unchecked="checkbox_false" />
650 </object>
651
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%" />
2463 <text>Ignore image size errors during backup</text>
2464 <data variable="tw_ignore_image_size" />
2465 <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
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002485
2486 <object type="checkbox">
2487 <placement x="%col1_x%" y="%row9_text_y%" />
2488 <font resource="font" color="%text_color%" />
2489 <text>Use Military Time</text>
2490 <data variable="tw_military_time" />
2491 <image checked="checkbox_true" unchecked="checkbox_false" />
2492 </object>
2493
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002495 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <placement x="%col1_x%" y="%row2_y%" />
2497 <font resource="font" color="%button_text_color%" />
2498 <text>Time Zone</text>
2499 <image resource="main_button" />
2500 <action function="page">timezone</action>
2501 </object>
2502
2503 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002504 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002505 <placement x="%col4_x%" y="%row2_y%" />
2506 <font resource="font" color="%button_text_color%" />
2507 <text>Screen</text>
2508 <image resource="main_button" />
2509 <action function="page">screen</action>
2510 </object>
2511
2512 <object type="button">
2513 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <placement x="%col_center_x%" y="%slider_y%" />
2515 <font resource="font" color="%button_text_color%" />
2516 <text>Restore Defaults</text>
2517 <image resource="main_button" />
2518 <action function="restoredefaultsettings"></action>
2519 </object>
2520
2521 <object type="action">
2522 <touch key="home" />
2523 <action function="page">main</action>
2524 </object>
2525
2526 <object type="action">
2527 <touch key="back" />
2528 <action function="page">main</action>
2529 </object>
2530
2531 <object type="template" name="footer" />
2532 </page>
2533
2534 <page name="timezone">
2535 <object type="template" name="header" />
2536
2537 <object type="text" color="%text_color%">
2538 <font resource="font" />
2539 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2540 <text>Select Time Zone</text>
2541 </object>
2542
2543 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002544 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002546 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2547 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002549 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002551 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <data name="tw_time_zone_guisel" />
2553 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2554 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2555 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2556 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2557 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2558 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2559 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2560 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2561 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2562 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2563 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2564 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2565 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2566 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2567 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2568 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2569 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2570 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2571 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2572 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2573 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2574 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2575 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2576 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2577 </object>
2578
2579 <object type="checkbox">
2580 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2581 <font resource="font" color="%text_color%" />
2582 <text>Do you use daylight savings time (DST)?</text>
2583 <data variable="tw_time_zone_guidst" />
2584 <image checked="checkbox_true" unchecked="checkbox_false" />
2585 </object>
2586
2587 <object type="text" color="%text_color%">
2588 <font resource="font" />
2589 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2590 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
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="%col1_medium_x%" y="%row_offsetmedium_y%" />
2596 <font resource="font" color="%button_text_color%" />
2597 <text>0</text>
2598 <image resource="medium_button" />
2599 <action function="set">tw_time_zone_guioffset=0</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="%col2_medium_x%" y="%row_offsetmedium_y%" />
2605 <font resource="font" color="%button_text_color%" />
2606 <text>15</text>
2607 <image resource="medium_button" />
2608 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offsetmedium_y%" />
2614 <font resource="font" color="%button_text_color%" />
2615 <text>30</text>
2616 <image resource="medium_button" />
2617 <action function="set">tw_time_zone_guioffset=30</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_medium_x%" y="%row_offsetmedium_y%" />
2623 <font resource="font" color="%button_text_color%" />
2624 <text>45</text>
2625 <image resource="medium_button" />
2626 <action function="set">tw_time_zone_guioffset=45</action>
2627 </object>
2628
2629 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002630 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002631 <placement x="%col4_x%" y="%row2_y%" />
2632 <font resource="font" color="%button_text_color%" />
2633 <text>Set Time Zone</text>
2634 <image resource="main_button" />
2635 <action function="setguitimezone"></action>
2636 </object>
2637
2638 <object type="text" color="%text_color%">
2639 <font resource="font" />
2640 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2641 <text>Current Time Zone: %tw_time_zone%</text>
2642 </object>
2643
2644 <object type="action">
2645 <touch key="home" />
2646 <action function="page">main</action>
2647 </object>
2648
2649 <object type="action">
2650 <touch key="back" />
2651 <action function="page">settings</action>
2652 </object>
2653
2654 <object type="template" name="footer" />
2655 </page>
2656
Dees_Troy2f9117a2013-02-17 19:52:09 -06002657 <page name="screen">
2658 <object type="template" name="header" />
2659
2660 <object type="text" color="%text_color%">
2661 <font resource="font" />
2662 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2663 <text>Screen Settings</text>
2664 </object>
2665
2666 <object type="text" color="%text_color%">
2667 <font resource="font" />
2668 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2669 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2670 </object>
2671
2672 <object type="button">
2673 <placement x="%col1_medium_x%" y="%row2_medium_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>None</text>
2676 <image resource="medium_button" />
2677 <action function="set">tw_screen_timeout_secs=0</action>
2678 </object>
2679
2680 <object type="button">
2681 <placement x="%col2_medium_x%" y="%row2_medium_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>60</text>
2684 <image resource="medium_button" />
2685 <action function="set">tw_screen_timeout_secs=60</action>
2686 </object>
2687
2688 <object type="button">
2689 <placement x="%col3_medium_x%" y="%row2_medium_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>120</text>
2692 <image resource="medium_button" />
2693 <action function="set">tw_screen_timeout_secs=120</action>
2694 </object>
2695
2696 <object type="button">
2697 <placement x="%col4_medium_x%" y="%row2_medium_y%" />
2698 <font resource="font" color="%button_text_color%" />
2699 <text>180</text>
2700 <image resource="medium_button" />
2701 <action function="set">tw_screen_timeout_secs=180</action>
2702 </object>
2703
2704 <object type="text" color="%text_color%">
2705 <condition var1="tw_has_brightnesss_file" var2="1" />
2706 <font resource="font" />
2707 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2708 <text>Brightness: %tw_brightness_display%</text>
2709 </object>
2710
2711 <object type="button">
2712 <condition var1="tw_has_brightnesss_file" var2="1" />
2713 <placement x="%col1_medium_x%" y="%row4_medium_y%" />
2714 <font resource="font" color="%button_text_color%" />
2715 <text>25%</text>
2716 <image resource="medium_button" />
2717 <actions>
2718 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2719 <action function="set">tw_brightness_display=25%</action>
2720 <action function="set">tw_brightness=%tw_brightness_25%</action>
2721 </actions>
2722 </object>
2723
2724 <object type="button">
2725 <condition var1="tw_has_brightnesss_file" var2="1" />
2726 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2727 <font resource="font" color="%button_text_color%" />
2728 <text>50%</text>
2729 <image resource="medium_button" />
2730 <actions>
2731 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2732 <action function="set">tw_brightness_display=50%</action>
2733 <action function="set">tw_brightness=%tw_brightness_50%</action>
2734 </actions>
2735 </object>
2736
2737 <object type="button">
2738 <condition var1="tw_has_brightnesss_file" var2="1" />
2739 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2740 <font resource="font" color="%button_text_color%" />
2741 <text>75%</text>
2742 <image resource="medium_button" />
2743 <actions>
2744 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2745 <action function="set">tw_brightness_display=75%</action>
2746 <action function="set">tw_brightness=%tw_brightness_75%</action>
2747 </actions>
2748 </object>
2749
2750 <object type="button">
2751 <condition var1="tw_has_brightnesss_file" var2="1" />
2752 <placement x="%col4_medium_x%" y="%row4_medium_y%" />
2753 <font resource="font" color="%button_text_color%" />
2754 <text>100%</text>
2755 <image resource="medium_button" />
2756 <actions>
2757 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2758 <action function="set">tw_brightness_display=100%</action>
2759 <action function="set">tw_brightness=%tw_brightness_100%</action>
2760 </actions>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="home" />
2765 <action function="page">main</action>
2766 </object>
2767
2768 <object type="action">
2769 <touch key="back" />
2770 <action function="page">settings</action>
2771 </object>
2772
2773 <object type="template" name="footer" />
2774 </page>
2775
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <page name="advanced">
2777 <object type="template" name="header" />
2778
2779 <object type="text" color="%text_color%">
2780 <font resource="font" />
2781 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2782 <text>Advanced</text>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col1_x%" y="%row1_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Copy Log to SD</text>
2790 <image resource="main_button" />
2791 <actions>
2792 <action function="set">tw_back=advanced</action>
2793 <action function="set">tw_action=copylog</action>
2794 <action function="set">tw_text1=Copy Log to SD Card?</action>
2795 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2796 <action function="set">tw_complete_text1=Log Copy Complete</action>
2797 <action function="set">tw_slider_text=Swipe to Confirm</action>
2798 <action function="page">confirm_action</action>
2799 </actions>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <placement x="%col2_x%" y="%row1_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Fix Permissions</text>
2807 <image resource="main_button" />
2808 <actions>
2809 <action function="set">tw_back=advanced</action>
2810 <action function="set">tw_action=fixpermissions</action>
2811 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002813 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2814 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002815 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002816 <action function="page">confirm_action</action>
2817 </actions>
2818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <placement x="%col3_x%" y="%row1_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>Terminal Command</text>
2825 <image resource="main_button" />
2826 <action function="page">terminalfolder</action>
2827 </object>
2828
2829 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002830 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002831 <placement x="%col4_x%" y="%row1_y%" />
2832 <font resource="font" color="%button_text_color%" />
2833 <text>ADB Sideload</text>
2834 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002835 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002836 </object>
2837
2838 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002839 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 <condition var1="tw_allow_partition_sdcard" var2="1" />
2841 <placement x="%col1_x%" y="%row2_y%" />
2842 <font resource="font" color="%button_text_color%" />
2843 <text>Partition SD Card</text>
2844 <image resource="main_button" />
2845 <action function="page">partsdcard</action>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col2_x%" y="%row2_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text>File Manager</text>
2853 <image resource="main_button" />
2854 <action function="page">filemanagerlist</action>
2855 </object>
2856
2857 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002858 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002859 <placement x="%col3_x%" y="%row2_y%" />
2860 <font resource="font" color="%button_text_color%" />
2861 <text>Reload Theme</text>
2862 <image resource="main_button" />
2863 <action function="reload"></action>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <condition var1="tw_show_dumlock" var2="1" />
2869 <placement x="%col4_x%" y="%row2_y%" />
2870 <font resource="font" color="%button_text_color%" />
2871 <text>HTC Dumlock</text>
2872 <image resource="main_button" />
2873 <action function="page">htcdumlock</action>
2874 </object>
2875
2876 <object type="action">
2877 <touch key="home" />
2878 <action function="page">main</action>
2879 </object>
2880
2881 <object type="action">
2882 <touch key="back" />
2883 <action function="page">main</action>
2884 </object>
2885
2886 <object type="template" name="footer" />
2887 </page>
2888
2889 <page name="partsdcard">
2890 <object type="template" name="header" />
2891
2892 <object type="text" color="%text_color%">
2893 <font resource="font" />
2894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2895 <text>Partition SD Card</text>
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="%col1_sdext_x%" y="%row1_sdext_y%" />
2901 <font resource="font" color="%button_text_color%" />
2902 <text></text>
2903 <image resource="minus_button" />
2904 <action function="addsubtract">tw_sdext_size-128</action>
2905 </object>
2906
2907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002908 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2910 <font resource="font" color="%button_text_color%" />
2911 <text></text>
2912 <image resource="plus_button" />
2913 <action function="addsubtract">tw_sdext_size+128</action>
2914 </object>
2915
2916 <object type="text" color="%text_color%">
2917 <font resource="font" />
2918 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2919 <text>EXT Size: %tw_sdext_size%</text>
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="%col1_sdext_x%" y="%row2_sdext_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text></text>
2927 <image resource="minus_button" />
2928 <action function="addsubtract">tw_swap_size-32</action>
2929 </object>
2930
2931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002932 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002933 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2934 <font resource="font" color="%button_text_color%" />
2935 <text></text>
2936 <image resource="plus_button" />
2937 <action function="addsubtract">tw_swap_size+32</action>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2943 <text>Swap Size: %tw_swap_size%</text>
2944 </object>
2945
2946 <object type="text" color="%text_color%">
2947 <font resource="font" />
2948 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2949 <text>File system: %tw_sdpart_file_system%</text>
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 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2955 <font resource="font" color="%button_text_color%" />
2956 <text>EXT3</text>
2957 <image resource="medium_button" />
2958 <action function="set">tw_sdpart_file_system=ext3</action>
2959 </object>
2960
2961 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002962 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002963 <condition var1="tw_sdext_disable_ext4" var2="0" />
2964 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2965 <font resource="font" color="%button_text_color%" />
2966 <text>EXT4</text>
2967 <image resource="medium_button" />
2968 <action function="set">tw_sdpart_file_system=ext4</action>
2969 </object>
2970
2971 <object type="text" color="%text_color%">
2972 <font resource="font" />
2973 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2974 <text>You will lose all files on your SD card!</text>
2975 </object>
2976
2977 <object type="text" color="%text_color%">
2978 <font resource="font" />
2979 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2980 <text>This action cannot be undone!</text>
2981 </object>
2982
2983 <object type="slider">
2984 <placement x="%slider_x%" y="%slider_y%" />
2985 <resource base="slider" used="slider-used" touch="slider-touch" />
2986 <actions>
2987 <action function="set">tw_back=partsdcard</action>
2988 <action function="set">tw_action=partitionsd</action>
2989 <action function="set">tw_has_action2=1</action>
2990 <action function="set">tw_action2=set</action>
2991 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2992 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2993 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002994 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002995 <action function="page">action_page</action>
2996 </actions>
2997 </object>
2998
2999 <object type="text" color="%text_color%">
3000 <font resource="font" />
3001 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3002 <text>Swipe to Confirm Partition</text>
3003 </object>
3004
3005 <object type="action">
3006 <touch key="home" />
3007 <action function="page">main</action>
3008 </object>
3009
3010 <object type="action">
3011 <touch key="back" />
3012 <action function="page">advanced</action>
3013 </object>
3014
3015 <object type="template" name="footer" />
3016 </page>
3017
3018
3019 <page name="htcdumlock">
3020 <object type="template" name="header" />
3021
3022 <object type="text" color="%text_color%">
3023 <font resource="font" />
3024 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3025 <text>HTC Dumlock</text>
3026 </object>
3027
3028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003029 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003030 <condition var1="tw_show_dumlock" var2="1" />
3031 <placement x="%col1_x%" y="%row1_y%" />
3032 <font resource="font" color="%button_text_color%" />
3033 <text>Restore Original Boot</text>
3034 <image resource="main_button" />
3035 <actions>
3036 <action function="set">tw_back=htcdumlock</action>
3037 <action function="set">tw_action=htcdumlockrestoreboot</action>
3038 <action function="set">tw_text1=Restore original boot image?</action>
3039 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3040 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3041 <action function="set">tw_slider_text=Swipe to Confirm</action>
3042 <action function="page">confirm_action</action>
3043 </actions>
3044 </object>
3045
3046 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003047 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003048 <condition var1="tw_show_dumlock" var2="1" />
3049 <placement x="%col2_x%" y="%row1_y%" />
3050 <font resource="font" color="%button_text_color%" />
3051 <text>Reflash Recovery->Boot</text>
3052 <image resource="main_button" />
3053 <actions>
3054 <action function="set">tw_back=htcdumlock</action>
3055 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3056 <action function="set">tw_text1=Reflash recovery to boot?</action>
3057 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3058 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3059 <action function="set">tw_slider_text=Swipe to Confirm</action>
3060 <action function="page">confirm_action</action>
3061 </actions>
3062 </object>
3063
3064 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003065 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <condition var1="tw_show_dumlock" var2="1" />
3067 <placement x="%col1_x%" y="%row2_y%" />
3068 <font resource="font" color="%button_text_color%" />
3069 <text>Install HTC Dumlock</text>
3070 <image resource="main_button" />
3071 <actions>
3072 <action function="set">tw_back=htcdumlock</action>
3073 <action function="set">tw_action=installhtcdumlock</action>
3074 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3075 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3076 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3077 <action function="set">tw_slider_text=Swipe to Confirm</action>
3078 <action function="page">confirm_action</action>
3079 </actions>
3080 </object>
3081
3082 <object type="action">
3083 <touch key="home" />
3084 <action function="page">main</action>
3085 </object>
3086
3087 <object type="action">
3088 <touch key="back" />
3089 <action function="page">advanced</action>
3090 </object>
3091
3092 <object type="template" name="footer" />
3093 </page>
3094
3095 <page name="lock">
3096 <background color="#000000A0" />
3097
3098 <object type="image">
3099 <image resource="unlock-icon" />
3100 <placement x="%lock_x%" y="%lock_y%" />
3101 </object>
3102
3103 <object type="slider">
3104 <placement x="%slider_x%" y="%slider_y%" />
3105 <resource base="slider" used="slider-used" touch="slider-touch" />
3106 <action function="overlay"></action>
3107 </object>
3108
3109 <object type="text" color="%text_color%">
3110 <font resource="font" />
3111 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3112 <text>Swipe to Unlock</text>
3113 </object>
3114 </page>
3115
3116
3117 <page name="filemanagerlist">
3118 <object type="template" name="header" />
3119
3120 <object type="text" color="%text_color%">
3121 <font resource="font" />
3122 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3123 <text>File Manager: Select a File or Folder</text>
3124 </object>
3125
3126 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003127 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003128 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3129 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3130 <text>Folders:</text>
3131 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3132 <sort name="tw_gui_sort_order" />
3133 <icon folder="folder_icon" file="file_icon" />
3134 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003135 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003136 <filter folders="1" files="0" />
3137 <path name="tw_file_location1" default="/sdcard" />
3138 <data name="select" />
3139 <selection name="tw_selection1" />
3140 </object>
3141
3142 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003143 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003144 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3145 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3146 <text>%tw_file_location1%</text>
3147 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3148 <sort name="tw_gui_sort_order" />
3149 <icon folder="folder_icon" file="file_icon" />
3150 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003151 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003152 <filter folders="0" files="1" />
3153 <path name="tw_file_location1" default="/" />
3154 <data name="tw_filename1" />
3155 <selection name="tw_selection1" />
3156 </object>
3157
3158 <object type="template" name="sort_options" />
3159
3160 <object type="action">
3161 <actions>
3162 <action function="set">tw_fm_type=File</action>
3163 <action function="set">tw_fm_isfolder=0</action>
3164 </actions>
3165 </object>
3166
3167 <object type="action">
3168 <touch key="home" />
3169 <action function="page">main</action>
3170 </object>
3171
3172 <object type="action">
3173 <touch key="back" />
3174 <action function="page">advanced</action>
3175 </object>
3176
3177 <object type="action">
3178 <condition var1="tw_filename1" op="modified" />
3179 <actions>
3180 <action function="page">filemanageroptions</action>
3181 </actions>
3182 </object>
3183
3184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003186 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3187 <font resource="font" color="%button_text_color%" />
3188 <text>Select Folder</text>
3189 <image resource="main_button" />
3190 <actions>
3191 <action function="set">tw_filename1=tw_file_location1</action>
3192 <action function="set">tw_fm_isfolder=1</action>
3193 <action function="set">tw_fm_type=Folder</action>
3194 <action function="page">filemanageroptions</action>
3195 </actions>
3196 </object>
3197
3198 <object type="template" name="footer" />
3199 </page>
3200
3201 <page name="filemanageroptions">
3202 <object type="template" name="header" />
3203
3204 <object type="text" color="%text_color%">
3205 <font resource="font" />
3206 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3207 <text>%tw_fm_type% Selected:</text>
3208 </object>
3209
3210 <object type="text" color="%text_color%">
3211 <font resource="font" />
3212 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3213 <text>%tw_filename1%</text>
3214 </object>
3215
3216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003218 <condition var1="tw_fm_isfolder" var2="0" />
3219 <placement x="%col1_x%" y="%row2_y%" />
3220 <font resource="font" color="%button_text_color%" />
3221 <text>Copy File</text>
3222 <image resource="main_button" />
3223 <actions>
3224 <action function="set">tw_filemanager_command=cp</action>
3225 <action function="set">tw_fm_text1=Copying</action>
3226 <action function="page">choosedestinationfolder</action>
3227 </actions>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <condition var1="tw_fm_isfolder" var2="1" />
3233 <placement x="%col1_x%" y="%row2_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text>Copy Folder</text>
3236 <image resource="main_button" />
3237 <actions>
3238 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3239 <action function="set">tw_fm_text1=Copying</action>
3240 <action function="page">choosedestinationfolder</action>
3241 </actions>
3242 </object>
3243
3244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003246 <placement x="%col2_x%" y="%row2_y%" />
3247 <font resource="font" color="%button_text_color%" />
3248 <text>Move</text>
3249 <image resource="main_button" />
3250 <actions>
3251 <action function="set">tw_filemanager_command=mv</action>
3252 <action function="set">tw_fm_text1=Moving</action>
3253 <action function="page">choosedestinationfolder</action>
3254 </actions>
3255 </object>
3256
3257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003259 <placement x="%col3_x%" y="%row2_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>chmod 755</text>
3262 <image resource="main_button" />
3263 <actions>
3264 <action function="set">tw_filemanager_command=chmod 755</action>
3265 <action function="set">tw_fm_text1=chmod 755</action>
3266 <action function="set">tw_fm_text2=</action>
3267 <action function="set">tw_fm_text3=</action>
3268 <action function="set">tw_include_text3=0</action>
3269 <action function="set">tw_back=filemanageroptions</action>
3270 <action function="page">filemanagerconfirm</action>
3271 </actions>
3272 </object>
3273
3274 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003275 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003276 <placement x="%col4_x%" y="%row2_y%" />
3277 <font resource="font" color="%button_text_color%" />
3278 <text>chmod</text>
3279 <image resource="main_button" />
3280 <actions>
3281 <action function="set">tw_filemanager_rename=0000</action>
3282 <action function="set">tw_fm_text2=</action>
3283 <action function="set">tw_fm_text3=</action>
3284 <action function="set">tw_include_text3=0</action>
3285 <action function="set">tw_back=filemanageroptions</action>
3286 <action function="page">filemanagerchmod</action>
3287 </actions>
3288 </object>
3289
3290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003292 <placement x="%col1_x%" y="%row1_y%" />
3293 <font resource="font" color="%button_text_color%" />
3294 <text>Delete</text>
3295 <image resource="main_button" />
3296 <actions>
3297 <action function="set">tw_filemanager_command=rm -rf</action>
3298 <action function="set">tw_fm_text1=Deleting</action>
3299 <action function="set">tw_fm_text2=</action>
3300 <action function="set">tw_fm_text3=</action>
3301 <action function="set">tw_include_text3=0</action>
3302 <action function="set">tw_back=filemanageroptions</action>
3303 <action function="page">filemanagerconfirm</action>
3304 </actions>
3305 </object>
3306
3307 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003308 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003309 <condition var1="tw_fm_isfolder" var2="0" />
3310 <placement x="%col4_x%" y="%row1_y%" />
3311 <font resource="font" color="%button_text_color%" />
3312 <text>Rename File</text>
3313 <image resource="main_button" />
3314 <actions>
3315 <action function="set">tw_filemanager_rename=tw_selection1</action>
3316 <action function="set">tw_fm_text1=Renaming</action>
3317 <action function="set">tw_filemanager_command=mv</action>
3318 <action function="page">filemanagerrenamefile</action>
3319 </actions>
3320 </object>
3321
3322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <condition var1="tw_fm_isfolder" var2="1" />
3325 <placement x="%col4_x%" y="%row1_y%" />
3326 <font resource="font" color="%button_text_color%" />
3327 <text>Rename Folder</text>
3328 <image resource="main_button" />
3329 <actions>
3330 <action function="set">tw_filemanager_rename=tw_selection1</action>
3331 <action function="set">tw_fm_text1=Renaming</action>
3332 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3333 <action function="page">filemanagerrenamefolder</action>
3334 </actions>
3335 </object>
3336
3337 <object type="action">
3338 <touch key="home" />
3339 <action function="page">main</action>
3340 </object>
3341
3342 <object type="action">
3343 <touch key="back" />
3344 <action function="page">filemanagerlist</action>
3345 </object>
3346
3347 <object type="template" name="footer" />
3348 </page>
3349
3350 <page name="choosedestinationfolder">
3351 <object type="template" name="header" />
3352
3353 <object type="text" color="%text_color%">
3354 <font resource="font" />
3355 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3356 <text>Browse to Destination Folder & Press Select</text>
3357 </object>
3358
3359 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003360 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003361 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3362 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3363 <text>%tw_file_location2%</text>
3364 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3365 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003366 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003367 <icon folder="folder_icon" file="file_icon" />
3368 <background color="%fileselector_background%" />
3369 <filter folders="1" files="0" />
3370 <path name="tw_file_location2" default="/sdcard" />
3371 <data name="tw_filename2" />
3372 </object>
3373
3374 <object type="template" name="sort_options" />
3375
3376 <object type="action">
3377 <touch key="home" />
3378 <action function="page">main</action>
3379 </object>
3380
3381 <object type="action">
3382 <touch key="back" />
3383 <action function="page">filemanageroptions</action>
3384 </object>
3385
3386 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003387 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003388 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3389 <font resource="font" color="%button_text_color%" />
3390 <text>Select Folder</text>
3391 <image resource="main_button" />
3392 <actions>
3393 <action function="set">tw_fm_text2=to</action>
3394 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3395 <action function="set">tw_include_text3=1</action>
3396 <action function="set">tw_back=filemanageroptions</action>
3397 <action function="page">filemanagerconfirm</action>
3398 </actions>
3399 </object>
3400
3401 <object type="template" name="footer" />
3402 </page>
3403
3404 <page name="filemanagerrenamefile">
3405 <object type="template" name="header" />
3406
3407 <object type="text" color="%text_color%">
3408 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3409 <font resource="font" />
3410 <text>Please Enter a New %tw_fm_type% Name</text>
3411 </object>
3412
3413 <object type="input">
3414 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3415 <background color="%input_background_color%" />
3416 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3417 <font resource="font" color="%text_color%" />
3418 <text>%tw_filemanager_rename%</text>
3419 <data name="tw_filemanager_rename" />
3420 <restrict minlen="1" maxlen="128" />
3421 <actions>
3422 <action function="set">tw_fm_text2=to</action>
3423 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3424 <action function="set">tw_include_text3=1</action>
3425 <action function="set">tw_back=filemanageroptions</action>
3426 <action function="page">filemanagerconfirm</action>
3427 </actions>
3428 </object>
3429
3430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003432 <placement x="%col_center_x%" y="%cancel_button_y%" />
3433 <font resource="font" color="%button_text_color%" />
3434 <text>Cancel</text>
3435 <image resource="main_button" />
3436 <action function="page">filemanageroptions</action>
3437 </object>
3438
3439 <object type="template" name="keyboardtemplate" />
3440
3441 <object type="action">
3442 <touch key="home" />
3443 <action function="page">main</action>
3444 </object>
3445
3446 <object type="action">
3447 <touch key="back" />
3448 <action function="page">filemanageroptions</action>
3449 </object>
3450
3451 <object type="template" name="footer" />
3452 </page>
3453
3454 <page name="filemanagerrenamefolder">
3455 <object type="template" name="header" />
3456
3457 <object type="text" color="%text_color%">
3458 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3459 <font resource="font" />
3460 <text>Please Enter a New %tw_fm_type% Name</text>
3461 </object>
3462
3463 <object type="input">
3464 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3465 <background color="%input_background_color%" />
3466 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3467 <font resource="font" color="%text_color%" />
3468 <text>%tw_filemanager_rename%</text>
3469 <data name="tw_filemanager_rename" />
3470 <restrict minlen="1" maxlen="128" />
3471 <actions>
3472 <action function="set">tw_fm_text2=to</action>
3473 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3474 <action function="set">tw_include_text3=1</action>
3475 <action function="set">tw_back=filemanageroptions</action>
3476 <action function="page">filemanagerconfirm</action>
3477 </actions>
3478 </object>
3479
3480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003482 <placement x="%col_center_x%" y="%cancel_button_y%" />
3483 <font resource="font" color="%button_text_color%" />
3484 <text>Cancel</text>
3485 <image resource="main_button" />
3486 <action function="page">filemanageroptions</action>
3487 </object>
3488
3489 <object type="template" name="keyboardtemplate" />
3490
3491 <object type="action">
3492 <touch key="home" />
3493 <action function="page">main</action>
3494 </object>
3495
3496 <object type="action">
3497 <touch key="back" />
3498 <action function="page">filemanageroptions</action>
3499 </object>
3500
3501 <object type="template" name="footer" />
3502 </page>
3503
3504 <page name="filemanagerchmod">
3505 <object type="template" name="header" />
3506
3507 <object type="text" color="%text_color%">
3508 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3509 <font resource="font" />
3510 <text>Please Enter New Permissions</text>
3511 </object>
3512
3513 <object type="input">
3514 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3515 <background color="%input_background_color%" />
3516 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3517 <font resource="font" color="%text_color%" />
3518 <text>%tw_filemanager_rename%</text>
3519 <data name="tw_filemanager_rename" />
3520 <restrict minlen="3" maxlen="4" allow="0123456789" />
3521 <actions>
3522 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3523 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3524 <action function="set">tw_back=filemanageroptions</action>
3525 <action function="page">filemanagerconfirm</action>
3526 </actions>
3527 </object>
3528
3529 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003530 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003531 <placement x="%col_center_x%" y="%cancel_button_y%" />
3532 <font resource="font" color="%button_text_color%" />
3533 <text>Cancel</text>
3534 <image resource="main_button" />
3535 <action function="page">filemanageroptions</action>
3536 </object>
3537
3538 <object type="template" name="keyboardtemplate" />
3539
3540 <object type="action">
3541 <touch key="home" />
3542 <action function="page">main</action>
3543 </object>
3544
3545 <object type="action">
3546 <touch key="back" />
3547 <action function="page">filemanageroptions</action>
3548 </object>
3549
3550 <object type="template" name="footer" />
3551 </page>
3552
3553 <page name="filemanagerconfirm">
3554 <object type="template" name="header" />
3555
3556 <object type="text" color="%text_color%">
3557 <font resource="font" />
3558 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3559 <text>%tw_fm_text1%</text>
3560 </object>
3561
3562 <object type="text" color="%text_color%">
3563 <font resource="font" />
3564 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3565 <text>%tw_filename1%</text>
3566 </object>
3567
3568 <object type="text" color="%text_color%">
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3571 <text>%tw_fm_text2%</text>
3572 </object>
3573
3574 <object type="text" color="%text_color%">
3575 <font resource="font" />
3576 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3577 <text>%tw_fm_text3%</text>
3578 </object>
3579
3580 <object type="text" color="%text_color%">
3581 <font resource="font" />
3582 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3583 <text>Press back button to cancel.</text>
3584 </object>
3585
3586 <object type="slider">
3587 <placement x="%slider_x%" y="%slider_y%" />
3588 <resource base="slider" used="slider-used" touch="slider-touch" />
3589 <action function="page">filemanageracction</action>
3590 </object>
3591
3592 <object type="text" color="%text_color%">
3593 <font resource="font" />
3594 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3595 <text>Swipe to Confirm</text>
3596 </object>
3597
3598 <object type="action">
3599 <touch key="back" />
3600 <action function="page">%tw_back%</action>
3601 </object>
3602
3603 <object type="action">
3604 <touch key="home" />
3605 <action function="page">main</action>
3606 </object>
3607
3608 <object type="template" name="footer" />
3609 </page>
3610
3611 <page name="filemanageracction">
3612 <object type="template" name="header" />
3613
3614 <object type="text" color="%text_color%">
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3617 <text>%tw_fm_text1%</text>
3618 </object>
3619
3620 <object type="template" name="action_page_console" />
3621
3622 <object type="template" name="progress_bar" />
3623
3624 <object type="action">
3625 <conditions>
3626 <condition var1="tw_operation_state" var2="1" />
3627 <condition var1="tw_operation_status" var2="0" />
3628 </conditions>
3629 <actions>
3630 <action function="set">tw_back=filemanagerlist</action>
3631 <action function="set">tw_complete_text1=File Operation Complete</action>
3632 <action function="page">action_complete</action>
3633 </actions>
3634 </object>
3635
3636 <object type="action">
3637 <conditions>
3638 <condition var1="tw_operation_state" var2="1" />
3639 <condition var1="tw_operation_status" op="!=" var2="0" />
3640 </conditions>
3641 <actions>
3642 <action function="set">tw_complete_text1=File Operation Complete</action>
3643 <action function="page">action_complete</action>
3644 </actions>
3645 </object>
3646
3647 <object type="action">
3648 <condition var1="tw_include_text3" var2="0" />
3649 <actions>
3650 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3651 </actions>
3652 </object>
3653
3654 <object type="action">
3655 <condition var1="tw_include_text3" var2="1" />
3656 <actions>
3657 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3658 </actions>
3659 </object>
3660 </page>
3661
3662 <page name="decrypt">
3663 <object type="template" name="header" />
3664
3665 <object type="text" color="%text_color%">
3666 <font resource="font" />
3667 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3668 <text>Please Enter Your Password</text>
3669 </object>
3670
3671 <object type="input">
3672 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3673 <background color="%input_background_color%" />
3674 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3675 <font resource="font" color="%text_color%" />
3676 <text>%tw_crypto_display%</text>
3677 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3678 <restrict minlen="1" maxlen="254" />
3679 <actions>
3680 <action function="page">trydecrypt</action>
3681 </actions>
3682 </object>
3683
3684 <object type="text" color="%text_fail_color%">
3685 <condition var1="tw_password_fail" var2="1" />
3686 <font resource="font" />
3687 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3688 <text>Password Failed, Please Try Again</text>
3689 </object>
3690
3691 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003692 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003693 <placement x="%col_center_x%" y="%cancel_button_y%" />
3694 <font resource="font" color="%button_text_color%" />
3695 <text>Cancel</text>
3696 <image resource="main_button" />
3697 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003698 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003699 <action function="page">main</action>
3700 </actions>
3701 </object>
3702
3703 <object type="template" name="keyboardtemplate" />
3704
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 <object type="template" name="footer" />
3706 </page>
3707
3708 <page name="trydecrypt">
3709 <object type="template" name="header" />
3710
3711 <object type="text" color="%text_color%">
3712 <font resource="font" />
3713 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3714 <text>Trying Decryption with Your Password</text>
3715 </object>
3716
3717 <object type="template" name="action_page_console" />
3718
3719 <object type="template" name="progress_bar" />
3720
3721 <object type="action">
3722 <action function="decrypt"></action>
3723 </object>
3724
3725 <object type="action">
3726 <conditions>
3727 <condition var1="tw_operation_state" var2="1" />
3728 <condition var1="tw_operation_status" op="!=" var2="0" />
3729 </conditions>
3730 <actions>
3731 <action function="set">tw_password_fail=1</action>
3732 <action function="page">decrypt</action>
3733 </actions>
3734 </object>
3735
3736 <object type="action">
3737 <conditions>
3738 <condition var1="tw_operation_state" var2="1" />
3739 <condition var1="tw_operation_status" op="=" var2="0" />
3740 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003741 <actions>
3742 <action function="set">tw_page_done=1</action>
3743 <action function="page">main</action>
3744 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 </object>
3746 </page>
3747
3748 <page name="terminalfolder">
3749 <object type="template" name="header" />
3750
3751 <object type="text" color="%text_color%">
3752 <font resource="font" />
3753 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3754 <text>Browse to Starting Folder</text>
3755 </object>
3756
3757 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003758 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003759 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3760 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3761 <text>%tw_terminal_location%</text>
3762 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3763 <sort name="tw_gui_sort_order" />
3764 <icon folder="folder_icon" file="file_icon" />
3765 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003766 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003767 <filter folders="1" files="0" />
3768 <path name="tw_terminal_location" default="/" />
3769 <data name="tw_terminal" />
3770 <selection name="tw_terminal_selection" />
3771 </object>
3772
3773 <object type="template" name="sort_options" />
3774
3775 <object type="action">
3776 <touch key="home" />
3777 <action function="page">main</action>
3778 </object>
3779
3780 <object type="action">
3781 <touch key="back" />
3782 <action function="page">advanced</action>
3783 </object>
3784
3785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003787 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3788 <font resource="font" color="%button_text_color%" />
3789 <text>Select Folder</text>
3790 <image resource="main_button" />
3791 <actions>
3792 <action function="page">terminalcommand</action>
3793 </actions>
3794 </object>
3795
3796 <object type="template" name="footer" />
3797 </page>
3798
3799 <page name="terminalcommand">
3800 <background color="#000000FF" />
3801
3802 <object type="console">
3803 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3804 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3805 <font resource="fixed" />
3806 </object>
3807
3808 <object type="text" color="%text_color%">
3809 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3810 <font resource="font" />
3811 <text>Starting Path: %tw_terminal_location%</text>
3812 </object>
3813
3814 <object type="input">
3815 <condition var1="tw_terminal_state" var2="0" />
3816 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3817 <background color="%input_background_color%" />
3818 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3819 <font resource="font" color="%text_color%" />
3820 <text>%tw_terminal_command%</text>
3821 <data name="tw_terminal_command" />
3822 <restrict minlen="1" />
3823 <action function="terminalcommand">%tw_terminal_command%</action>
3824 </object>
3825
3826 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003827 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003828 <condition var1="tw_terminal_state" var2="1" />
3829 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3830 <font resource="font" color="%button_text_color%" />
3831 <text>KILL</text>
3832 <image resource="medium_button" />
3833 <action function="killterminal"></action>
3834 </object>
3835
3836 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003837 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003838 <placement x="%home_button_x%" y="%terminal_button_y%" />
3839 <font resource="font" color="%button_text_color%" />
3840 <text></text>
3841 <image resource="home_icon" />
3842 <condition var1="tw_busy" var2="0" />
3843 <action function="key">home</action>
3844 </object>
3845
3846 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003847 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003848 <placement x="%back_button_x%" y="%terminal_button_y%" />
3849 <font resource="font" color="%button_text_color%" />
3850 <text></text>
3851 <image resource="back_icon" />
3852 <condition var1="tw_busy" var2="0" />
3853 <action function="key">back</action>
3854 </object>
3855
3856 <object type="action">
3857 <touch key="power" />
3858 <action function="overlay">lock</action>
3859 </object>
3860
3861 <object type="template" name="keyboardtemplate" />
3862
3863 <object type="action">
3864 <touch key="home" />
3865 <action function="page">main</action>
3866 </object>
3867
3868 <object type="action">
3869 <touch key="back" />
3870 <action function="page">terminalfolder</action>
3871 </object>
3872 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003873
3874 <page name="sideload">
3875 <object type="template" name="header" />
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3880 <text>ADB Sideload</text>
3881 </object>
3882
3883 <object type="checkbox">
3884 <placement x="%col1_x%" y="%row3_text_y%" />
3885 <font resource="font" color="%text_color%" />
3886 <text>Wipe Dalvik Cache.</text>
3887 <data variable="tw_wipe_dalvik" />
3888 <image checked="checkbox_true" unchecked="checkbox_false" />
3889 </object>
3890
3891 <object type="checkbox">
3892 <placement x="%col1_x%" y="%row4_text_y%" />
3893 <font resource="font" color="%text_color%" />
3894 <text>Wipe Cache.</text>
3895 <data variable="tw_wipe_cache" />
3896 <image checked="checkbox_true" unchecked="checkbox_false" />
3897 </object>
3898
3899 <object type="slider">
3900 <placement x="%slider_x%" y="%slider_y%" />
3901 <resource base="slider" used="slider-used" touch="slider-touch" />
3902 <actions>
3903 <action function="set">tw_back=advanced</action>
3904 <action function="set">tw_action=adbsideload</action>
3905 <action function="set">tw_action_text1=ADB Sideload</action>
3906 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3907 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3908 <action function="set">tw_has_cancel=1</action>
3909 <action function="set">tw_show_reboot=1</action>
3910 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3911 <action function="page">action_page</action>
3912 </actions>
3913 </object>
3914
3915 <object type="text" color="%text_color%">
3916 <font resource="font" />
3917 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3918 <text>Swipe to Start Sideload</text>
3919 </object>
3920
3921 <object type="action">
3922 <touch key="home" />
3923 <action function="page">main</action>
3924 </object>
3925
3926 <object type="action">
3927 <touch key="back" />
3928 <action function="page">advanced</action>
3929 </object>
3930
3931 <object type="template" name="footer" />
3932 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003933
3934 <page name="installsu">
3935 <object type="template" name="header" />
3936
3937 <object type="text" color="%text_color%">
3938 <font resource="font" />
3939 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3940 <text>Install SuperSU?</text>
3941 </object>
3942
3943 <object type="text" color="%text_color%">
3944 <font resource="font" />
3945 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3946 <text>Your device does not appear to be rooted.</text>
3947 </object>
3948
3949 <object type="text" color="%text_color%">
3950 <font resource="font" />
3951 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3952 <text>Install SuperSU now? This will root your device.</text>
3953 </object>
3954
3955 <object type="button">
3956 <highlight color="%highlight_color%" />
3957 <placement x="%col_center_x%" y="%row2_medium_y%" />
3958 <font resource="font" color="%button_text_color%" />
3959 <text>Do Not Install</text>
3960 <image resource="main_button" />
3961 <action function="set">tw_page_done=1</action>
3962 </object>
3963
3964 <object type="slider">
3965 <placement x="%slider_x%" y="%slider_y%" />
3966 <resource base="slider" used="slider-used" touch="slider-touch" />
3967 <actions>
3968 <action function="set">tw_action=installsu</action>
3969 <action function="set">tw_action_text1=Installing SuperSU</action>
3970 <action function="set">tw_action_text2=</action>
3971 <action function="page">singleaction_page</action>
3972 </actions>
3973 </object>
3974
3975 <object type="text" color="%text_color%">
3976 <font resource="font" />
3977 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3978 <text>Swipe to Install</text>
3979 </object>
3980 </page>
3981
3982 <page name="fixsu">
3983 <object type="template" name="header" />
3984
3985 <object type="text" color="%text_color%">
3986 <font resource="font" />
3987 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3988 <text>Fix Superuser Permissions?</text>
3989 </object>
3990
3991 <object type="text" color="%text_color%">
3992 <font resource="font" />
3993 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3994 <text>Root permissions appear to be lost.</text>
3995 </object>
3996
3997 <object type="text" color="%text_color%">
3998 <font resource="font" />
3999 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4000 <text>Fix root permissions now?</text>
4001 </object>
4002
4003 <object type="text" color="%text_color%">
4004 <font resource="font" />
4005 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4006 <text>(Fixes permissions on su binary & app)</text>
4007 </object>
4008
4009 <object type="button">
4010 <highlight color="%highlight_color%" />
4011 <placement x="%col_center_x%" y="%row2_medium_y%" />
4012 <font resource="font" color="%button_text_color%" />
4013 <text>Do Not Fix</text>
4014 <image resource="main_button" />
4015 <action function="set">tw_page_done=1</action>
4016 </object>
4017
4018 <object type="slider">
4019 <placement x="%slider_x%" y="%slider_y%" />
4020 <resource base="slider" used="slider-used" touch="slider-touch" />
4021 <actions>
4022 <action function="set">tw_action=fixsu</action>
4023 <action function="set">tw_action_text1=Fixing Root Permissions</action>
4024 <action function="set">tw_action_text2=</action>
4025 <action function="page">singleaction_page</action>
4026 </actions>
4027 </object>
4028
4029 <object type="text" color="%text_color%">
4030 <font resource="font" />
4031 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4032 <text>Swipe to Fix Root</text>
4033 </object>
4034 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004035 </pages>
4036</recovery>