blob: b44c23d404af6ca14355e49a2bde011e9a5978a9 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="800" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
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="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="183" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="240" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="290" />
53 <variable name="row3_y" value="450" />
54 <variable name="row4_y" value="610" />
55 <variable name="row_queue_y" value="510" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="170" />
59 <variable name="row3_text_y" value="200" />
60 <variable name="row4_text_y" value="230" />
61 <variable name="row5_text_y" value="260" />
62 <variable name="row6_text_y" value="290" />
63 <variable name="row7_text_y" value="320" />
64 <variable name="row8_text_y" value="350" />
65 <variable name="row9_text_y" value="380" />
66 <variable name="row10_text_y" value="410" />
67 <variable name="row11_text_y" value="440" />
Dees_Troyb46a6842012-09-25 11:06:46 -040068 <variable name="row12_text_y" value="470" />
69 <variable name="row13_text_y" value="500" />
70 <variable name="row14_text_y" value="530" />
71 <variable name="row15_text_y" value="560" />
72 <variable name="row16_text_y" value="590" />
73 <variable name="row17_text_y" value="620" />
74 <variable name="row18_text_y" value="650" />
Dees_Troy51a0e822012-09-05 15:24:24 -040075 <variable name="zip_status_y" value="585" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="580" />
78 <variable name="tz_current_y" value="730" />
79 <variable name="col_progressbar_x" value="114" />
80 <variable name="row_progressbar_y" value="720" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="125" />
83 <variable name="col3_medium_x" value="240" />
84 <variable name="col4_medium_x" value="355" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="205" />
87 <variable name="row3_medium_y" value="280" />
88 <variable name="row4_medium_y" value="355" />
89 <variable name="row5_medium_y" value="430" />
90 <variable name="row6_medium_y" value="505" />
91 <variable name="row7_medium_y" value="580" />
92 <variable name="slider_x" value="58" />
93 <variable name="slider_y" value="680" />
94 <variable name="slider_text_y" value="721" />
95 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="766" />
102 <variable name="back_button_x" value="413" />
103 <variable name="back_button_y" value="766" />
104 <variable name="sort_asc_text_y" value="685" />
105 <variable name="sort_asc_button_y" value="685" />
106 <variable name="sort_desc_text_y" value="725" />
107 <variable name="sort_desc_button_y" value="725" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="240" />
110 <variable name="sort_col3_button_x" value="300" />
111 <variable name="input_width" value="460" />
112 <variable name="input_height" value="40" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="480" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="320" />
122 <variable name="console_install_height" value="440" />
123 <variable name="console_installdone_height" value="300" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="470" />
126 <variable name="fileselector_install_height" value="510" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600134 <variable name="fileselector_highlight_color" value="#505050" />
135 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_spacing" value="18" />
137 <variable name="listbox_x" value="5" />
138 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600139 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400140 <variable name="listbox_background" value="#303030" />
141 <variable name="listbox_spacing" value="18" />
142 <variable name="sd_plus_x" value="280" />
143 <variable name="sdext_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400144 <variable name="sdext_text_y" value="145" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="sdswap_button_y" value="185" />
146 <variable name="sdswap_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400147 <variable name="sdswap_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="sdfilesystem_text_y" value="240" />
149 <variable name="sdfilesystem_button_y" value="280" />
150 <variable name="lock_x" value="40" />
151 <variable name="lock_y" value="200" />
152 <variable name="filemanager_select_x" value="365" />
153 <variable name="filemanager_select_y" value="690" />
154 <variable name="backup_name_y" value="350" />
155 <variable name="terminal_console_height" value="370" />
156 <variable name="terminal_text_y" value="390" />
157 <variable name="terminal_button_y" value="380" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="row_dst_text_y" value="440" />
159 <variable name="row_offset_text_y" value="480" />
160 <variable name="row_offset_medium_y" value="505" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400161 <variable name="exclamation_x" value="140" />
162 <variable name="exclamation_y" value="300" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400163 </variables>
164
165 <templates>
166 <template name="header">
167 <background color="%backgroundcolor%" />
168
169 <object type="image">
170 <image resource="top_bar" />
171 <placement x="0" y="0" />
172 </object>
173
174 <object type="text" color="%text_color%">
175 <font resource="font" />
176 <placement x="100" y="10" />
177 <text>Team Win Recovery Project v%tw_version%</text>
178 </object>
179
180 <object type="text" color="%text_color%">
181 <condition var1="tw_simulate_actions" var2="1" />
182 <font resource="font" />
183 <placement x="100" y="40" />
184 <text>SIMULATING ACTIONS</text>
185 </object>
186
187 <object type="text" color="%text_color%">
188 <font resource="font" />
189 <placement x="100" y="70" />
190 <text>%tw_time%</text>
191 </object>
192
193 <object type="text" color="%text_color%">
194 <font resource="font" />
195 <placement x="250" y="70" />
196 <conditions>
197 <condition var1="tw_no_battery_percent" var2="0" />
198 <condition var1="tw_battery" op=">" var2="0" />
199 <condition var1="tw_battery" op="<" var2="101" />
200 </conditions>
201 <text>Battery: %tw_battery%</text>
202 </object>
203
204 <object type="button">
205 <placement x="%home_button_x%" y="%home_button_y%" />
206 <font resource="font" color="%button_text_color%" />
207 <text></text>
208 <image resource="home_icon" />
209 <condition var1="tw_busy" var2="0" />
210 <action function="key">home</action>
211 </object>
212
213 <object type="button">
214 <placement x="%back_button_x%" y="%back_button_y%" />
215 <font resource="font" color="%button_text_color%" />
216 <text></text>
217 <image resource="back_icon" />
218 <condition var1="tw_busy" var2="0" />
219 <action function="key">back</action>
220 </object>
221
222 <object type="action">
223 <touch key="power" />
224 <action function="overlay">lock</action>
225 </object>
226 </template>
227
228 <template name="progress_bar">
229 <object type="progressbar">
230 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
231 <resource empty="progress_empty" full="progress_full" />
232 <data name="ui_progress" />
233 </object>
234
235 <object type="animation">
236 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
237 <resource name="progress" />
238 <speed fps="15" render="2" />
239 <loop frame="1" />
240 </object>
241 </template>
242
243 <template name="action_page_console">
244 <object type="console">
245 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
246 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
247 <font resource="fixed" />
248 </object>
249 </template>
250
251 <template name="sort_options">
252 <object type="text" color="%text_color%">
253 <font resource="font" />
254 <placement x="%col1_x%" y="%sort_asc_text_y%" />
255 <text>Sort Ascending:</text>
256 </object>
257
258 <object type="button">
259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="UItext" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
267 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
268 <font resource="UItext" color="%button_text_color%" />
269 <text>Date</text>
270 <image resource="sort_button" />
271 <action function="set">tw_gui_sort_order=2</action>
272 </object>
273
274 <object type="button">
275 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
276 <font resource="UItext" color="%button_text_color%" />
277 <text>Size</text>
278 <image resource="sort_button" />
279 <action function="set">tw_gui_sort_order=3</action>
280 </object>
281
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%col1_x%" y="%sort_desc_text_y%" />
285 <text>Sort Descending:</text>
286 </object>
287
288 <object type="button">
289 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
290 <font resource="UItext" color="%button_text_color%" />
291 <text>Name</text>
292 <image resource="sort_button" />
293 <action function="set">tw_gui_sort_order=-1</action>
294 </object>
295
296 <object type="button">
297 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
298 <font resource="UItext" color="%button_text_color%" />
299 <text>Date</text>
300 <image resource="sort_button" />
301 <action function="set">tw_gui_sort_order=-2</action>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
306 <font resource="UItext" color="%button_text_color%" />
307 <text>Size</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=-3</action>
310 </object>
311 </template>
312
313 <template name="footer">
314 <object type="console">
315 <slideout resource="slideout" x="210" y="760" />
316 <placement x="%console_x%" y="0" w="%console_width%" h="760" />
317 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
318 <font resource="fixed" />
319 </object>
320 </template>
321
322 <template name="keyboardtemplate">
323 <object type="keyboard">
324 <placement x="0" y="450" />
325 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600326 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400327 <layout1>
328 <keysize height="78" width="48" />
329 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
330 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
331 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
332 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
333 </layout1>
334 <layout2>
335 <keysize height="78" width="48" />
336 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
337 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
338 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
339 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
340 </layout2>
341 <layout3>
342 <keysize height="78" width="48" />
343 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
344 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
345 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
346 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
347 </layout3>
348 <layout4>
349 <keysize height="78" width="48" />
350 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
351 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
352 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
353 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
354 </layout4>
355 </object>
356 </template>
357 </templates>
358
359 <pages>
360 <page name="main">
361 <object type="action">
362 <actions>
363 <action function="set">tw_clear_destination=main2</action>
364 <action function="page">clear_vars</action>
365 </actions>
366 </object>
367 </page>
368
369 <page name="main2">
370 <object type="template" name="header" />
371
372 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600373 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <placement x="%col1_x%" y="%row1_y%" />
375 <font resource="font" color="%button_text_color%" />
376 <text>Install</text>
377 <image resource="main_button" />
378 <actions>
379 <action function="queueclear"></action>
380 <action function="page">install</action>
381 </actions>
382 </object>
383
384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400386 <placement x="%col2_x%" y="%row1_y%" />
387 <font resource="font" color="%button_text_color%" />
388 <text>Wipe</text>
389 <image resource="main_button" />
390 <action function="page">wipe</action>
391 </object>
392
393 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600394 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400395 <placement x="%col1_x%" y="%row2_y%" />
396 <font resource="font" color="%button_text_color%" />
397 <text>Backup</text>
398 <image resource="main_button" />
399 <action function="page">backup</action>
400 </object>
401
402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400404 <placement x="%col2_x%" y="%row2_y%" />
405 <font resource="font" color="%button_text_color%" />
406 <text>Restore</text>
407 <image resource="main_button" />
408 <action function="page">restore</action>
409 </object>
410
411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400413 <placement x="%col1_x%" y="%row3_y%" />
414 <font resource="font" color="%button_text_color%" />
415 <text>Mount</text>
416 <image resource="main_button" />
417 <action function="page">mount</action>
418 </object>
419
420 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600421 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400422 <placement x="%col2_x%" y="%row3_y%" />
423 <font resource="font" color="%button_text_color%" />
424 <text>Settings</text>
425 <image resource="main_button" />
426 <action function="page">settings</action>
427 </object>
428
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row4_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Advanced</text>
435 <image resource="main_button" />
436 <action function="page">advanced</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row4_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Reboot</text>
444 <image resource="main_button" />
445 <action function="page">reboot</action>
446 </object>
447
448 <object type="template" name="footer" />
449 </page>
450
451 <page name="install">
452 <object type="template" name="header" />
453
454 <object type="text" color="%text_color%">
455 <font resource="font" />
456 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
457 <text>Select Zip to Install</text>
458 </object>
459
460 <object type="button">
461 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400462 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <conditions>
464 <condition var1="tw_has_dual_storage" var2="1" />
465 <condition var1="tw_use_external_storage" var2="1" />
466 </conditions>
467 <text>Use external SD</text>
468 <image resource="radio_true" />
469 <action function="togglestorage">external</action>
470 </object>
471
472 <object type="button">
473 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400474 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <conditions>
476 <condition var1="tw_has_dual_storage" var2="1" />
477 <condition var1="tw_use_external_storage" var2="0" />
478 </conditions>
479 <text>Use external SD</text>
480 <image resource="radio_false" />
481 <action function="togglestorage">external</action>
482 </object>
483
484 <object type="button">
485 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400486 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400487 <conditions>
488 <condition var1="tw_has_dual_storage" var2="1" />
489 <condition var1="tw_use_external_storage" var2="1" />
490 </conditions>
491 <text>Use internal storage</text>
492 <image resource="radio_false" />
493 <action function="togglestorage">internal</action>
494 </object>
495
496 <object type="button">
497 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400498 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <conditions>
500 <condition var1="tw_has_dual_storage" var2="1" />
501 <condition var1="tw_use_external_storage" var2="0" />
502 </conditions>
503 <text>Use internal storage</text>
504 <image resource="radio_true" />
505 <action function="togglestorage">internal</action>
506 </object>
507
508 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600509 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400510 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
511 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
512 <text>%tw_zip_location%</text>
513 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
514 <sort name="tw_gui_sort_order" />
515 <icon folder="folder_icon" file="file_icon" />
516 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600517 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <filter extn=".zip" folders="1" files="1" />
519 <path name="tw_zip_location" default="/sdcard" />
520 <data name="tw_filename" />
521 <selection name="tw_file" />
522 </object>
523
524 <object type="template" name="sort_options" />
525
526 <object type="action">
527 <condition var1="tw_filename" op="modified" />
528 <actions>
529 <action function="queuezip"></action>
530 <action function="page">flash_confirm</action>
531 </actions>
532 </object>
533
534 <object type="action">
535 <touch key="back" />
536 <action function="page">main</action>
537 </object>
538
539 <object type="action">
540 <touch key="home" />
541 <action function="page">main</action>
542 </object>
543
544 <object type="template" name="footer" />
545 </page>
546
547 <page name="flash_confirm">
548 <object type="template" name="header" />
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
553 <text>This operation may install incompatible</text>
554 </object>
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
559 <text>software and render your device unusable.</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
565 <text>Folder:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
571 <text>%tw_zip_location%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
577 <text>File to flash:</text>
578 </object>
579
580 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400581 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400582 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
583 <text>%tw_file%</text>
584 </object>
585
586 <object type="text" color="%text_color%">
587 <font resource="font" />
588 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
589 <text>Press back to cancel adding this zip.</text>
590 </object>
591
592 <object type="checkbox">
593 <placement x="%col1_x%" y="%row8_text_y%" />
594 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400595 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400596 <data variable="tw_signed_zip_verify" />
597 <image checked="checkbox_true" unchecked="checkbox_false" />
598 </object>
599
600 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <condition var1="tw_has_injecttwrp" var2="1" />
602 <placement x="%col1_x%" y="%row10_text_y%" />
603 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400604 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400605 <data variable="tw_inject_after_zip" />
606 <image checked="checkbox_true" unchecked="checkbox_false" />
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400611 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400612 <text>File %tw_zip_queue_count% of max of 10</text>
613 </object>
614
615 <object type="slider">
616 <placement x="%slider_x%" y="%slider_y%" placement="5" />
617 <resource base="slider" used="slider-used" touch="slider-touch" />
618 <action function="flash">flash_zip</action>
619 </object>
620
621 <object type="text" color="%text_color%">
622 <font resource="font" />
623 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
624 <text>Swipe to Confirm Flash</text>
625 </object>
626
627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400629 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
630 <placement x="%col1_x%" y="%row_queue_y%" />
631 <font resource="font" color="%button_text_color%" />
632 <text>Add More Zips</text>
633 <image resource="main_button" />
634 <action function="page">install</action>
635 </object>
636
637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400639 <placement x="%col2_x%" y="%row_queue_y%" />
640 <font resource="font" color="%button_text_color%" />
641 <text>Clear Zip Queue</text>
642 <image resource="main_button" />
643 <actions>
644 <action function="queueclear"></action>
645 <action function="page">install</action>
646 </actions>
647 </object>
648
649 <object type="action">
650 <touch key="back" />
651 <actions>
652 <action function="cancelzip"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="home" />
659 <action function="page">main</action>
660 </object>
661
662 <object type="template" name="footer" />
663 </page>
664
665 <page name="flash_zip">
666 <object type="template" name="header" />
667
668 <object type="console">
669 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
670 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
671 <font resource="fixed" />
672 </object>
673
674 <object type="text" color="%text_color%">
675 <font resource="font" />
676 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
677 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
678 </object>
679
680 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400681 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400682 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
683 <text>%tw_filename%</text>
684 </object>
685
686 <object type="template" name="progress_bar" />
687
688 <object type="action">
689 <condition var1="tw_operation_state" var2="1" />
690 <action function="page">flash_done</action>
691 </object>
692 </page>
693
694 <page name="flash_done">
695 <object type="template" name="header" />
696
697 <object type="text" color="%text_color%">
698 <font resource="font" />
699 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
700 <text>Zip Install Complete</text>
701 </object>
702
703 <object type="console">
704 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
705 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
706 <font resource="fixed" />
707 </object>
708
709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400711 <placement x="%col1_x%" y="%row4_y%" />
712 <font resource="font" color="%button_text_color%" />
713 <text>Wipe cache/dalvik</text>
714 <image resource="main_button" />
715 <actions>
716 <action function="set">tw_back=flash_done</action>
717 <action function="set">tw_action=wipe</action>
718 <action function="set">tw_action_param=/cache</action>
719 <action function="set">tw_has_action2=1</action>
720 <action function="set">tw_action2=wipe</action>
721 <action function="set">tw_action2_param=dalvik</action>
722 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
723 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
724 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
725 <action function="set">tw_slider_text=Swipe to Wipe</action>
726 <action function="page">confirm_action</action>
727 </actions>
728 </object>
729
730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400732 <placement x="%col2_x%" y="%row4_y%" />
733 <font resource="font" color="%button_text_color%" />
734 <text>Reboot System</text>
735 <image resource="main_button" />
736 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400737 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <action function="set">tw_action=reboot</action>
739 <action function="set">tw_action_param=system</action>
740 <action function="set">tw_has_action2=0</action>
741 <action function="set">tw_text1=No OS Installed! Are you</action>
742 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_text3=</action>
744 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400746 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_complete_text1=Rebooting...</action>
748 <action function="set">tw_slider_text=Swipe to Reboot</action>
749 <action function="page">rebootcheck</action>
750 </actions>
751 </object>
752
753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <placement x="%col_center_x%" y="%row3_y%" />
756 <font resource="font" color="%button_text_color%" />
757 <text>Home</text>
758 <image resource="main_button" />
759 <actions>
760 <action function="set">tw_clear_destination=main2</action>
761 <action function="page">clear_vars</action>
762 </actions>
763 </object>
764
765 <object type="text" color="%text_fail_color%">
766 <condition var1="tw_operation_status" op="!=" var2="0" />
767 <font resource="font" />
768 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
769 <text>Failed</text>
770 </object>
771
772 <object type="text" color="%text_success_color%">
773 <condition var1="tw_operation_status" var2="0" />
774 <font resource="font" />
775 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
776 <text>Successful</text>
777 </object>
778
779 <object type="action">
780 <touch key="back" />
781 <actions>
782 <action function="set">tw_clear_destination=install</action>
783 <action function="page">clear_vars</action>
784 </actions>
785 </object>
786
787 <object type="action">
788 <touch key="home" />
789 <actions>
790 <action function="set">tw_clear_destination=main2</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </object>
794 </page>
795
796 <page name="clear_vars">
797 <object type="action">
798 <action function="set">tw_operation_state=0</action>
799 <action function="set">tw_text1=</action>
800 <action function="set">tw_text2=</action>
801 <action function="set">tw_text3=</action>
802 <action function="set">tw_text4=</action>
803 <action function="set">tw_action_text1=</action>
804 <action function="set">tw_action_text2=</action>
805 <action function="set">tw_action_param=</action>
806 <action function="set">tw_has_action2=0</action>
807 <action function="set">tw_action2=</action>
808 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400809 <action function="set">tw_has_cancel=0</action>
810 <action function="set">tw_cancel_action=</action>
811 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400812 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400813 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400814 <action function="page">%tw_clear_destination%</action>
815 </object>
816 </page>
817
818 <page name="confirm_action">
819 <object type="template" name="header" />
820
Dees_Troyce2fe772012-09-28 12:34:33 -0400821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600822 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400823 <condition var1="tw_show_exclamation" var2="1" />
824 <placement x="%exclamation_x%" y="%exclamation_y%" />
825 <font resource="font" color="%button_text_color%" />
826 <text></text>
827 <image resource="exclamation" />
828 </object>
829
Dees_Troy51a0e822012-09-05 15:24:24 -0400830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
833 <text>%tw_text1%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
839 <text>%tw_text2%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
845 <text>%tw_text3%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
851 <text>%tw_text4%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400856 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400857 <text>Press back button to cancel.</text>
858 </object>
859
860 <object type="slider">
861 <placement x="%slider_x%" y="%slider_y%" />
862 <resource base="slider" used="slider-used" touch="slider-touch" />
863 <action function="page">action_page</action>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
869 <text>%tw_slider_text%</text>
870 </object>
871
872 <object type="action">
873 <touch key="back" />
874 <actions>
875 <action function="set">tw_clear_destination=%tw_back%</action>
876 <action function="page">clear_vars</action>
877 </actions>
878 </object>
879
880 <object type="action">
881 <touch key="home" />
882 <action function="page">main</action>
883 </object>
884
885 <object type="template" name="footer" />
886 </page>
887
888 <page name="action_page">
889 <object type="template" name="header" />
890
891 <object type="text" color="%text_color%">
892 <font resource="font" />
893 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
894 <text>%tw_action_text1%</text>
895 </object>
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
900 <text>%tw_action_text2%</text>
901 </object>
902
903 <object type="template" name="action_page_console" />
904
Dees_Troybbb21012012-09-20 15:59:46 -0400905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600906 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400907 <condition var1="tw_has_cancel" var2="1" />
908 <placement x="%col_center_medium_x%" y="%row4_y%" />
909 <font resource="font" color="%button_text_color%" />
910 <text>Cancel</text>
911 <image resource="medium_button" />
912 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
913 </object>
914
Dees_Troy51a0e822012-09-05 15:24:24 -0400915 <object type="template" name="progress_bar" />
916
917 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400918 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400919 <actions>
920 <action function="page">action_complete</action>
921 </actions>
922 </object>
923
924 <object type="action">
925 <condition var1="tw_has_action2" var2="0" />
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 </actions>
929 </object>
930
931 <object type="action">
932 <condition var1="tw_has_action2" var2="1" />
933 <actions>
934 <action function="%tw_action%">%tw_action_param%</action>
935 <action function="%tw_action2%">%tw_action2_param%</action>
936 </actions>
937 </object>
938 </page>
939
940 <page name="action_complete">
941 <object type="template" name="header" />
942
943 <object type="text" color="%text_color%">
944 <font resource="font" />
945 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
946 <text>%tw_complete_text1%</text>
947 </object>
948
949 <object type="text" color="%text_fail_color%">
950 <condition var1="tw_operation_status" op="!=" var2="0" />
951 <font resource="font" />
952 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
953 <text>Failed</text>
954 </object>
955
956 <object type="text" color="%text_success_color%">
957 <condition var1="tw_operation_status" var2="0" />
958 <font resource="font" />
959 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
960 <text>Successful</text>
961 </object>
962
963 <object type="template" name="action_page_console" />
964
965 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600966 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400967 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400968 <placement x="%col_center_x%" y="%row4_y%" />
969 <font resource="font" color="%button_text_color%" />
970 <text>Back</text>
971 <image resource="main_button" />
972 <actions>
973 <action function="set">tw_clear_destination=%tw_back%</action>
974 <action function="page">clear_vars</action>
975 </actions>
976 </object>
977
Dees_Troya3f81542012-10-08 10:58:53 -0400978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600979 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400980 <condition var1="tw_show_reboot" var2="1" />
981 <placement x="%col_center_x%" y="%row4_y%" />
982 <font resource="font" color="%button_text_color%" />
983 <text>Reboot System</text>
984 <image resource="main_button" />
985 <actions>
986 <action function="set">tw_back=main2</action>
987 <action function="set">tw_action=reboot</action>
988 <action function="set">tw_action_param=system</action>
989 <action function="set">tw_has_action2=0</action>
990 <action function="set">tw_text1=No OS Installed! Are you</action>
991 <action function="set">tw_text2=sure you wish to reboot?</action>
992 <action function="set">tw_text3=</action>
993 <action function="set">tw_text4=</action>
994 <action function="set">tw_action_text1=Rebooting...</action>
995 <action function="set">tw_action_text2=</action>
996 <action function="set">tw_complete_text1=Rebooting...</action>
997 <action function="set">tw_slider_text=Swipe to Reboot</action>
998 <action function="page">rebootcheck</action>
999 </actions>
1000 </object>
1001
Dees_Troy51a0e822012-09-05 15:24:24 -04001002 <object type="action">
1003 <touch key="home" />
1004 <actions>
1005 <action function="set">tw_clear_destination=main2</action>
1006 <action function="page">clear_vars</action>
1007 </actions>
1008 </object>
1009
1010 <object type="action">
1011 <touch key="back" />
1012 <actions>
1013 <action function="set">tw_clear_destination=%tw_back%</action>
1014 <action function="page">clear_vars</action>
1015 </actions>
1016 </object>
1017 </page>
1018
1019 <page name="filecheck">
1020 <object type="action">
1021 <action function="fileexists">%tw_filecheck%</action>
1022 </object>
1023
1024 <object type="action">
1025 <conditions>
1026 <condition var1="tw_operation_state" var2="1" />
1027 <condition var1="tw_operation_status" var2="0" />
1028 </conditions>
1029 <actions>
1030 <action function="set">tw_fileexists=1</action>
1031 <action function="page">%tw_existpage%</action>
1032 </actions>
1033 </object>
1034
1035 <object type="action">
1036 <conditions>
1037 <condition var1="tw_operation_state" var2="1" />
1038 <condition var1="tw_operation_status" var2="1" />
1039 </conditions>
1040 <actions>
1041 <action function="set">tw_fileexists=0</action>
1042 <action function="page">%tw_notexistpage%</action>
1043 </actions>
1044 </object>
1045 </page>
1046
1047 <page name="rebootcheck">
1048 <object type="action">
1049 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1050 <action function="reboot">%tw_action_param%</action>
1051 </object>
1052
1053 <object type="action">
1054 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1055 <action function="page">confirm_action</action>
1056 </object>
1057 </page>
1058
1059 <page name="wipe">
1060 <object type="template" name="header" />
1061
1062 <object type="text" color="%text_color%">
1063 <font resource="font" />
1064 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1065 <text>Wipe Menu</text>
1066 </object>
1067
1068 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001069 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001070 <placement x="%col1_x%" y="%row1_y%" />
1071 <font resource="font" color="%button_text_color%" />
1072 <text>Cache</text>
1073 <image resource="main_button" />
1074 <actions>
1075 <action function="set">tw_back=wipe</action>
1076 <action function="set">tw_action=wipe</action>
1077 <action function="set">tw_action_param=/cache</action>
1078 <action function="set">tw_text1=Wipe Cache?</action>
1079 <action function="set">tw_action_text1=Wiping Cache...</action>
1080 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1081 <action function="set">tw_slider_text=Swipe to Wipe</action>
1082 <action function="page">confirm_action</action>
1083 </actions>
1084 </object>
1085
1086 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001087 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001088 <placement x="%col2_x%" y="%row1_y%" />
1089 <font resource="font" color="%button_text_color%" />
1090 <text>Dalvik Cache</text>
1091 <image resource="main_button" />
1092 <actions>
1093 <action function="set">tw_back=wipe</action>
1094 <action function="set">tw_action=wipe</action>
1095 <action function="set">tw_action_param=dalvik</action>
1096 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1097 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1098 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1099 <action function="set">tw_slider_text=Swipe to Wipe</action>
1100 <action function="page">confirm_action</action>
1101 </actions>
1102 </object>
1103
1104 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001105 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001106 <placement x="%col1_x%" y="%row2_y%" />
1107 <font resource="font" color="%button_text_color%" />
1108 <text>Factory Reset</text>
1109 <image resource="main_button" />
1110 <actions>
1111 <action function="set">tw_back=wipe</action>
1112 <action function="set">tw_action=wipe</action>
1113 <action function="set">tw_action_param=data</action>
1114 <action function="set">tw_text1=Factory Reset?</action>
1115 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1116 <action function="set">tw_action_text1=Factory Reset...</action>
1117 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1118 <action function="set">tw_slider_text=Swipe to Wipe</action>
1119 <action function="page">confirm_action</action>
1120 </actions>
1121 </object>
1122
1123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001125 <placement x="%col2_x%" y="%row2_y%" />
1126 <font resource="font" color="%button_text_color%" />
1127 <text>System</text>
1128 <image resource="main_button" />
1129 <actions>
1130 <action function="set">tw_back=wipe</action>
1131 <action function="set">tw_action=wipe</action>
1132 <action function="set">tw_action_param=/system</action>
1133 <action function="set">tw_text1=Wipe System?</action>
1134 <action function="set">tw_text2=This will wipe your ROM</action>
1135 <action function="set">tw_action_text1=Wiping System...</action>
1136 <action function="set">tw_complete_text1=System Wipe Complete</action>
1137 <action function="set">tw_slider_text=Swipe to Wipe</action>
1138 <action function="page">confirm_action</action>
1139 </actions>
1140 </object>
1141
1142 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001143 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <condition var1="tw_has_external" var2="1" />
1145 <placement x="%col1_x%" y="%row3_y%" />
1146 <font resource="font" color="%button_text_color%" />
1147 <text>External Storage</text>
1148 <image resource="main_button" />
1149 <actions>
1150 <action function="set">tw_back=wipe</action>
1151 <action function="set">tw_action=wipe</action>
1152 <action function="set">tw_action_param=EXTERNAL</action>
1153 <action function="set">tw_has_action2=1</action>
1154 <action function="set">tw_action2=set</action>
1155 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001156 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <action function="set">tw_action_text1=Wiping External Storage...</action>
1158 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1159 <action function="set">tw_slider_text=Swipe to Wipe</action>
1160 <action function="page">confirm_action</action>
1161 </actions>
1162 </object>
1163
1164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001165 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 <condition var1="tw_has_internal" var2="1" />
1167 <placement x="%col2_x%" y="%row3_y%" />
1168 <font resource="font" color="%button_text_color%" />
1169 <text>Internal Storage</text>
1170 <image resource="main_button" />
1171 <actions>
1172 <action function="set">tw_back=wipe</action>
1173 <action function="set">tw_action=wipe</action>
1174 <action function="set">tw_action_param=INTERNAL</action>
1175 <action function="set">tw_has_action2=1</action>
1176 <action function="set">tw_action2=set</action>
1177 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1178 <action function="set">tw_text1=Wipe Internal Storage?</action>
1179 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1180 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1181 <action function="set">tw_slider_text=Swipe to Wipe</action>
1182 <action function="page">confirm_action</action>
1183 </actions>
1184 </object>
1185
1186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001188 <conditions>
1189 <condition var1="tw_has_internal" var2="1" />
1190 <condition var1="tw_has_data_media" var2="1" />
1191 </conditions>
1192 <placement x="%col1_x%" y="%row4_y%" />
1193 <font resource="font" color="%button_text_color%" />
1194 <text>Format Data</text>
1195 <image resource="main_button" />
1196 <actions>
1197 <action function="set">tw_back=wipe</action>
1198 <action function="set">tw_action=wipe</action>
1199 <action function="set">tw_action_param=DATAMEDIA</action>
1200 <action function="set">tw_has_action2=1</action>
1201 <action function="set">tw_action2=set</action>
1202 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001203 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001204 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001205 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001206 <action function="set">tw_action_text1=Formatting Data...</action>
1207 <action function="set">tw_complete_text1=Data Format Complete</action>
1208 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001209 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001210 <action function="page">confirm_action</action>
1211 </actions>
1212 </object>
1213
1214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001215 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001216 <condition var1="tw_has_data_media" var2="0" />
1217 <placement x="%col1_x%" y="%row4_y%" />
1218 <font resource="font" color="%button_text_color%" />
1219 <text>Android Secure</text>
1220 <image resource="main_button" />
1221 <actions>
1222 <action function="set">tw_back=wipe</action>
1223 <action function="set">tw_action=wipe</action>
1224 <action function="set">tw_action_param=ANDROIDSECURE</action>
1225 <action function="set">tw_text1=Wipe Android Secure?</action>
1226 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1227 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1228 <action function="set">tw_slider_text=Swipe to Format</action>
1229 <action function="page">confirm_action</action>
1230 </actions>
1231 </object>
1232
1233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001235 <condition var1="tw_has_sdext_partition" var2="1" />
1236 <placement x="%col2_x%" y="%row4_y%" />
1237 <font resource="font" color="%button_text_color%" />
1238 <text>SD Ext</text>
1239 <image resource="main_button" />
1240 <actions>
1241 <action function="set">tw_back=wipe</action>
1242 <action function="set">tw_action=wipe</action>
1243 <action function="set">tw_action_param=/sd-ext</action>
1244 <action function="set">tw_text1=Wipe SD-Ext?</action>
1245 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1246 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1247 <action function="set">tw_slider_text=Swipe to Wipe</action>
1248 <action function="page">confirm_action</action>
1249 </actions>
1250 </object>
1251
1252 <object type="action">
1253 <touch key="home" />
1254 <action function="page">main</action>
1255 </object>
1256
1257 <object type="action">
1258 <touch key="back" />
1259 <action function="page">main</action>
1260 </object>
1261
1262 <object type="template" name="footer" />
1263 </page>
1264
1265 <page name="backup">
1266 <object type="template" name="header" />
1267
1268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1271 <text>Backup Name: %tw_backup_name%</text>
1272 </object>
1273
1274 <object type="text" color="%text_color%">
1275 <placement x="%col1_x%" y="%row1_text_y%" />
1276 <font resource="font" />
1277 <text>Backup Device</text>
1278 </object>
1279
1280 <object type="slider">
1281 <placement x="%slider_x%" y="slider_y" />
1282 <resource base="slider" used="slider-used" touch="slider-touch" />
1283 <action function="page">backup_run</action>
1284 </object>
1285
1286 <object type="text" color="%text_color%">
1287 <font resource="font" />
1288 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1289 <text>Swipe to Back Up</text>
1290 </object>
1291
1292 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001293 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001294 <placement x="%col2_x%" y="%row1_y%" />
1295 <font resource="font" color="%button_text_color%" />
1296 <text>Refresh Sizes</text>
1297 <image resource="main_button" />
1298 <action function="refreshsizes"></action>
1299 </object>
1300
1301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001303 <placement x="%col2_x%" y="%backup_name_y%" />
1304 <font resource="font" color="%button_text_color%" />
1305 <text>Set Backup Name</text>
1306 <image resource="main_button" />
1307 <actions>
1308 <action function="set">tw_fileexists=0</action>
1309 <action function="page">backupname1</action>
1310 </actions>
1311 </object>
1312
1313 <object type="checkbox">
1314 <placement x="%col1_x%" y="%row2_text_y%" />
1315 <font resource="font" color="%text_color%" />
1316 <text>System (%tw_backup_system_size% MB)</text>
1317 <data variable="tw_backup_system" />
1318 <image checked="checkbox_true" unchecked="checkbox_false" />
1319 </object>
1320
1321 <object type="checkbox">
1322 <placement x="%col1_x%" y="%row3_text_y%" />
1323 <font resource="font" color="%text_color%" />
1324 <text>Data (%tw_backup_data_size% MB)</text>
1325 <data variable="tw_backup_data" />
1326 <image checked="checkbox_true" unchecked="checkbox_false" />
1327 </object>
1328
1329 <object type="checkbox">
1330 <condition var1="tw_has_boot_partition" var2="1" />
1331 <placement x="%col1_x%" y="%row4_text_y%" />
1332 <font resource="font" color="%text_color%" />
1333 <text>Boot (%tw_backup_boot_size% MB)</text>
1334 <data variable="tw_backup_boot" />
1335 <image checked="checkbox_true" unchecked="checkbox_false" />
1336 </object>
1337
1338 <object type="checkbox">
1339 <condition var1="tw_has_recovery_partition" var2="1" />
1340 <placement x="%col1_x%" y="%row5_text_y%" />
1341 <font resource="font" color="%text_color%" />
1342 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1343 <data variable="tw_backup_recovery" />
1344 <image checked="checkbox_true" unchecked="checkbox_false" />
1345 </object>
1346
1347 <object type="checkbox">
1348 <placement x="%col1_x%" y="%row6_text_y%" />
1349 <font resource="font" color="%text_color%" />
1350 <text>Cache (%tw_backup_cache_size% MB)</text>
1351 <data variable="tw_backup_cache" />
1352 <image checked="checkbox_true" unchecked="checkbox_false" />
1353 </object>
1354
1355 <object type="checkbox">
1356 <condition var1="tw_has_android_secure" var2="1" />
1357 <placement x="%col1_x%" y="%row7_text_y%" />
1358 <font resource="font" color="%text_color%" />
1359 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1360 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1361 <data variable="tw_backup_andsec" />
1362 <image checked="checkbox_true" unchecked="checkbox_false" />
1363 </object>
1364
1365 <object type="checkbox">
1366 <condition var1="tw_has_sdext_partition" var2="1" />
1367 <placement x="%col1_x%" y="%row8_text_y%" />
1368 <font resource="font" color="%text_color%" />
1369 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1370 <condition var1="fileexists" var2="/sd-ext" />
1371 <data variable="tw_backup_sdext" />
1372 <image checked="checkbox_true" unchecked="checkbox_false" />
1373 </object>
1374
1375 <object type="checkbox">
1376 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001377 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001378 <font resource="font" color="%text_color%" />
1379 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1380 <data variable="tw_backup_sp1" />
1381 <image checked="checkbox_true" unchecked="checkbox_false" />
1382 </object>
1383
1384 <object type="checkbox">
1385 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001386 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 <font resource="font" color="%text_color%" />
1388 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1389 <data variable="tw_backup_sp2" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
1394 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001395 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001396 <font resource="font" color="%text_color%" />
1397 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1398 <data variable="tw_backup_sp3" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001404 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001405 <text>Free Space: %tw_storage_free_size% MB</text>
1406 </object>
1407
1408 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001409 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001410 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001411 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001412 <data variable="tw_use_compression" />
1413 <image checked="checkbox_true" unchecked="checkbox_false" />
1414 </object>
1415
1416 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001417 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001418 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001419 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 <data variable="tw_skip_md5_generate" />
1421 <image checked="checkbox_true" unchecked="checkbox_false" />
1422 </object>
1423
1424 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001425 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <font resource="font" color="%text_color%" />
1427 <conditions>
1428 <condition var1="tw_has_dual_storage" var2="1" />
1429 <condition var1="tw_use_external_storage" var2="1" />
1430 </conditions>
1431 <text>Use external SD</text>
1432 <image resource="radio_true" />
1433 <action function="togglestorage">external</action>
1434 </object>
1435
1436 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001437 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 <font resource="font" color="%text_color%" />
1439 <conditions>
1440 <condition var1="tw_has_dual_storage" var2="1" />
1441 <condition var1="tw_use_external_storage" var2="0" />
1442 </conditions>
1443 <text>Use external SD</text>
1444 <image resource="radio_false" />
1445 <action function="togglestorage">external</action>
1446 </object>
1447
1448 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001449 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 <font resource="font" color="%text_color%" />
1451 <conditions>
1452 <condition var1="tw_has_dual_storage" var2="1" />
1453 <condition var1="tw_use_external_storage" var2="1" />
1454 </conditions>
1455 <text>Use internal storage</text>
1456 <image resource="radio_false" />
1457 <action function="togglestorage">internal</action>
1458 </object>
1459
1460 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001461 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001462 <font resource="font" color="%text_color%" />
1463 <conditions>
1464 <condition var1="tw_has_dual_storage" var2="1" />
1465 <condition var1="tw_use_external_storage" var2="0" />
1466 </conditions>
1467 <text>Use internal storage</text>
1468 <image resource="radio_true" />
1469 <action function="togglestorage">internal</action>
1470 </object>
1471
1472 <object type="action">
1473 <touch key="home" />
1474 <action function="page">main</action>
1475 </object>
1476
1477 <object type="action">
1478 <touch key="back" />
1479 <action function="page">main</action>
1480 </object>
1481
1482 <object type="template" name="footer" />
1483 </page>
1484
1485 <page name="backupname1">
1486 <object type="action">
1487 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1488 <action function="set">tw_backup_name=</function>
1489 </object>
1490
1491 <object type="action">
1492 <action function="page">backupname2</function>
1493 </object>
1494 </page>
1495
1496 <page name="backupname2">
1497 <object type="template" name="header" />
1498
1499 <object type="text" color="%text_color%">
1500 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1501 <font resource="font" />
1502 <text>Please Enter a Backup Name</text>
1503 </object>
1504
1505 <object type="input">
1506 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1507 <background color="%input_background_color%" />
1508 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1509 <font resource="font" color="%text_color%" />
1510 <text>%tw_backup_name%</text>
1511 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001512 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001513 <actions>
1514 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1515 <action function="set">tw_existpage=backupname2</action>
1516 <action function="set">tw_notexistpage=backup</action>
1517 <action function="page">filecheck</action>
1518 </actions>
1519 </object>
1520
1521 <object type="text" color="%text_fail_color%">
1522 <condition var1="tw_fileexists" var2="1" />
1523 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1524 <font resource="font" />
1525 <text>A backup with that name already exists!</text>
1526 </object>
1527
1528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001529 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001530 <placement x="%col_center_x%" y="%row2_y%" />
1531 <font resource="font" color="%button_text_color%" />
1532 <text>Cancel</text>
1533 <image resource="main_button" />
1534 <actions>
1535 <action function="set">tw_backup_name=(Current Date)</action>
1536 <action function="page">backup</action>
1537 </actions>
1538 </object>
1539
1540 <object type="template" name="keyboardtemplate" />
1541
1542 <object type="action">
1543 <touch key="home" />
1544 <actions>
1545 <action function="set">tw_backup_name=(Current Date)</action>
1546 <action function="page">main</action>
1547 </actions>
1548 </object>
1549
1550 <object type="action">
1551 <touch key="back" />
1552 <actions>
1553 <action function="set">tw_backup_name=(Current Date)</action>
1554 <action function="page">backup</action>
1555 </actions>
1556 </object>
1557
1558 <object type="template" name="footer" />
1559 </page>
1560
1561 <page name="backup_run">
1562 <object type="template" name="header" />
1563
1564 <object type="text" color="%text_color%">
1565 <font resource="font" />
1566 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1567 <text>%tw_operation% %tw_partition%</text>
1568 </object>
1569
1570 <object type="template" name="action_page_console" />
1571
1572 <object type="template" name="progress_bar" />
1573
1574 <object type="action">
1575 <action function="nandroid">backup</action>
1576 </object>
1577
1578 <object type="action">
1579 <condition var1="tw_operation_state" var2="1" />
1580 <actions>
1581 <action function="set">tw_back=backup</action>
1582 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001583 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001584 <action function="page">action_complete</action>
1585 </actions>
1586 </object>
1587 </page>
1588
1589 <page name="restore">
1590 <object type="template" name="header" />
1591
1592 <object type="button">
1593 <placement x="%col1_x%" y="%row1_header_y%" />
1594 <font resource="font" color="%text_color%" />
1595 <conditions>
1596 <condition var1="tw_has_dual_storage" var2="1" />
1597 <condition var1="tw_use_external_storage" var2="1" />
1598 </conditions>
1599 <text>Use external SD</text>
1600 <image resource="radio_true" />
1601 <action function="togglestorage">external</action>
1602 </object>
1603
1604 <object type="button">
1605 <placement x="%col1_x%" y="%row1_header_y%" />
1606 <font resource="font" color="%text_color%" />
1607 <conditions>
1608 <condition var1="tw_has_dual_storage" var2="1" />
1609 <condition var1="tw_use_external_storage" var2="0" />
1610 </conditions>
1611 <text>Use external SD</text>
1612 <image resource="radio_false" />
1613 <action function="togglestorage">external</action>
1614 </object>
1615
1616 <object type="button">
1617 <placement x="%col2_x%" y="%row1_header_y%" />
1618 <font resource="font" color="%text_color%" />
1619 <conditions>
1620 <condition var1="tw_has_dual_storage" var2="1" />
1621 <condition var1="tw_use_external_storage" var2="1" />
1622 </conditions>
1623 <text>Use internal storage</text>
1624 <image resource="radio_false" />
1625 <action function="togglestorage">internal</action>
1626 </object>
1627
1628 <object type="button">
1629 <placement x="%col2_x%" y="%row1_header_y%" />
1630 <font resource="font" color="%text_color%" />
1631 <conditions>
1632 <condition var1="tw_has_dual_storage" var2="1" />
1633 <condition var1="tw_use_external_storage" var2="0" />
1634 </conditions>
1635 <text>Use internal storage</text>
1636 <image resource="radio_true" />
1637 <action function="togglestorage">internal</action>
1638 </object>
1639
1640 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001641 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001642 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1643 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1644 <text>Select Package to Restore:</text>
1645 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1646 <sort name="tw_gui_sort_order" />
1647 <icon folder="folder_icon" file="file_icon" />
1648 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001649 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001650 <filter folders="1" files="0" nav="0" />
1651 <path name="tw_backups_folder" />
1652 <data name="tw_restore" default="" />
1653 <selection name="tw_restore_name" />
1654 </object>
1655
1656 <object type="template" name="sort_options" />
1657
1658 <object type="action">
1659 <condition var1="tw_restore" op="modified" />
1660 <actions>
1661 <action function="readBackup"></action>
1662 <action function="page">restore_select</action>
1663 </actions>
1664 </object>
1665
1666 <object type="action">
1667 <touch key="home" />
1668 <action function="page">main</action>
1669 </object>
1670
1671 <object type="action">
1672 <touch key="back" />
1673 <action function="page">main</action>
1674 </object>
1675
1676 <object type="template" name="footer" />
1677 </page>
1678
1679 <page name="restore_select">
1680 <object type="template" name="header" />
1681
1682 <object type="text">
1683 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1684 <font resource="font" color="%text_color%" />
1685 <text>Restoring: %tw_restore_name%</text>
1686 </object>
1687
1688 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001689 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001690 <placement x="%col2_x%" y="%row1_y%" />
1691 <font resource="font" color="%button_text_color%" />
1692 <text>Rename Backup</text>
1693 <image resource="main_button" />
1694 <actions>
1695 <action function="set">tw_backup_rename=</action>
1696 <action function="set">tw_fileexists=0</action>
1697 <action function="page">renamebackup</action>
1698 </actions>
1699 </object>
1700
1701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001702 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001703 <placement x="%col2_x%" y="%row2_y%" />
1704 <font resource="font" color="%button_text_color%" />
1705 <text>Delete Backup</text>
1706 <image resource="main_button" />
1707 <actions>
1708 <action function="set">tw_back=restore</action>
1709 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001710 <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 -04001711 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1712 <action function="set">tw_text2=This cannot be undone!</action>
1713 <action function="set">tw_action_text1=Deleting Backup...</action>
1714 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1715 <action function="set">tw_slider_text=Swipe to Delete</action>
1716 <action function="page">confirm_action</action>
1717 </actions>
1718 </object>
1719
1720 <object type="slider">
1721 <placement x="%slider_x%" y="%slider_y%" />
1722 <resource base="slider" used="slider-used" touch="slider-touch" />
1723 <action function="page">restore_run</action>
1724 </object>
1725
1726 <object type="text" color="%text_color%">
1727 <font resource="font" />
1728 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1729 <text>Swipe to Restore</text>
1730 </object>
1731
1732 <object type="checkbox">
1733 <placement x="%col1_x%" y="%row2_text_y%" />
1734 <font resource="font" color="%text_color%" />
1735 <text>System</text>
1736 <condition var1="tw_restore_system" op=">=" var2="0" />
1737 <data variable="tw_restore_system" />
1738 <image checked="checkbox_true" unchecked="checkbox_false" />
1739 </object>
1740
1741 <object type="checkbox">
1742 <placement x="%col1_x%" y="%row3_text_y%" />
1743 <font resource="font" color="%text_color%" />
1744 <text>Data</text>
1745 <condition var1="tw_restore_data" op=">=" var2="0" />
1746 <data variable="tw_restore_data" />
1747 <image checked="checkbox_true" unchecked="checkbox_false" />
1748 </object>
1749
1750 <object type="checkbox">
1751 <placement x="%col1_x%" y="%row4_text_y%" />
1752 <font resource="font" color="%text_color%" />
1753 <text>Boot</text>
1754 <condition var1="tw_restore_boot" op=">=" var2="0" />
1755 <data variable="tw_restore_boot" />
1756 <image checked="checkbox_true" unchecked="checkbox_false" />
1757 </object>
1758
1759 <object type="checkbox">
1760 <placement x="%col1_x%" y="%row6_text_y%" />
1761 <font resource="font" color="%text_color%" />
1762 <text>Cache</text>
1763 <condition var1="tw_restore_cache" op=">=" var2="0" />
1764 <data variable="tw_restore_cache" />
1765 <image checked="checkbox_true" unchecked="checkbox_false" />
1766 </object>
1767
1768 <object type="checkbox">
1769 <placement x="%col1_x%" y="%row7_text_y%" />
1770 <font resource="font" color="%text_color%" />
1771 <text>.android_secure</text>
1772 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1773 <data variable="tw_restore_andsec" />
1774 <image checked="checkbox_true" unchecked="checkbox_false" />
1775 </object>
1776
1777 <object type="checkbox">
1778 <placement x="%col1_x%" y="%row8_text_y%" />
1779 <font resource="font" color="%text_color%" />
1780 <text>sd-ext</text>
1781 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1782 <data variable="tw_restore_sdext" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
1784 </object>
1785
1786 <object type="checkbox">
1787 <placement x="%col1_x%" y="%row10_text_y%" />
1788 <font resource="font" color="%text_color%" />
1789 <text>%tw_sp1_name%</text>
1790 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1791 <data variable="tw_restore_sp1" />
1792 <image checked="checkbox_true" unchecked="checkbox_false" />
1793 </object>
1794
1795 <object type="checkbox">
1796 <placement x="%col1_x%" y="%row11_text_y%" />
1797 <font resource="font" color="%text_color%" />
1798 <text>%tw_sp2_name%</text>
1799 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1800 <data variable="tw_restore_sp2" />
1801 <image checked="checkbox_true" unchecked="checkbox_false" />
1802 </object>
1803
1804 <object type="checkbox">
1805 <placement x="%col1_x%" y="%row12_text_y%" />
1806 <font resource="font" color="%text_color%" />
1807 <text>%tw_sp3_name%</text>
1808 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1809 <data variable="tw_restore_sp3" />
1810 <image checked="checkbox_true" unchecked="checkbox_false" />
1811 </object>
1812
1813 <object type="checkbox">
1814 <placement x="%col1_x%" y="%row14_text_y%" />
1815 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001816 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001817 <data variable="tw_skip_md5_check" />
1818 <image checked="checkbox_true" unchecked="checkbox_false" />
1819 </object>
1820
1821 <object type="text" color="%text_color%">
1822 <font resource="font" />
1823 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1824 <text>Package Date: %tw_restore_file_date%</text>
1825 </object>
1826
1827 <object type="action">
1828 <touch key="home" />
1829 <action function="page">main</action>
1830 </object>
1831
1832 <object type="action">
1833 <touch key="back" />
1834 <action function="page">restore</action>
1835 </object>
1836
1837 <object type="template" name="footer" />
1838 </page>
1839
1840 <page name="renamebackup">
1841 <object type="template" name="header" />
1842
1843 <object type="text" color="%text_color%">
1844 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1845 <font resource="font" />
1846 <text>Please Enter a New Backup Name</text>
1847 </object>
1848
1849 <object type="input">
1850 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1851 <background color="%input_background_color%" />
1852 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1853 <font resource="font" color="%text_color%" />
1854 <text>%tw_backup_rename%</text>
1855 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001856 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001857 <actions>
1858 <action function="set">tw_back=restore</action>
1859 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001860 <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 -04001861 <action function="set">tw_text1=Rename Backup?</action>
1862 <action function="set">tw_text2=This cannot be undone!</action>
1863 <action function="set">tw_action_text1=Renaming Backup...</action>
1864 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1865 <action function="set">tw_slider_text=Swipe to Rename</action>
1866 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1867 <action function="set">tw_existpage=renamebackup</action>
1868 <action function="set">tw_notexistpage=confirm_action</action>
1869 <action function="page">filecheck</action>
1870 </actions>
1871 </object>
1872
1873 <object type="text" color="%text_fail_color%">
1874 <condition var1="tw_fileexists" var2="1" />
1875 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1876 <font resource="font" />
1877 <text>A backup with that name already exists!</text>
1878 </object>
1879
1880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001882 <placement x="%col_center_x%" y="%row2_y%" />
1883 <font resource="font" color="%button_text_color%" />
1884 <text>Cancel</text>
1885 <image resource="main_button" />
1886 <action function="page">restore_select</action>
1887 </object>
1888
1889 <object type="template" name="keyboardtemplate" />
1890
1891 <object type="action">
1892 <touch key="home" />
1893 <action function="page">main</action>
1894 </object>
1895
1896 <object type="action">
1897 <touch key="back" />
1898 <action function="page">restore_select</action>
1899 </object>
1900
1901 <object type="template" name="footer" />
1902 </page>
1903
1904 <page name="restore_run">
1905 <object type="template" name="header" />
1906
1907 <object type="text" color="%text_color%">
1908 <font resource="font" />
1909 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1910 <text>%tw_operation% %tw_partition%</text>
1911 </object>
1912
1913 <object type="template" name="action_page_console" />
1914
1915 <object type="template" name="progress_bar" />
1916
1917 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001918 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001919 <actions>
1920 <action function="set">tw_back=restore_select</action>
1921 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001922 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001923 <action function="page">action_complete</action>
1924 </actions>
1925 </object>
1926
1927 <object type="action">
1928 <action function="nandroid">restore</action>
1929 </object>
1930 </page>
1931
1932 <page name="mount">
1933 <object type="template" name="header" />
1934
1935 <object type="text" color="%text_color%">
1936 <font resource="font" />
1937 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1938 <text>Mount Menu</text>
1939 </object>
1940
1941 <object type="button">
1942 <placement x="%col1_x%" y="%row1_text_y%" />
1943 <font resource="font" color="%text_color%" />
1944 <condition var1="mounted" op="!=" var2="/system" />
1945 <text>Mount System</text>
1946 <image resource="checkbox_false" />
1947 <action function="mount">/system</action>
1948 </object>
1949
1950 <object type="button">
1951 <placement x="%col1_x%" y="%row1_text_y%" />
1952 <font resource="font" color="%text_color%" />
1953 <condition var1="mounted" op="=" var2="/system" />
1954 <text>Unmount System</text>
1955 <image resource="checkbox_true" />
1956 <action function="umount">/system</action>
1957 </object>
1958
1959 <object type="button">
1960 <placement x="%col1_x%" y="%row2_text_y%" />
1961 <font resource="font" color="%text_color%" />
1962 <condition var1="mounted" op="!=" var2="/data" />
1963 <text>Mount Data</text>
1964 <image resource="checkbox_false" />
1965 <action function="mount">/data</action>
1966 </object>
1967
1968 <object type="button">
1969 <placement x="%col1_x%" y="%row2_text_y%" />
1970 <font resource="font" color="%text_color%" />
1971 <condition var1="mounted" op="=" var2="/data" />
1972 <text>Unmount Data</text>
1973 <image resource="checkbox_true" />
1974 <action function="umount">/data</action>
1975 </object>
1976
1977 <object type="button">
1978 <placement x="%col1_x%" y="%row3_text_y%" />
1979 <font resource="font" color="%text_color%" />
1980 <condition var1="mounted" op="!=" var2="/cache" />
1981 <text>Mount Cache</text>
1982 <image resource="checkbox_false" />
1983 <action function="mount">/cache</action>
1984 </object>
1985
1986 <object type="button">
1987 <placement x="%col1_x%" y="%row3_text_y%" />
1988 <font resource="font" color="%text_color%" />
1989 <condition var1="mounted" op="=" var2="/cache" />
1990 <text>Unmount Cache</text>
1991 <image resource="checkbox_true" />
1992 <action function="umount">/cache</action>
1993 </object>
1994
1995 <object type="button">
1996 <placement x="%col1_x%" y="%row4_text_y%" />
1997 <font resource="font" color="%text_color%" />
1998 <conditions>
1999 <condition var1="tw_has_external" var2="1" />
2000 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2001 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002002 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002003 <image resource="checkbox_false" />
2004 <action function="mount">EXTERNAL</action>
2005 </object>
2006
2007 <object type="button">
2008 <placement x="%col1_x%" y="%row4_text_y%" />
2009 <font resource="font" color="%text_color%" />
2010 <conditions>
2011 <condition var1="tw_has_external" var2="1" />
2012 <condition var1="mounted" op="=" var2="EXTERNAL" />
2013 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002014 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002015 <image resource="checkbox_true" />
2016 <action function="umount">EXTERNAL</action>
2017 </object>
2018
2019 <object type="button">
2020 <placement x="%col2_x%" y="%row4_text_y%" />
2021 <font resource="font" color="%text_color%" />
2022 <conditions>
2023 <condition var1="tw_has_internal" var2="1" />
2024 <condition var1="tw_has_data_media" var2="0" />
2025 <condition var1="mounted" op="!=" var2="INTERNAL" />
2026 </conditions>
2027 <text>Mount Internal</text>
2028 <image resource="checkbox_false" />
2029 <action function="mount">INTERNAL</action>
2030 </object>
2031
2032 <object type="button">
2033 <placement x="%col2_x%" y="%row4_text_y%" />
2034 <font resource="font" color="%text_color%" />
2035 <conditions>
2036 <condition var1="tw_has_internal" var2="1" />
2037 <condition var1="tw_has_data_media" var2="0" />
2038 <condition var1="mounted" op="=" var2="INTERNAL" />
2039 </conditions>
2040 <text>Unmount Internal</text>
2041 <image resource="checkbox_true" />
2042 <action function="umount">INTERNAL</action>
2043 </object>
2044
2045 <object type="button">
2046 <conditions>
2047 <condition var1="tw_has_sdext_partition" var2="1" />
2048 <condition var1="mounted" op="!=" var2="/sd-ext" />
2049 </conditions>
2050 <placement x="%col1_x%" y="%row5_text_y%" />
2051 <font resource="font" color="%text_color%" />
2052 <text>Mount SD-Ext</text>
2053 <image resource="checkbox_false" />
2054 <action function="mount">/sd-ext</action>
2055 </object>
2056
2057 <object type="button">
2058 <placement x="%col1_x%" y="%row5_text_y%" />
2059 <font resource="font" color="%text_color%" />
2060 <condition var1="mounted" op="=" var2="/sd-ext" />
2061 <text>Unmount SD-Ext</text>
2062 <image resource="checkbox_true" />
2063 <action function="umount">/sd-ext</action>
2064 </object>
2065
2066 <object type="button">
2067 <conditions>
2068 <condition var1="tw_boot_is_mountable" var2="1" />
2069 <condition var1="mounted" op="!=" var2="/boot" />
2070 </conditions>
2071 <placement x="%col1_x%" y="%row6_text_y%" />
2072 <font resource="font" color="#A0A0A0" />
2073 <text>Mount Boot</text>
2074 <image resource="checkbox_false" />
2075 <action function="mount">/boot</action>
2076 </object>
2077
2078 <object type="button">
2079 <conditions>
2080 <condition var1="tw_boot_is_mountable" var2="1" />
2081 <condition var1="mounted" op="=" var2="/boot" />
2082 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <placement x="%col1_x%" y="%row6_text_y%" />
2084 <font resource="font" color="#A0A0A0" />
2085 <text>Unmount Boot</text>
2086 <image resource="checkbox_true" />
2087 <action function="umount">/boot</action>
2088 </object>
2089
2090 <object type="button">
2091 <placement x="%col1_x%" y="%row8_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>Use external SD</text>
2098 <image resource="radio_true" />
2099 <action function="togglestorage">external</action>
2100 </object>
2101
2102 <object type="button">
2103 <placement x="%col1_x%" y="%row8_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>Use external SD</text>
2110 <image resource="radio_false" />
2111 <action function="togglestorage">external</action>
2112 </object>
2113
2114 <object type="button">
2115 <placement x="%col2_x%" y="%row8_text_y%" />
2116 <font resource="font" color="%text_color%" />
2117 <conditions>
2118 <condition var1="tw_has_dual_storage" var2="1" />
2119 <condition var1="tw_use_external_storage" var2="1" />
2120 </conditions>
2121 <text>Use internal storage</text>
2122 <image resource="radio_false" />
2123 <action function="togglestorage">internal</action>
2124 </object>
2125
2126 <object type="button">
2127 <placement x="%col2_x%" y="%row8_text_y%" />
2128 <font resource="font" color="%text_color%" />
2129 <conditions>
2130 <condition var1="tw_has_dual_storage" var2="1" />
2131 <condition var1="tw_use_external_storage" var2="0" />
2132 </conditions>
2133 <text>Use internal storage</text>
2134 <image resource="radio_true" />
2135 <action function="togglestorage">internal</action>
2136 </object>
2137
2138 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002139 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002140 <condition var1="tw_has_usb_storage" var2="1" />
2141 <placement x="%col1_x%" y="row3_y" />
2142 <font resource="font" color="%button_text_color%" />
2143 <text>Mount USB Storage</text>
2144 <image resource="main_button" />
2145 <action function="page">usb_mount</action>
2146 </object>
2147
Gary Peckffdc6ae2012-11-21 18:02:02 -08002148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002149 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002150 <conditions>
2151 <condition var1="tw_is_encrypted" var2="1" />
2152 <condition var1="tw_is_decrypted" var2="0" />
2153 </conditions>
2154 <placement x="%col2_x%" y="row3_y" />
2155 <font resource="font" color="%button_text_color%" />
2156 <text>Decrypt Data</text>
2157 <image resource="main_button" />
2158 <action function="page">decrypt</action>
2159 </object>
2160
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <object type="action">
2162 <touch key="home" />
2163 <action function="page">main</action>
2164 </object>
2165
2166 <object type="action">
2167 <touch key="back" />
2168 <action function="page">main</action>
2169 </object>
2170
2171 <object type="template" name="footer" />
2172 </page>
2173
2174 <page name="usb_mount">
2175 <object type="template" name="header" />
2176
2177 <object type="text" color="%text_color%">
2178 <font resource="font" />
2179 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2180 <text>USB Storage Mounted</text>
2181 </object>
2182
2183 <object type="text" color="%text_color%">
2184 <placement x="%col1_x%" y="%row1_text_y%" />
2185 <font resource="font" />
2186 <text>Be sure to safely remove your device</text>
2187 </object>
2188
2189 <object type="text" color="%text_color%">
2190 <placement x="%col1_x%" y="%row2_text_y%" />
2191 <font resource="font" />
2192 <text>from your computer before unmounting!</text>
2193 </object>
2194
2195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002197 <placement x="%col1_x%" y="%row3_y%" />
2198 <font resource="font" color="%button_text_color%" />
2199 <text>Unmount</text>
2200 <image resource="main_button" />
2201 <action function="page">usb_umount</action>
2202 </object>
2203
2204 <object type="action">
2205 <action function="mount">usb</action>
2206 </object>
2207
2208 <object type="template" name="footer" />
2209 </page>
2210
2211 <page name="usb_umount">
2212 <object type="action">
2213 <action function="unmount">usb</action>
2214 </object>
2215
2216 <object type="action">
2217 <action function="page">mount</action>
2218 </object>
2219 </page>
2220
2221 <page name="reboot">
2222 <object type="template" name="header" />
2223
2224 <object type="text" color="%text_color%">
2225 <font resource="font" />
2226 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2227 <text>Reboot Menu</text>
2228 </object>
2229
2230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002232 <condition var1="tw_reboot_system" var2="1" />
2233 <placement x="%col1_x%" y="%row1_y%" />
2234 <font resource="font" color="%button_text_color%" />
2235 <text>System</text>
2236 <image resource="main_button" />
2237 <actions>
2238 <action function="set">tw_back=reboot</action>
2239 <action function="set">tw_action=reboot</action>
2240 <action function="set">tw_action_param=system</action>
2241 <action function="set">tw_has_action2=0</action>
2242 <action function="set">tw_text1=No OS Installed! Are you</action>
2243 <action function="set">tw_text2=sure you wish to reboot?</action>
2244 <action function="set">tw_action_text1=Rebooting...</action>
2245 <action function="set">tw_complete_text1=Rebooting...</action>
2246 <action function="set">tw_slider_text=Swipe to Reboot</action>
2247 <action function="page">rebootcheck</action>
2248 </actions>
2249 </object>
2250
2251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002253 <condition var1="tw_reboot_poweroff" var2="1" />
2254 <placement x="%col2_x%" y="%row1_y%" />
2255 <font resource="font" color="%button_text_color%" />
2256 <text>Power Off</text>
2257 <image resource="main_button" />
2258 <actions>
2259 <action function="set">tw_back=reboot</action>
2260 <action function="set">tw_action=reboot</action>
2261 <action function="set">tw_action_param=poweroff</action>
2262 <action function="set">tw_has_action2=0</action>
2263 <action function="set">tw_text1=No OS Installed! Are you</action>
2264 <action function="set">tw_text2=sure you wish to power off?</action>
2265 <action function="set">tw_action_text1=Turning Off...</action>
2266 <action function="set">tw_complete_text1=Turning Off...</action>
2267 <action function="set">tw_slider_text=Swipe to Power Off</action>
2268 <action function="page">rebootcheck</action>
2269 </actions>
2270 </object>
2271
2272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002274 <condition var1="tw_reboot_recovery" var2="1" />
2275 <placement x="%col1_x%" y="%row2_y%" />
2276 <font resource="font" color="%button_text_color%" />
2277 <text>Recovery</text>
2278 <image resource="main_button" />
2279 <actions>
2280 <action function="set">tw_back=reboot</action>
2281 <action function="set">tw_action=reboot</action>
2282 <action function="set">tw_action_param=recovery</action>
2283 <action function="set">tw_has_action2=0</action>
2284 <action function="set">tw_text1=No OS Installed! Are you</action>
2285 <action function="set">tw_text2=sure you wish to reboot?</action>
2286 <action function="set">tw_action_text1=Rebooting...</action>
2287 <action function="set">tw_complete_text1=Rebooting...</action>
2288 <action function="set">tw_slider_text=Swipe to Reboot</action>
2289 <action function="page">rebootcheck</action>
2290 </actions>
2291 </object>
2292
2293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <condition var1="tw_reboot_bootloader" var2="1" />
2296 <placement x="%col2_x%" y="%row2_y%" />
2297 <font resource="font" color="%button_text_color%" />
2298 <text>Bootloader</text>
2299 <image resource="main_button" />
2300 <actions>
2301 <action function="set">tw_back=reboot</action>
2302 <action function="set">tw_action=reboot</action>
2303 <action function="set">tw_action_param=bootloader</action>
2304 <action function="set">tw_has_action2=0</action>
2305 <action function="set">tw_text1=No OS Installed! Are you</action>
2306 <action function="set">tw_text2=sure you wish to reboot?</action>
2307 <action function="set">tw_action_text1=Rebooting...</action>
2308 <action function="set">tw_complete_text1=Rebooting...</action>
2309 <action function="set">tw_slider_text=Swipe to Reboot</action>
2310 <action function="page">rebootcheck</action>
2311 </actions>
2312 </object>
2313
2314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <condition var1="tw_download_mode" var2="1" />
2317 <placement x="%col1_x%" y="%row3_y%" />
2318 <font resource="font" color="%button_text_color%" />
2319 <text>Download</text>
2320 <image resource="main_button" />
2321 <actions>
2322 <action function="set">tw_back=reboot</action>
2323 <action function="set">tw_action=reboot</action>
2324 <action function="set">tw_action_param=download</action>
2325 <action function="set">tw_has_action2=0</action>
2326 <action function="set">tw_text1=No OS Installed! Are you</action>
2327 <action function="set">tw_text2=sure you wish to reboot?</action>
2328 <action function="set">tw_action_text1=Rebooting...</action>
2329 <action function="set">tw_complete_text1=Rebooting...</action>
2330 <action function="set">tw_slider_text=Swipe to Reboot</action>
2331 <action function="page">rebootcheck</action>
2332 </actions>
2333 </object>
2334
2335 <object type="action">
2336 <touch key="home" />
2337 <action function="page">main</action>
2338 </object>
2339
2340 <object type="action">
2341 <touch key="back" />
2342 <action function="page">main</action>
2343 </object>
2344
2345 <object type="template" name="footer" />
2346 </page>
2347
2348 <page name="settings">
2349 <object type="template" name="header" />
2350
2351 <object type="text" color="%text_color%">
2352 <font resource="font" />
2353 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2354 <text>Settings</text>
2355 </object>
2356
2357 <object type="checkbox">
2358 <placement x="%col1_x%" y="%row1_text_y%" />
2359 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002360 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <data variable="tw_signed_zip_verify" />
2362 <image checked="checkbox_true" unchecked="checkbox_false" />
2363 </object>
2364
2365 <object type="checkbox">
2366 <placement x="%col1_x%" y="%row2_text_y%" />
2367 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002368 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <data variable="tw_rm_rf" />
2370 <image checked="checkbox_true" unchecked="checkbox_false" />
2371 </object>
2372
2373 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002374 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002376 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <data variable="tw_skip_md5_generate" />
2378 <image checked="checkbox_true" unchecked="checkbox_false" />
2379 </object>
2380
2381 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002382 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002384 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <data variable="tw_skip_md5_check" />
2386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002390 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002392 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <data variable="tw_ignore_image_size" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002398 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002400 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <data variable="tw_simulate_actions" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
2406 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002407 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <data variable="tw_simulate_fail" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002415 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <placement x="%col1_x%" y="%row3_y%" />
2417 <font resource="font" color="%button_text_color%" />
2418 <text>Time Zone</text>
2419 <image resource="main_button" />
2420 <action function="page">timezone</action>
2421 </object>
2422
2423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002424 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002425 <placement x="%col2_x%" y="%row3_y%" />
2426 <font resource="font" color="%button_text_color%" />
2427 <text>Screen</text>
2428 <image resource="main_button" />
2429 <action function="page">screen</action>
2430 </object>
2431
2432 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <placement x="%col_center_x%" y="%row4_y%" />
2434 <font resource="font" color="%button_text_color%" />
2435 <text>Restore Defaults</text>
2436 <image resource="main_button" />
2437 <action function="restoredefaultsettings"></action>
2438 </object>
2439
2440 <object type="action">
2441 <touch key="home" />
2442 <action function="page">main</action>
2443 </object>
2444
2445 <object type="action">
2446 <touch key="back" />
2447 <action function="page">main</action>
2448 </object>
2449
2450 <object type="template" name="footer" />
2451 </page>
2452
2453 <page name="timezone">
2454 <object type="template" name="header" />
2455
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002457 <highlight color="%fileselector_highlight_color%" />
2458 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2459 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2460 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002462 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002464 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <data name="tw_time_zone_guisel" />
2466 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2467 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2468 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2469 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2470 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2471 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2472 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2473 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2474 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2475 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2476 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2477 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2478 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2479 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2480 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2481 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2482 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2483 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2484 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2485 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2486 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2487 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2488 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2489 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2490 </object>
2491
2492 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002493 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <font resource="font" color="%text_color%" />
2495 <text>Do you use daylight savings time (DST)?</text>
2496 <data variable="tw_time_zone_guidst" />
2497 <image checked="checkbox_true" unchecked="checkbox_false" />
2498 </object>
2499
2500 <object type="text" color="%text_color%">
2501 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002502 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2504 </object>
2505
2506 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002507 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002508 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 <font resource="font" color="%button_text_color%" />
2510 <text>None</text>
2511 <image resource="medium_button" />
2512 <action function="set">tw_time_zone_guioffset=0</action>
2513 </object>
2514
2515 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002516 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002517 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002518 <font resource="font" color="%button_text_color%" />
2519 <text>15</text>
2520 <image resource="medium_button" />
2521 <action function="set">tw_time_zone_guioffset=15</action>
2522 </object>
2523
2524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002525 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002526 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002527 <font resource="font" color="%button_text_color%" />
2528 <text>30</text>
2529 <image resource="medium_button" />
2530 <action function="set">tw_time_zone_guioffset=30</action>
2531 </object>
2532
2533 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002534 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002535 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <font resource="font" color="%button_text_color%" />
2537 <text>45</text>
2538 <image resource="medium_button" />
2539 <action function="set">tw_time_zone_guioffset=45</action>
2540 </object>
2541
2542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <placement x="%col_center_x%" y="%tz_set_y%" />
2545 <font resource="font" color="%button_text_color%" />
2546 <text>Set Time Zone</text>
2547 <image resource="main_button" />
2548 <action function="setguitimezone"></action>
2549 </object>
2550
2551 <object type="text" color="%text_color%">
2552 <font resource="font" />
2553 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2554 <text>Current Time Zone: %tw_time_zone%</text>
2555 </object>
2556
2557 <object type="action">
2558 <touch key="home" />
2559 <action function="page">main</action>
2560 </object>
2561
2562 <object type="action">
2563 <touch key="back" />
2564 <action function="page">settings</action>
2565 </object>
2566
2567 <object type="template" name="footer" />
2568 </page>
2569
Dees_Troy2f9117a2013-02-17 19:52:09 -06002570 <page name="screen">
2571 <object type="template" name="header" />
2572
2573 <object type="text" color="%text_color%">
2574 <font resource="font" />
2575 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2576 <text>Screen Settings</text>
2577 </object>
2578
2579 <object type="text" color="%text_color%">
2580 <font resource="font" />
2581 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2582 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2583 </object>
2584
2585 <object type="button">
2586 <placement x="%col1_medium_x%" y="%row2_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>None</text>
2589 <image resource="medium_button" />
2590 <action function="set">tw_screen_timeout_secs=0</action>
2591 </object>
2592
2593 <object type="button">
2594 <placement x="%col2_medium_x%" y="%row2_y%" />
2595 <font resource="font" color="%button_text_color%" />
2596 <text>60</text>
2597 <image resource="medium_button" />
2598 <action function="set">tw_screen_timeout_secs=60</action>
2599 </object>
2600
2601 <object type="button">
2602 <placement x="%col3_medium_x%" y="%row2_y%" />
2603 <font resource="font" color="%button_text_color%" />
2604 <text>120</text>
2605 <image resource="medium_button" />
2606 <action function="set">tw_screen_timeout_secs=120</action>
2607 </object>
2608
2609 <object type="button">
2610 <placement x="%col4_medium_x%" y="%row2_y%" />
2611 <font resource="font" color="%button_text_color%" />
2612 <text>180</text>
2613 <image resource="medium_button" />
2614 <action function="set">tw_screen_timeout_secs=180</action>
2615 </object>
2616
2617 <object type="text" color="%text_color%">
2618 <condition var1="tw_has_brightnesss_file" var2="1" />
2619 <font resource="font" />
2620 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2621 <text>Brightness: %tw_brightness_display%</text>
2622 </object>
2623
2624 <object type="button">
2625 <condition var1="tw_has_brightnesss_file" var2="1" />
2626 <placement x="%col1_medium_x%" y="%row4_y%" />
2627 <font resource="font" color="%button_text_color%" />
2628 <text>25%</text>
2629 <image resource="medium_button" />
2630 <actions>
2631 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2632 <action function="set">tw_brightness_display=25%</action>
2633 <action function="set">tw_brightness=%tw_brightness_25%</action>
2634 </actions>
2635 </object>
2636
2637 <object type="button">
2638 <condition var1="tw_has_brightnesss_file" var2="1" />
2639 <placement x="%col2_medium_x%" y="%row4_y%" />
2640 <font resource="font" color="%button_text_color%" />
2641 <text>50%</text>
2642 <image resource="medium_button" />
2643 <actions>
2644 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2645 <action function="set">tw_brightness_display=50%</action>
2646 <action function="set">tw_brightness=%tw_brightness_50%</action>
2647 </actions>
2648 </object>
2649
2650 <object type="button">
2651 <condition var1="tw_has_brightnesss_file" var2="1" />
2652 <placement x="%col3_medium_x%" y="%row4_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>75%</text>
2655 <image resource="medium_button" />
2656 <actions>
2657 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2658 <action function="set">tw_brightness_display=75%</action>
2659 <action function="set">tw_brightness=%tw_brightness_75%</action>
2660 </actions>
2661 </object>
2662
2663 <object type="button">
2664 <condition var1="tw_has_brightnesss_file" var2="1" />
2665 <placement x="%col4_medium_x%" y="%row4_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>100%</text>
2668 <image resource="medium_button" />
2669 <actions>
2670 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2671 <action function="set">tw_brightness_display=100%</action>
2672 <action function="set">tw_brightness=%tw_brightness_100%</action>
2673 </actions>
2674 </object>
2675
2676 <object type="action">
2677 <touch key="home" />
2678 <action function="page">main</action>
2679 </object>
2680
2681 <object type="action">
2682 <touch key="back" />
2683 <action function="page">settings</action>
2684 </object>
2685
2686 <object type="template" name="footer" />
2687 </page>
2688
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <page name="advanced">
2690 <object type="template" name="header" />
2691
2692 <object type="text" color="%text_color%">
2693 <font resource="font" />
2694 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2695 <text>Advanced</text>
2696 </object>
2697
2698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002700 <placement x="%col1_x%" y="%row1_y%" />
2701 <font resource="font" color="%button_text_color%" />
2702 <text>Copy Log to SD</text>
2703 <image resource="main_button" />
2704 <actions>
2705 <action function="set">tw_back=advanced</action>
2706 <action function="set">tw_action=copylog</action>
2707 <action function="set">tw_text1=Copy Log to SD Card?</action>
2708 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2709 <action function="set">tw_complete_text1=Log Copy Complete</action>
2710 <action function="set">tw_slider_text=Swipe to Confirm</action>
2711 <action function="page">confirm_action</action>
2712 </actions>
2713 </object>
2714
2715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002717 <placement x="%col2_x%" y="%row1_y%" />
2718 <font resource="font" color="%button_text_color%" />
2719 <text>Fix Permissions</text>
2720 <image resource="main_button" />
2721 <actions>
2722 <action function="set">tw_back=advanced</action>
2723 <action function="set">tw_action=fixpermissions</action>
2724 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2727 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002728 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <action function="page">confirm_action</action>
2730 </actions>
2731 </object>
2732
2733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <condition var1="tw_allow_partition_sdcard" var2="1" />
2736 <placement x="%col1_x%" y="%row2_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Partition SD Card</text>
2739 <image resource="main_button" />
2740 <action function="page">partsdcard</action>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <placement x="%col2_x%" y="%row2_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>File Manager</text>
2748 <image resource="main_button" />
2749 <action function="page">filemanagerlist</action>
2750 </object>
2751
2752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <placement x="%col1_x%" y="%row3_y%" />
2755 <font resource="font" color="%button_text_color%" />
2756 <text>Terminal Command</text>
2757 <image resource="main_button" />
2758 <action function="page">terminalfolder</action>
2759 </object>
2760
2761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002762 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002763 <placement x="%col2_x%" y="%row3_y%" />
2764 <font resource="font" color="%button_text_color%" />
2765 <text>Reload Theme</text>
2766 <image resource="main_button" />
2767 <action function="reload"></action>
2768 </object>
2769
2770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002771 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002772 <placement x="%col1_x%" y="%row4_y%" />
2773 <font resource="font" color="%button_text_color%" />
2774 <text>ADB Sideload</text>
2775 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002776 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002777 </object>
2778
2779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <condition var1="tw_show_dumlock" var2="1" />
2782 <placement x="%col2_x%" y="%row4_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>HTC Dumlock</text>
2785 <image resource="main_button" />
2786 <action function="page">htcdumlock</action>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <condition var1="tw_has_injecttwrp" var2="1" />
2792 <placement x="%col2_x%" y="%row4_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>Re-Inject TWRP</text>
2795 <image resource="main_button" />
2796 <actions>
2797 <action function="set">tw_back=advanced</action>
2798 <action function="set">tw_action=reinjecttwrp</action>
2799 <action function="set">tw_text1=Re-Inject TWRP?</action>
2800 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2801 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2802 <action function="set">tw_slider_text=Swipe to Confirm</action>
2803 <action function="page">confirm_action</action>
2804 </actions>
2805 </object>
2806
2807 <object type="action">
2808 <touch key="home" />
2809 <action function="page">main</action>
2810 </object>
2811
2812 <object type="action">
2813 <touch key="back" />
2814 <action function="page">main</action>
2815 </object>
2816
2817 <object type="template" name="footer" />
2818 </page>
2819
2820 <page name="partsdcard">
2821 <object type="template" name="header" />
2822
2823 <object type="text" color="%text_color%">
2824 <font resource="font" />
2825 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2826 <text>Partition SD Card</text>
2827 </object>
2828
2829 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002830 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002831 <placement x="%col1_x%" y="%row1_y%" />
2832 <font resource="font" color="%button_text_color%" />
2833 <text></text>
2834 <image resource="minus_button" />
2835 <action function="addsubtract">tw_sdext_size-128</action>
2836 </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 <placement x="%sd_plus_x%" y="%row1_y%" />
2841 <font resource="font" color="%button_text_color%" />
2842 <text></text>
2843 <image resource="plus_button" />
2844 <action function="addsubtract">tw_sdext_size+128</action>
2845 </object>
2846
2847 <object type="text" color="%text_color%">
2848 <font resource="font" />
2849 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2850 <text>EXT Size: %tw_sdext_size%</text>
2851 </object>
2852
2853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002854 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002855 <placement x="%col1_x%" y="%sdswap_button_y%" />
2856 <font resource="font" color="%button_text_color%" />
2857 <text></text>
2858 <image resource="minus_button" />
2859 <action function="addsubtract">tw_swap_size-32</action>
2860 </object>
2861
2862 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002863 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002864 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2865 <font resource="font" color="%button_text_color%" />
2866 <text></text>
2867 <image resource="plus_button" />
2868 <action function="addsubtract">tw_swap_size+32</action>
2869 </object>
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2874 <text>Swap Size: %tw_swap_size%</text>
2875 </object>
2876
2877 <object type="text" color="%text_color%">
2878 <font resource="font" />
2879 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2880 <text>File system: %tw_sdpart_file_system%</text>
2881 </object>
2882
2883 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002884 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002885 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2886 <font resource="font" color="%button_text_color%" />
2887 <text>EXT3</text>
2888 <image resource="main_button" />
2889 <action function="set">tw_sdpart_file_system=ext3</action>
2890 </object>
2891
2892 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002893 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002894 <condition var1="tw_sdext_disable_ext4" var2="0" />
2895 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2896 <font resource="font" color="%button_text_color%" />
2897 <text>EXT4</text>
2898 <image resource="main_button" />
2899 <action function="set">tw_sdpart_file_system=ext4</action>
2900 </object>
2901
2902 <object type="text" color="%text_color%">
2903 <font resource="font" />
2904 <placement x="%col1_x%" y="%row12_text_y%" />
2905 <text>You will lose all files on your SD card!</text>
2906 </object>
2907
2908 <object type="text" color="%text_color%">
2909 <font resource="font" />
2910 <placement x="%col1_x%" y="%row13_text_y%" />
2911 <text>This action cannot be undone!</text>
2912 </object>
2913
2914 <object type="slider">
2915 <placement x="%slider_x%" y="%slider_y%" />
2916 <resource base="slider" used="slider-used" touch="slider-touch" />
2917 <action function="page">partsdcardaction</action>
2918 <actions>
2919 <action function="set">tw_back=partsdcard</action>
2920 <action function="set">tw_action=partitionsd</action>
2921 <action function="set">tw_has_action2=1</action>
2922 <action function="set">tw_action2=set</action>
2923 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2924 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2925 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002926 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <action function="page">action_page</action>
2928 </actions>
2929 </object>
2930
2931 <object type="text" color="%text_color%">
2932 <font resource="font" />
2933 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2934 <text>Swipe to Partition</text>
2935 </object>
2936
2937 <object type="action">
2938 <touch key="home" />
2939 <action function="page">main</action>
2940 </object>
2941
2942 <object type="action">
2943 <touch key="back" />
2944 <action function="page">advanced</action>
2945 </object>
2946
2947 <object type="template" name="footer" />
2948 </page>
2949
2950 <page name="htcdumlock">
2951 <object type="template" name="header" />
2952
2953 <object type="text" color="%text_color%">
2954 <font resource="font" />
2955 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2956 <text>HTC Dumlock</text>
2957 </object>
2958
2959 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002960 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002961 <condition var1="tw_show_dumlock" var2="1" />
2962 <placement x="%col1_x%" y="%row1_y%" />
2963 <font resource="font" color="%button_text_color%" />
2964 <text>Restore Original Boot</text>
2965 <image resource="main_button" />
2966 <actions>
2967 <action function="set">tw_back=htcdumlock</action>
2968 <action function="set">tw_action=htcdumlockrestoreboot</action>
2969 <action function="set">tw_text1=Restore original boot image?</action>
2970 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2971 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2972 <action function="set">tw_slider_text=Swipe to Confirm</action>
2973 <action function="page">confirm_action</action>
2974 </actions>
2975 </object>
2976
2977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <condition var1="tw_show_dumlock" var2="1" />
2980 <placement x="%col2_x%" y="%row1_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Reflash Recovery</text>
2983 <image resource="main_button" />
2984 <actions>
2985 <action function="set">tw_back=htcdumlock</action>
2986 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2987 <action function="set">tw_text1=Reflash recovery to boot?</action>
2988 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2989 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2990 <action function="set">tw_slider_text=Swipe to Confirm</action>
2991 <action function="page">confirm_action</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002996 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <condition var1="tw_show_dumlock" var2="1" />
2998 <placement x="%col1_x%" y="%row2_y%" />
2999 <font resource="font" color="%button_text_color%" />
3000 <text>Install HTC Dumlock</text>
3001 <image resource="main_button" />
3002 <actions>
3003 <action function="set">tw_back=htcdumlock</action>
3004 <action function="set">tw_action=installhtcdumlock</action>
3005 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3006 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3007 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3008 <action function="set">tw_slider_text=Swipe to Confirm</action>
3009 <action function="page">confirm_action</action>
3010 </actions>
3011 </object>
3012
3013 <object type="action">
3014 <touch key="home" />
3015 <action function="page">main</action>
3016 </object>
3017
3018 <object type="action">
3019 <touch key="back" />
3020 <action function="page">advanced</action>
3021 </object>
3022
3023 <object type="template" name="footer" />
3024 </page>
3025
3026 <page name="lock">
3027 <background color="#000000A0" />
3028
3029 <object type="image">
3030 <image resource="unlock-icon" />
3031 <placement x="%lock_x%" y="%lock_y%" />
3032 </object>
3033
3034 <object type="slider">
3035 <placement x="%slider_x%" y="%slider_y%" />
3036 <resource base="slider" used="slider-used" touch="slider-touch" />
3037 <action function="overlay"></action>
3038 </object>
3039
3040 <object type="text" color="%text_color%">
3041 <font resource="font" />
3042 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3043 <text>Swipe to Unlock</text>
3044 </object>
3045 </page>
3046
3047 <page name="filemanagerlist">
3048 <object type="template" name="header" />
3049
3050 <object type="text" color="%text_color%">
3051 <font resource="font" />
3052 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3053 <text>File Manager: Select a File or Folder</text>
3054 </object>
3055
3056 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003057 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003058 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3059 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3060 <text>%tw_file_location1%</text>
3061 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3062 <sort name="tw_gui_sort_order" />
3063 <icon folder="folder_icon" file="file_icon" />
3064 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003065 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <folders="1" files="1" />
3067 <path name="tw_file_location1" default="/" />
3068 <data name="tw_filename1" />
3069 <selection name="tw_selection1" />
3070 </object>
3071
3072 <object type="template" name="sort_options" />
3073
3074 <object type="action">
3075 <actions>
3076 <action function="set">tw_fm_type=File</action>
3077 <action function="set">tw_fm_isfolder=0</action>
3078 </actions>
3079 </object>
3080
3081 <object type="action">
3082 <touch key="home" />
3083 <action function="page">main</action>
3084 </object>
3085
3086 <object type="action">
3087 <touch key="back" />
3088 <action function="page">advanced</action>
3089 </object>
3090
3091 <object type="action">
3092 <condition var1="tw_filename1" op="modified" />
3093 <actions>
3094 <action function="page">filemanageroptions</action>
3095 </actions>
3096 </object>
3097
3098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003099 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003100 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3101 <font resource="font" color="%button_text_color%" />
3102 <text>Select</text>
3103 <image resource="medium_button" />
3104 <actions>
3105 <action function="set">tw_filename1=tw_file_location1</action>
3106 <action function="set">tw_fm_isfolder=1</action>
3107 <action function="set">tw_fm_type=Folder</action>
3108 <action function="page">filemanageroptions</action>
3109 </actions>
3110 </object>
3111
3112 <object type="template" name="footer" />
3113 </page>
3114
3115 <page name="filemanageroptions">
3116 <object type="template" name="header" />
3117
3118 <object type="text" color="%text_color%">
3119 <font resource="font" />
3120 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3121 <text>%tw_fm_type% Selected:</text>
3122 </object>
3123
3124 <object type="text" color="%text_color%">
3125 <font resource="font" />
3126 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3127 <text>%tw_filename1%</text>
3128 </object>
3129
3130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <condition var1="tw_fm_isfolder" var2="0" />
3133 <placement x="%col1_x%" y="%row2_y%" />
3134 <font resource="font" color="%button_text_color%" />
3135 <text>Copy File</text>
3136 <image resource="main_button" />
3137 <actions>
3138 <action function="set">tw_filemanager_command=cp</action>
3139 <action function="set">tw_fm_text1=Copying</action>
3140 <action function="page">choosedestinationfolder</action>
3141 </actions>
3142 </object>
3143
3144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003146 <condition var1="tw_fm_isfolder" var2="1" />
3147 <placement x="%col1_x%" y="%row2_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>Copy Folder</text>
3150 <image resource="main_button" />
3151 <actions>
3152 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3153 <action function="set">tw_fm_text1=Copying</action>
3154 <action function="page">choosedestinationfolder</action>
3155 </actions>
3156 </object>
3157
3158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003160 <placement x="%col2_x%" y="%row2_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Move</text>
3163 <image resource="main_button" />
3164 <actions>
3165 <action function="set">tw_filemanager_command=mv</action>
3166 <action function="set">tw_fm_text1=Moving</action>
3167 <action function="page">choosedestinationfolder</action>
3168 </actions>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003173 <placement x="%col1_x%" y="%row3_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>chmod 755</text>
3176 <image resource="main_button" />
3177 <actions>
3178 <action function="set">tw_filemanager_command=chmod 755</action>
3179 <action function="set">tw_fm_text1=chmod 755</action>
3180 <action function="set">tw_fm_text2=</action>
3181 <action function="set">tw_fm_text3=</action>
3182 <action function="set">tw_include_text3=0</action>
3183 <action function="set">tw_back=filemanageroptions</action>
3184 <action function="page">filemanagerconfirm</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <placement x="%col2_x%" y="%row3_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>chmod</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_rename=0000</action>
3196 <action function="set">tw_fm_text2=</action>
3197 <action function="set">tw_fm_text3=</action>
3198 <action function="set">tw_include_text3=0</action>
3199 <action function="set">tw_back=filemanageroptions</action>
3200 <action function="page">filemanagerchmod</action>
3201 </actions>
3202 </object>
3203
3204 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003205 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003206 <placement x="%col1_x%" y="%row4_y%" />
3207 <font resource="font" color="%button_text_color%" />
3208 <text>Delete</text>
3209 <image resource="main_button" />
3210 <actions>
3211 <action function="set">tw_filemanager_command=rm -rf</action>
3212 <action function="set">tw_fm_text1=Deleting</action>
3213 <action function="set">tw_fm_text2=</action>
3214 <action function="set">tw_fm_text3=</action>
3215 <action function="set">tw_include_text3=0</action>
3216 <action function="set">tw_back=filemanageroptions</action>
3217 <action function="page">filemanagerconfirm</action>
3218 </actions>
3219 </object>
3220
3221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003222 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003223 <condition var1="tw_fm_isfolder" var2="0" />
3224 <placement x="%col2_x%" y="%row4_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>Rename File</text>
3227 <image resource="main_button" />
3228 <actions>
3229 <action function="set">tw_filemanager_rename=tw_selection1</action>
3230 <action function="set">tw_fm_text1=Renaming</action>
3231 <action function="set">tw_filemanager_command=mv</action>
3232 <action function="page">filemanagerrenamefile</action>
3233 </actions>
3234 </object>
3235
3236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003238 <condition var1="tw_fm_isfolder" var2="1" />
3239 <placement x="%col2_x%" y="%row4_y%" />
3240 <font resource="font" color="%button_text_color%" />
3241 <text>Rename Folder</text>
3242 <image resource="main_button" />
3243 <actions>
3244 <action function="set">tw_filemanager_rename=tw_selection1</action>
3245 <action function="set">tw_fm_text1=Renaming</action>
3246 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3247 <action function="page">filemanagerrenamefolder</action>
3248 </actions>
3249 </object>
3250
3251 <object type="action">
3252 <touch key="home" />
3253 <action function="page">main</action>
3254 </object>
3255
3256 <object type="action">
3257 <touch key="back" />
3258 <action function="page">filemanagerlist</action>
3259 </object>
3260
3261 <object type="template" name="footer" />
3262 </page>
3263
3264 <page name="choosedestinationfolder">
3265 <object type="template" name="header" />
3266
3267 <object type="text" color="%text_color%">
3268 <font resource="font" />
3269 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3270 <text>Browse to Destination Folder & Press Select</text>
3271 </object>
3272
3273 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003274 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003275 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3276 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3277 <text>%tw_file_location2%</text>
3278 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3279 <sort name="tw_gui_sort_order" />
3280 <icon folder="folder_icon" file="file_icon" />
3281 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003282 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003283 <filter folders="1" files="0" />
3284 <path name="tw_file_location2" default="/" />
3285 <data name="tw_filename2" />
3286 <selection name="tw_selection2" />
3287 </object>
3288
3289 <object type="template" name="sort_options" />
3290
3291 <object type="action">
3292 <touch key="home" />
3293 <action function="page">main</action>
3294 </object>
3295
3296 <object type="action">
3297 <touch key="back" />
3298 <action function="page">filemanageroptions</action>
3299 </object>
3300
3301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003303 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3304 <font resource="font" color="%button_text_color%" />
3305 <text>Select</text>
3306 <image resource="medium_button" />
3307 <actions>
3308 <action function="set">tw_fm_text2=to</action>
3309 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3310 <action function="set">tw_include_text3=1</action>
3311 <action function="set">tw_back=filemanageroptions</action>
3312 <action function="page">filemanagerconfirm</action>
3313 </actions>
3314 </object>
3315
3316 <object type="template" name="footer" />
3317 </page>
3318
3319 <page name="filemanagerrenamefile">
3320 <object type="template" name="header" />
3321
3322 <object type="text" color="%text_color%">
3323 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3324 <font resource="font" />
3325 <text>Please Enter a New %tw_fm_type% Name</text>
3326 </object>
3327
3328 <object type="input">
3329 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3330 <background color="%input_background_color%" />
3331 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3332 <font resource="font" color="%text_color%" />
3333 <text>%tw_filemanager_rename%</text>
3334 <data name="tw_filemanager_rename" />
3335 <restrict minlen="1" maxlen="128" />
3336 <actions>
3337 <action function="set">tw_fm_text2=to</action>
3338 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3339 <action function="set">tw_include_text3=1</action>
3340 <action function="set">tw_back=filemanageroptions</action>
3341 <action function="page">filemanagerconfirm</action>
3342 </actions>
3343 </object>
3344
3345 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003346 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003347 <placement x="%col_center_x%" y="%row2_y%" />
3348 <font resource="font" color="%button_text_color%" />
3349 <text>Cancel</text>
3350 <image resource="main_button" />
3351 <action function="page">filemanageroptions</action>
3352 </object>
3353
3354 <object type="template" name="keyboardtemplate" />
3355
3356 <object type="action">
3357 <touch key="home" />
3358 <action function="page">main</action>
3359 </object>
3360
3361 <object type="action">
3362 <touch key="back" />
3363 <action function="page">filemanageroptions</action>
3364 </object>
3365
3366 <object type="template" name="footer" />
3367 </page>
3368
3369 <page name="filemanagerrenamefolder">
3370 <object type="template" name="header" />
3371
3372 <object type="text" color="%text_color%">
3373 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3374 <font resource="font" />
3375 <text>Please Enter a New %tw_fm_type% Name</text>
3376 </object>
3377
3378 <object type="input">
3379 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3380 <background color="%input_background_color%" />
3381 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3382 <font resource="font" color="%text_color%" />
3383 <text>%tw_filemanager_rename%</text>
3384 <data name="tw_filemanager_rename" />
3385 <restrict minlen="1" maxlen="128" />
3386 <actions>
3387 <action function="set">tw_fm_text2=to</action>
3388 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3389 <action function="set">tw_include_text3=1</action>
3390 <action function="set">tw_back=filemanageroptions</action>
3391 <action function="page">filemanagerconfirm</action>
3392 </actions>
3393 </object>
3394
3395 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003396 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003397 <placement x="%col_center_x%" y="%row2_y%" />
3398 <font resource="font" color="%button_text_color%" />
3399 <text>Cancel</text>
3400 <image resource="main_button" />
3401 <action function="page">filemanageroptions</action>
3402 </object>
3403
3404 <object type="template" name="keyboardtemplate" />
3405
3406 <object type="action">
3407 <touch key="home" />
3408 <action function="page">main</action>
3409 </object>
3410
3411 <object type="action">
3412 <touch key="back" />
3413 <action function="page">filemanageroptions</action>
3414 </object>
3415
3416 <object type="template" name="footer" />
3417 </page>
3418
3419 <page name="filemanagerchmod">
3420 <object type="template" name="header" />
3421
3422 <object type="text" color="%text_color%">
3423 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3424 <font resource="font" />
3425 <text>Please Enter New Permissions</text>
3426 </object>
3427
3428 <object type="input">
3429 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3430 <background color="%input_background_color%" />
3431 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3432 <font resource="font" color="%text_color%" />
3433 <text>%tw_filemanager_rename%</text>
3434 <data name="tw_filemanager_rename" />
3435 <restrict minlen="3" maxlen="4" allow="0123456789" />
3436 <actions>
3437 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3438 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3439 <action function="set">tw_back=filemanageroptions</action>
3440 <action function="page">filemanagerconfirm</action>
3441 </actions>
3442 </object>
3443
3444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003446 <placement x="%col_center_x%" y="%row2_y%" />
3447 <font resource="font" color="%button_text_color%" />
3448 <text>Cancel</text>
3449 <image resource="main_button" />
3450 <action function="page">filemanageroptions</action>
3451 </object>
3452
3453 <object type="template" name="keyboardtemplate" />
3454
3455 <object type="action">
3456 <touch key="home" />
3457 <action function="page">main</action>
3458 </object>
3459
3460 <object type="action">
3461 <touch key="back" />
3462 <action function="page">filemanageroptions</action>
3463 </object>
3464
3465 <object type="template" name="footer" />
3466 </page>
3467
3468 <page name="filemanagerconfirm">
3469 <object type="template" name="header" />
3470
3471 <object type="text" color="%text_color%">
3472 <font resource="font" />
3473 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3474 <text>%tw_fm_text1%</text>
3475 </object>
3476
3477 <object type="text" color="%text_color%">
3478 <font resource="font" />
3479 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3480 <text>%tw_filename1%</text>
3481 </object>
3482
3483 <object type="text" color="%text_color%">
3484 <font resource="font" />
3485 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3486 <text>%tw_fm_text2%</text>
3487 </object>
3488
3489 <object type="text" color="%text_color%">
3490 <font resource="font" />
3491 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3492 <text>%tw_fm_text3%</text>
3493 </object>
3494
3495 <object type="text" color="%text_color%">
3496 <font resource="font" />
3497 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3498 <text>Press back button to cancel.</text>
3499 </object>
3500
3501 <object type="slider">
3502 <placement x="%slider_x%" y="%slider_y%" />
3503 <resource base="slider" used="slider-used" touch="slider-touch" />
3504 <action function="page">filemanageracction</action>
3505 </object>
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3510 <text>Swipe to Confirm</text>
3511 </object>
3512
3513 <object type="action">
3514 <touch key="back" />
3515 <action function="page">%tw_back%</action>
3516 </object>
3517
3518 <object type="action">
3519 <touch key="home" />
3520 <action function="page">main</action>
3521 </object>
3522
3523 <object type="template" name="footer" />
3524 </page>
3525
3526 <page name="filemanageracction">
3527 <object type="template" name="header" />
3528
3529 <object type="text" color="%text_color%">
3530
3531 <font resource="font" />
3532 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3533 <text>%tw_fm_text1%</text>
3534 </object>
3535
3536 <object type="template" name="action_page_console" />
3537
3538 <object type="template" name="progress_bar" />
3539
3540 <object type="action">
3541 <conditions>
3542 <condition var1="tw_operation_state" var2="1" />
3543 <condition var1="tw_operation_status" var2="0" />
3544 </conditions>
3545 <actions>
3546 <action function="set">tw_back=filemanagerlist</action>
3547 <action function="set">tw_complete_text1=File Operation Complete</action>
3548 <action function="page">action_complete</action>
3549 </actions>
3550 </object>
3551
3552 <object type="action">
3553 <conditions>
3554 <condition var1="tw_operation_state" var2="1" />
3555 <condition var1="tw_operation_status" op="!=" var2="0" />
3556 </conditions>
3557 <actions>
3558 <action function="set">tw_complete_text1=File Operation Complete</action>
3559 <action function="page">action_complete</action>
3560 </actions>
3561 </object>
3562
3563 <object type="action">
3564 <condition var1="tw_include_text3" var2="0" />
3565 <actions>
3566 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3567 </actions>
3568 </object>
3569
3570 <object type="action">
3571 <condition var1="tw_include_text3" var2="1" />
3572 <actions>
3573 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3574 </actions>
3575 </object>
3576 </page>
3577
3578 <page name="decrypt">
3579 <object type="template" name="header" />
3580
3581 <object type="text" color="%text_color%">
3582 <font resource="font" />
3583 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3584 <text>Please Enter Your Password</text>
3585 </object>
3586
3587 <object type="input">
3588 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3589 <background color="%input_background_color%" />
3590 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3591 <font resource="font" color="%text_color%" />
3592 <text>%tw_crypto_display%</text>
3593 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3594 <restrict minlen="1" maxlen="254" />
3595 <actions>
3596 <action function="page">trydecrypt</action>
3597 </actions>
3598 </object>
3599
3600 <object type="text" color="%text_fail_color%">
3601 <condition var1="tw_password_fail" var2="1" />
3602 <font resource="font" />
3603 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3604 <text>Password Failed, Please Try Again</text>
3605 </object>
3606
3607 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003608 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003609 <placement x="%col_center_x%" y="%row2_y%" />
3610 <font resource="font" color="%button_text_color%" />
3611 <text>Cancel</text>
3612 <image resource="main_button" />
3613 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003614 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003615 <action function="page">main</action>
3616 </actions>
3617 </object>
3618
3619 <object type="template" name="keyboardtemplate" />
3620
Dees_Troy51a0e822012-09-05 15:24:24 -04003621 <object type="template" name="footer" />
3622 </page>
3623
3624 <page name="trydecrypt">
3625 <object type="template" name="header" />
3626
3627 <object type="text" color="%text_color%">
3628 <font resource="font" />
3629 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3630 <text>Trying Decryption with Your Password</text>
3631 </object>
3632
3633 <object type="template" name="action_page_console" />
3634
3635 <object type="template" name="progress_bar" />
3636
3637 <object type="action">
3638 <action function="decrypt"></action>
3639 </object>
3640
3641 <object type="action">
3642 <conditions>
3643 <condition var1="tw_operation_state" var2="1" />
3644 <condition var1="tw_operation_status" op="!=" var2="0" />
3645 </conditions>
3646 <actions>
3647 <action function="set">tw_password_fail=1</action>
3648 <action function="page">decrypt</action>
3649 </actions>
3650 </object>
3651
3652 <object type="action">
3653 <conditions>
3654 <condition var1="tw_operation_state" var2="1" />
3655 <condition var1="tw_operation_status" op="=" var2="0" />
3656 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003657 <actions>
3658 <action function="set">tw_page_done=1</action>
3659 <action function="page">main</action>
3660 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003661 </object>
3662 </page>
3663
3664 <page name="terminalfolder">
3665 <object type="template" name="header" />
3666
3667 <object type="text" color="%text_color%">
3668 <font resource="font" />
3669 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3670 <text>Browse to Starting Folder</text>
3671 </object>
3672
3673 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003674 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003675 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3676 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3677 <text>%tw_terminal_location%</text>
3678 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3679 <sort name="tw_gui_sort_order" />
3680 <icon folder="folder_icon" file="file_icon" />
3681 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003682 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003683 <filter folders="1" files="0" />
3684 <path name="tw_terminal_location" default="/" />
3685 <data name="tw_terminal" />
3686 <selection name="tw_terminal_selection" />
3687 </object>
3688
3689 <object type="template" name="sort_options" />
3690
3691 <object type="action">
3692 <touch key="home" />
3693 <action function="page">main</action>
3694 </object>
3695
3696 <object type="action">
3697 <touch key="back" />
3698 <action function="page">advanced</action>
3699 </object>
3700
3701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003702 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003703 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3704 <font resource="font" color="%button_text_color%" />
3705 <text>Select</text>
3706 <image resource="medium_button" />
3707 <actions>
3708 <action function="page">terminalcommand</action>
3709 </actions>
3710 </object>
3711
3712 <object type="template" name="footer" />
3713 </page>
3714
3715 <page name="terminalcommand">
3716 <object type="template" name="header" />
3717
3718 <object type="console">
3719 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3720 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3721 <font resource="fixed" />
3722 </object>
3723
3724 <object type="text" color="%text_color%">
3725 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3726 <font resource="font" />
3727 <text>Starting Path: %tw_terminal_location%</text>
3728 </object>
3729
3730 <object type="input">
3731 <condition var1="tw_terminal_state" var2="0" />
3732 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3733 <background color="%input_background_color%" />
3734 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3735 <font resource="font" color="%text_color%" />
3736 <text>%tw_terminal_command%</text>
3737 <data name="tw_terminal_command" />
3738 <restrict minlen="1" />
3739 <action function="terminalcommand">%tw_terminal_command%</action>
3740 </object>
3741
3742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003744 <condition var1="tw_terminal_state" var2="1" />
3745 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3746 <font resource="font" color="%button_text_color%" />
3747 <text>KILL</text>
3748 <image resource="medium_button" />
3749 <action function="killterminal"></action>
3750 </object>
3751
3752 <object type="template" name="keyboardtemplate" />
3753
3754 <object type="action">
3755 <touch key="home" />
3756 <action function="page">main</action>
3757 </object>
3758
3759 <object type="action">
3760 <touch key="back" />
3761 <action function="page">terminalfolder</action>
3762 </object>
3763 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003764
3765 <page name="sideload">
3766 <object type="template" name="header" />
3767
3768 <object type="text" color="%text_color%">
3769 <font resource="font" />
3770 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3771 <text>ADB Sideload</text>
3772 </object>
3773
3774 <object type="checkbox">
3775 <placement x="%col1_x%" y="%row2_text_y%" />
3776 <font resource="font" color="%text_color%" />
3777 <text>Wipe Dalvik Cache.</text>
3778 <data variable="tw_wipe_dalvik" />
3779 <image checked="checkbox_true" unchecked="checkbox_false" />
3780 </object>
3781
3782 <object type="checkbox">
3783 <placement x="%col1_x%" y="%row3_text_y%" />
3784 <font resource="font" color="%text_color%" />
3785 <text>Wipe Cache.</text>
3786 <data variable="tw_wipe_cache" />
3787 <image checked="checkbox_true" unchecked="checkbox_false" />
3788 </object>
3789
3790 <object type="slider">
3791 <placement x="%slider_x%" y="%slider_y%" />
3792 <resource base="slider" used="slider-used" touch="slider-touch" />
3793 <actions>
3794 <action function="set">tw_back=advanced</action>
3795 <action function="set">tw_action=adbsideload</action>
3796 <action function="set">tw_action_text1=ADB Sideload</action>
3797 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3798 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3799 <action function="set">tw_has_cancel=1</action>
3800 <action function="set">tw_show_reboot=1</action>
3801 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3802 <action function="page">action_page</action>
3803 </actions>
3804 </object>
3805
3806 <object type="text" color="%text_color%">
3807 <font resource="font" />
3808 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3809 <text>Swipe to Start Sideload</text>
3810 </object>
3811
3812 <object type="action">
3813 <touch key="home" />
3814 <action function="page">main</action>
3815 </object>
3816
3817 <object type="action">
3818 <touch key="back" />
3819 <action function="page">advanced</action>
3820 </object>
3821
3822 <object type="template" name="footer" />
3823 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003824 </pages>
3825</recovery>