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