blob: 2497e4ce0c34ad4c32c28bd45f0f8e587acd49ed [file] [log] [blame]
Matt Mower05aa1352014-04-02 04:22:34 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1600" height="2560" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-40" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-40" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 <resource name="cursor" type="image" filename="cursor" />
43 </resources>
44
45 <variables>
46 <variable name="col1_x" value="13" />
47 <variable name="col2_x" value="830" />
48 <variable name="col_center_x" value="422" />
49 <variable name="col_center_medium_x" value="629" />
50 <variable name="center_x" value="798" />
51 <variable name="row1_y" value="339" />
52 <variable name="row2_y" value="818" />
53 <variable name="row3_y" value="1297" />
54 <variable name="row4_y" value="1776" />
55
56 <!-- these two are unused? -->
57 <variable name="col1_center_x" value="238" />
58 <variable name="col2_center_x" value="734" />
59
60 <variable name="row1_text2_y" value="412" />
61 <variable name="row2_text2_y" value="732" />
62 <variable name="row_queue_y" value="1516" />
63 <variable name="row1_header_y" value="239" />
64 <variable name="row1_text_y" value="339" />
65 <variable name="row2_text_y" value="439" />
66 <variable name="row3_text_y" value="539" />
67 <variable name="row4_text_y" value="638" />
68 <variable name="row5_text_y" value="738" />
69 <variable name="row6_text_y" value="838" />
70 <variable name="row7_text_y" value="938" />
71 <variable name="row8_text_y" value="1037" />
72 <variable name="row9_text_y" value="1137" />
73 <variable name="row10_text_y" value="1237" />
74 <variable name="row11_text_y" value="1337" />
75 <variable name="row12_text_y" value="1436" />
76 <variable name="row13_text_y" value="1536" />
77 <variable name="row14_text_y" value="1636" />
78 <variable name="row15_text_y" value="1736" />
79 <variable name="row16_text_y" value="1835" />
80 <variable name="row17_text_y" value="1935" />
81 <variable name="row18_text_y" value="2035" />
82 <variable name="zip_status_y" value="1226" />
83 <variable name="tz_selected_y" value="319" />
84 <variable name="tz_set_y" value="1995" />
85 <variable name="tz_current_y" value="1895" />
86 <variable name="col_progressbar_x" value="547" />
87 <variable name="row_progressbar_y" value="2195" />
88 <variable name="col1_medium_x" value="13" />
89 <variable name="col2_medium_x" value="423" />
90 <variable name="col3_medium_x" value="833" />
91 <variable name="col4_medium_x" value="1242" />
92 <variable name="row1_medium_y" value="259" />
93 <variable name="row2_medium_y" value="459" />
94 <variable name="row3_medium_y" value="521" />
95 <variable name="row4_medium_y" value="858" />
96 <variable name="row5_medium_y" value="1057" />
97 <variable name="row6_medium_y" value="1676" />
98 <variable name="row7_medium_y" value="971" />
99 <variable name="slider_x" value="324" />
100 <variable name="slider_y" value="2125" />
101 <variable name="slider_text_y" value="2229" />
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" />
107 <variable name="caps_highlight_color" value="#33B5E580" />
108 <variable name="home_button_x" value="13" />
109 <variable name="home_button_y" value="2446" />
110 <variable name="back_button_x" value="1415" />
111 <variable name="back_button_y" value="2446" />
112 <variable name="sort_text_x" value="13" />
113 <variable name="sort_asc_text_y" value="2175" />
114 <variable name="sort_asc_button_y" value="2155" />
115 <variable name="sort_desc_text_y" value="2294" />
116 <variable name="sort_desc_button_y" value="2274" />
117 <variable name="sort_col1_button_x" value="519" />
118 <variable name="sort_col2_button_x" value="718" />
119 <variable name="sort_col3_button_x" value="918" />
120 <variable name="input_width" value="1569" />
121 <variable name="input_height" value="100" />
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="1600" />
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="938" />
131 <variable name="console_install_height" value="1200" />
132 <variable name="console_installdone_height" value="1169" />
133 <variable name="fileselector_x" value="7" />
134 <variable name="fileselector_width" value="1583" />
135 <variable name="fileselector_install_height" value="1556" />
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="5" />
140 <variable name="fileselector_separatorcolor" value="#505050" />
141 <variable name="fileselector_separatorheight" value="4" />
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="64" />
146 <variable name="fastscroll_linecolor" value="#808080" />
147 <variable name="fastscroll_rectcolor" value="#808080" />
148 <variable name="fastscroll_w" value="120" />
149 <variable name="fastscroll_linew" value="4" />
150 <variable name="fastscroll_rectw" value="80" />
151 <variable name="fastscroll_recth" value="140" />
152 <variable name="listbox_x" value="7" />
153 <variable name="listbox_width" value="1583" />
154 <variable name="listbox_tz_height" value="1177" />
155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="62" />
157 <variable name="sd_plus_x" value="698" />
158 <variable name="sdext_text_x" value="219" />
159 <variable name="sdext_text_y" value="360" />
160 <variable name="sdswap_button_y" value="519" />
161 <variable name="sdswap_text_x" value="220" />
162 <variable name="sdswap_text_y" value="539" />
163 <variable name="sdfilesystem_text_y" value="678" />
164 <variable name="sdfilesystem_button_y" value="758" />
165 <variable name="lock_x" value="480" />
166 <variable name="lock_y" value="800" />
167 <variable name="filemanager_select_x" value="1117" />
168 <variable name="filemanager_select_y" value="2155" />
169 <variable name="backup_name_y" value="1097" />
170 <variable name="terminal_console_height" value="1303" />
171 <variable name="terminal_text_y" value="1363" />
172 <variable name="terminal_button_y" value="1397" />
173 <variable name="row_dst_text_y" value="1436" />
174 <variable name="row_offset_text_y" value="1536" />
175 <variable name="row_offset_medium_y" value="1676" />
176 <variable name="button_fill_color" value="#303030" />
177 <variable name="button_fill_full_width" value="1569" />
178 <variable name="button_fill_main_width" value="751" />
179 <variable name="button_fill_main_height" value="431" />
180 <variable name="button_fill_half_height" value="216" />
181 <variable name="button_fill_quarter_height" value="108" />
182 <variable name="backup_list_height" value="1037" />
183 <variable name="backup_button_row1" value="1487" />
184 <variable name="backup_button_row2" value="1623" />
185 <variable name="mount_list_height" value="1377" />
186 <variable name="mount_storage_row" value="1649" />
187 <variable name="storage_list_height" value="1330" />
188 <variable name="wipe_list_height" value="1736" />
189 <variable name="wipe_button_y" value="1298" />
190 <variable name="slidervalue_w" value="1569" />
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
199 <mousecursor>
200 <placement w="15" h="15" />
201 <background color="#FFFF00FF" resource="cursor" />
202 <speed multiplier="2.5" />
203 </mousecursor>
204
205 <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="239" y="20" />
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="239" y="80" />
224 <text>SIMULATING ACTIONS</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="239" y="132" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <font resource="font" />
235 <placement x="539" y="132" />
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="1600" h="938" />
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="718" y="2448" />
364 <placement x="%console_x%" y="0" w="%console_width%" h="2448" />
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="1487" />
373 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
374 <highlight color="%highlight_color%" />
375 <capshighlight color="%caps_highlight_color%" />
376 <layout1>
377 <keysize height="238" width="160" />
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="238: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="238:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="238:c:8" />
381 <row4 key01="238:layout3" key02="160:c:47" key03="800: " key04="." key05="238:action" />
382 </layout1>
383 <layout2>
384 <keysize height="238" width="160" capslock="0" revert_layout="1" />
385 <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="238: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="238:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="238:c:8" />
388 <row4 key01="238:layout3" key02="160:c:47" key03="800: " key04="." key05="238:action" />
389 </layout2>
390 <layout3>
391 <keysize height="238" width="160" />
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="238:layout4" key02="!" key03="160:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="238:c:8" />
395 <row4 key01="238:layout1" key02="," key03="800: " key04="." key05="238:action" />
396 </layout3>
397 <layout4>
398 <keysize height="238" width="160" />
399 <row1 key01="~" key02="`" key03="|" key04="160:" key05="160:" key06="160:" key07="%" key08="160:" key09="{" key10="}" />
400 <row2 key01="160:" key02="160:" key03="160:" key04="160:" key05="160:" key06="^" key07="_" key08="=" key09="[" key10="]" />
401 <row3 key01="238:layout3" key02="160:" key03="160:" key04="160:" key05="160:" key06="\" key07="<" key08=">" key09="238:c:8" />
402 <row4 key01="238:layout1" key02="160:c:34" key03="800: " key04="." key05="238:action" />
403 </layout4>
404 </object>
405 </template>
406
407
408 </templates>
409
410 <pages>
411 <page name="main">
412 <object type="action">
413 <actions>
414 <action function="set">tw_clear_destination=main2</action>
415 <action function="page">clear_vars</action>
416 </actions>
417 </object>
418 </page>
419
420 <page name="main2">
421 <object type="template" name="header" />
422
423 <object type="button">
424 <highlight color="%highlight_color%" />
425 <placement x="%col1_x%" y="%row1_y%" />
426 <font resource="font" color="%button_text_color%" />
427 <text>Install</text>
428 <image resource="main_button" />
429 <actions>
430 <action function="queueclear"></action>
431 <action function="page">install</action>
432 </actions>
433 </object>
434
435 <object type="button">
436 <highlight color="%highlight_color%" />
437 <placement x="%col2_x%" y="%row1_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Wipe</text>
440 <image resource="main_button" />
441 <action function="page">wipe</action>
442 </object>
443
444 <object type="button">
445 <highlight color="%highlight_color%" />
446 <placement x="%col1_x%" y="%row2_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Backup</text>
449 <image resource="main_button" />
450 <action function="page">backup</action>
451 </object>
452
453 <object type="button">
454 <highlight color="%highlight_color%" />
455 <placement x="%col2_x%" y="%row2_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Restore</text>
458 <image resource="main_button" />
459 <action function="page">restore</action>
460 </object>
461
462 <object type="button">
463 <highlight color="%highlight_color%" />
464 <placement x="%col1_x%" y="%row3_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Mount</text>
467 <image resource="main_button" />
468 <action function="page">mount</action>
469 </object>
470
471 <object type="button">
472 <highlight color="%highlight_color%" />
473 <placement x="%col2_x%" y="%row3_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Settings</text>
476 <image resource="main_button" />
477 <action function="page">settings</action>
478 </object>
479
480
481 <object type="button">
482 <highlight color="%highlight_color%" />
483 <placement x="%col1_x%" y="%row4_y%" />
484 <font resource="font" color="%button_text_color%" />
485 <text>Advanced</text>
486 <image resource="main_button" />
487 <action function="page">advanced</action>
488 </object>
489
490 <object type="button">
491 <highlight color="%highlight_color%" />
492 <placement x="%col2_x%" y="%row4_y%" />
493 <font resource="font" color="%button_text_color%" />
494 <text>Reboot</text>
495 <image resource="main_button" />
496 <action function="page">reboot</action>
497 </object>
498
499 <object type="template" name="footer" />
500 </page>
501
502 <page name="install">
503 <object type="template" name="header" />
504
505 <object type="text" color="%text_color%">
506 <font resource="font" />
507 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
508 <text>Select Zip to Install</text>
509 </object>
510
511 <object type="button">
512 <highlight color="%highlight_color%" />
513 <fill color="%button_fill_color%" />
514 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
515 <font resource="font" color="%button_text_color%" />
516 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
517 <actions>
518 <action function="set">tw_back=install</action>
519 <action function="page">selectstorage</action>
520 </actions>
521 </object>
522
523 <object type="fileselector">
524 <highlight color="%fileselector_highlight_color%" />
525 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
526 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
527 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
528 <text>%tw_zip_location%</text>
529 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
530 <sort name="tw_gui_sort_order" />
531 <icon folder="folder_icon" file="file_icon" />
532 <background color="%fileselector_background%" />
533 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
534 <filter extn=".zip" folders="1" files="1" />
535 <path name="tw_zip_location" default="/sdcard" />
536 <data name="tw_filename" />
537 <selection name="tw_file" />
538 </object>
539
540 <object type="template" name="sort_options" />
541
542 <object type="action">
543 <condition var1="tw_filename" op="modified" />
544 <actions>
545 <action function="queuezip"></action>
546 <action function="page">flash_confirm</action>
547 </actions>
548 </object>
549
550 <object type="action">
551 <touch key="back" />
552 <action function="page">main</action>
553 </object>
554
555 <object type="action">
556 <touch key="home" />
557 <action function="page">main</action>
558 </object>
559
560 <object type="template" name="footer" />
561 </page>
562
563 <page name="flash_confirm">
564 <object type="template" name="header" />
565
566 <object type="text" color="%text_color%">
567 <font resource="font" />
568 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
569 <text>This operation may install incompatible</text>
570 </object>
571
572 <object type="text" color="%text_color%">
573 <font resource="font" />
574 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
575 <text>software and render your device unusable.</text>
576 </object>
577
578 <object type="text" color="%text_color%">
579 <font resource="font" />
580 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
581 <text>Folder:</text>
582 </object>
583
584 <object type="text" color="%text_color%">
585 <font resource="mediumfont" />
586 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
587 <text>%tw_zip_location%</text>
588 </object>
589
590 <object type="text" color="%text_color%">
591 <font resource="font" />
592 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
593 <text>File to flash:</text>
594 </object>
595
596 <object type="text" color="%text_color%">
597 <font resource="mediumfont" />
598 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
599 <text>%tw_file%</text>
600 </object>
601
602 <object type="text" color="%text_color%">
603 <font resource="font" />
604 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
605 <text>Press back to cancel adding this zip.</text>
606 </object>
607
608 <object type="checkbox">
609 <placement x="%col1_x%" y="%row8_text_y%" />
610 <font resource="font" color="%text_color%" />
611 <text>Zip file signature verification.</text>
612 <data variable="tw_signed_zip_verify" />
613 <image checked="checkbox_true" unchecked="checkbox_false" />
614 </object>
615
616 <object type="checkbox">
617 <condition var1="tw_has_injecttwrp" var2="1" />
618 <placement x="%col1_x%" y="%row10_text_y%" />
619 <font resource="font" color="%text_color%" />
620 <text>Inject TWRP after install.</text>
621 <data variable="tw_inject_after_zip" />
622 <image checked="checkbox_true" unchecked="checkbox_false" />
623 </object>
624
625 <object type="text" color="%text_color%">
626 <font resource="font" />
627 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
628 <text>File %tw_zip_queue_count% of max of 10</text>
629 </object>
630
631 <object type="slider">
632 <placement x="%slider_x%" y="%slider_y%" placement="5" />
633 <resource base="slider" used="slider-used" touch="slider-touch" />
634 <action function="flash">flash_zip</action>
635 </object>
636
637 <object type="text" color="%text_color%">
638 <font resource="font" />
639 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
640 <text>Swipe to Confirm Flash</text>
641 </object>
642
643 <object type="button">
644 <highlight color="%highlight_color%" />
645 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
646 <placement x="%col1_x%" y="%row_queue_y%" />
647 <font resource="font" color="%button_text_color%" />
648 <text>Add More Zips</text>
649 <image resource="main_button" />
650 <action function="page">install</action>
651 </object>
652
653 <object type="button">
654 <highlight color="%highlight_color%" />
655 <placement x="%col2_x%" y="%row_queue_y%" />
656 <font resource="font" color="%button_text_color%" />
657 <text>Clear Zip Queue</text>
658 <image resource="main_button" />
659 <actions>
660 <action function="queueclear"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="action">
666 <touch key="back" />
667 <actions>
668 <action function="cancelzip"></action>
669 <action function="page">install</action>
670 </actions>
671 </object>
672
673 <object type="action">
674 <touch key="home" />
675 <action function="page">main</action>
676 </object>
677
678 <object type="template" name="footer" />
679 </page>
680
681 <page name="flash_zip">
682 <object type="template" name="header" />
683
684 <object type="console">
685 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
686 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
687 <font resource="fixed" />
688 </object>
689
690 <object type="text" color="%text_color%">
691 <font resource="font" />
692 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
693 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
694 </object>
695
696 <object type="text" color="%text_color%">
697 <font resource="mediumfont" />
698 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
699 <text>%tw_filename%</text>
700 </object>
701
702 <object type="template" name="progress_bar" />
703
704 <object type="action">
705 <condition var1="tw_operation_state" var2="1" />
706 <action function="page">flash_done</action>
707 </object>
708 </page>
709
710 <page name="flash_done">
711 <object type="template" name="header" />
712
713 <object type="text" color="%text_color%">
714 <font resource="font" />
715 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
716 <text>Zip Install Complete</text>
717 </object>
718
719 <object type="console">
720 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
721 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
722 <font resource="fixed" />
723 </object>
724
725 <object type="button">
726 <highlight color="%highlight_color%" />
727 <placement x="%col1_x%" y="%row4_y%" />
728 <font resource="font" color="%button_text_color%" />
729 <text>Wipe cache/dalvik</text>
730 <image resource="main_button" />
731 <actions>
732 <action function="set">tw_back=flash_done</action>
733 <action function="set">tw_action=wipe</action>
734 <action function="set">tw_action_param=/cache</action>
735 <action function="set">tw_has_action2=1</action>
736 <action function="set">tw_action2=wipe</action>
737 <action function="set">tw_action2_param=dalvik</action>
738 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
739 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
740 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
741 <action function="set">tw_slider_text=Swipe to Wipe</action>
742 <action function="page">confirm_action</action>
743 </actions>
744 </object>
745
746 <object type="button">
747 <highlight color="%highlight_color%" />
748 <placement x="%col2_x%" y="%row4_y%" />
749 <font resource="font" color="%button_text_color%" />
750 <text>Reboot System</text>
751 <image resource="main_button" />
752 <actions>
753 <action function="set">tw_back=main2</action>
754 <action function="set">tw_action=reboot</action>
755 <action function="set">tw_action_param=system</action>
756 <action function="set">tw_has_action2=0</action>
757 <action function="set">tw_text1=No OS Installed! Are you</action>
758 <action function="set">tw_text2=sure you wish to reboot?</action>
759 <action function="set">tw_text3=</action>
760 <action function="set">tw_text4=</action>
761 <action function="set">tw_action_text1=Rebooting...</action>
762 <action function="set">tw_action_text2=</action>
763 <action function="set">tw_complete_text1=Rebooting...</action>
764 <action function="set">tw_slider_text=Swipe to Reboot</action>
765 <action function="page">rebootcheck</action>
766 </actions>
767 </object>
768
769 <object type="button">
770 <highlight color="%highlight_color%" />
771 <placement x="%col_center_x%" y="%row3_y%" />
772 <font resource="font" color="%button_text_color%" />
773 <text>Home</text>
774 <image resource="main_button" />
775 <actions>
776 <action function="set">tw_clear_destination=main2</action>
777 <action function="page">clear_vars</action>
778 </actions>
779 </object>
780
781 <object type="text" color="%text_fail_color%">
782 <condition var1="tw_operation_status" op="!=" var2="0" />
783 <font resource="font" />
784 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
785 <text>Failed</text>
786 </object>
787
788 <object type="text" color="%text_success_color%">
789 <condition var1="tw_operation_status" var2="0" />
790 <font resource="font" />
791 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
792 <text>Successful</text>
793 </object>
794
795 <object type="action">
796 <touch key="back" />
797 <actions>
798 <action function="set">tw_clear_destination=install</action>
799 <action function="page">clear_vars</action>
800 </actions>
801 </object>
802
803 <object type="action">
804 <touch key="home" />
805 <actions>
806 <action function="set">tw_clear_destination=main2</action>
807 <action function="page">clear_vars</action>
808 </actions>
809 </object>
810 </page>
811
812 <page name="clear_vars">
813 <object type="action">
814 <action function="set">tw_operation_state=0</action>
815 <action function="set">tw_text1=</action>
816 <action function="set">tw_text2=</action>
817 <action function="set">tw_text3=</action>
818 <action function="set">tw_text4=</action>
819 <action function="set">tw_action_text1=</action>
820 <action function="set">tw_action_text2=</action>
821 <action function="set">tw_action_param=</action>
822 <action function="set">tw_has_action2=0</action>
823 <action function="set">tw_action2=</action>
824 <action function="set">tw_action2_param=</action>
825 <action function="set">tw_has_cancel=0</action>
826 <action function="set">tw_cancel_action=</action>
827 <action function="set">tw_cancel_param=</action>
828 <action function="set">tw_show_exclamation=0</action>
829 <action function="set">tw_show_reboot=0</action>
830 <action function="page">%tw_clear_destination%</action>
831 </object>
832 </page>
833
834 <page name="confirm_action">
835 <object type="template" name="header" />
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
840 <text>%tw_text1%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
846 <text>%tw_text2%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
852 <text>%tw_text3%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
858 <text>%tw_text4%</text>
859 </object>
860
861 <object type="text" color="%text_color%">
862 <font resource="font" />
863 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
864 <text>Press back button to cancel.</text>
865 </object>
866
867 <object type="slider">
868 <placement x="%slider_x%" y="%slider_y%" />
869 <resource base="slider" used="slider-used" touch="slider-touch" />
870 <action function="page">action_page</action>
871 </object>
872
873 <object type="text" color="%text_color%">
874 <font resource="font" />
875 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
876 <text>%tw_slider_text%</text>
877 </object>
878
879 <object type="action">
880 <touch key="back" />
881 <actions>
882 <action function="set">tw_clear_destination=%tw_back%</action>
883 <action function="page">clear_vars</action>
884 </actions>
885 </object>
886
887 <object type="action">
888 <touch key="home" />
889 <action function="page">main</action>
890 </object>
891
892 <object type="template" name="footer" />
893 </page>
894
895 <page name="action_page">
896 <object type="template" name="header" />
897
898 <object type="text" color="%text_color%">
899 <font resource="font" />
900 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
901 <text>%tw_action_text1%</text>
902 </object>
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
907 <text>%tw_action_text2%</text>
908 </object>
909
910 <object type="template" name="action_page_console" />
911
912 <object type="button">
913 <highlight color="%highlight_color%" />
914 <condition var1="tw_has_cancel" var2="1" />
915 <placement x="%col_center_medium_x%" y="%row4_y%" />
916 <font resource="font" color="%button_text_color%" />
917 <text>Cancel</text>
918 <image resource="medium_button" />
919 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
920 </object>
921
922 <object type="template" name="progress_bar" />
923
924 <object type="action">
925 <condition var1="tw_operation_state" var2="1" />
926 <actions>
927 <action function="page">action_complete</action>
928 </actions>
929 </object>
930
931 <object type="action">
932 <condition var1="tw_has_action2" var2="0" />
933 <actions>
934 <action function="%tw_action%">%tw_action_param%</action>
935 </actions>
936 </object>
937
938 <object type="action">
939 <condition var1="tw_has_action2" var2="1" />
940 <actions>
941 <action function="%tw_action%">%tw_action_param%</action>
942 <action function="%tw_action2%">%tw_action2_param%</action>
943 </actions>
944 </object>
945 </page>
946
947 <page name="singleaction_page">
948 <object type="template" name="header" />
949
950 <object type="text" color="%text_color%">
951 <font resource="font" />
952 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
953 <text>%tw_action_text1%</text>
954 </object>
955
956 <object type="text" color="%text_color%">
957 <font resource="font" />
958 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
959 <text>%tw_action_text2%</text>
960 </object>
961
962 <object type="template" name="action_page_console" />
963
964 <object type="template" name="progress_bar" />
965
966 <object type="action">
967 <condition var1="tw_operation_state" var2="1" />
968 <actions>
969 <action function="set">tw_page_done=1</action>
970 </actions>
971 </object>
972
973 <object type="action">
974 <condition var1="tw_has_action2" var2="0" />
975 <actions>
976 <action function="%tw_action%">%tw_action_param%</action>
977 </actions>
978 </object>
979
980 <object type="action">
981 <condition var1="tw_has_action2" var2="1" />
982 <actions>
983 <action function="%tw_action%">%tw_action_param%</action>
984 <action function="%tw_action2%">%tw_action2_param%</action>
985 </actions>
986 </object>
987 </page>
988
989 <page name="action_complete">
990 <object type="template" name="header" />
991
992 <object type="text" color="%text_color%">
993 <font resource="font" />
994 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
995 <text>%tw_complete_text1%</text>
996 </object>
997
998 <object type="text" color="%text_fail_color%">
999 <condition var1="tw_operation_status" op="!=" var2="0" />
1000 <font resource="font" />
1001 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1002 <text>Failed</text>
1003 </object>
1004
1005 <object type="text" color="%text_success_color%">
1006 <condition var1="tw_operation_status" var2="0" />
1007 <font resource="font" />
1008 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1009 <text>Successful</text>
1010 </object>
1011
1012 <object type="template" name="action_page_console" />
1013
1014 <object type="button">
1015 <highlight color="%highlight_color%" />
1016 <condition var1="tw_show_reboot" var2="0" />
1017 <placement x="%col_center_x%" y="%row4_y%" />
1018 <font resource="font" color="%button_text_color%" />
1019 <text>Back</text>
1020 <image resource="main_button" />
1021 <actions>
1022 <action function="set">tw_clear_destination=%tw_back%</action>
1023 <action function="page">clear_vars</action>
1024 </actions>
1025 </object>
1026
1027 <object type="button">
1028 <highlight color="%highlight_color%" />
1029 <condition var1="tw_show_reboot" var2="1" />
1030 <placement x="%col_center_x%" y="%row4_y%" />
1031 <font resource="font" color="%button_text_color%" />
1032 <text>Reboot System</text>
1033 <image resource="main_button" />
1034 <actions>
1035 <action function="set">tw_back=main2</action>
1036 <action function="set">tw_action=reboot</action>
1037 <action function="set">tw_action_param=system</action>
1038 <action function="set">tw_has_action2=0</action>
1039 <action function="set">tw_text1=No OS Installed! Are you</action>
1040 <action function="set">tw_text2=sure you wish to reboot?</action>
1041 <action function="set">tw_text3=</action>
1042 <action function="set">tw_text4=</action>
1043 <action function="set">tw_action_text1=Rebooting...</action>
1044 <action function="set">tw_action_text2=</action>
1045 <action function="set">tw_complete_text1=Rebooting...</action>
1046 <action function="set">tw_slider_text=Swipe to Reboot</action>
1047 <action function="page">rebootcheck</action>
1048 </actions>
1049 </object>
1050
1051 <object type="action">
1052 <touch key="home" />
1053 <actions>
1054 <action function="set">tw_clear_destination=main2</action>
1055 <action function="page">clear_vars</action>
1056 </actions>
1057 </object>
1058
1059 <object type="action">
1060 <touch key="back" />
1061 <actions>
1062 <action function="set">tw_clear_destination=%tw_back%</action>
1063 <action function="page">clear_vars</action>
1064 </actions>
1065 </object>
1066 </page>
1067
1068 <page name="filecheck">
1069 <object type="action">
1070 <action function="fileexists">%tw_filecheck%</action>
1071 </object>
1072
1073 <object type="action">
1074 <conditions>
1075 <condition var1="tw_operation_state" var2="1" />
1076 <condition var1="tw_operation_status" var2="0" />
1077 </conditions>
1078 <actions>
1079 <action function="set">tw_fileexists=1</action>
1080 <action function="page">%tw_existpage%</action>
1081 </actions>
1082 </object>
1083
1084 <object type="action">
1085 <conditions>
1086 <condition var1="tw_operation_state" var2="1" />
1087 <condition var1="tw_operation_status" var2="1" />
1088 </conditions>
1089 <actions>
1090 <action function="set">tw_fileexists=0</action>
1091 <action function="page">%tw_notexistpage%</action>
1092 </actions>
1093 </object>
1094 </page>
1095
1096 <page name="rebootcheck">
1097 <object type="action">
1098 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1099 <action function="reboot">%tw_action_param%</action>
1100 </object>
1101
1102 <object type="action">
1103 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1104 <action function="page">confirm_action</action>
1105 </object>
1106 </page>
1107
1108 <page name="wipe">
1109 <object type="template" name="header" />
1110
1111 <object type="text" color="%text_color%">
1112 <font resource="font" />
1113 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1114 <text>Factory Reset</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1120 <text>Wipes Data, Cache, and Dalvik</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <condition var1="tw_has_data_media" var2="0" />
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1127 <text>.android_secure</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <condition var1="tw_has_data_media" var2="1" />
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1134 <text>(not including internal storage)</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <condition var1="tw_has_sdext_partition" var2="1" />
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1141 <text>SD-EXT</text>
1142 </object>
1143
1144 <object type="text" color="%text_color%">
1145 <font resource="font" />
1146 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1147 <text>Most of the time this is</text>
1148 </object>
1149
1150 <object type="text" color="%text_color%">
1151 <font resource="font" />
1152 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1153 <text>the only wipe that you need.</text>
1154 </object>
1155
1156 <object type="text" color="%text_color%">
1157 <font resource="font" />
1158 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1159 <text>Press back button to cancel.</text>
1160 </object>
1161
1162 <object type="button">
1163 <highlight color="%highlight_color%" />
1164 <placement x="%col1_x%" y="%wipe_button_y%" />
1165 <font resource="font" color="%button_text_color%" />
1166 <text>Advanced Wipe</text>
1167 <image resource="main_button" />
1168 <action function="page">advancedwipe</action>
1169 </object>
1170
1171 <object type="button">
1172 <conditions>
1173 <condition var1="tw_has_internal" var2="1" />
1174 <condition var1="tw_has_data_media" var2="1" />
1175 </conditions>
1176 <highlight color="%highlight_color%" />
1177 <placement x="%col2_x%" y="%wipe_button_y%" />
1178 <font resource="font" color="%button_text_color%" />
1179 <text>Format Data</text>
1180 <image resource="main_button" />
1181 <actions>
1182 <action function="page">formatdata</action>
1183 </actions>
1184 </object>
1185
1186 <object type="slider">
1187 <placement x="%slider_x%" y="%slider_y%" />
1188 <resource base="slider" used="slider-used" touch="slider-touch" />
1189 <actions>
1190 <action function="set">tw_back=wipe</action>
1191 <action function="set">tw_action=wipe</action>
1192 <action function="set">tw_action_param=data</action>
1193 <action function="set">tw_action_text1=Factory Reset...</action>
1194 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1195 <action function="page">action_page</action>
1196 </actions>
1197 </object>
1198
1199 <object type="text" color="%text_color%">
1200 <font resource="font" />
1201 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1202 <text>Swipe to Factory Reset</text>
1203 </object>
1204
1205 <object type="action">
1206 <touch key="back" />
1207 <action function="page">main</action>
1208 </object>
1209
1210 <object type="action">
1211 <touch key="home" />
1212 <action function="page">main</action>
1213 </object>
1214
1215 <object type="template" name="footer" />
1216 </page>
1217
1218 <page name="advancedwipe">
1219 <object type="template" name="header" />
1220
1221 <object type="text" color="%text_color%">
1222 <font resource="font" />
1223 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1224 <text>Wipe Menu</text>
1225 </object>
1226
1227 <object type="partitionlist">
1228 <highlight color="%fileselector_highlight_color%" />
1229 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1230 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1231 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1232 <text>Select Partitions to Wipe:</text>
1233 <icon selected="checkbox_true" unselected="checkbox_false" />
1234 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1235 <background color="%listbox_background%" />
1236 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1237 <data name="tw_wipe_list" />
1238 <listtype name="wipe" />
1239 </object>
1240
1241 <object type="slider">
1242 <placement x="%slider_x%" y="%slider_y%" />
1243 <resource base="slider" used="slider-used" touch="slider-touch" />
1244 <actions>
1245 <action function="set">tw_back=advancedwipe</action>
1246 <action function="set">tw_action=wipe</action>
1247 <action function="set">tw_action_param=LIST</action>
1248 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1249 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1250 <action function="set">tw_complete_text1=Wipe Complete</action>
1251 <action function="page">action_page</action>
1252 </actions>
1253 </object>
1254
1255 <object type="text" color="%text_color%">
1256 <font resource="font" />
1257 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1258 <text>Swipe to Wipe</text>
1259 </object>
1260
1261 <object type="action">
1262 <touch key="home" />
1263 <action function="page">main</action>
1264 </object>
1265
1266 <object type="action">
1267 <touch key="back" />
1268 <action function="page">wipe</action>
1269 </object>
1270
1271 <object type="template" name="footer" />
1272 </page>
1273
1274 <page name="formatdata">
1275 <object type="template" name="header" />
1276
1277 <object type="text" color="%text_color%">
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1280 <text>Format Data will wipe all of your apps,</text>
1281 </object>
1282
1283 <object type="text" color="%text_color%">
1284 <font resource="font" />
1285 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1286 <text>backups, pictures, videos, media, and</text>
1287 </object>
1288
1289 <object type="text" color="%text_color%">
1290 <font resource="font" />
1291 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1292 <text>removes encryption on internal storage.</text>
1293 </object>
1294
1295 <object type="text" color="%text_color%">
1296 <font resource="font" />
1297 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1298 <text>This cannot be undone. Press back to cancel.</text>
1299 </object>
1300
1301 <object type="text" color="%text_color%">
1302 <font resource="font" />
1303 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1304 <text>Type yes to continue.</text>
1305 </object>
1306
1307 <object type="input">
1308 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1309 <background color="%input_background_color%" />
1310 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1311 <font resource="font" color="%text_color%" />
1312 <text>%tw_confirm_formatdata%</text>
1313 <data name="tw_confirm_formatdata" />
1314 <restrict minlen="3" maxlen="3" allow="yes" />
1315 <action function="page">formatdata_confirm</action>
1316 </object>
1317
1318 <object type="template" name="keyboardtemplate" />
1319
1320 <object type="action">
1321 <touch key="home" />
1322 <action function="page">main</action>
1323 </object>
1324
1325 <object type="action">
1326 <touch key="back" />
1327 <action function="page">wipe</action>
1328 </object>
1329
1330 <object type="template" name="footer" />
1331 </page>
1332
1333 <page name="formatdata_confirm">
1334 <object type="action">
1335 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1336 <actions>
1337 <action function="set">tw_back=formatdata</action>
1338 <action function="set">tw_action=wipe</action>
1339 <action function="set">tw_action_param=DATAMEDIA</action>
1340 <action function="set">tw_action_text1=Formatting Data...</action>
1341 <action function="set">tw_complete_text1=Data Format Complete</action>
1342 <action function="page">action_page</action>
1343 </actions>
1344 </object>
1345
1346 <object type="action">
1347 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1348 <action function="page">formatdata</function>
1349 </object>
1350 </page>
1351
1352 <page name="backup">
1353 <object type="template" name="header" />
1354
1355 <object type="button">
1356 <highlight color="%highlight_color%" />
1357 <fill color="%button_fill_color%" />
1358 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
1359 <font resource="font" color="%button_text_color%" />
1360 <text>Backup Name: %tw_backup_name%</text>
1361 <actions>
1362 <action function="set">tw_fileexists=0</action>
1363 <action function="page">backupname1</action>
1364 </actions>
1365 </object>
1366
1367 <object type="partitionlist">
1368 <highlight color="%fileselector_highlight_color%" />
1369 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1370 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1371 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1372 <text>Select Partitions to Back Up:</text>
1373 <icon selected="checkbox_true" unselected="checkbox_false" />
1374 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1375 <background color="%listbox_background%" />
1376 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1377 <data name="tw_backup_list" />
1378 <listtype name="backup" />
1379 </object>
1380
1381 <object type="button">
1382 <conditions>
1383 <condition var1="tw_include_encrypted_backup" var2="1" />
1384 <condition var1="tw_encrypt_backup" var2="0" />
1385 </conditions>
1386 <highlight color="%highlight_color%" />
1387 <fill color="%button_fill_color%" />
1388 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1389 <font resource="font" color="%button_text_color%" />
1390 <text>No Encryption</text>
1391 <actions>
1392 <action function="page">backupencryption</action>
1393 </actions>
1394 </object>
1395
1396 <object type="button">
1397 <conditions>
1398 <condition var1="tw_include_encrypted_backup" var2="1" />
1399 <condition var1="tw_encrypt_backup" var2="1" />
1400 </conditions>
1401 <highlight color="%highlight_color%" />
1402 <fill color="%button_fill_color%" />
1403 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1404 <font resource="font" color="%button_text_color%" />
1405 <text>Using Encryption</text>
1406 <actions>
1407 <action function="set">tw_password_not_match=0</action>
1408 <action function="page">backupencryption</action>
1409 </actions>
1410 </object>
1411
1412 <object type="button">
1413 <highlight color="%highlight_color%" />
1414 <fill color="%button_fill_color%" />
1415 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1416 <font resource="font" color="%button_text_color%" />
1417 <text>Refresh Sizes</text>
1418 <action function="refreshsizes"></action>
1419 </object>
1420
1421 <object type="button">
1422 <highlight color="%highlight_color%" />
1423 <fill color="%button_fill_color%" />
1424 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1425 <font resource="font" color="%button_text_color%" />
1426 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1427 <actions>
1428 <action function="set">tw_back=backup</action>
1429 <action function="page">selectstorage</action>
1430 </actions>
1431 </object>
1432
1433 <object type="checkbox">
1434 <placement x="%col1_x%" y="%row15_text_y%" />
1435 <font resource="font" color="%text_color%" />
1436 <text>Enable compression.</text>
1437 <data variable="tw_use_compression" />
1438 <image checked="checkbox_true" unchecked="checkbox_false" />
1439 </object>
1440
1441 <object type="checkbox">
1442 <placement x="%col1_x%" y="%row16_text_y%" />
1443 <font resource="font" color="%text_color%" />
1444 <text>Skip MD5 generation during backup.</text>
1445 <data variable="tw_skip_md5_generate" />
1446 <image checked="checkbox_true" unchecked="checkbox_false" />
1447 </object>
1448
1449 <object type="slider">
1450 <placement x="%slider_x%" y="slider_y" />
1451 <resource base="slider" used="slider-used" touch="slider-touch" />
1452 <action function="page">backup_run</action>
1453 </object>
1454
1455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1458 <text>Swipe to Back Up</text>
1459 </object>
1460
1461 <object type="action">
1462 <touch key="home" />
1463 <action function="page">main</action>
1464 </object>
1465
1466 <object type="action">
1467 <touch key="back" />
1468 <action function="page">main</action>
1469 </object>
1470
1471 <object type="template" name="footer" />
1472 </page>
1473
1474 <page name="backupname1">
1475 <object type="action">
1476 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1477 <action function="generatebackupname"></function>
1478 </object>
1479
1480 <object type="action">
1481 <action function="page">backupname2</function>
1482 </object>
1483 </page>
1484
1485 <page name="backupname2">
1486 <object type="template" name="header" />
1487
1488 <object type="text" color="%text_color%">
1489 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1490 <font resource="font" />
1491 <text>Please Enter a Backup Name</text>
1492 </object>
1493
1494 <object type="input">
1495 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1496 <background color="%input_background_color%" />
1497 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1498 <font resource="font" color="%text_color%" />
1499 <text>%tw_backup_name%</text>
1500 <data name="tw_backup_name" />
1501 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1502 <actions>
1503 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1504 <action function="set">tw_existpage=backupname2</action>
1505 <action function="set">tw_notexistpage=backup</action>
1506 <action function="page">filecheck</action>
1507 </actions>
1508 </object>
1509
1510 <object type="text" color="%text_fail_color%">
1511 <condition var1="tw_fileexists" var2="1" />
1512 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1513 <font resource="font" />
1514 <text>A backup with that name already exists!</text>
1515 </object>
1516
1517 <object type="button">
1518 <highlight color="%highlight_color%" />
1519 <placement x="%col1_x%" y="%row2_y%" />
1520 <font resource="font" color="%button_text_color%" />
1521 <text>Append Date</text>
1522 <image resource="main_button" />
1523 <action function="appenddatetobackupname"></action>
1524 </object>
1525
1526 <object type="button">
1527 <highlight color="%highlight_color%" />
1528 <placement x="%col2_x%" y="%row2_y%" />
1529 <font resource="font" color="%button_text_color%" />
1530 <text>Cancel</text>
1531 <image resource="main_button" />
1532 <actions>
1533 <action function="set">tw_backup_name=(Auto Generate)</action>
1534 <action function="page">backup</action>
1535 </actions>
1536 </object>
1537
1538 <object type="template" name="keyboardtemplate" />
1539
1540 <object type="action">
1541 <touch key="home" />
1542 <actions>
1543 <action function="set">tw_backup_name=(Auto Generate)</action>
1544 <action function="page">main</action>
1545 </actions>
1546 </object>
1547
1548 <object type="action">
1549 <touch key="back" />
1550 <actions>
1551 <action function="set">tw_backup_name=(Auto Generate)</action>
1552 <action function="page">backup</action>
1553 </actions>
1554 </object>
1555
1556 <object type="template" name="footer" />
1557 </page>
1558
1559 <page name="backupencryption">
1560 <object type="template" name="header" />
1561
1562 <object type="text" color="%text_color%">
1563 <font resource="font" />
1564 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1565 <text>Encrypt your backup?</text>
1566 </object>
1567
1568 <object type="text" color="%text_color%">
1569 <font resource="font" />
1570 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1571 <text>Please Enter A Password:</text>
1572 </object>
1573
1574 <object type="input">
1575 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1576 <background color="%input_background_color%" />
1577 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1578 <font resource="font" color="%text_color%" />
1579 <text>%tw_backup_encrypt_display%</text>
1580 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1581 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1582 <action function="page">backupencryption2</action>
1583 </object>
1584
1585 <object type="text" color="%text_fail_color%">
1586 <condition var1="tw_password_not_match" var2="1" />
1587 <font resource="font" />
1588 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1589 <text>Passwords Do Not Match</text>
1590 </object>
1591
1592 <object type="button">
1593 <highlight color="%highlight_color%" />
1594 <placement x="%col_center_x%" y="%row2_y%" />
1595 <font resource="font" color="%button_text_color%" />
1596 <text>Cancel</text>
1597 <image resource="main_button" />
1598 <actions>
1599 <action function="set">tw_encrypt_backup=0</action>
1600 <action function="set">tw_backup_password=</action>
1601 <action function="set">tw_backup_password2=</action>
1602 <action function="set">tw_backup_encrypt_display=</action>
1603 <action function="set">tw_backup_encrypt_display2=</action>
1604 <action function="page">backup</action>
1605 </actions>
1606 </object>
1607
1608 <object type="template" name="keyboardtemplate" />
1609
1610 <object type="action">
1611 <touch key="home" />
1612 <action function="page">main</action>
1613 </object>
1614
1615 <object type="action">
1616 <touch key="back" />
1617 <action function="page">backup</action>
1618 </object>
1619
1620 <object type="template" name="footer" />
1621 </page>
1622
1623 <page name="backupencryption2">
1624 <object type="template" name="header" />
1625
1626 <object type="text" color="%text_color%">
1627 <font resource="font" />
1628 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1629 <text>Encrypt your backup?</text>
1630 </object>
1631
1632 <object type="text" color="%text_color%">
1633 <font resource="font" />
1634 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1635 <text>Please Enter Password Again:</text>
1636 </object>
1637
1638 <object type="input">
1639 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1640 <background color="%input_background_color%" />
1641 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1642 <font resource="font" color="%text_color%" />
1643 <text>%tw_backup_encrypt_display2%</text>
1644 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1645 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1646 <actions>
1647 <action function="page">checkbackuppassword</action>
1648 </actions>
1649 </object>
1650
1651 <object type="button">
1652 <highlight color="%highlight_color%" />
1653 <placement x="%col_center_x%" y="%row2_y%" />
1654 <font resource="font" color="%button_text_color%" />
1655 <text>Cancel</text>
1656 <image resource="main_button" />
1657 <actions>
1658 <action function="set">tw_encrypt_backup=0</action>
1659 <action function="set">tw_backup_password=</action>
1660 <action function="set">tw_backup_password2=</action>
1661 <action function="set">tw_backup_encrypt_display=</action>
1662 <action function="set">tw_backup_encrypt_display2=</action>
1663 <action function="page">backup</action>
1664 </actions>
1665 </object>
1666
1667 <object type="template" name="keyboardtemplate" />
1668
1669 <object type="action">
1670 <touch key="home" />
1671 <action function="page">main</action>
1672 </object>
1673
1674 <object type="action">
1675 <touch key="back" />
1676 <action function="page">backup</action>
1677 </object>
1678
1679 <object type="template" name="footer" />
1680 </page>
1681
1682 <page name="checkbackuppassword">
1683 <object type="action">
1684 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1685 <actions>
1686 <action function="set">tw_encrypt_backup=1</action>
1687 <action function="page">backup</action>
1688 </actions>
1689 </object>
1690
1691 <object type="action">
1692 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1693 <actions>
1694 <action function="set">tw_encrypt_backup=0</action>
1695 <action function="set">tw_password_not_match=1</action>
1696 <action function="set">tw_backup_password=</action>
1697 <action function="set">tw_backup_password2=</action>
1698 <action function="set">tw_backup_encrypt_display=</action>
1699 <action function="set">tw_backup_encrypt_display2=</action>
1700 <action function="page">backupencryption</action>
1701 </actions>
1702 </object>
1703 </page>
1704
1705 <page name="backup_run">
1706 <object type="template" name="header" />
1707
1708 <object type="text" color="%text_color%">
1709 <font resource="font" />
1710 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1711 <text>%tw_operation% %tw_partition%</text>
1712 </object>
1713
1714 <object type="template" name="action_page_console" />
1715
1716 <object type="template" name="progress_bar" />
1717
1718 <object type="action">
1719 <action function="nandroid">backup</action>
1720 </object>
1721
1722 <object type="action">
1723 <condition var1="tw_operation_state" var2="1" />
1724 <actions>
1725 <action function="set">tw_back=backup</action>
1726 <action function="set">tw_complete_text1=Backup Complete</action>
1727 <action function="set">tw_show_reboot=1</action>
1728 <action function="page">action_complete</action>
1729 </actions>
1730 </object>
1731 </page>
1732
1733 <page name="restore">
1734 <object type="template" name="header" />
1735
1736 <object type="button">
1737 <highlight color="%highlight_color%" />
1738 <fill color="%button_fill_color%" />
1739 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1740 <font resource="font" color="%button_text_color%" />
1741 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1742 <actions>
1743 <action function="set">tw_back=restore</action>
1744 <action function="page">selectstorage</action>
1745 </actions>
1746 </object>
1747
1748 <object type="fileselector">
1749 <highlight color="%fileselector_highlight_color%" />
1750 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1751 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1752 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1753 <text>Select Package to Restore:</text>
1754 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1755 <sort name="tw_gui_sort_order" />
1756 <icon folder="folder_icon" file="file_icon" />
1757 <background color="%fileselector_background%" />
1758 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1759 <filter folders="1" files="0" nav="0" />
1760 <path name="tw_backups_folder" />
1761 <data name="tw_restore" default="" />
1762 <selection name="tw_restore_name" />
1763 </object>
1764
1765 <object type="template" name="sort_options" />
1766
1767 <object type="action">
1768 <condition var1="tw_restore" op="modified" />
1769 <actions>
1770 <action function="readBackup"></action>
1771 <action function="page">restore_read</action>
1772 </actions>
1773 </object>
1774
1775 <object type="action">
1776 <touch key="home" />
1777 <action function="page">main</action>
1778 </object>
1779
1780 <object type="action">
1781 <touch key="back" />
1782 <action function="page">main</action>
1783 </object>
1784
1785 <object type="template" name="footer" />
1786 </page>
1787
1788 <page name="restore_read">
1789 <object type="action">
1790 <condition var1="tw_restore_encrypted" var2="1" />
1791 <actions>
1792 <action function="set">tw_password_fail=0</action>
1793 <action function="page">restore_decrypt</action>
1794 </actions>
1795 </object>
1796
1797 <object type="action">
1798 <condition var1="tw_restore_encrypted" var2="0" />
1799 <actions>
1800 <action function="page">restore_select</action>
1801 </actions>
1802 </object>
1803 </page>
1804
1805 <page name="restore_decrypt">
1806 <object type="template" name="header" />
1807
1808 <object type="text" color="%text_color%">
1809 <font resource="font" />
1810 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1811 <text>Backup Encrypted</text>
1812 </object>
1813
1814 <object type="text" color="%text_color%">
1815 <font resource="font" />
1816 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1817 <text>Please Enter Your Password:</text>
1818 </object>
1819
1820 <object type="input">
1821 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1822 <background color="%input_background_color%" />
1823 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1824 <font resource="font" color="%text_color%" />
1825 <text>%tw_restore_display%</text>
1826 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1827 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1828 <actions>
1829 <action function="page">try_restore_decrypt</action>
1830 </actions>
1831 </object>
1832
1833 <object type="text" color="%text_fail_color%">
1834 <condition var1="tw_password_fail" var2="1" />
1835 <font resource="font" />
1836 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1837 <text>Password Failed, Please Try Again</text>
1838 </object>
1839
1840 <object type="button">
1841 <highlight color="%highlight_color%" />
1842 <placement x="%col1_x%" y="%row2_y%" />
1843 <font resource="font" color="%button_text_color%" />
1844 <text>Cancel</text>
1845 <image resource="main_button" />
1846 <actions>
1847 <action function="set">tw_page_done=1</action>
1848 <action function="page">restore</action>
1849 </actions>
1850 </object>
1851
1852 <object type="button">
1853 <highlight color="%highlight_color%" />
1854 <placement x="%col2_x%" y="%row2_y%" />
1855 <font resource="font" color="%button_text_color%" />
1856 <text>Delete</text>
1857 <image resource="main_button" />
1858 <actions>
1859 <action function="set">tw_back=restore</action>
1860 <action function="set">tw_action=cmd</action>
1861 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1862 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1863 <action function="set">tw_text2=This cannot be undone!</action>
1864 <action function="set">tw_action_text1=Deleting Backup...</action>
1865 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1866 <action function="set">tw_slider_text=Swipe to Delete</action>
1867 <action function="page">confirm_action</action>
1868 </actions>
1869 </object>
1870
1871 <object type="template" name="keyboardtemplate" />
1872
1873 <object type="action">
1874 <touch key="home" />
1875 <action function="page">main</action>
1876 </object>
1877
1878 <object type="action">
1879 <touch key="back" />
1880 <action function="page">restore</action>
1881 </object>
1882
1883 <object type="template" name="footer" />
1884 </page>
1885
1886 <page name="try_restore_decrypt">
1887 <object type="template" name="header" />
1888
1889 <object type="text" color="%text_color%">
1890 <font resource="font" />
1891 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1892 <text>Trying Decryption with Your Password</text>
1893 </object>
1894
1895 <object type="template" name="action_page_console" />
1896
1897 <object type="template" name="progress_bar" />
1898
1899 <object type="action">
1900 <action function="decrypt_backup"></action>
1901 </object>
1902
1903 <object type="action">
1904 <conditions>
1905 <condition var1="tw_operation_state" var2="1" />
1906 <condition var1="tw_operation_status" op="!=" var2="0" />
1907 </conditions>
1908 <actions>
1909 <action function="set">tw_password_fail=1</action>
1910 <action function="page">restore_decrypt</action>
1911 </actions>
1912 </object>
1913
1914 <object type="action">
1915 <conditions>
1916 <condition var1="tw_operation_state" var2="1" />
1917 <condition var1="tw_operation_status" op="=" var2="0" />
1918 </conditions>
1919 <actions>
1920 <action function="set">tw_page_done=1</action>
1921 <action function="page">restore_select</action>
1922 </actions>
1923 </object>
1924 </page>
1925
1926 <page name="restore_select">
1927 <object type="template" name="header" />
1928
1929 <object type="partitionlist">
1930 <highlight color="%fileselector_highlight_color%" />
1931 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1932 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1933 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1934 <text>Restoring: %tw_restore_name%</text>
1935 <icon selected="checkbox_true" unselected="checkbox_false" />
1936 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1937 <background color="%listbox_background%" />
1938 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1939 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1940 <listtype name="restore" />
1941 </object>
1942
1943 <object type="button">
1944 <highlight color="%highlight_color%" />
1945 <fill color="%button_fill_color%" />
1946 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1947 <font resource="font" color="%button_text_color%" />
1948 <text>Rename Backup</text>
1949 <actions>
1950 <action function="set">tw_backup_rename=</action>
1951 <action function="set">tw_fileexists=0</action>
1952 <action function="page">renamebackup</action>
1953 </actions>
1954 </object>
1955
1956 <object type="button">
1957 <highlight color="%highlight_color%" />
1958 <fill color="%button_fill_color%" />
1959 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1960 <font resource="font" color="%button_text_color%" />
1961 <text>Delete Backup</text>
1962 <actions>
1963 <action function="set">tw_back=restore</action>
1964 <action function="set">tw_action=cmd</action>
1965 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1966 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1967 <action function="set">tw_text2=This cannot be undone!</action>
1968 <action function="set">tw_action_text1=Deleting Backup...</action>
1969 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1970 <action function="set">tw_slider_text=Swipe to Delete</action>
1971 <action function="page">confirm_action</action>
1972 </actions>
1973 </object>
1974
1975 <object type="checkbox">
1976 <placement x="%col1_x%" y="%row15_text_y%" />
1977 <font resource="font" color="%text_color%" />
1978 <text>Enable MD5 verification of backup files.</text>
1979 <data variable="tw_skip_md5_check" />
1980 <image checked="checkbox_true" unchecked="checkbox_false" />
1981 </object>
1982
1983 <object type="text" color="%text_color%">
1984 <font resource="font" />
1985 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1986 <text>Package Date: %tw_restore_file_date%</text>
1987 </object>
1988
1989 <object type="slider">
1990 <placement x="%slider_x%" y="%slider_y%" />
1991 <resource base="slider" used="slider-used" touch="slider-touch" />
1992 <action function="page">restore_run</action>
1993 </object>
1994
1995 <object type="text" color="%text_color%">
1996 <font resource="font" />
1997 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1998 <text>Swipe to Restore</text>
1999 </object>
2000
2001 <object type="action">
2002 <touch key="home" />
2003 <action function="page">main</action>
2004 </object>
2005
2006 <object type="action">
2007 <touch key="back" />
2008 <action function="page">restore</action>
2009 </object>
2010
2011 <object type="template" name="footer" />
2012 </page>
2013
2014 <page name="renamebackup">
2015 <object type="template" name="header" />
2016
2017 <object type="text" color="%text_color%">
2018 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2019 <font resource="font" />
2020 <text>Please Enter a New Backup Name</text>
2021 </object>
2022
2023 <object type="input">
2024 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2025 <background color="%input_background_color%" />
2026 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2027 <font resource="font" color="%text_color%" />
2028 <text>%tw_backup_rename%</text>
2029 <data name="tw_backup_rename" />
2030 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2031 <actions>
2032 <action function="set">tw_back=restore</action>
2033 <action function="set">tw_action=cmd</action>
2034 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2035 <action function="set">tw_text1=Rename Backup?</action>
2036 <action function="set">tw_text2=This cannot be undone!</action>
2037 <action function="set">tw_action_text1=Renaming Backup...</action>
2038 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2039 <action function="set">tw_slider_text=Swipe to Rename</action>
2040 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2041 <action function="set">tw_existpage=renamebackup</action>
2042 <action function="set">tw_notexistpage=confirm_action</action>
2043 <action function="page">filecheck</action>
2044 </actions>
2045 </object>
2046
2047 <object type="text" color="%text_fail_color%">
2048 <condition var1="tw_fileexists" var2="1" />
2049 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2050 <font resource="font" />
2051 <text>A backup with that name already exists!</text>
2052 </object>
2053
2054 <object type="button">
2055 <highlight color="%highlight_color%" />
2056 <placement x="%col_center_x%" y="%row2_y%" />
2057 <font resource="font" color="%button_text_color%" />
2058 <text>Cancel</text>
2059 <image resource="main_button" />
2060 <action function="page">restore_select</action>
2061 </object>
2062
2063 <object type="template" name="keyboardtemplate" />
2064
2065 <object type="action">
2066 <touch key="home" />
2067 <action function="page">main</action>
2068 </object>
2069
2070 <object type="action">
2071 <touch key="back" />
2072 <action function="page">restore_select</action>
2073 </object>
2074
2075 <object type="template" name="footer" />
2076 </page>
2077
2078 <page name="restore_run">
2079 <object type="template" name="header" />
2080
2081 <object type="text" color="%text_color%">
2082 <font resource="font" />
2083 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2084 <text>%tw_operation% %tw_partition%</text>
2085 </object>
2086
2087 <object type="template" name="action_page_console" />
2088
2089 <object type="template" name="progress_bar" />
2090
2091 <object type="action">
2092 <condition var1="tw_operation_state" var2="1" />
2093 <actions>
2094 <action function="set">tw_back=restore_select</action>
2095 <action function="set">tw_complete_text1=Restore Complete</action>
2096 <action function="set">tw_show_reboot=1</action>
2097 <action function="page">action_complete</action>
2098 </actions>
2099 </object>
2100
2101 <object type="action">
2102 <action function="nandroid">restore</action>
2103 </object>
2104 </page>
2105
2106 <page name="selectstorage">
2107 <object type="template" name="header" />
2108
2109 <object type="partitionlist">
2110 <highlight color="%fileselector_highlight_color%" />
2111 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2112 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2113 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2114 <text>Select Storage:</text>
2115 <icon selected="radio_true" unselected="radio_false" />
2116 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2117 <background color="%listbox_background%" />
2118 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2119 <data name="tw_storage_path" />
2120 <listtype name="storage" />
2121 </object>
2122
2123 <object type="button">
2124 <highlight color="%highlight_color%" />
2125 <placement x="%col_center_x%" y="%row4_y%" />
2126 <font resource="font" color="%button_text_color%" />
2127 <text>OK</text>
2128 <image resource="main_button" />
2129 <actions>
2130 <action function="set">tw_clear_destination=%tw_back%</action>
2131 <action function="page">clear_vars</action>
2132 </actions>
2133 </object>
2134
2135 <object type="action">
2136 <touch key="home" />
2137 <action function="page">main</action>
2138 </object>
2139
2140 <object type="action">
2141 <touch key="back" />
2142 <actions>
2143 <action function="page">%tw_back%</action>
2144 </actions>
2145 </object>
2146
2147 <object type="template" name="footer" />
2148 </page>
2149
2150 <page name="mount">
2151 <object type="template" name="header" />
2152
2153 <object type="partitionlist">
2154 <highlight color="%fileselector_highlight_color%" />
2155 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2156 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2157 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2158 <text>Select Partitions to Mount:</text>
2159 <icon selected="checkbox_true" unselected="checkbox_false" />
2160 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2161 <background color="%listbox_background%" />
2162 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2163 <listtype name="mount" />
2164 </object>
2165
2166 <object type="button">
2167 <highlight color="%highlight_color%" />
2168 <fill color="%button_fill_color%" />
2169 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2170 <font resource="font" color="%button_text_color%" />
2171 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2172 <actions>
2173 <action function="set">tw_back=mount</action>
2174 <action function="page">selectstorage</action>
2175 </actions>
2176 </object>
2177
2178 <object type="button">
2179 <highlight color="%highlight_color%" />
2180 <condition var1="tw_has_usb_storage" var2="1" />
2181 <placement x="%col1_x%" y="row4_y" />
2182 <font resource="font" color="%button_text_color%" />
2183 <text>Mount USB Storage</text>
2184 <image resource="main_button" />
2185 <action function="page">usb_mount</action>
2186 </object>
2187
2188 <object type="button">
2189 <highlight color="%highlight_color%" />
2190 <conditions>
2191 <condition var1="tw_is_encrypted" var2="1" />
2192 <condition var1="tw_is_decrypted" var2="0" />
2193 </conditions>
2194 <placement x="%col2_x%" y="row4_y" />
2195 <font resource="font" color="%button_text_color%" />
2196 <text>Decrypt Data</text>
2197 <image resource="main_button" />
2198 <action function="page">decrypt</action>
2199 </object>
2200
2201 <object type="action">
2202 <touch key="home" />
2203 <action function="page">main</action>
2204 </object>
2205
2206 <object type="action">
2207 <touch key="back" />
2208 <action function="page">main</action>
2209 </object>
2210
2211 <object type="template" name="footer" />
2212 </page>
2213
2214 <page name="usb_mount">
2215 <object type="template" name="header" />
2216
2217 <object type="text" color="%text_color%">
2218 <font resource="font" />
2219 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2220 <text>USB Storage Mounted</text>
2221 </object>
2222
2223 <object type="text" color="%text_color%">
2224 <placement x="%col1_x%" y="%row1_text_y%" />
2225 <font resource="font" />
2226 <text>Be sure to safely remove your device</text>
2227 </object>
2228
2229 <object type="text" color="%text_color%">
2230 <placement x="%col1_x%" y="%row2_text_y%" />
2231 <font resource="font" />
2232 <text>from your computer before unmounting!</text>
2233 </object>
2234
2235 <object type="button">
2236 <highlight color="%highlight_color%" />
2237 <placement x="%col1_x%" y="%row3_y%" />
2238 <font resource="font" color="%button_text_color%" />
2239 <text>Unmount</text>
2240 <image resource="main_button" />
2241 <action function="page">usb_umount</action>
2242 </object>
2243
2244 <object type="action">
2245 <action function="mount">usb</action>
2246 </object>
2247
2248 <object type="template" name="footer" />
2249 </page>
2250
2251 <page name="usb_umount">
2252 <object type="action">
2253 <action function="unmount">usb</action>
2254 </object>
2255
2256 <object type="action">
2257 <action function="page">mount</action>
2258 </object>
2259 </page>
2260
2261 <page name="reboot">
2262 <object type="template" name="header" />
2263
2264 <object type="text" color="%text_color%">
2265 <font resource="font" />
2266 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2267 <text>Reboot Menu</text>
2268 </object>
2269
2270 <object type="button">
2271 <highlight color="%highlight_color%" />
2272 <condition var1="tw_reboot_system" var2="1" />
2273 <placement x="%col1_x%" y="%row1_y%" />
2274 <font resource="font" color="%button_text_color%" />
2275 <text>System</text>
2276 <image resource="main_button" />
2277 <actions>
2278 <action function="set">tw_back=reboot</action>
2279 <action function="set">tw_action=reboot</action>
2280 <action function="set">tw_action_param=system</action>
2281 <action function="set">tw_has_action2=0</action>
2282 <action function="set">tw_text1=No OS Installed! Are you</action>
2283 <action function="set">tw_text2=sure you wish to reboot?</action>
2284 <action function="set">tw_action_text1=Rebooting...</action>
2285 <action function="set">tw_complete_text1=Rebooting...</action>
2286 <action function="set">tw_slider_text=Swipe to Reboot</action>
2287 <action function="page">rebootcheck</action>
2288 </actions>
2289 </object>
2290
2291 <object type="button">
2292 <highlight color="%highlight_color%" />
2293 <condition var1="tw_reboot_poweroff" var2="1" />
2294 <placement x="%col2_x%" y="%row1_y%" />
2295 <font resource="font" color="%button_text_color%" />
2296 <text>Power Off</text>
2297 <image resource="main_button" />
2298 <actions>
2299 <action function="set">tw_back=reboot</action>
2300 <action function="set">tw_action=reboot</action>
2301 <action function="set">tw_action_param=poweroff</action>
2302 <action function="set">tw_has_action2=0</action>
2303 <action function="set">tw_text1=No OS Installed! Are you</action>
2304 <action function="set">tw_text2=sure you wish to power off?</action>
2305 <action function="set">tw_action_text1=Turning Off...</action>
2306 <action function="set">tw_complete_text1=Turning Off...</action>
2307 <action function="set">tw_slider_text=Swipe to Power Off</action>
2308 <action function="page">rebootcheck</action>
2309 </actions>
2310 </object>
2311
2312 <object type="button">
2313 <highlight color="%highlight_color%" />
2314 <condition var1="tw_reboot_recovery" var2="1" />
2315 <placement x="%col1_x%" y="%row2_y%" />
2316 <font resource="font" color="%button_text_color%" />
2317 <text>Recovery</text>
2318 <image resource="main_button" />
2319 <actions>
2320 <action function="set">tw_back=reboot</action>
2321 <action function="set">tw_action=reboot</action>
2322 <action function="set">tw_action_param=recovery</action>
2323 <action function="set">tw_has_action2=0</action>
2324 <action function="set">tw_text1=No OS Installed! Are you</action>
2325 <action function="set">tw_text2=sure you wish to reboot?</action>
2326 <action function="set">tw_action_text1=Rebooting...</action>
2327 <action function="set">tw_complete_text1=Rebooting...</action>
2328 <action function="set">tw_slider_text=Swipe to Reboot</action>
2329 <action function="page">rebootcheck</action>
2330 </actions>
2331 </object>
2332
2333 <object type="button">
2334 <highlight color="%highlight_color%" />
2335 <condition var1="tw_reboot_bootloader" var2="1" />
2336 <placement x="%col2_x%" y="%row2_y%" />
2337 <font resource="font" color="%button_text_color%" />
2338 <text>Bootloader</text>
2339 <image resource="main_button" />
2340 <actions>
2341 <action function="set">tw_back=reboot</action>
2342 <action function="set">tw_action=reboot</action>
2343 <action function="set">tw_action_param=bootloader</action>
2344 <action function="set">tw_has_action2=0</action>
2345 <action function="set">tw_text1=No OS Installed! Are you</action>
2346 <action function="set">tw_text2=sure you wish to reboot?</action>
2347 <action function="set">tw_action_text1=Rebooting...</action>
2348 <action function="set">tw_complete_text1=Rebooting...</action>
2349 <action function="set">tw_slider_text=Swipe to Reboot</action>
2350 <action function="page">rebootcheck</action>
2351 </actions>
2352 </object>
2353
2354 <object type="button">
2355 <highlight color="%highlight_color%" />
2356 <condition var1="tw_download_mode" var2="1" />
2357 <placement x="%col1_x%" y="%row3_y%" />
2358 <font resource="font" color="%button_text_color%" />
2359 <text>Download</text>
2360 <image resource="main_button" />
2361 <actions>
2362 <action function="set">tw_back=reboot</action>
2363 <action function="set">tw_action=reboot</action>
2364 <action function="set">tw_action_param=download</action>
2365 <action function="set">tw_has_action2=0</action>
2366 <action function="set">tw_text1=No OS Installed! Are you</action>
2367 <action function="set">tw_text2=sure you wish to reboot?</action>
2368 <action function="set">tw_action_text1=Rebooting...</action>
2369 <action function="set">tw_complete_text1=Rebooting...</action>
2370 <action function="set">tw_slider_text=Swipe to Reboot</action>
2371 <action function="page">rebootcheck</action>
2372 </actions>
2373 </object>
2374
2375 <object type="action">
2376 <touch key="home" />
2377 <action function="page">main</action>
2378 </object>
2379
2380 <object type="action">
2381 <touch key="back" />
2382 <action function="page">main</action>
2383 </object>
2384
2385 <object type="template" name="footer" />
2386 </page>
2387
2388 <page name="settings">
2389 <object type="template" name="header" />
2390
2391 <object type="text" color="%text_color%">
2392 <font resource="font" />
2393 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2394 <text>Settings</text>
2395 </object>
2396
2397 <object type="checkbox">
2398 <placement x="%col1_x%" y="%row1_text_y%" />
2399 <font resource="font" color="%text_color%" />
2400 <text>Zip file signature verification.</text>
2401 <data variable="tw_signed_zip_verify" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
2406 <placement x="%col1_x%" y="%row2_text_y%" />
2407 <font resource="font" color="%text_color%" />
2408 <text>Use rm -rf instead of formatting.</text>
2409 <data variable="tw_rm_rf" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="checkbox">
2414 <placement x="%col1_x%" y="%row3_text_y%" />
2415 <font resource="font" color="%text_color%" />
2416 <text>Skip MD5 generation during backup.</text>
2417 <data variable="tw_skip_md5_generate" />
2418 <image checked="checkbox_true" unchecked="checkbox_false" />
2419 </object>
2420
2421 <object type="checkbox">
2422 <placement x="%col1_x%" y="%row4_text_y%" />
2423 <font resource="font" color="%text_color%" />
2424 <text>Enable MD5 verification of backup files.</text>
2425 <data variable="tw_skip_md5_check" />
2426 <image checked="checkbox_true" unchecked="checkbox_false" />
2427 </object>
2428
2429 <object type="checkbox">
2430 <placement x="%col1_x%" y="%row5_text_y%" />
2431 <font resource="font" color="%text_color%" />
2432 <text>Use Military Time.</text>
2433 <data variable="tw_military_time" />
2434 <image checked="checkbox_true" unchecked="checkbox_false" />
2435 </object>
2436
2437 <object type="checkbox">
2438 <placement x="%col1_x%" y="%row6_text_y%" />
2439 <font resource="font" color="%text_color%" />
2440 <text>Simulate actions for theme testing.</text>
2441 <data variable="tw_simulate_actions" />
2442 <image checked="checkbox_true" unchecked="checkbox_false" />
2443 </object>
2444
2445 <object type="checkbox">
2446 <condition var1="tw_simulate_actions" var2="1" />
2447 <placement x="%col1_x%" y="%row7_text_y%" />
2448 <font resource="font" color="%text_color%" />
2449 <text>Simulate failure for actions.</text>
2450 <data variable="tw_simulate_fail" />
2451 <image checked="checkbox_true" unchecked="checkbox_false" />
2452 </object>
2453
2454 <object type="button">
2455 <highlight color="%highlight_color%" />
2456 <placement x="%col1_x%" y="%row3_y%" />
2457 <font resource="font" color="%button_text_color%" />
2458 <text>Time Zone</text>
2459 <image resource="main_button" />
2460 <action function="page">timezone</action>
2461 </object>
2462
2463 <object type="button">
2464 <highlight color="%highlight_color%" />
2465 <placement x="%col2_x%" y="%row3_y%" />
2466 <font resource="font" color="%button_text_color%" />
2467 <text>Screen</text>
2468 <image resource="main_button" />
2469 <action function="page">screen</action>
2470 </object>
2471
2472 <object type="button">
2473 <highlight color="%highlight_color%" />
2474 <placement x="%col2_x%" y="%row4_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>Vibration Duration</text>
2477 <image resource="main_button" />
2478 <action function="page">Vibrate</action>
2479 </object>
2480
2481 <object type="button">
2482 <placement x="%col_x%" y="%row4_y%" />
2483 <font resource="font" color="%button_text_color%" />
2484 <text>Restore Defaults</text>
2485 <image resource="main_button" />
2486 <action function="restoredefaultsettings"></action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="home" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="action">
2495 <touch key="back" />
2496 <action function="page">main</action>
2497 </object>
2498
2499 <object type="template" name="footer" />
2500 </page>
2501
2502 <page name="timezone">
2503 <object type="template" name="header" />
2504
2505 <object type="listbox">
2506 <highlight color="%fileselector_highlight_color%" />
2507 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2509 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2510 <text>Select Time Zone:</text>
2511 <icon selected="radio_true" unselected="radio_false" />
2512 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2513 <background color="%listbox_background%" />
2514 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2515 <data name="tw_time_zone_guisel" />
2516 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2517 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2518 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2519 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2520 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2521 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2522 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2523 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2524 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2525 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2526 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2527 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2528 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2529 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2530 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2531 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2532 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2533 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2534 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2535
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
2690 <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
2736 <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>