blob: e4487f65cb6dc85ba497cfa564eecabe8013ddb4 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
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-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="240" />
47 <variable name="col_center_x" value="128" />
48 <variable name="center_x" value="240" />
49 <variable name="row1_y" value="140" />
50 <variable name="row2_y" value="290" />
51 <variable name="row3_y" value="450" />
52 <variable name="row4_y" value="610" />
53 <variable name="row_queue_y" value="510" />
54 <variable name="row1_header_y" value="110" />
55 <variable name="row1_text_y" value="140" />
56 <variable name="row2_text_y" value="170" />
57 <variable name="row3_text_y" value="200" />
58 <variable name="row4_text_y" value="230" />
59 <variable name="row5_text_y" value="260" />
60 <variable name="row6_text_y" value="290" />
61 <variable name="row7_text_y" value="320" />
62 <variable name="row8_text_y" value="350" />
63 <variable name="row9_text_y" value="380" />
64 <variable name="row10_text_y" value="410" />
65 <variable name="row11_text_y" value="440" />
66 <variable name="row12_text_y" value="480" />
67 <variable name="row13_text_y" value="510" />
68 <variable name="row14_text_y" value="540" />
69 <variable name="row15_text_y" value="570" />
70 <variable name="row16_text_y" value="600" />
71 <variable name="row17_text_y" value="630" />
72 <variable name="row18_text_y" value="660" />
73 <variable name="zip_status_y" value="585" />
74 <variable name="tz_selected_y" value="110" />
75 <variable name="tz_set_y" value="580" />
76 <variable name="tz_current_y" value="730" />
77 <variable name="col_progressbar_x" value="114" />
78 <variable name="row_progressbar_y" value="720" />
79 <variable name="col1_medium_x" value="10" />
80 <variable name="col2_medium_x" value="125" />
81 <variable name="col3_medium_x" value="240" />
82 <variable name="col4_medium_x" value="355" />
83 <variable name="row1_medium_y" value="130" />
84 <variable name="row2_medium_y" value="205" />
85 <variable name="row3_medium_y" value="280" />
86 <variable name="row4_medium_y" value="355" />
87 <variable name="row5_medium_y" value="430" />
88 <variable name="row6_medium_y" value="505" />
89 <variable name="row7_medium_y" value="580" />
90 <variable name="slider_x" value="58" />
91 <variable name="slider_y" value="680" />
92 <variable name="slider_text_y" value="721" />
93 <variable name="button_text_color" value="#AAAAAA" />
94 <variable name="text_color" value="#FFFFFF" />
95 <variable name="text_success_color" value="#33B5E5" />
96 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060097 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040098 <variable name="home_button_x" value="10" />
99 <variable name="home_button_y" value="820" />
100 <variable name="back_button_x" value="413" />
101 <variable name="back_button_y" value="820" />
102 <variable name="sort_asc_text_y" value="739" />
103 <variable name="sort_asc_button_y" value="739" />
104 <variable name="sort_desc_text_y" value="779" />
105 <variable name="sort_desc_button_y" value="779" />
106 <variable name="sort_col1_button_x" value="180" />
107 <variable name="sort_col2_button_x" value="240" />
108 <variable name="sort_col3_button_x" value="300" />
109 <variable name="input_width" value="460" />
110 <variable name="input_height" value="40" />
111 <variable name="input_background_color" value="#303030" />
112 <variable name="input_cursor_color" value="#33B5E5" />
113 <variable name="input_cursor_width" value="3" />
114 <variable name="console_x" value="0" />
115 <variable name="console_width" value="480" />
116 <variable name="console_foreground" value="#A0A0A0" />
117 <variable name="console_background" value="#303030" />
118 <variable name="console_scroll" value="#303030" />
119 <variable name="console_action_height" value="320" />
120 <variable name="console_install_height" value="440" />
121 <variable name="console_installdone_height" value="300" />
122 <variable name="fileselector_x" value="5" />
123 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500124 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400125 <variable name="fileselector_header_background" value="#202020" />
126 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
127 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
128 <variable name="fileselector_header_separatorheight" value="3" />
129 <variable name="fileselector_separatorcolor" value="#505050" />
130 <variable name="fileselector_separatorheight" value="2" />
131 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600132 <variable name="fileselector_highlight_color" value="#505050" />
133 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400134 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100135 <variable name="fastscroll_linecolor" value="#808080" />
136 <variable name="fastscroll_rectcolor" value="#808080" />
137 <variable name="fastscroll_w" value="40" />
138 <variable name="fastscroll_linew" value="2" />
139 <variable name="fastscroll_rectw" value="27" />
140 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="listbox_x" value="5" />
142 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600143 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_background" value="#303030" />
145 <variable name="listbox_spacing" value="18" />
146 <variable name="sd_plus_x" value="280" />
147 <variable name="sdext_text_x" value="84" />
148 <variable name="sdext_text_y" value="150" />
149 <variable name="sdswap_button_y" value="185" />
150 <variable name="sdswap_text_x" value="84" />
151 <variable name="sdswap_text_y" value="195" />
152 <variable name="sdfilesystem_text_y" value="240" />
153 <variable name="sdfilesystem_button_y" value="280" />
154 <variable name="lock_x" value="40" />
155 <variable name="lock_y" value="200" />
156 <variable name="filemanager_select_x" value="365" />
157 <variable name="filemanager_select_y" value="744" />
158 <variable name="backup_name_y" value="350" />
159 <variable name="terminal_console_height" value="424" />
160 <variable name="terminal_text_y" value="444" />
161 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400162 <variable name="row_dst_text_y" value="440" />
163 <variable name="row_offset_text_y" value="480" />
164 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500165 <variable name="button_fill_color" value="#303030" />
166 <variable name="button_fill_full_width" value="455" />
167 <variable name="button_fill_main_width" value="225" />
168 <variable name="button_fill_main_height" value="135" />
169 <variable name="button_fill_half_height" value="67" />
170 <variable name="button_fill_quarter_height" value="34" />
171 <variable name="backup_list_height" value="325" />
172 <variable name="backup_button_row1" value="480" />
173 <variable name="backup_button_row2" value="520" />
174 <variable name="mount_list_height" value="380" />
175 <variable name="mount_storage_row" value="500" />
176 <variable name="storage_list_height" value="400" />
177 <variable name="wipe_list_height" value="550" />
178 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200179 <variable name="slidervalue_w" value="460" />
180 <variable name="slidervalue_line_clr" value="#FFFFFF" />
181 <variable name="slidervalue_slider_clr" value="#33B5E5" />
182 <variable name="slidervalue_lineh" value="1" />
183 <variable name="slidervalue_padding" value="13" />
184 <variable name="slidervalue_sliderw" value="7" />
185 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400186 </variables>
187
188 <templates>
189 <template name="header">
190 <background color="%backgroundcolor%" />
191
192 <object type="image">
193 <image resource="top_bar" />
194 <placement x="0" y="0" />
195 </object>
196
197 <object type="text" color="%text_color%">
198 <font resource="font" />
199 <placement x="100" y="10" />
200 <text>Team Win Recovery Project v%tw_version%</text>
201 </object>
202
203 <object type="text" color="%text_color%">
204 <condition var1="tw_simulate_actions" var2="1" />
205 <font resource="font" />
206 <placement x="100" y="40" />
207 <text>SIMULATING ACTIONS</text>
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="100" y="70" />
213 <text>%tw_time%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="70" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery: %tw_battery%</text>
225 </object>
226
227 <object type="button">
228 <placement x="%home_button_x%" y="%home_button_y%" />
229 <font resource="font" color="%button_text_color%" />
230 <text></text>
231 <image resource="home_icon" />
232 <condition var1="tw_busy" var2="0" />
233 <action function="key">home</action>
234 </object>
235
236 <object type="button">
237 <placement x="%back_button_x%" y="%back_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="back_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">back</action>
243 </object>
244
245 <object type="action">
246 <touch key="power" />
247 <action function="overlay">lock</action>
248 </object>
249 </template>
250
251 <template name="progress_bar">
252 <object type="progressbar">
253 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
254 <resource empty="progress_empty" full="progress_full" />
255 <data name="ui_progress" />
256 </object>
257
258 <object type="animation">
259 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
260 <resource name="progress" />
261 <speed fps="15" render="2" />
262 <loop frame="1" />
263 </object>
264 </template>
265
266 <template name="action_page_console">
267 <object type="console">
268 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
269 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
270 <font resource="fixed" />
271 </object>
272 </template>
273
274 <template name="sort_options">
275 <object type="text" color="%text_color%">
276 <font resource="font" />
277 <placement x="%col1_x%" y="%sort_asc_text_y%" />
278 <text>Sort Ascending:</text>
279 </object>
280
281 <object type="button">
282 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
283 <font resource="UItext" color="%button_text_color%" />
284 <text>Name</text>
285 <image resource="sort_button" />
286 <action function="set">tw_gui_sort_order=1</action>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
291 <font resource="UItext" color="%button_text_color%" />
292 <text>Date</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=2</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
299 <font resource="UItext" color="%button_text_color%" />
300 <text>Size</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=3</action>
303 </object>
304
305 <object type="text" color="%text_color%">
306 <font resource="font" />
307 <placement x="%col1_x%" y="%sort_desc_text_y%" />
308 <text>Sort Descending:</text>
309 </object>
310
311 <object type="button">
312 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
313 <font resource="UItext" color="%button_text_color%" />
314 <text>Name</text>
315 <image resource="sort_button" />
316 <action function="set">tw_gui_sort_order=-1</action>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
321 <font resource="UItext" color="%button_text_color%" />
322 <text>Date</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=-2</action>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
329 <font resource="UItext" color="%button_text_color%" />
330 <text>Size</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-3</action>
333 </object>
334 </template>
335
336 <template name="footer">
337 <object type="console">
338 <slideout resource="slideout" x="210" y="814" />
339 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
340 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
341 <font resource="fixed" />
342 </object>
343 </template>
344
345 <template name="keyboardtemplate">
346 <object type="keyboard">
347 <placement x="0" y="504" />
348 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400350 <layout1>
351 <keysize height="78" width="48" />
352 <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" />
353 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
354 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
355 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
356 </layout1>
357 <layout2>
358 <keysize height="78" width="48" />
359 <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" />
360 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
361 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
362 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
363 </layout2>
364 <layout3>
365 <keysize height="78" width="48" />
366 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
367 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
368 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
369 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
370 </layout3>
371 <layout4>
372 <keysize height="78" width="48" />
373 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
374 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
375 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
376 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
377 </layout4>
378 </object>
379 </template>
380 </templates>
381
382 <pages>
383 <page name="main">
384 <object type="action">
385 <actions>
386 <action function="set">tw_clear_destination=main2</action>
387 <action function="page">clear_vars</action>
388 </actions>
389 </object>
390 </page>
391
392 <page name="main2">
393 <object type="template" name="header" />
394
395 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600396 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400397 <placement x="%col1_x%" y="%row1_y%" />
398 <font resource="font" color="%button_text_color%" />
399 <text>Install</text>
400 <image resource="main_button" />
401 <actions>
402 <action function="queueclear"></action>
403 <action function="page">install</action>
404 </actions>
405 </object>
406
407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400409 <placement x="%col2_x%" y="%row1_y%" />
410 <font resource="font" color="%button_text_color%" />
411 <text>Wipe</text>
412 <image resource="main_button" />
413 <action function="page">wipe</action>
414 </object>
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row2_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Backup</text>
421 <image resource="main_button" />
422 <action function="page">backup</action>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col2_x%" y="%row2_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Restore</text>
430 <image resource="main_button" />
431 <action function="page">restore</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col1_x%" y="%row3_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Mount</text>
439 <image resource="main_button" />
440 <action function="page">mount</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col2_x%" y="%row3_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Settings</text>
448 <image resource="main_button" />
449 <action function="page">settings</action>
450 </object>
451
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col1_x%" y="%row4_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Advanced</text>
458 <image resource="main_button" />
459 <action function="page">advanced</action>
460 </object>
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col2_x%" y="%row4_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Reboot</text>
467 <image resource="main_button" />
468 <action function="page">reboot</action>
469 </object>
470
471 <object type="template" name="footer" />
472 </page>
473
474 <page name="install">
475 <object type="template" name="header" />
476
477 <object type="text" color="%text_color%">
478 <font resource="font" />
479 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
480 <text>Select Zip to Install</text>
481 </object>
482
483 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500484 <highlight color="%highlight_color%" />
485 <fill color="%button_fill_color%" />
486 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
487 <font resource="font" color="%button_text_color%" />
488 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
489 <actions>
490 <action function="set">tw_back=install</action>
491 <action function="page">selectstorage</action>
492 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400493 </object>
494
495 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600496 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500497 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100499 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <text>%tw_zip_location%</text>
501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
502 <sort name="tw_gui_sort_order" />
503 <icon folder="folder_icon" file="file_icon" />
504 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600505 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <filter extn=".zip" folders="1" files="1" />
507 <path name="tw_zip_location" default="/sdcard" />
508 <data name="tw_filename" />
509 <selection name="tw_file" />
510 </object>
511
512 <object type="template" name="sort_options" />
513
514 <object type="action">
515 <condition var1="tw_filename" op="modified" />
516 <actions>
517 <action function="queuezip"></action>
518 <action function="page">flash_confirm</action>
519 </actions>
520 </object>
521
522 <object type="action">
523 <touch key="back" />
524 <action function="page">main</action>
525 </object>
526
527 <object type="action">
528 <touch key="home" />
529 <action function="page">main</action>
530 </object>
531
532 <object type="template" name="footer" />
533 </page>
534
535 <page name="flash_confirm">
536 <object type="template" name="header" />
537
538 <object type="text" color="%text_color%">
539 <font resource="font" />
540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
541 <text>This operation may install incompatible</text>
542 </object>
543
544 <object type="text" color="%text_color%">
545 <font resource="font" />
546 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
547 <text>software and render your device unusable.</text>
548 </object>
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
553 <text>Folder:</text>
554 </object>
555
556 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400557 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400558 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
559 <text>%tw_zip_location%</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
565 <text>File to flash:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
571 <text>%tw_file%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
577 <text>Press back to cancel adding this zip.</text>
578 </object>
579
580 <object type="checkbox">
581 <placement x="%col1_x%" y="%row8_text_y%" />
582 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400583 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <data variable="tw_signed_zip_verify" />
585 <image checked="checkbox_true" unchecked="checkbox_false" />
586 </object>
587
588 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400589 <condition var1="tw_has_injecttwrp" var2="1" />
590 <placement x="%col1_x%" y="%row10_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_inject_after_zip" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="text" color="%text_color%">
598 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400599 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <text>File %tw_zip_queue_count% of max of 10</text>
601 </object>
602
603 <object type="slider">
604 <placement x="%slider_x%" y="%slider_y%" placement="5" />
605 <resource base="slider" used="slider-used" touch="slider-touch" />
606 <action function="flash">flash_zip</action>
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
611 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
612 <text>Swipe to Confirm Flash</text>
613 </object>
614
615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400617 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
618 <placement x="%col1_x%" y="%row_queue_y%" />
619 <font resource="font" color="%button_text_color%" />
620 <text>Add More Zips</text>
621 <image resource="main_button" />
622 <action function="page">install</action>
623 </object>
624
625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <placement x="%col2_x%" y="%row_queue_y%" />
628 <font resource="font" color="%button_text_color%" />
629 <text>Clear Zip Queue</text>
630 <image resource="main_button" />
631 <actions>
632 <action function="queueclear"></action>
633 <action function="page">install</action>
634 </actions>
635 </object>
636
637 <object type="action">
638 <touch key="back" />
639 <actions>
640 <action function="cancelzip"></action>
641 <action function="page">install</action>
642 </actions>
643 </object>
644
645 <object type="action">
646 <touch key="home" />
647 <action function="page">main</action>
648 </object>
649
650 <object type="template" name="footer" />
651 </page>
652
653 <page name="flash_zip">
654 <object type="template" name="header" />
655
656 <object type="console">
657 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
658 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
659 <font resource="fixed" />
660 </object>
661
662 <object type="text" color="%text_color%">
663 <font resource="font" />
664 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
665 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
666 </object>
667
668 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400669 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400670 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
671 <text>%tw_filename%</text>
672 </object>
673
674 <object type="template" name="progress_bar" />
675
676 <object type="action">
677 <condition var1="tw_operation_state" var2="1" />
678 <action function="page">flash_done</action>
679 </object>
680 </page>
681
682 <page name="flash_done">
683 <object type="template" name="header" />
684
685 <object type="text" color="%text_color%">
686 <font resource="font" />
687 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
688 <text>Zip Install Complete</text>
689 </object>
690
691 <object type="console">
692 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
693 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
694 <font resource="fixed" />
695 </object>
696
697 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600698 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400699 <placement x="%col1_x%" y="%row4_y%" />
700 <font resource="font" color="%button_text_color%" />
701 <text>Wipe cache/dalvik</text>
702 <image resource="main_button" />
703 <actions>
704 <action function="set">tw_back=flash_done</action>
705 <action function="set">tw_action=wipe</action>
706 <action function="set">tw_action_param=/cache</action>
707 <action function="set">tw_has_action2=1</action>
708 <action function="set">tw_action2=wipe</action>
709 <action function="set">tw_action2_param=dalvik</action>
710 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
711 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
712 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
713 <action function="set">tw_slider_text=Swipe to Wipe</action>
714 <action function="page">confirm_action</action>
715 </actions>
716 </object>
717
718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400720 <placement x="%col2_x%" y="%row4_y%" />
721 <font resource="font" color="%button_text_color%" />
722 <text>Reboot System</text>
723 <image resource="main_button" />
724 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400725 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400726 <action function="set">tw_action=reboot</action>
727 <action function="set">tw_action_param=system</action>
728 <action function="set">tw_has_action2=0</action>
729 <action function="set">tw_text1=No OS Installed! Are you</action>
730 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400731 <action function="set">tw_text3=</action>
732 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400734 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_complete_text1=Rebooting...</action>
736 <action function="set">tw_slider_text=Swipe to Reboot</action>
737 <action function="page">rebootcheck</action>
738 </actions>
739 </object>
740
741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <placement x="%col_center_x%" y="%row3_y%" />
744 <font resource="font" color="%button_text_color%" />
745 <text>Home</text>
746 <image resource="main_button" />
747 <actions>
748 <action function="set">tw_clear_destination=main2</action>
749 <action function="page">clear_vars</action>
750 </actions>
751 </object>
752
753 <object type="text" color="%text_fail_color%">
754 <condition var1="tw_operation_status" op="!=" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
757 <text>Failed</text>
758 </object>
759
760 <object type="text" color="%text_success_color%">
761 <condition var1="tw_operation_status" var2="0" />
762 <font resource="font" />
763 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
764 <text>Successful</text>
765 </object>
766
767 <object type="action">
768 <touch key="back" />
769 <actions>
770 <action function="set">tw_clear_destination=install</action>
771 <action function="page">clear_vars</action>
772 </actions>
773 </object>
774
775 <object type="action">
776 <touch key="home" />
777 <actions>
778 <action function="set">tw_clear_destination=main2</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782 </page>
783
784 <page name="clear_vars">
785 <object type="action">
786 <action function="set">tw_operation_state=0</action>
787 <action function="set">tw_text1=</action>
788 <action function="set">tw_text2=</action>
789 <action function="set">tw_text3=</action>
790 <action function="set">tw_text4=</action>
791 <action function="set">tw_action_text1=</action>
792 <action function="set">tw_action_text2=</action>
793 <action function="set">tw_action_param=</action>
794 <action function="set">tw_has_action2=0</action>
795 <action function="set">tw_action2=</action>
796 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400797 <action function="set">tw_has_cancel=0</action>
798 <action function="set">tw_cancel_action=</action>
799 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400800 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400801 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400802 <action function="page">%tw_clear_destination%</action>
803 </object>
804 </page>
805
806 <page name="confirm_action">
807 <object type="template" name="header" />
808
809 <object type="text" color="%text_color%">
810 <font resource="font" />
811 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
812 <text>%tw_text1%</text>
813 </object>
814
815 <object type="text" color="%text_color%">
816 <font resource="font" />
817 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
818 <text>%tw_text2%</text>
819 </object>
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
824 <text>%tw_text3%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
830 <text>%tw_text4%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400835 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400836 <text>Press back button to cancel.</text>
837 </object>
838
839 <object type="slider">
840 <placement x="%slider_x%" y="%slider_y%" />
841 <resource base="slider" used="slider-used" touch="slider-touch" />
842 <action function="page">action_page</action>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
848 <text>%tw_slider_text%</text>
849 </object>
850
851 <object type="action">
852 <touch key="back" />
853 <actions>
854 <action function="set">tw_clear_destination=%tw_back%</action>
855 <action function="page">clear_vars</action>
856 </actions>
857 </object>
858
859 <object type="action">
860 <touch key="home" />
861 <action function="page">main</action>
862 </object>
863
864 <object type="template" name="footer" />
865 </page>
866
867 <page name="action_page">
868 <object type="template" name="header" />
869
870 <object type="text" color="%text_color%">
871 <font resource="font" />
872 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
873 <text>%tw_action_text1%</text>
874 </object>
875
876 <object type="text" color="%text_color%">
877 <font resource="font" />
878 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
879 <text>%tw_action_text2%</text>
880 </object>
881
882 <object type="template" name="action_page_console" />
883
Dees_Troyb46a6842012-09-25 11:06:46 -0400884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600885 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400886 <condition var1="tw_has_cancel" var2="1" />
887 <placement x="%col_center_medium_x%" y="%row4_y%" />
888 <font resource="font" color="%button_text_color%" />
889 <text>Cancel</text>
890 <image resource="medium_button" />
891 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
892 </object>
893
Dees_Troy51a0e822012-09-05 15:24:24 -0400894 <object type="template" name="progress_bar" />
895
896 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400897 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400898 <actions>
899 <action function="page">action_complete</action>
900 </actions>
901 </object>
902
903 <object type="action">
904 <condition var1="tw_has_action2" var2="0" />
905 <actions>
906 <action function="%tw_action%">%tw_action_param%</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <condition var1="tw_has_action2" var2="1" />
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 <action function="%tw_action2%">%tw_action2_param%</action>
915 </actions>
916 </object>
917 </page>
918
Dees_Troy6ef66352013-02-21 08:26:57 -0600919 <page name="singleaction_page">
920 <object type="template" name="header" />
921
922 <object type="text" color="%text_color%">
923 <font resource="font" />
924 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
925 <text>%tw_action_text1%</text>
926 </object>
927
928 <object type="text" color="%text_color%">
929 <font resource="font" />
930 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
931 <text>%tw_action_text2%</text>
932 </object>
933
934 <object type="template" name="action_page_console" />
935
936 <object type="template" name="progress_bar" />
937
938 <object type="action">
939 <condition var1="tw_operation_state" var2="1" />
940 <actions>
941 <action function="set">tw_page_done=1</action>
942 </actions>
943 </object>
944
945 <object type="action">
946 <condition var1="tw_has_action2" var2="0" />
947 <actions>
948 <action function="%tw_action%">%tw_action_param%</action>
949 </actions>
950 </object>
951
952 <object type="action">
953 <condition var1="tw_has_action2" var2="1" />
954 <actions>
955 <action function="%tw_action%">%tw_action_param%</action>
956 <action function="%tw_action2%">%tw_action2_param%</action>
957 </actions>
958 </object>
959 </page>
960
Dees_Troy51a0e822012-09-05 15:24:24 -0400961 <page name="action_complete">
962 <object type="template" name="header" />
963
964 <object type="text" color="%text_color%">
965 <font resource="font" />
966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
967 <text>%tw_complete_text1%</text>
968 </object>
969
970 <object type="text" color="%text_fail_color%">
971 <condition var1="tw_operation_status" op="!=" var2="0" />
972 <font resource="font" />
973 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
974 <text>Failed</text>
975 </object>
976
977 <object type="text" color="%text_success_color%">
978 <condition var1="tw_operation_status" var2="0" />
979 <font resource="font" />
980 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
981 <text>Successful</text>
982 </object>
983
984 <object type="template" name="action_page_console" />
985
986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600987 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400988 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400989 <placement x="%col_center_x%" y="%row4_y%" />
990 <font resource="font" color="%button_text_color%" />
991 <text>Back</text>
992 <image resource="main_button" />
993 <actions>
994 <action function="set">tw_clear_destination=%tw_back%</action>
995 <action function="page">clear_vars</action>
996 </actions>
997 </object>
998
Dees_Troya3f81542012-10-08 10:58:53 -0400999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="1" />
1002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Reboot System</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_back=main2</action>
1008 <action function="set">tw_action=reboot</action>
1009 <action function="set">tw_action_param=system</action>
1010 <action function="set">tw_has_action2=0</action>
1011 <action function="set">tw_text1=No OS Installed! Are you</action>
1012 <action function="set">tw_text2=sure you wish to reboot?</action>
1013 <action function="set">tw_text3=</action>
1014 <action function="set">tw_text4=</action>
1015 <action function="set">tw_action_text1=Rebooting...</action>
1016 <action function="set">tw_action_text2=</action>
1017 <action function="set">tw_complete_text1=Rebooting...</action>
1018 <action function="set">tw_slider_text=Swipe to Reboot</action>
1019 <action function="page">rebootcheck</action>
1020 </actions>
1021 </object>
1022
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <object type="action">
1024 <touch key="home" />
1025 <actions>
1026 <action function="set">tw_clear_destination=main2</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030
1031 <object type="action">
1032 <touch key="back" />
1033 <actions>
1034 <action function="set">tw_clear_destination=%tw_back%</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </object>
1038 </page>
1039
1040 <page name="filecheck">
1041 <object type="action">
1042 <action function="fileexists">%tw_filecheck%</action>
1043 </object>
1044
1045 <object type="action">
1046 <conditions>
1047 <condition var1="tw_operation_state" var2="1" />
1048 <condition var1="tw_operation_status" var2="0" />
1049 </conditions>
1050 <actions>
1051 <action function="set">tw_fileexists=1</action>
1052 <action function="page">%tw_existpage%</action>
1053 </actions>
1054 </object>
1055
1056 <object type="action">
1057 <conditions>
1058 <condition var1="tw_operation_state" var2="1" />
1059 <condition var1="tw_operation_status" var2="1" />
1060 </conditions>
1061 <actions>
1062 <action function="set">tw_fileexists=0</action>
1063 <action function="page">%tw_notexistpage%</action>
1064 </actions>
1065 </object>
1066 </page>
1067
1068 <page name="rebootcheck">
1069 <object type="action">
1070 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1071 <action function="reboot">%tw_action_param%</action>
1072 </object>
1073
1074 <object type="action">
1075 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1076 <action function="page">confirm_action</action>
1077 </object>
1078 </page>
1079
1080 <page name="wipe">
1081 <object type="template" name="header" />
1082
1083 <object type="text" color="%text_color%">
1084 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001085 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001086 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001087 </object>
1088
1089 <object type="text" color="%text_color%">
1090 <font resource="font" />
1091 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1092 <text>Wipes Data, Cache, and Dalvik</text>
1093 </object>
1094
1095 <object type="text" color="%text_color%">
1096 <condition var1="tw_has_data_media" var2="0" />
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1099 <text>.android_secure</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_data_media" var2="1" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1106 <text>(not including internal storage)</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <condition var1="tw_has_sdext_partition" var2="1" />
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1113 <text>SD-EXT</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1119 <text>Most of the time this is</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
1123 <font resource="font" />
1124 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1125 <text>the only wipe that you need.</text>
1126 </object>
1127
1128 <object type="text" color="%text_color%">
1129 <font resource="font" />
1130 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1131 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001136 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001138 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001140 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 </object>
1142
1143 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <conditions>
1145 <condition var1="tw_has_internal" var2="1" />
1146 <condition var1="tw_has_data_media" var2="1" />
1147 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <highlight color="%highlight_color%" />
1149 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <font resource="font" color="%button_text_color%" />
1151 <text>Format Data</text>
1152 <image resource="main_button" />
1153 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </actions>
1156 </object>
1157
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <object type="slider">
1159 <placement x="%slider_x%" y="%slider_y%" />
1160 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <action function="set">tw_action_param=data</action>
1165 <action function="set">tw_action_text1=Factory Reset...</action>
1166 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1167 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001168 </actions>
1169 </object>
1170
Dees_Troya13d74f2013-03-24 08:54:55 -05001171 <object type="text" color="%text_color%">
1172 <font resource="font" />
1173 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1174 <text>Swipe to Factory Reset</text>
1175 </object>
1176
1177 <object type="action">
1178 <touch key="back" />
1179 <action function="page">main</action>
1180 </object>
1181
1182 <object type="action">
1183 <touch key="home" />
1184 <action function="page">main</action>
1185 </object>
1186
1187 <object type="template" name="footer" />
1188 </page>
1189
1190 <page name="advancedwipe">
1191 <object type="template" name="header" />
1192
1193 <object type="text" color="%text_color%">
1194 <font resource="font" />
1195 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1196 <text>Wipe Menu</text>
1197 </object>
1198
1199 <object type="partitionlist">
1200 <highlight color="%fileselector_highlight_color%" />
1201 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1202 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1203 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1204 <text>Select Partitions to Wipe:</text>
1205 <icon selected="checkbox_true" unselected="checkbox_false" />
1206 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1207 <background color="%listbox_background%" />
1208 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1209 <data name="tw_wipe_list" />
1210 <listtype name="wipe" />
1211 </object>
1212
1213 <object type="slider">
1214 <placement x="%slider_x%" y="%slider_y%" />
1215 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001216 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001217 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001219 <action function="set">tw_action_param=LIST</action>
1220 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1221 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1222 <action function="set">tw_complete_text1=Wipe Complete</action>
1223 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001224 </actions>
1225 </object>
1226
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <object type="text" color="%text_color%">
1228 <font resource="font" />
1229 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1230 <text>Swipe to Wipe</text>
1231 </object>
1232
Dees_Troy51a0e822012-09-05 15:24:24 -04001233 <object type="action">
1234 <touch key="home" />
1235 <action function="page">main</action>
1236 </object>
1237
1238 <object type="action">
1239 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 </object>
1242
1243 <object type="template" name="footer" />
1244 </page>
1245
Dees_Troya13d74f2013-03-24 08:54:55 -05001246 <page name="formatdata">
1247 <object type="template" name="header" />
1248
1249 <object type="text" color="%text_color%">
1250 <font resource="font" />
1251 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1252 <text>Format Data will wipe all of your apps,</text>
1253 </object>
1254
1255 <object type="text" color="%text_color%">
1256 <font resource="font" />
1257 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1258 <text>backups, pictures, videos, media, and</text>
1259 </object>
1260
1261 <object type="text" color="%text_color%">
1262 <font resource="font" />
1263 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1264 <text>removes encryption on internal storage.</text>
1265 </object>
1266
1267 <object type="text" color="%text_color%">
1268 <font resource="font" />
1269 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1270 <text>This cannot be undone. Press back to cancel.</text>
1271 </object>
1272
1273 <object type="text" color="%text_color%">
1274 <font resource="font" />
1275 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1276 <text>Type yes to continue.</text>
1277 </object>
1278
1279 <object type="input">
1280 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1281 <background color="%input_background_color%" />
1282 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1283 <font resource="font" color="%text_color%" />
1284 <text>%tw_confirm_formatdata%</text>
1285 <data name="tw_confirm_formatdata" />
1286 <restrict minlen="3" maxlen="3" allow="yes" />
1287 <action function="page">formatdata_confirm</action>
1288 </object>
1289
1290 <object type="template" name="keyboardtemplate" />
1291
1292 <object type="action">
1293 <touch key="home" />
1294 <action function="page">main</action>
1295 </object>
1296
1297 <object type="action">
1298 <touch key="back" />
1299 <action function="page">wipe</action>
1300 </object>
1301
1302 <object type="template" name="footer" />
1303 </page>
1304
1305 <page name="formatdata_confirm">
1306 <object type="action">
1307 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1308 <actions>
1309 <action function="set">tw_back=formatdata</action>
1310 <action function="set">tw_action=wipe</action>
1311 <action function="set">tw_action_param=DATAMEDIA</action>
1312 <action function="set">tw_action_text1=Formatting Data...</action>
1313 <action function="set">tw_complete_text1=Data Format Complete</action>
1314 <action function="page">action_page</action>
1315 </actions>
1316 </object>
1317
1318 <object type="action">
1319 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1320 <action function="page">formatdata</function>
1321 </object>
1322 </page>
1323
Dees_Troy51a0e822012-09-05 15:24:24 -04001324 <page name="backup">
1325 <object type="template" name="header" />
1326
1327 <object type="text" color="%text_color%">
1328 <font resource="font" />
1329 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1330 <text>Backup Name: %tw_backup_name%</text>
1331 </object>
1332
Dees_Troya13d74f2013-03-24 08:54:55 -05001333 <object type="partitionlist">
1334 <highlight color="%fileselector_highlight_color%" />
1335 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1336 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1337 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1338 <text>Select Partitions to Back Up:</text>
1339 <icon selected="checkbox_true" unselected="checkbox_false" />
1340 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1341 <background color="%listbox_background%" />
1342 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1343 <data name="tw_backup_list" />
1344 <listtype name="backup" />
1345 </object>
1346
1347 <object type="button">
1348 <highlight color="%highlight_color%" />
1349 <fill color="%button_fill_color%" />
1350 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1351 <font resource="font" color="%button_text_color%" />
1352 <text>Set Backup Name</text>
1353 <actions>
1354 <action function="set">tw_fileexists=0</action>
1355 <action function="page">backupname1</action>
1356 </actions>
1357 </object>
1358
1359 <object type="button">
1360 <highlight color="%highlight_color%" />
1361 <fill color="%button_fill_color%" />
1362 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1363 <font resource="font" color="%button_text_color%" />
1364 <text>Refresh Sizes</text>
1365 <action function="refreshsizes"></action>
1366 </object>
1367
1368 <object type="button">
1369 <highlight color="%highlight_color%" />
1370 <fill color="%button_fill_color%" />
1371 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1372 <font resource="font" color="%button_text_color%" />
1373 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1374 <actions>
1375 <action function="set">tw_back=backup</action>
1376 <action function="page">selectstorage</action>
1377 </actions>
1378 </object>
1379
1380 <object type="checkbox">
1381 <placement x="%col1_x%" y="%row15_text_y%" />
1382 <font resource="font" color="%text_color%" />
1383 <text>Enable compression.</text>
1384 <data variable="tw_use_compression" />
1385 <image checked="checkbox_true" unchecked="checkbox_false" />
1386 </object>
1387
1388 <object type="checkbox">
1389 <placement x="%col1_x%" y="%row16_text_y%" />
1390 <font resource="font" color="%text_color%" />
1391 <text>Skip MD5 generation during backup.</text>
1392 <data variable="tw_skip_md5_generate" />
1393 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001394 </object>
1395
1396 <object type="slider">
1397 <placement x="%slider_x%" y="slider_y" />
1398 <resource base="slider" used="slider-used" touch="slider-touch" />
1399 <action function="page">backup_run</action>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1405 <text>Swipe to Back Up</text>
1406 </object>
1407
Dees_Troy51a0e822012-09-05 15:24:24 -04001408 <object type="action">
1409 <touch key="home" />
1410 <action function="page">main</action>
1411 </object>
1412
1413 <object type="action">
1414 <touch key="back" />
1415 <action function="page">main</action>
1416 </object>
1417
1418 <object type="template" name="footer" />
1419 </page>
1420
1421 <page name="backupname1">
1422 <object type="action">
1423 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1424 <action function="set">tw_backup_name=</function>
1425 </object>
1426
1427 <object type="action">
1428 <action function="page">backupname2</function>
1429 </object>
1430 </page>
1431
1432 <page name="backupname2">
1433 <object type="template" name="header" />
1434
1435 <object type="text" color="%text_color%">
1436 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1437 <font resource="font" />
1438 <text>Please Enter a Backup Name</text>
1439 </object>
1440
1441 <object type="input">
1442 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1443 <background color="%input_background_color%" />
1444 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1445 <font resource="font" color="%text_color%" />
1446 <text>%tw_backup_name%</text>
1447 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001448 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001449 <actions>
1450 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1451 <action function="set">tw_existpage=backupname2</action>
1452 <action function="set">tw_notexistpage=backup</action>
1453 <action function="page">filecheck</action>
1454 </actions>
1455 </object>
1456
1457 <object type="text" color="%text_fail_color%">
1458 <condition var1="tw_fileexists" var2="1" />
1459 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1460 <font resource="font" />
1461 <text>A backup with that name already exists!</text>
1462 </object>
1463
1464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001466 <placement x="%col_center_x%" y="%row2_y%" />
1467 <font resource="font" color="%button_text_color%" />
1468 <text>Cancel</text>
1469 <image resource="main_button" />
1470 <actions>
1471 <action function="set">tw_backup_name=(Current Date)</action>
1472 <action function="page">backup</action>
1473 </actions>
1474 </object>
1475
1476 <object type="template" name="keyboardtemplate" />
1477
1478 <object type="action">
1479 <touch key="home" />
1480 <actions>
1481 <action function="set">tw_backup_name=(Current Date)</action>
1482 <action function="page">main</action>
1483 </actions>
1484 </object>
1485
1486 <object type="action">
1487 <touch key="back" />
1488 <actions>
1489 <action function="set">tw_backup_name=(Current Date)</action>
1490 <action function="page">backup</action>
1491 </actions>
1492 </object>
1493
1494 <object type="template" name="footer" />
1495 </page>
1496
1497 <page name="backup_run">
1498 <object type="template" name="header" />
1499
1500 <object type="text" color="%text_color%">
1501 <font resource="font" />
1502 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1503 <text>%tw_operation% %tw_partition%</text>
1504 </object>
1505
1506 <object type="template" name="action_page_console" />
1507
1508 <object type="template" name="progress_bar" />
1509
1510 <object type="action">
1511 <action function="nandroid">backup</action>
1512 </object>
1513
1514 <object type="action">
1515 <condition var1="tw_operation_state" var2="1" />
1516 <actions>
1517 <action function="set">tw_back=backup</action>
1518 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001519 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001520 <action function="page">action_complete</action>
1521 </actions>
1522 </object>
1523 </page>
1524
1525 <page name="restore">
1526 <object type="template" name="header" />
1527
1528 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001529 <highlight color="%highlight_color%" />
1530 <fill color="%button_fill_color%" />
1531 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1532 <font resource="font" color="%button_text_color%" />
1533 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1534 <actions>
1535 <action function="set">tw_back=restore</action>
1536 <action function="page">selectstorage</action>
1537 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001538 </object>
1539
1540 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001541 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001542 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001543 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001544 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001545 <text>Select Package to Restore:</text>
1546 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1547 <sort name="tw_gui_sort_order" />
1548 <icon folder="folder_icon" file="file_icon" />
1549 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001550 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001551 <filter folders="1" files="0" nav="0" />
1552 <path name="tw_backups_folder" />
1553 <data name="tw_restore" default="" />
1554 <selection name="tw_restore_name" />
1555 </object>
1556
1557 <object type="template" name="sort_options" />
1558
1559 <object type="action">
1560 <condition var1="tw_restore" op="modified" />
1561 <actions>
1562 <action function="readBackup"></action>
1563 <action function="page">restore_select</action>
1564 </actions>
1565 </object>
1566
1567 <object type="action">
1568 <touch key="home" />
1569 <action function="page">main</action>
1570 </object>
1571
1572 <object type="action">
1573 <touch key="back" />
1574 <action function="page">main</action>
1575 </object>
1576
1577 <object type="template" name="footer" />
1578 </page>
1579
1580 <page name="restore_select">
1581 <object type="template" name="header" />
1582
Dees_Troya13d74f2013-03-24 08:54:55 -05001583 <object type="partitionlist">
1584 <highlight color="%fileselector_highlight_color%" />
1585 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1586 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1587 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001588 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001589 <icon selected="checkbox_true" unselected="checkbox_false" />
1590 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1591 <background color="%listbox_background%" />
1592 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1593 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1594 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001595 </object>
1596
1597 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001598 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001599 <fill color="%button_fill_color%" />
1600 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001601 <font resource="font" color="%button_text_color%" />
1602 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001603 <actions>
1604 <action function="set">tw_backup_rename=</action>
1605 <action function="set">tw_fileexists=0</action>
1606 <action function="page">renamebackup</action>
1607 </actions>
1608 </object>
1609
1610 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001611 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001612 <fill color="%button_fill_color%" />
1613 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001614 <font resource="font" color="%button_text_color%" />
1615 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001616 <actions>
1617 <action function="set">tw_back=restore</action>
1618 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001619 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001620 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1621 <action function="set">tw_text2=This cannot be undone!</action>
1622 <action function="set">tw_action_text1=Deleting Backup...</action>
1623 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1624 <action function="set">tw_slider_text=Swipe to Delete</action>
1625 <action function="page">confirm_action</action>
1626 </actions>
1627 </object>
1628
Dees_Troya13d74f2013-03-24 08:54:55 -05001629 <object type="checkbox">
1630 <placement x="%col1_x%" y="%row15_text_y%" />
1631 <font resource="font" color="%text_color%" />
1632 <text>Enable MD5 verification of backup files.</text>
1633 <data variable="tw_skip_md5_check" />
1634 <image checked="checkbox_true" unchecked="checkbox_false" />
1635 </object>
1636
1637 <object type="text" color="%text_color%">
1638 <font resource="font" />
1639 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1640 <text>Package Date: %tw_restore_file_date%</text>
1641 </object>
1642
Dees_Troy51a0e822012-09-05 15:24:24 -04001643 <object type="slider">
1644 <placement x="%slider_x%" y="%slider_y%" />
1645 <resource base="slider" used="slider-used" touch="slider-touch" />
1646 <action function="page">restore_run</action>
1647 </object>
1648
1649 <object type="text" color="%text_color%">
1650 <font resource="font" />
1651 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1652 <text>Swipe to Restore</text>
1653 </object>
1654
Dees_Troy51a0e822012-09-05 15:24:24 -04001655 <object type="action">
1656 <touch key="home" />
1657 <action function="page">main</action>
1658 </object>
1659
1660 <object type="action">
1661 <touch key="back" />
1662 <action function="page">restore</action>
1663 </object>
1664
1665 <object type="template" name="footer" />
1666 </page>
1667
1668 <page name="renamebackup">
1669 <object type="template" name="header" />
1670
1671 <object type="text" color="%text_color%">
1672 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1673 <font resource="font" />
1674 <text>Please Enter a New Backup Name</text>
1675 </object>
1676
1677 <object type="input">
1678 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1679 <background color="%input_background_color%" />
1680 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1681 <font resource="font" color="%text_color%" />
1682 <text>%tw_backup_rename%</text>
1683 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001684 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <actions>
1686 <action function="set">tw_back=restore</action>
1687 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001688 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <action function="set">tw_text1=Rename Backup?</action>
1690 <action function="set">tw_text2=This cannot be undone!</action>
1691 <action function="set">tw_action_text1=Renaming Backup...</action>
1692 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1693 <action function="set">tw_slider_text=Swipe to Rename</action>
1694 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1695 <action function="set">tw_existpage=renamebackup</action>
1696 <action function="set">tw_notexistpage=confirm_action</action>
1697 <action function="page">filecheck</action>
1698 </actions>
1699 </object>
1700
1701 <object type="text" color="%text_fail_color%">
1702 <condition var1="tw_fileexists" var2="1" />
1703 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1704 <font resource="font" />
1705 <text>A backup with that name already exists!</text>
1706 </object>
1707
1708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001710 <placement x="%col_center_x%" y="%row2_y%" />
1711 <font resource="font" color="%button_text_color%" />
1712 <text>Cancel</text>
1713 <image resource="main_button" />
1714 <action function="page">restore_select</action>
1715 </object>
1716
1717 <object type="template" name="keyboardtemplate" />
1718
1719 <object type="action">
1720 <touch key="home" />
1721 <action function="page">main</action>
1722 </object>
1723
1724 <object type="action">
1725 <touch key="back" />
1726 <action function="page">restore_select</action>
1727 </object>
1728
1729 <object type="template" name="footer" />
1730 </page>
1731
1732 <page name="restore_run">
1733 <object type="template" name="header" />
1734
1735 <object type="text" color="%text_color%">
1736 <font resource="font" />
1737 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1738 <text>%tw_operation% %tw_partition%</text>
1739 </object>
1740
1741 <object type="template" name="action_page_console" />
1742
1743 <object type="template" name="progress_bar" />
1744
1745 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001746 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001747 <actions>
1748 <action function="set">tw_back=restore_select</action>
1749 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001750 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001751 <action function="page">action_complete</action>
1752 </actions>
1753 </object>
1754
1755 <object type="action">
1756 <action function="nandroid">restore</action>
1757 </object>
1758 </page>
1759
Dees_Troya13d74f2013-03-24 08:54:55 -05001760 <page name="selectstorage">
1761 <object type="template" name="header" />
1762
1763 <object type="partitionlist">
1764 <highlight color="%fileselector_highlight_color%" />
1765 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1766 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1767 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1768 <text>Select Storage:</text>
1769 <icon selected="radio_true" unselected="radio_false" />
1770 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1771 <background color="%listbox_background%" />
1772 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1773 <data name="tw_storage_path" />
1774 <listtype name="storage" />
1775 </object>
1776
1777 <object type="action">
1778 <touch key="home" />
1779 <action function="page">main</action>
1780 </object>
1781
1782 <object type="action">
1783 <touch key="back" />
1784 <actions>
1785 <action function="page">%tw_back%</action>
1786 </actions>
1787 </object>
1788
1789 <object type="template" name="footer" />
1790 </page>
1791
Dees_Troy51a0e822012-09-05 15:24:24 -04001792 <page name="mount">
1793 <object type="template" name="header" />
1794
Dees_Troya13d74f2013-03-24 08:54:55 -05001795 <object type="partitionlist">
1796 <highlight color="%fileselector_highlight_color%" />
1797 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1798 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1799 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1800 <text>Select Partitions to Mount:</text>
1801 <icon selected="checkbox_true" unselected="checkbox_false" />
1802 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1803 <background color="%listbox_background%" />
1804 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1805 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001806 </object>
1807
1808 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001809 <highlight color="%highlight_color%" />
1810 <fill color="%button_fill_color%" />
1811 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1812 <font resource="font" color="%button_text_color%" />
1813 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1814 <actions>
1815 <action function="set">tw_back=mount</action>
1816 <action function="page">selectstorage</action>
1817 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001818 </object>
1819
1820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001822 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001823 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001824 <font resource="font" color="%button_text_color%" />
1825 <text>Mount USB Storage</text>
1826 <image resource="main_button" />
1827 <action function="page">usb_mount</action>
1828 </object>
1829
Gary Peckffdc6ae2012-11-21 18:02:02 -08001830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001831 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001832 <conditions>
1833 <condition var1="tw_is_encrypted" var2="1" />
1834 <condition var1="tw_is_decrypted" var2="0" />
1835 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001836 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001837 <font resource="font" color="%button_text_color%" />
1838 <text>Decrypt Data</text>
1839 <image resource="main_button" />
1840 <action function="page">decrypt</action>
1841 </object>
1842
Dees_Troy51a0e822012-09-05 15:24:24 -04001843 <object type="action">
1844 <touch key="home" />
1845 <action function="page">main</action>
1846 </object>
1847
1848 <object type="action">
1849 <touch key="back" />
1850 <action function="page">main</action>
1851 </object>
1852
1853 <object type="template" name="footer" />
1854 </page>
1855
1856 <page name="usb_mount">
1857 <object type="template" name="header" />
1858
1859 <object type="text" color="%text_color%">
1860 <font resource="font" />
1861 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1862 <text>USB Storage Mounted</text>
1863 </object>
1864
1865 <object type="text" color="%text_color%">
1866 <placement x="%col1_x%" y="%row1_text_y%" />
1867 <font resource="font" />
1868 <text>Be sure to safely remove your device</text>
1869 </object>
1870
1871 <object type="text" color="%text_color%">
1872 <placement x="%col1_x%" y="%row2_text_y%" />
1873 <font resource="font" />
1874 <text>from your computer before unmounting!</text>
1875 </object>
1876
1877 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001878 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001879 <placement x="%col1_x%" y="%row3_y%" />
1880 <font resource="font" color="%button_text_color%" />
1881 <text>Unmount</text>
1882 <image resource="main_button" />
1883 <action function="page">usb_umount</action>
1884 </object>
1885
1886 <object type="action">
1887 <action function="mount">usb</action>
1888 </object>
1889
1890 <object type="template" name="footer" />
1891 </page>
1892
1893 <page name="usb_umount">
1894 <object type="action">
1895 <action function="unmount">usb</action>
1896 </object>
1897
1898 <object type="action">
1899 <action function="page">mount</action>
1900 </object>
1901 </page>
1902
1903 <page name="reboot">
1904 <object type="template" name="header" />
1905
1906 <object type="text" color="%text_color%">
1907 <font resource="font" />
1908 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1909 <text>Reboot Menu</text>
1910 </object>
1911
1912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 <condition var1="tw_reboot_system" var2="1" />
1915 <placement x="%col1_x%" y="%row1_y%" />
1916 <font resource="font" color="%button_text_color%" />
1917 <text>System</text>
1918 <image resource="main_button" />
1919 <actions>
1920 <action function="set">tw_back=reboot</action>
1921 <action function="set">tw_action=reboot</action>
1922 <action function="set">tw_action_param=system</action>
1923 <action function="set">tw_has_action2=0</action>
1924 <action function="set">tw_text1=No OS Installed! Are you</action>
1925 <action function="set">tw_text2=sure you wish to reboot?</action>
1926 <action function="set">tw_action_text1=Rebooting...</action>
1927 <action function="set">tw_complete_text1=Rebooting...</action>
1928 <action function="set">tw_slider_text=Swipe to Reboot</action>
1929 <action function="page">rebootcheck</action>
1930 </actions>
1931 </object>
1932
1933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001934 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001935 <condition var1="tw_reboot_poweroff" var2="1" />
1936 <placement x="%col2_x%" y="%row1_y%" />
1937 <font resource="font" color="%button_text_color%" />
1938 <text>Power Off</text>
1939 <image resource="main_button" />
1940 <actions>
1941 <action function="set">tw_back=reboot</action>
1942 <action function="set">tw_action=reboot</action>
1943 <action function="set">tw_action_param=poweroff</action>
1944 <action function="set">tw_has_action2=0</action>
1945 <action function="set">tw_text1=No OS Installed! Are you</action>
1946 <action function="set">tw_text2=sure you wish to power off?</action>
1947 <action function="set">tw_action_text1=Turning Off...</action>
1948 <action function="set">tw_complete_text1=Turning Off...</action>
1949 <action function="set">tw_slider_text=Swipe to Power Off</action>
1950 <action function="page">rebootcheck</action>
1951 </actions>
1952 </object>
1953
1954 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001955 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001956 <condition var1="tw_reboot_recovery" var2="1" />
1957 <placement x="%col1_x%" y="%row2_y%" />
1958 <font resource="font" color="%button_text_color%" />
1959 <text>Recovery</text>
1960 <image resource="main_button" />
1961 <actions>
1962 <action function="set">tw_back=reboot</action>
1963 <action function="set">tw_action=reboot</action>
1964 <action function="set">tw_action_param=recovery</action>
1965 <action function="set">tw_has_action2=0</action>
1966 <action function="set">tw_text1=No OS Installed! Are you</action>
1967 <action function="set">tw_text2=sure you wish to reboot?</action>
1968 <action function="set">tw_action_text1=Rebooting...</action>
1969 <action function="set">tw_complete_text1=Rebooting...</action>
1970 <action function="set">tw_slider_text=Swipe to Reboot</action>
1971 <action function="page">rebootcheck</action>
1972 </actions>
1973 </object>
1974
1975 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001976 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001977 <condition var1="tw_reboot_bootloader" var2="1" />
1978 <placement x="%col2_x%" y="%row2_y%" />
1979 <font resource="font" color="%button_text_color%" />
1980 <text>Bootloader</text>
1981 <image resource="main_button" />
1982 <actions>
1983 <action function="set">tw_back=reboot</action>
1984 <action function="set">tw_action=reboot</action>
1985 <action function="set">tw_action_param=bootloader</action>
1986 <action function="set">tw_has_action2=0</action>
1987 <action function="set">tw_text1=No OS Installed! Are you</action>
1988 <action function="set">tw_text2=sure you wish to reboot?</action>
1989 <action function="set">tw_action_text1=Rebooting...</action>
1990 <action function="set">tw_complete_text1=Rebooting...</action>
1991 <action function="set">tw_slider_text=Swipe to Reboot</action>
1992 <action function="page">rebootcheck</action>
1993 </actions>
1994 </object>
1995
1996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001997 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001998 <condition var1="tw_download_mode" var2="1" />
1999 <placement x="%col1_x%" y="%row3_y%" />
2000 <font resource="font" color="%button_text_color%" />
2001 <text>Download</text>
2002 <image resource="main_button" />
2003 <actions>
2004 <action function="set">tw_back=reboot</action>
2005 <action function="set">tw_action=reboot</action>
2006 <action function="set">tw_action_param=download</action>
2007 <action function="set">tw_has_action2=0</action>
2008 <action function="set">tw_text1=No OS Installed! Are you</action>
2009 <action function="set">tw_text2=sure you wish to reboot?</action>
2010 <action function="set">tw_action_text1=Rebooting...</action>
2011 <action function="set">tw_complete_text1=Rebooting...</action>
2012 <action function="set">tw_slider_text=Swipe to Reboot</action>
2013 <action function="page">rebootcheck</action>
2014 </actions>
2015 </object>
2016
2017 <object type="action">
2018 <touch key="home" />
2019 <action function="page">main</action>
2020 </object>
2021
2022 <object type="action">
2023 <touch key="back" />
2024 <action function="page">main</action>
2025 </object>
2026
2027 <object type="template" name="footer" />
2028 </page>
2029
2030 <page name="settings">
2031 <object type="template" name="header" />
2032
2033 <object type="text" color="%text_color%">
2034 <font resource="font" />
2035 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2036 <text>Settings</text>
2037 </object>
2038
2039 <object type="checkbox">
2040 <placement x="%col1_x%" y="%row1_text_y%" />
2041 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002042 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002043 <data variable="tw_signed_zip_verify" />
2044 <image checked="checkbox_true" unchecked="checkbox_false" />
2045 </object>
2046
2047 <object type="checkbox">
2048 <placement x="%col1_x%" y="%row2_text_y%" />
2049 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002050 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002051 <data variable="tw_rm_rf" />
2052 <image checked="checkbox_true" unchecked="checkbox_false" />
2053 </object>
2054
2055 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002056 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002057 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002058 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002059 <data variable="tw_skip_md5_generate" />
2060 <image checked="checkbox_true" unchecked="checkbox_false" />
2061 </object>
2062
2063 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002064 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002065 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002066 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002067 <data variable="tw_skip_md5_check" />
2068 <image checked="checkbox_true" unchecked="checkbox_false" />
2069 </object>
2070
2071 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002072 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002073 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002074 <text>Use Military Time.</text>
2075 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 <image checked="checkbox_true" unchecked="checkbox_false" />
2077 </object>
2078
2079 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002080 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002082 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <data variable="tw_simulate_actions" />
2084 <image checked="checkbox_true" unchecked="checkbox_false" />
2085 </object>
2086
2087 <object type="checkbox">
2088 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002089 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002090 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002091 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002092 <data variable="tw_simulate_fail" />
2093 <image checked="checkbox_true" unchecked="checkbox_false" />
2094 </object>
2095
2096 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002097 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002098 <placement x="%col1_x%" y="%row3_y%" />
2099 <font resource="font" color="%button_text_color%" />
2100 <text>Time Zone</text>
2101 <image resource="main_button" />
2102 <action function="page">timezone</action>
2103 </object>
2104
2105 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002106 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002107 <placement x="%col2_x%" y="%row3_y%" />
2108 <font resource="font" color="%button_text_color%" />
2109 <text>Screen</text>
2110 <image resource="main_button" />
2111 <action function="page">screen</action>
2112 </object>
2113
2114 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002115 <placement x="%col_center_x%" y="%row4_y%" />
2116 <font resource="font" color="%button_text_color%" />
2117 <text>Restore Defaults</text>
2118 <image resource="main_button" />
2119 <action function="restoredefaultsettings"></action>
2120 </object>
2121
2122 <object type="action">
2123 <touch key="home" />
2124 <action function="page">main</action>
2125 </object>
2126
2127 <object type="action">
2128 <touch key="back" />
2129 <action function="page">main</action>
2130 </object>
2131
2132 <object type="template" name="footer" />
2133 </page>
2134
2135 <page name="timezone">
2136 <object type="template" name="header" />
2137
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002139 <highlight color="%fileselector_highlight_color%" />
2140 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2141 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002142 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002143 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002144 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002145 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002146 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002147 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002148 <data name="tw_time_zone_guisel" />
2149 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2150 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2151 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2152 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2153 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2154 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2155 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2156 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2157 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2158 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2159 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2160 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2161 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2162 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2163 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2164 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2165 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2166 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2167 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2168 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2169 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2170 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2171 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2172 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2173 </object>
2174
2175 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002176 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002177 <font resource="font" color="%text_color%" />
2178 <text>Do you use daylight savings time (DST)?</text>
2179 <data variable="tw_time_zone_guidst" />
2180 <image checked="checkbox_true" unchecked="checkbox_false" />
2181 </object>
2182
2183 <object type="text" color="%text_color%">
2184 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002185 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002186 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2187 </object>
2188
2189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002190 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002191 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002192 <font resource="font" color="%button_text_color%" />
2193 <text>None</text>
2194 <image resource="medium_button" />
2195 <action function="set">tw_time_zone_guioffset=0</action>
2196 </object>
2197
2198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002199 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002200 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002201 <font resource="font" color="%button_text_color%" />
2202 <text>15</text>
2203 <image resource="medium_button" />
2204 <action function="set">tw_time_zone_guioffset=15</action>
2205 </object>
2206
2207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002208 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002209 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002210 <font resource="font" color="%button_text_color%" />
2211 <text>30</text>
2212 <image resource="medium_button" />
2213 <action function="set">tw_time_zone_guioffset=30</action>
2214 </object>
2215
2216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002217 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002218 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002219 <font resource="font" color="%button_text_color%" />
2220 <text>45</text>
2221 <image resource="medium_button" />
2222 <action function="set">tw_time_zone_guioffset=45</action>
2223 </object>
2224
2225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002227 <placement x="%col_center_x%" y="%tz_set_y%" />
2228 <font resource="font" color="%button_text_color%" />
2229 <text>Set Time Zone</text>
2230 <image resource="main_button" />
2231 <action function="setguitimezone"></action>
2232 </object>
2233
2234 <object type="text" color="%text_color%">
2235 <font resource="font" />
2236 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2237 <text>Current Time Zone: %tw_time_zone%</text>
2238 </object>
2239
2240 <object type="action">
2241 <touch key="home" />
2242 <action function="page">main</action>
2243 </object>
2244
2245 <object type="action">
2246 <touch key="back" />
2247 <action function="page">settings</action>
2248 </object>
2249
2250 <object type="template" name="footer" />
2251 </page>
2252
Dees_Troy2f9117a2013-02-17 19:52:09 -06002253 <page name="screen">
2254 <object type="template" name="header" />
2255
2256 <object type="text" color="%text_color%">
2257 <font resource="font" />
2258 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2259 <text>Screen Settings</text>
2260 </object>
2261
Dees_Troy2f9117a2013-02-17 19:52:09 -06002262 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002263 <placement x="%col1_x%" y="%row2_text_y%" />
2264 <font resource="font" color="%text_color%" />
2265 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2266 <text>Enable screen timeout.</text>
2267 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002268 <action function="set">tw_screen_timeout_secs=60</action>
2269 </object>
2270
2271 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002272 <placement x="%col1_x%" y="%row2_text_y%" />
2273 <font resource="font" color="%text_color%" />
2274 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2275 <text>Enable screen timeout.</text>
2276 <image resource="checkbox_true" />
2277 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002278 </object>
2279
Vojtech Bocek85932342013-04-01 22:11:33 +02002280 <object type="slidervalue">
2281 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2282 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2283 <font resource="font" color="%text_color%" />
2284 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2285 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2286 <text>Screen timeout in seconds:</text>
2287 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002288 </object>
2289
Vojtech Bocek85932342013-04-01 22:11:33 +02002290 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002291 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002292 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2293 <font resource="font" color="%text_color%" />
2294 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2295 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2296 <text>Brightness: %tw_brightness_pct%%</text>
2297 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002298 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002299 <action function="set">tw_brightness=%tw_brightness_max%</action>
2300 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2301 <action function="compute">tw_brightness/100</action>
2302 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002303 </actions>
2304 </object>
2305
2306 <object type="action">
2307 <touch key="home" />
2308 <action function="page">main</action>
2309 </object>
2310
2311 <object type="action">
2312 <touch key="back" />
2313 <action function="page">settings</action>
2314 </object>
2315
2316 <object type="template" name="footer" />
2317 </page>
2318
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <page name="advanced">
2320 <object type="template" name="header" />
2321
2322 <object type="text" color="%text_color%">
2323 <font resource="font" />
2324 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2325 <text>Advanced</text>
2326 </object>
2327
2328 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002329 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002330 <placement x="%col1_x%" y="%row1_y%" />
2331 <font resource="font" color="%button_text_color%" />
2332 <text>Copy Log to SD</text>
2333 <image resource="main_button" />
2334 <actions>
2335 <action function="set">tw_back=advanced</action>
2336 <action function="set">tw_action=copylog</action>
2337 <action function="set">tw_text1=Copy Log to SD Card?</action>
2338 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2339 <action function="set">tw_complete_text1=Log Copy Complete</action>
2340 <action function="set">tw_slider_text=Swipe to Confirm</action>
2341 <action function="page">confirm_action</action>
2342 </actions>
2343 </object>
2344
2345 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002346 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002347 <placement x="%col2_x%" y="%row1_y%" />
2348 <font resource="font" color="%button_text_color%" />
2349 <text>Fix Permissions</text>
2350 <image resource="main_button" />
2351 <actions>
2352 <action function="set">tw_back=advanced</action>
2353 <action function="set">tw_action=fixpermissions</action>
2354 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002355 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002356 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2357 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002358 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002359 <action function="page">confirm_action</action>
2360 </actions>
2361 </object>
2362
2363 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002364 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002365 <condition var1="tw_allow_partition_sdcard" var2="1" />
2366 <placement x="%col1_x%" y="%row2_y%" />
2367 <font resource="font" color="%button_text_color%" />
2368 <text>Partition SD Card</text>
2369 <image resource="main_button" />
2370 <action function="page">partsdcard</action>
2371 </object>
2372
2373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <placement x="%col2_x%" y="%row2_y%" />
2376 <font resource="font" color="%button_text_color%" />
2377 <text>File Manager</text>
2378 <image resource="main_button" />
2379 <action function="page">filemanagerlist</action>
2380 </object>
2381
2382 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002383 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <placement x="%col1_x%" y="%row3_y%" />
2385 <font resource="font" color="%button_text_color%" />
2386 <text>Terminal Command</text>
2387 <image resource="main_button" />
2388 <action function="page">terminalfolder</action>
2389 </object>
2390
2391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002392 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002393 <placement x="%col2_x%" y="%row3_y%" />
2394 <font resource="font" color="%button_text_color%" />
2395 <text>Reload Theme</text>
2396 <image resource="main_button" />
2397 <action function="reload"></action>
2398 </object>
2399
2400 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002401 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002402 <placement x="%col1_x%" y="%row4_y%" />
2403 <font resource="font" color="%button_text_color%" />
2404 <text>ADB Sideload</text>
2405 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002406 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002407 </object>
2408
2409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <condition var1="tw_show_dumlock" var2="1" />
2412 <placement x="%col2_x%" y="%row4_y%" />
2413 <font resource="font" color="%button_text_color%" />
2414 <text>HTC Dumlock</text>
2415 <image resource="main_button" />
2416 <action function="page">htcdumlock</action>
2417 </object>
2418
2419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <condition var1="tw_has_injecttwrp" var2="1" />
2422 <placement x="%col2_x%" y="%row4_y%" />
2423 <font resource="font" color="%button_text_color%" />
2424 <text>Re-Inject TWRP</text>
2425 <image resource="main_button" />
2426 <actions>
2427 <action function="set">tw_back=advanced</action>
2428 <action function="set">tw_action=reinjecttwrp</action>
2429 <action function="set">tw_text1=Re-Inject TWRP?</action>
2430 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2431 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2432 <action function="set">tw_slider_text=Swipe to Confirm</action>
2433 <action function="page">confirm_action</action>
2434 </actions>
2435 </object>
2436
2437 <object type="action">
2438 <touch key="home" />
2439 <action function="page">main</action>
2440 </object>
2441
2442 <object type="action">
2443 <touch key="back" />
2444 <action function="page">main</action>
2445 </object>
2446
2447 <object type="template" name="footer" />
2448 </page>
2449
2450 <page name="partsdcard">
2451 <object type="template" name="header" />
2452
2453 <object type="text" color="%text_color%">
2454 <font resource="font" />
2455 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2456 <text>Partition SD Card</text>
2457 </object>
2458
2459 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002460 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <placement x="%col1_x%" y="%row1_y%" />
2462 <font resource="font" color="%button_text_color%" />
2463 <text></text>
2464 <image resource="minus_button" />
2465 <action function="addsubtract">tw_sdext_size-128</action>
2466 </object>
2467
2468 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002469 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <placement x="%sd_plus_x%" y="%row1_y%" />
2471 <font resource="font" color="%button_text_color%" />
2472 <text></text>
2473 <image resource="plus_button" />
2474 <action function="addsubtract">tw_sdext_size+128</action>
2475 </object>
2476
2477 <object type="text" color="%text_color%">
2478 <font resource="font" />
2479 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2480 <text>EXT Size: %tw_sdext_size%</text>
2481 </object>
2482
2483 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002484 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002485 <placement x="%col1_x%" y="%sdswap_button_y%" />
2486 <font resource="font" color="%button_text_color%" />
2487 <text></text>
2488 <image resource="minus_button" />
2489 <action function="addsubtract">tw_swap_size-32</action>
2490 </object>
2491
2492 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002493 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2495 <font resource="font" color="%button_text_color%" />
2496 <text></text>
2497 <image resource="plus_button" />
2498 <action function="addsubtract">tw_swap_size+32</action>
2499 </object>
2500
2501 <object type="text" color="%text_color%">
2502 <font resource="font" />
2503 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2504 <text>Swap Size: %tw_swap_size%</text>
2505 </object>
2506
2507 <object type="text" color="%text_color%">
2508 <font resource="font" />
2509 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2510 <text>File system: %tw_sdpart_file_system%</text>
2511 </object>
2512
2513 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002514 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2516 <font resource="font" color="%button_text_color%" />
2517 <text>EXT3</text>
2518 <image resource="main_button" />
2519 <action function="set">tw_sdpart_file_system=ext3</action>
2520 </object>
2521
2522 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002523 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <condition var1="tw_sdext_disable_ext4" var2="0" />
2525 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2526 <font resource="font" color="%button_text_color%" />
2527 <text>EXT4</text>
2528 <image resource="main_button" />
2529 <action function="set">tw_sdpart_file_system=ext4</action>
2530 </object>
2531
2532 <object type="text" color="%text_color%">
2533 <font resource="font" />
2534 <placement x="%col1_x%" y="%row12_text_y%" />
2535 <text>You will lose all files on your SD card!</text>
2536 </object>
2537
2538 <object type="text" color="%text_color%">
2539 <font resource="font" />
2540 <placement x="%col1_x%" y="%row13_text_y%" />
2541 <text>This action cannot be undone!</text>
2542 </object>
2543
2544 <object type="slider">
2545 <placement x="%slider_x%" y="%slider_y%" />
2546 <resource base="slider" used="slider-used" touch="slider-touch" />
2547 <action function="page">partsdcardaction</action>
2548 <actions>
2549 <action function="set">tw_back=partsdcard</action>
2550 <action function="set">tw_action=partitionsd</action>
2551 <action function="set">tw_has_action2=1</action>
2552 <action function="set">tw_action2=set</action>
2553 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2554 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2555 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002556 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <action function="page">action_page</action>
2558 </actions>
2559 </object>
2560
2561 <object type="text" color="%text_color%">
2562 <font resource="font" />
2563 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2564 <text>Swipe to Partition</text>
2565 </object>
2566
2567 <object type="action">
2568 <touch key="home" />
2569 <action function="page">main</action>
2570 </object>
2571
2572 <object type="action">
2573 <touch key="back" />
2574 <action function="page">advanced</action>
2575 </object>
2576
2577 <object type="template" name="footer" />
2578 </page>
2579
2580 <page name="htcdumlock">
2581 <object type="template" name="header" />
2582
2583 <object type="text" color="%text_color%">
2584 <font resource="font" />
2585 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2586 <text>HTC Dumlock</text>
2587 </object>
2588
2589 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002590 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <condition var1="tw_show_dumlock" var2="1" />
2592 <placement x="%col1_x%" y="%row1_y%" />
2593 <font resource="font" color="%button_text_color%" />
2594 <text>Restore Original Boot</text>
2595 <image resource="main_button" />
2596 <actions>
2597 <action function="set">tw_back=htcdumlock</action>
2598 <action function="set">tw_action=htcdumlockrestoreboot</action>
2599 <action function="set">tw_text1=Restore original boot image?</action>
2600 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2601 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2602 <action function="set">tw_slider_text=Swipe to Confirm</action>
2603 <action function="page">confirm_action</action>
2604 </actions>
2605 </object>
2606
2607 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002608 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002609 <condition var1="tw_show_dumlock" var2="1" />
2610 <placement x="%col2_x%" y="%row1_y%" />
2611 <font resource="font" color="%button_text_color%" />
2612 <text>Reflash Recovery</text>
2613 <image resource="main_button" />
2614 <actions>
2615 <action function="set">tw_back=htcdumlock</action>
2616 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2617 <action function="set">tw_text1=Reflash recovery to boot?</action>
2618 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2619 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2620 <action function="set">tw_slider_text=Swipe to Confirm</action>
2621 <action function="page">confirm_action</action>
2622 </actions>
2623 </object>
2624
2625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002627 <condition var1="tw_show_dumlock" var2="1" />
2628 <placement x="%col1_x%" y="%row2_y%" />
2629 <font resource="font" color="%button_text_color%" />
2630 <text>Install HTC Dumlock</text>
2631 <image resource="main_button" />
2632 <actions>
2633 <action function="set">tw_back=htcdumlock</action>
2634 <action function="set">tw_action=installhtcdumlock</action>
2635 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2636 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2637 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2638 <action function="set">tw_slider_text=Swipe to Confirm</action>
2639 <action function="page">confirm_action</action>
2640 </actions>
2641 </object>
2642
2643 <object type="action">
2644 <touch key="home" />
2645 <action function="page">main</action>
2646 </object>
2647
2648 <object type="action">
2649 <touch key="back" />
2650 <action function="page">advanced</action>
2651 </object>
2652
2653 <object type="template" name="footer" />
2654 </page>
2655
2656 <page name="lock">
2657 <background color="#000000A0" />
2658
2659 <object type="image">
2660 <image resource="unlock-icon" />
2661 <placement x="%lock_x%" y="%lock_y%" />
2662 </object>
2663
2664 <object type="slider">
2665 <placement x="%slider_x%" y="%slider_y%" />
2666 <resource base="slider" used="slider-used" touch="slider-touch" />
2667 <action function="overlay"></action>
2668 </object>
2669
2670 <object type="text" color="%text_color%">
2671 <font resource="font" />
2672 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2673 <text>Swipe to Unlock</text>
2674 </object>
2675 </page>
2676
2677 <page name="filemanagerlist">
2678 <object type="template" name="header" />
2679
2680 <object type="text" color="%text_color%">
2681 <font resource="font" />
2682 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2683 <text>File Manager: Select a File or Folder</text>
2684 </object>
2685
2686 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002687 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2689 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002690 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <text>%tw_file_location1%</text>
2692 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2693 <sort name="tw_gui_sort_order" />
2694 <icon folder="folder_icon" file="file_icon" />
2695 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002696 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002697 <folders="1" files="1" />
2698 <path name="tw_file_location1" default="/" />
2699 <data name="tw_filename1" />
2700 <selection name="tw_selection1" />
2701 </object>
2702
2703 <object type="template" name="sort_options" />
2704
2705 <object type="action">
2706 <actions>
2707 <action function="set">tw_fm_type=File</action>
2708 <action function="set">tw_fm_isfolder=0</action>
2709 </actions>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="home" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="back" />
2719 <action function="page">advanced</action>
2720 </object>
2721
2722 <object type="action">
2723 <condition var1="tw_filename1" op="modified" />
2724 <actions>
2725 <action function="page">filemanageroptions</action>
2726 </actions>
2727 </object>
2728
2729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2732 <font resource="font" color="%button_text_color%" />
2733 <text>Select</text>
2734 <image resource="medium_button" />
2735 <actions>
2736 <action function="set">tw_filename1=tw_file_location1</action>
2737 <action function="set">tw_fm_isfolder=1</action>
2738 <action function="set">tw_fm_type=Folder</action>
2739 <action function="page">filemanageroptions</action>
2740 </actions>
2741 </object>
2742
2743 <object type="template" name="footer" />
2744 </page>
2745
2746 <page name="filemanageroptions">
2747 <object type="template" name="header" />
2748
2749 <object type="text" color="%text_color%">
2750 <font resource="font" />
2751 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2752 <text>%tw_fm_type% Selected:</text>
2753 </object>
2754
2755 <object type="text" color="%text_color%">
2756 <font resource="font" />
2757 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2758 <text>%tw_filename1%</text>
2759 </object>
2760
2761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <condition var1="tw_fm_isfolder" var2="0" />
2764 <placement x="%col1_x%" y="%row2_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>Copy File</text>
2767 <image resource="main_button" />
2768 <actions>
2769 <action function="set">tw_filemanager_command=cp</action>
2770 <action function="set">tw_fm_text1=Copying</action>
2771 <action function="page">choosedestinationfolder</action>
2772 </actions>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <condition var1="tw_fm_isfolder" var2="1" />
2778 <placement x="%col1_x%" y="%row2_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text>Copy Folder</text>
2781 <image resource="main_button" />
2782 <actions>
2783 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2784 <action function="set">tw_fm_text1=Copying</action>
2785 <action function="page">choosedestinationfolder</action>
2786 </actions>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <placement x="%col2_x%" y="%row2_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>Move</text>
2794 <image resource="main_button" />
2795 <actions>
2796 <action function="set">tw_filemanager_command=mv</action>
2797 <action function="set">tw_fm_text1=Moving</action>
2798 <action function="page">choosedestinationfolder</action>
2799 </actions>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <placement x="%col1_x%" y="%row3_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>chmod 755</text>
2807 <image resource="main_button" />
2808 <actions>
2809 <action function="set">tw_filemanager_command=chmod 755</action>
2810 <action function="set">tw_fm_text1=chmod 755</action>
2811 <action function="set">tw_fm_text2=</action>
2812 <action function="set">tw_fm_text3=</action>
2813 <action function="set">tw_include_text3=0</action>
2814 <action function="set">tw_back=filemanageroptions</action>
2815 <action function="page">filemanagerconfirm</action>
2816 </actions>
2817 </object>
2818
2819 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002820 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002821 <placement x="%col2_x%" y="%row3_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>chmod</text>
2824 <image resource="main_button" />
2825 <actions>
2826 <action function="set">tw_filemanager_rename=0000</action>
2827 <action function="set">tw_fm_text2=</action>
2828 <action function="set">tw_fm_text3=</action>
2829 <action function="set">tw_include_text3=0</action>
2830 <action function="set">tw_back=filemanageroptions</action>
2831 <action function="page">filemanagerchmod</action>
2832 </actions>
2833 </object>
2834
2835 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002836 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002837 <placement x="%col1_x%" y="%row4_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Delete</text>
2840 <image resource="main_button" />
2841 <actions>
2842 <action function="set">tw_filemanager_command=rm -rf</action>
2843 <action function="set">tw_fm_text1=Deleting</action>
2844 <action function="set">tw_fm_text2=</action>
2845 <action function="set">tw_fm_text3=</action>
2846 <action function="set">tw_include_text3=0</action>
2847 <action function="set">tw_back=filemanageroptions</action>
2848 <action function="page">filemanagerconfirm</action>
2849 </actions>
2850 </object>
2851
2852 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002853 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002854 <condition var1="tw_fm_isfolder" var2="0" />
2855 <placement x="%col2_x%" y="%row4_y%" />
2856 <font resource="font" color="%button_text_color%" />
2857 <text>Rename File</text>
2858 <image resource="main_button" />
2859 <actions>
2860 <action function="set">tw_filemanager_rename=tw_selection1</action>
2861 <action function="set">tw_fm_text1=Renaming</action>
2862 <action function="set">tw_filemanager_command=mv</action>
2863 <action function="page">filemanagerrenamefile</action>
2864 </actions>
2865 </object>
2866
2867 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002868 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002869 <condition var1="tw_fm_isfolder" var2="1" />
2870 <placement x="%col2_x%" y="%row4_y%" />
2871 <font resource="font" color="%button_text_color%" />
2872 <text>Rename Folder</text>
2873 <image resource="main_button" />
2874 <actions>
2875 <action function="set">tw_filemanager_rename=tw_selection1</action>
2876 <action function="set">tw_fm_text1=Renaming</action>
2877 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2878 <action function="page">filemanagerrenamefolder</action>
2879 </actions>
2880 </object>
2881
2882 <object type="action">
2883 <touch key="home" />
2884 <action function="page">main</action>
2885 </object>
2886
2887 <object type="action">
2888 <touch key="back" />
2889 <action function="page">filemanagerlist</action>
2890 </object>
2891
2892 <object type="template" name="footer" />
2893 </page>
2894
2895 <page name="choosedestinationfolder">
2896 <object type="template" name="header" />
2897
2898 <object type="text" color="%text_color%">
2899 <font resource="font" />
2900 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2901 <text>Browse to Destination Folder & Press Select</text>
2902 </object>
2903
2904 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002905 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002906 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2907 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002908 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <text>%tw_file_location2%</text>
2910 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2911 <sort name="tw_gui_sort_order" />
2912 <icon folder="folder_icon" file="file_icon" />
2913 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002914 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <filter folders="1" files="0" />
2916 <path name="tw_file_location2" default="/" />
2917 <data name="tw_filename2" />
2918 <selection name="tw_selection2" />
2919 </object>
2920
2921 <object type="template" name="sort_options" />
2922
2923 <object type="action">
2924 <touch key="home" />
2925 <action function="page">main</action>
2926 </object>
2927
2928 <object type="action">
2929 <touch key="back" />
2930 <action function="page">filemanageroptions</action>
2931 </object>
2932
2933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002934 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002935 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2936 <font resource="font" color="%button_text_color%" />
2937 <text>Select</text>
2938 <image resource="medium_button" />
2939 <actions>
2940 <action function="set">tw_fm_text2=to</action>
2941 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2942 <action function="set">tw_include_text3=1</action>
2943 <action function="set">tw_back=filemanageroptions</action>
2944 <action function="page">filemanagerconfirm</action>
2945 </actions>
2946 </object>
2947
2948 <object type="template" name="footer" />
2949 </page>
2950
2951 <page name="filemanagerrenamefile">
2952 <object type="template" name="header" />
2953
2954 <object type="text" color="%text_color%">
2955 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2956 <font resource="font" />
2957 <text>Please Enter a New %tw_fm_type% Name</text>
2958 </object>
2959
2960 <object type="input">
2961 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2962 <background color="%input_background_color%" />
2963 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2964 <font resource="font" color="%text_color%" />
2965 <text>%tw_filemanager_rename%</text>
2966 <data name="tw_filemanager_rename" />
2967 <restrict minlen="1" maxlen="128" />
2968 <actions>
2969 <action function="set">tw_fm_text2=to</action>
2970 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
2971 <action function="set">tw_include_text3=1</action>
2972 <action function="set">tw_back=filemanageroptions</action>
2973 <action function="page">filemanagerconfirm</action>
2974 </actions>
2975 </object>
2976
2977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <placement x="%col_center_x%" y="%row2_y%" />
2980 <font resource="font" color="%button_text_color%" />
2981 <text>Cancel</text>
2982 <image resource="main_button" />
2983 <action function="page">filemanageroptions</action>
2984 </object>
2985
2986 <object type="template" name="keyboardtemplate" />
2987
2988 <object type="action">
2989 <touch key="home" />
2990 <action function="page">main</action>
2991 </object>
2992
2993 <object type="action">
2994 <touch key="back" />
2995 <action function="page">filemanageroptions</action>
2996 </object>
2997
2998 <object type="template" name="footer" />
2999 </page>
3000
3001 <page name="filemanagerrenamefolder">
3002 <object type="template" name="header" />
3003
3004 <object type="text" color="%text_color%">
3005 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3006 <font resource="font" />
3007 <text>Please Enter a New %tw_fm_type% Name</text>
3008 </object>
3009
3010 <object type="input">
3011 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3012 <background color="%input_background_color%" />
3013 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3014 <font resource="font" color="%text_color%" />
3015 <text>%tw_filemanager_rename%</text>
3016 <data name="tw_filemanager_rename" />
3017 <restrict minlen="1" maxlen="128" />
3018 <actions>
3019 <action function="set">tw_fm_text2=to</action>
3020 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3021 <action function="set">tw_include_text3=1</action>
3022 <action function="set">tw_back=filemanageroptions</action>
3023 <action function="page">filemanagerconfirm</action>
3024 </actions>
3025 </object>
3026
3027 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003028 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003029 <placement x="%col_center_x%" y="%row2_y%" />
3030 <font resource="font" color="%button_text_color%" />
3031 <text>Cancel</text>
3032 <image resource="main_button" />
3033 <action function="page">filemanageroptions</action>
3034 </object>
3035
3036 <object type="template" name="keyboardtemplate" />
3037
3038 <object type="action">
3039 <touch key="home" />
3040 <action function="page">main</action>
3041 </object>
3042
3043 <object type="action">
3044 <touch key="back" />
3045 <action function="page">filemanageroptions</action>
3046 </object>
3047
3048 <object type="template" name="footer" />
3049 </page>
3050
3051 <page name="filemanagerchmod">
3052 <object type="template" name="header" />
3053
3054 <object type="text" color="%text_color%">
3055 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3056 <font resource="font" />
3057 <text>Please Enter New Permissions</text>
3058 </object>
3059
3060 <object type="input">
3061 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3062 <background color="%input_background_color%" />
3063 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3064 <font resource="font" color="%text_color%" />
3065 <text>%tw_filemanager_rename%</text>
3066 <data name="tw_filemanager_rename" />
3067 <restrict minlen="3" maxlen="4" allow="0123456789" />
3068 <actions>
3069 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3070 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3071 <action function="set">tw_back=filemanageroptions</action>
3072 <action function="page">filemanagerconfirm</action>
3073 </actions>
3074 </object>
3075
3076 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003077 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <placement x="%col_center_x%" y="%row2_y%" />
3079 <font resource="font" color="%button_text_color%" />
3080 <text>Cancel</text>
3081 <image resource="main_button" />
3082 <action function="page">filemanageroptions</action>
3083 </object>
3084
3085 <object type="template" name="keyboardtemplate" />
3086
3087 <object type="action">
3088 <touch key="home" />
3089 <action function="page">main</action>
3090 </object>
3091
3092 <object type="action">
3093 <touch key="back" />
3094 <action function="page">filemanageroptions</action>
3095 </object>
3096
3097 <object type="template" name="footer" />
3098 </page>
3099
3100 <page name="filemanagerconfirm">
3101 <object type="template" name="header" />
3102
3103 <object type="text" color="%text_color%">
3104 <font resource="font" />
3105 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3106 <text>%tw_fm_text1%</text>
3107 </object>
3108
3109 <object type="text" color="%text_color%">
3110 <font resource="font" />
3111 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3112 <text>%tw_filename1%</text>
3113 </object>
3114
3115 <object type="text" color="%text_color%">
3116 <font resource="font" />
3117 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3118 <text>%tw_fm_text2%</text>
3119 </object>
3120
3121 <object type="text" color="%text_color%">
3122 <font resource="font" />
3123 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3124 <text>%tw_fm_text3%</text>
3125 </object>
3126
3127 <object type="text" color="%text_color%">
3128 <font resource="font" />
3129 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3130 <text>Press back button to cancel.</text>
3131 </object>
3132
3133 <object type="slider">
3134 <placement x="%slider_x%" y="%slider_y%" />
3135 <resource base="slider" used="slider-used" touch="slider-touch" />
3136 <action function="page">filemanageracction</action>
3137 </object>
3138
3139 <object type="text" color="%text_color%">
3140 <font resource="font" />
3141 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3142 <text>Swipe to Confirm</text>
3143 </object>
3144
3145 <object type="action">
3146 <touch key="back" />
3147 <action function="page">%tw_back%</action>
3148 </object>
3149
3150 <object type="action">
3151 <touch key="home" />
3152 <action function="page">main</action>
3153 </object>
3154
3155 <object type="template" name="footer" />
3156 </page>
3157
3158 <page name="filemanageracction">
3159 <object type="template" name="header" />
3160
3161 <object type="text" color="%text_color%">
3162
3163 <font resource="font" />
3164 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3165 <text>%tw_fm_text1%</text>
3166 </object>
3167
3168 <object type="template" name="action_page_console" />
3169
3170 <object type="template" name="progress_bar" />
3171
3172 <object type="action">
3173 <conditions>
3174 <condition var1="tw_operation_state" var2="1" />
3175 <condition var1="tw_operation_status" var2="0" />
3176 </conditions>
3177 <actions>
3178 <action function="set">tw_back=filemanagerlist</action>
3179 <action function="set">tw_complete_text1=File Operation Complete</action>
3180 <action function="page">action_complete</action>
3181 </actions>
3182 </object>
3183
3184 <object type="action">
3185 <conditions>
3186 <condition var1="tw_operation_state" var2="1" />
3187 <condition var1="tw_operation_status" op="!=" var2="0" />
3188 </conditions>
3189 <actions>
3190 <action function="set">tw_complete_text1=File Operation Complete</action>
3191 <action function="page">action_complete</action>
3192 </actions>
3193 </object>
3194
3195 <object type="action">
3196 <condition var1="tw_include_text3" var2="0" />
3197 <actions>
3198 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3199 </actions>
3200 </object>
3201
3202 <object type="action">
3203 <condition var1="tw_include_text3" var2="1" />
3204 <actions>
3205 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3206 </actions>
3207 </object>
3208 </page>
3209
3210 <page name="decrypt">
3211 <object type="template" name="header" />
3212
3213 <object type="text" color="%text_color%">
3214 <font resource="font" />
3215 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3216 <text>Please Enter Your Password</text>
3217 </object>
3218
3219 <object type="input">
3220 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3221 <background color="%input_background_color%" />
3222 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3223 <font resource="font" color="%text_color%" />
3224 <text>%tw_crypto_display%</text>
3225 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3226 <restrict minlen="1" maxlen="254" />
3227 <actions>
3228 <action function="page">trydecrypt</action>
3229 </actions>
3230 </object>
3231
3232 <object type="text" color="%text_fail_color%">
3233 <condition var1="tw_password_fail" var2="1" />
3234 <font resource="font" />
3235 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3236 <text>Password Failed, Please Try Again</text>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col_center_x%" y="%row2_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>Cancel</text>
3244 <image resource="main_button" />
3245 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003246 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003247 <action function="page">main</action>
3248 </actions>
3249 </object>
3250
3251 <object type="template" name="keyboardtemplate" />
3252
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <object type="template" name="footer" />
3254 </page>
3255
3256 <page name="trydecrypt">
3257 <object type="template" name="header" />
3258
3259 <object type="text" color="%text_color%">
3260 <font resource="font" />
3261 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3262 <text>Trying Decryption with Your Password</text>
3263 </object>
3264
3265 <object type="template" name="action_page_console" />
3266
3267 <object type="template" name="progress_bar" />
3268
3269 <object type="action">
3270 <action function="decrypt"></action>
3271 </object>
3272
3273 <object type="action">
3274 <conditions>
3275 <condition var1="tw_operation_state" var2="1" />
3276 <condition var1="tw_operation_status" op="!=" var2="0" />
3277 </conditions>
3278 <actions>
3279 <action function="set">tw_password_fail=1</action>
3280 <action function="page">decrypt</action>
3281 </actions>
3282 </object>
3283
3284 <object type="action">
3285 <conditions>
3286 <condition var1="tw_operation_state" var2="1" />
3287 <condition var1="tw_operation_status" op="=" var2="0" />
3288 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003289 <actions>
3290 <action function="set">tw_page_done=1</action>
3291 <action function="page">main</action>
3292 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003293 </object>
3294 </page>
3295
3296 <page name="terminalfolder">
3297 <object type="template" name="header" />
3298
3299 <object type="text" color="%text_color%">
3300 <font resource="font" />
3301 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3302 <text>Browse to Starting Folder</text>
3303 </object>
3304
3305 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003306 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003307 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3308 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003309 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003310 <text>%tw_terminal_location%</text>
3311 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3312 <sort name="tw_gui_sort_order" />
3313 <icon folder="folder_icon" file="file_icon" />
3314 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003315 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <filter folders="1" files="0" />
3317 <path name="tw_terminal_location" default="/" />
3318 <data name="tw_terminal" />
3319 <selection name="tw_terminal_selection" />
3320 </object>
3321
3322 <object type="template" name="sort_options" />
3323
3324 <object type="action">
3325 <touch key="home" />
3326 <action function="page">main</action>
3327 </object>
3328
3329 <object type="action">
3330 <touch key="back" />
3331 <action function="page">advanced</action>
3332 </object>
3333
3334 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003335 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003336 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3337 <font resource="font" color="%button_text_color%" />
3338 <text>Select</text>
3339 <image resource="medium_button" />
3340 <actions>
3341 <action function="page">terminalcommand</action>
3342 </actions>
3343 </object>
3344
3345 <object type="template" name="footer" />
3346 </page>
3347
3348 <page name="terminalcommand">
3349 <object type="template" name="header" />
3350
3351 <object type="console">
3352 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3353 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3354 <font resource="fixed" />
3355 </object>
3356
3357 <object type="text" color="%text_color%">
3358 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3359 <font resource="font" />
3360 <text>Starting Path: %tw_terminal_location%</text>
3361 </object>
3362
3363 <object type="input">
3364 <condition var1="tw_terminal_state" var2="0" />
3365 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3366 <background color="%input_background_color%" />
3367 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3368 <font resource="font" color="%text_color%" />
3369 <text>%tw_terminal_command%</text>
3370 <data name="tw_terminal_command" />
3371 <restrict minlen="1" />
3372 <action function="terminalcommand">%tw_terminal_command%</action>
3373 </object>
3374
3375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003377 <condition var1="tw_terminal_state" var2="1" />
3378 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3379 <font resource="font" color="%button_text_color%" />
3380 <text>KILL</text>
3381 <image resource="medium_button" />
3382 <action function="killterminal"></action>
3383 </object>
3384
3385 <object type="template" name="keyboardtemplate" />
3386
3387 <object type="action">
3388 <touch key="home" />
3389 <action function="page">main</action>
3390 </object>
3391
3392 <object type="action">
3393 <touch key="back" />
3394 <action function="page">terminalfolder</action>
3395 </object>
3396 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003397
3398 <page name="sideload">
3399 <object type="template" name="header" />
3400
3401 <object type="text" color="%text_color%">
3402 <font resource="font" />
3403 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3404 <text>ADB Sideload</text>
3405 </object>
3406
3407 <object type="checkbox">
3408 <placement x="%col1_x%" y="%row2_text_y%" />
3409 <font resource="font" color="%text_color%" />
3410 <text>Wipe Dalvik Cache.</text>
3411 <data variable="tw_wipe_dalvik" />
3412 <image checked="checkbox_true" unchecked="checkbox_false" />
3413 </object>
3414
3415 <object type="checkbox">
3416 <placement x="%col1_x%" y="%row3_text_y%" />
3417 <font resource="font" color="%text_color%" />
3418 <text>Wipe Cache.</text>
3419 <data variable="tw_wipe_cache" />
3420 <image checked="checkbox_true" unchecked="checkbox_false" />
3421 </object>
3422
3423 <object type="slider">
3424 <placement x="%slider_x%" y="%slider_y%" />
3425 <resource base="slider" used="slider-used" touch="slider-touch" />
3426 <actions>
3427 <action function="set">tw_back=advanced</action>
3428 <action function="set">tw_action=adbsideload</action>
3429 <action function="set">tw_action_text1=ADB Sideload</action>
3430 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3431 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3432 <action function="set">tw_has_cancel=1</action>
3433 <action function="set">tw_show_reboot=1</action>
3434 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3435 <action function="page">action_page</action>
3436 </actions>
3437 </object>
3438
3439 <object type="text" color="%text_color%">
3440 <font resource="font" />
3441 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3442 <text>Swipe to Start Sideload</text>
3443 </object>
3444
3445 <object type="action">
3446 <touch key="home" />
3447 <action function="page">main</action>
3448 </object>
3449
3450 <object type="action">
3451 <touch key="back" />
3452 <action function="page">advanced</action>
3453 </object>
3454
3455 <object type="template" name="footer" />
3456 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003457
3458 <page name="installsu">
3459 <object type="template" name="header" />
3460
3461 <object type="text" color="%text_color%">
3462 <font resource="font" />
3463 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3464 <text>Install SuperSU?</text>
3465 </object>
3466
3467 <object type="text" color="%text_color%">
3468 <font resource="font" />
3469 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3470 <text>Your device does not appear to be rooted.</text>
3471 </object>
3472
3473 <object type="text" color="%text_color%">
3474 <font resource="font" />
3475 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3476 <text>Install SuperSU now?</text>
3477 </object>
3478
3479 <object type="text" color="%text_color%">
3480 <font resource="font" />
3481 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3482 <text>This will root your device.</text>
3483 </object>
3484
3485 <object type="button">
3486 <highlight color="%highlight_color%" />
3487 <placement x="%col_center_x%" y="%row3_y%" />
3488 <font resource="font" color="%button_text_color%" />
3489 <text>Do Not Install</text>
3490 <image resource="main_button" />
3491 <action function="set">tw_page_done=1</action>
3492 </object>
3493
3494 <object type="slider">
3495 <placement x="%slider_x%" y="%slider_y%" />
3496 <resource base="slider" used="slider-used" touch="slider-touch" />
3497 <actions>
3498 <action function="set">tw_action=installsu</action>
3499 <action function="set">tw_action_text1=Installing SuperSU</action>
3500 <action function="set">tw_action_text2=</action>
3501 <action function="page">singleaction_page</action>
3502 </actions>
3503 </object>
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3508 <text>Swipe to Install</text>
3509 </object>
3510 </page>
3511
3512 <page name="fixsu">
3513 <object type="template" name="header" />
3514
3515 <object type="text" color="%text_color%">
3516 <font resource="font" />
3517 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3518 <text>Fix Superuser Permissions?</text>
3519 </object>
3520
3521 <object type="text" color="%text_color%">
3522 <font resource="font" />
3523 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3524 <text>Root permissions appear to be lost.</text>
3525 </object>
3526
3527 <object type="text" color="%text_color%">
3528 <font resource="font" />
3529 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3530 <text>Fix root permissions now?</text>
3531 </object>
3532
3533 <object type="text" color="%text_color%">
3534 <font resource="font" />
3535 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3536 <text>(Fixes permissions on su binary & app)</text>
3537 </object>
3538
3539 <object type="button">
3540 <highlight color="%highlight_color%" />
3541 <placement x="%col_center_x%" y="%row3_y%" />
3542 <font resource="font" color="%button_text_color%" />
3543 <text>Do Not Fix</text>
3544 <image resource="main_button" />
3545 <action function="set">tw_page_done=1</action>
3546 </object>
3547
3548 <object type="slider">
3549 <placement x="%slider_x%" y="%slider_y%" />
3550 <resource base="slider" used="slider-used" touch="slider-touch" />
3551 <actions>
3552 <action function="set">tw_action=fixsu</action>
3553 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3554 <action function="set">tw_action_text2=</action>
3555 <action function="page">singleaction_page</action>
3556 </actions>
3557 </object>
3558
3559 <object type="text" color="%text_color%">
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3562 <text>Swipe to Fix Root</text>
3563 </object>
3564 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003565 </pages>
3566</recovery>