blob: 0f61faca770a57e097834712e0ea668e3586cd4a [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%" />
2687 <text>Vibration Value : </text>
2688 <data variable="tw_vibrate" min="0" max="300" />
2689 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2690 </object>
2691
2692 <object type="action">
2693 <touch key="home" />
2694 <action function="page">main</action>
2695 </object>
2696
2697 <object type="action">
2698 <touch key="back" />
2699 <action function="page">settings</action>
2700 </object>
2701
2702 <object type="template" name="footer" />
2703 </page>
2704
Dees_Troya13d74f2013-03-24 08:54:55 -05002705 <page name="advanced">
2706 <object type="template" name="header" />
2707
2708 <object type="text" color="%text_color%">
2709 <font resource="font" />
2710 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2711 <text>Advanced</text>
2712 </object>
2713
2714 <object type="button">
2715 <highlight color="%highlight_color%" />
2716 <placement x="%col1_x%" y="%row1_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>Copy Log to SD</text>
2719 <image resource="main_button" />
2720 <actions>
2721 <action function="set">tw_back=advanced</action>
2722 <action function="set">tw_action=copylog</action>
2723 <action function="set">tw_text1=Copy Log to SD Card?</action>
2724 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2725 <action function="set">tw_complete_text1=Log Copy Complete</action>
2726 <action function="set">tw_slider_text=Swipe to Confirm</action>
2727 <action function="page">confirm_action</action>
2728 </actions>
2729 </object>
2730
2731 <object type="button">
2732 <highlight color="%highlight_color%" />
2733 <placement x="%col2_x%" y="%row1_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>Fix Permissions</text>
2736 <image resource="main_button" />
2737 <actions>
2738 <action function="set">tw_back=advanced</action>
2739 <action function="set">tw_action=fixpermissions</action>
2740 <action function="set">tw_text1=Fix Permissions?</action>
2741 <action function="set">tw_action_text1=Fixing Permissions...</action>
2742 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2743 <action function="set">tw_slider_text=Swipe to Confirm</action>
2744 <action function="set">tw_show_reboot=1</action>
2745 <action function="page">confirm_action</action>
2746 </actions>
2747 </object>
2748
2749 <object type="button">
2750 <highlight color="%highlight_color%" />
2751 <condition var1="tw_allow_partition_sdcard" var2="1" />
2752 <placement x="%col1_x%" y="%row2_y%" />
2753 <font resource="font" color="%button_text_color%" />
2754 <text>Partition SD Card</text>
2755 <image resource="main_button" />
2756 <action function="page">partsdcard</action>
2757 </object>
2758
2759 <object type="button">
2760 <highlight color="%highlight_color%" />
2761 <placement x="%col2_x%" y="%row2_y%" />
2762 <font resource="font" color="%button_text_color%" />
2763 <text>File Manager</text>
2764 <image resource="main_button" />
2765 <action function="page">filemanagerlist</action>
2766 </object>
2767
2768 <object type="button">
2769 <highlight color="%highlight_color%" />
2770 <placement x="%col1_x%" y="%row3_y%" />
2771 <font resource="font" color="%button_text_color%" />
2772 <text>Terminal Command</text>
2773 <image resource="main_button" />
2774 <action function="page">terminalfolder</action>
2775 </object>
2776
2777 <object type="button">
2778 <highlight color="%highlight_color%" />
2779 <placement x="%col2_x%" y="%row3_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text>Reload Theme</text>
2782 <image resource="main_button" />
2783 <action function="reload"></action>
2784 </object>
2785
2786 <object type="button">
2787 <highlight color="%highlight_color%" />
2788 <placement x="%col1_x%" y="%row4_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>ADB Sideload</text>
2791 <image resource="main_button" />
2792 <action function="page">sideload</action>
2793 </object>
2794
2795 <object type="button">
2796 <highlight color="%highlight_color%" />
2797 <condition var1="tw_show_dumlock" var2="1" />
2798 <placement x="%col2_x%" y="%row4_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>HTC Dumlock</text>
2801 <image resource="main_button" />
2802 <action function="page">htcdumlock</action>
2803 </object>
2804
2805 <object type="button">
2806 <highlight color="%highlight_color%" />
2807 <condition var1="tw_has_injecttwrp" var2="1" />
2808 <placement x="%col2_x%" y="%row4_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>Re-Inject TWRP</text>
2811 <image resource="main_button" />
2812 <actions>
2813 <action function="set">tw_back=advanced</action>
2814 <action function="set">tw_action=reinjecttwrp</action>
2815 <action function="set">tw_text1=Re-Inject TWRP?</action>
2816 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2817 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2818 <action function="set">tw_slider_text=Swipe to Confirm</action>
2819 <action function="page">confirm_action</action>
2820 </actions>
2821 </object>
2822
2823 <object type="action">
2824 <touch key="home" />
2825 <action function="page">main</action>
2826 </object>
2827
2828 <object type="action">
2829 <touch key="back" />
2830 <action function="page">main</action>
2831 </object>
2832
2833 <object type="template" name="footer" />
2834 </page>
2835
2836 <page name="partsdcard">
2837 <object type="template" name="header" />
2838
2839 <object type="text" color="%text_color%">
2840 <font resource="font" />
2841 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2842 <text>Partition SD Card</text>
2843 </object>
2844
2845 <object type="button">
2846 <highlight color="%highlight_color%" />
2847 <placement x="%col1_x%" y="%row1_y%" />
2848 <font resource="font" color="%button_text_color%" />
2849 <text></text>
2850 <image resource="minus_button" />
2851 <action function="addsubtract">tw_sdext_size-128</action>
2852 </object>
2853
2854 <object type="button">
2855 <highlight color="%highlight_color%" />
2856 <placement x="%sd_plus_x%" y="%row1_y%" />
2857 <font resource="font" color="%button_text_color%" />
2858 <text></text>
2859 <image resource="plus_button" />
2860 <action function="addsubtract">tw_sdext_size+128</action>
2861 </object>
2862
2863 <object type="text" color="%text_color%">
2864 <font resource="font" />
2865 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2866 <text>EXT Size: %tw_sdext_size%</text>
2867 </object>
2868
2869 <object type="button">
2870 <highlight color="%highlight_color%" />
2871 <placement x="%col1_x%" y="%sdswap_button_y%" />
2872 <font resource="font" color="%button_text_color%" />
2873 <text></text>
2874 <image resource="minus_button" />
2875 <action function="addsubtract">tw_swap_size-32</action>
2876 </object>
2877
2878 <object type="button">
2879 <highlight color="%highlight_color%" />
2880 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2881 <font resource="font" color="%button_text_color%" />
2882 <text></text>
2883 <image resource="plus_button" />
2884 <action function="addsubtract">tw_swap_size+32</action>
2885 </object>
2886
2887 <object type="text" color="%text_color%">
2888 <font resource="font" />
2889 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2890 <text>Swap Size: %tw_swap_size%</text>
2891 </object>
2892
2893 <object type="text" color="%text_color%">
2894 <font resource="font" />
2895 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2896 <text>File system: %tw_sdpart_file_system%</text>
2897 </object>
2898
2899 <object type="button">
2900 <highlight color="%highlight_color%" />
2901 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2902 <font resource="font" color="%button_text_color%" />
2903 <text>EXT3</text>
2904 <image resource="main_button" />
2905 <action function="set">tw_sdpart_file_system=ext3</action>
2906 </object>
2907
2908 <object type="button">
2909 <highlight color="%highlight_color%" />
2910 <condition var1="tw_sdext_disable_ext4" var2="0" />
2911 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2912 <font resource="font" color="%button_text_color%" />
2913 <text>EXT4</text>
2914 <image resource="main_button" />
2915 <action function="set">tw_sdpart_file_system=ext4</action>
2916 </object>
2917
2918 <object type="text" color="%text_color%">
2919 <font resource="font" />
2920 <placement x="%col1_x%" y="%row12_text_y%" />
2921 <text>You will lose all files on your SD card!</text>
2922 </object>
2923
2924 <object type="text" color="%text_color%">
2925 <font resource="font" />
2926 <placement x="%col1_x%" y="%row13_text_y%" />
2927 <text>This action cannot be undone!</text>
2928 </object>
2929
2930 <object type="slider">
2931 <placement x="%slider_x%" y="%slider_y%" />
2932 <resource base="slider" used="slider-used" touch="slider-touch" />
2933 <action function="page">partsdcardaction</action>
2934 <actions>
2935 <action function="set">tw_back=partsdcard</action>
2936 <action function="set">tw_action=partitionsd</action>
2937 <action function="set">tw_has_action2=1</action>
2938 <action function="set">tw_action2=set</action>
2939 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2940 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2941 <action function="set">tw_action_text2=This will take a few minutes.</action>
2942 <action function="set">tw_complete_text1=Partitioning Complete</action>
2943 <action function="page">action_page</action>
2944 </actions>
2945 </object>
2946
2947 <object type="text" color="%text_color%">
2948 <font resource="font" />
2949 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2950 <text>Swipe to Partition</text>
2951 </object>
2952
2953 <object type="action">
2954 <touch key="home" />
2955 <action function="page">main</action>
2956 </object>
2957
2958 <object type="action">
2959 <touch key="back" />
2960 <action function="page">advanced</action>
2961 </object>
2962
2963 <object type="template" name="footer" />
2964 </page>
2965
2966 <page name="htcdumlock">
2967 <object type="template" name="header" />
2968
2969 <object type="text" color="%text_color%">
2970 <font resource="font" />
2971 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2972 <text>HTC Dumlock</text>
2973 </object>
2974
2975 <object type="button">
2976 <highlight color="%highlight_color%" />
2977 <condition var1="tw_show_dumlock" var2="1" />
2978 <placement x="%col1_x%" y="%row1_y%" />
2979 <font resource="font" color="%button_text_color%" />
2980 <text>Restore Original Boot</text>
2981 <image resource="main_button" />
2982 <actions>
2983 <action function="set">tw_back=htcdumlock</action>
2984 <action function="set">tw_action=htcdumlockrestoreboot</action>
2985 <action function="set">tw_text1=Restore original boot image?</action>
2986 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2987 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2988 <action function="set">tw_slider_text=Swipe to Confirm</action>
2989 <action function="page">confirm_action</action>
2990 </actions>
2991 </object>
2992
2993 <object type="button">
2994 <highlight color="%highlight_color%" />
2995 <condition var1="tw_show_dumlock" var2="1" />
2996 <placement x="%col2_x%" y="%row1_y%" />
2997 <font resource="font" color="%button_text_color%" />
2998 <text>Reflash Recovery</text>
2999 <image resource="main_button" />
3000 <actions>
3001 <action function="set">tw_back=htcdumlock</action>
3002 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3003 <action function="set">tw_text1=Reflash recovery to boot?</action>
3004 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3005 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3006 <action function="set">tw_slider_text=Swipe to Confirm</action>
3007 <action function="page">confirm_action</action>
3008 </actions>
3009 </object>
3010
3011 <object type="button">
3012 <highlight color="%highlight_color%" />
3013 <condition var1="tw_show_dumlock" var2="1" />
3014 <placement x="%col1_x%" y="%row2_y%" />
3015 <font resource="font" color="%button_text_color%" />
3016 <text>Install HTC Dumlock</text>
3017 <image resource="main_button" />
3018 <actions>
3019 <action function="set">tw_back=htcdumlock</action>
3020 <action function="set">tw_action=installhtcdumlock</action>
3021 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3022 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3023 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3024 <action function="set">tw_slider_text=Swipe to Confirm</action>
3025 <action function="page">confirm_action</action>
3026 </actions>
3027 </object>
3028
3029 <object type="action">
3030 <touch key="home" />
3031 <action function="page">main</action>
3032 </object>
3033
3034 <object type="action">
3035 <touch key="back" />
3036 <action function="page">advanced</action>
3037 </object>
3038
3039 <object type="template" name="footer" />
3040 </page>
3041
3042 <page name="lock">
3043 <background color="#000000A0" />
3044
3045 <object type="image">
3046 <image resource="unlock-icon" />
3047 <placement x="%lock_x%" y="%lock_y%" />
3048 </object>
3049
3050 <object type="slider">
3051 <placement x="%slider_x%" y="%slider_y%" />
3052 <resource base="slider" used="slider-used" touch="slider-touch" />
3053 <action function="overlay"></action>
3054 </object>
3055
3056 <object type="text" color="%text_color%">
3057 <font resource="font" />
3058 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3059 <text>Swipe to Unlock</text>
3060 </object>
3061 </page>
3062
3063 <page name="filemanagerlist">
3064 <object type="template" name="header" />
3065
3066 <object type="text" color="%text_color%">
3067 <font resource="font" />
3068 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3069 <text>File Manager: Select a File or Folder</text>
3070 </object>
3071
3072 <object type="fileselector">
3073 <highlight color="%fileselector_highlight_color%" />
3074 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3076 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3077 <text>%tw_file_location1%</text>
3078 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3079 <sort name="tw_gui_sort_order" />
3080 <icon folder="folder_icon" file="file_icon" />
3081 <background color="%fileselector_background%" />
3082 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3083 <folders="1" files="1" />
3084 <path name="tw_file_location1" default="/" />
3085 <data name="tw_filename1" />
3086 <selection name="tw_selection1" />
3087 </object>
3088
3089 <object type="template" name="sort_options" />
3090
3091 <object type="action">
3092 <actions>
3093 <action function="set">tw_fm_type=File</action>
3094 <action function="set">tw_fm_isfolder=0</action>
3095 </actions>
3096 </object>
3097
3098 <object type="action">
3099 <touch key="home" />
3100 <action function="page">main</action>
3101 </object>
3102
3103 <object type="action">
3104 <touch key="back" />
3105 <action function="page">advanced</action>
3106 </object>
3107
3108 <object type="action">
3109 <condition var1="tw_filename1" op="modified" />
3110 <actions>
3111 <action function="page">filemanageroptions</action>
3112 </actions>
3113 </object>
3114
3115 <object type="button">
3116 <highlight color="%highlight_color%" />
3117 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3118 <font resource="font" color="%button_text_color%" />
3119 <text>Select</text>
3120 <image resource="medium_button" />
3121 <actions>
3122 <action function="set">tw_filename1=tw_file_location1</action>
3123 <action function="set">tw_fm_isfolder=1</action>
3124 <action function="set">tw_fm_type=Folder</action>
3125 <action function="page">filemanageroptions</action>
3126 </actions>
3127 </object>
3128
3129 <object type="template" name="footer" />
3130 </page>
3131
3132 <page name="filemanageroptions">
3133 <object type="template" name="header" />
3134
3135 <object type="text" color="%text_color%">
3136 <font resource="font" />
3137 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3138 <text>%tw_fm_type% Selected:</text>
3139 </object>
3140
3141 <object type="text" color="%text_color%">
3142 <font resource="font" />
3143 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3144 <text>%tw_filename1%</text>
3145 </object>
3146
3147 <object type="button">
3148 <highlight color="%highlight_color%" />
3149 <condition var1="tw_fm_isfolder" var2="0" />
3150 <placement x="%col1_x%" y="%row2_y%" />
3151 <font resource="font" color="%button_text_color%" />
3152 <text>Copy File</text>
3153 <image resource="main_button" />
3154 <actions>
3155 <action function="set">tw_filemanager_command=cp</action>
3156 <action function="set">tw_fm_text1=Copying</action>
3157 <action function="page">choosedestinationfolder</action>
3158 </actions>
3159 </object>
3160
3161 <object type="button">
3162 <highlight color="%highlight_color%" />
3163 <condition var1="tw_fm_isfolder" var2="1" />
3164 <placement x="%col1_x%" y="%row2_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Copy Folder</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3170 <action function="set">tw_fm_text1=Copying</action>
3171 <action function="page">choosedestinationfolder</action>
3172 </actions>
3173 </object>
3174
3175 <object type="button">
3176 <highlight color="%highlight_color%" />
3177 <placement x="%col2_x%" y="%row2_y%" />
3178 <font resource="font" color="%button_text_color%" />
3179 <text>Move</text>
3180 <image resource="main_button" />
3181 <actions>
3182 <action function="set">tw_filemanager_command=mv</action>
3183 <action function="set">tw_fm_text1=Moving</action>
3184 <action function="page">choosedestinationfolder</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
3189 <highlight color="%highlight_color%" />
3190 <placement x="%col1_x%" y="%row3_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>chmod 755</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_command=chmod 755</action>
3196 <action function="set">tw_fm_text1=chmod 755</action>
3197 <action function="set">tw_fm_text2=</action>
3198 <action function="set">tw_fm_text3=</action>
3199 <action function="set">tw_include_text3=0</action>
3200 <action function="set">tw_back=filemanageroptions</action>
3201 <action function="page">filemanagerconfirm</action>
3202 </actions>
3203 </object>
3204
3205 <object type="button">
3206 <highlight color="%highlight_color%" />
3207 <placement x="%col2_x%" y="%row3_y%" />
3208 <font resource="font" color="%button_text_color%" />
3209 <text>chmod</text>
3210 <image resource="main_button" />
3211 <actions>
3212 <action function="set">tw_filemanager_rename=0000</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">filemanagerchmod</action>
3218 </actions>
3219 </object>
3220
3221 <object type="button">
3222 <highlight color="%highlight_color%" />
3223 <placement x="%col1_x%" y="%row4_y%" />
3224 <font resource="font" color="%button_text_color%" />
3225 <text>Delete</text>
3226 <image resource="main_button" />
3227 <actions>
3228 <action function="set">tw_filemanager_command=rm -rf</action>
3229 <action function="set">tw_fm_text1=Deleting</action>
3230 <action function="set">tw_fm_text2=</action>
3231 <action function="set">tw_fm_text3=</action>
3232 <action function="set">tw_include_text3=0</action>
3233 <action function="set">tw_back=filemanageroptions</action>
3234 <action function="page">filemanagerconfirm</action>
3235 </actions>
3236 </object>
3237
3238 <object type="button">
3239 <highlight color="%highlight_color%" />
3240 <condition var1="tw_fm_isfolder" var2="0" />
3241 <placement x="%col2_x%" y="%row4_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>Rename File</text>
3244 <image resource="main_button" />
3245 <actions>
3246 <action function="set">tw_filemanager_rename=tw_selection1</action>
3247 <action function="set">tw_fm_text1=Renaming</action>
3248 <action function="set">tw_filemanager_command=mv</action>
3249 <action function="page">filemanagerrenamefile</action>
3250 </actions>
3251 </object>
3252
3253 <object type="button">
3254 <highlight color="%highlight_color%" />
3255 <condition var1="tw_fm_isfolder" var2="1" />
3256 <placement x="%col2_x%" y="%row4_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text>Rename Folder</text>
3259 <image resource="main_button" />
3260 <actions>
3261 <action function="set">tw_filemanager_rename=tw_selection1</action>
3262 <action function="set">tw_fm_text1=Renaming</action>
3263 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3264 <action function="page">filemanagerrenamefolder</action>
3265 </actions>
3266 </object>
3267
3268 <object type="action">
3269 <touch key="home" />
3270 <action function="page">main</action>
3271 </object>
3272
3273 <object type="action">
3274 <touch key="back" />
3275 <action function="page">filemanagerlist</action>
3276 </object>
3277
3278 <object type="template" name="footer" />
3279 </page>
3280
3281 <page name="choosedestinationfolder">
3282 <object type="template" name="header" />
3283
3284 <object type="text" color="%text_color%">
3285 <font resource="font" />
3286 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3287 <text>Browse to Destination Folder & Press Select</text>
3288 </object>
3289
3290 <object type="fileselector">
3291 <highlight color="%fileselector_highlight_color%" />
3292 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3293 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3294 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3295 <text>%tw_file_location2%</text>
3296 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3297 <sort name="tw_gui_sort_order" />
3298 <icon folder="folder_icon" file="file_icon" />
3299 <background color="%fileselector_background%" />
3300 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3301 <filter folders="1" files="0" />
3302 <path name="tw_file_location2" default="/" />
3303 <data name="tw_filename2" />
3304 <selection name="tw_selection2" />
3305 </object>
3306
3307 <object type="template" name="sort_options" />
3308
3309 <object type="action">
3310 <touch key="home" />
3311 <action function="page">main</action>
3312 </object>
3313
3314 <object type="action">
3315 <touch key="back" />
3316 <action function="page">filemanageroptions</action>
3317 </object>
3318
3319 <object type="button">
3320 <highlight color="%highlight_color%" />
3321 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3322 <font resource="font" color="%button_text_color%" />
3323 <text>Select</text>
3324 <image resource="medium_button" />
3325 <actions>
3326 <action function="set">tw_fm_text2=to</action>
3327 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3328 <action function="set">tw_include_text3=1</action>
3329 <action function="set">tw_back=filemanageroptions</action>
3330 <action function="page">filemanagerconfirm</action>
3331 </actions>
3332 </object>
3333
3334 <object type="template" name="footer" />
3335 </page>
3336
3337 <page name="filemanagerrenamefile">
3338 <object type="template" name="header" />
3339
3340 <object type="text" color="%text_color%">
3341 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3342 <font resource="font" />
3343 <text>Please Enter a New %tw_fm_type% Name</text>
3344 </object>
3345
3346 <object type="input">
3347 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3348 <background color="%input_background_color%" />
3349 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3350 <font resource="font" color="%text_color%" />
3351 <text>%tw_filemanager_rename%</text>
3352 <data name="tw_filemanager_rename" />
3353 <restrict minlen="1" maxlen="128" />
3354 <actions>
3355 <action function="set">tw_fm_text2=to</action>
3356 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3357 <action function="set">tw_include_text3=1</action>
3358 <action function="set">tw_back=filemanageroptions</action>
3359 <action function="page">filemanagerconfirm</action>
3360 </actions>
3361 </object>
3362
3363 <object type="button">
3364 <highlight color="%highlight_color%" />
3365 <placement x="%col_center_x%" y="%row2_y%" />
3366 <font resource="font" color="%button_text_color%" />
3367 <text>Cancel</text>
3368 <image resource="main_button" />
3369 <action function="page">filemanageroptions</action>
3370 </object>
3371
3372 <object type="template" name="keyboardtemplate" />
3373
3374 <object type="action">
3375 <touch key="home" />
3376 <action function="page">main</action>
3377 </object>
3378
3379 <object type="action">
3380 <touch key="back" />
3381 <action function="page">filemanageroptions</action>
3382 </object>
3383
3384 <object type="template" name="footer" />
3385 </page>
3386
3387 <page name="filemanagerrenamefolder">
3388 <object type="template" name="header" />
3389
3390 <object type="text" color="%text_color%">
3391 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3392 <font resource="font" />
3393 <text>Please Enter a New %tw_fm_type% Name</text>
3394 </object>
3395
3396 <object type="input">
3397 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3398 <background color="%input_background_color%" />
3399 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3400 <font resource="font" color="%text_color%" />
3401 <text>%tw_filemanager_rename%</text>
3402 <data name="tw_filemanager_rename" />
3403 <restrict minlen="1" maxlen="128" />
3404 <actions>
3405 <action function="set">tw_fm_text2=to</action>
3406 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3407 <action function="set">tw_include_text3=1</action>
3408 <action function="set">tw_back=filemanageroptions</action>
3409 <action function="page">filemanagerconfirm</action>
3410 </actions>
3411 </object>
3412
3413 <object type="button">
3414 <highlight color="%highlight_color%" />
3415 <placement x="%col_center_x%" y="%row2_y%" />
3416 <font resource="font" color="%button_text_color%" />
3417 <text>Cancel</text>
3418 <image resource="main_button" />
3419 <action function="page">filemanageroptions</action>
3420 </object>
3421
3422 <object type="template" name="keyboardtemplate" />
3423
3424 <object type="action">
3425 <touch key="home" />
3426 <action function="page">main</action>
3427 </object>
3428
3429 <object type="action">
3430 <touch key="back" />
3431 <action function="page">filemanageroptions</action>
3432 </object>
3433
3434 <object type="template" name="footer" />
3435 </page>
3436
3437 <page name="filemanagerchmod">
3438 <object type="template" name="header" />
3439
3440 <object type="text" color="%text_color%">
3441 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3442 <font resource="font" />
3443 <text>Please Enter New Permissions</text>
3444 </object>
3445
3446 <object type="input">
3447 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3448 <background color="%input_background_color%" />
3449 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3450 <font resource="font" color="%text_color%" />
3451 <text>%tw_filemanager_rename%</text>
3452 <data name="tw_filemanager_rename" />
3453 <restrict minlen="3" maxlen="4" allow="0123456789" />
3454 <actions>
3455 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3456 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3457 <action function="set">tw_back=filemanageroptions</action>
3458 <action function="page">filemanagerconfirm</action>
3459 </actions>
3460 </object>
3461
3462 <object type="button">
3463 <highlight color="%highlight_color%" />
3464 <placement x="%col_center_x%" y="%row2_y%" />
3465 <font resource="font" color="%button_text_color%" />
3466 <text>Cancel</text>
3467 <image resource="main_button" />
3468 <action function="page">filemanageroptions</action>
3469 </object>
3470
3471 <object type="template" name="keyboardtemplate" />
3472
3473 <object type="action">
3474 <touch key="home" />
3475 <action function="page">main</action>
3476 </object>
3477
3478 <object type="action">
3479 <touch key="back" />
3480 <action function="page">filemanageroptions</action>
3481 </object>
3482
3483 <object type="template" name="footer" />
3484 </page>
3485
3486 <page name="filemanagerconfirm">
3487 <object type="template" name="header" />
3488
3489 <object type="text" color="%text_color%">
3490 <font resource="font" />
3491 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3492 <text>%tw_fm_text1%</text>
3493 </object>
3494
3495 <object type="text" color="%text_color%">
3496 <font resource="font" />
3497 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3498 <text>%tw_filename1%</text>
3499 </object>
3500
3501 <object type="text" color="%text_color%">
3502 <font resource="font" />
3503 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3504 <text>%tw_fm_text2%</text>
3505 </object>
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3510 <text>%tw_fm_text3%</text>
3511 </object>
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3516 <text>Press back button to cancel.</text>
3517 </object>
3518
3519 <object type="slider">
3520 <placement x="%slider_x%" y="%slider_y%" />
3521 <resource base="slider" used="slider-used" touch="slider-touch" />
3522 <action function="page">filemanageracction</action>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3528 <text>Swipe to Confirm</text>
3529 </object>
3530
3531 <object type="action">
3532 <touch key="back" />
3533 <action function="page">%tw_back%</action>
3534 </object>
3535
3536 <object type="action">
3537 <touch key="home" />
3538 <action function="page">main</action>
3539 </object>
3540
3541 <object type="template" name="footer" />
3542 </page>
3543
3544 <page name="filemanageracction">
3545 <object type="template" name="header" />
3546
3547 <object type="text" color="%text_color%">
3548
3549 <font resource="font" />
3550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3551 <text>%tw_fm_text1%</text>
3552 </object>
3553
3554 <object type="template" name="action_page_console" />
3555
3556 <object type="template" name="progress_bar" />
3557
3558 <object type="action">
3559 <conditions>
3560 <condition var1="tw_operation_state" var2="1" />
3561 <condition var1="tw_operation_status" var2="0" />
3562 </conditions>
3563 <actions>
3564 <action function="set">tw_back=filemanagerlist</action>
3565 <action function="set">tw_complete_text1=File Operation Complete</action>
3566 <action function="page">action_complete</action>
3567 </actions>
3568 </object>
3569
3570 <object type="action">
3571 <conditions>
3572 <condition var1="tw_operation_state" var2="1" />
3573 <condition var1="tw_operation_status" op="!=" var2="0" />
3574 </conditions>
3575 <actions>
3576 <action function="set">tw_complete_text1=File Operation Complete</action>
3577 <action function="page">action_complete</action>
3578 </actions>
3579 </object>
3580
3581 <object type="action">
3582 <condition var1="tw_include_text3" var2="0" />
3583 <actions>
3584 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3585 </actions>
3586 </object>
3587
3588 <object type="action">
3589 <condition var1="tw_include_text3" var2="1" />
3590 <actions>
3591 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3592 </actions>
3593 </object>
3594 </page>
3595
3596 <page name="decrypt">
3597 <object type="template" name="header" />
3598
3599 <object type="text" color="%text_color%">
3600 <font resource="font" />
3601 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3602 <text>Please Enter Your Password</text>
3603 </object>
3604
3605 <object type="input">
3606 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3607 <background color="%input_background_color%" />
3608 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3609 <font resource="font" color="%text_color%" />
3610 <text>%tw_crypto_display%</text>
3611 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3612 <restrict minlen="1" maxlen="254" />
3613 <actions>
3614 <action function="page">trydecrypt</action>
3615 </actions>
3616 </object>
3617
3618 <object type="text" color="%text_fail_color%">
3619 <condition var1="tw_password_fail" var2="1" />
3620 <font resource="font" />
3621 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3622 <text>Password Failed, Please Try Again</text>
3623 </object>
3624
3625 <object type="button">
3626 <highlight color="%highlight_color%" />
3627 <placement x="%col_center_x%" y="%row2_y%" />
3628 <font resource="font" color="%button_text_color%" />
3629 <text>Cancel</text>
3630 <image resource="main_button" />
3631 <actions>
3632 <action function="set">tw_page_done=1</action>
3633 <action function="page">main</action>
3634 </actions>
3635 </object>
3636
3637 <object type="template" name="keyboardtemplate" />
3638
3639 <object type="template" name="footer" />
3640 </page>
3641
3642 <page name="trydecrypt">
3643 <object type="template" name="header" />
3644
3645 <object type="text" color="%text_color%">
3646 <font resource="font" />
3647 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3648 <text>Trying Decryption with Your Password</text>
3649 </object>
3650
3651 <object type="template" name="action_page_console" />
3652
3653 <object type="template" name="progress_bar" />
3654
3655 <object type="action">
3656 <action function="decrypt"></action>
3657 </object>
3658
3659 <object type="action">
3660 <conditions>
3661 <condition var1="tw_operation_state" var2="1" />
3662 <condition var1="tw_operation_status" op="!=" var2="0" />
3663 </conditions>
3664 <actions>
3665 <action function="set">tw_password_fail=1</action>
3666 <action function="page">decrypt</action>
3667 </actions>
3668 </object>
3669
3670 <object type="action">
3671 <conditions>
3672 <condition var1="tw_operation_state" var2="1" />
3673 <condition var1="tw_operation_status" op="=" var2="0" />
3674 </conditions>
3675 <actions>
3676 <action function="set">tw_page_done=1</action>
3677 <action function="page">main</action>
3678 </actions>
3679 </object>
3680 </page>
3681
3682 <page name="terminalfolder">
3683 <object type="template" name="header" />
3684
3685 <object type="text" color="%text_color%">
3686 <font resource="font" />
3687 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3688 <text>Browse to Starting Folder</text>
3689 </object>
3690
3691 <object type="fileselector">
3692 <highlight color="%fileselector_highlight_color%" />
3693 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3694 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3695 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3696 <text>%tw_terminal_location%</text>
3697 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3698 <sort name="tw_gui_sort_order" />
3699 <icon folder="folder_icon" file="file_icon" />
3700 <background color="%fileselector_background%" />
3701 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3702 <filter folders="1" files="0" />
3703 <path name="tw_terminal_location" default="/" />
3704 <data name="tw_terminal" />
3705 <selection name="tw_terminal_selection" />
3706 </object>
3707
3708 <object type="template" name="sort_options" />
3709
3710 <object type="action">
3711 <touch key="home" />
3712 <action function="page">main</action>
3713 </object>
3714
3715 <object type="action">
3716 <touch key="back" />
3717 <action function="page">advanced</action>
3718 </object>
3719
3720 <object type="button">
3721 <highlight color="%highlight_color%" />
3722 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3723 <font resource="font" color="%button_text_color%" />
3724 <text>Select</text>
3725 <image resource="medium_button" />
3726 <actions>
3727 <action function="page">terminalcommand</action>
3728 </actions>
3729 </object>
3730
3731 <object type="template" name="footer" />
3732 </page>
3733
3734 <page name="terminalcommand">
3735 <object type="template" name="header" />
3736
3737 <object type="console">
3738 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3739 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3740 <font resource="fixed" />
3741 </object>
3742
3743 <object type="text" color="%text_color%">
3744 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3745 <font resource="font" />
3746 <text>Starting Path: %tw_terminal_location%</text>
3747 </object>
3748
3749 <object type="input">
3750 <condition var1="tw_terminal_state" var2="0" />
3751 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3752 <background color="%input_background_color%" />
3753 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3754 <font resource="font" color="%text_color%" />
3755 <text>%tw_terminal_command%</text>
3756 <data name="tw_terminal_command" />
3757 <restrict minlen="1" />
3758 <action function="terminalcommand">%tw_terminal_command%</action>
3759 </object>
3760
3761 <object type="button">
3762 <highlight color="%highlight_color%" />
3763 <condition var1="tw_terminal_state" var2="1" />
3764 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3765 <font resource="font" color="%button_text_color%" />
3766 <text>KILL</text>
3767 <image resource="medium_button" />
3768 <action function="killterminal"></action>
3769 </object>
3770
3771 <object type="template" name="keyboardtemplate" />
3772
3773 <object type="action">
3774 <touch key="home" />
3775 <action function="page">main</action>
3776 </object>
3777
3778 <object type="action">
3779 <touch key="back" />
3780 <action function="page">terminalfolder</action>
3781 </object>
3782 </page>
3783
3784 <page name="sideload">
3785 <object type="template" name="header" />
3786
3787 <object type="text" color="%text_color%">
3788 <font resource="font" />
3789 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3790 <text>ADB Sideload</text>
3791 </object>
3792
3793 <object type="checkbox">
3794 <placement x="%col1_x%" y="%row2_text_y%" />
3795 <font resource="font" color="%text_color%" />
3796 <text>Wipe Dalvik Cache.</text>
3797 <data variable="tw_wipe_dalvik" />
3798 <image checked="checkbox_true" unchecked="checkbox_false" />
3799 </object>
3800
3801 <object type="checkbox">
3802 <placement x="%col1_x%" y="%row3_text_y%" />
3803 <font resource="font" color="%text_color%" />
3804 <text>Wipe Cache.</text>
3805 <data variable="tw_wipe_cache" />
3806 <image checked="checkbox_true" unchecked="checkbox_false" />
3807 </object>
3808
3809 <object type="slider">
3810 <placement x="%slider_x%" y="%slider_y%" />
3811 <resource base="slider" used="slider-used" touch="slider-touch" />
3812 <actions>
3813 <action function="set">tw_back=advanced</action>
3814 <action function="set">tw_action=adbsideload</action>
3815 <action function="set">tw_action_text1=ADB Sideload</action>
3816 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3817 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3818 <action function="set">tw_has_cancel=1</action>
3819 <action function="set">tw_show_reboot=1</action>
3820 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3821 <action function="page">action_page</action>
3822 </actions>
3823 </object>
3824
3825 <object type="text" color="%text_color%">
3826 <font resource="font" />
3827 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3828 <text>Swipe to Start Sideload</text>
3829 </object>
3830
3831 <object type="action">
3832 <touch key="home" />
3833 <action function="page">main</action>
3834 </object>
3835
3836 <object type="action">
3837 <touch key="back" />
3838 <action function="page">advanced</action>
3839 </object>
3840
3841 <object type="template" name="footer" />
3842 </page>
3843
3844 <page name="installsu">
3845 <object type="template" name="header" />
3846
3847 <object type="text" color="%text_color%">
3848 <font resource="font" />
3849 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3850 <text>Install SuperSU?</text>
3851 </object>
3852
3853 <object type="text" color="%text_color%">
3854 <font resource="font" />
3855 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3856 <text>Your device does not appear to be rooted.</text>
3857 </object>
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3862 <text>Install SuperSU now?</text>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3868 <text>This will root your device.</text>
3869 </object>
3870
3871 <object type="button">
3872 <highlight color="%highlight_color%" />
3873 <placement x="%col_center_x%" y="%row3_y%" />
3874 <font resource="font" color="%button_text_color%" />
3875 <text>Do Not Install</text>
3876 <image resource="main_button" />
3877 <action function="set">tw_page_done=1</action>
3878 </object>
3879
3880 <object type="slider">
3881 <placement x="%slider_x%" y="%slider_y%" />
3882 <resource base="slider" used="slider-used" touch="slider-touch" />
3883 <actions>
3884 <action function="set">tw_action=installsu</action>
3885 <action function="set">tw_action_text1=Installing SuperSU</action>
3886 <action function="set">tw_action_text2=</action>
3887 <action function="page">singleaction_page</action>
3888 </actions>
3889 </object>
3890
3891 <object type="text" color="%text_color%">
3892 <font resource="font" />
3893 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3894 <text>Swipe to Install</text>
3895 </object>
3896 </page>
Dees_Troya13d74f2013-03-24 08:54:55 -05003897 </pages>
3898</recovery>