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