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