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