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