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