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