blob: ae0b24e33b03a992ed958ca74b2266b37fa6592f [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="540" height="960" />
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-25" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="qhd-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="qhd-medium-button" />
29 <resource name="sort_button" type="image" filename="qhd-sort-button" />
30 <resource name="minus_button" type="image" filename="qhd-minus-button" />
31 <resource name="plus_button" type="image" filename="qhd-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="exclamation300" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="277" />
48 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040049 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="270" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="332" />
53 <variable name="row3_y" value="524" />
54 <variable name="row4_y" value="716" />
55 <variable name="row_queue_y" value="625" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="180" />
59 <variable name="row3_text_y" value="220" />
60 <variable name="row4_text_y" value="260" />
61 <variable name="row5_text_y" value="300" />
62 <variable name="row6_text_y" value="340" />
63 <variable name="row7_text_y" value="380" />
64 <variable name="row8_text_y" value="420" />
65 <variable name="row9_text_y" value="460" />
66 <variable name="row10_text_y" value="500" />
67 <variable name="row11_text_y" value="540" />
68 <variable name="row12_text_y" value="580" />
69 <variable name="row13_text_y" value="620" />
70 <variable name="row14_text_y" value="660" />
71 <variable name="row15_text_y" value="700" />
72 <variable name="row16_text_y" value="740" />
73 <variable name="row17_text_y" value="780" />
74 <variable name="row18_text_y" value="820" />
75 <variable name="zip_status_y" value="696" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="720" />
78 <variable name="tz_current_y" value="895" />
79 <variable name="col_progressbar_x" value="144" />
80 <variable name="row_progressbar_y" value="850" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="145" />
83 <variable name="col3_medium_x" value="280" />
84 <variable name="col4_medium_x" value="415" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="630" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="50" />
93 <variable name="slider_y" value="820" />
94 <variable name="slider_text_y" value="870" />
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="919" />
102 <variable name="back_button_x" value="466" />
103 <variable name="back_button_y" value="919" />
104 <variable name="sort_asc_text_y" value="830" />
105 <variable name="sort_asc_button_y" value="820" />
106 <variable name="sort_desc_text_y" value="880" />
107 <variable name="sort_desc_button_y" value="870" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="255" />
110 <variable name="sort_col3_button_x" value="330" />
111 <variable name="input_width" value="520" />
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="540" />
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="380" />
122 <variable name="console_install_height" value="580" />
123 <variable name="console_installdone_height" value="380" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="530" />
126 <variable name="fileselector_install_height" value="630" />
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="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600139 <variable name="listbox_tz_height" value="420" />
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" />
144 <variable name="sdext_text_y" value="150" />
145 <variable name="sdswap_button_y" value="185" />
146 <variable name="sdswap_text_x" value="84" />
147 <variable name="sdswap_text_y" value="195" />
148 <variable name="sdfilesystem_text_y" value="240" />
149 <variable name="sdfilesystem_button_y" value="280" />
150 <variable name="lock_x" value="70" />
151 <variable name="lock_y" value="250" />
152 <variable name="filemanager_select_x" value="405" />
153 <variable name="filemanager_select_y" value="825" />
154 <variable name="backup_name_y" value="420" />
155 <variable name="terminal_console_height" value="530" />
156 <variable name="terminal_text_y" value="550" />
157 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="row_dst_text_y" value="540" />
159 <variable name="row_offset_text_y" value="580" />
160 <variable name="row_offset_medium_y" value="630" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400161 <variable name="exclamation_x" value="120" />
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="#000000FF" />
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="240" y="920" />
316 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
317 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
318 <font resource="fixed" />
319 </object>
320 </template>
321
322 <template name="keyboardtemplate">
323 <object type="keyboard">
324 <placement x="0" y="600" />
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="54" />
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="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" />
331 <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" />
332 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" />
333 </layout1>
334 <layout2>
335 <keysize height="78" width="54" />
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="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
338 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
339 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
340 </layout2>
341 <layout3>
342 <keysize height="78" width="54" />
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="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
346 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
347 </layout3>
348 <layout4>
349 <keysize height="78" width="54" />
350 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
351 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
352 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
353 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81: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_Troyc51f1f92012-09-20 15:32:13 -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_Troyc51f1f92012-09-20 15:32:13 -0400905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600906 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -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
Dees_Troy82111022013-02-21 21:13:09 +0000940 <page name="singleaction_page">
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_action_text1%</text>
947 </object>
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
952 <text>%tw_action_text2%</text>
953 </object>
954
955 <object type="template" name="action_page_console" />
956
957 <object type="template" name="progress_bar" />
958
959 <object type="action">
960 <condition var1="tw_operation_state" var2="1" />
961 <actions>
962 <action function="set">tw_page_done=1</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="0" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 </actions>
971 </object>
972
973 <object type="action">
974 <condition var1="tw_has_action2" var2="1" />
975 <actions>
976 <action function="%tw_action%">%tw_action_param%</action>
977 <action function="%tw_action2%">%tw_action2_param%</action>
978 </actions>
979 </object>
980 </page>
981
Dees_Troy51a0e822012-09-05 15:24:24 -0400982 <page name="action_complete">
983 <object type="template" name="header" />
984
985 <object type="text" color="%text_color%">
986 <font resource="font" />
987 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
988 <text>%tw_complete_text1%</text>
989 </object>
990
991 <object type="text" color="%text_fail_color%">
992 <condition var1="tw_operation_status" op="!=" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Failed</text>
996 </object>
997
998 <object type="text" color="%text_success_color%">
999 <condition var1="tw_operation_status" var2="0" />
1000 <font resource="font" />
1001 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1002 <text>Successful</text>
1003 </object>
1004
1005 <object type="template" name="action_page_console" />
1006
1007 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001008 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001009 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001010 <placement x="%col_center_x%" y="%row4_y%" />
1011 <font resource="font" color="%button_text_color%" />
1012 <text>Back</text>
1013 <image resource="main_button" />
1014 <actions>
1015 <action function="set">tw_clear_destination=%tw_back%</action>
1016 <action function="page">clear_vars</action>
1017 </actions>
1018 </object>
1019
Dees_Troya3f81542012-10-08 10:58:53 -04001020 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001021 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001022 <condition var1="tw_show_reboot" var2="1" />
1023 <placement x="%col_center_x%" y="%row4_y%" />
1024 <font resource="font" color="%button_text_color%" />
1025 <text>Reboot System</text>
1026 <image resource="main_button" />
1027 <actions>
1028 <action function="set">tw_back=main2</action>
1029 <action function="set">tw_action=reboot</action>
1030 <action function="set">tw_action_param=system</action>
1031 <action function="set">tw_has_action2=0</action>
1032 <action function="set">tw_text1=No OS Installed! Are you</action>
1033 <action function="set">tw_text2=sure you wish to reboot?</action>
1034 <action function="set">tw_text3=</action>
1035 <action function="set">tw_text4=</action>
1036 <action function="set">tw_action_text1=Rebooting...</action>
1037 <action function="set">tw_action_text2=</action>
1038 <action function="set">tw_complete_text1=Rebooting...</action>
1039 <action function="set">tw_slider_text=Swipe to Reboot</action>
1040 <action function="page">rebootcheck</action>
1041 </actions>
1042 </object>
1043
Dees_Troy51a0e822012-09-05 15:24:24 -04001044 <object type="action">
1045 <touch key="home" />
1046 <actions>
1047 <action function="set">tw_clear_destination=main2</action>
1048 <action function="page">clear_vars</action>
1049 </actions>
1050 </object>
1051
1052 <object type="action">
1053 <touch key="back" />
1054 <actions>
1055 <action function="set">tw_clear_destination=%tw_back%</action>
1056 <action function="page">clear_vars</action>
1057 </actions>
1058 </object>
1059 </page>
1060
1061 <page name="filecheck">
1062 <object type="action">
1063 <action function="fileexists">%tw_filecheck%</action>
1064 </object>
1065
1066 <object type="action">
1067 <conditions>
1068 <condition var1="tw_operation_state" var2="1" />
1069 <condition var1="tw_operation_status" var2="0" />
1070 </conditions>
1071 <actions>
1072 <action function="set">tw_fileexists=1</action>
1073 <action function="page">%tw_existpage%</action>
1074 </actions>
1075 </object>
1076
1077 <object type="action">
1078 <conditions>
1079 <condition var1="tw_operation_state" var2="1" />
1080 <condition var1="tw_operation_status" var2="1" />
1081 </conditions>
1082 <actions>
1083 <action function="set">tw_fileexists=0</action>
1084 <action function="page">%tw_notexistpage%</action>
1085 </actions>
1086 </object>
1087 </page>
1088
1089 <page name="rebootcheck">
1090 <object type="action">
1091 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1092 <action function="reboot">%tw_action_param%</action>
1093 </object>
1094
1095 <object type="action">
1096 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1097 <action function="page">confirm_action</action>
1098 </object>
1099 </page>
1100
1101 <page name="wipe">
1102 <object type="template" name="header" />
1103
1104 <object type="text" color="%text_color%">
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1107 <text>Wipe Menu</text>
1108 </object>
1109
1110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001112 <placement x="%col1_x%" y="%row1_y%" />
1113 <font resource="font" color="%button_text_color%" />
1114 <text>Cache</text>
1115 <image resource="main_button" />
1116 <actions>
1117 <action function="set">tw_back=wipe</action>
1118 <action function="set">tw_action=wipe</action>
1119 <action function="set">tw_action_param=/cache</action>
1120 <action function="set">tw_text1=Wipe Cache?</action>
1121 <action function="set">tw_action_text1=Wiping Cache...</action>
1122 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1123 <action function="set">tw_slider_text=Swipe to Wipe</action>
1124 <action function="page">confirm_action</action>
1125 </actions>
1126 </object>
1127
1128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001130 <placement x="%col2_x%" y="%row1_y%" />
1131 <font resource="font" color="%button_text_color%" />
1132 <text>Dalvik Cache</text>
1133 <image resource="main_button" />
1134 <actions>
1135 <action function="set">tw_back=wipe</action>
1136 <action function="set">tw_action=wipe</action>
1137 <action function="set">tw_action_param=dalvik</action>
1138 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1139 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1140 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1141 <action function="set">tw_slider_text=Swipe to Wipe</action>
1142 <action function="page">confirm_action</action>
1143 </actions>
1144 </object>
1145
1146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 <placement x="%col1_x%" y="%row2_y%" />
1149 <font resource="font" color="%button_text_color%" />
1150 <text>Factory Reset</text>
1151 <image resource="main_button" />
1152 <actions>
1153 <action function="set">tw_back=wipe</action>
1154 <action function="set">tw_action=wipe</action>
1155 <action function="set">tw_action_param=data</action>
1156 <action function="set">tw_text1=Factory Reset?</action>
1157 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1158 <action function="set">tw_action_text1=Factory Reset...</action>
1159 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1160 <action function="set">tw_slider_text=Swipe to Wipe</action>
1161 <action function="page">confirm_action</action>
1162 </actions>
1163 </object>
1164
1165 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001166 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001167 <placement x="%col2_x%" y="%row2_y%" />
1168 <font resource="font" color="%button_text_color%" />
1169 <text>System</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=/system</action>
1175 <action function="set">tw_text1=Wipe System?</action>
1176 <action function="set">tw_text2=This will wipe your ROM</action>
1177 <action function="set">tw_action_text1=Wiping System...</action>
1178 <action function="set">tw_complete_text1=System Wipe Complete</action>
1179 <action function="set">tw_slider_text=Swipe to Wipe</action>
1180 <action function="page">confirm_action</action>
1181 </actions>
1182 </object>
1183
1184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001186 <condition var1="tw_has_external" var2="1" />
1187 <placement x="%col1_x%" y="%row3_y%" />
1188 <font resource="font" color="%button_text_color%" />
1189 <text>External Storage</text>
1190 <image resource="main_button" />
1191 <actions>
1192 <action function="set">tw_back=wipe</action>
1193 <action function="set">tw_action=wipe</action>
1194 <action function="set">tw_action_param=EXTERNAL</action>
1195 <action function="set">tw_has_action2=1</action>
1196 <action function="set">tw_action2=set</action>
1197 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001198 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <action function="set">tw_action_text1=Wiping External Storage...</action>
1200 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1201 <action function="set">tw_slider_text=Swipe to Wipe</action>
1202 <action function="page">confirm_action</action>
1203 </actions>
1204 </object>
1205
1206 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001207 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001208 <condition var1="tw_has_internal" var2="1" />
1209 <placement x="%col2_x%" y="%row3_y%" />
1210 <font resource="font" color="%button_text_color%" />
1211 <text>Internal Storage</text>
1212 <image resource="main_button" />
1213 <actions>
1214 <action function="set">tw_back=wipe</action>
1215 <action function="set">tw_action=wipe</action>
1216 <action function="set">tw_action_param=INTERNAL</action>
1217 <action function="set">tw_has_action2=1</action>
1218 <action function="set">tw_action2=set</action>
1219 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1220 <action function="set">tw_text1=Wipe Internal Storage?</action>
1221 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1222 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1223 <action function="set">tw_slider_text=Swipe to Wipe</action>
1224 <action function="page">confirm_action</action>
1225 </actions>
1226 </object>
1227
1228 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001229 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001230 <conditions>
1231 <condition var1="tw_has_internal" var2="1" />
1232 <condition var1="tw_has_data_media" var2="1" />
1233 </conditions>
1234 <placement x="%col1_x%" y="%row4_y%" />
1235 <font resource="font" color="%button_text_color%" />
1236 <text>Format Data</text>
1237 <image resource="main_button" />
1238 <actions>
1239 <action function="set">tw_back=wipe</action>
1240 <action function="set">tw_action=wipe</action>
1241 <action function="set">tw_action_param=DATAMEDIA</action>
1242 <action function="set">tw_has_action2=1</action>
1243 <action function="set">tw_action2=set</action>
1244 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001245 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001246 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001247 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 <action function="set">tw_action_text1=Formatting Data...</action>
1249 <action function="set">tw_complete_text1=Data Format Complete</action>
1250 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001251 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 <action function="page">confirm_action</action>
1253 </actions>
1254 </object>
1255
1256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001257 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001258 <condition var1="tw_has_data_media" var2="0" />
1259 <placement x="%col1_x%" y="%row4_y%" />
1260 <font resource="font" color="%button_text_color%" />
1261 <text>Android Secure</text>
1262 <image resource="main_button" />
1263 <actions>
1264 <action function="set">tw_back=wipe</action>
1265 <action function="set">tw_action=wipe</action>
1266 <action function="set">tw_action_param=ANDROIDSECURE</action>
1267 <action function="set">tw_text1=Wipe Android Secure?</action>
1268 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1269 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1270 <action function="set">tw_slider_text=Swipe to Format</action>
1271 <action function="page">confirm_action</action>
1272 </actions>
1273 </object>
1274
1275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001277 <condition var1="tw_has_sdext_partition" var2="1" />
1278 <placement x="%col2_x%" y="%row4_y%" />
1279 <font resource="font" color="%button_text_color%" />
1280 <text>SD Ext</text>
1281 <image resource="main_button" />
1282 <actions>
1283 <action function="set">tw_back=wipe</action>
1284 <action function="set">tw_action=wipe</action>
1285 <action function="set">tw_action_param=/sd-ext</action>
1286 <action function="set">tw_text1=Wipe SD-Ext?</action>
1287 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1288 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1289 <action function="set">tw_slider_text=Swipe to Wipe</action>
1290 <action function="page">confirm_action</action>
1291 </actions>
1292 </object>
1293
1294 <object type="action">
1295 <touch key="home" />
1296 <action function="page">main</action>
1297 </object>
1298
1299 <object type="action">
1300 <touch key="back" />
1301 <action function="page">main</action>
1302 </object>
1303
1304 <object type="template" name="footer" />
1305 </page>
1306
1307 <page name="backup">
1308 <object type="template" name="header" />
1309
1310 <object type="text" color="%text_color%">
1311 <font resource="font" />
1312 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1313 <text>Backup Name: %tw_backup_name%</text>
1314 </object>
1315
1316 <object type="text" color="%text_color%">
1317 <placement x="%col1_x%" y="%row1_text_y%" />
1318 <font resource="font" />
1319 <text>Backup Device</text>
1320 </object>
1321
1322 <object type="slider">
1323 <placement x="%slider_x%" y="slider_y" />
1324 <resource base="slider" used="slider-used" touch="slider-touch" />
1325 <action function="page">backup_run</action>
1326 </object>
1327
1328 <object type="text" color="%text_color%">
1329 <font resource="font" />
1330 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1331 <text>Swipe to Back Up</text>
1332 </object>
1333
1334 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001335 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001336 <placement x="%col2_x%" y="%row1_y%" />
1337 <font resource="font" color="%button_text_color%" />
1338 <text>Refresh Sizes</text>
1339 <image resource="main_button" />
1340 <action function="refreshsizes"></action>
1341 </object>
1342
1343 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001344 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001345 <placement x="%col2_x%" y="%backup_name_y%" />
1346 <font resource="font" color="%button_text_color%" />
1347 <text>Set Backup Name</text>
1348 <image resource="main_button" />
1349 <actions>
1350 <action function="set">tw_fileexists=0</action>
1351 <action function="page">backupname1</action>
1352 </actions>
1353 </object>
1354
1355 <object type="checkbox">
1356 <placement x="%col1_x%" y="%row2_text_y%" />
1357 <font resource="font" color="%text_color%" />
1358 <text>System (%tw_backup_system_size% MB)</text>
1359 <data variable="tw_backup_system" />
1360 <image checked="checkbox_true" unchecked="checkbox_false" />
1361 </object>
1362
1363 <object type="checkbox">
1364 <placement x="%col1_x%" y="%row3_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <text>Data (%tw_backup_data_size% MB)</text>
1367 <data variable="tw_backup_data" />
1368 <image checked="checkbox_true" unchecked="checkbox_false" />
1369 </object>
1370
1371 <object type="checkbox">
1372 <condition var1="tw_has_boot_partition" var2="1" />
1373 <placement x="%col1_x%" y="%row4_text_y%" />
1374 <font resource="font" color="%text_color%" />
1375 <text>Boot (%tw_backup_boot_size% MB)</text>
1376 <data variable="tw_backup_boot" />
1377 <image checked="checkbox_true" unchecked="checkbox_false" />
1378 </object>
1379
1380 <object type="checkbox">
1381 <condition var1="tw_has_recovery_partition" var2="1" />
1382 <placement x="%col1_x%" y="%row5_text_y%" />
1383 <font resource="font" color="%text_color%" />
1384 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1385 <data variable="tw_backup_recovery" />
1386 <image checked="checkbox_true" unchecked="checkbox_false" />
1387 </object>
1388
1389 <object type="checkbox">
1390 <placement x="%col1_x%" y="%row6_text_y%" />
1391 <font resource="font" color="%text_color%" />
1392 <text>Cache (%tw_backup_cache_size% MB)</text>
1393 <data variable="tw_backup_cache" />
1394 <image checked="checkbox_true" unchecked="checkbox_false" />
1395 </object>
1396
1397 <object type="checkbox">
1398 <condition var1="tw_has_android_secure" var2="1" />
1399 <placement x="%col1_x%" y="%row7_text_y%" />
1400 <font resource="font" color="%text_color%" />
1401 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1402 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1403 <data variable="tw_backup_andsec" />
1404 <image checked="checkbox_true" unchecked="checkbox_false" />
1405 </object>
1406
1407 <object type="checkbox">
1408 <condition var1="tw_has_sdext_partition" var2="1" />
1409 <placement x="%col1_x%" y="%row8_text_y%" />
1410 <font resource="font" color="%text_color%" />
1411 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1412 <condition var1="fileexists" var2="/sd-ext" />
1413 <data variable="tw_backup_sdext" />
1414 <image checked="checkbox_true" unchecked="checkbox_false" />
1415 </object>
1416
1417 <object type="checkbox">
1418 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001419 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 <font resource="font" color="%text_color%" />
1421 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1422 <data variable="tw_backup_sp1" />
1423 <image checked="checkbox_true" unchecked="checkbox_false" />
1424 </object>
1425
1426 <object type="checkbox">
1427 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001428 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 <font resource="font" color="%text_color%" />
1430 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1431 <data variable="tw_backup_sp2" />
1432 <image checked="checkbox_true" unchecked="checkbox_false" />
1433 </object>
1434
1435 <object type="checkbox">
1436 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001437 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 <font resource="font" color="%text_color%" />
1439 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1440 <data variable="tw_backup_sp3" />
1441 <image checked="checkbox_true" unchecked="checkbox_false" />
1442 </object>
1443
1444 <object type="text" color="%text_color%">
1445 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001446 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <text>Free Space: %tw_storage_free_size% MB</text>
1448 </object>
1449
1450 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001451 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001452 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001453 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001454 <data variable="tw_use_compression" />
1455 <image checked="checkbox_true" unchecked="checkbox_false" />
1456 </object>
1457
1458 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001459 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001461 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001462 <data variable="tw_skip_md5_generate" />
1463 <image checked="checkbox_true" unchecked="checkbox_false" />
1464 </object>
1465
1466 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001467 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001468 <font resource="font" color="%text_color%" />
1469 <conditions>
1470 <condition var1="tw_has_dual_storage" var2="1" />
1471 <condition var1="tw_use_external_storage" var2="1" />
1472 </conditions>
1473 <text>Use external SD</text>
1474 <image resource="radio_true" />
1475 <action function="togglestorage">external</action>
1476 </object>
1477
1478 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001479 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001480 <font resource="font" color="%text_color%" />
1481 <conditions>
1482 <condition var1="tw_has_dual_storage" var2="1" />
1483 <condition var1="tw_use_external_storage" var2="0" />
1484 </conditions>
1485 <text>Use external SD</text>
1486 <image resource="radio_false" />
1487 <action function="togglestorage">external</action>
1488 </object>
1489
1490 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001491 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001492 <font resource="font" color="%text_color%" />
1493 <conditions>
1494 <condition var1="tw_has_dual_storage" var2="1" />
1495 <condition var1="tw_use_external_storage" var2="1" />
1496 </conditions>
1497 <text>Use internal storage</text>
1498 <image resource="radio_false" />
1499 <action function="togglestorage">internal</action>
1500 </object>
1501
1502 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001503 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001504 <font resource="font" color="%text_color%" />
1505 <conditions>
1506 <condition var1="tw_has_dual_storage" var2="1" />
1507 <condition var1="tw_use_external_storage" var2="0" />
1508 </conditions>
1509 <text>Use internal storage</text>
1510 <image resource="radio_true" />
1511 <action function="togglestorage">internal</action>
1512 </object>
1513
1514 <object type="action">
1515 <touch key="home" />
1516 <action function="page">main</action>
1517 </object>
1518
1519 <object type="action">
1520 <touch key="back" />
1521 <action function="page">main</action>
1522 </object>
1523
1524 <object type="template" name="footer" />
1525 </page>
1526
1527 <page name="backupname1">
1528 <object type="action">
1529 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1530 <action function="set">tw_backup_name=</function>
1531 </object>
1532
1533 <object type="action">
1534 <action function="page">backupname2</function>
1535 </object>
1536 </page>
1537
1538 <page name="backupname2">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1543 <font resource="font" />
1544 <text>Please Enter a Backup Name</text>
1545 </object>
1546
1547 <object type="input">
1548 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1549 <background color="%input_background_color%" />
1550 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1551 <font resource="font" color="%text_color%" />
1552 <text>%tw_backup_name%</text>
1553 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001554 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001555 <actions>
1556 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1557 <action function="set">tw_existpage=backupname2</action>
1558 <action function="set">tw_notexistpage=backup</action>
1559 <action function="page">filecheck</action>
1560 </actions>
1561 </object>
1562
1563 <object type="text" color="%text_fail_color%">
1564 <condition var1="tw_fileexists" var2="1" />
1565 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1566 <font resource="font" />
1567 <text>A backup with that name already exists!</text>
1568 </object>
1569
1570 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001571 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001572 <placement x="%col_center_x%" y="%row2_y%" />
1573 <font resource="font" color="%button_text_color%" />
1574 <text>Cancel</text>
1575 <image resource="main_button" />
1576 <actions>
1577 <action function="set">tw_backup_name=(Current Date)</action>
1578 <action function="page">backup</action>
1579 </actions>
1580 </object>
1581
1582 <object type="template" name="keyboardtemplate" />
1583
1584 <object type="action">
1585 <touch key="home" />
1586 <actions>
1587 <action function="set">tw_backup_name=(Current Date)</action>
1588 <action function="page">main</action>
1589 </actions>
1590 </object>
1591
1592 <object type="action">
1593 <touch key="back" />
1594 <actions>
1595 <action function="set">tw_backup_name=(Current Date)</action>
1596 <action function="page">backup</action>
1597 </actions>
1598 </object>
1599
1600 <object type="template" name="footer" />
1601 </page>
1602
1603 <page name="backup_run">
1604 <object type="template" name="header" />
1605
1606 <object type="text" color="%text_color%">
1607 <font resource="font" />
1608 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1609 <text>%tw_operation% %tw_partition%</text>
1610 </object>
1611
1612 <object type="template" name="action_page_console" />
1613
1614 <object type="template" name="progress_bar" />
1615
1616 <object type="action">
1617 <action function="nandroid">backup</action>
1618 </object>
1619
1620 <object type="action">
1621 <condition var1="tw_operation_state" var2="1" />
1622 <actions>
1623 <action function="set">tw_back=backup</action>
1624 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001625 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001626 <action function="page">action_complete</action>
1627 </actions>
1628 </object>
1629 </page>
1630
1631 <page name="restore">
1632 <object type="template" name="header" />
1633
1634 <object type="button">
1635 <placement x="%col1_x%" y="%row1_header_y%" />
1636 <font resource="font" color="%text_color%" />
1637 <conditions>
1638 <condition var1="tw_has_dual_storage" var2="1" />
1639 <condition var1="tw_use_external_storage" var2="1" />
1640 </conditions>
1641 <text>Use external SD</text>
1642 <image resource="radio_true" />
1643 <action function="togglestorage">external</action>
1644 </object>
1645
1646 <object type="button">
1647 <placement x="%col1_x%" y="%row1_header_y%" />
1648 <font resource="font" color="%text_color%" />
1649 <conditions>
1650 <condition var1="tw_has_dual_storage" var2="1" />
1651 <condition var1="tw_use_external_storage" var2="0" />
1652 </conditions>
1653 <text>Use external SD</text>
1654 <image resource="radio_false" />
1655 <action function="togglestorage">external</action>
1656 </object>
1657
1658 <object type="button">
1659 <placement x="%col2_x%" y="%row1_header_y%" />
1660 <font resource="font" color="%text_color%" />
1661 <conditions>
1662 <condition var1="tw_has_dual_storage" var2="1" />
1663 <condition var1="tw_use_external_storage" var2="1" />
1664 </conditions>
1665 <text>Use internal storage</text>
1666 <image resource="radio_false" />
1667 <action function="togglestorage">internal</action>
1668 </object>
1669
1670 <object type="button">
1671 <placement x="%col2_x%" y="%row1_header_y%" />
1672 <font resource="font" color="%text_color%" />
1673 <conditions>
1674 <condition var1="tw_has_dual_storage" var2="1" />
1675 <condition var1="tw_use_external_storage" var2="0" />
1676 </conditions>
1677 <text>Use internal storage</text>
1678 <image resource="radio_true" />
1679 <action function="togglestorage">internal</action>
1680 </object>
1681
1682 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001683 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001684 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1685 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1686 <text>Select Package to Restore:</text>
1687 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1688 <sort name="tw_gui_sort_order" />
1689 <icon folder="folder_icon" file="file_icon" />
1690 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001691 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001692 <filter folders="1" files="0" nav="0" />
1693 <path name="tw_backups_folder" />
1694 <data name="tw_restore" default="" />
1695 <selection name="tw_restore_name" />
1696 </object>
1697
1698 <object type="template" name="sort_options" />
1699
1700 <object type="action">
1701 <condition var1="tw_restore" op="modified" />
1702 <actions>
1703 <action function="readBackup"></action>
1704 <action function="page">restore_select</action>
1705 </actions>
1706 </object>
1707
1708 <object type="action">
1709 <touch key="home" />
1710 <action function="page">main</action>
1711 </object>
1712
1713 <object type="action">
1714 <touch key="back" />
1715 <action function="page">main</action>
1716 </object>
1717
1718 <object type="template" name="footer" />
1719 </page>
1720
1721 <page name="restore_select">
1722 <object type="template" name="header" />
1723
1724 <object type="text">
1725 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1726 <font resource="font" color="%text_color%" />
1727 <text>Restoring: %tw_restore_name%</text>
1728 </object>
1729
1730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 <placement x="%col2_x%" y="%row1_y%" />
1733 <font resource="font" color="%button_text_color%" />
1734 <text>Rename Backup</text>
1735 <image resource="main_button" />
1736 <actions>
1737 <action function="set">tw_backup_rename=</action>
1738 <action function="set">tw_fileexists=0</action>
1739 <action function="page">renamebackup</action>
1740 </actions>
1741 </object>
1742
1743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <placement x="%col2_x%" y="%row2_y%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Delete Backup</text>
1748 <image resource="main_button" />
1749 <actions>
1750 <action function="set">tw_back=restore</action>
1751 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001752 <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 -04001753 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1754 <action function="set">tw_text2=This cannot be undone!</action>
1755 <action function="set">tw_action_text1=Deleting Backup...</action>
1756 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1757 <action function="set">tw_slider_text=Swipe to Delete</action>
1758 <action function="page">confirm_action</action>
1759 </actions>
1760 </object>
1761
1762 <object type="slider">
1763 <placement x="%slider_x%" y="%slider_y%" />
1764 <resource base="slider" used="slider-used" touch="slider-touch" />
1765 <action function="page">restore_run</action>
1766 </object>
1767
1768 <object type="text" color="%text_color%">
1769 <font resource="font" />
1770 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1771 <text>Swipe to Restore</text>
1772 </object>
1773
1774 <object type="checkbox">
1775 <placement x="%col1_x%" y="%row2_text_y%" />
1776 <font resource="font" color="%text_color%" />
1777 <text>System</text>
1778 <condition var1="tw_restore_system" op=">=" var2="0" />
1779 <data variable="tw_restore_system" />
1780 <image checked="checkbox_true" unchecked="checkbox_false" />
1781 </object>
1782
1783 <object type="checkbox">
1784 <placement x="%col1_x%" y="%row3_text_y%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>Data</text>
1787 <condition var1="tw_restore_data" op=">=" var2="0" />
1788 <data variable="tw_restore_data" />
1789 <image checked="checkbox_true" unchecked="checkbox_false" />
1790 </object>
1791
1792 <object type="checkbox">
1793 <placement x="%col1_x%" y="%row4_text_y%" />
1794 <font resource="font" color="%text_color%" />
1795 <text>Boot</text>
1796 <condition var1="tw_restore_boot" op=">=" var2="0" />
1797 <data variable="tw_restore_boot" />
1798 <image checked="checkbox_true" unchecked="checkbox_false" />
1799 </object>
1800
1801 <object type="checkbox">
1802 <placement x="%col1_x%" y="%row6_text_y%" />
1803 <font resource="font" color="%text_color%" />
1804 <text>Cache</text>
1805 <condition var1="tw_restore_cache" op=">=" var2="0" />
1806 <data variable="tw_restore_cache" />
1807 <image checked="checkbox_true" unchecked="checkbox_false" />
1808 </object>
1809
1810 <object type="checkbox">
1811 <placement x="%col1_x%" y="%row7_text_y%" />
1812 <font resource="font" color="%text_color%" />
1813 <text>.android_secure</text>
1814 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1815 <data variable="tw_restore_andsec" />
1816 <image checked="checkbox_true" unchecked="checkbox_false" />
1817 </object>
1818
1819 <object type="checkbox">
1820 <placement x="%col1_x%" y="%row8_text_y%" />
1821 <font resource="font" color="%text_color%" />
1822 <text>sd-ext</text>
1823 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1824 <data variable="tw_restore_sdext" />
1825 <image checked="checkbox_true" unchecked="checkbox_false" />
1826 </object>
1827
1828 <object type="checkbox">
1829 <placement x="%col1_x%" y="%row10_text_y%" />
1830 <font resource="font" color="%text_color%" />
1831 <text>%tw_sp1_name%</text>
1832 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1833 <data variable="tw_restore_sp1" />
1834 <image checked="checkbox_true" unchecked="checkbox_false" />
1835 </object>
1836
1837 <object type="checkbox">
1838 <placement x="%col1_x%" y="%row11_text_y%" />
1839 <font resource="font" color="%text_color%" />
1840 <text>%tw_sp2_name%</text>
1841 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1842 <data variable="tw_restore_sp2" />
1843 <image checked="checkbox_true" unchecked="checkbox_false" />
1844 </object>
1845
1846 <object type="checkbox">
1847 <placement x="%col1_x%" y="%row12_text_y%" />
1848 <font resource="font" color="%text_color%" />
1849 <text>%tw_sp3_name%</text>
1850 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1851 <data variable="tw_restore_sp3" />
1852 <image checked="checkbox_true" unchecked="checkbox_false" />
1853 </object>
1854
1855 <object type="checkbox">
1856 <placement x="%col1_x%" y="%row14_text_y%" />
1857 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001858 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001859 <data variable="tw_skip_md5_check" />
1860 <image checked="checkbox_true" unchecked="checkbox_false" />
1861 </object>
1862
1863 <object type="text" color="%text_color%">
1864 <font resource="font" />
1865 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1866 <text>Package Date: %tw_restore_file_date%</text>
1867 </object>
1868
1869 <object type="action">
1870 <touch key="home" />
1871 <action function="page">main</action>
1872 </object>
1873
1874 <object type="action">
1875 <touch key="back" />
1876 <action function="page">restore</action>
1877 </object>
1878
1879 <object type="template" name="footer" />
1880 </page>
1881
1882 <page name="renamebackup">
1883 <object type="template" name="header" />
1884
1885 <object type="text" color="%text_color%">
1886 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1887 <font resource="font" />
1888 <text>Please Enter a New Backup Name</text>
1889 </object>
1890
1891 <object type="input">
1892 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1893 <background color="%input_background_color%" />
1894 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1895 <font resource="font" color="%text_color%" />
1896 <text>%tw_backup_rename%</text>
1897 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001898 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001899 <actions>
1900 <action function="set">tw_back=restore</action>
1901 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001902 <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 -04001903 <action function="set">tw_text1=Rename Backup?</action>
1904 <action function="set">tw_text2=This cannot be undone!</action>
1905 <action function="set">tw_action_text1=Renaming Backup...</action>
1906 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1907 <action function="set">tw_slider_text=Swipe to Rename</action>
1908 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1909 <action function="set">tw_existpage=renamebackup</action>
1910 <action function="set">tw_notexistpage=confirm_action</action>
1911 <action function="page">filecheck</action>
1912 </actions>
1913 </object>
1914
1915 <object type="text" color="%text_fail_color%">
1916 <condition var1="tw_fileexists" var2="1" />
1917 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1918 <font resource="font" />
1919 <text>A backup with that name already exists!</text>
1920 </object>
1921
1922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001923 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001924 <placement x="%col_center_x%" y="%row2_y%" />
1925 <font resource="font" color="%button_text_color%" />
1926 <text>Cancel</text>
1927 <image resource="main_button" />
1928 <action function="page">restore_select</action>
1929 </object>
1930
1931 <object type="template" name="keyboardtemplate" />
1932
1933 <object type="action">
1934 <touch key="home" />
1935 <action function="page">main</action>
1936 </object>
1937
1938 <object type="action">
1939 <touch key="back" />
1940 <action function="page">restore_select</action>
1941 </object>
1942
1943 <object type="template" name="footer" />
1944 </page>
1945
1946 <page name="restore_run">
1947 <object type="template" name="header" />
1948
1949 <object type="text" color="%text_color%">
1950 <font resource="font" />
1951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1952 <text>%tw_operation% %tw_partition%</text>
1953 </object>
1954
1955 <object type="template" name="action_page_console" />
1956
1957 <object type="template" name="progress_bar" />
1958
1959 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001960 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001961 <actions>
1962 <action function="set">tw_back=restore_select</action>
1963 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001964 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001965 <action function="page">action_complete</action>
1966 </actions>
1967 </object>
1968
1969 <object type="action">
1970 <action function="nandroid">restore</action>
1971 </object>
1972 </page>
1973
1974 <page name="mount">
1975 <object type="template" name="header" />
1976
1977 <object type="text" color="%text_color%">
1978 <font resource="font" />
1979 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1980 <text>Mount Menu</text>
1981 </object>
1982
1983 <object type="button">
1984 <placement x="%col1_x%" y="%row1_text_y%" />
1985 <font resource="font" color="%text_color%" />
1986 <condition var1="mounted" op="!=" var2="/system" />
1987 <text>Mount System</text>
1988 <image resource="checkbox_false" />
1989 <action function="mount">/system</action>
1990 </object>
1991
1992 <object type="button">
1993 <placement x="%col1_x%" y="%row1_text_y%" />
1994 <font resource="font" color="%text_color%" />
1995 <condition var1="mounted" op="=" var2="/system" />
1996 <text>Unmount System</text>
1997 <image resource="checkbox_true" />
1998 <action function="umount">/system</action>
1999 </object>
2000
2001 <object type="button">
2002 <placement x="%col1_x%" y="%row2_text_y%" />
2003 <font resource="font" color="%text_color%" />
2004 <condition var1="mounted" op="!=" var2="/data" />
2005 <text>Mount Data</text>
2006 <image resource="checkbox_false" />
2007 <action function="mount">/data</action>
2008 </object>
2009
2010 <object type="button">
2011 <placement x="%col1_x%" y="%row2_text_y%" />
2012 <font resource="font" color="%text_color%" />
2013 <condition var1="mounted" op="=" var2="/data" />
2014 <text>Unmount Data</text>
2015 <image resource="checkbox_true" />
2016 <action function="umount">/data</action>
2017 </object>
2018
2019 <object type="button">
2020 <placement x="%col1_x%" y="%row3_text_y%" />
2021 <font resource="font" color="%text_color%" />
2022 <condition var1="mounted" op="!=" var2="/cache" />
2023 <text>Mount Cache</text>
2024 <image resource="checkbox_false" />
2025 <action function="mount">/cache</action>
2026 </object>
2027
2028 <object type="button">
2029 <placement x="%col1_x%" y="%row3_text_y%" />
2030 <font resource="font" color="%text_color%" />
2031 <condition var1="mounted" op="=" var2="/cache" />
2032 <text>Unmount Cache</text>
2033 <image resource="checkbox_true" />
2034 <action function="umount">/cache</action>
2035 </object>
2036
2037 <object type="button">
2038 <placement x="%col1_x%" y="%row4_text_y%" />
2039 <font resource="font" color="%text_color%" />
2040 <conditions>
2041 <condition var1="tw_has_external" var2="1" />
2042 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2043 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002044 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002045 <image resource="checkbox_false" />
2046 <action function="mount">EXTERNAL</action>
2047 </object>
2048
2049 <object type="button">
2050 <placement x="%col1_x%" y="%row4_text_y%" />
2051 <font resource="font" color="%text_color%" />
2052 <conditions>
2053 <condition var1="tw_has_external" var2="1" />
2054 <condition var1="mounted" op="=" var2="EXTERNAL" />
2055 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002056 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002057 <image resource="checkbox_true" />
2058 <action function="umount">EXTERNAL</action>
2059 </object>
2060
2061 <object type="button">
2062 <placement x="%col2_x%" y="%row4_text_y%" />
2063 <font resource="font" color="%text_color%" />
2064 <conditions>
2065 <condition var1="tw_has_internal" var2="1" />
2066 <condition var1="tw_has_data_media" var2="0" />
2067 <condition var1="mounted" op="!=" var2="INTERNAL" />
2068 </conditions>
2069 <text>Mount Internal</text>
2070 <image resource="checkbox_false" />
2071 <action function="mount">INTERNAL</action>
2072 </object>
2073
2074 <object type="button">
2075 <placement x="%col2_x%" y="%row4_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <conditions>
2078 <condition var1="tw_has_internal" var2="1" />
2079 <condition var1="tw_has_data_media" var2="0" />
2080 <condition var1="mounted" op="=" var2="INTERNAL" />
2081 </conditions>
2082 <text>Unmount Internal</text>
2083 <image resource="checkbox_true" />
2084 <action function="umount">INTERNAL</action>
2085 </object>
2086
2087 <object type="button">
2088 <conditions>
2089 <condition var1="tw_has_sdext_partition" var2="1" />
2090 <condition var1="mounted" op="!=" var2="/sd-ext" />
2091 </conditions>
2092 <placement x="%col1_x%" y="%row5_text_y%" />
2093 <font resource="font" color="%text_color%" />
2094 <text>Mount SD-Ext</text>
2095 <image resource="checkbox_false" />
2096 <action function="mount">/sd-ext</action>
2097 </object>
2098
2099 <object type="button">
2100 <placement x="%col1_x%" y="%row5_text_y%" />
2101 <font resource="font" color="%text_color%" />
2102 <condition var1="mounted" op="=" var2="/sd-ext" />
2103 <text>Unmount SD-Ext</text>
2104 <image resource="checkbox_true" />
2105 <action function="umount">/sd-ext</action>
2106 </object>
2107
2108 <object type="button">
2109 <conditions>
2110 <condition var1="tw_boot_is_mountable" var2="1" />
2111 <condition var1="mounted" op="!=" var2="/boot" />
2112 </conditions>
2113 <placement x="%col1_x%" y="%row6_text_y%" />
2114 <font resource="font" color="#A0A0A0" />
2115 <text>Mount Boot</text>
2116 <image resource="checkbox_false" />
2117 <action function="mount">/boot</action>
2118 </object>
2119
2120 <object type="button">
2121 <conditions>
2122 <condition var1="tw_boot_is_mountable" var2="1" />
2123 <condition var1="mounted" op="=" var2="/boot" />
2124 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002125 <placement x="%col1_x%" y="%row6_text_y%" />
2126 <font resource="font" color="#A0A0A0" />
2127 <text>Unmount Boot</text>
2128 <image resource="checkbox_true" />
2129 <action function="umount">/boot</action>
2130 </object>
2131
2132 <object type="button">
2133 <placement x="%col1_x%" y="%row8_text_y%" />
2134 <font resource="font" color="%text_color%" />
2135 <conditions>
2136 <condition var1="tw_has_dual_storage" var2="1" />
2137 <condition var1="tw_use_external_storage" var2="1" />
2138 </conditions>
2139 <text>Use external SD</text>
2140 <image resource="radio_true" />
2141 <action function="togglestorage">external</action>
2142 </object>
2143
2144 <object type="button">
2145 <placement x="%col1_x%" y="%row8_text_y%" />
2146 <font resource="font" color="%text_color%" />
2147 <conditions>
2148 <condition var1="tw_has_dual_storage" var2="1" />
2149 <condition var1="tw_use_external_storage" var2="0" />
2150 </conditions>
2151 <text>Use external SD</text>
2152 <image resource="radio_false" />
2153 <action function="togglestorage">external</action>
2154 </object>
2155
2156 <object type="button">
2157 <placement x="%col2_x%" y="%row8_text_y%" />
2158 <font resource="font" color="%text_color%" />
2159 <conditions>
2160 <condition var1="tw_has_dual_storage" var2="1" />
2161 <condition var1="tw_use_external_storage" var2="1" />
2162 </conditions>
2163 <text>Use internal storage</text>
2164 <image resource="radio_false" />
2165 <action function="togglestorage">internal</action>
2166 </object>
2167
2168 <object type="button">
2169 <placement x="%col2_x%" y="%row8_text_y%" />
2170 <font resource="font" color="%text_color%" />
2171 <conditions>
2172 <condition var1="tw_has_dual_storage" var2="1" />
2173 <condition var1="tw_use_external_storage" var2="0" />
2174 </conditions>
2175 <text>Use internal storage</text>
2176 <image resource="radio_true" />
2177 <action function="togglestorage">internal</action>
2178 </object>
2179
2180 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002181 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002182 <condition var1="tw_has_usb_storage" var2="1" />
2183 <placement x="%col1_x%" y="row3_y" />
2184 <font resource="font" color="%button_text_color%" />
2185 <text>Mount USB Storage</text>
2186 <image resource="main_button" />
2187 <action function="page">usb_mount</action>
2188 </object>
2189
Gary Peckffdc6ae2012-11-21 18:02:02 -08002190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002191 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002192 <conditions>
2193 <condition var1="tw_is_encrypted" var2="1" />
2194 <condition var1="tw_is_decrypted" var2="0" />
2195 </conditions>
2196 <placement x="%col2_x%" y="row3_y" />
2197 <font resource="font" color="%button_text_color%" />
2198 <text>Decrypt Data</text>
2199 <image resource="main_button" />
2200 <action function="page">decrypt</action>
2201 </object>
2202
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <object type="action">
2204 <touch key="home" />
2205 <action function="page">main</action>
2206 </object>
2207
2208 <object type="action">
2209 <touch key="back" />
2210 <action function="page">main</action>
2211 </object>
2212
2213 <object type="template" name="footer" />
2214 </page>
2215
2216 <page name="usb_mount">
2217 <object type="template" name="header" />
2218
2219 <object type="text" color="%text_color%">
2220 <font resource="font" />
2221 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2222 <text>USB Storage Mounted</text>
2223 </object>
2224
2225 <object type="text" color="%text_color%">
2226 <placement x="%col1_x%" y="%row1_text_y%" />
2227 <font resource="font" />
2228 <text>Be sure to safely remove your device</text>
2229 </object>
2230
2231 <object type="text" color="%text_color%">
2232 <placement x="%col1_x%" y="%row2_text_y%" />
2233 <font resource="font" />
2234 <text>from your computer before unmounting!</text>
2235 </object>
2236
2237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002239 <placement x="%col1_x%" y="%row3_y%" />
2240 <font resource="font" color="%button_text_color%" />
2241 <text>Unmount</text>
2242 <image resource="main_button" />
2243 <action function="page">usb_umount</action>
2244 </object>
2245
2246 <object type="action">
2247 <action function="mount">usb</action>
2248 </object>
2249
2250 <object type="template" name="footer" />
2251 </page>
2252
2253 <page name="usb_umount">
2254 <object type="action">
2255 <action function="unmount">usb</action>
2256 </object>
2257
2258 <object type="action">
2259 <action function="page">mount</action>
2260 </object>
2261 </page>
2262
2263 <page name="reboot">
2264 <object type="template" name="header" />
2265
2266 <object type="text" color="%text_color%">
2267 <font resource="font" />
2268 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2269 <text>Reboot Menu</text>
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_system" var2="1" />
2275 <placement x="%col1_x%" y="%row1_y%" />
2276 <font resource="font" color="%button_text_color%" />
2277 <text>System</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=system</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_poweroff" var2="1" />
2296 <placement x="%col2_x%" y="%row1_y%" />
2297 <font resource="font" color="%button_text_color%" />
2298 <text>Power Off</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=poweroff</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 power off?</action>
2307 <action function="set">tw_action_text1=Turning Off...</action>
2308 <action function="set">tw_complete_text1=Turning Off...</action>
2309 <action function="set">tw_slider_text=Swipe to Power Off</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_reboot_recovery" var2="1" />
2317 <placement x="%col1_x%" y="%row2_y%" />
2318 <font resource="font" color="%button_text_color%" />
2319 <text>Recovery</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=recovery</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="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002337 <condition var1="tw_reboot_bootloader" var2="1" />
2338 <placement x="%col2_x%" y="%row2_y%" />
2339 <font resource="font" color="%button_text_color%" />
2340 <text>Bootloader</text>
2341 <image resource="main_button" />
2342 <actions>
2343 <action function="set">tw_back=reboot</action>
2344 <action function="set">tw_action=reboot</action>
2345 <action function="set">tw_action_param=bootloader</action>
2346 <action function="set">tw_has_action2=0</action>
2347 <action function="set">tw_text1=No OS Installed! Are you</action>
2348 <action function="set">tw_text2=sure you wish to reboot?</action>
2349 <action function="set">tw_action_text1=Rebooting...</action>
2350 <action function="set">tw_complete_text1=Rebooting...</action>
2351 <action function="set">tw_slider_text=Swipe to Reboot</action>
2352 <action function="page">rebootcheck</action>
2353 </actions>
2354 </object>
2355
2356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <condition var1="tw_download_mode" var2="1" />
2359 <placement x="%col1_x%" y="%row3_y%" />
2360 <font resource="font" color="%button_text_color%" />
2361 <text>Download</text>
2362 <image resource="main_button" />
2363 <actions>
2364 <action function="set">tw_back=reboot</action>
2365 <action function="set">tw_action=reboot</action>
2366 <action function="set">tw_action_param=download</action>
2367 <action function="set">tw_has_action2=0</action>
2368 <action function="set">tw_text1=No OS Installed! Are you</action>
2369 <action function="set">tw_text2=sure you wish to reboot?</action>
2370 <action function="set">tw_action_text1=Rebooting...</action>
2371 <action function="set">tw_complete_text1=Rebooting...</action>
2372 <action function="set">tw_slider_text=Swipe to Reboot</action>
2373 <action function="page">rebootcheck</action>
2374 </actions>
2375 </object>
2376
2377 <object type="action">
2378 <touch key="home" />
2379 <action function="page">main</action>
2380 </object>
2381
2382 <object type="action">
2383 <touch key="back" />
2384 <action function="page">main</action>
2385 </object>
2386
2387 <object type="template" name="footer" />
2388 </page>
2389
2390 <page name="settings">
2391 <object type="template" name="header" />
2392
2393 <object type="text" color="%text_color%">
2394 <font resource="font" />
2395 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2396 <text>Settings</text>
2397 </object>
2398
2399 <object type="checkbox">
2400 <placement x="%col1_x%" y="%row1_text_y%" />
2401 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002402 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <data variable="tw_signed_zip_verify" />
2404 <image checked="checkbox_true" unchecked="checkbox_false" />
2405 </object>
2406
2407 <object type="checkbox">
2408 <placement x="%col1_x%" y="%row2_text_y%" />
2409 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002410 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <data variable="tw_rm_rf" />
2412 <image checked="checkbox_true" unchecked="checkbox_false" />
2413 </object>
2414
2415 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002416 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002418 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <data variable="tw_skip_md5_generate" />
2420 <image checked="checkbox_true" unchecked="checkbox_false" />
2421 </object>
2422
2423 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002424 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002426 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <data variable="tw_skip_md5_check" />
2428 <image checked="checkbox_true" unchecked="checkbox_false" />
2429 </object>
2430
2431 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002432 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002434 <text>Use Military Time.</text>
2435 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <image checked="checkbox_true" unchecked="checkbox_false" />
2437 </object>
2438
2439 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002440 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002442 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002443 <data variable="tw_simulate_actions" />
2444 <image checked="checkbox_true" unchecked="checkbox_false" />
2445 </object>
2446
2447 <object type="checkbox">
2448 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002449 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002450 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002451 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002452 <data variable="tw_simulate_fail" />
2453 <image checked="checkbox_true" unchecked="checkbox_false" />
2454 </object>
2455
2456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <placement x="%col1_x%" y="%row3_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>Time Zone</text>
2461 <image resource="main_button" />
2462 <action function="page">timezone</action>
2463 </object>
2464
2465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002466 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002467 <placement x="%col2_x%" y="%row3_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Screen</text>
2470 <image resource="main_button" />
2471 <action function="page">screen</action>
2472 </object>
2473
2474 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002475 <placement x="%col_center_x%" y="%row4_y%" />
2476 <font resource="font" color="%button_text_color%" />
2477 <text>Restore Defaults</text>
2478 <image resource="main_button" />
2479 <action function="restoredefaultsettings"></action>
2480 </object>
2481
2482 <object type="action">
2483 <touch key="home" />
2484 <action function="page">main</action>
2485 </object>
2486
2487 <object type="action">
2488 <touch key="back" />
2489 <action function="page">main</action>
2490 </object>
2491
2492 <object type="template" name="footer" />
2493 </page>
2494
2495 <page name="timezone">
2496 <object type="template" name="header" />
2497
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002499 <highlight color="%fileselector_highlight_color%" />
2500 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2501 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2502 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002504 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002506 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <data name="tw_time_zone_guisel" />
2508 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2509 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2510 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2511 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2512 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2513 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2514 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2515 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2516 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2517 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2518 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2519 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2520 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2521 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2522 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2523 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2524 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2525 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2526 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2527 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2528 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2529 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2530 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2531 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2532 </object>
2533
2534 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002535 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <font resource="font" color="%text_color%" />
2537 <text>Do you use daylight savings time (DST)?</text>
2538 <data variable="tw_time_zone_guidst" />
2539 <image checked="checkbox_true" unchecked="checkbox_false" />
2540 </object>
2541
2542 <object type="text" color="%text_color%">
2543 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002544 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002550 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <font resource="font" color="%button_text_color%" />
2552 <text>None</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=0</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002559 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <font resource="font" color="%button_text_color%" />
2561 <text>15</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=15</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002568 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <font resource="font" color="%button_text_color%" />
2570 <text>30</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=30</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002577 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002578 <font resource="font" color="%button_text_color%" />
2579 <text>45</text>
2580 <image resource="medium_button" />
2581 <action function="set">tw_time_zone_guioffset=45</action>
2582 </object>
2583
2584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002585 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002586 <placement x="%col_center_x%" y="%tz_set_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>Set Time Zone</text>
2589 <image resource="main_button" />
2590 <action function="setguitimezone"></action>
2591 </object>
2592
2593 <object type="text" color="%text_color%">
2594 <font resource="font" />
2595 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2596 <text>Current Time Zone: %tw_time_zone%</text>
2597 </object>
2598
2599 <object type="action">
2600 <touch key="home" />
2601 <action function="page">main</action>
2602 </object>
2603
2604 <object type="action">
2605 <touch key="back" />
2606 <action function="page">settings</action>
2607 </object>
2608
2609 <object type="template" name="footer" />
2610 </page>
2611
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 <page name="screen">
2613 <object type="template" name="header" />
2614
2615 <object type="text" color="%text_color%">
2616 <font resource="font" />
2617 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2618 <text>Screen Settings</text>
2619 </object>
2620
2621 <object type="text" color="%text_color%">
2622 <font resource="font" />
2623 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2624 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2625 </object>
2626
2627 <object type="button">
2628 <placement x="%col1_medium_x%" y="%row2_y%" />
2629 <font resource="font" color="%button_text_color%" />
2630 <text>None</text>
2631 <image resource="medium_button" />
2632 <action function="set">tw_screen_timeout_secs=0</action>
2633 </object>
2634
2635 <object type="button">
2636 <placement x="%col2_medium_x%" y="%row2_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>60</text>
2639 <image resource="medium_button" />
2640 <action function="set">tw_screen_timeout_secs=60</action>
2641 </object>
2642
2643 <object type="button">
2644 <placement x="%col3_medium_x%" y="%row2_y%" />
2645 <font resource="font" color="%button_text_color%" />
2646 <text>120</text>
2647 <image resource="medium_button" />
2648 <action function="set">tw_screen_timeout_secs=120</action>
2649 </object>
2650
2651 <object type="button">
2652 <placement x="%col4_medium_x%" y="%row2_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>180</text>
2655 <image resource="medium_button" />
2656 <action function="set">tw_screen_timeout_secs=180</action>
2657 </object>
2658
2659 <object type="text" color="%text_color%">
2660 <condition var1="tw_has_brightnesss_file" var2="1" />
2661 <font resource="font" />
2662 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2663 <text>Brightness: %tw_brightness_display%</text>
2664 </object>
2665
2666 <object type="button">
2667 <condition var1="tw_has_brightnesss_file" var2="1" />
2668 <placement x="%col1_medium_x%" y="%row4_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text>25%</text>
2671 <image resource="medium_button" />
2672 <actions>
2673 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2674 <action function="set">tw_brightness_display=25%</action>
2675 <action function="set">tw_brightness=%tw_brightness_25%</action>
2676 </actions>
2677 </object>
2678
2679 <object type="button">
2680 <condition var1="tw_has_brightnesss_file" var2="1" />
2681 <placement x="%col2_medium_x%" y="%row4_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>50%</text>
2684 <image resource="medium_button" />
2685 <actions>
2686 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2687 <action function="set">tw_brightness_display=50%</action>
2688 <action function="set">tw_brightness=%tw_brightness_50%</action>
2689 </actions>
2690 </object>
2691
2692 <object type="button">
2693 <condition var1="tw_has_brightnesss_file" var2="1" />
2694 <placement x="%col3_medium_x%" y="%row4_y%" />
2695 <font resource="font" color="%button_text_color%" />
2696 <text>75%</text>
2697 <image resource="medium_button" />
2698 <actions>
2699 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2700 <action function="set">tw_brightness_display=75%</action>
2701 <action function="set">tw_brightness=%tw_brightness_75%</action>
2702 </actions>
2703 </object>
2704
2705 <object type="button">
2706 <condition var1="tw_has_brightnesss_file" var2="1" />
2707 <placement x="%col4_medium_x%" y="%row4_y%" />
2708 <font resource="font" color="%button_text_color%" />
2709 <text>100%</text>
2710 <image resource="medium_button" />
2711 <actions>
2712 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2713 <action function="set">tw_brightness_display=100%</action>
2714 <action function="set">tw_brightness=%tw_brightness_100%</action>
2715 </actions>
2716 </object>
2717
2718 <object type="action">
2719 <touch key="home" />
2720 <action function="page">main</action>
2721 </object>
2722
2723 <object type="action">
2724 <touch key="back" />
2725 <action function="page">settings</action>
2726 </object>
2727
2728 <object type="template" name="footer" />
2729 </page>
2730
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <page name="advanced">
2732 <object type="template" name="header" />
2733
2734 <object type="text" color="%text_color%">
2735 <font resource="font" />
2736 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2737 <text>Advanced</text>
2738 </object>
2739
2740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <placement x="%col1_x%" y="%row1_y%" />
2743 <font resource="font" color="%button_text_color%" />
2744 <text>Copy Log to SD</text>
2745 <image resource="main_button" />
2746 <actions>
2747 <action function="set">tw_back=advanced</action>
2748 <action function="set">tw_action=copylog</action>
2749 <action function="set">tw_text1=Copy Log to SD Card?</action>
2750 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2751 <action function="set">tw_complete_text1=Log Copy Complete</action>
2752 <action function="set">tw_slider_text=Swipe to Confirm</action>
2753 <action function="page">confirm_action</action>
2754 </actions>
2755 </object>
2756
2757 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002758 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <placement x="%col2_x%" y="%row1_y%" />
2760 <font resource="font" color="%button_text_color%" />
2761 <text>Fix Permissions</text>
2762 <image resource="main_button" />
2763 <actions>
2764 <action function="set">tw_back=advanced</action>
2765 <action function="set">tw_action=fixpermissions</action>
2766 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002768 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2769 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002770 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <action function="page">confirm_action</action>
2772 </actions>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <condition var1="tw_allow_partition_sdcard" var2="1" />
2778 <placement x="%col1_x%" y="%row2_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text>Partition SD Card</text>
2781 <image resource="main_button" />
2782 <action function="page">partsdcard</action>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col2_x%" y="%row2_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>File Manager</text>
2790 <image resource="main_button" />
2791 <action function="page">filemanagerlist</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <placement x="%col1_x%" y="%row3_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text>Terminal Command</text>
2799 <image resource="main_button" />
2800 <action function="page">terminalfolder</action>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002805 <placement x="%col2_x%" y="%row3_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Reload Theme</text>
2808 <image resource="main_button" />
2809 <action function="reload"></action>
2810 </object>
2811
2812 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002813 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002814 <placement x="%col1_x%" y="%row4_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>ADB Sideload</text>
2817 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002818 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <condition var1="tw_show_dumlock" var2="1" />
2824 <placement x="%col2_x%" y="%row4_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>HTC Dumlock</text>
2827 <image resource="main_button" />
2828 <action function="page">htcdumlock</action>
2829 </object>
2830
2831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002832 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <condition var1="tw_has_injecttwrp" var2="1" />
2834 <placement x="%col2_x%" y="%row4_y%" />
2835 <font resource="font" color="%button_text_color%" />
2836 <text>Re-Inject TWRP</text>
2837 <image resource="main_button" />
2838 <actions>
2839 <action function="set">tw_back=advanced</action>
2840 <action function="set">tw_action=reinjecttwrp</action>
2841 <action function="set">tw_text1=Re-Inject TWRP?</action>
2842 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2843 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2844 <action function="set">tw_slider_text=Swipe to Confirm</action>
2845 <action function="page">confirm_action</action>
2846 </actions>
2847 </object>
2848
2849 <object type="action">
2850 <touch key="home" />
2851 <action function="page">main</action>
2852 </object>
2853
2854 <object type="action">
2855 <touch key="back" />
2856 <action function="page">main</action>
2857 </object>
2858
2859 <object type="template" name="footer" />
2860 </page>
2861
2862 <page name="partsdcard">
2863 <object type="template" name="header" />
2864
2865 <object type="text" color="%text_color%">
2866 <font resource="font" />
2867 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2868 <text>Partition SD Card</text>
2869 </object>
2870
2871 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002872 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002873 <placement x="%col1_x%" y="%row1_y%" />
2874 <font resource="font" color="%button_text_color%" />
2875 <text></text>
2876 <image resource="minus_button" />
2877 <action function="addsubtract">tw_sdext_size-128</action>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%sd_plus_x%" y="%row1_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="plus_button" />
2886 <action function="addsubtract">tw_sdext_size+128</action>
2887 </object>
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2892 <text>EXT Size: %tw_sdext_size%</text>
2893 </object>
2894
2895 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002896 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002897 <placement x="%col1_x%" y="%sdswap_button_y%" />
2898 <font resource="font" color="%button_text_color%" />
2899 <text></text>
2900 <image resource="minus_button" />
2901 <action function="addsubtract">tw_swap_size-32</action>
2902 </object>
2903
2904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002905 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002906 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text></text>
2909 <image resource="plus_button" />
2910 <action function="addsubtract">tw_swap_size+32</action>
2911 </object>
2912
2913 <object type="text" color="%text_color%">
2914 <font resource="font" />
2915 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2916 <text>Swap Size: %tw_swap_size%</text>
2917 </object>
2918
2919 <object type="text" color="%text_color%">
2920 <font resource="font" />
2921 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2922 <text>File system: %tw_sdpart_file_system%</text>
2923 </object>
2924
2925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002926 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>EXT3</text>
2930 <image resource="main_button" />
2931 <action function="set">tw_sdpart_file_system=ext3</action>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <condition var1="tw_sdext_disable_ext4" var2="0" />
2937 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>EXT4</text>
2940 <image resource="main_button" />
2941 <action function="set">tw_sdpart_file_system=ext4</action>
2942 </object>
2943
2944 <object type="text" color="%text_color%">
2945 <font resource="font" />
2946 <placement x="%col1_x%" y="%row12_text_y%" />
2947 <text>You will lose all files on your SD card!</text>
2948 </object>
2949
2950 <object type="text" color="%text_color%">
2951 <font resource="font" />
2952 <placement x="%col1_x%" y="%row13_text_y%" />
2953 <text>This action cannot be undone!</text>
2954 </object>
2955
2956 <object type="slider">
2957 <placement x="%slider_x%" y="%slider_y%" />
2958 <resource base="slider" used="slider-used" touch="slider-touch" />
2959 <action function="page">partsdcardaction</action>
2960 <actions>
2961 <action function="set">tw_back=partsdcard</action>
2962 <action function="set">tw_action=partitionsd</action>
2963 <action function="set">tw_has_action2=1</action>
2964 <action function="set">tw_action2=set</action>
2965 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2966 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2967 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002968 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002969 <action function="page">action_page</action>
2970 </actions>
2971 </object>
2972
2973 <object type="text" color="%text_color%">
2974 <font resource="font" />
2975 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2976 <text>Swipe to Partition</text>
2977 </object>
2978
2979 <object type="action">
2980 <touch key="home" />
2981 <action function="page">main</action>
2982 </object>
2983
2984 <object type="action">
2985 <touch key="back" />
2986 <action function="page">advanced</action>
2987 </object>
2988
2989 <object type="template" name="footer" />
2990 </page>
2991
2992 <page name="htcdumlock">
2993 <object type="template" name="header" />
2994
2995 <object type="text" color="%text_color%">
2996 <font resource="font" />
2997 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2998 <text>HTC Dumlock</text>
2999 </object>
3000
3001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003002 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003003 <condition var1="tw_show_dumlock" var2="1" />
3004 <placement x="%col1_x%" y="%row1_y%" />
3005 <font resource="font" color="%button_text_color%" />
3006 <text>Restore Original Boot</text>
3007 <image resource="main_button" />
3008 <actions>
3009 <action function="set">tw_back=htcdumlock</action>
3010 <action function="set">tw_action=htcdumlockrestoreboot</action>
3011 <action function="set">tw_text1=Restore original boot image?</action>
3012 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3013 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3014 <action function="set">tw_slider_text=Swipe to Confirm</action>
3015 <action function="page">confirm_action</action>
3016 </actions>
3017 </object>
3018
3019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003020 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003021 <condition var1="tw_show_dumlock" var2="1" />
3022 <placement x="%col2_x%" y="%row1_y%" />
3023 <font resource="font" color="%button_text_color%" />
3024 <text>Reflash Recovery</text>
3025 <image resource="main_button" />
3026 <actions>
3027 <action function="set">tw_back=htcdumlock</action>
3028 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3029 <action function="set">tw_text1=Reflash recovery to boot?</action>
3030 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3031 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3032 <action function="set">tw_slider_text=Swipe to Confirm</action>
3033 <action function="page">confirm_action</action>
3034 </actions>
3035 </object>
3036
3037 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003038 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003039 <condition var1="tw_show_dumlock" var2="1" />
3040 <placement x="%col1_x%" y="%row2_y%" />
3041 <font resource="font" color="%button_text_color%" />
3042 <text>Install HTC Dumlock</text>
3043 <image resource="main_button" />
3044 <actions>
3045 <action function="set">tw_back=htcdumlock</action>
3046 <action function="set">tw_action=installhtcdumlock</action>
3047 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3048 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3049 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3050 <action function="set">tw_slider_text=Swipe to Confirm</action>
3051 <action function="page">confirm_action</action>
3052 </actions>
3053 </object>
3054
3055 <object type="action">
3056 <touch key="home" />
3057 <action function="page">main</action>
3058 </object>
3059
3060 <object type="action">
3061 <touch key="back" />
3062 <action function="page">advanced</action>
3063 </object>
3064
3065 <object type="template" name="footer" />
3066 </page>
3067
3068 <page name="lock">
3069 <background color="#000000A0" />
3070
3071 <object type="image">
3072 <image resource="unlock-icon" />
3073 <placement x="%lock_x%" y="%lock_y%" />
3074 </object>
3075
3076 <object type="slider">
3077 <placement x="%slider_x%" y="%slider_y%" />
3078 <resource base="slider" used="slider-used" touch="slider-touch" />
3079 <action function="overlay"></action>
3080 </object>
3081
3082 <object type="text" color="%text_color%">
3083 <font resource="font" />
3084 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3085 <text>Swipe to Unlock</text>
3086 </object>
3087 </page>
3088
3089 <page name="filemanagerlist">
3090 <object type="template" name="header" />
3091
3092 <object type="text" color="%text_color%">
3093 <font resource="font" />
3094 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3095 <text>File Manager: Select a File or Folder</text>
3096 </object>
3097
3098 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003099 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003100 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3101 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3102 <text>%tw_file_location1%</text>
3103 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3104 <sort name="tw_gui_sort_order" />
3105 <icon folder="folder_icon" file="file_icon" />
3106 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003107 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003108 <folders="1" files="1" />
3109 <path name="tw_file_location1" default="/" />
3110 <data name="tw_filename1" />
3111 <selection name="tw_selection1" />
3112 </object>
3113
3114 <object type="template" name="sort_options" />
3115
3116 <object type="action">
3117 <actions>
3118 <action function="set">tw_fm_type=File</action>
3119 <action function="set">tw_fm_isfolder=0</action>
3120 </actions>
3121 </object>
3122
3123 <object type="action">
3124 <touch key="home" />
3125 <action function="page">main</action>
3126 </object>
3127
3128 <object type="action">
3129 <touch key="back" />
3130 <action function="page">advanced</action>
3131 </object>
3132
3133 <object type="action">
3134 <condition var1="tw_filename1" op="modified" />
3135 <actions>
3136 <action function="page">filemanageroptions</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>Select</text>
3145 <image resource="medium_button" />
3146 <actions>
3147 <action function="set">tw_filename1=tw_file_location1</action>
3148 <action function="set">tw_fm_isfolder=1</action>
3149 <action function="set">tw_fm_type=Folder</action>
3150 <action function="page">filemanageroptions</action>
3151 </actions>
3152 </object>
3153
3154 <object type="template" name="footer" />
3155 </page>
3156
3157 <page name="filemanageroptions">
3158 <object type="template" name="header" />
3159
3160 <object type="text" color="%text_color%">
3161 <font resource="font" />
3162 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3163 <text>%tw_fm_type% Selected:</text>
3164 </object>
3165
3166 <object type="text" color="%text_color%">
3167 <font resource="font" />
3168 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3169 <text>%tw_filename1%</text>
3170 </object>
3171
3172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003173 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003174 <condition var1="tw_fm_isfolder" var2="0" />
3175 <placement x="%col1_x%" y="%row2_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Copy File</text>
3178 <image resource="main_button" />
3179 <actions>
3180 <action function="set">tw_filemanager_command=cp</action>
3181 <action function="set">tw_fm_text1=Copying</action>
3182 <action function="page">choosedestinationfolder</action>
3183 </actions>
3184 </object>
3185
3186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003188 <condition var1="tw_fm_isfolder" var2="1" />
3189 <placement x="%col1_x%" y="%row2_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Copy Folder</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3195 <action function="set">tw_fm_text1=Copying</action>
3196 <action function="page">choosedestinationfolder</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <placement x="%col2_x%" y="%row2_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Move</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=mv</action>
3208 <action function="set">tw_fm_text1=Moving</action>
3209 <action function="page">choosedestinationfolder</action>
3210 </actions>
3211 </object>
3212
3213 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003214 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003215 <placement x="%col1_x%" y="%row3_y%" />
3216 <font resource="font" color="%button_text_color%" />
3217 <text>chmod 755</text>
3218 <image resource="main_button" />
3219 <actions>
3220 <action function="set">tw_filemanager_command=chmod 755</action>
3221 <action function="set">tw_fm_text1=chmod 755</action>
3222 <action function="set">tw_fm_text2=</action>
3223 <action function="set">tw_fm_text3=</action>
3224 <action function="set">tw_include_text3=0</action>
3225 <action function="set">tw_back=filemanageroptions</action>
3226 <action function="page">filemanagerconfirm</action>
3227 </actions>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%col2_x%" y="%row3_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text>chmod</text>
3235 <image resource="main_button" />
3236 <actions>
3237 <action function="set">tw_filemanager_rename=0000</action>
3238 <action function="set">tw_fm_text2=</action>
3239 <action function="set">tw_fm_text3=</action>
3240 <action function="set">tw_include_text3=0</action>
3241 <action function="set">tw_back=filemanageroptions</action>
3242 <action function="page">filemanagerchmod</action>
3243 </actions>
3244 </object>
3245
3246 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003247 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003248 <placement x="%col1_x%" y="%row4_y%" />
3249 <font resource="font" color="%button_text_color%" />
3250 <text>Delete</text>
3251 <image resource="main_button" />
3252 <actions>
3253 <action function="set">tw_filemanager_command=rm -rf</action>
3254 <action function="set">tw_fm_text1=Deleting</action>
3255 <action function="set">tw_fm_text2=</action>
3256 <action function="set">tw_fm_text3=</action>
3257 <action function="set">tw_include_text3=0</action>
3258 <action function="set">tw_back=filemanageroptions</action>
3259 <action function="page">filemanagerconfirm</action>
3260 </actions>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <condition var1="tw_fm_isfolder" var2="0" />
3266 <placement x="%col2_x%" y="%row4_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>Rename File</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_filemanager_rename=tw_selection1</action>
3272 <action function="set">tw_fm_text1=Renaming</action>
3273 <action function="set">tw_filemanager_command=mv</action>
3274 <action function="page">filemanagerrenamefile</action>
3275 </actions>
3276 </object>
3277
3278 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003279 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003280 <condition var1="tw_fm_isfolder" var2="1" />
3281 <placement x="%col2_x%" y="%row4_y%" />
3282 <font resource="font" color="%button_text_color%" />
3283 <text>Rename Folder</text>
3284 <image resource="main_button" />
3285 <actions>
3286 <action function="set">tw_filemanager_rename=tw_selection1</action>
3287 <action function="set">tw_fm_text1=Renaming</action>
3288 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3289 <action function="page">filemanagerrenamefolder</action>
3290 </actions>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="home" />
3295 <action function="page">main</action>
3296 </object>
3297
3298 <object type="action">
3299 <touch key="back" />
3300 <action function="page">filemanagerlist</action>
3301 </object>
3302
3303 <object type="template" name="footer" />
3304 </page>
3305
3306 <page name="choosedestinationfolder">
3307 <object type="template" name="header" />
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3312 <text>Browse to Destination Folder & Press Select</text>
3313 </object>
3314
3315 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003316 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003317 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3318 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3319 <text>%tw_file_location2%</text>
3320 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3321 <sort name="tw_gui_sort_order" />
3322 <icon folder="folder_icon" file="file_icon" />
3323 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003324 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003325 <filter folders="1" files="0" />
3326 <path name="tw_file_location2" default="/" />
3327 <data name="tw_filename2" />
3328 <selection name="tw_selection2" />
3329 </object>
3330
3331 <object type="template" name="sort_options" />
3332
3333 <object type="action">
3334 <touch key="home" />
3335 <action function="page">main</action>
3336 </object>
3337
3338 <object type="action">
3339 <touch key="back" />
3340 <action function="page">filemanageroptions</action>
3341 </object>
3342
3343 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003344 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003345 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3346 <font resource="font" color="%button_text_color%" />
3347 <text>Select</text>
3348 <image resource="medium_button" />
3349 <actions>
3350 <action function="set">tw_fm_text2=to</action>
3351 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3352 <action function="set">tw_include_text3=1</action>
3353 <action function="set">tw_back=filemanageroptions</action>
3354 <action function="page">filemanagerconfirm</action>
3355 </actions>
3356 </object>
3357
3358 <object type="template" name="footer" />
3359 </page>
3360
3361 <page name="filemanagerrenamefile">
3362 <object type="template" name="header" />
3363
3364 <object type="text" color="%text_color%">
3365 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3366 <font resource="font" />
3367 <text>Please Enter a New %tw_fm_type% Name</text>
3368 </object>
3369
3370 <object type="input">
3371 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3372 <background color="%input_background_color%" />
3373 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3374 <font resource="font" color="%text_color%" />
3375 <text>%tw_filemanager_rename%</text>
3376 <data name="tw_filemanager_rename" />
3377 <restrict minlen="1" maxlen="128" />
3378 <actions>
3379 <action function="set">tw_fm_text2=to</action>
3380 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3381 <action function="set">tw_include_text3=1</action>
3382 <action function="set">tw_back=filemanageroptions</action>
3383 <action function="page">filemanagerconfirm</action>
3384 </actions>
3385 </object>
3386
3387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003389 <placement x="%col_center_x%" y="%row2_y%" />
3390 <font resource="font" color="%button_text_color%" />
3391 <text>Cancel</text>
3392 <image resource="main_button" />
3393 <action function="page">filemanageroptions</action>
3394 </object>
3395
3396 <object type="template" name="keyboardtemplate" />
3397
3398 <object type="action">
3399 <touch key="home" />
3400 <action function="page">main</action>
3401 </object>
3402
3403 <object type="action">
3404 <touch key="back" />
3405 <action function="page">filemanageroptions</action>
3406 </object>
3407
3408 <object type="template" name="footer" />
3409 </page>
3410
3411 <page name="filemanagerrenamefolder">
3412 <object type="template" name="header" />
3413
3414 <object type="text" color="%text_color%">
3415 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3416 <font resource="font" />
3417 <text>Please Enter a New %tw_fm_type% Name</text>
3418 </object>
3419
3420 <object type="input">
3421 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3422 <background color="%input_background_color%" />
3423 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3424 <font resource="font" color="%text_color%" />
3425 <text>%tw_filemanager_rename%</text>
3426 <data name="tw_filemanager_rename" />
3427 <restrict minlen="1" maxlen="128" />
3428 <actions>
3429 <action function="set">tw_fm_text2=to</action>
3430 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3431 <action function="set">tw_include_text3=1</action>
3432 <action function="set">tw_back=filemanageroptions</action>
3433 <action function="page">filemanagerconfirm</action>
3434 </actions>
3435 </object>
3436
3437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003439 <placement x="%col_center_x%" y="%row2_y%" />
3440 <font resource="font" color="%button_text_color%" />
3441 <text>Cancel</text>
3442 <image resource="main_button" />
3443 <action function="page">filemanageroptions</action>
3444 </object>
3445
3446 <object type="template" name="keyboardtemplate" />
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">filemanageroptions</action>
3456 </object>
3457
3458 <object type="template" name="footer" />
3459 </page>
3460
3461 <page name="filemanagerchmod">
3462 <object type="template" name="header" />
3463
3464 <object type="text" color="%text_color%">
3465 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3466 <font resource="font" />
3467 <text>Please Enter New Permissions</text>
3468 </object>
3469
3470 <object type="input">
3471 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3472 <background color="%input_background_color%" />
3473 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3474 <font resource="font" color="%text_color%" />
3475 <text>%tw_filemanager_rename%</text>
3476 <data name="tw_filemanager_rename" />
3477 <restrict minlen="3" maxlen="4" allow="0123456789" />
3478 <actions>
3479 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3480 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3481 <action function="set">tw_back=filemanageroptions</action>
3482 <action function="page">filemanagerconfirm</action>
3483 </actions>
3484 </object>
3485
3486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003487 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003488 <placement x="%col_center_x%" y="%row2_y%" />
3489 <font resource="font" color="%button_text_color%" />
3490 <text>Cancel</text>
3491 <image resource="main_button" />
3492 <action function="page">filemanageroptions</action>
3493 </object>
3494
3495 <object type="template" name="keyboardtemplate" />
3496
3497 <object type="action">
3498 <touch key="home" />
3499 <action function="page">main</action>
3500 </object>
3501
3502 <object type="action">
3503 <touch key="back" />
3504 <action function="page">filemanageroptions</action>
3505 </object>
3506
3507 <object type="template" name="footer" />
3508 </page>
3509
3510 <page name="filemanagerconfirm">
3511 <object type="template" name="header" />
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3516 <text>%tw_fm_text1%</text>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3522 <text>%tw_filename1%</text>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3528 <text>%tw_fm_text2%</text>
3529 </object>
3530
3531 <object type="text" color="%text_color%">
3532 <font resource="font" />
3533 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3534 <text>%tw_fm_text3%</text>
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3540 <text>Press back button to cancel.</text>
3541 </object>
3542
3543 <object type="slider">
3544 <placement x="%slider_x%" y="%slider_y%" />
3545 <resource base="slider" used="slider-used" touch="slider-touch" />
3546 <action function="page">filemanageracction</action>
3547 </object>
3548
3549 <object type="text" color="%text_color%">
3550 <font resource="font" />
3551 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3552 <text>Swipe to Confirm</text>
3553 </object>
3554
3555 <object type="action">
3556 <touch key="back" />
3557 <action function="page">%tw_back%</action>
3558 </object>
3559
3560 <object type="action">
3561 <touch key="home" />
3562 <action function="page">main</action>
3563 </object>
3564
3565 <object type="template" name="footer" />
3566 </page>
3567
3568 <page name="filemanageracction">
3569 <object type="template" name="header" />
3570
3571 <object type="text" color="%text_color%">
3572
3573 <font resource="font" />
3574 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3575 <text>%tw_fm_text1%</text>
3576 </object>
3577
3578 <object type="template" name="action_page_console" />
3579
3580 <object type="template" name="progress_bar" />
3581
3582 <object type="action">
3583 <conditions>
3584 <condition var1="tw_operation_state" var2="1" />
3585 <condition var1="tw_operation_status" var2="0" />
3586 </conditions>
3587 <actions>
3588 <action function="set">tw_back=filemanagerlist</action>
3589 <action function="set">tw_complete_text1=File Operation Complete</action>
3590 <action function="page">action_complete</action>
3591 </actions>
3592 </object>
3593
3594 <object type="action">
3595 <conditions>
3596 <condition var1="tw_operation_state" var2="1" />
3597 <condition var1="tw_operation_status" op="!=" var2="0" />
3598 </conditions>
3599 <actions>
3600 <action function="set">tw_complete_text1=File Operation Complete</action>
3601 <action function="page">action_complete</action>
3602 </actions>
3603 </object>
3604
3605 <object type="action">
3606 <condition var1="tw_include_text3" var2="0" />
3607 <actions>
3608 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3609 </actions>
3610 </object>
3611
3612 <object type="action">
3613 <condition var1="tw_include_text3" var2="1" />
3614 <actions>
3615 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3616 </actions>
3617 </object>
3618 </page>
3619
3620 <page name="decrypt">
3621 <object type="template" name="header" />
3622
3623 <object type="text" color="%text_color%">
3624 <font resource="font" />
3625 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3626 <text>Please Enter Your Password</text>
3627 </object>
3628
3629 <object type="input">
3630 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3631 <background color="%input_background_color%" />
3632 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3633 <font resource="font" color="%text_color%" />
3634 <text>%tw_crypto_display%</text>
3635 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3636 <restrict minlen="1" maxlen="254" />
3637 <actions>
3638 <action function="page">trydecrypt</action>
3639 </actions>
3640 </object>
3641
3642 <object type="text" color="%text_fail_color%">
3643 <condition var1="tw_password_fail" var2="1" />
3644 <font resource="font" />
3645 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3646 <text>Password Failed, Please Try Again</text>
3647 </object>
3648
3649 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003650 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <placement x="%col_center_x%" y="%row2_y%" />
3652 <font resource="font" color="%button_text_color%" />
3653 <text>Cancel</text>
3654 <image resource="main_button" />
3655 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003656 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003657 <action function="page">main</action>
3658 </actions>
3659 </object>
3660
3661 <object type="template" name="keyboardtemplate" />
3662
Dees_Troy51a0e822012-09-05 15:24:24 -04003663 <object type="template" name="footer" />
3664 </page>
3665
3666 <page name="trydecrypt">
3667 <object type="template" name="header" />
3668
3669 <object type="text" color="%text_color%">
3670 <font resource="font" />
3671 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3672 <text>Trying Decryption with Your Password</text>
3673 </object>
3674
3675 <object type="template" name="action_page_console" />
3676
3677 <object type="template" name="progress_bar" />
3678
3679 <object type="action">
3680 <action function="decrypt"></action>
3681 </object>
3682
3683 <object type="action">
3684 <conditions>
3685 <condition var1="tw_operation_state" var2="1" />
3686 <condition var1="tw_operation_status" op="!=" var2="0" />
3687 </conditions>
3688 <actions>
3689 <action function="set">tw_password_fail=1</action>
3690 <action function="page">decrypt</action>
3691 </actions>
3692 </object>
3693
3694 <object type="action">
3695 <conditions>
3696 <condition var1="tw_operation_state" var2="1" />
3697 <condition var1="tw_operation_status" op="=" var2="0" />
3698 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003699 <actions>
3700 <action function="set">tw_page_done=1</action>
3701 <action function="page">main</action>
3702 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003703 </object>
3704 </page>
3705
3706 <page name="terminalfolder">
3707 <object type="template" name="header" />
3708
3709 <object type="text" color="%text_color%">
3710 <font resource="font" />
3711 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3712 <text>Browse to Starting Folder</text>
3713 </object>
3714
3715 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003716 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003717 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3718 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3719 <text>%tw_terminal_location%</text>
3720 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3721 <sort name="tw_gui_sort_order" />
3722 <icon folder="folder_icon" file="file_icon" />
3723 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003724 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003725 <filter folders="1" files="0" />
3726 <path name="tw_terminal_location" default="/" />
3727 <data name="tw_terminal" />
3728 <selection name="tw_terminal_selection" />
3729 </object>
3730
3731 <object type="template" name="sort_options" />
3732
3733 <object type="action">
3734 <touch key="home" />
3735 <action function="page">main</action>
3736 </object>
3737
3738 <object type="action">
3739 <touch key="back" />
3740 <action function="page">advanced</action>
3741 </object>
3742
3743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3746 <font resource="font" color="%button_text_color%" />
3747 <text>Select</text>
3748 <image resource="medium_button" />
3749 <actions>
3750 <action function="page">terminalcommand</action>
3751 </actions>
3752 </object>
3753
3754 <object type="template" name="footer" />
3755 </page>
3756
3757 <page name="terminalcommand">
3758 <object type="template" name="header" />
3759
3760 <object type="console">
3761 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3762 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3763 <font resource="fixed" />
3764 </object>
3765
3766 <object type="text" color="%text_color%">
3767 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3768 <font resource="font" />
3769 <text>Starting Path: %tw_terminal_location%</text>
3770 </object>
3771
3772 <object type="input">
3773 <condition var1="tw_terminal_state" var2="0" />
3774 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3775 <background color="%input_background_color%" />
3776 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3777 <font resource="font" color="%text_color%" />
3778 <text>%tw_terminal_command%</text>
3779 <data name="tw_terminal_command" />
3780 <restrict minlen="1" />
3781 <action function="terminalcommand">%tw_terminal_command%</action>
3782 </object>
3783
3784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003786 <condition var1="tw_terminal_state" var2="1" />
3787 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3788 <font resource="font" color="%button_text_color%" />
3789 <text>KILL</text>
3790 <image resource="medium_button" />
3791 <action function="killterminal"></action>
3792 </object>
3793
3794 <object type="template" name="keyboardtemplate" />
3795
3796 <object type="action">
3797 <touch key="home" />
3798 <action function="page">main</action>
3799 </object>
3800
3801 <object type="action">
3802 <touch key="back" />
3803 <action function="page">terminalfolder</action>
3804 </object>
3805 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003806
3807 <page name="sideload">
3808 <object type="template" name="header" />
3809
3810 <object type="text" color="%text_color%">
3811 <font resource="font" />
3812 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3813 <text>ADB Sideload</text>
3814 </object>
3815
3816 <object type="checkbox">
3817 <placement x="%col1_x%" y="%row2_text_y%" />
3818 <font resource="font" color="%text_color%" />
3819 <text>Wipe Dalvik Cache.</text>
3820 <data variable="tw_wipe_dalvik" />
3821 <image checked="checkbox_true" unchecked="checkbox_false" />
3822 </object>
3823
3824 <object type="checkbox">
3825 <placement x="%col1_x%" y="%row3_text_y%" />
3826 <font resource="font" color="%text_color%" />
3827 <text>Wipe Cache.</text>
3828 <data variable="tw_wipe_cache" />
3829 <image checked="checkbox_true" unchecked="checkbox_false" />
3830 </object>
3831
3832 <object type="slider">
3833 <placement x="%slider_x%" y="%slider_y%" />
3834 <resource base="slider" used="slider-used" touch="slider-touch" />
3835 <actions>
3836 <action function="set">tw_back=advanced</action>
3837 <action function="set">tw_action=adbsideload</action>
3838 <action function="set">tw_action_text1=ADB Sideload</action>
3839 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3840 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3841 <action function="set">tw_has_cancel=1</action>
3842 <action function="set">tw_show_reboot=1</action>
3843 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3844 <action function="page">action_page</action>
3845 </actions>
3846 </object>
3847
3848 <object type="text" color="%text_color%">
3849 <font resource="font" />
3850 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3851 <text>Swipe to Start Sideload</text>
3852 </object>
3853
3854 <object type="action">
3855 <touch key="home" />
3856 <action function="page">main</action>
3857 </object>
3858
3859 <object type="action">
3860 <touch key="back" />
3861 <action function="page">advanced</action>
3862 </object>
3863
3864 <object type="template" name="footer" />
3865 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003866
3867 <page name="installsu">
3868 <object type="template" name="header" />
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3873 <text>Install SuperSU?</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3879 <text>Your device does not appear to be rooted.</text>
3880 </object>
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3885 <text>Install SuperSU now?</text>
3886 </object>
3887
3888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3891 <text>This will root your device.</text>
3892 </object>
3893
3894 <object type="button">
3895 <highlight color="%highlight_color%" />
3896 <placement x="%col_center_x%" y="%row3_y%" />
3897 <font resource="font" color="%button_text_color%" />
3898 <text>Do Not Install</text>
3899 <image resource="main_button" />
3900 <action function="set">tw_page_done=1</action>
3901 </object>
3902
3903 <object type="slider">
3904 <placement x="%slider_x%" y="%slider_y%" />
3905 <resource base="slider" used="slider-used" touch="slider-touch" />
3906 <actions>
3907 <action function="set">tw_action=installsu</action>
3908 <action function="set">tw_action_text1=Installing SuperSU</action>
3909 <action function="set">tw_action_text2=</action>
3910 <action function="page">singleaction_page</action>
3911 </actions>
3912 </object>
3913
3914 <object type="text" color="%text_color%">
3915 <font resource="font" />
3916 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3917 <text>Swipe to Install</text>
3918 </object>
3919 </page>
3920
3921 <page name="fixsu">
3922 <object type="template" name="header" />
3923
3924 <object type="text" color="%text_color%">
3925 <font resource="font" />
3926 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3927 <text>Fix Superuser Permissions?</text>
3928 </object>
3929
3930 <object type="text" color="%text_color%">
3931 <font resource="font" />
3932 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3933 <text>Root permissions appear to be lost.</text>
3934 </object>
3935
3936 <object type="text" color="%text_color%">
3937 <font resource="font" />
3938 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3939 <text>Fix root permissions now?</text>
3940 </object>
3941
3942 <object type="text" color="%text_color%">
3943 <font resource="font" />
3944 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3945 <text>(Fixes permissions on su binary & app)</text>
3946 </object>
3947
3948 <object type="button">
3949 <highlight color="%highlight_color%" />
3950 <placement x="%col_center_x%" y="%row3_y%" />
3951 <font resource="font" color="%button_text_color%" />
3952 <text>Do Not Fix</text>
3953 <image resource="main_button" />
3954 <action function="set">tw_page_done=1</action>
3955 </object>
3956
3957 <object type="slider">
3958 <placement x="%slider_x%" y="%slider_y%" />
3959 <resource base="slider" used="slider-used" touch="slider-touch" />
3960 <actions>
3961 <action function="set">tw_action=fixsu</action>
3962 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3963 <action function="set">tw_action_text2=</action>
3964 <action function="page">singleaction_page</action>
3965 </actions>
3966 </object>
3967
3968 <object type="text" color="%text_color%">
3969 <font resource="font" />
3970 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3971 <text>Swipe to Fix Root</text>
3972 </object>
3973 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003974 </pages>
3975</recovery>