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