blob: 3ab69a6ed8f929b027db373f68c0f994ac58b38a [file] [log] [blame]
Dees_Troya13d74f2013-03-24 08:54:55 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1080" height="1920" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-40" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-40" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troya13d74f2013-03-24 08:54:55 -050043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="565" />
48 <variable name="col_center_x" value="288" />
49 <variable name="col_center_medium_x" value="414" />
50 <variable name="center_x" value="540" />
51 <variable name="row1_y" value="255" />
52 <variable name="row2_y" value="615" />
53 <variable name="row3_y" value="975" />
54 <variable name="row4_y" value="1335" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="1140" />
60 <variable name="row1_header_y" value="180" />
61 <variable name="row1_text_y" value="255" />
62 <variable name="row2_text_y" value="330" />
63 <variable name="row3_text_y" value="405" />
64 <variable name="row4_text_y" value="480" />
65 <variable name="row5_text_y" value="555" />
66 <variable name="row6_text_y" value="630" />
67 <variable name="row7_text_y" value="705" />
68 <variable name="row8_text_y" value="780" />
69 <variable name="row9_text_y" value="855" />
70 <variable name="row10_text_y" value="930" />
71 <variable name="row11_text_y" value="1005" />
72 <variable name="row12_text_y" value="1080" />
73 <variable name="row13_text_y" value="1155" />
74 <variable name="row14_text_y" value="1230" />
75 <variable name="row15_text_y" value="1305" />
76 <variable name="row16_text_y" value="1380" />
77 <variable name="row17_text_y" value="1455" />
78 <variable name="row18_text_y" value="1530" />
79 <variable name="zip_status_y" value="922" />
80 <variable name="tz_selected_y" value="240" />
81 <variable name="tz_set_y" value="1500" />
82 <variable name="tz_current_y" value="1425" />
83 <variable name="col_progressbar_x" value="351" />
84 <variable name="row_progressbar_y" value="1650" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="282" />
87 <variable name="col3_medium_x" value="545" />
88 <variable name="col4_medium_x" value="817" />
89 <variable name="row1_medium_y" value="195" />
90 <variable name="row2_medium_y" value="345" />
91 <variable name="row3_medium_y" value="392" />
92 <variable name="row4_medium_y" value="645" />
93 <variable name="row5_medium_y" value="795" />
94 <variable name="row6_medium_y" value="1260" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="101" />
97 <variable name="slider_y" value="1575" />
98 <variable name="slider_text_y" value="1676" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
103 <variable name="highlight_color" value="#90909080" />
104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1839" />
106 <variable name="back_button_x" value="944" />
107 <variable name="back_button_y" value="1839" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1635" />
110 <variable name="sort_asc_button_y" value="1620" />
111 <variable name="sort_desc_text_y" value="1725" />
112 <variable name="sort_desc_button_y" value="1710" />
113 <variable name="sort_col1_button_x" value="390" />
114 <variable name="sort_col2_button_x" value="540" />
115 <variable name="sort_col3_button_x" value="690" />
116 <variable name="input_width" value="1060" />
117 <variable name="input_height" value="75" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="4" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="1080" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="705" />
127 <variable name="console_install_height" value="900" />
128 <variable name="console_installdone_height" value="660" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="1070" />
131 <variable name="fileselector_install_height" value="1170" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="4" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="3" />
138 <variable name="fileselector_background" value="#303030" />
139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
141 <variable name="fileselector_spacing" value="48" />
142 <variable name="fastscroll_linecolor" value="#808080" />
143 <variable name="fastscroll_rectcolor" value="#808080" />
144 <variable name="fastscroll_w" value="90" />
145 <variable name="fastscroll_linew" value="3" />
146 <variable name="fastscroll_rectw" value="60" />
147 <variable name="fastscroll_recth" value="105" />
148 <variable name="listbox_x" value="5" />
149 <variable name="listbox_width" value="1070" />
150 <variable name="listbox_tz_height" value="885" />
151 <variable name="listbox_background" value="#303030" />
152 <variable name="listbox_spacing" value="24" />
153 <variable name="sd_plus_x" value="525" />
154 <variable name="sdext_text_x" value="165" />
155 <variable name="sdext_text_y" value="270" />
156 <variable name="sdswap_button_y" value="390" />
157 <variable name="sdswap_text_x" value="165" />
158 <variable name="sdswap_text_y" value="405" />
159 <variable name="sdfilesystem_text_y" value="510" />
160 <variable name="sdfilesystem_button_y" value="570" />
161 <variable name="lock_x" value="240" />
162 <variable name="lock_y" value="600" />
163 <variable name="filemanager_select_x" value="840" />
164 <variable name="filemanager_select_y" value="1620" />
165 <variable name="backup_name_y" value="825" />
166 <variable name="terminal_console_height" value="1050" />
167 <variable name="terminal_text_y" value="1095" />
168 <variable name="terminal_button_y" value="1050" />
169 <variable name="row_dst_text_y" value="1080" />
170 <variable name="row_offset_text_y" value="1155" />
171 <variable name="row_offset_medium_y" value="1260" />
172 <variable name="button_fill_color" value="#303030" />
173 <variable name="button_fill_full_width" value="1060" />
174 <variable name="button_fill_main_width" value="505" />
175 <variable name="button_fill_main_height" value="324" />
176 <variable name="button_fill_half_height" value="162" />
177 <variable name="button_fill_quarter_height" value="81" />
Dees_Troy7abb7a52013-08-30 02:07:19 +0000178 <variable name="backup_list_height" value="780" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="backup_button_row1" value="1118" />
180 <variable name="backup_button_row2" value="1220" />
181 <variable name="mount_list_height" value="1035" />
182 <variable name="mount_storage_row" value="1240" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000183 <variable name="storage_list_height" value="1000" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="wipe_list_height" value="1305" />
185 <variable name="wipe_button_y" value="975" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200186 <variable name="slidervalue_w" value="1060" />
187 <variable name="slidervalue_line_clr" value="#FFFFFF" />
188 <variable name="slidervalue_slider_clr" value="#33B5E5" />
189 <variable name="slidervalue_lineh" value="3" />
190 <variable name="slidervalue_padding" value="30" />
191 <variable name="slidervalue_sliderw" value="15" />
192 <variable name="slidervalue_sliderh" value="90" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500193 </variables>
194
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100195 <mousecursor>
196 <placement w="15" h="15" />
197 <background color="#FFFF00FF" resource="cursor" />
198 <speed multiplier="2.5" />
199 </mousecursor>
200
Dees_Troya13d74f2013-03-24 08:54:55 -0500201 <templates>
202 <template name="header">
203 <background color="#000000FF" />
204
205 <object type="image">
206 <image resource="top_bar" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="180" y="15" />
213 <text>Team Win Recovery Project v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <condition var1="tw_simulate_actions" var2="1" />
218 <font resource="font" />
219 <placement x="180" y="60" />
220 <text>SIMULATING ACTIONS</text>
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="180" y="114" />
226 <text>%tw_time%</text>
227 </object>
228
229 <object type="text" color="%text_color%">
230 <font resource="font" />
231 <placement x="405" y="114" />
232 <conditions>
233 <condition var1="tw_no_battery_percent" var2="0" />
234 <condition var1="tw_battery" op=">" var2="0" />
235 <condition var1="tw_battery" op="<" var2="101" />
236 </conditions>
237 <text>Battery: %tw_battery%</text>
238 </object>
239
240 <object type="button">
241 <highlight color="%highlight_color%" />
242 <placement x="%home_button_x%" y="%home_button_y%" />
243 <font resource="font" color="%button_text_color%" />
244 <text></text>
245 <image resource="home_icon" />
246 <condition var1="tw_busy" var2="0" />
247 <action function="key">home</action>
248 </object>
249
250 <object type="button">
251 <highlight color="%highlight_color%" />
252 <placement x="%back_button_x%" y="%back_button_y%" />
253 <font resource="font" color="%button_text_color%" />
254 <text></text>
255 <image resource="back_icon" />
256 <condition var1="tw_busy" var2="0" />
257 <action function="key">back</action>
258 </object>
259
260 <object type="action">
261 <touch key="power" />
262 <action function="overlay">lock</action>
263 </object>
264 </template>
265
266 <template name="progress_bar">
267 <object type="progressbar">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource empty="progress_empty" full="progress_full" />
270 <data name="ui_progress" />
271 </object>
272
273 <object type="animation">
274 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
275 <resource name="progress" />
276 <speed fps="15" render="2" />
277 <loop frame="1" />
278 </object>
279 </template>
280
281 <template name="sort_options">
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
285 <text>Sort Ascending:</text>
286 </object>
287
288 <object type="button">
289 <highlight color="%highlight_color%" />
290 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
291 <font resource="font" color="%button_text_color%" />
292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=1</action>
295 </object>
296
297 <object type="button">
298 <highlight color="%highlight_color%" />
299 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
300 <font resource="font" color="%button_text_color%" />
301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=2</action>
304 </object>
305
306 <object type="button">
307 <highlight color="%highlight_color%" />
308 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
309 <font resource="font" color="%button_text_color%" />
310 <text>Size</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=3</action>
313 </object>
314
315 <object type="text" color="%text_color%">
316 <font resource="font" />
317 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
318 <text>Sort Descending:</text>
319 </object>
320
321 <object type="button">
322 <highlight color="%highlight_color%" />
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 <highlight color="%highlight_color%" />
332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
340 <highlight color="%highlight_color%" />
341 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
342 <font resource="font" color="%button_text_color%" />
343 <text>Size</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=-3</action>
346 </object>
347 </template>
348
349 <template name="action_page_console">
350 <object type="console">
351 <placement x="0" y="%row2_y%" w="1080" h="705" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="footer">
358 <object type="console">
359 <slideout resource="slideout" x="500" y="1841" />
360 <placement x="%console_x%" y="0" w="%console_width%" h="1841" />
361 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
362 <font resource="fixed" />
363 </object>
364 </template>
365
366 <template name="keyboardtemplate">
367 <object type="keyboard">
368 <placement x="0" y="1200" />
369 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
370 <highlight color="%highlight_color%" />
371 <layout1>
372 <keysize height="161" width="108" />
373 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
374 <row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
375 <row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" />
376 <row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" />
377 </layout1>
378 <layout2>
379 <keysize height="161" width="108" />
380 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
381 <row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
382 <row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" />
383 <row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" />
384 </layout2>
385 <layout3>
386 <keysize height="161" width="108" />
387 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
388 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
389 <row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" />
390 <row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" />
391 </layout3>
392 <layout4>
393 <keysize height="161" width="108" />
394 <row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" />
395 <row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" />
396 <row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" />
397 <row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" />
398 </layout4>
399 </object>
400 </template>
401 </templates>
402
403 <pages>
404 <page name="main">
405 <object type="action">
406 <actions>
407 <action function="set">tw_clear_destination=main2</action>
408 <action function="page">clear_vars</action>
409 </actions>
410 </object>
411 </page>
412
413 <page name="main2">
414 <object type="template" name="header" />
415
416 <object type="button">
417 <highlight color="%highlight_color%" />
418 <placement x="%col1_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Install</text>
421 <image resource="main_button" />
422 <actions>
423 <action function="queueclear"></action>
424 <action function="page">install</action>
425 </actions>
426 </object>
427
428 <object type="button">
429 <highlight color="%highlight_color%" />
430 <placement x="%col2_x%" y="%row1_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Wipe</text>
433 <image resource="main_button" />
434 <action function="page">wipe</action>
435 </object>
436
437 <object type="button">
438 <highlight color="%highlight_color%" />
439 <placement x="%col1_x%" y="%row2_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Backup</text>
442 <image resource="main_button" />
443 <action function="page">backup</action>
444 </object>
445
446 <object type="button">
447 <highlight color="%highlight_color%" />
448 <placement x="%col2_x%" y="%row2_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Restore</text>
451 <image resource="main_button" />
452 <action function="page">restore</action>
453 </object>
454
455 <object type="button">
456 <highlight color="%highlight_color%" />
457 <placement x="%col1_x%" y="%row3_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Mount</text>
460 <image resource="main_button" />
461 <action function="page">mount</action>
462 </object>
463
464 <object type="button">
465 <highlight color="%highlight_color%" />
466 <placement x="%col2_x%" y="%row3_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Settings</text>
469 <image resource="main_button" />
470 <action function="page">settings</action>
471 </object>
472
473
474 <object type="button">
475 <highlight color="%highlight_color%" />
476 <placement x="%col1_x%" y="%row4_y%" />
477 <font resource="font" color="%button_text_color%" />
478 <text>Advanced</text>
479 <image resource="main_button" />
480 <action function="page">advanced</action>
481 </object>
482
483 <object type="button">
484 <highlight color="%highlight_color%" />
485 <placement x="%col2_x%" y="%row4_y%" />
486 <font resource="font" color="%button_text_color%" />
487 <text>Reboot</text>
488 <image resource="main_button" />
489 <action function="page">reboot</action>
490 </object>
491
492 <object type="template" name="footer" />
493 </page>
494
495 <page name="install">
496 <object type="template" name="header" />
497
498 <object type="text" color="%text_color%">
499 <font resource="font" />
500 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
501 <text>Select Zip to Install</text>
502 </object>
503
504 <object type="button">
505 <highlight color="%highlight_color%" />
506 <fill color="%button_fill_color%" />
507 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
508 <font resource="font" color="%button_text_color%" />
509 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
510 <actions>
511 <action function="set">tw_back=install</action>
512 <action function="page">selectstorage</action>
513 </actions>
514 </object>
515
516 <object type="fileselector">
517 <highlight color="%fileselector_highlight_color%" />
518 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
519 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
520 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
521 <text>%tw_zip_location%</text>
522 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
523 <sort name="tw_gui_sort_order" />
524 <icon folder="folder_icon" file="file_icon" />
525 <background color="%fileselector_background%" />
526 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
527 <filter extn=".zip" folders="1" files="1" />
528 <path name="tw_zip_location" default="/sdcard" />
529 <data name="tw_filename" />
530 <selection name="tw_file" />
531 </object>
532
533 <object type="template" name="sort_options" />
534
535 <object type="action">
536 <condition var1="tw_filename" op="modified" />
537 <actions>
538 <action function="queuezip"></action>
539 <action function="page">flash_confirm</action>
540 </actions>
541 </object>
542
543 <object type="action">
544 <touch key="back" />
545 <action function="page">main</action>
546 </object>
547
548 <object type="action">
549 <touch key="home" />
550 <action function="page">main</action>
551 </object>
552
553 <object type="template" name="footer" />
554 </page>
555
556 <page name="flash_confirm">
557 <object type="template" name="header" />
558
559 <object type="text" color="%text_color%">
560 <font resource="font" />
561 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
562 <text>This operation may install incompatible</text>
563 </object>
564
565 <object type="text" color="%text_color%">
566 <font resource="font" />
567 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
568 <text>software and render your device unusable.</text>
569 </object>
570
571 <object type="text" color="%text_color%">
572 <font resource="font" />
573 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
574 <text>Folder:</text>
575 </object>
576
577 <object type="text" color="%text_color%">
578 <font resource="mediumfont" />
579 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
580 <text>%tw_zip_location%</text>
581 </object>
582
583 <object type="text" color="%text_color%">
584 <font resource="font" />
585 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
586 <text>File to flash:</text>
587 </object>
588
589 <object type="text" color="%text_color%">
590 <font resource="mediumfont" />
591 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
592 <text>%tw_file%</text>
593 </object>
594
595 <object type="text" color="%text_color%">
596 <font resource="font" />
597 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
598 <text>Press back to cancel adding this zip.</text>
599 </object>
600
601 <object type="checkbox">
602 <placement x="%col1_x%" y="%row8_text_y%" />
603 <font resource="font" color="%text_color%" />
604 <text>Zip file signature verification.</text>
605 <data variable="tw_signed_zip_verify" />
606 <image checked="checkbox_true" unchecked="checkbox_false" />
607 </object>
608
609 <object type="checkbox">
610 <condition var1="tw_has_injecttwrp" var2="1" />
611 <placement x="%col1_x%" y="%row10_text_y%" />
612 <font resource="font" color="%text_color%" />
613 <text>Inject TWRP after install.</text>
614 <data variable="tw_inject_after_zip" />
615 <image checked="checkbox_true" unchecked="checkbox_false" />
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
621 <text>File %tw_zip_queue_count% of max of 10</text>
622 </object>
623
624 <object type="slider">
625 <placement x="%slider_x%" y="%slider_y%" placement="5" />
626 <resource base="slider" used="slider-used" touch="slider-touch" />
627 <action function="flash">flash_zip</action>
628 </object>
629
630 <object type="text" color="%text_color%">
631 <font resource="font" />
632 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
633 <text>Swipe to Confirm Flash</text>
634 </object>
635
636 <object type="button">
637 <highlight color="%highlight_color%" />
638 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
639 <placement x="%col1_x%" y="%row_queue_y%" />
640 <font resource="font" color="%button_text_color%" />
641 <text>Add More Zips</text>
642 <image resource="main_button" />
643 <action function="page">install</action>
644 </object>
645
646 <object type="button">
647 <highlight color="%highlight_color%" />
648 <placement x="%col2_x%" y="%row_queue_y%" />
649 <font resource="font" color="%button_text_color%" />
650 <text>Clear Zip Queue</text>
651 <image resource="main_button" />
652 <actions>
653 <action function="queueclear"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="back" />
660 <actions>
661 <action function="cancelzip"></action>
662 <action function="page">install</action>
663 </actions>
664 </object>
665
666 <object type="action">
667 <touch key="home" />
668 <action function="page">main</action>
669 </object>
670
671 <object type="template" name="footer" />
672 </page>
673
674 <page name="flash_zip">
675 <object type="template" name="header" />
676
677 <object type="console">
678 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
679 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
680 <font resource="fixed" />
681 </object>
682
683 <object type="text" color="%text_color%">
684 <font resource="font" />
685 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
686 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
687 </object>
688
689 <object type="text" color="%text_color%">
690 <font resource="mediumfont" />
691 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
692 <text>%tw_filename%</text>
693 </object>
694
695 <object type="template" name="progress_bar" />
696
697 <object type="action">
698 <condition var1="tw_operation_state" var2="1" />
699 <action function="page">flash_done</action>
700 </object>
701 </page>
702
703 <page name="flash_done">
704 <object type="template" name="header" />
705
706 <object type="text" color="%text_color%">
707 <font resource="font" />
708 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
709 <text>Zip Install Complete</text>
710 </object>
711
712 <object type="console">
713 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
714 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
715 <font resource="fixed" />
716 </object>
717
718 <object type="button">
719 <highlight color="%highlight_color%" />
720 <placement x="%col1_x%" y="%row4_y%" />
721 <font resource="font" color="%button_text_color%" />
722 <text>Wipe cache/dalvik</text>
723 <image resource="main_button" />
724 <actions>
725 <action function="set">tw_back=flash_done</action>
726 <action function="set">tw_action=wipe</action>
727 <action function="set">tw_action_param=/cache</action>
728 <action function="set">tw_has_action2=1</action>
729 <action function="set">tw_action2=wipe</action>
730 <action function="set">tw_action2_param=dalvik</action>
731 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
732 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
733 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
734 <action function="set">tw_slider_text=Swipe to Wipe</action>
735 <action function="page">confirm_action</action>
736 </actions>
737 </object>
738
739 <object type="button">
740 <highlight color="%highlight_color%" />
741 <placement x="%col2_x%" y="%row4_y%" />
742 <font resource="font" color="%button_text_color%" />
743 <text>Reboot System</text>
744 <image resource="main_button" />
745 <actions>
746 <action function="set">tw_back=main2</action>
747 <action function="set">tw_action=reboot</action>
748 <action function="set">tw_action_param=system</action>
749 <action function="set">tw_has_action2=0</action>
750 <action function="set">tw_text1=No OS Installed! Are you</action>
751 <action function="set">tw_text2=sure you wish to reboot?</action>
752 <action function="set">tw_text3=</action>
753 <action function="set">tw_text4=</action>
754 <action function="set">tw_action_text1=Rebooting...</action>
755 <action function="set">tw_action_text2=</action>
756 <action function="set">tw_complete_text1=Rebooting...</action>
757 <action function="set">tw_slider_text=Swipe to Reboot</action>
758 <action function="page">rebootcheck</action>
759 </actions>
760 </object>
761
762 <object type="button">
763 <highlight color="%highlight_color%" />
764 <placement x="%col_center_x%" y="%row3_y%" />
765 <font resource="font" color="%button_text_color%" />
766 <text>Home</text>
767 <image resource="main_button" />
768 <actions>
769 <action function="set">tw_clear_destination=main2</action>
770 <action function="page">clear_vars</action>
771 </actions>
772 </object>
773
774 <object type="text" color="%text_fail_color%">
775 <condition var1="tw_operation_status" op="!=" var2="0" />
776 <font resource="font" />
777 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
778 <text>Failed</text>
779 </object>
780
781 <object type="text" color="%text_success_color%">
782 <condition var1="tw_operation_status" var2="0" />
783 <font resource="font" />
784 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
785 <text>Successful</text>
786 </object>
787
788 <object type="action">
789 <touch key="back" />
790 <actions>
791 <action function="set">tw_clear_destination=install</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795
796 <object type="action">
797 <touch key="home" />
798 <actions>
799 <action function="set">tw_clear_destination=main2</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </object>
803 </page>
804
805 <page name="clear_vars">
806 <object type="action">
807 <action function="set">tw_operation_state=0</action>
808 <action function="set">tw_text1=</action>
809 <action function="set">tw_text2=</action>
810 <action function="set">tw_text3=</action>
811 <action function="set">tw_text4=</action>
812 <action function="set">tw_action_text1=</action>
813 <action function="set">tw_action_text2=</action>
814 <action function="set">tw_action_param=</action>
815 <action function="set">tw_has_action2=0</action>
816 <action function="set">tw_action2=</action>
817 <action function="set">tw_action2_param=</action>
818 <action function="set">tw_has_cancel=0</action>
819 <action function="set">tw_cancel_action=</action>
820 <action function="set">tw_cancel_param=</action>
821 <action function="set">tw_show_exclamation=0</action>
822 <action function="set">tw_show_reboot=0</action>
823 <action function="page">%tw_clear_destination%</action>
824 </object>
825 </page>
826
827 <page name="confirm_action">
828 <object type="template" name="header" />
829
830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
833 <text>%tw_text1%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
839 <text>%tw_text2%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
845 <text>%tw_text3%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
851 <text>%tw_text4%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
857 <text>Press back button to cancel.</text>
858 </object>
859
860 <object type="slider">
861 <placement x="%slider_x%" y="%slider_y%" />
862 <resource base="slider" used="slider-used" touch="slider-touch" />
863 <action function="page">action_page</action>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
869 <text>%tw_slider_text%</text>
870 </object>
871
872 <object type="action">
873 <touch key="back" />
874 <actions>
875 <action function="set">tw_clear_destination=%tw_back%</action>
876 <action function="page">clear_vars</action>
877 </actions>
878 </object>
879
880 <object type="action">
881 <touch key="home" />
882 <action function="page">main</action>
883 </object>
884
885 <object type="template" name="footer" />
886 </page>
887
888 <page name="action_page">
889 <object type="template" name="header" />
890
891 <object type="text" color="%text_color%">
892 <font resource="font" />
893 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
894 <text>%tw_action_text1%</text>
895 </object>
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
900 <text>%tw_action_text2%</text>
901 </object>
902
903 <object type="template" name="action_page_console" />
904
905 <object type="button">
906 <highlight color="%highlight_color%" />
907 <condition var1="tw_has_cancel" var2="1" />
908 <placement x="%col_center_medium_x%" y="%row4_y%" />
909 <font resource="font" color="%button_text_color%" />
910 <text>Cancel</text>
911 <image resource="medium_button" />
912 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
913 </object>
914
915 <object type="template" name="progress_bar" />
916
917 <object type="action">
918 <condition var1="tw_operation_state" var2="1" />
919 <actions>
920 <action function="page">action_complete</action>
921 </actions>
922 </object>
923
924 <object type="action">
925 <condition var1="tw_has_action2" var2="0" />
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 </actions>
929 </object>
930
931 <object type="action">
932 <condition var1="tw_has_action2" var2="1" />
933 <actions>
934 <action function="%tw_action%">%tw_action_param%</action>
935 <action function="%tw_action2%">%tw_action2_param%</action>
936 </actions>
937 </object>
938 </page>
939
940 <page name="singleaction_page">
941 <object type="template" name="header" />
942
943 <object type="text" color="%text_color%">
944 <font resource="font" />
945 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
946 <text>%tw_action_text1%</text>
947 </object>
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
952 <text>%tw_action_text2%</text>
953 </object>
954
955 <object type="template" name="action_page_console" />
956
957 <object type="template" name="progress_bar" />
958
959 <object type="action">
960 <condition var1="tw_operation_state" var2="1" />
961 <actions>
962 <action function="set">tw_page_done=1</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="0" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 </actions>
971 </object>
972
973 <object type="action">
974 <condition var1="tw_has_action2" var2="1" />
975 <actions>
976 <action function="%tw_action%">%tw_action_param%</action>
977 <action function="%tw_action2%">%tw_action2_param%</action>
978 </actions>
979 </object>
980 </page>
981
982 <page name="action_complete">
983 <object type="template" name="header" />
984
985 <object type="text" color="%text_color%">
986 <font resource="font" />
987 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
988 <text>%tw_complete_text1%</text>
989 </object>
990
991 <object type="text" color="%text_fail_color%">
992 <condition var1="tw_operation_status" op="!=" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Failed</text>
996 </object>
997
998 <object type="text" color="%text_success_color%">
999 <condition var1="tw_operation_status" var2="0" />
1000 <font resource="font" />
1001 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1002 <text>Successful</text>
1003 </object>
1004
1005 <object type="template" name="action_page_console" />
1006
1007 <object type="button">
1008 <highlight color="%highlight_color%" />
1009 <condition var1="tw_show_reboot" var2="0" />
1010 <placement x="%col_center_x%" y="%row4_y%" />
1011 <font resource="font" color="%button_text_color%" />
1012 <text>Back</text>
1013 <image resource="main_button" />
1014 <actions>
1015 <action function="set">tw_clear_destination=%tw_back%</action>
1016 <action function="page">clear_vars</action>
1017 </actions>
1018 </object>
1019
1020 <object type="button">
1021 <highlight color="%highlight_color%" />
1022 <condition var1="tw_show_reboot" var2="1" />
1023 <placement x="%col_center_x%" y="%row4_y%" />
1024 <font resource="font" color="%button_text_color%" />
1025 <text>Reboot System</text>
1026 <image resource="main_button" />
1027 <actions>
1028 <action function="set">tw_back=main2</action>
1029 <action function="set">tw_action=reboot</action>
1030 <action function="set">tw_action_param=system</action>
1031 <action function="set">tw_has_action2=0</action>
1032 <action function="set">tw_text1=No OS Installed! Are you</action>
1033 <action function="set">tw_text2=sure you wish to reboot?</action>
1034 <action function="set">tw_text3=</action>
1035 <action function="set">tw_text4=</action>
1036 <action function="set">tw_action_text1=Rebooting...</action>
1037 <action function="set">tw_action_text2=</action>
1038 <action function="set">tw_complete_text1=Rebooting...</action>
1039 <action function="set">tw_slider_text=Swipe to Reboot</action>
1040 <action function="page">rebootcheck</action>
1041 </actions>
1042 </object>
1043
1044 <object type="action">
1045 <touch key="home" />
1046 <actions>
1047 <action function="set">tw_clear_destination=main2</action>
1048 <action function="page">clear_vars</action>
1049 </actions>
1050 </object>
1051
1052 <object type="action">
1053 <touch key="back" />
1054 <actions>
1055 <action function="set">tw_clear_destination=%tw_back%</action>
1056 <action function="page">clear_vars</action>
1057 </actions>
1058 </object>
1059 </page>
1060
1061 <page name="filecheck">
1062 <object type="action">
1063 <action function="fileexists">%tw_filecheck%</action>
1064 </object>
1065
1066 <object type="action">
1067 <conditions>
1068 <condition var1="tw_operation_state" var2="1" />
1069 <condition var1="tw_operation_status" var2="0" />
1070 </conditions>
1071 <actions>
1072 <action function="set">tw_fileexists=1</action>
1073 <action function="page">%tw_existpage%</action>
1074 </actions>
1075 </object>
1076
1077 <object type="action">
1078 <conditions>
1079 <condition var1="tw_operation_state" var2="1" />
1080 <condition var1="tw_operation_status" var2="1" />
1081 </conditions>
1082 <actions>
1083 <action function="set">tw_fileexists=0</action>
1084 <action function="page">%tw_notexistpage%</action>
1085 </actions>
1086 </object>
1087 </page>
1088
1089 <page name="rebootcheck">
1090 <object type="action">
1091 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1092 <action function="reboot">%tw_action_param%</action>
1093 </object>
1094
1095 <object type="action">
1096 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1097 <action function="page">confirm_action</action>
1098 </object>
1099 </page>
1100
1101 <page name="wipe">
1102 <object type="template" name="header" />
1103
1104 <object type="text" color="%text_color%">
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1107 <text>Factory Reset</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1113 <text>Wipes Data, Cache, and Dalvik</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <condition var1="tw_has_data_media" var2="0" />
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1120 <text>.android_secure</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <condition var1="tw_has_data_media" var2="1" />
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1127 <text>(not including internal storage)</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <condition var1="tw_has_sdext_partition" var2="1" />
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1134 <text>SD-EXT</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1140 <text>Most of the time this is</text>
1141 </object>
1142
1143 <object type="text" color="%text_color%">
1144 <font resource="font" />
1145 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1146 <text>the only wipe that you need.</text>
1147 </object>
1148
1149 <object type="text" color="%text_color%">
1150 <font resource="font" />
1151 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1152 <text>Press back button to cancel.</text>
1153 </object>
1154
1155 <object type="button">
1156 <highlight color="%highlight_color%" />
1157 <placement x="%col1_x%" y="%wipe_button_y%" />
1158 <font resource="font" color="%button_text_color%" />
1159 <text>Advanced Wipe</text>
1160 <image resource="main_button" />
1161 <action function="page">advancedwipe</action>
1162 </object>
1163
1164 <object type="button">
1165 <conditions>
1166 <condition var1="tw_has_internal" var2="1" />
1167 <condition var1="tw_has_data_media" var2="1" />
1168 </conditions>
1169 <highlight color="%highlight_color%" />
1170 <placement x="%col2_x%" y="%wipe_button_y%" />
1171 <font resource="font" color="%button_text_color%" />
1172 <text>Format Data</text>
1173 <image resource="main_button" />
1174 <actions>
1175 <action function="page">formatdata</action>
1176 </actions>
1177 </object>
1178
1179 <object type="slider">
1180 <placement x="%slider_x%" y="%slider_y%" />
1181 <resource base="slider" used="slider-used" touch="slider-touch" />
1182 <actions>
1183 <action function="set">tw_back=wipe</action>
1184 <action function="set">tw_action=wipe</action>
1185 <action function="set">tw_action_param=data</action>
1186 <action function="set">tw_action_text1=Factory Reset...</action>
1187 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1188 <action function="page">action_page</action>
1189 </actions>
1190 </object>
1191
1192 <object type="text" color="%text_color%">
1193 <font resource="font" />
1194 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1195 <text>Swipe to Factory Reset</text>
1196 </object>
1197
1198 <object type="action">
1199 <touch key="back" />
1200 <action function="page">main</action>
1201 </object>
1202
1203 <object type="action">
1204 <touch key="home" />
1205 <action function="page">main</action>
1206 </object>
1207
1208 <object type="template" name="footer" />
1209 </page>
1210
1211 <page name="advancedwipe">
1212 <object type="template" name="header" />
1213
1214 <object type="text" color="%text_color%">
1215 <font resource="font" />
1216 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1217 <text>Wipe Menu</text>
1218 </object>
1219
1220 <object type="partitionlist">
1221 <highlight color="%fileselector_highlight_color%" />
1222 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1223 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1224 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1225 <text>Select Partitions to Wipe:</text>
1226 <icon selected="checkbox_true" unselected="checkbox_false" />
1227 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1228 <background color="%listbox_background%" />
1229 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1230 <data name="tw_wipe_list" />
1231 <listtype name="wipe" />
1232 </object>
1233
1234 <object type="slider">
1235 <placement x="%slider_x%" y="%slider_y%" />
1236 <resource base="slider" used="slider-used" touch="slider-touch" />
1237 <actions>
1238 <action function="set">tw_back=advancedwipe</action>
1239 <action function="set">tw_action=wipe</action>
1240 <action function="set">tw_action_param=LIST</action>
1241 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1242 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1243 <action function="set">tw_complete_text1=Wipe Complete</action>
1244 <action function="page">action_page</action>
1245 </actions>
1246 </object>
1247
1248 <object type="text" color="%text_color%">
1249 <font resource="font" />
1250 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1251 <text>Swipe to Wipe</text>
1252 </object>
1253
1254 <object type="action">
1255 <touch key="home" />
1256 <action function="page">main</action>
1257 </object>
1258
1259 <object type="action">
1260 <touch key="back" />
1261 <action function="page">wipe</action>
1262 </object>
1263
1264 <object type="template" name="footer" />
1265 </page>
1266
1267 <page name="formatdata">
1268 <object type="template" name="header" />
1269
1270 <object type="text" color="%text_color%">
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1273 <text>Format Data will wipe all of your apps,</text>
1274 </object>
1275
1276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1279 <text>backups, pictures, videos, media, and</text>
1280 </object>
1281
1282 <object type="text" color="%text_color%">
1283 <font resource="font" />
1284 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1285 <text>removes encryption on internal storage.</text>
1286 </object>
1287
1288 <object type="text" color="%text_color%">
1289 <font resource="font" />
1290 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1291 <text>This cannot be undone. Press back to cancel.</text>
1292 </object>
1293
1294 <object type="text" color="%text_color%">
1295 <font resource="font" />
1296 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1297 <text>Type yes to continue.</text>
1298 </object>
1299
1300 <object type="input">
1301 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1302 <background color="%input_background_color%" />
1303 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1304 <font resource="font" color="%text_color%" />
1305 <text>%tw_confirm_formatdata%</text>
1306 <data name="tw_confirm_formatdata" />
1307 <restrict minlen="3" maxlen="3" allow="yes" />
1308 <action function="page">formatdata_confirm</action>
1309 </object>
1310
1311 <object type="template" name="keyboardtemplate" />
1312
1313 <object type="action">
1314 <touch key="home" />
1315 <action function="page">main</action>
1316 </object>
1317
1318 <object type="action">
1319 <touch key="back" />
1320 <action function="page">wipe</action>
1321 </object>
1322
1323 <object type="template" name="footer" />
1324 </page>
1325
1326 <page name="formatdata_confirm">
1327 <object type="action">
1328 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1329 <actions>
1330 <action function="set">tw_back=formatdata</action>
1331 <action function="set">tw_action=wipe</action>
1332 <action function="set">tw_action_param=DATAMEDIA</action>
1333 <action function="set">tw_action_text1=Formatting Data...</action>
1334 <action function="set">tw_complete_text1=Data Format Complete</action>
1335 <action function="page">action_page</action>
1336 </actions>
1337 </object>
1338
1339 <object type="action">
1340 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1341 <action function="page">formatdata</function>
1342 </object>
1343 </page>
1344
1345 <page name="backup">
1346 <object type="template" name="header" />
1347
Dees_Troy83bd4832013-05-04 12:39:56 +00001348 <object type="button">
1349 <highlight color="%highlight_color%" />
1350 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001351 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001352 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001353 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001354 <actions>
1355 <action function="set">tw_fileexists=0</action>
1356 <action function="page">backupname1</action>
1357 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001358 </object>
1359
1360 <object type="partitionlist">
1361 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001362 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001363 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1364 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1365 <text>Select Partitions to Back Up:</text>
1366 <icon selected="checkbox_true" unselected="checkbox_false" />
1367 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1368 <background color="%listbox_background%" />
1369 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1370 <data name="tw_backup_list" />
1371 <listtype name="backup" />
1372 </object>
1373
1374 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001375 <conditions>
1376 <condition var1="tw_include_encrypted_backup" var2="1" />
1377 <condition var1="tw_encrypt_backup" var2="0" />
1378 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001379 <highlight color="%highlight_color%" />
1380 <fill color="%button_fill_color%" />
1381 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1382 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001383 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001384 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001385 <action function="page">backupencryption</action>
1386 </actions>
1387 </object>
1388
1389 <object type="button">
1390 <conditions>
1391 <condition var1="tw_include_encrypted_backup" var2="1" />
1392 <condition var1="tw_encrypt_backup" var2="1" />
1393 </conditions>
1394 <highlight color="%highlight_color%" />
1395 <fill color="%button_fill_color%" />
1396 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1397 <font resource="font" color="%button_text_color%" />
1398 <text>Using Encryption</text>
1399 <actions>
1400 <action function="set">tw_password_not_match=0</action>
1401 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001402 </actions>
1403 </object>
1404
1405 <object type="button">
1406 <highlight color="%highlight_color%" />
1407 <fill color="%button_fill_color%" />
1408 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1409 <font resource="font" color="%button_text_color%" />
1410 <text>Refresh Sizes</text>
1411 <action function="refreshsizes"></action>
1412 </object>
1413
1414 <object type="button">
1415 <highlight color="%highlight_color%" />
1416 <fill color="%button_fill_color%" />
1417 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1418 <font resource="font" color="%button_text_color%" />
1419 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1420 <actions>
1421 <action function="set">tw_back=backup</action>
1422 <action function="page">selectstorage</action>
1423 </actions>
1424 </object>
1425
1426 <object type="checkbox">
1427 <placement x="%col1_x%" y="%row15_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <text>Enable compression.</text>
1430 <data variable="tw_use_compression" />
1431 <image checked="checkbox_true" unchecked="checkbox_false" />
1432 </object>
1433
1434 <object type="checkbox">
1435 <placement x="%col1_x%" y="%row16_text_y%" />
1436 <font resource="font" color="%text_color%" />
1437 <text>Skip MD5 generation during backup.</text>
1438 <data variable="tw_skip_md5_generate" />
1439 <image checked="checkbox_true" unchecked="checkbox_false" />
1440 </object>
1441
1442 <object type="slider">
1443 <placement x="%slider_x%" y="slider_y" />
1444 <resource base="slider" used="slider-used" touch="slider-touch" />
1445 <action function="page">backup_run</action>
1446 </object>
1447
1448 <object type="text" color="%text_color%">
1449 <font resource="font" />
1450 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1451 <text>Swipe to Back Up</text>
1452 </object>
1453
1454 <object type="action">
1455 <touch key="home" />
1456 <action function="page">main</action>
1457 </object>
1458
1459 <object type="action">
1460 <touch key="back" />
1461 <action function="page">main</action>
1462 </object>
1463
1464 <object type="template" name="footer" />
1465 </page>
1466
1467 <page name="backupname1">
1468 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001469 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1470 <action function="generatebackupname"></function>
Dees_Troya13d74f2013-03-24 08:54:55 -05001471 </object>
1472
1473 <object type="action">
1474 <action function="page">backupname2</function>
1475 </object>
1476 </page>
1477
1478 <page name="backupname2">
1479 <object type="template" name="header" />
1480
1481 <object type="text" color="%text_color%">
1482 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1483 <font resource="font" />
1484 <text>Please Enter a Backup Name</text>
1485 </object>
1486
1487 <object type="input">
1488 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1489 <background color="%input_background_color%" />
1490 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1491 <font resource="font" color="%text_color%" />
1492 <text>%tw_backup_name%</text>
1493 <data name="tw_backup_name" />
1494 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1495 <actions>
1496 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1497 <action function="set">tw_existpage=backupname2</action>
1498 <action function="set">tw_notexistpage=backup</action>
1499 <action function="page">filecheck</action>
1500 </actions>
1501 </object>
1502
1503 <object type="text" color="%text_fail_color%">
1504 <condition var1="tw_fileexists" var2="1" />
1505 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1506 <font resource="font" />
1507 <text>A backup with that name already exists!</text>
1508 </object>
1509
1510 <object type="button">
1511 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001512 <placement x="%col1_x%" y="%row2_y%" />
1513 <font resource="font" color="%button_text_color%" />
1514 <text>Append Date</text>
1515 <image resource="main_button" />
1516 <action function="appenddatetobackupname"></action>
1517 </object>
1518
1519 <object type="button">
1520 <highlight color="%highlight_color%" />
1521 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001522 <font resource="font" color="%button_text_color%" />
1523 <text>Cancel</text>
1524 <image resource="main_button" />
1525 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001526 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001527 <action function="page">backup</action>
1528 </actions>
1529 </object>
1530
1531 <object type="template" name="keyboardtemplate" />
1532
1533 <object type="action">
1534 <touch key="home" />
1535 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001536 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001537 <action function="page">main</action>
1538 </actions>
1539 </object>
1540
1541 <object type="action">
1542 <touch key="back" />
1543 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001544 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001545 <action function="page">backup</action>
1546 </actions>
1547 </object>
1548
1549 <object type="template" name="footer" />
1550 </page>
1551
Dees_Troy83bd4832013-05-04 12:39:56 +00001552 <page name="backupencryption">
1553 <object type="template" name="header" />
1554
1555 <object type="text" color="%text_color%">
1556 <font resource="font" />
1557 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1558 <text>Encrypt your backup?</text>
1559 </object>
1560
1561 <object type="text" color="%text_color%">
1562 <font resource="font" />
1563 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1564 <text>Please Enter A Password:</text>
1565 </object>
1566
1567 <object type="input">
1568 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1569 <background color="%input_background_color%" />
1570 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1571 <font resource="font" color="%text_color%" />
1572 <text>%tw_backup_encrypt_display%</text>
1573 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1574 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1575 <action function="page">backupencryption2</action>
1576 </object>
1577
1578 <object type="text" color="%text_fail_color%">
1579 <condition var1="tw_password_not_match" var2="1" />
1580 <font resource="font" />
1581 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1582 <text>Passwords Do Not Match</text>
1583 </object>
1584
1585 <object type="button">
1586 <highlight color="%highlight_color%" />
1587 <placement x="%col_center_x%" y="%row2_y%" />
1588 <font resource="font" color="%button_text_color%" />
1589 <text>Cancel</text>
1590 <image resource="main_button" />
1591 <actions>
1592 <action function="set">tw_encrypt_backup=0</action>
1593 <action function="set">tw_backup_password=</action>
1594 <action function="set">tw_backup_password2=</action>
1595 <action function="set">tw_backup_encrypt_display=</action>
1596 <action function="set">tw_backup_encrypt_display2=</action>
1597 <action function="page">backup</action>
1598 </actions>
1599 </object>
1600
1601 <object type="template" name="keyboardtemplate" />
1602
1603 <object type="action">
1604 <touch key="home" />
1605 <action function="page">main</action>
1606 </object>
1607
1608 <object type="action">
1609 <touch key="back" />
1610 <action function="page">backup</action>
1611 </object>
1612
1613 <object type="template" name="footer" />
1614 </page>
1615
1616 <page name="backupencryption2">
1617 <object type="template" name="header" />
1618
1619 <object type="text" color="%text_color%">
1620 <font resource="font" />
1621 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1622 <text>Encrypt your backup?</text>
1623 </object>
1624
1625 <object type="text" color="%text_color%">
1626 <font resource="font" />
1627 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1628 <text>Please Enter Password Again:</text>
1629 </object>
1630
1631 <object type="input">
1632 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1633 <background color="%input_background_color%" />
1634 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1635 <font resource="font" color="%text_color%" />
1636 <text>%tw_backup_encrypt_display2%</text>
1637 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1638 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1639 <actions>
1640 <action function="page">checkbackuppassword</action>
1641 </actions>
1642 </object>
1643
1644 <object type="button">
1645 <highlight color="%highlight_color%" />
1646 <placement x="%col_center_x%" y="%row2_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Cancel</text>
1649 <image resource="main_button" />
1650 <actions>
1651 <action function="set">tw_encrypt_backup=0</action>
1652 <action function="set">tw_backup_password=</action>
1653 <action function="set">tw_backup_password2=</action>
1654 <action function="set">tw_backup_encrypt_display=</action>
1655 <action function="set">tw_backup_encrypt_display2=</action>
1656 <action function="page">backup</action>
1657 </actions>
1658 </object>
1659
1660 <object type="template" name="keyboardtemplate" />
1661
1662 <object type="action">
1663 <touch key="home" />
1664 <action function="page">main</action>
1665 </object>
1666
1667 <object type="action">
1668 <touch key="back" />
1669 <action function="page">backup</action>
1670 </object>
1671
1672 <object type="template" name="footer" />
1673 </page>
1674
1675 <page name="checkbackuppassword">
1676 <object type="action">
1677 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1678 <actions>
1679 <action function="set">tw_encrypt_backup=1</action>
1680 <action function="page">backup</action>
1681 </actions>
1682 </object>
1683
1684 <object type="action">
1685 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1686 <actions>
1687 <action function="set">tw_encrypt_backup=0</action>
1688 <action function="set">tw_password_not_match=1</action>
1689 <action function="set">tw_backup_password=</action>
1690 <action function="set">tw_backup_password2=</action>
1691 <action function="set">tw_backup_encrypt_display=</action>
1692 <action function="set">tw_backup_encrypt_display2=</action>
1693 <action function="page">backupencryption</action>
1694 </actions>
1695 </object>
1696 </page>
1697
Dees_Troya13d74f2013-03-24 08:54:55 -05001698 <page name="backup_run">
1699 <object type="template" name="header" />
1700
1701 <object type="text" color="%text_color%">
1702 <font resource="font" />
1703 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1704 <text>%tw_operation% %tw_partition%</text>
1705 </object>
1706
1707 <object type="template" name="action_page_console" />
1708
1709 <object type="template" name="progress_bar" />
1710
1711 <object type="action">
1712 <action function="nandroid">backup</action>
1713 </object>
1714
1715 <object type="action">
1716 <condition var1="tw_operation_state" var2="1" />
1717 <actions>
1718 <action function="set">tw_back=backup</action>
1719 <action function="set">tw_complete_text1=Backup Complete</action>
1720 <action function="set">tw_show_reboot=1</action>
1721 <action function="page">action_complete</action>
1722 </actions>
1723 </object>
1724 </page>
1725
1726 <page name="restore">
1727 <object type="template" name="header" />
1728
1729 <object type="button">
1730 <highlight color="%highlight_color%" />
1731 <fill color="%button_fill_color%" />
1732 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1733 <font resource="font" color="%button_text_color%" />
1734 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1735 <actions>
1736 <action function="set">tw_back=restore</action>
1737 <action function="page">selectstorage</action>
1738 </actions>
1739 </object>
1740
1741 <object type="fileselector">
1742 <highlight color="%fileselector_highlight_color%" />
1743 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1744 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1745 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1746 <text>Select Package to Restore:</text>
1747 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1748 <sort name="tw_gui_sort_order" />
1749 <icon folder="folder_icon" file="file_icon" />
1750 <background color="%fileselector_background%" />
1751 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1752 <filter folders="1" files="0" nav="0" />
1753 <path name="tw_backups_folder" />
1754 <data name="tw_restore" default="" />
1755 <selection name="tw_restore_name" />
1756 </object>
1757
1758 <object type="template" name="sort_options" />
1759
1760 <object type="action">
1761 <condition var1="tw_restore" op="modified" />
1762 <actions>
1763 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001764 <action function="page">restore_read</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001765 </actions>
1766 </object>
1767
1768 <object type="action">
1769 <touch key="home" />
1770 <action function="page">main</action>
1771 </object>
1772
1773 <object type="action">
1774 <touch key="back" />
1775 <action function="page">main</action>
1776 </object>
1777
1778 <object type="template" name="footer" />
1779 </page>
1780
Dees_Troy83bd4832013-05-04 12:39:56 +00001781 <page name="restore_read">
1782 <object type="action">
1783 <condition var1="tw_restore_encrypted" var2="1" />
1784 <actions>
1785 <action function="set">tw_password_fail=0</action>
1786 <action function="page">restore_decrypt</action>
1787 </actions>
1788 </object>
1789
1790 <object type="action">
1791 <condition var1="tw_restore_encrypted" var2="0" />
1792 <actions>
1793 <action function="page">restore_select</action>
1794 </actions>
1795 </object>
1796 </page>
1797
1798 <page name="restore_decrypt">
1799 <object type="template" name="header" />
1800
1801 <object type="text" color="%text_color%">
1802 <font resource="font" />
1803 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1804 <text>Backup Encrypted</text>
1805 </object>
1806
1807 <object type="text" color="%text_color%">
1808 <font resource="font" />
1809 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1810 <text>Please Enter Your Password:</text>
1811 </object>
1812
1813 <object type="input">
1814 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1815 <background color="%input_background_color%" />
1816 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1817 <font resource="font" color="%text_color%" />
1818 <text>%tw_restore_display%</text>
1819 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1820 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1821 <actions>
1822 <action function="page">try_restore_decrypt</action>
1823 </actions>
1824 </object>
1825
1826 <object type="text" color="%text_fail_color%">
1827 <condition var1="tw_password_fail" var2="1" />
1828 <font resource="font" />
1829 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1830 <text>Password Failed, Please Try Again</text>
1831 </object>
1832
1833 <object type="button">
1834 <highlight color="%highlight_color%" />
1835 <placement x="%col1_x%" y="%row2_y%" />
1836 <font resource="font" color="%button_text_color%" />
1837 <text>Cancel</text>
1838 <image resource="main_button" />
1839 <actions>
1840 <action function="set">tw_page_done=1</action>
1841 <action function="page">restore</action>
1842 </actions>
1843 </object>
1844
1845 <object type="button">
1846 <highlight color="%highlight_color%" />
1847 <placement x="%col2_x%" y="%row2_y%" />
1848 <font resource="font" color="%button_text_color%" />
1849 <text>Delete</text>
1850 <image resource="main_button" />
1851 <actions>
1852 <action function="set">tw_back=restore</action>
1853 <action function="set">tw_action=cmd</action>
1854 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1855 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1856 <action function="set">tw_text2=This cannot be undone!</action>
1857 <action function="set">tw_action_text1=Deleting Backup...</action>
1858 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1859 <action function="set">tw_slider_text=Swipe to Delete</action>
1860 <action function="page">confirm_action</action>
1861 </actions>
1862 </object>
1863
1864 <object type="template" name="keyboardtemplate" />
1865
1866 <object type="action">
1867 <touch key="home" />
1868 <action function="page">main</action>
1869 </object>
1870
1871 <object type="action">
1872 <touch key="back" />
1873 <action function="page">restore</action>
1874 </object>
1875
1876 <object type="template" name="footer" />
1877 </page>
1878
1879 <page name="try_restore_decrypt">
1880 <object type="template" name="header" />
1881
1882 <object type="text" color="%text_color%">
1883 <font resource="font" />
1884 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1885 <text>Trying Decryption with Your Password</text>
1886 </object>
1887
1888 <object type="template" name="action_page_console" />
1889
1890 <object type="template" name="progress_bar" />
1891
1892 <object type="action">
1893 <action function="decrypt_backup"></action>
1894 </object>
1895
1896 <object type="action">
1897 <conditions>
1898 <condition var1="tw_operation_state" var2="1" />
1899 <condition var1="tw_operation_status" op="!=" var2="0" />
1900 </conditions>
1901 <actions>
1902 <action function="set">tw_password_fail=1</action>
1903 <action function="page">restore_decrypt</action>
1904 </actions>
1905 </object>
1906
1907 <object type="action">
1908 <conditions>
1909 <condition var1="tw_operation_state" var2="1" />
1910 <condition var1="tw_operation_status" op="=" var2="0" />
1911 </conditions>
1912 <actions>
1913 <action function="set">tw_page_done=1</action>
1914 <action function="page">restore_select</action>
1915 </actions>
1916 </object>
1917 </page>
1918
Dees_Troya13d74f2013-03-24 08:54:55 -05001919 <page name="restore_select">
1920 <object type="template" name="header" />
1921
1922 <object type="partitionlist">
1923 <highlight color="%fileselector_highlight_color%" />
1924 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1925 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1926 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1927 <text>Restoring: %tw_restore_name%</text>
1928 <icon selected="checkbox_true" unselected="checkbox_false" />
1929 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1930 <background color="%listbox_background%" />
1931 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1932 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1933 <listtype name="restore" />
1934 </object>
1935
1936 <object type="button">
1937 <highlight color="%highlight_color%" />
1938 <fill color="%button_fill_color%" />
1939 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1940 <font resource="font" color="%button_text_color%" />
1941 <text>Rename Backup</text>
1942 <actions>
1943 <action function="set">tw_backup_rename=</action>
1944 <action function="set">tw_fileexists=0</action>
1945 <action function="page">renamebackup</action>
1946 </actions>
1947 </object>
1948
1949 <object type="button">
1950 <highlight color="%highlight_color%" />
1951 <fill color="%button_fill_color%" />
1952 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1953 <font resource="font" color="%button_text_color%" />
1954 <text>Delete Backup</text>
1955 <actions>
1956 <action function="set">tw_back=restore</action>
1957 <action function="set">tw_action=cmd</action>
1958 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1959 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1960 <action function="set">tw_text2=This cannot be undone!</action>
1961 <action function="set">tw_action_text1=Deleting Backup...</action>
1962 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1963 <action function="set">tw_slider_text=Swipe to Delete</action>
1964 <action function="page">confirm_action</action>
1965 </actions>
1966 </object>
1967
1968 <object type="checkbox">
1969 <placement x="%col1_x%" y="%row15_text_y%" />
1970 <font resource="font" color="%text_color%" />
1971 <text>Enable MD5 verification of backup files.</text>
1972 <data variable="tw_skip_md5_check" />
1973 <image checked="checkbox_true" unchecked="checkbox_false" />
1974 </object>
1975
1976 <object type="text" color="%text_color%">
1977 <font resource="font" />
1978 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1979 <text>Package Date: %tw_restore_file_date%</text>
1980 </object>
1981
1982 <object type="slider">
1983 <placement x="%slider_x%" y="%slider_y%" />
1984 <resource base="slider" used="slider-used" touch="slider-touch" />
1985 <action function="page">restore_run</action>
1986 </object>
1987
1988 <object type="text" color="%text_color%">
1989 <font resource="font" />
1990 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1991 <text>Swipe to Restore</text>
1992 </object>
1993
1994 <object type="action">
1995 <touch key="home" />
1996 <action function="page">main</action>
1997 </object>
1998
1999 <object type="action">
2000 <touch key="back" />
2001 <action function="page">restore</action>
2002 </object>
2003
2004 <object type="template" name="footer" />
2005 </page>
2006
2007 <page name="renamebackup">
2008 <object type="template" name="header" />
2009
2010 <object type="text" color="%text_color%">
2011 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2012 <font resource="font" />
2013 <text>Please Enter a New Backup Name</text>
2014 </object>
2015
2016 <object type="input">
2017 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2018 <background color="%input_background_color%" />
2019 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2020 <font resource="font" color="%text_color%" />
2021 <text>%tw_backup_rename%</text>
2022 <data name="tw_backup_rename" />
2023 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2024 <actions>
2025 <action function="set">tw_back=restore</action>
2026 <action function="set">tw_action=cmd</action>
2027 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2028 <action function="set">tw_text1=Rename Backup?</action>
2029 <action function="set">tw_text2=This cannot be undone!</action>
2030 <action function="set">tw_action_text1=Renaming Backup...</action>
2031 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2032 <action function="set">tw_slider_text=Swipe to Rename</action>
2033 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2034 <action function="set">tw_existpage=renamebackup</action>
2035 <action function="set">tw_notexistpage=confirm_action</action>
2036 <action function="page">filecheck</action>
2037 </actions>
2038 </object>
2039
2040 <object type="text" color="%text_fail_color%">
2041 <condition var1="tw_fileexists" var2="1" />
2042 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2043 <font resource="font" />
2044 <text>A backup with that name already exists!</text>
2045 </object>
2046
2047 <object type="button">
2048 <highlight color="%highlight_color%" />
2049 <placement x="%col_center_x%" y="%row2_y%" />
2050 <font resource="font" color="%button_text_color%" />
2051 <text>Cancel</text>
2052 <image resource="main_button" />
2053 <action function="page">restore_select</action>
2054 </object>
2055
2056 <object type="template" name="keyboardtemplate" />
2057
2058 <object type="action">
2059 <touch key="home" />
2060 <action function="page">main</action>
2061 </object>
2062
2063 <object type="action">
2064 <touch key="back" />
2065 <action function="page">restore_select</action>
2066 </object>
2067
2068 <object type="template" name="footer" />
2069 </page>
2070
2071 <page name="restore_run">
2072 <object type="template" name="header" />
2073
2074 <object type="text" color="%text_color%">
2075 <font resource="font" />
2076 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2077 <text>%tw_operation% %tw_partition%</text>
2078 </object>
2079
2080 <object type="template" name="action_page_console" />
2081
2082 <object type="template" name="progress_bar" />
2083
2084 <object type="action">
2085 <condition var1="tw_operation_state" var2="1" />
2086 <actions>
2087 <action function="set">tw_back=restore_select</action>
2088 <action function="set">tw_complete_text1=Restore Complete</action>
2089 <action function="set">tw_show_reboot=1</action>
2090 <action function="page">action_complete</action>
2091 </actions>
2092 </object>
2093
2094 <object type="action">
2095 <action function="nandroid">restore</action>
2096 </object>
2097 </page>
2098
2099 <page name="selectstorage">
2100 <object type="template" name="header" />
2101
2102 <object type="partitionlist">
2103 <highlight color="%fileselector_highlight_color%" />
2104 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2105 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2106 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2107 <text>Select Storage:</text>
2108 <icon selected="radio_true" unselected="radio_false" />
2109 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2110 <background color="%listbox_background%" />
2111 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2112 <data name="tw_storage_path" />
2113 <listtype name="storage" />
2114 </object>
2115
Dees_Troye7e0ae82013-07-05 14:46:07 +00002116 <object type="button">
2117 <highlight color="%highlight_color%" />
2118 <placement x="%col_center_x%" y="%row4_y%" />
2119 <font resource="font" color="%button_text_color%" />
2120 <text>OK</text>
2121 <image resource="main_button" />
2122 <actions>
2123 <action function="set">tw_clear_destination=%tw_back%</action>
2124 <action function="page">clear_vars</action>
2125 </actions>
2126 </object>
2127
Dees_Troya13d74f2013-03-24 08:54:55 -05002128 <object type="action">
2129 <touch key="home" />
2130 <action function="page">main</action>
2131 </object>
2132
2133 <object type="action">
2134 <touch key="back" />
2135 <actions>
2136 <action function="page">%tw_back%</action>
2137 </actions>
2138 </object>
2139
2140 <object type="template" name="footer" />
2141 </page>
2142
2143 <page name="mount">
2144 <object type="template" name="header" />
2145
2146 <object type="partitionlist">
2147 <highlight color="%fileselector_highlight_color%" />
2148 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2149 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2150 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2151 <text>Select Partitions to Mount:</text>
2152 <icon selected="checkbox_true" unselected="checkbox_false" />
2153 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2154 <background color="%listbox_background%" />
2155 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2156 <listtype name="mount" />
2157 </object>
2158
2159 <object type="button">
2160 <highlight color="%highlight_color%" />
2161 <fill color="%button_fill_color%" />
2162 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2163 <font resource="font" color="%button_text_color%" />
2164 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2165 <actions>
2166 <action function="set">tw_back=mount</action>
2167 <action function="page">selectstorage</action>
2168 </actions>
2169 </object>
2170
2171 <object type="button">
2172 <highlight color="%highlight_color%" />
2173 <condition var1="tw_has_usb_storage" var2="1" />
2174 <placement x="%col1_x%" y="row4_y" />
2175 <font resource="font" color="%button_text_color%" />
2176 <text>Mount USB Storage</text>
2177 <image resource="main_button" />
2178 <action function="page">usb_mount</action>
2179 </object>
2180
2181 <object type="button">
2182 <highlight color="%highlight_color%" />
2183 <conditions>
2184 <condition var1="tw_is_encrypted" var2="1" />
2185 <condition var1="tw_is_decrypted" var2="0" />
2186 </conditions>
2187 <placement x="%col2_x%" y="row4_y" />
2188 <font resource="font" color="%button_text_color%" />
2189 <text>Decrypt Data</text>
2190 <image resource="main_button" />
2191 <action function="page">decrypt</action>
2192 </object>
2193
2194 <object type="action">
2195 <touch key="home" />
2196 <action function="page">main</action>
2197 </object>
2198
2199 <object type="action">
2200 <touch key="back" />
2201 <action function="page">main</action>
2202 </object>
2203
2204 <object type="template" name="footer" />
2205 </page>
2206
2207 <page name="usb_mount">
2208 <object type="template" name="header" />
2209
2210 <object type="text" color="%text_color%">
2211 <font resource="font" />
2212 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2213 <text>USB Storage Mounted</text>
2214 </object>
2215
2216 <object type="text" color="%text_color%">
2217 <placement x="%col1_x%" y="%row1_text_y%" />
2218 <font resource="font" />
2219 <text>Be sure to safely remove your device</text>
2220 </object>
2221
2222 <object type="text" color="%text_color%">
2223 <placement x="%col1_x%" y="%row2_text_y%" />
2224 <font resource="font" />
2225 <text>from your computer before unmounting!</text>
2226 </object>
2227
2228 <object type="button">
2229 <highlight color="%highlight_color%" />
2230 <placement x="%col1_x%" y="%row3_y%" />
2231 <font resource="font" color="%button_text_color%" />
2232 <text>Unmount</text>
2233 <image resource="main_button" />
2234 <action function="page">usb_umount</action>
2235 </object>
2236
2237 <object type="action">
2238 <action function="mount">usb</action>
2239 </object>
2240
2241 <object type="template" name="footer" />
2242 </page>
2243
2244 <page name="usb_umount">
2245 <object type="action">
2246 <action function="unmount">usb</action>
2247 </object>
2248
2249 <object type="action">
2250 <action function="page">mount</action>
2251 </object>
2252 </page>
2253
2254 <page name="reboot">
2255 <object type="template" name="header" />
2256
2257 <object type="text" color="%text_color%">
2258 <font resource="font" />
2259 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2260 <text>Reboot Menu</text>
2261 </object>
2262
2263 <object type="button">
2264 <highlight color="%highlight_color%" />
2265 <condition var1="tw_reboot_system" var2="1" />
2266 <placement x="%col1_x%" y="%row1_y%" />
2267 <font resource="font" color="%button_text_color%" />
2268 <text>System</text>
2269 <image resource="main_button" />
2270 <actions>
2271 <action function="set">tw_back=reboot</action>
2272 <action function="set">tw_action=reboot</action>
2273 <action function="set">tw_action_param=system</action>
2274 <action function="set">tw_has_action2=0</action>
2275 <action function="set">tw_text1=No OS Installed! Are you</action>
2276 <action function="set">tw_text2=sure you wish to reboot?</action>
2277 <action function="set">tw_action_text1=Rebooting...</action>
2278 <action function="set">tw_complete_text1=Rebooting...</action>
2279 <action function="set">tw_slider_text=Swipe to Reboot</action>
2280 <action function="page">rebootcheck</action>
2281 </actions>
2282 </object>
2283
2284 <object type="button">
2285 <highlight color="%highlight_color%" />
2286 <condition var1="tw_reboot_poweroff" var2="1" />
2287 <placement x="%col2_x%" y="%row1_y%" />
2288 <font resource="font" color="%button_text_color%" />
2289 <text>Power Off</text>
2290 <image resource="main_button" />
2291 <actions>
2292 <action function="set">tw_back=reboot</action>
2293 <action function="set">tw_action=reboot</action>
2294 <action function="set">tw_action_param=poweroff</action>
2295 <action function="set">tw_has_action2=0</action>
2296 <action function="set">tw_text1=No OS Installed! Are you</action>
2297 <action function="set">tw_text2=sure you wish to power off?</action>
2298 <action function="set">tw_action_text1=Turning Off...</action>
2299 <action function="set">tw_complete_text1=Turning Off...</action>
2300 <action function="set">tw_slider_text=Swipe to Power Off</action>
2301 <action function="page">rebootcheck</action>
2302 </actions>
2303 </object>
2304
2305 <object type="button">
2306 <highlight color="%highlight_color%" />
2307 <condition var1="tw_reboot_recovery" var2="1" />
2308 <placement x="%col1_x%" y="%row2_y%" />
2309 <font resource="font" color="%button_text_color%" />
2310 <text>Recovery</text>
2311 <image resource="main_button" />
2312 <actions>
2313 <action function="set">tw_back=reboot</action>
2314 <action function="set">tw_action=reboot</action>
2315 <action function="set">tw_action_param=recovery</action>
2316 <action function="set">tw_has_action2=0</action>
2317 <action function="set">tw_text1=No OS Installed! Are you</action>
2318 <action function="set">tw_text2=sure you wish to reboot?</action>
2319 <action function="set">tw_action_text1=Rebooting...</action>
2320 <action function="set">tw_complete_text1=Rebooting...</action>
2321 <action function="set">tw_slider_text=Swipe to Reboot</action>
2322 <action function="page">rebootcheck</action>
2323 </actions>
2324 </object>
2325
2326 <object type="button">
2327 <highlight color="%highlight_color%" />
2328 <condition var1="tw_reboot_bootloader" var2="1" />
2329 <placement x="%col2_x%" y="%row2_y%" />
2330 <font resource="font" color="%button_text_color%" />
2331 <text>Bootloader</text>
2332 <image resource="main_button" />
2333 <actions>
2334 <action function="set">tw_back=reboot</action>
2335 <action function="set">tw_action=reboot</action>
2336 <action function="set">tw_action_param=bootloader</action>
2337 <action function="set">tw_has_action2=0</action>
2338 <action function="set">tw_text1=No OS Installed! Are you</action>
2339 <action function="set">tw_text2=sure you wish to reboot?</action>
2340 <action function="set">tw_action_text1=Rebooting...</action>
2341 <action function="set">tw_complete_text1=Rebooting...</action>
2342 <action function="set">tw_slider_text=Swipe to Reboot</action>
2343 <action function="page">rebootcheck</action>
2344 </actions>
2345 </object>
2346
2347 <object type="button">
2348 <highlight color="%highlight_color%" />
2349 <condition var1="tw_download_mode" var2="1" />
2350 <placement x="%col1_x%" y="%row3_y%" />
2351 <font resource="font" color="%button_text_color%" />
2352 <text>Download</text>
2353 <image resource="main_button" />
2354 <actions>
2355 <action function="set">tw_back=reboot</action>
2356 <action function="set">tw_action=reboot</action>
2357 <action function="set">tw_action_param=download</action>
2358 <action function="set">tw_has_action2=0</action>
2359 <action function="set">tw_text1=No OS Installed! Are you</action>
2360 <action function="set">tw_text2=sure you wish to reboot?</action>
2361 <action function="set">tw_action_text1=Rebooting...</action>
2362 <action function="set">tw_complete_text1=Rebooting...</action>
2363 <action function="set">tw_slider_text=Swipe to Reboot</action>
2364 <action function="page">rebootcheck</action>
2365 </actions>
2366 </object>
2367
2368 <object type="action">
2369 <touch key="home" />
2370 <action function="page">main</action>
2371 </object>
2372
2373 <object type="action">
2374 <touch key="back" />
2375 <action function="page">main</action>
2376 </object>
2377
2378 <object type="template" name="footer" />
2379 </page>
2380
2381 <page name="settings">
2382 <object type="template" name="header" />
2383
2384 <object type="text" color="%text_color%">
2385 <font resource="font" />
2386 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2387 <text>Settings</text>
2388 </object>
2389
2390 <object type="checkbox">
2391 <placement x="%col1_x%" y="%row1_text_y%" />
2392 <font resource="font" color="%text_color%" />
2393 <text>Zip file signature verification.</text>
2394 <data variable="tw_signed_zip_verify" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
2399 <placement x="%col1_x%" y="%row2_text_y%" />
2400 <font resource="font" color="%text_color%" />
2401 <text>Use rm -rf instead of formatting.</text>
2402 <data variable="tw_rm_rf" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
2407 <placement x="%col1_x%" y="%row3_text_y%" />
2408 <font resource="font" color="%text_color%" />
2409 <text>Skip MD5 generation during backup.</text>
2410 <data variable="tw_skip_md5_generate" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
2415 <placement x="%col1_x%" y="%row4_text_y%" />
2416 <font resource="font" color="%text_color%" />
2417 <text>Enable MD5 verification of backup files.</text>
2418 <data variable="tw_skip_md5_check" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
2423 <placement x="%col1_x%" y="%row5_text_y%" />
2424 <font resource="font" color="%text_color%" />
2425 <text>Use Military Time.</text>
2426 <data variable="tw_military_time" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
2431 <placement x="%col1_x%" y="%row6_text_y%" />
2432 <font resource="font" color="%text_color%" />
2433 <text>Simulate actions for theme testing.</text>
2434 <data variable="tw_simulate_actions" />
2435 <image checked="checkbox_true" unchecked="checkbox_false" />
2436 </object>
2437
2438 <object type="checkbox">
2439 <condition var1="tw_simulate_actions" var2="1" />
2440 <placement x="%col1_x%" y="%row7_text_y%" />
2441 <font resource="font" color="%text_color%" />
2442 <text>Simulate failure for actions.</text>
2443 <data variable="tw_simulate_fail" />
2444 <image checked="checkbox_true" unchecked="checkbox_false" />
2445 </object>
2446
2447 <object type="button">
2448 <highlight color="%highlight_color%" />
2449 <placement x="%col1_x%" y="%row3_y%" />
2450 <font resource="font" color="%button_text_color%" />
2451 <text>Time Zone</text>
2452 <image resource="main_button" />
2453 <action function="page">timezone</action>
2454 </object>
2455
2456 <object type="button">
2457 <highlight color="%highlight_color%" />
2458 <placement x="%col2_x%" y="%row3_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>Screen</text>
2461 <image resource="main_button" />
2462 <action function="page">screen</action>
2463 </object>
2464
2465 <object type="button">
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002466 <highlight color="%highlight_color%" />
2467 <placement x="%col2_x%" y="%row4_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Vibration Duration</text>
2470 <image resource="main_button" />
2471 <action function="page">Vibrate</action>
2472 </object>
2473
2474 <object type="button">
2475 <placement x="%col_x%" y="%row4_y%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002476 <font resource="font" color="%button_text_color%" />
2477 <text>Restore Defaults</text>
2478 <image resource="main_button" />
2479 <action function="restoredefaultsettings"></action>
2480 </object>
2481
2482 <object type="action">
2483 <touch key="home" />
2484 <action function="page">main</action>
2485 </object>
2486
2487 <object type="action">
2488 <touch key="back" />
2489 <action function="page">main</action>
2490 </object>
2491
2492 <object type="template" name="footer" />
2493 </page>
2494
2495 <page name="timezone">
2496 <object type="template" name="header" />
2497
2498 <object type="listbox">
2499 <highlight color="%fileselector_highlight_color%" />
2500 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2501 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2502 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2503 <text>Select Time Zone:</text>
2504 <icon selected="radio_true" unselected="radio_false" />
2505 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2506 <background color="%listbox_background%" />
2507 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2508 <data name="tw_time_zone_guisel" />
2509 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2510 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2511 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2512 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2513 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2514 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2515 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2516 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2517 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2518 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2519 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2520 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2521 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2522 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2523 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2524 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2525 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2526 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2527 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2528 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2529 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2530 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2531 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2532 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2533 </object>
2534
2535 <object type="checkbox">
2536 <placement x="%col1_x%" y="%row_dst_text_y%" />
2537 <font resource="font" color="%text_color%" />
2538 <text>Do you use daylight savings time (DST)?</text>
2539 <data variable="tw_time_zone_guidst" />
2540 <image checked="checkbox_true" unchecked="checkbox_false" />
2541 </object>
2542
2543 <object type="text" color="%text_color%">
2544 <font resource="font" />
2545 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2546 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2547 </object>
2548
2549 <object type="button">
2550 <highlight color="%highlight_color%" />
2551 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>None</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=0</action>
2556 </object>
2557
2558 <object type="button">
2559 <highlight color="%highlight_color%" />
2560 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>15</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=15</action>
2565 </object>
2566
2567 <object type="button">
2568 <highlight color="%highlight_color%" />
2569 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>30</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=30</action>
2574 </object>
2575
2576 <object type="button">
2577 <highlight color="%highlight_color%" />
2578 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
2579 <font resource="font" color="%button_text_color%" />
2580 <text>45</text>
2581 <image resource="medium_button" />
2582 <action function="set">tw_time_zone_guioffset=45</action>
2583 </object>
2584
2585 <object type="button">
2586 <highlight color="%highlight_color%" />
2587 <placement x="%col_center_x%" y="%tz_set_y%" />
2588 <font resource="font" color="%button_text_color%" />
2589 <text>Set Time Zone</text>
2590 <image resource="main_button" />
2591 <action function="setguitimezone"></action>
2592 </object>
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2597 <text>Current Time Zone: %tw_time_zone%</text>
2598 </object>
2599
2600 <object type="action">
2601 <touch key="home" />
2602 <action function="page">main</action>
2603 </object>
2604
2605 <object type="action">
2606 <touch key="back" />
2607 <action function="page">settings</action>
2608 </object>
2609
2610 <object type="template" name="footer" />
2611 </page>
2612
2613 <page name="screen">
2614 <object type="template" name="header" />
2615
2616 <object type="text" color="%text_color%">
2617 <font resource="font" />
2618 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2619 <text>Screen Settings</text>
2620 </object>
2621
Dees_Troya13d74f2013-03-24 08:54:55 -05002622 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <placement x="%col1_x%" y="%row2_text_y%" />
2624 <font resource="font" color="%text_color%" />
2625 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002626 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <text>Enable screen timeout.</text>
2628 <image resource="checkbox_false" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002629 <action function="set">tw_screen_timeout_secs=60</action>
2630 </object>
2631
2632 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <placement x="%col1_x%" y="%row2_text_y%" />
2634 <font resource="font" color="%text_color%" />
2635 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002636 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002637 <text>Enable screen timeout.</text>
2638 <image resource="checkbox_true" />
2639 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002640 </object>
2641
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <object type="slidervalue">
2643 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002644 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002645 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2646 <font resource="font" color="%text_color%" />
2647 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2648 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2649 <text>Screen timeout in seconds:</text>
2650 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002651 </object>
2652
Vojtech Bocek85932342013-04-01 22:11:33 +02002653 <object type="slidervalue">
Dees_Troya13d74f2013-03-24 08:54:55 -05002654 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002655 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2656 <font resource="font" color="%text_color%" />
2657 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2658 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2659 <text>Brightness: %tw_brightness_pct%%</text>
2660 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002661 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002662 <action function="set">tw_brightness=%tw_brightness_max%</action>
2663 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2664 <action function="compute">tw_brightness/100</action>
2665 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002666 </actions>
2667 </object>
2668
2669 <object type="action">
2670 <touch key="home" />
2671 <action function="page">main</action>
2672 </object>
2673
2674 <object type="action">
2675 <touch key="back" />
2676 <action function="page">settings</action>
2677 </object>
2678
2679 <object type="template" name="footer" />
2680 </page>
2681
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002682 <page name="Vibrate">
2683 <object type="template" name="header" />
2684
2685 <object type="text" color="%text_color%">
2686 <font resource="font" />
2687 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2688 <text>Vibration Settings :</text>
2689 </object>
2690
2691 <object type="slidervalue">
2692 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2693 <font resource="font" color="%text_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002694 <text>Button Vibration:</text>
2695 <data variable="tw_button_vibrate" min="0" max="300" />
2696 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2697 </object>
2698
2699 <object type="slidervalue">
2700 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2701 <font resource="font" color="%text_color%" />
2702 <text>Keyboard Vibration:</text>
2703 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2704 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2705 </object>
2706
2707 <object type="slidervalue">
2708 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2709 <font resource="font" color="%text_color%" />
2710 <text>Action Vibration:</text>
2711 <data variable="tw_action_vibrate" min="0" max="500" />
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002712 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2713 </object>
2714
2715 <object type="action">
2716 <touch key="home" />
2717 <action function="page">main</action>
2718 </object>
2719
2720 <object type="action">
2721 <touch key="back" />
2722 <action function="page">settings</action>
2723 </object>
2724
2725 <object type="template" name="footer" />
2726 </page>
2727
Dees_Troya13d74f2013-03-24 08:54:55 -05002728 <page name="advanced">
2729 <object type="template" name="header" />
2730
2731 <object type="text" color="%text_color%">
2732 <font resource="font" />
2733 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2734 <text>Advanced</text>
2735 </object>
2736
2737 <object type="button">
2738 <highlight color="%highlight_color%" />
2739 <placement x="%col1_x%" y="%row1_y%" />
2740 <font resource="font" color="%button_text_color%" />
2741 <text>Copy Log to SD</text>
2742 <image resource="main_button" />
2743 <actions>
2744 <action function="set">tw_back=advanced</action>
2745 <action function="set">tw_action=copylog</action>
2746 <action function="set">tw_text1=Copy Log to SD Card?</action>
2747 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2748 <action function="set">tw_complete_text1=Log Copy Complete</action>
2749 <action function="set">tw_slider_text=Swipe to Confirm</action>
2750 <action function="page">confirm_action</action>
2751 </actions>
2752 </object>
2753
2754 <object type="button">
2755 <highlight color="%highlight_color%" />
2756 <placement x="%col2_x%" y="%row1_y%" />
2757 <font resource="font" color="%button_text_color%" />
2758 <text>Fix Permissions</text>
2759 <image resource="main_button" />
2760 <actions>
2761 <action function="set">tw_back=advanced</action>
2762 <action function="set">tw_action=fixpermissions</action>
2763 <action function="set">tw_text1=Fix Permissions?</action>
2764 <action function="set">tw_action_text1=Fixing Permissions...</action>
2765 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2766 <action function="set">tw_slider_text=Swipe to Confirm</action>
2767 <action function="set">tw_show_reboot=1</action>
2768 <action function="page">confirm_action</action>
2769 </actions>
2770 </object>
2771
2772 <object type="button">
2773 <highlight color="%highlight_color%" />
2774 <condition var1="tw_allow_partition_sdcard" var2="1" />
2775 <placement x="%col1_x%" y="%row2_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text>Partition SD Card</text>
2778 <image resource="main_button" />
2779 <action function="page">partsdcard</action>
2780 </object>
2781
2782 <object type="button">
2783 <highlight color="%highlight_color%" />
2784 <placement x="%col2_x%" y="%row2_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>File Manager</text>
2787 <image resource="main_button" />
2788 <action function="page">filemanagerlist</action>
2789 </object>
2790
2791 <object type="button">
2792 <highlight color="%highlight_color%" />
2793 <placement x="%col1_x%" y="%row3_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>Terminal Command</text>
2796 <image resource="main_button" />
2797 <action function="page">terminalfolder</action>
2798 </object>
2799
2800 <object type="button">
2801 <highlight color="%highlight_color%" />
2802 <placement x="%col2_x%" y="%row3_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text>Reload Theme</text>
2805 <image resource="main_button" />
2806 <action function="reload"></action>
2807 </object>
2808
2809 <object type="button">
2810 <highlight color="%highlight_color%" />
2811 <placement x="%col1_x%" y="%row4_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>ADB Sideload</text>
2814 <image resource="main_button" />
2815 <action function="page">sideload</action>
2816 </object>
2817
2818 <object type="button">
2819 <highlight color="%highlight_color%" />
2820 <condition var1="tw_show_dumlock" var2="1" />
2821 <placement x="%col2_x%" y="%row4_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>HTC Dumlock</text>
2824 <image resource="main_button" />
2825 <action function="page">htcdumlock</action>
2826 </object>
2827
2828 <object type="button">
2829 <highlight color="%highlight_color%" />
2830 <condition var1="tw_has_injecttwrp" var2="1" />
2831 <placement x="%col2_x%" y="%row4_y%" />
2832 <font resource="font" color="%button_text_color%" />
2833 <text>Re-Inject TWRP</text>
2834 <image resource="main_button" />
2835 <actions>
2836 <action function="set">tw_back=advanced</action>
2837 <action function="set">tw_action=reinjecttwrp</action>
2838 <action function="set">tw_text1=Re-Inject TWRP?</action>
2839 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2840 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2841 <action function="set">tw_slider_text=Swipe to Confirm</action>
2842 <action function="page">confirm_action</action>
2843 </actions>
2844 </object>
2845
2846 <object type="action">
2847 <touch key="home" />
2848 <action function="page">main</action>
2849 </object>
2850
2851 <object type="action">
2852 <touch key="back" />
2853 <action function="page">main</action>
2854 </object>
2855
2856 <object type="template" name="footer" />
2857 </page>
2858
2859 <page name="partsdcard">
2860 <object type="template" name="header" />
2861
2862 <object type="text" color="%text_color%">
2863 <font resource="font" />
2864 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2865 <text>Partition SD Card</text>
2866 </object>
2867
2868 <object type="button">
2869 <highlight color="%highlight_color%" />
2870 <placement x="%col1_x%" y="%row1_y%" />
2871 <font resource="font" color="%button_text_color%" />
2872 <text></text>
2873 <image resource="minus_button" />
2874 <action function="addsubtract">tw_sdext_size-128</action>
2875 </object>
2876
2877 <object type="button">
2878 <highlight color="%highlight_color%" />
2879 <placement x="%sd_plus_x%" y="%row1_y%" />
2880 <font resource="font" color="%button_text_color%" />
2881 <text></text>
2882 <image resource="plus_button" />
2883 <action function="addsubtract">tw_sdext_size+128</action>
2884 </object>
2885
2886 <object type="text" color="%text_color%">
2887 <font resource="font" />
2888 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2889 <text>EXT Size: %tw_sdext_size%</text>
2890 </object>
2891
2892 <object type="button">
2893 <highlight color="%highlight_color%" />
2894 <placement x="%col1_x%" y="%sdswap_button_y%" />
2895 <font resource="font" color="%button_text_color%" />
2896 <text></text>
2897 <image resource="minus_button" />
2898 <action function="addsubtract">tw_swap_size-32</action>
2899 </object>
2900
2901 <object type="button">
2902 <highlight color="%highlight_color%" />
2903 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text></text>
2906 <image resource="plus_button" />
2907 <action function="addsubtract">tw_swap_size+32</action>
2908 </object>
2909
2910 <object type="text" color="%text_color%">
2911 <font resource="font" />
2912 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2913 <text>Swap Size: %tw_swap_size%</text>
2914 </object>
2915
2916 <object type="text" color="%text_color%">
2917 <font resource="font" />
2918 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2919 <text>File system: %tw_sdpart_file_system%</text>
2920 </object>
2921
2922 <object type="button">
2923 <highlight color="%highlight_color%" />
2924 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text>EXT3</text>
2927 <image resource="main_button" />
2928 <action function="set">tw_sdpart_file_system=ext3</action>
2929 </object>
2930
2931 <object type="button">
2932 <highlight color="%highlight_color%" />
2933 <condition var1="tw_sdext_disable_ext4" var2="0" />
2934 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2935 <font resource="font" color="%button_text_color%" />
2936 <text>EXT4</text>
2937 <image resource="main_button" />
2938 <action function="set">tw_sdpart_file_system=ext4</action>
2939 </object>
2940
2941 <object type="text" color="%text_color%">
2942 <font resource="font" />
2943 <placement x="%col1_x%" y="%row12_text_y%" />
2944 <text>You will lose all files on your SD card!</text>
2945 </object>
2946
2947 <object type="text" color="%text_color%">
2948 <font resource="font" />
2949 <placement x="%col1_x%" y="%row13_text_y%" />
2950 <text>This action cannot be undone!</text>
2951 </object>
2952
2953 <object type="slider">
2954 <placement x="%slider_x%" y="%slider_y%" />
2955 <resource base="slider" used="slider-used" touch="slider-touch" />
2956 <action function="page">partsdcardaction</action>
2957 <actions>
2958 <action function="set">tw_back=partsdcard</action>
2959 <action function="set">tw_action=partitionsd</action>
2960 <action function="set">tw_has_action2=1</action>
2961 <action function="set">tw_action2=set</action>
2962 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2963 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2964 <action function="set">tw_action_text2=This will take a few minutes.</action>
2965 <action function="set">tw_complete_text1=Partitioning Complete</action>
2966 <action function="page">action_page</action>
2967 </actions>
2968 </object>
2969
2970 <object type="text" color="%text_color%">
2971 <font resource="font" />
2972 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2973 <text>Swipe to Partition</text>
2974 </object>
2975
2976 <object type="action">
2977 <touch key="home" />
2978 <action function="page">main</action>
2979 </object>
2980
2981 <object type="action">
2982 <touch key="back" />
2983 <action function="page">advanced</action>
2984 </object>
2985
2986 <object type="template" name="footer" />
2987 </page>
2988
2989 <page name="htcdumlock">
2990 <object type="template" name="header" />
2991
2992 <object type="text" color="%text_color%">
2993 <font resource="font" />
2994 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2995 <text>HTC Dumlock</text>
2996 </object>
2997
2998 <object type="button">
2999 <highlight color="%highlight_color%" />
3000 <condition var1="tw_show_dumlock" var2="1" />
3001 <placement x="%col1_x%" y="%row1_y%" />
3002 <font resource="font" color="%button_text_color%" />
3003 <text>Restore Original Boot</text>
3004 <image resource="main_button" />
3005 <actions>
3006 <action function="set">tw_back=htcdumlock</action>
3007 <action function="set">tw_action=htcdumlockrestoreboot</action>
3008 <action function="set">tw_text1=Restore original boot image?</action>
3009 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3010 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3011 <action function="set">tw_slider_text=Swipe to Confirm</action>
3012 <action function="page">confirm_action</action>
3013 </actions>
3014 </object>
3015
3016 <object type="button">
3017 <highlight color="%highlight_color%" />
3018 <condition var1="tw_show_dumlock" var2="1" />
3019 <placement x="%col2_x%" y="%row1_y%" />
3020 <font resource="font" color="%button_text_color%" />
3021 <text>Reflash Recovery</text>
3022 <image resource="main_button" />
3023 <actions>
3024 <action function="set">tw_back=htcdumlock</action>
3025 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3026 <action function="set">tw_text1=Reflash recovery to boot?</action>
3027 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3028 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3029 <action function="set">tw_slider_text=Swipe to Confirm</action>
3030 <action function="page">confirm_action</action>
3031 </actions>
3032 </object>
3033
3034 <object type="button">
3035 <highlight color="%highlight_color%" />
3036 <condition var1="tw_show_dumlock" var2="1" />
3037 <placement x="%col1_x%" y="%row2_y%" />
3038 <font resource="font" color="%button_text_color%" />
3039 <text>Install HTC Dumlock</text>
3040 <image resource="main_button" />
3041 <actions>
3042 <action function="set">tw_back=htcdumlock</action>
3043 <action function="set">tw_action=installhtcdumlock</action>
3044 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3045 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3046 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3047 <action function="set">tw_slider_text=Swipe to Confirm</action>
3048 <action function="page">confirm_action</action>
3049 </actions>
3050 </object>
3051
3052 <object type="action">
3053 <touch key="home" />
3054 <action function="page">main</action>
3055 </object>
3056
3057 <object type="action">
3058 <touch key="back" />
3059 <action function="page">advanced</action>
3060 </object>
3061
3062 <object type="template" name="footer" />
3063 </page>
3064
3065 <page name="lock">
3066 <background color="#000000A0" />
3067
3068 <object type="image">
3069 <image resource="unlock-icon" />
3070 <placement x="%lock_x%" y="%lock_y%" />
3071 </object>
3072
3073 <object type="slider">
3074 <placement x="%slider_x%" y="%slider_y%" />
3075 <resource base="slider" used="slider-used" touch="slider-touch" />
3076 <action function="overlay"></action>
3077 </object>
3078
3079 <object type="text" color="%text_color%">
3080 <font resource="font" />
3081 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3082 <text>Swipe to Unlock</text>
3083 </object>
3084 </page>
3085
3086 <page name="filemanagerlist">
3087 <object type="template" name="header" />
3088
3089 <object type="text" color="%text_color%">
3090 <font resource="font" />
3091 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3092 <text>File Manager: Select a File or Folder</text>
3093 </object>
3094
3095 <object type="fileselector">
3096 <highlight color="%fileselector_highlight_color%" />
3097 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3098 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3099 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3100 <text>%tw_file_location1%</text>
3101 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3102 <sort name="tw_gui_sort_order" />
3103 <icon folder="folder_icon" file="file_icon" />
3104 <background color="%fileselector_background%" />
3105 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3106 <folders="1" files="1" />
3107 <path name="tw_file_location1" default="/" />
3108 <data name="tw_filename1" />
3109 <selection name="tw_selection1" />
3110 </object>
3111
3112 <object type="template" name="sort_options" />
3113
3114 <object type="action">
3115 <actions>
3116 <action function="set">tw_fm_type=File</action>
3117 <action function="set">tw_fm_isfolder=0</action>
3118 </actions>
3119 </object>
3120
3121 <object type="action">
3122 <touch key="home" />
3123 <action function="page">main</action>
3124 </object>
3125
3126 <object type="action">
3127 <touch key="back" />
3128 <action function="page">advanced</action>
3129 </object>
3130
3131 <object type="action">
3132 <condition var1="tw_filename1" op="modified" />
3133 <actions>
3134 <action function="page">filemanageroptions</action>
3135 </actions>
3136 </object>
3137
3138 <object type="button">
3139 <highlight color="%highlight_color%" />
3140 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3141 <font resource="font" color="%button_text_color%" />
3142 <text>Select</text>
3143 <image resource="medium_button" />
3144 <actions>
3145 <action function="set">tw_filename1=tw_file_location1</action>
3146 <action function="set">tw_fm_isfolder=1</action>
3147 <action function="set">tw_fm_type=Folder</action>
3148 <action function="page">filemanageroptions</action>
3149 </actions>
3150 </object>
3151
3152 <object type="template" name="footer" />
3153 </page>
3154
3155 <page name="filemanageroptions">
3156 <object type="template" name="header" />
3157
3158 <object type="text" color="%text_color%">
3159 <font resource="font" />
3160 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3161 <text>%tw_fm_type% Selected:</text>
3162 </object>
3163
3164 <object type="text" color="%text_color%">
3165 <font resource="font" />
3166 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3167 <text>%tw_filename1%</text>
3168 </object>
3169
3170 <object type="button">
3171 <highlight color="%highlight_color%" />
3172 <condition var1="tw_fm_isfolder" var2="0" />
3173 <placement x="%col1_x%" y="%row2_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Copy File</text>
3176 <image resource="main_button" />
3177 <actions>
3178 <action function="set">tw_filemanager_command=cp</action>
3179 <action function="set">tw_fm_text1=Copying</action>
3180 <action function="page">choosedestinationfolder</action>
3181 </actions>
3182 </object>
3183
3184 <object type="button">
3185 <highlight color="%highlight_color%" />
3186 <condition var1="tw_fm_isfolder" var2="1" />
3187 <placement x="%col1_x%" y="%row2_y%" />
3188 <font resource="font" color="%button_text_color%" />
3189 <text>Copy Folder</text>
3190 <image resource="main_button" />
3191 <actions>
3192 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3193 <action function="set">tw_fm_text1=Copying</action>
3194 <action function="page">choosedestinationfolder</action>
3195 </actions>
3196 </object>
3197
3198 <object type="button">
3199 <highlight color="%highlight_color%" />
3200 <placement x="%col2_x%" y="%row2_y%" />
3201 <font resource="font" color="%button_text_color%" />
3202 <text>Move</text>
3203 <image resource="main_button" />
3204 <actions>
3205 <action function="set">tw_filemanager_command=mv</action>
3206 <action function="set">tw_fm_text1=Moving</action>
3207 <action function="page">choosedestinationfolder</action>
3208 </actions>
3209 </object>
3210
3211 <object type="button">
3212 <highlight color="%highlight_color%" />
3213 <placement x="%col1_x%" y="%row3_y%" />
3214 <font resource="font" color="%button_text_color%" />
3215 <text>chmod 755</text>
3216 <image resource="main_button" />
3217 <actions>
3218 <action function="set">tw_filemanager_command=chmod 755</action>
3219 <action function="set">tw_fm_text1=chmod 755</action>
3220 <action function="set">tw_fm_text2=</action>
3221 <action function="set">tw_fm_text3=</action>
3222 <action function="set">tw_include_text3=0</action>
3223 <action function="set">tw_back=filemanageroptions</action>
3224 <action function="page">filemanagerconfirm</action>
3225 </actions>
3226 </object>
3227
3228 <object type="button">
3229 <highlight color="%highlight_color%" />
3230 <placement x="%col2_x%" y="%row3_y%" />
3231 <font resource="font" color="%button_text_color%" />
3232 <text>chmod</text>
3233 <image resource="main_button" />
3234 <actions>
3235 <action function="set">tw_filemanager_rename=0000</action>
3236 <action function="set">tw_fm_text2=</action>
3237 <action function="set">tw_fm_text3=</action>
3238 <action function="set">tw_include_text3=0</action>
3239 <action function="set">tw_back=filemanageroptions</action>
3240 <action function="page">filemanagerchmod</action>
3241 </actions>
3242 </object>
3243
3244 <object type="button">
3245 <highlight color="%highlight_color%" />
3246 <placement x="%col1_x%" y="%row4_y%" />
3247 <font resource="font" color="%button_text_color%" />
3248 <text>Delete</text>
3249 <image resource="main_button" />
3250 <actions>
3251 <action function="set">tw_filemanager_command=rm -rf</action>
3252 <action function="set">tw_fm_text1=Deleting</action>
3253 <action function="set">tw_fm_text2=</action>
3254 <action function="set">tw_fm_text3=</action>
3255 <action function="set">tw_include_text3=0</action>
3256 <action function="set">tw_back=filemanageroptions</action>
3257 <action function="page">filemanagerconfirm</action>
3258 </actions>
3259 </object>
3260
3261 <object type="button">
3262 <highlight color="%highlight_color%" />
3263 <condition var1="tw_fm_isfolder" var2="0" />
3264 <placement x="%col2_x%" y="%row4_y%" />
3265 <font resource="font" color="%button_text_color%" />
3266 <text>Rename File</text>
3267 <image resource="main_button" />
3268 <actions>
3269 <action function="set">tw_filemanager_rename=tw_selection1</action>
3270 <action function="set">tw_fm_text1=Renaming</action>
3271 <action function="set">tw_filemanager_command=mv</action>
3272 <action function="page">filemanagerrenamefile</action>
3273 </actions>
3274 </object>
3275
3276 <object type="button">
3277 <highlight color="%highlight_color%" />
3278 <condition var1="tw_fm_isfolder" var2="1" />
3279 <placement x="%col2_x%" y="%row4_y%" />
3280 <font resource="font" color="%button_text_color%" />
3281 <text>Rename Folder</text>
3282 <image resource="main_button" />
3283 <actions>
3284 <action function="set">tw_filemanager_rename=tw_selection1</action>
3285 <action function="set">tw_fm_text1=Renaming</action>
3286 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3287 <action function="page">filemanagerrenamefolder</action>
3288 </actions>
3289 </object>
3290
3291 <object type="action">
3292 <touch key="home" />
3293 <action function="page">main</action>
3294 </object>
3295
3296 <object type="action">
3297 <touch key="back" />
3298 <action function="page">filemanagerlist</action>
3299 </object>
3300
3301 <object type="template" name="footer" />
3302 </page>
3303
3304 <page name="choosedestinationfolder">
3305 <object type="template" name="header" />
3306
3307 <object type="text" color="%text_color%">
3308 <font resource="font" />
3309 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3310 <text>Browse to Destination Folder & Press Select</text>
3311 </object>
3312
3313 <object type="fileselector">
3314 <highlight color="%fileselector_highlight_color%" />
3315 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3316 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3317 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3318 <text>%tw_file_location2%</text>
3319 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3320 <sort name="tw_gui_sort_order" />
3321 <icon folder="folder_icon" file="file_icon" />
3322 <background color="%fileselector_background%" />
3323 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3324 <filter folders="1" files="0" />
3325 <path name="tw_file_location2" default="/" />
3326 <data name="tw_filename2" />
3327 <selection name="tw_selection2" />
3328 </object>
3329
3330 <object type="template" name="sort_options" />
3331
3332 <object type="action">
3333 <touch key="home" />
3334 <action function="page">main</action>
3335 </object>
3336
3337 <object type="action">
3338 <touch key="back" />
3339 <action function="page">filemanageroptions</action>
3340 </object>
3341
3342 <object type="button">
3343 <highlight color="%highlight_color%" />
3344 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3345 <font resource="font" color="%button_text_color%" />
3346 <text>Select</text>
3347 <image resource="medium_button" />
3348 <actions>
3349 <action function="set">tw_fm_text2=to</action>
3350 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3351 <action function="set">tw_include_text3=1</action>
3352 <action function="set">tw_back=filemanageroptions</action>
3353 <action function="page">filemanagerconfirm</action>
3354 </actions>
3355 </object>
3356
3357 <object type="template" name="footer" />
3358 </page>
3359
3360 <page name="filemanagerrenamefile">
3361 <object type="template" name="header" />
3362
3363 <object type="text" color="%text_color%">
3364 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3365 <font resource="font" />
3366 <text>Please Enter a New %tw_fm_type% Name</text>
3367 </object>
3368
3369 <object type="input">
3370 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3371 <background color="%input_background_color%" />
3372 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3373 <font resource="font" color="%text_color%" />
3374 <text>%tw_filemanager_rename%</text>
3375 <data name="tw_filemanager_rename" />
3376 <restrict minlen="1" maxlen="128" />
3377 <actions>
3378 <action function="set">tw_fm_text2=to</action>
3379 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3380 <action function="set">tw_include_text3=1</action>
3381 <action function="set">tw_back=filemanageroptions</action>
3382 <action function="page">filemanagerconfirm</action>
3383 </actions>
3384 </object>
3385
3386 <object type="button">
3387 <highlight color="%highlight_color%" />
3388 <placement x="%col_center_x%" y="%row2_y%" />
3389 <font resource="font" color="%button_text_color%" />
3390 <text>Cancel</text>
3391 <image resource="main_button" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="keyboardtemplate" />
3396
3397 <object type="action">
3398 <touch key="home" />
3399 <action function="page">main</action>
3400 </object>
3401
3402 <object type="action">
3403 <touch key="back" />
3404 <action function="page">filemanageroptions</action>
3405 </object>
3406
3407 <object type="template" name="footer" />
3408 </page>
3409
3410 <page name="filemanagerrenamefolder">
3411 <object type="template" name="header" />
3412
3413 <object type="text" color="%text_color%">
3414 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3415 <font resource="font" />
3416 <text>Please Enter a New %tw_fm_type% Name</text>
3417 </object>
3418
3419 <object type="input">
3420 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3421 <background color="%input_background_color%" />
3422 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3423 <font resource="font" color="%text_color%" />
3424 <text>%tw_filemanager_rename%</text>
3425 <data name="tw_filemanager_rename" />
3426 <restrict minlen="1" maxlen="128" />
3427 <actions>
3428 <action function="set">tw_fm_text2=to</action>
3429 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3430 <action function="set">tw_include_text3=1</action>
3431 <action function="set">tw_back=filemanageroptions</action>
3432 <action function="page">filemanagerconfirm</action>
3433 </actions>
3434 </object>
3435
3436 <object type="button">
3437 <highlight color="%highlight_color%" />
3438 <placement x="%col_center_x%" y="%row2_y%" />
3439 <font resource="font" color="%button_text_color%" />
3440 <text>Cancel</text>
3441 <image resource="main_button" />
3442 <action function="page">filemanageroptions</action>
3443 </object>
3444
3445 <object type="template" name="keyboardtemplate" />
3446
3447 <object type="action">
3448 <touch key="home" />
3449 <action function="page">main</action>
3450 </object>
3451
3452 <object type="action">
3453 <touch key="back" />
3454 <action function="page">filemanageroptions</action>
3455 </object>
3456
3457 <object type="template" name="footer" />
3458 </page>
3459
3460 <page name="filemanagerchmod">
3461 <object type="template" name="header" />
3462
3463 <object type="text" color="%text_color%">
3464 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3465 <font resource="font" />
3466 <text>Please Enter New Permissions</text>
3467 </object>
3468
3469 <object type="input">
3470 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3471 <background color="%input_background_color%" />
3472 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3473 <font resource="font" color="%text_color%" />
3474 <text>%tw_filemanager_rename%</text>
3475 <data name="tw_filemanager_rename" />
3476 <restrict minlen="3" maxlen="4" allow="0123456789" />
3477 <actions>
3478 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3479 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3480 <action function="set">tw_back=filemanageroptions</action>
3481 <action function="page">filemanagerconfirm</action>
3482 </actions>
3483 </object>
3484
3485 <object type="button">
3486 <highlight color="%highlight_color%" />
3487 <placement x="%col_center_x%" y="%row2_y%" />
3488 <font resource="font" color="%button_text_color%" />
3489 <text>Cancel</text>
3490 <image resource="main_button" />
3491 <action function="page">filemanageroptions</action>
3492 </object>
3493
3494 <object type="template" name="keyboardtemplate" />
3495
3496 <object type="action">
3497 <touch key="home" />
3498 <action function="page">main</action>
3499 </object>
3500
3501 <object type="action">
3502 <touch key="back" />
3503 <action function="page">filemanageroptions</action>
3504 </object>
3505
3506 <object type="template" name="footer" />
3507 </page>
3508
3509 <page name="filemanagerconfirm">
3510 <object type="template" name="header" />
3511
3512 <object type="text" color="%text_color%">
3513 <font resource="font" />
3514 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3515 <text>%tw_fm_text1%</text>
3516 </object>
3517
3518 <object type="text" color="%text_color%">
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3521 <text>%tw_filename1%</text>
3522 </object>
3523
3524 <object type="text" color="%text_color%">
3525 <font resource="font" />
3526 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3527 <text>%tw_fm_text2%</text>
3528 </object>
3529
3530 <object type="text" color="%text_color%">
3531 <font resource="font" />
3532 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3533 <text>%tw_fm_text3%</text>
3534 </object>
3535
3536 <object type="text" color="%text_color%">
3537 <font resource="font" />
3538 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3539 <text>Press back button to cancel.</text>
3540 </object>
3541
3542 <object type="slider">
3543 <placement x="%slider_x%" y="%slider_y%" />
3544 <resource base="slider" used="slider-used" touch="slider-touch" />
3545 <action function="page">filemanageracction</action>
3546 </object>
3547
3548 <object type="text" color="%text_color%">
3549 <font resource="font" />
3550 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3551 <text>Swipe to Confirm</text>
3552 </object>
3553
3554 <object type="action">
3555 <touch key="back" />
3556 <action function="page">%tw_back%</action>
3557 </object>
3558
3559 <object type="action">
3560 <touch key="home" />
3561 <action function="page">main</action>
3562 </object>
3563
3564 <object type="template" name="footer" />
3565 </page>
3566
3567 <page name="filemanageracction">
3568 <object type="template" name="header" />
3569
3570 <object type="text" color="%text_color%">
3571
3572 <font resource="font" />
3573 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3574 <text>%tw_fm_text1%</text>
3575 </object>
3576
3577 <object type="template" name="action_page_console" />
3578
3579 <object type="template" name="progress_bar" />
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" var2="0" />
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_back=filemanagerlist</action>
3588 <action function="set">tw_complete_text1=File Operation Complete</action>
3589 <action function="page">action_complete</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <conditions>
3595 <condition var1="tw_operation_state" var2="1" />
3596 <condition var1="tw_operation_status" op="!=" var2="0" />
3597 </conditions>
3598 <actions>
3599 <action function="set">tw_complete_text1=File Operation Complete</action>
3600 <action function="page">action_complete</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <condition var1="tw_include_text3" var2="0" />
3606 <actions>
3607 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3608 </actions>
3609 </object>
3610
3611 <object type="action">
3612 <condition var1="tw_include_text3" var2="1" />
3613 <actions>
3614 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3615 </actions>
3616 </object>
3617 </page>
3618
3619 <page name="decrypt">
3620 <object type="template" name="header" />
3621
3622 <object type="text" color="%text_color%">
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3625 <text>Please Enter Your Password</text>
3626 </object>
3627
3628 <object type="input">
3629 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3630 <background color="%input_background_color%" />
3631 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3632 <font resource="font" color="%text_color%" />
3633 <text>%tw_crypto_display%</text>
3634 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3635 <restrict minlen="1" maxlen="254" />
3636 <actions>
3637 <action function="page">trydecrypt</action>
3638 </actions>
3639 </object>
3640
3641 <object type="text" color="%text_fail_color%">
3642 <condition var1="tw_password_fail" var2="1" />
3643 <font resource="font" />
3644 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3645 <text>Password Failed, Please Try Again</text>
3646 </object>
3647
3648 <object type="button">
3649 <highlight color="%highlight_color%" />
3650 <placement x="%col_center_x%" y="%row2_y%" />
3651 <font resource="font" color="%button_text_color%" />
3652 <text>Cancel</text>
3653 <image resource="main_button" />
3654 <actions>
3655 <action function="set">tw_page_done=1</action>
3656 <action function="page">main</action>
3657 </actions>
3658 </object>
3659
3660 <object type="template" name="keyboardtemplate" />
3661
3662 <object type="template" name="footer" />
3663 </page>
3664
3665 <page name="trydecrypt">
3666 <object type="template" name="header" />
3667
3668 <object type="text" color="%text_color%">
3669 <font resource="font" />
3670 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3671 <text>Trying Decryption with Your Password</text>
3672 </object>
3673
3674 <object type="template" name="action_page_console" />
3675
3676 <object type="template" name="progress_bar" />
3677
3678 <object type="action">
3679 <action function="decrypt"></action>
3680 </object>
3681
3682 <object type="action">
3683 <conditions>
3684 <condition var1="tw_operation_state" var2="1" />
3685 <condition var1="tw_operation_status" op="!=" var2="0" />
3686 </conditions>
3687 <actions>
3688 <action function="set">tw_password_fail=1</action>
3689 <action function="page">decrypt</action>
3690 </actions>
3691 </object>
3692
3693 <object type="action">
3694 <conditions>
3695 <condition var1="tw_operation_state" var2="1" />
3696 <condition var1="tw_operation_status" op="=" var2="0" />
3697 </conditions>
3698 <actions>
3699 <action function="set">tw_page_done=1</action>
3700 <action function="page">main</action>
3701 </actions>
3702 </object>
3703 </page>
3704
3705 <page name="terminalfolder">
3706 <object type="template" name="header" />
3707
3708 <object type="text" color="%text_color%">
3709 <font resource="font" />
3710 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3711 <text>Browse to Starting Folder</text>
3712 </object>
3713
3714 <object type="fileselector">
3715 <highlight color="%fileselector_highlight_color%" />
3716 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3717 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3718 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3719 <text>%tw_terminal_location%</text>
3720 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3721 <sort name="tw_gui_sort_order" />
3722 <icon folder="folder_icon" file="file_icon" />
3723 <background color="%fileselector_background%" />
3724 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3725 <filter folders="1" files="0" />
3726 <path name="tw_terminal_location" default="/" />
3727 <data name="tw_terminal" />
3728 <selection name="tw_terminal_selection" />
3729 </object>
3730
3731 <object type="template" name="sort_options" />
3732
3733 <object type="action">
3734 <touch key="home" />
3735 <action function="page">main</action>
3736 </object>
3737
3738 <object type="action">
3739 <touch key="back" />
3740 <action function="page">advanced</action>
3741 </object>
3742
3743 <object type="button">
3744 <highlight color="%highlight_color%" />
3745 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3746 <font resource="font" color="%button_text_color%" />
3747 <text>Select</text>
3748 <image resource="medium_button" />
3749 <actions>
3750 <action function="page">terminalcommand</action>
3751 </actions>
3752 </object>
3753
3754 <object type="template" name="footer" />
3755 </page>
3756
3757 <page name="terminalcommand">
3758 <object type="template" name="header" />
3759
3760 <object type="console">
3761 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3762 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3763 <font resource="fixed" />
3764 </object>
3765
3766 <object type="text" color="%text_color%">
3767 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3768 <font resource="font" />
3769 <text>Starting Path: %tw_terminal_location%</text>
3770 </object>
3771
3772 <object type="input">
3773 <condition var1="tw_terminal_state" var2="0" />
3774 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3775 <background color="%input_background_color%" />
3776 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3777 <font resource="font" color="%text_color%" />
3778 <text>%tw_terminal_command%</text>
3779 <data name="tw_terminal_command" />
3780 <restrict minlen="1" />
3781 <action function="terminalcommand">%tw_terminal_command%</action>
3782 </object>
3783
3784 <object type="button">
3785 <highlight color="%highlight_color%" />
3786 <condition var1="tw_terminal_state" var2="1" />
3787 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3788 <font resource="font" color="%button_text_color%" />
3789 <text>KILL</text>
3790 <image resource="medium_button" />
3791 <action function="killterminal"></action>
3792 </object>
3793
3794 <object type="template" name="keyboardtemplate" />
3795
3796 <object type="action">
3797 <touch key="home" />
3798 <action function="page">main</action>
3799 </object>
3800
3801 <object type="action">
3802 <touch key="back" />
3803 <action function="page">terminalfolder</action>
3804 </object>
3805 </page>
3806
3807 <page name="sideload">
3808 <object type="template" name="header" />
3809
3810 <object type="text" color="%text_color%">
3811 <font resource="font" />
3812 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3813 <text>ADB Sideload</text>
3814 </object>
3815
3816 <object type="checkbox">
3817 <placement x="%col1_x%" y="%row2_text_y%" />
3818 <font resource="font" color="%text_color%" />
3819 <text>Wipe Dalvik Cache.</text>
3820 <data variable="tw_wipe_dalvik" />
3821 <image checked="checkbox_true" unchecked="checkbox_false" />
3822 </object>
3823
3824 <object type="checkbox">
3825 <placement x="%col1_x%" y="%row3_text_y%" />
3826 <font resource="font" color="%text_color%" />
3827 <text>Wipe Cache.</text>
3828 <data variable="tw_wipe_cache" />
3829 <image checked="checkbox_true" unchecked="checkbox_false" />
3830 </object>
3831
3832 <object type="slider">
3833 <placement x="%slider_x%" y="%slider_y%" />
3834 <resource base="slider" used="slider-used" touch="slider-touch" />
3835 <actions>
3836 <action function="set">tw_back=advanced</action>
3837 <action function="set">tw_action=adbsideload</action>
3838 <action function="set">tw_action_text1=ADB Sideload</action>
3839 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3840 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3841 <action function="set">tw_has_cancel=1</action>
3842 <action function="set">tw_show_reboot=1</action>
3843 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3844 <action function="page">action_page</action>
3845 </actions>
3846 </object>
3847
3848 <object type="text" color="%text_color%">
3849 <font resource="font" />
3850 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3851 <text>Swipe to Start Sideload</text>
3852 </object>
3853
3854 <object type="action">
3855 <touch key="home" />
3856 <action function="page">main</action>
3857 </object>
3858
3859 <object type="action">
3860 <touch key="back" />
3861 <action function="page">advanced</action>
3862 </object>
3863
3864 <object type="template" name="footer" />
3865 </page>
3866
3867 <page name="installsu">
3868 <object type="template" name="header" />
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3873 <text>Install SuperSU?</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3879 <text>Your device does not appear to be rooted.</text>
3880 </object>
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3885 <text>Install SuperSU now?</text>
3886 </object>
3887
3888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3891 <text>This will root your device.</text>
3892 </object>
3893
3894 <object type="button">
3895 <highlight color="%highlight_color%" />
3896 <placement x="%col_center_x%" y="%row3_y%" />
3897 <font resource="font" color="%button_text_color%" />
3898 <text>Do Not Install</text>
3899 <image resource="main_button" />
3900 <action function="set">tw_page_done=1</action>
3901 </object>
3902
3903 <object type="slider">
3904 <placement x="%slider_x%" y="%slider_y%" />
3905 <resource base="slider" used="slider-used" touch="slider-touch" />
3906 <actions>
3907 <action function="set">tw_action=installsu</action>
3908 <action function="set">tw_action_text1=Installing SuperSU</action>
3909 <action function="set">tw_action_text2=</action>
3910 <action function="page">singleaction_page</action>
3911 </actions>
3912 </object>
3913
3914 <object type="text" color="%text_color%">
3915 <font resource="font" />
3916 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3917 <text>Swipe to Install</text>
3918 </object>
3919 </page>
Dees_Troya13d74f2013-03-24 08:54:55 -05003920 </pages>
3921</recovery>