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