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