blob: f727e677d2d7832915a58d0c57985ab51ff85ef4 [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%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001122 <conditions>
1123 <condition var1="tw_has_android_secure" var2="1" />
1124 <condition var1="fileexists" var2="/and-sec" />
1125 </conditions>
Vojtech Bocek1239ee82013-09-04 16:51:33 +02001126 <font resource="font" />
1127 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1128 <text>.android_secure</text>
1129 </object>
1130
1131 <object type="text" color="%text_color%">
1132 <condition var1="tw_has_data_media" var2="1" />
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1135 <text>(not including internal storage)</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <condition var1="tw_has_sdext_partition" var2="1" />
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1142 <text>SD-EXT</text>
1143 </object>
1144
1145 <object type="text" color="%text_color%">
1146 <font resource="font" />
1147 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1148 <text>Most of the time this is</text>
1149 </object>
1150
1151 <object type="text" color="%text_color%">
1152 <font resource="font" />
1153 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1154 <text>the only wipe that you need.</text>
1155 </object>
1156
1157 <object type="text" color="%text_color%">
1158 <font resource="font" />
1159 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1160 <text>Press back button to cancel.</text>
1161 </object>
1162
1163 <object type="button">
1164 <highlight color="%highlight_color%" />
1165 <placement x="%col1_x%" y="%wipe_button_y%" />
1166 <font resource="font" color="%button_text_color%" />
1167 <text>Advanced Wipe</text>
1168 <image resource="main_button" />
1169 <action function="page">advancedwipe</action>
1170 </object>
1171
1172 <object type="button">
1173 <conditions>
1174 <condition var1="tw_has_internal" var2="1" />
1175 <condition var1="tw_has_data_media" var2="1" />
1176 </conditions>
1177 <highlight color="%highlight_color%" />
1178 <placement x="%col2_x%" y="%wipe_button_y%" />
1179 <font resource="font" color="%button_text_color%" />
1180 <text>Format Data</text>
1181 <image resource="main_button" />
1182 <actions>
1183 <action function="page">formatdata</action>
1184 </actions>
1185 </object>
1186
1187 <object type="slider">
1188 <placement x="%slider_x%" y="%slider_y%" />
1189 <resource base="slider" used="slider-used" touch="slider-touch" />
1190 <actions>
1191 <action function="set">tw_back=wipe</action>
1192 <action function="set">tw_action=wipe</action>
1193 <action function="set">tw_action_param=data</action>
1194 <action function="set">tw_action_text1=Factory Reset...</action>
1195 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1196 <action function="page">action_page</action>
1197 </actions>
1198 </object>
1199
1200 <object type="text" color="%text_color%">
1201 <font resource="font" />
1202 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1203 <text>Swipe to Factory Reset</text>
1204 </object>
1205
1206 <object type="action">
1207 <touch key="back" />
1208 <action function="page">main</action>
1209 </object>
1210
1211 <object type="action">
1212 <touch key="home" />
1213 <action function="page">main</action>
1214 </object>
1215
1216 <object type="template" name="footer" />
1217 </page>
1218
1219 <page name="advancedwipe">
1220 <object type="template" name="header" />
1221
1222 <object type="text" color="%text_color%">
1223 <font resource="font" />
1224 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1225 <text>Wipe Menu</text>
1226 </object>
1227
1228 <object type="partitionlist">
1229 <highlight color="%fileselector_highlight_color%" />
1230 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1231 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1232 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1233 <text>Select Partitions to Wipe:</text>
1234 <icon selected="checkbox_true" unselected="checkbox_false" />
1235 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1236 <background color="%listbox_background%" />
1237 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1238 <data name="tw_wipe_list" />
1239 <listtype name="wipe" />
1240 </object>
1241
1242 <object type="slider">
1243 <placement x="%slider_x%" y="%slider_y%" />
1244 <resource base="slider" used="slider-used" touch="slider-touch" />
1245 <actions>
1246 <action function="set">tw_back=advancedwipe</action>
1247 <action function="set">tw_action=wipe</action>
1248 <action function="set">tw_action_param=LIST</action>
1249 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1250 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1251 <action function="set">tw_complete_text1=Wipe Complete</action>
1252 <action function="page">action_page</action>
1253 </actions>
1254 </object>
1255
1256 <object type="text" color="%text_color%">
1257 <font resource="font" />
1258 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1259 <text>Swipe to Wipe</text>
1260 </object>
1261
1262 <object type="action">
1263 <touch key="home" />
1264 <action function="page">main</action>
1265 </object>
1266
1267 <object type="action">
1268 <touch key="back" />
1269 <action function="page">wipe</action>
1270 </object>
1271
1272 <object type="template" name="footer" />
1273 </page>
1274
1275 <page name="formatdata">
1276 <object type="template" name="header" />
1277
1278 <object type="text" color="%text_color%">
1279 <font resource="font" />
1280 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1281 <text>Format Data will wipe all of your apps,</text>
1282 </object>
1283
1284 <object type="text" color="%text_color%">
1285 <font resource="font" />
1286 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1287 <text>backups, pictures, videos, media, and</text>
1288 </object>
1289
1290 <object type="text" color="%text_color%">
1291 <font resource="font" />
1292 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1293 <text>removes encryption on internal storage.</text>
1294 </object>
1295
1296 <object type="text" color="%text_color%">
1297 <font resource="font" />
1298 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1299 <text>This cannot be undone. Press back to cancel.</text>
1300 </object>
1301
1302 <object type="text" color="%text_color%">
1303 <font resource="font" />
1304 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1305 <text>Type yes to continue.</text>
1306 </object>
1307
1308 <object type="input">
1309 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1310 <background color="%input_background_color%" />
1311 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1312 <font resource="font" color="%text_color%" />
1313 <text>%tw_confirm_formatdata%</text>
1314 <data name="tw_confirm_formatdata" />
1315 <restrict minlen="3" maxlen="3" allow="yes" />
1316 <action function="page">formatdata_confirm</action>
1317 </object>
1318
1319 <object type="template" name="keyboardtemplate" />
1320
1321 <object type="action">
1322 <touch key="home" />
1323 <action function="page">main</action>
1324 </object>
1325
1326 <object type="action">
1327 <touch key="back" />
1328 <action function="page">wipe</action>
1329 </object>
1330
1331 <object type="template" name="footer" />
1332 </page>
1333
1334 <page name="formatdata_confirm">
1335 <object type="action">
1336 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1337 <actions>
1338 <action function="set">tw_back=formatdata</action>
1339 <action function="set">tw_action=wipe</action>
1340 <action function="set">tw_action_param=DATAMEDIA</action>
1341 <action function="set">tw_action_text1=Formatting Data...</action>
1342 <action function="set">tw_complete_text1=Data Format Complete</action>
1343 <action function="page">action_page</action>
1344 </actions>
1345 </object>
1346
1347 <object type="action">
1348 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1349 <action function="page">formatdata</function>
1350 </object>
1351 </page>
1352
1353 <page name="backup">
1354 <object type="template" name="header" />
1355
1356 <object type="button">
1357 <highlight color="%highlight_color%" />
1358 <fill color="%button_fill_color%" />
1359 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
1360 <font resource="font" color="%button_text_color%" />
1361 <text>Backup Name: %tw_backup_name%</text>
1362 <actions>
1363 <action function="set">tw_fileexists=0</action>
1364 <action function="page">backupname1</action>
1365 </actions>
1366 </object>
1367
1368 <object type="partitionlist">
1369 <highlight color="%fileselector_highlight_color%" />
1370 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1371 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1372 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1373 <text>Select Partitions to Back Up:</text>
1374 <icon selected="checkbox_true" unselected="checkbox_false" />
1375 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1376 <background color="%listbox_background%" />
1377 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1378 <data name="tw_backup_list" />
1379 <listtype name="backup" />
1380 </object>
1381
1382 <object type="button">
1383 <conditions>
1384 <condition var1="tw_include_encrypted_backup" var2="1" />
1385 <condition var1="tw_encrypt_backup" var2="0" />
1386 </conditions>
1387 <highlight color="%highlight_color%" />
1388 <fill color="%button_fill_color%" />
1389 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1390 <font resource="font" color="%button_text_color%" />
1391 <text>No Encryption</text>
1392 <actions>
1393 <action function="page">backupencryption</action>
1394 </actions>
1395 </object>
1396
1397 <object type="button">
1398 <conditions>
1399 <condition var1="tw_include_encrypted_backup" var2="1" />
1400 <condition var1="tw_encrypt_backup" var2="1" />
1401 </conditions>
1402 <highlight color="%highlight_color%" />
1403 <fill color="%button_fill_color%" />
1404 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1405 <font resource="font" color="%button_text_color%" />
1406 <text>Using Encryption</text>
1407 <actions>
1408 <action function="set">tw_password_not_match=0</action>
1409 <action function="page">backupencryption</action>
1410 </actions>
1411 </object>
1412
1413 <object type="button">
1414 <highlight color="%highlight_color%" />
1415 <fill color="%button_fill_color%" />
1416 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1417 <font resource="font" color="%button_text_color%" />
1418 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001419 <actions>
1420 <action function="refreshsizes"></action>
1421 <action function="page">backup</action>
1422 </actions>
Vojtech Bocek1239ee82013-09-04 16:51:33 +02001423 </object>
1424
1425 <object type="button">
1426 <highlight color="%highlight_color%" />
1427 <fill color="%button_fill_color%" />
1428 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1429 <font resource="font" color="%button_text_color%" />
1430 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1431 <actions>
1432 <action function="set">tw_back=backup</action>
1433 <action function="page">selectstorage</action>
1434 </actions>
1435 </object>
1436
1437 <object type="checkbox">
1438 <placement x="%col1_x%" y="%row15_text_y%" />
1439 <font resource="font" color="%text_color%" />
1440 <text>Enable compression.</text>
1441 <data variable="tw_use_compression" />
1442 <image checked="checkbox_true" unchecked="checkbox_false" />
1443 </object>
1444
1445 <object type="checkbox">
1446 <placement x="%col1_x%" y="%row16_text_y%" />
1447 <font resource="font" color="%text_color%" />
1448 <text>Skip MD5 generation during backup.</text>
1449 <data variable="tw_skip_md5_generate" />
1450 <image checked="checkbox_true" unchecked="checkbox_false" />
1451 </object>
1452
1453 <object type="slider">
1454 <placement x="%slider_x%" y="slider_y" />
1455 <resource base="slider" used="slider-used" touch="slider-touch" />
1456 <action function="page">backup_run</action>
1457 </object>
1458
1459 <object type="text" color="%text_color%">
1460 <font resource="font" />
1461 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1462 <text>Swipe to Back Up</text>
1463 </object>
1464
1465 <object type="action">
1466 <touch key="home" />
1467 <action function="page">main</action>
1468 </object>
1469
1470 <object type="action">
1471 <touch key="back" />
1472 <action function="page">main</action>
1473 </object>
1474
1475 <object type="template" name="footer" />
1476 </page>
1477
1478 <page name="backupname1">
1479 <object type="action">
1480 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1481 <action function="generatebackupname"></function>
1482 </object>
1483
1484 <object type="action">
1485 <action function="page">backupname2</function>
1486 </object>
1487 </page>
1488
1489 <page name="backupname2">
1490 <object type="template" name="header" />
1491
1492 <object type="text" color="%text_color%">
1493 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1494 <font resource="font" />
1495 <text>Please Enter a Backup Name</text>
1496 </object>
1497
1498 <object type="input">
1499 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1500 <background color="%input_background_color%" />
1501 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1502 <font resource="font" color="%text_color%" />
1503 <text>%tw_backup_name%</text>
1504 <data name="tw_backup_name" />
1505 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1506 <actions>
1507 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1508 <action function="set">tw_existpage=backupname2</action>
1509 <action function="set">tw_notexistpage=backup</action>
1510 <action function="page">filecheck</action>
1511 </actions>
1512 </object>
1513
1514 <object type="text" color="%text_fail_color%">
1515 <condition var1="tw_fileexists" var2="1" />
1516 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1517 <font resource="font" />
1518 <text>A backup with that name already exists!</text>
1519 </object>
1520
1521 <object type="button">
1522 <highlight color="%highlight_color%" />
1523 <placement x="%col1_x%" y="%row2_y%" />
1524 <font resource="font" color="%button_text_color%" />
1525 <text>Append Date</text>
1526 <image resource="main_button" />
1527 <action function="appenddatetobackupname"></action>
1528 </object>
1529
1530 <object type="button">
1531 <highlight color="%highlight_color%" />
1532 <placement x="%col2_x%" y="%row2_y%" />
1533 <font resource="font" color="%button_text_color%" />
1534 <text>Cancel</text>
1535 <image resource="main_button" />
1536 <actions>
1537 <action function="set">tw_backup_name=(Auto Generate)</action>
1538 <action function="page">backup</action>
1539 </actions>
1540 </object>
1541
1542 <object type="template" name="keyboardtemplate" />
1543
1544 <object type="action">
1545 <touch key="home" />
1546 <actions>
1547 <action function="set">tw_backup_name=(Auto Generate)</action>
1548 <action function="page">main</action>
1549 </actions>
1550 </object>
1551
1552 <object type="action">
1553 <touch key="back" />
1554 <actions>
1555 <action function="set">tw_backup_name=(Auto Generate)</action>
1556 <action function="page">backup</action>
1557 </actions>
1558 </object>
1559
1560 <object type="template" name="footer" />
1561 </page>
1562
1563 <page name="backupencryption">
1564 <object type="template" name="header" />
1565
1566 <object type="text" color="%text_color%">
1567 <font resource="font" />
1568 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1569 <text>Encrypt your backup?</text>
1570 </object>
1571
1572 <object type="text" color="%text_color%">
1573 <font resource="font" />
1574 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1575 <text>Please Enter A Password:</text>
1576 </object>
1577
1578 <object type="input">
1579 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1580 <background color="%input_background_color%" />
1581 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1582 <font resource="font" color="%text_color%" />
1583 <text>%tw_backup_encrypt_display%</text>
1584 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1585 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1586 <action function="page">backupencryption2</action>
1587 </object>
1588
1589 <object type="text" color="%text_fail_color%">
1590 <condition var1="tw_password_not_match" var2="1" />
1591 <font resource="font" />
1592 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1593 <text>Passwords Do Not Match</text>
1594 </object>
1595
1596 <object type="button">
1597 <highlight color="%highlight_color%" />
1598 <placement x="%col_center_x%" y="%row2_y%" />
1599 <font resource="font" color="%button_text_color%" />
1600 <text>Cancel</text>
1601 <image resource="main_button" />
1602 <actions>
1603 <action function="set">tw_encrypt_backup=0</action>
1604 <action function="set">tw_backup_password=</action>
1605 <action function="set">tw_backup_password2=</action>
1606 <action function="set">tw_backup_encrypt_display=</action>
1607 <action function="set">tw_backup_encrypt_display2=</action>
1608 <action function="page">backup</action>
1609 </actions>
1610 </object>
1611
1612 <object type="template" name="keyboardtemplate" />
1613
1614 <object type="action">
1615 <touch key="home" />
1616 <action function="page">main</action>
1617 </object>
1618
1619 <object type="action">
1620 <touch key="back" />
1621 <action function="page">backup</action>
1622 </object>
1623
1624 <object type="template" name="footer" />
1625 </page>
1626
1627 <page name="backupencryption2">
1628 <object type="template" name="header" />
1629
1630 <object type="text" color="%text_color%">
1631 <font resource="font" />
1632 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1633 <text>Encrypt your backup?</text>
1634 </object>
1635
1636 <object type="text" color="%text_color%">
1637 <font resource="font" />
1638 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1639 <text>Please Enter Password Again:</text>
1640 </object>
1641
1642 <object type="input">
1643 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1644 <background color="%input_background_color%" />
1645 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1646 <font resource="font" color="%text_color%" />
1647 <text>%tw_backup_encrypt_display2%</text>
1648 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1649 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1650 <actions>
1651 <action function="page">checkbackuppassword</action>
1652 </actions>
1653 </object>
1654
1655 <object type="button">
1656 <highlight color="%highlight_color%" />
1657 <placement x="%col_center_x%" y="%row2_y%" />
1658 <font resource="font" color="%button_text_color%" />
1659 <text>Cancel</text>
1660 <image resource="main_button" />
1661 <actions>
1662 <action function="set">tw_encrypt_backup=0</action>
1663 <action function="set">tw_backup_password=</action>
1664 <action function="set">tw_backup_password2=</action>
1665 <action function="set">tw_backup_encrypt_display=</action>
1666 <action function="set">tw_backup_encrypt_display2=</action>
1667 <action function="page">backup</action>
1668 </actions>
1669 </object>
1670
1671 <object type="template" name="keyboardtemplate" />
1672
1673 <object type="action">
1674 <touch key="home" />
1675 <action function="page">main</action>
1676 </object>
1677
1678 <object type="action">
1679 <touch key="back" />
1680 <action function="page">backup</action>
1681 </object>
1682
1683 <object type="template" name="footer" />
1684 </page>
1685
1686 <page name="checkbackuppassword">
1687 <object type="action">
1688 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1689 <actions>
1690 <action function="set">tw_encrypt_backup=1</action>
1691 <action function="page">backup</action>
1692 </actions>
1693 </object>
1694
1695 <object type="action">
1696 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1697 <actions>
1698 <action function="set">tw_encrypt_backup=0</action>
1699 <action function="set">tw_password_not_match=1</action>
1700 <action function="set">tw_backup_password=</action>
1701 <action function="set">tw_backup_password2=</action>
1702 <action function="set">tw_backup_encrypt_display=</action>
1703 <action function="set">tw_backup_encrypt_display2=</action>
1704 <action function="page">backupencryption</action>
1705 </actions>
1706 </object>
1707 </page>
1708
1709 <page name="backup_run">
1710 <object type="template" name="header" />
1711
1712 <object type="text" color="%text_color%">
1713 <font resource="font" />
1714 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1715 <text>%tw_operation% %tw_partition%</text>
1716 </object>
1717
1718 <object type="template" name="action_page_console" />
1719
1720 <object type="template" name="progress_bar" />
1721
1722 <object type="action">
1723 <action function="nandroid">backup</action>
1724 </object>
1725
1726 <object type="action">
1727 <condition var1="tw_operation_state" var2="1" />
1728 <actions>
1729 <action function="set">tw_back=backup</action>
1730 <action function="set">tw_complete_text1=Backup Complete</action>
1731 <action function="set">tw_show_reboot=1</action>
1732 <action function="page">action_complete</action>
1733 </actions>
1734 </object>
1735 </page>
1736
1737 <page name="restore">
1738 <object type="template" name="header" />
1739
1740 <object type="button">
1741 <highlight color="%highlight_color%" />
1742 <fill color="%button_fill_color%" />
1743 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1744 <font resource="font" color="%button_text_color%" />
1745 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1746 <actions>
1747 <action function="set">tw_back=restore</action>
1748 <action function="page">selectstorage</action>
1749 </actions>
1750 </object>
1751
1752 <object type="fileselector">
1753 <highlight color="%fileselector_highlight_color%" />
1754 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1755 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1756 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1757 <text>Select Package to Restore:</text>
1758 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1759 <sort name="tw_gui_sort_order" />
1760 <icon folder="folder_icon" file="file_icon" />
1761 <background color="%fileselector_background%" />
1762 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1763 <filter folders="1" files="0" nav="0" />
1764 <path name="tw_backups_folder" />
1765 <data name="tw_restore" default="" />
1766 <selection name="tw_restore_name" />
1767 </object>
1768
1769 <object type="template" name="sort_options" />
1770
1771 <object type="action">
1772 <condition var1="tw_restore" op="modified" />
1773 <actions>
1774 <action function="readBackup"></action>
1775 <action function="page">restore_read</action>
1776 </actions>
1777 </object>
1778
1779 <object type="action">
1780 <touch key="home" />
1781 <action function="page">main</action>
1782 </object>
1783
1784 <object type="action">
1785 <touch key="back" />
1786 <action function="page">main</action>
1787 </object>
1788
1789 <object type="template" name="footer" />
1790 </page>
1791
1792 <page name="restore_read">
1793 <object type="action">
1794 <condition var1="tw_restore_encrypted" var2="1" />
1795 <actions>
1796 <action function="set">tw_password_fail=0</action>
1797 <action function="page">restore_decrypt</action>
1798 </actions>
1799 </object>
1800
1801 <object type="action">
1802 <condition var1="tw_restore_encrypted" var2="0" />
1803 <actions>
1804 <action function="page">restore_select</action>
1805 </actions>
1806 </object>
1807 </page>
1808
1809 <page name="restore_decrypt">
1810 <object type="template" name="header" />
1811
1812 <object type="text" color="%text_color%">
1813 <font resource="font" />
1814 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1815 <text>Backup Encrypted</text>
1816 </object>
1817
1818 <object type="text" color="%text_color%">
1819 <font resource="font" />
1820 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1821 <text>Please Enter Your Password:</text>
1822 </object>
1823
1824 <object type="input">
1825 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1826 <background color="%input_background_color%" />
1827 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>%tw_restore_display%</text>
1830 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1831 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1832 <actions>
1833 <action function="page">try_restore_decrypt</action>
1834 </actions>
1835 </object>
1836
1837 <object type="text" color="%text_fail_color%">
1838 <condition var1="tw_password_fail" var2="1" />
1839 <font resource="font" />
1840 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1841 <text>Password Failed, Please Try Again</text>
1842 </object>
1843
1844 <object type="button">
1845 <highlight color="%highlight_color%" />
1846 <placement x="%col1_x%" y="%row2_y%" />
1847 <font resource="font" color="%button_text_color%" />
1848 <text>Cancel</text>
1849 <image resource="main_button" />
1850 <actions>
1851 <action function="set">tw_page_done=1</action>
1852 <action function="page">restore</action>
1853 </actions>
1854 </object>
1855
1856 <object type="button">
1857 <highlight color="%highlight_color%" />
1858 <placement x="%col2_x%" y="%row2_y%" />
1859 <font resource="font" color="%button_text_color%" />
1860 <text>Delete</text>
1861 <image resource="main_button" />
1862 <actions>
1863 <action function="set">tw_back=restore</action>
1864 <action function="set">tw_action=cmd</action>
1865 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1866 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1867 <action function="set">tw_text2=This cannot be undone!</action>
1868 <action function="set">tw_action_text1=Deleting Backup...</action>
1869 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1870 <action function="set">tw_slider_text=Swipe to Delete</action>
1871 <action function="page">confirm_action</action>
1872 </actions>
1873 </object>
1874
1875 <object type="template" name="keyboardtemplate" />
1876
1877 <object type="action">
1878 <touch key="home" />
1879 <action function="page">main</action>
1880 </object>
1881
1882 <object type="action">
1883 <touch key="back" />
1884 <action function="page">restore</action>
1885 </object>
1886
1887 <object type="template" name="footer" />
1888 </page>
1889
1890 <page name="try_restore_decrypt">
1891 <object type="template" name="header" />
1892
1893 <object type="text" color="%text_color%">
1894 <font resource="font" />
1895 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1896 <text>Trying Decryption with Your Password</text>
1897 </object>
1898
1899 <object type="template" name="action_page_console" />
1900
1901 <object type="template" name="progress_bar" />
1902
1903 <object type="action">
1904 <action function="decrypt_backup"></action>
1905 </object>
1906
1907 <object type="action">
1908 <conditions>
1909 <condition var1="tw_operation_state" var2="1" />
1910 <condition var1="tw_operation_status" op="!=" var2="0" />
1911 </conditions>
1912 <actions>
1913 <action function="set">tw_password_fail=1</action>
1914 <action function="page">restore_decrypt</action>
1915 </actions>
1916 </object>
1917
1918 <object type="action">
1919 <conditions>
1920 <condition var1="tw_operation_state" var2="1" />
1921 <condition var1="tw_operation_status" op="=" var2="0" />
1922 </conditions>
1923 <actions>
1924 <action function="set">tw_page_done=1</action>
1925 <action function="page">restore_select</action>
1926 </actions>
1927 </object>
1928 </page>
1929
1930 <page name="restore_select">
1931 <object type="template" name="header" />
1932
1933 <object type="partitionlist">
1934 <highlight color="%fileselector_highlight_color%" />
1935 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1936 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1937 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1938 <text>Restoring: %tw_restore_name%</text>
1939 <icon selected="checkbox_true" unselected="checkbox_false" />
1940 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1941 <background color="%listbox_background%" />
1942 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1943 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1944 <listtype name="restore" />
1945 </object>
1946
1947 <object type="button">
1948 <highlight color="%highlight_color%" />
1949 <fill color="%button_fill_color%" />
1950 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1951 <font resource="font" color="%button_text_color%" />
1952 <text>Rename Backup</text>
1953 <actions>
1954 <action function="set">tw_backup_rename=</action>
1955 <action function="set">tw_fileexists=0</action>
1956 <action function="page">renamebackup</action>
1957 </actions>
1958 </object>
1959
1960 <object type="button">
1961 <highlight color="%highlight_color%" />
1962 <fill color="%button_fill_color%" />
1963 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1964 <font resource="font" color="%button_text_color%" />
1965 <text>Delete Backup</text>
1966 <actions>
1967 <action function="set">tw_back=restore</action>
1968 <action function="set">tw_action=cmd</action>
1969 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1970 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1971 <action function="set">tw_text2=This cannot be undone!</action>
1972 <action function="set">tw_action_text1=Deleting Backup...</action>
1973 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1974 <action function="set">tw_slider_text=Swipe to Delete</action>
1975 <action function="page">confirm_action</action>
1976 </actions>
1977 </object>
1978
1979 <object type="checkbox">
1980 <placement x="%col1_x%" y="%row15_text_y%" />
1981 <font resource="font" color="%text_color%" />
1982 <text>Enable MD5 verification of backup files.</text>
1983 <data variable="tw_skip_md5_check" />
1984 <image checked="checkbox_true" unchecked="checkbox_false" />
1985 </object>
1986
1987 <object type="text" color="%text_color%">
1988 <font resource="font" />
1989 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1990 <text>Package Date: %tw_restore_file_date%</text>
1991 </object>
1992
1993 <object type="slider">
1994 <placement x="%slider_x%" y="%slider_y%" />
1995 <resource base="slider" used="slider-used" touch="slider-touch" />
1996 <action function="page">restore_run</action>
1997 </object>
1998
1999 <object type="text" color="%text_color%">
2000 <font resource="font" />
2001 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2002 <text>Swipe to Restore</text>
2003 </object>
2004
2005 <object type="action">
2006 <touch key="home" />
2007 <action function="page">main</action>
2008 </object>
2009
2010 <object type="action">
2011 <touch key="back" />
2012 <action function="page">restore</action>
2013 </object>
2014
2015 <object type="template" name="footer" />
2016 </page>
2017
2018 <page name="renamebackup">
2019 <object type="template" name="header" />
2020
2021 <object type="text" color="%text_color%">
2022 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2023 <font resource="font" />
2024 <text>Please Enter a New Backup Name</text>
2025 </object>
2026
2027 <object type="input">
2028 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2029 <background color="%input_background_color%" />
2030 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2031 <font resource="font" color="%text_color%" />
2032 <text>%tw_backup_rename%</text>
2033 <data name="tw_backup_rename" />
2034 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2035 <actions>
2036 <action function="set">tw_back=restore</action>
2037 <action function="set">tw_action=cmd</action>
2038 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2039 <action function="set">tw_text1=Rename Backup?</action>
2040 <action function="set">tw_text2=This cannot be undone!</action>
2041 <action function="set">tw_action_text1=Renaming Backup...</action>
2042 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2043 <action function="set">tw_slider_text=Swipe to Rename</action>
2044 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2045 <action function="set">tw_existpage=renamebackup</action>
2046 <action function="set">tw_notexistpage=confirm_action</action>
2047 <action function="page">filecheck</action>
2048 </actions>
2049 </object>
2050
2051 <object type="text" color="%text_fail_color%">
2052 <condition var1="tw_fileexists" var2="1" />
2053 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2054 <font resource="font" />
2055 <text>A backup with that name already exists!</text>
2056 </object>
2057
2058 <object type="button">
2059 <highlight color="%highlight_color%" />
2060 <placement x="%col_center_x%" y="%row2_y%" />
2061 <font resource="font" color="%button_text_color%" />
2062 <text>Cancel</text>
2063 <image resource="main_button" />
2064 <action function="page">restore_select</action>
2065 </object>
2066
2067 <object type="template" name="keyboardtemplate" />
2068
2069 <object type="action">
2070 <touch key="home" />
2071 <action function="page">main</action>
2072 </object>
2073
2074 <object type="action">
2075 <touch key="back" />
2076 <action function="page">restore_select</action>
2077 </object>
2078
2079 <object type="template" name="footer" />
2080 </page>
2081
2082 <page name="restore_run">
2083 <object type="template" name="header" />
2084
2085 <object type="text" color="%text_color%">
2086 <font resource="font" />
2087 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2088 <text>%tw_operation% %tw_partition%</text>
2089 </object>
2090
2091 <object type="template" name="action_page_console" />
2092
2093 <object type="template" name="progress_bar" />
2094
2095 <object type="action">
2096 <condition var1="tw_operation_state" var2="1" />
2097 <actions>
2098 <action function="set">tw_back=restore_select</action>
2099 <action function="set">tw_complete_text1=Restore Complete</action>
2100 <action function="set">tw_show_reboot=1</action>
2101 <action function="page">action_complete</action>
2102 </actions>
2103 </object>
2104
2105 <object type="action">
2106 <action function="nandroid">restore</action>
2107 </object>
2108 </page>
2109
2110 <page name="selectstorage">
2111 <object type="template" name="header" />
2112
2113 <object type="partitionlist">
2114 <highlight color="%fileselector_highlight_color%" />
2115 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2116 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2117 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2118 <text>Select Storage:</text>
2119 <icon selected="radio_true" unselected="radio_false" />
2120 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2121 <background color="%listbox_background%" />
2122 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2123 <data name="tw_storage_path" />
2124 <listtype name="storage" />
2125 </object>
2126
2127 <object type="button">
2128 <highlight color="%highlight_color%" />
2129 <placement x="%col_center_x%" y="%row4_y%" />
2130 <font resource="font" color="%button_text_color%" />
2131 <text>OK</text>
2132 <image resource="main_button" />
2133 <actions>
2134 <action function="set">tw_clear_destination=%tw_back%</action>
2135 <action function="page">clear_vars</action>
2136 </actions>
2137 </object>
2138
2139 <object type="action">
2140 <touch key="home" />
2141 <action function="page">main</action>
2142 </object>
2143
2144 <object type="action">
2145 <touch key="back" />
2146 <actions>
2147 <action function="page">%tw_back%</action>
2148 </actions>
2149 </object>
2150
2151 <object type="template" name="footer" />
2152 </page>
2153
2154 <page name="mount">
2155 <object type="template" name="header" />
2156
2157 <object type="partitionlist">
2158 <highlight color="%fileselector_highlight_color%" />
2159 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2160 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2161 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2162 <text>Select Partitions to Mount:</text>
2163 <icon selected="checkbox_true" unselected="checkbox_false" />
2164 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2165 <background color="%listbox_background%" />
2166 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2167 <listtype name="mount" />
2168 </object>
2169
2170 <object type="button">
2171 <highlight color="%highlight_color%" />
2172 <fill color="%button_fill_color%" />
2173 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2174 <font resource="font" color="%button_text_color%" />
2175 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2176 <actions>
2177 <action function="set">tw_back=mount</action>
2178 <action function="page">selectstorage</action>
2179 </actions>
2180 </object>
2181
2182 <object type="button">
2183 <highlight color="%highlight_color%" />
2184 <condition var1="tw_has_usb_storage" var2="1" />
2185 <placement x="%col1_x%" y="row4_y" />
2186 <font resource="font" color="%button_text_color%" />
2187 <text>Mount USB Storage</text>
2188 <image resource="main_button" />
2189 <action function="page">usb_mount</action>
2190 </object>
2191
2192 <object type="button">
2193 <highlight color="%highlight_color%" />
2194 <conditions>
2195 <condition var1="tw_is_encrypted" var2="1" />
2196 <condition var1="tw_is_decrypted" var2="0" />
2197 </conditions>
2198 <placement x="%col2_x%" y="row4_y" />
2199 <font resource="font" color="%button_text_color%" />
2200 <text>Decrypt Data</text>
2201 <image resource="main_button" />
2202 <action function="page">decrypt</action>
2203 </object>
2204
2205 <object type="action">
2206 <touch key="home" />
2207 <action function="page">main</action>
2208 </object>
2209
2210 <object type="action">
2211 <touch key="back" />
2212 <action function="page">main</action>
2213 </object>
2214
2215 <object type="template" name="footer" />
2216 </page>
2217
2218 <page name="usb_mount">
2219 <object type="template" name="header" />
2220
2221 <object type="text" color="%text_color%">
2222 <font resource="font" />
2223 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2224 <text>USB Storage Mounted</text>
2225 </object>
2226
2227 <object type="text" color="%text_color%">
2228 <placement x="%col1_x%" y="%row1_text_y%" />
2229 <font resource="font" />
2230 <text>Be sure to safely remove your device</text>
2231 </object>
2232
2233 <object type="text" color="%text_color%">
2234 <placement x="%col1_x%" y="%row2_text_y%" />
2235 <font resource="font" />
2236 <text>from your computer before unmounting!</text>
2237 </object>
2238
2239 <object type="button">
2240 <highlight color="%highlight_color%" />
2241 <placement x="%col1_x%" y="%row3_y%" />
2242 <font resource="font" color="%button_text_color%" />
2243 <text>Unmount</text>
2244 <image resource="main_button" />
2245 <action function="page">usb_umount</action>
2246 </object>
2247
2248 <object type="action">
2249 <action function="mount">usb</action>
2250 </object>
2251
2252 <object type="template" name="footer" />
2253 </page>
2254
2255 <page name="usb_umount">
2256 <object type="action">
2257 <action function="unmount">usb</action>
2258 </object>
2259
2260 <object type="action">
2261 <action function="page">mount</action>
2262 </object>
2263 </page>
2264
2265 <page name="reboot">
2266 <object type="template" name="header" />
2267
2268 <object type="text" color="%text_color%">
2269 <font resource="font" />
2270 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2271 <text>Reboot Menu</text>
2272 </object>
2273
2274 <object type="button">
2275 <highlight color="%highlight_color%" />
2276 <condition var1="tw_reboot_system" var2="1" />
2277 <placement x="%col1_x%" y="%row1_y%" />
2278 <font resource="font" color="%button_text_color%" />
2279 <text>System</text>
2280 <image resource="main_button" />
2281 <actions>
2282 <action function="set">tw_back=reboot</action>
2283 <action function="set">tw_action=reboot</action>
2284 <action function="set">tw_action_param=system</action>
2285 <action function="set">tw_has_action2=0</action>
2286 <action function="set">tw_text1=No OS Installed! Are you</action>
2287 <action function="set">tw_text2=sure you wish to reboot?</action>
2288 <action function="set">tw_action_text1=Rebooting...</action>
2289 <action function="set">tw_complete_text1=Rebooting...</action>
2290 <action function="set">tw_slider_text=Swipe to Reboot</action>
2291 <action function="page">rebootcheck</action>
2292 </actions>
2293 </object>
2294
2295 <object type="button">
2296 <highlight color="%highlight_color%" />
2297 <condition var1="tw_reboot_poweroff" var2="1" />
2298 <placement x="%col2_x%" y="%row1_y%" />
2299 <font resource="font" color="%button_text_color%" />
2300 <text>Power Off</text>
2301 <image resource="main_button" />
2302 <actions>
2303 <action function="set">tw_back=reboot</action>
2304 <action function="set">tw_action=reboot</action>
2305 <action function="set">tw_action_param=poweroff</action>
2306 <action function="set">tw_has_action2=0</action>
2307 <action function="set">tw_text1=No OS Installed! Are you</action>
2308 <action function="set">tw_text2=sure you wish to power off?</action>
2309 <action function="set">tw_action_text1=Turning Off...</action>
2310 <action function="set">tw_complete_text1=Turning Off...</action>
2311 <action function="set">tw_slider_text=Swipe to Power Off</action>
2312 <action function="page">rebootcheck</action>
2313 </actions>
2314 </object>
2315
2316 <object type="button">
2317 <highlight color="%highlight_color%" />
2318 <condition var1="tw_reboot_recovery" var2="1" />
2319 <placement x="%col1_x%" y="%row2_y%" />
2320 <font resource="font" color="%button_text_color%" />
2321 <text>Recovery</text>
2322 <image resource="main_button" />
2323 <actions>
2324 <action function="set">tw_back=reboot</action>
2325 <action function="set">tw_action=reboot</action>
2326 <action function="set">tw_action_param=recovery</action>
2327 <action function="set">tw_has_action2=0</action>
2328 <action function="set">tw_text1=No OS Installed! Are you</action>
2329 <action function="set">tw_text2=sure you wish to reboot?</action>
2330 <action function="set">tw_action_text1=Rebooting...</action>
2331 <action function="set">tw_complete_text1=Rebooting...</action>
2332 <action function="set">tw_slider_text=Swipe to Reboot</action>
2333 <action function="page">rebootcheck</action>
2334 </actions>
2335 </object>
2336
2337 <object type="button">
2338 <highlight color="%highlight_color%" />
2339 <condition var1="tw_reboot_bootloader" var2="1" />
2340 <placement x="%col2_x%" y="%row2_y%" />
2341 <font resource="font" color="%button_text_color%" />
2342 <text>Bootloader</text>
2343 <image resource="main_button" />
2344 <actions>
2345 <action function="set">tw_back=reboot</action>
2346 <action function="set">tw_action=reboot</action>
2347 <action function="set">tw_action_param=bootloader</action>
2348 <action function="set">tw_has_action2=0</action>
2349 <action function="set">tw_text1=No OS Installed! Are you</action>
2350 <action function="set">tw_text2=sure you wish to reboot?</action>
2351 <action function="set">tw_action_text1=Rebooting...</action>
2352 <action function="set">tw_complete_text1=Rebooting...</action>
2353 <action function="set">tw_slider_text=Swipe to Reboot</action>
2354 <action function="page">rebootcheck</action>
2355 </actions>
2356 </object>
2357
2358 <object type="button">
2359 <highlight color="%highlight_color%" />
2360 <condition var1="tw_download_mode" var2="1" />
2361 <placement x="%col1_x%" y="%row3_y%" />
2362 <font resource="font" color="%button_text_color%" />
2363 <text>Download</text>
2364 <image resource="main_button" />
2365 <actions>
2366 <action function="set">tw_back=reboot</action>
2367 <action function="set">tw_action=reboot</action>
2368 <action function="set">tw_action_param=download</action>
2369 <action function="set">tw_has_action2=0</action>
2370 <action function="set">tw_text1=No OS Installed! Are you</action>
2371 <action function="set">tw_text2=sure you wish to reboot?</action>
2372 <action function="set">tw_action_text1=Rebooting...</action>
2373 <action function="set">tw_complete_text1=Rebooting...</action>
2374 <action function="set">tw_slider_text=Swipe to Reboot</action>
2375 <action function="page">rebootcheck</action>
2376 </actions>
2377 </object>
2378
2379 <object type="action">
2380 <touch key="home" />
2381 <action function="page">main</action>
2382 </object>
2383
2384 <object type="action">
2385 <touch key="back" />
2386 <action function="page">main</action>
2387 </object>
2388
2389 <object type="template" name="footer" />
2390 </page>
2391
2392 <page name="settings">
2393 <object type="template" name="header" />
2394
2395 <object type="text" color="%text_color%">
2396 <font resource="font" />
2397 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2398 <text>Settings</text>
2399 </object>
2400
2401 <object type="checkbox">
2402 <placement x="%col1_x%" y="%row1_text_y%" />
2403 <font resource="font" color="%text_color%" />
2404 <text>Zip file signature verification.</text>
2405 <data variable="tw_signed_zip_verify" />
2406 <image checked="checkbox_true" unchecked="checkbox_false" />
2407 </object>
2408
2409 <object type="checkbox">
2410 <placement x="%col1_x%" y="%row2_text_y%" />
2411 <font resource="font" color="%text_color%" />
2412 <text>Use rm -rf instead of formatting.</text>
2413 <data variable="tw_rm_rf" />
2414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="checkbox">
2418 <placement x="%col1_x%" y="%row3_text_y%" />
2419 <font resource="font" color="%text_color%" />
2420 <text>Skip MD5 generation during backup.</text>
2421 <data variable="tw_skip_md5_generate" />
2422 <image checked="checkbox_true" unchecked="checkbox_false" />
2423 </object>
2424
2425 <object type="checkbox">
2426 <placement x="%col1_x%" y="%row4_text_y%" />
2427 <font resource="font" color="%text_color%" />
2428 <text>Enable MD5 verification of backup files.</text>
2429 <data variable="tw_skip_md5_check" />
2430 <image checked="checkbox_true" unchecked="checkbox_false" />
2431 </object>
2432
2433 <object type="checkbox">
2434 <placement x="%col1_x%" y="%row5_text_y%" />
2435 <font resource="font" color="%text_color%" />
2436 <text>Use Military Time.</text>
2437 <data variable="tw_military_time" />
2438 <image checked="checkbox_true" unchecked="checkbox_false" />
2439 </object>
2440
2441 <object type="checkbox">
2442 <placement x="%col1_x%" y="%row6_text_y%" />
2443 <font resource="font" color="%text_color%" />
2444 <text>Simulate actions for theme testing.</text>
2445 <data variable="tw_simulate_actions" />
2446 <image checked="checkbox_true" unchecked="checkbox_false" />
2447 </object>
2448
2449 <object type="checkbox">
2450 <condition var1="tw_simulate_actions" var2="1" />
2451 <placement x="%col1_x%" y="%row7_text_y%" />
2452 <font resource="font" color="%text_color%" />
2453 <text>Simulate failure for actions.</text>
2454 <data variable="tw_simulate_fail" />
2455 <image checked="checkbox_true" unchecked="checkbox_false" />
2456 </object>
2457
2458 <object type="button">
2459 <highlight color="%highlight_color%" />
2460 <placement x="%col1_x%" y="%row3_y%" />
2461 <font resource="font" color="%button_text_color%" />
2462 <text>Time Zone</text>
2463 <image resource="main_button" />
2464 <action function="page">timezone</action>
2465 </object>
2466
2467 <object type="button">
2468 <highlight color="%highlight_color%" />
2469 <placement x="%col2_x%" y="%row3_y%" />
2470 <font resource="font" color="%button_text_color%" />
2471 <text>Screen</text>
2472 <image resource="main_button" />
2473 <action function="page">screen</action>
2474 </object>
2475
Kra1o5781e6892014-03-10 00:37:26 +01002476 <object type="button">
2477 <placement x="%col1_x%" y="%row4_y%" />
2478 <font resource="font" color="%button_text_color%" />
2479 <text>Restore Defaults</text>
2480 <image resource="main_button" />
2481 <action function="restoredefaultsettings"></action>
2482 </object>
2483
Vojtech Bocek1239ee82013-09-04 16:51:33 +02002484 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002485 <highlight color="%highlight_color%" />
2486 <placement x="%col2_x%" y="%row4_y%" />
2487 <font resource="font" color="%button_text_color%" />
2488 <text>Vibration Duration</text>
2489 <image resource="main_button" />
2490 <action function="page">Vibrate</action>
2491 </object>
2492
Vojtech Bocek1239ee82013-09-04 16:51:33 +02002493 <object type="action">
2494 <touch key="home" />
2495 <action function="page">main</action>
2496 </object>
2497
2498 <object type="action">
2499 <touch key="back" />
2500 <action function="page">main</action>
2501 </object>
2502
2503 <object type="template" name="footer" />
2504 </page>
2505
2506 <page name="timezone">
2507 <object type="template" name="header" />
2508
2509 <object type="listbox">
2510 <highlight color="%fileselector_highlight_color%" />
2511 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2513 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2514 <text>Select Time Zone:</text>
2515 <icon selected="radio_true" unselected="radio_false" />
2516 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2517 <background color="%listbox_background%" />
2518 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2519 <data name="tw_time_zone_guisel" />
2520 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2521 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2522 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2523 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2524 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2525 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2526 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2527 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2528 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2529 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2530 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2531 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2532 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2533 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2534 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2535 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2536 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2537 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2538 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2539 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2540 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2541 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2542 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2543 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2544 </object>
2545
2546 <object type="checkbox">
2547 <placement x="%col1_x%" y="%row_dst_text_y%" />
2548 <font resource="font" color="%text_color%" />
2549 <text>Do you use daylight savings time (DST)?</text>
2550 <data variable="tw_time_zone_guidst" />
2551 <image checked="checkbox_true" unchecked="checkbox_false" />
2552 </object>
2553
2554 <object type="text" color="%text_color%">
2555 <font resource="font" />
2556 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2557 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2558 </object>
2559
2560 <object type="button">
2561 <highlight color="%highlight_color%" />
2562 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>None</text>
2565 <image resource="medium_button" />
2566 <action function="set">tw_time_zone_guioffset=0</action>
2567 </object>
2568
2569 <object type="button">
2570 <highlight color="%highlight_color%" />
2571 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>15</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=15</action>
2576 </object>
2577
2578 <object type="button">
2579 <highlight color="%highlight_color%" />
2580 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>30</text>
2583 <image resource="medium_button" />
2584 <action function="set">tw_time_zone_guioffset=30</action>
2585 </object>
2586
2587 <object type="button">
2588 <highlight color="%highlight_color%" />
2589 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
2590 <font resource="font" color="%button_text_color%" />
2591 <text>45</text>
2592 <image resource="medium_button" />
2593 <action function="set">tw_time_zone_guioffset=45</action>
2594 </object>
2595
2596 <object type="button">
2597 <highlight color="%highlight_color%" />
2598 <placement x="%col_center_x%" y="%tz_set_y%" />
2599 <font resource="font" color="%button_text_color%" />
2600 <text>Set Time Zone</text>
2601 <image resource="main_button" />
2602 <action function="setguitimezone"></action>
2603 </object>
2604
2605 <object type="text" color="%text_color%">
2606 <font resource="font" />
2607 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2608 <text>Current Time Zone: %tw_time_zone%</text>
2609 </object>
2610
2611 <object type="action">
2612 <touch key="home" />
2613 <action function="page">main</action>
2614 </object>
2615
2616 <object type="action">
2617 <touch key="back" />
2618 <action function="page">settings</action>
2619 </object>
2620
2621 <object type="template" name="footer" />
2622 </page>
2623
2624 <page name="screen">
2625 <object type="template" name="header" />
2626
2627 <object type="text" color="%text_color%">
2628 <font resource="font" />
2629 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2630 <text>Screen Settings</text>
2631 </object>
2632
2633 <object type="button">
2634 <placement x="%col1_x%" y="%row2_text_y%" />
2635 <font resource="font" color="%text_color%" />
2636 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2637 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2638 <text>Enable screen timeout.</text>
2639 <image resource="checkbox_false" />
2640 <action function="set">tw_screen_timeout_secs=60</action>
2641 </object>
2642
2643 <object type="button">
2644 <placement x="%col1_x%" y="%row2_text_y%" />
2645 <font resource="font" color="%text_color%" />
2646 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2647 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2648 <text>Enable screen timeout.</text>
2649 <image resource="checkbox_true" />
2650 <action function="set">tw_screen_timeout_secs=0</action>
2651 </object>
2652
2653 <object type="slidervalue">
2654 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2655 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2656 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2657 <font resource="font" color="%text_color%" />
2658 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2659 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2660 <text>Screen timeout in seconds:</text>
2661 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2662 </object>
2663
2664 <object type="slidervalue">
2665 <condition var1="tw_has_brightnesss_file" var2="1" />
2666 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2667 <font resource="font" color="%text_color%" />
2668 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2669 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2670 <text>Brightness: %tw_brightness_pct%%</text>
2671 <data variable="tw_brightness_pct" min="10" max="100" />
2672 <actions>
2673 <action function="set">tw_brightness=%tw_brightness_max%</action>
2674 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2675 <action function="compute">tw_brightness/100</action>
2676 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
2677 </actions>
2678 </object>
2679
2680 <object type="action">
2681 <touch key="home" />
2682 <action function="page">main</action>
2683 </object>
2684
2685 <object type="action">
2686 <touch key="back" />
2687 <action function="page">settings</action>
2688 </object>
2689
2690 <object type="template" name="footer" />
2691 </page>
2692
Ethan Yonker03db3262014-02-05 08:02:06 -06002693 <page name="Vibrate">
2694 <object type="template" name="header" />
2695
2696 <object type="text" color="%text_color%">
2697 <font resource="font" />
2698 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2699 <text>Vibration Settings :</text>
2700 </object>
2701
2702 <object type="slidervalue">
2703 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2704 <font resource="font" color="%text_color%" />
2705 <text>Button Vibration:</text>
2706 <data variable="tw_button_vibrate" min="0" max="300" />
2707 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2708 </object>
2709
2710 <object type="slidervalue">
2711 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2712 <font resource="font" color="%text_color%" />
2713 <text>Keyboard Vibration:</text>
2714 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2715 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2716 </object>
2717
2718 <object type="slidervalue">
2719 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2720 <font resource="font" color="%text_color%" />
2721 <text>Action Vibration:</text>
2722 <data variable="tw_action_vibrate" min="0" max="500" />
2723 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2724 </object>
2725
2726 <object type="action">
2727 <touch key="home" />
2728 <action function="page">main</action>
2729 </object>
2730
2731 <object type="action">
2732 <touch key="back" />
2733 <action function="page">settings</action>
2734 </object>
2735
2736 <object type="template" name="footer" />
2737 </page>
2738
Vojtech Bocek1239ee82013-09-04 16:51:33 +02002739 <page name="advanced">
2740 <object type="template" name="header" />
2741
2742 <object type="text" color="%text_color%">
2743 <font resource="font" />
2744 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2745 <text>Advanced</text>
2746 </object>
2747
2748 <object type="button">
2749 <highlight color="%highlight_color%" />
2750 <placement x="%col1_x%" y="%row1_y%" />
2751 <font resource="font" color="%button_text_color%" />
2752 <text>Copy Log to SD</text>
2753 <image resource="main_button" />
2754 <actions>
2755 <action function="set">tw_back=advanced</action>
2756 <action function="set">tw_action=copylog</action>
2757 <action function="set">tw_text1=Copy Log to SD Card?</action>
2758 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2759 <action function="set">tw_complete_text1=Log Copy Complete</action>
2760 <action function="set">tw_slider_text=Swipe to Confirm</action>
2761 <action function="page">confirm_action</action>
2762 </actions>
2763 </object>
2764
2765 <object type="button">
2766 <highlight color="%highlight_color%" />
2767 <placement x="%col2_x%" y="%row1_y%" />
2768 <font resource="font" color="%button_text_color%" />
2769 <text>Fix Permissions</text>
2770 <image resource="main_button" />
2771 <actions>
2772 <action function="set">tw_back=advanced</action>
2773 <action function="set">tw_action=fixpermissions</action>
2774 <action function="set">tw_text1=Fix Permissions?</action>
2775 <action function="set">tw_action_text1=Fixing Permissions...</action>
2776 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2777 <action function="set">tw_slider_text=Swipe to Confirm</action>
2778 <action function="set">tw_show_reboot=1</action>
2779 <action function="page">confirm_action</action>
2780 </actions>
2781 </object>
2782
2783 <object type="button">
2784 <highlight color="%highlight_color%" />
2785 <condition var1="tw_allow_partition_sdcard" var2="1" />
2786 <placement x="%col1_x%" y="%row2_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>Partition SD Card</text>
2789 <image resource="main_button" />
2790 <action function="page">partsdcard</action>
2791 </object>
2792
2793 <object type="button">
2794 <highlight color="%highlight_color%" />
2795 <placement x="%col2_x%" y="%row2_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>File Manager</text>
2798 <image resource="main_button" />
2799 <action function="page">filemanagerlist</action>
2800 </object>
2801
2802 <object type="button">
2803 <highlight color="%highlight_color%" />
2804 <placement x="%col1_x%" y="%row3_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Terminal Command</text>
2807 <image resource="main_button" />
2808 <action function="page">terminalfolder</action>
2809 </object>
2810
2811 <object type="button">
2812 <highlight color="%highlight_color%" />
2813 <placement x="%col2_x%" y="%row3_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>Reload Theme</text>
2816 <image resource="main_button" />
2817 <action function="reload"></action>
2818 </object>
2819
2820 <object type="button">
2821 <highlight color="%highlight_color%" />
2822 <placement x="%col1_x%" y="%row4_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>ADB Sideload</text>
2825 <image resource="main_button" />
2826 <action function="page">sideload</action>
2827 </object>
2828
2829 <object type="button">
2830 <highlight color="%highlight_color%" />
2831 <condition var1="tw_show_dumlock" var2="1" />
2832 <placement x="%col2_x%" y="%row4_y%" />
2833 <font resource="font" color="%button_text_color%" />
2834 <text>HTC Dumlock</text>
2835 <image resource="main_button" />
2836 <action function="page">htcdumlock</action>
2837 </object>
2838
2839 <object type="button">
2840 <highlight color="%highlight_color%" />
2841 <condition var1="tw_has_injecttwrp" var2="1" />
2842 <placement x="%col2_x%" y="%row4_y%" />
2843 <font resource="font" color="%button_text_color%" />
2844 <text>Re-Inject TWRP</text>
2845 <image resource="main_button" />
2846 <actions>
2847 <action function="set">tw_back=advanced</action>
2848 <action function="set">tw_action=reinjecttwrp</action>
2849 <action function="set">tw_text1=Re-Inject TWRP?</action>
2850 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2851 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2852 <action function="set">tw_slider_text=Swipe to Confirm</action>
2853 <action function="page">confirm_action</action>
2854 </actions>
2855 </object>
2856
2857 <object type="action">
2858 <touch key="home" />
2859 <action function="page">main</action>
2860 </object>
2861
2862 <object type="action">
2863 <touch key="back" />
2864 <action function="page">main</action>
2865 </object>
2866
2867 <object type="template" name="footer" />
2868 </page>
2869
2870 <page name="partsdcard">
2871 <object type="template" name="header" />
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2876 <text>Partition SD Card</text>
2877 </object>
2878
2879 <object type="button">
2880 <highlight color="%highlight_color%" />
2881 <placement x="%col1_x%" y="%row1_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="minus_button" />
2885 <action function="addsubtract">tw_sdext_size-128</action>
2886 </object>
2887
2888 <object type="button">
2889 <highlight color="%highlight_color%" />
2890 <placement x="%sd_plus_x%" y="%row1_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text></text>
2893 <image resource="plus_button" />
2894 <action function="addsubtract">tw_sdext_size+128</action>
2895 </object>
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2900 <text>EXT Size: %tw_sdext_size%</text>
2901 </object>
2902
2903 <object type="button">
2904 <highlight color="%highlight_color%" />
2905 <placement x="%col1_x%" y="%sdswap_button_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text></text>
2908 <image resource="minus_button" />
2909 <action function="addsubtract">tw_swap_size-32</action>
2910 </object>
2911
2912 <object type="button">
2913 <highlight color="%highlight_color%" />
2914 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2915 <font resource="font" color="%button_text_color%" />
2916 <text></text>
2917 <image resource="plus_button" />
2918 <action function="addsubtract">tw_swap_size+32</action>
2919 </object>
2920
2921 <object type="text" color="%text_color%">
2922 <font resource="font" />
2923 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2924 <text>Swap Size: %tw_swap_size%</text>
2925 </object>
2926
2927 <object type="text" color="%text_color%">
2928 <font resource="font" />
2929 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2930 <text>File system: %tw_sdpart_file_system%</text>
2931 </object>
2932
2933 <object type="button">
2934 <highlight color="%highlight_color%" />
2935 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2936 <font resource="font" color="%button_text_color%" />
2937 <text>EXT3</text>
2938 <image resource="main_button" />
2939 <action function="set">tw_sdpart_file_system=ext3</action>
2940 </object>
2941
2942 <object type="button">
2943 <highlight color="%highlight_color%" />
2944 <condition var1="tw_sdext_disable_ext4" var2="0" />
2945 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>EXT4</text>
2948 <image resource="main_button" />
2949 <action function="set">tw_sdpart_file_system=ext4</action>
2950 </object>
2951
2952 <object type="text" color="%text_color%">
2953 <font resource="font" />
2954 <placement x="%col1_x%" y="%row12_text_y%" />
2955 <text>You will lose all files on your SD card!</text>
2956 </object>
2957
2958 <object type="text" color="%text_color%">
2959 <font resource="font" />
2960 <placement x="%col1_x%" y="%row13_text_y%" />
2961 <text>This action cannot be undone!</text>
2962 </object>
2963
2964 <object type="slider">
2965 <placement x="%slider_x%" y="%slider_y%" />
2966 <resource base="slider" used="slider-used" touch="slider-touch" />
2967 <action function="page">partsdcardaction</action>
2968 <actions>
2969 <action function="set">tw_back=partsdcard</action>
2970 <action function="set">tw_action=partitionsd</action>
2971 <action function="set">tw_has_action2=1</action>
2972 <action function="set">tw_action2=set</action>
2973 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2974 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2975 <action function="set">tw_action_text2=This will take a few minutes.</action>
2976 <action function="set">tw_complete_text1=Partitioning Complete</action>
2977 <action function="page">action_page</action>
2978 </actions>
2979 </object>
2980
2981 <object type="text" color="%text_color%">
2982 <font resource="font" />
2983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2984 <text>Swipe to Partition</text>
2985 </object>
2986
2987 <object type="action">
2988 <touch key="home" />
2989 <action function="page">main</action>
2990 </object>
2991
2992 <object type="action">
2993 <touch key="back" />
2994 <action function="page">advanced</action>
2995 </object>
2996
2997 <object type="template" name="footer" />
2998 </page>
2999
3000 <page name="htcdumlock">
3001 <object type="template" name="header" />
3002
3003 <object type="text" color="%text_color%">
3004 <font resource="font" />
3005 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3006 <text>HTC Dumlock</text>
3007 </object>
3008
3009 <object type="button">
3010 <highlight color="%highlight_color%" />
3011 <condition var1="tw_show_dumlock" var2="1" />
3012 <placement x="%col1_x%" y="%row1_y%" />
3013 <font resource="font" color="%button_text_color%" />
3014 <text>Restore Original Boot</text>
3015 <image resource="main_button" />
3016 <actions>
3017 <action function="set">tw_back=htcdumlock</action>
3018 <action function="set">tw_action=htcdumlockrestoreboot</action>
3019 <action function="set">tw_text1=Restore original boot image?</action>
3020 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3021 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3022 <action function="set">tw_slider_text=Swipe to Confirm</action>
3023 <action function="page">confirm_action</action>
3024 </actions>
3025 </object>
3026
3027 <object type="button">
3028 <highlight color="%highlight_color%" />
3029 <condition var1="tw_show_dumlock" var2="1" />
3030 <placement x="%col2_x%" y="%row1_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>Reflash Recovery</text>
3033 <image resource="main_button" />
3034 <actions>
3035 <action function="set">tw_back=htcdumlock</action>
3036 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3037 <action function="set">tw_text1=Reflash recovery to boot?</action>
3038 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3039 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3040 <action function="set">tw_slider_text=Swipe to Confirm</action>
3041 <action function="page">confirm_action</action>
3042 </actions>
3043 </object>
3044
3045 <object type="button">
3046 <highlight color="%highlight_color%" />
3047 <condition var1="tw_show_dumlock" var2="1" />
3048 <placement x="%col1_x%" y="%row2_y%" />
3049 <font resource="font" color="%button_text_color%" />
3050 <text>Install HTC Dumlock</text>
3051 <image resource="main_button" />
3052 <actions>
3053 <action function="set">tw_back=htcdumlock</action>
3054 <action function="set">tw_action=installhtcdumlock</action>
3055 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3056 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3057 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3058 <action function="set">tw_slider_text=Swipe to Confirm</action>
3059 <action function="page">confirm_action</action>
3060 </actions>
3061 </object>
3062
3063 <object type="action">
3064 <touch key="home" />
3065 <action function="page">main</action>
3066 </object>
3067
3068 <object type="action">
3069 <touch key="back" />
3070 <action function="page">advanced</action>
3071 </object>
3072
3073 <object type="template" name="footer" />
3074 </page>
3075
3076 <page name="lock">
3077 <background color="#000000A0" />
3078
3079 <object type="image">
3080 <image resource="unlock-icon" />
3081 <placement x="%lock_x%" y="%lock_y%" />
3082 </object>
3083
3084 <object type="slider">
3085 <placement x="%slider_x%" y="%slider_y%" />
3086 <resource base="slider" used="slider-used" touch="slider-touch" />
3087 <action function="overlay"></action>
3088 </object>
3089
3090 <object type="text" color="%text_color%">
3091 <font resource="font" />
3092 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3093 <text>Swipe to Unlock</text>
3094 </object>
3095 </page>
3096
3097 <page name="filemanagerlist">
3098 <object type="template" name="header" />
3099
3100 <object type="text" color="%text_color%">
3101 <font resource="font" />
3102 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3103 <text>File Manager: Select a File or Folder</text>
3104 </object>
3105
3106 <object type="fileselector">
3107 <highlight color="%fileselector_highlight_color%" />
3108 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3109 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3110 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3111 <text>%tw_file_location1%</text>
3112 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3113 <sort name="tw_gui_sort_order" />
3114 <icon folder="folder_icon" file="file_icon" />
3115 <background color="%fileselector_background%" />
3116 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3117 <folders="1" files="1" />
3118 <path name="tw_file_location1" default="/" />
3119 <data name="tw_filename1" />
3120 <selection name="tw_selection1" />
3121 </object>
3122
3123 <object type="template" name="sort_options" />
3124
3125 <object type="action">
3126 <actions>
3127 <action function="set">tw_fm_type=File</action>
3128 <action function="set">tw_fm_isfolder=0</action>
3129 </actions>
3130 </object>
3131
3132 <object type="action">
3133 <touch key="home" />
3134 <action function="page">main</action>
3135 </object>
3136
3137 <object type="action">
3138 <touch key="back" />
3139 <action function="page">advanced</action>
3140 </object>
3141
3142 <object type="action">
3143 <condition var1="tw_filename1" op="modified" />
3144 <actions>
3145 <action function="page">filemanageroptions</action>
3146 </actions>
3147 </object>
3148
3149 <object type="button">
3150 <highlight color="%highlight_color%" />
3151 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Select</text>
3154 <image resource="medium_button" />
3155 <actions>
3156 <action function="set">tw_filename1=tw_file_location1</action>
3157 <action function="set">tw_fm_isfolder=1</action>
3158 <action function="set">tw_fm_type=Folder</action>
3159 <action function="page">filemanageroptions</action>
3160 </actions>
3161 </object>
3162
3163 <object type="template" name="footer" />
3164 </page>
3165
3166 <page name="filemanageroptions">
3167 <object type="template" name="header" />
3168
3169 <object type="text" color="%text_color%">
3170 <font resource="font" />
3171 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3172 <text>%tw_fm_type% Selected:</text>
3173 </object>
3174
3175 <object type="text" color="%text_color%">
3176 <font resource="font" />
3177 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3178 <text>%tw_filename1%</text>
3179 </object>
3180
3181 <object type="button">
3182 <highlight color="%highlight_color%" />
3183 <condition var1="tw_fm_isfolder" var2="0" />
3184 <placement x="%col1_x%" y="%row2_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Copy File</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_command=cp</action>
3190 <action function="set">tw_fm_text1=Copying</action>
3191 <action function="page">choosedestinationfolder</action>
3192 </actions>
3193 </object>
3194
3195 <object type="button">
3196 <highlight color="%highlight_color%" />
3197 <condition var1="tw_fm_isfolder" var2="1" />
3198 <placement x="%col1_x%" y="%row2_y%" />
3199 <font resource="font" color="%button_text_color%" />
3200 <text>Copy Folder</text>
3201 <image resource="main_button" />
3202 <actions>
3203 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3204 <action function="set">tw_fm_text1=Copying</action>
3205 <action function="page">choosedestinationfolder</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
3210 <highlight color="%highlight_color%" />
3211 <placement x="%col2_x%" y="%row2_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text>Move</text>
3214 <image resource="main_button" />
3215 <actions>
3216 <action function="set">tw_filemanager_command=mv</action>
3217 <action function="set">tw_fm_text1=Moving</action>
3218 <action function="page">choosedestinationfolder</action>
3219 </actions>
3220 </object>
3221
3222 <object type="button">
3223 <highlight color="%highlight_color%" />
3224 <placement x="%col1_x%" y="%row3_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>chmod 755</text>
3227 <image resource="main_button" />
3228 <actions>
3229 <action function="set">tw_filemanager_command=chmod 755</action>
3230 <action function="set">tw_fm_text1=chmod 755</action>
3231 <action function="set">tw_fm_text2=</action>
3232 <action function="set">tw_fm_text3=</action>
3233 <action function="set">tw_include_text3=0</action>
3234 <action function="set">tw_back=filemanageroptions</action>
3235 <action function="page">filemanagerconfirm</action>
3236 </actions>
3237 </object>
3238
3239 <object type="button">
3240 <highlight color="%highlight_color%" />
3241 <placement x="%col2_x%" y="%row3_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>chmod</text>
3244 <image resource="main_button" />
3245 <actions>
3246 <action function="set">tw_filemanager_rename=0000</action>
3247 <action function="set">tw_fm_text2=</action>
3248 <action function="set">tw_fm_text3=</action>
3249 <action function="set">tw_include_text3=0</action>
3250 <action function="set">tw_back=filemanageroptions</action>
3251 <action function="page">filemanagerchmod</action>
3252 </actions>
3253 </object>
3254
3255 <object type="button">
3256 <highlight color="%highlight_color%" />
3257 <placement x="%col1_x%" y="%row4_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text>Delete</text>
3260 <image resource="main_button" />
3261 <actions>
3262 <action function="set">tw_filemanager_command=rm -rf</action>
3263 <action function="set">tw_fm_text1=Deleting</action>
3264 <action function="set">tw_fm_text2=</action>
3265 <action function="set">tw_fm_text3=</action>
3266 <action function="set">tw_include_text3=0</action>
3267 <action function="set">tw_back=filemanageroptions</action>
3268 <action function="page">filemanagerconfirm</action>
3269 </actions>
3270 </object>
3271
3272 <object type="button">
3273 <highlight color="%highlight_color%" />
3274 <condition var1="tw_fm_isfolder" var2="0" />
3275 <placement x="%col2_x%" y="%row4_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>Rename File</text>
3278 <image resource="main_button" />
3279 <actions>
3280 <action function="set">tw_filemanager_rename=tw_selection1</action>
3281 <action function="set">tw_fm_text1=Renaming</action>
3282 <action function="set">tw_filemanager_command=mv</action>
3283 <action function="page">filemanagerrenamefile</action>
3284 </actions>
3285 </object>
3286
3287 <object type="button">
3288 <highlight color="%highlight_color%" />
3289 <condition var1="tw_fm_isfolder" var2="1" />
3290 <placement x="%col2_x%" y="%row4_y%" />
3291 <font resource="font" color="%button_text_color%" />
3292 <text>Rename Folder</text>
3293 <image resource="main_button" />
3294 <actions>
3295 <action function="set">tw_filemanager_rename=tw_selection1</action>
3296 <action function="set">tw_fm_text1=Renaming</action>
3297 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3298 <action function="page">filemanagerrenamefolder</action>
3299 </actions>
3300 </object>
3301
3302 <object type="action">
3303 <touch key="home" />
3304 <action function="page">main</action>
3305 </object>
3306
3307 <object type="action">
3308 <touch key="back" />
3309 <action function="page">filemanagerlist</action>
3310 </object>
3311
3312 <object type="template" name="footer" />
3313 </page>
3314
3315 <page name="choosedestinationfolder">
3316 <object type="template" name="header" />
3317
3318 <object type="text" color="%text_color%">
3319 <font resource="font" />
3320 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3321 <text>Browse to Destination Folder & Press Select</text>
3322 </object>
3323
3324 <object type="fileselector">
3325 <highlight color="%fileselector_highlight_color%" />
3326 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3327 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3328 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3329 <text>%tw_file_location2%</text>
3330 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3331 <sort name="tw_gui_sort_order" />
3332 <icon folder="folder_icon" file="file_icon" />
3333 <background color="%fileselector_background%" />
3334 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3335 <filter folders="1" files="0" />
3336 <path name="tw_file_location2" default="/" />
3337 <data name="tw_filename2" />
3338 <selection name="tw_selection2" />
3339 </object>
3340
3341 <object type="template" name="sort_options" />
3342
3343 <object type="action">
3344 <touch key="home" />
3345 <action function="page">main</action>
3346 </object>
3347
3348 <object type="action">
3349 <touch key="back" />
3350 <action function="page">filemanageroptions</action>
3351 </object>
3352
3353 <object type="button">
3354 <highlight color="%highlight_color%" />
3355 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3356 <font resource="font" color="%button_text_color%" />
3357 <text>Select</text>
3358 <image resource="medium_button" />
3359 <actions>
3360 <action function="set">tw_fm_text2=to</action>
3361 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3362 <action function="set">tw_include_text3=1</action>
3363 <action function="set">tw_back=filemanageroptions</action>
3364 <action function="page">filemanagerconfirm</action>
3365 </actions>
3366 </object>
3367
3368 <object type="template" name="footer" />
3369 </page>
3370
3371 <page name="filemanagerrenamefile">
3372 <object type="template" name="header" />
3373
3374 <object type="text" color="%text_color%">
3375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3376 <font resource="font" />
3377 <text>Please Enter a New %tw_fm_type% Name</text>
3378 </object>
3379
3380 <object type="input">
3381 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3382 <background color="%input_background_color%" />
3383 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3384 <font resource="font" color="%text_color%" />
3385 <text>%tw_filemanager_rename%</text>
3386 <data name="tw_filemanager_rename" />
3387 <restrict minlen="1" maxlen="128" />
3388 <actions>
3389 <action function="set">tw_fm_text2=to</action>
3390 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3391 <action function="set">tw_include_text3=1</action>
3392 <action function="set">tw_back=filemanageroptions</action>
3393 <action function="page">filemanagerconfirm</action>
3394 </actions>
3395 </object>
3396
3397 <object type="button">
3398 <highlight color="%highlight_color%" />
3399 <placement x="%col_center_x%" y="%row2_y%" />
3400 <font resource="font" color="%button_text_color%" />
3401 <text>Cancel</text>
3402 <image resource="main_button" />
3403 <action function="page">filemanageroptions</action>
3404 </object>
3405
3406 <object type="template" name="keyboardtemplate" />
3407
3408 <object type="action">
3409 <touch key="home" />
3410 <action function="page">main</action>
3411 </object>
3412
3413 <object type="action">
3414 <touch key="back" />
3415 <action function="page">filemanageroptions</action>
3416 </object>
3417
3418 <object type="template" name="footer" />
3419 </page>
3420
3421 <page name="filemanagerrenamefolder">
3422 <object type="template" name="header" />
3423
3424 <object type="text" color="%text_color%">
3425 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3426 <font resource="font" />
3427 <text>Please Enter a New %tw_fm_type% Name</text>
3428 </object>
3429
3430 <object type="input">
3431 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3432 <background color="%input_background_color%" />
3433 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3434 <font resource="font" color="%text_color%" />
3435 <text>%tw_filemanager_rename%</text>
3436 <data name="tw_filemanager_rename" />
3437 <restrict minlen="1" maxlen="128" />
3438 <actions>
3439 <action function="set">tw_fm_text2=to</action>
3440 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3441 <action function="set">tw_include_text3=1</action>
3442 <action function="set">tw_back=filemanageroptions</action>
3443 <action function="page">filemanagerconfirm</action>
3444 </actions>
3445 </object>
3446
3447 <object type="button">
3448 <highlight color="%highlight_color%" />
3449 <placement x="%col_center_x%" y="%row2_y%" />
3450 <font resource="font" color="%button_text_color%" />
3451 <text>Cancel</text>
3452 <image resource="main_button" />
3453 <action function="page">filemanageroptions</action>
3454 </object>
3455
3456 <object type="template" name="keyboardtemplate" />
3457
3458 <object type="action">
3459 <touch key="home" />
3460 <action function="page">main</action>
3461 </object>
3462
3463 <object type="action">
3464 <touch key="back" />
3465 <action function="page">filemanageroptions</action>
3466 </object>
3467
3468 <object type="template" name="footer" />
3469 </page>
3470
3471 <page name="filemanagerchmod">
3472 <object type="template" name="header" />
3473
3474 <object type="text" color="%text_color%">
3475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3476 <font resource="font" />
3477 <text>Please Enter New Permissions</text>
3478 </object>
3479
3480 <object type="input">
3481 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3482 <background color="%input_background_color%" />
3483 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3484 <font resource="font" color="%text_color%" />
3485 <text>%tw_filemanager_rename%</text>
3486 <data name="tw_filemanager_rename" />
3487 <restrict minlen="3" maxlen="4" allow="0123456789" />
3488 <actions>
3489 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3490 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3491 <action function="set">tw_back=filemanageroptions</action>
3492 <action function="page">filemanagerconfirm</action>
3493 </actions>
3494 </object>
3495
3496 <object type="button">
3497 <highlight color="%highlight_color%" />
3498 <placement x="%col_center_x%" y="%row2_y%" />
3499 <font resource="font" color="%button_text_color%" />
3500 <text>Cancel</text>
3501 <image resource="main_button" />
3502 <action function="page">filemanageroptions</action>
3503 </object>
3504
3505 <object type="template" name="keyboardtemplate" />
3506
3507 <object type="action">
3508 <touch key="home" />
3509 <action function="page">main</action>
3510 </object>
3511
3512 <object type="action">
3513 <touch key="back" />
3514 <action function="page">filemanageroptions</action>
3515 </object>
3516
3517 <object type="template" name="footer" />
3518 </page>
3519
3520 <page name="filemanagerconfirm">
3521 <object type="template" name="header" />
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3526 <text>%tw_fm_text1%</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3532 <text>%tw_filename1%</text>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3538 <text>%tw_fm_text2%</text>
3539 </object>
3540
3541 <object type="text" color="%text_color%">
3542 <font resource="font" />
3543 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3544 <text>%tw_fm_text3%</text>
3545 </object>
3546
3547 <object type="text" color="%text_color%">
3548 <font resource="font" />
3549 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3550 <text>Press back button to cancel.</text>
3551 </object>
3552
3553 <object type="slider">
3554 <placement x="%slider_x%" y="%slider_y%" />
3555 <resource base="slider" used="slider-used" touch="slider-touch" />
3556 <action function="page">filemanageracction</action>
3557 </object>
3558
3559 <object type="text" color="%text_color%">
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3562 <text>Swipe to Confirm</text>
3563 </object>
3564
3565 <object type="action">
3566 <touch key="back" />
3567 <action function="page">%tw_back%</action>
3568 </object>
3569
3570 <object type="action">
3571 <touch key="home" />
3572 <action function="page">main</action>
3573 </object>
3574
3575 <object type="template" name="footer" />
3576 </page>
3577
3578 <page name="filemanageracction">
3579 <object type="template" name="header" />
3580
3581 <object type="text" color="%text_color%">
3582
3583 <font resource="font" />
3584 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3585 <text>%tw_fm_text1%</text>
3586 </object>
3587
3588 <object type="template" name="action_page_console" />
3589
3590 <object type="template" name="progress_bar" />
3591
3592 <object type="action">
3593 <conditions>
3594 <condition var1="tw_operation_state" var2="1" />
3595 <condition var1="tw_operation_status" var2="0" />
3596 </conditions>
3597 <actions>
3598 <action function="set">tw_back=filemanagerlist</action>
3599 <action function="set">tw_complete_text1=File Operation Complete</action>
3600 <action function="page">action_complete</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <conditions>
3606 <condition var1="tw_operation_state" var2="1" />
3607 <condition var1="tw_operation_status" op="!=" var2="0" />
3608 </conditions>
3609 <actions>
3610 <action function="set">tw_complete_text1=File Operation Complete</action>
3611 <action function="page">action_complete</action>
3612 </actions>
3613 </object>
3614
3615 <object type="action">
3616 <condition var1="tw_include_text3" var2="0" />
3617 <actions>
3618 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3619 </actions>
3620 </object>
3621
3622 <object type="action">
3623 <condition var1="tw_include_text3" var2="1" />
3624 <actions>
3625 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3626 </actions>
3627 </object>
3628 </page>
3629
3630 <page name="decrypt">
3631 <object type="template" name="header" />
3632
3633 <object type="text" color="%text_color%">
3634 <font resource="font" />
3635 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3636 <text>Please Enter Your Password</text>
3637 </object>
3638
3639 <object type="input">
3640 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3641 <background color="%input_background_color%" />
3642 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3643 <font resource="font" color="%text_color%" />
3644 <text>%tw_crypto_display%</text>
3645 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3646 <restrict minlen="1" maxlen="254" />
3647 <actions>
3648 <action function="page">trydecrypt</action>
3649 </actions>
3650 </object>
3651
3652 <object type="text" color="%text_fail_color%">
3653 <condition var1="tw_password_fail" var2="1" />
3654 <font resource="font" />
3655 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3656 <text>Password Failed, Please Try Again</text>
3657 </object>
3658
3659 <object type="button">
3660 <highlight color="%highlight_color%" />
3661 <placement x="%col_center_x%" y="%row2_y%" />
3662 <font resource="font" color="%button_text_color%" />
3663 <text>Cancel</text>
3664 <image resource="main_button" />
3665 <actions>
3666 <action function="set">tw_page_done=1</action>
3667 <action function="page">main</action>
3668 </actions>
3669 </object>
3670
3671 <object type="template" name="keyboardtemplate" />
3672
3673 <object type="template" name="footer" />
3674 </page>
3675
3676 <page name="trydecrypt">
3677 <object type="template" name="header" />
3678
3679 <object type="text" color="%text_color%">
3680 <font resource="font" />
3681 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3682 <text>Trying Decryption with Your Password</text>
3683 </object>
3684
3685 <object type="template" name="action_page_console" />
3686
3687 <object type="template" name="progress_bar" />
3688
3689 <object type="action">
3690 <action function="decrypt"></action>
3691 </object>
3692
3693 <object type="action">
3694 <conditions>
3695 <condition var1="tw_operation_state" var2="1" />
3696 <condition var1="tw_operation_status" op="!=" var2="0" />
3697 </conditions>
3698 <actions>
3699 <action function="set">tw_password_fail=1</action>
3700 <action function="page">decrypt</action>
3701 </actions>
3702 </object>
3703
3704 <object type="action">
3705 <conditions>
3706 <condition var1="tw_operation_state" var2="1" />
3707 <condition var1="tw_operation_status" op="=" var2="0" />
3708 </conditions>
3709 <actions>
3710 <action function="set">tw_page_done=1</action>
3711 <action function="page">main</action>
3712 </actions>
3713 </object>
3714 </page>
3715
3716 <page name="terminalfolder">
3717 <object type="template" name="header" />
3718
3719 <object type="text" color="%text_color%">
3720 <font resource="font" />
3721 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3722 <text>Browse to Starting Folder</text>
3723 </object>
3724
3725 <object type="fileselector">
3726 <highlight color="%fileselector_highlight_color%" />
3727 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3728 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3729 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3730 <text>%tw_terminal_location%</text>
3731 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3732 <sort name="tw_gui_sort_order" />
3733 <icon folder="folder_icon" file="file_icon" />
3734 <background color="%fileselector_background%" />
3735 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3736 <filter folders="1" files="0" />
3737 <path name="tw_terminal_location" default="/" />
3738 <data name="tw_terminal" />
3739 <selection name="tw_terminal_selection" />
3740 </object>
3741
3742 <object type="template" name="sort_options" />
3743
3744 <object type="action">
3745 <touch key="home" />
3746 <action function="page">main</action>
3747 </object>
3748
3749 <object type="action">
3750 <touch key="back" />
3751 <action function="page">advanced</action>
3752 </object>
3753
3754 <object type="button">
3755 <highlight color="%highlight_color%" />
3756 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3757 <font resource="font" color="%button_text_color%" />
3758 <text>Select</text>
3759 <image resource="medium_button" />
3760 <actions>
3761 <action function="page">terminalcommand</action>
3762 </actions>
3763 </object>
3764
3765 <object type="template" name="footer" />
3766 </page>
3767
3768 <page name="terminalcommand">
3769 <object type="template" name="header" />
3770
3771 <object type="console">
3772 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3773 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3774 <font resource="fixed" />
3775 </object>
3776
3777 <object type="text" color="%text_color%">
3778 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3779 <font resource="font" />
3780 <text>Starting Path: %tw_terminal_location%</text>
3781 </object>
3782
3783 <object type="input">
3784 <condition var1="tw_terminal_state" var2="0" />
3785 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3786 <background color="%input_background_color%" />
3787 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3788 <font resource="font" color="%text_color%" />
3789 <text>%tw_terminal_command%</text>
3790 <data name="tw_terminal_command" />
3791 <restrict minlen="1" />
3792 <action function="terminalcommand">%tw_terminal_command%</action>
3793 </object>
3794
3795 <object type="button">
3796 <highlight color="%highlight_color%" />
3797 <condition var1="tw_terminal_state" var2="1" />
3798 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3799 <font resource="font" color="%button_text_color%" />
3800 <text>KILL</text>
3801 <image resource="medium_button" />
3802 <action function="killterminal"></action>
3803 </object>
3804
3805 <object type="template" name="keyboardtemplate" />
3806
3807 <object type="action">
3808 <touch key="home" />
3809 <action function="page">main</action>
3810 </object>
3811
3812 <object type="action">
3813 <touch key="back" />
3814 <action function="page">terminalfolder</action>
3815 </object>
3816 </page>
3817
3818 <page name="sideload">
3819 <object type="template" name="header" />
3820
3821 <object type="text" color="%text_color%">
3822 <font resource="font" />
3823 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3824 <text>ADB Sideload</text>
3825 </object>
3826
3827 <object type="checkbox">
3828 <placement x="%col1_x%" y="%row2_text_y%" />
3829 <font resource="font" color="%text_color%" />
3830 <text>Wipe Dalvik Cache.</text>
3831 <data variable="tw_wipe_dalvik" />
3832 <image checked="checkbox_true" unchecked="checkbox_false" />
3833 </object>
3834
3835 <object type="checkbox">
3836 <placement x="%col1_x%" y="%row3_text_y%" />
3837 <font resource="font" color="%text_color%" />
3838 <text>Wipe Cache.</text>
3839 <data variable="tw_wipe_cache" />
3840 <image checked="checkbox_true" unchecked="checkbox_false" />
3841 </object>
3842
3843 <object type="slider">
3844 <placement x="%slider_x%" y="%slider_y%" />
3845 <resource base="slider" used="slider-used" touch="slider-touch" />
3846 <actions>
3847 <action function="set">tw_back=advanced</action>
3848 <action function="set">tw_action=adbsideload</action>
3849 <action function="set">tw_action_text1=ADB Sideload</action>
3850 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3851 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3852 <action function="set">tw_has_cancel=1</action>
3853 <action function="set">tw_show_reboot=1</action>
3854 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3855 <action function="page">action_page</action>
3856 </actions>
3857 </object>
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3862 <text>Swipe to Start Sideload</text>
3863 </object>
3864
3865 <object type="action">
3866 <touch key="home" />
3867 <action function="page">main</action>
3868 </object>
3869
3870 <object type="action">
3871 <touch key="back" />
3872 <action function="page">advanced</action>
3873 </object>
3874
3875 <object type="template" name="footer" />
3876 </page>
3877
3878 <page name="installsu">
3879 <object type="template" name="header" />
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3884 <text>Install SuperSU?</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3890 <text>Your device does not appear to be rooted.</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3896 <text>Install SuperSU now?</text>
3897 </object>
3898
3899 <object type="text" color="%text_color%">
3900 <font resource="font" />
3901 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3902 <text>This will root your device.</text>
3903 </object>
3904
3905 <object type="button">
3906 <highlight color="%highlight_color%" />
3907 <placement x="%col_center_x%" y="%row3_y%" />
3908 <font resource="font" color="%button_text_color%" />
3909 <text>Do Not Install</text>
3910 <image resource="main_button" />
3911 <action function="set">tw_page_done=1</action>
3912 </object>
3913
3914 <object type="slider">
3915 <placement x="%slider_x%" y="%slider_y%" />
3916 <resource base="slider" used="slider-used" touch="slider-touch" />
3917 <actions>
3918 <action function="set">tw_action=installsu</action>
3919 <action function="set">tw_action_text1=Installing SuperSU</action>
3920 <action function="set">tw_action_text2=</action>
3921 <action function="page">singleaction_page</action>
3922 </actions>
3923 </object>
3924
3925 <object type="text" color="%text_color%">
3926 <font resource="font" />
3927 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3928 <text>Swipe to Install</text>
3929 </object>
3930 </page>
3931 </pages>
3932</recovery>