blob: de4d159447922c7691dd866f280ef8bed0465a54 [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" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400179 </variables>
180
181 <templates>
182 <template name="header">
183 <background color="%backgroundcolor%" />
184
185 <object type="image">
186 <image resource="top_bar" />
187 <placement x="0" y="0" />
188 </object>
189
190 <object type="text" color="%text_color%">
191 <font resource="font" />
192 <placement x="100" y="10" />
193 <text>Team Win Recovery Project v%tw_version%</text>
194 </object>
195
196 <object type="text" color="%text_color%">
197 <condition var1="tw_simulate_actions" var2="1" />
198 <font resource="font" />
199 <placement x="100" y="40" />
200 <text>SIMULATING ACTIONS</text>
201 </object>
202
203 <object type="text" color="%text_color%">
204 <font resource="font" />
205 <placement x="100" y="70" />
206 <text>%tw_time%</text>
207 </object>
208
209 <object type="text" color="%text_color%">
210 <font resource="font" />
211 <placement x="250" y="70" />
212 <conditions>
213 <condition var1="tw_no_battery_percent" var2="0" />
214 <condition var1="tw_battery" op=">" var2="0" />
215 <condition var1="tw_battery" op="<" var2="101" />
216 </conditions>
217 <text>Battery: %tw_battery%</text>
218 </object>
219
220 <object type="button">
221 <placement x="%home_button_x%" y="%home_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="home_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">home</action>
227 </object>
228
229 <object type="button">
230 <placement x="%back_button_x%" y="%back_button_y%" />
231 <font resource="font" color="%button_text_color%" />
232 <text></text>
233 <image resource="back_icon" />
234 <condition var1="tw_busy" var2="0" />
235 <action function="key">back</action>
236 </object>
237
238 <object type="action">
239 <touch key="power" />
240 <action function="overlay">lock</action>
241 </object>
242 </template>
243
244 <template name="progress_bar">
245 <object type="progressbar">
246 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
247 <resource empty="progress_empty" full="progress_full" />
248 <data name="ui_progress" />
249 </object>
250
251 <object type="animation">
252 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
253 <resource name="progress" />
254 <speed fps="15" render="2" />
255 <loop frame="1" />
256 </object>
257 </template>
258
259 <template name="action_page_console">
260 <object type="console">
261 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
262 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
263 <font resource="fixed" />
264 </object>
265 </template>
266
267 <template name="sort_options">
268 <object type="text" color="%text_color%">
269 <font resource="font" />
270 <placement x="%col1_x%" y="%sort_asc_text_y%" />
271 <text>Sort Ascending:</text>
272 </object>
273
274 <object type="button">
275 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
276 <font resource="UItext" color="%button_text_color%" />
277 <text>Name</text>
278 <image resource="sort_button" />
279 <action function="set">tw_gui_sort_order=1</action>
280 </object>
281
282 <object type="button">
283 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
284 <font resource="UItext" color="%button_text_color%" />
285 <text>Date</text>
286 <image resource="sort_button" />
287 <action function="set">tw_gui_sort_order=2</action>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
292 <font resource="UItext" color="%button_text_color%" />
293 <text>Size</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=3</action>
296 </object>
297
298 <object type="text" color="%text_color%">
299 <font resource="font" />
300 <placement x="%col1_x%" y="%sort_desc_text_y%" />
301 <text>Sort Descending:</text>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
306 <font resource="UItext" color="%button_text_color%" />
307 <text>Name</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=-1</action>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
314 <font resource="UItext" color="%button_text_color%" />
315 <text>Date</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=-2</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
322 <font resource="UItext" color="%button_text_color%" />
323 <text>Size</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-3</action>
326 </object>
327 </template>
328
329 <template name="footer">
330 <object type="console">
331 <slideout resource="slideout" x="210" y="814" />
332 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
333 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
334 <font resource="fixed" />
335 </object>
336 </template>
337
338 <template name="keyboardtemplate">
339 <object type="keyboard">
340 <placement x="0" y="504" />
341 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600342 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400343 <layout1>
344 <keysize height="78" width="48" />
345 <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" />
346 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
347 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
348 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
349 </layout1>
350 <layout2>
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:layout1" 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:action" />
356 </layout2>
357 <layout3>
358 <keysize height="78" width="48" />
359 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
360 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
361 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
362 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
363 </layout3>
364 <layout4>
365 <keysize height="78" width="48" />
366 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
367 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
368 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
369 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
370 </layout4>
371 </object>
372 </template>
373 </templates>
374
375 <pages>
376 <page name="main">
377 <object type="action">
378 <actions>
379 <action function="set">tw_clear_destination=main2</action>
380 <action function="page">clear_vars</action>
381 </actions>
382 </object>
383 </page>
384
385 <page name="main2">
386 <object type="template" name="header" />
387
388 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600389 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400390 <placement x="%col1_x%" y="%row1_y%" />
391 <font resource="font" color="%button_text_color%" />
392 <text>Install</text>
393 <image resource="main_button" />
394 <actions>
395 <action function="queueclear"></action>
396 <action function="page">install</action>
397 </actions>
398 </object>
399
400 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600401 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400402 <placement x="%col2_x%" y="%row1_y%" />
403 <font resource="font" color="%button_text_color%" />
404 <text>Wipe</text>
405 <image resource="main_button" />
406 <action function="page">wipe</action>
407 </object>
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col1_x%" y="%row2_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Backup</text>
414 <image resource="main_button" />
415 <action function="page">backup</action>
416 </object>
417
418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600419 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400420 <placement x="%col2_x%" y="%row2_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Restore</text>
423 <image resource="main_button" />
424 <action function="page">restore</action>
425 </object>
426
427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <placement x="%col1_x%" y="%row3_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Mount</text>
432 <image resource="main_button" />
433 <action function="page">mount</action>
434 </object>
435
436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400438 <placement x="%col2_x%" y="%row3_y%" />
439 <font resource="font" color="%button_text_color%" />
440 <text>Settings</text>
441 <image resource="main_button" />
442 <action function="page">settings</action>
443 </object>
444
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col1_x%" y="%row4_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Advanced</text>
451 <image resource="main_button" />
452 <action function="page">advanced</action>
453 </object>
454
455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col2_x%" y="%row4_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Reboot</text>
460 <image resource="main_button" />
461 <action function="page">reboot</action>
462 </object>
463
464 <object type="template" name="footer" />
465 </page>
466
467 <page name="install">
468 <object type="template" name="header" />
469
470 <object type="text" color="%text_color%">
471 <font resource="font" />
472 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
473 <text>Select Zip to Install</text>
474 </object>
475
476 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500477 <highlight color="%highlight_color%" />
478 <fill color="%button_fill_color%" />
479 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
480 <font resource="font" color="%button_text_color%" />
481 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
482 <actions>
483 <action function="set">tw_back=install</action>
484 <action function="page">selectstorage</action>
485 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 </object>
487
488 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600489 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500490 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100492 <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 -0400493 <text>%tw_zip_location%</text>
494 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
495 <sort name="tw_gui_sort_order" />
496 <icon folder="folder_icon" file="file_icon" />
497 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600498 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <filter extn=".zip" folders="1" files="1" />
500 <path name="tw_zip_location" default="/sdcard" />
501 <data name="tw_filename" />
502 <selection name="tw_file" />
503 </object>
504
505 <object type="template" name="sort_options" />
506
507 <object type="action">
508 <condition var1="tw_filename" op="modified" />
509 <actions>
510 <action function="queuezip"></action>
511 <action function="page">flash_confirm</action>
512 </actions>
513 </object>
514
515 <object type="action">
516 <touch key="back" />
517 <action function="page">main</action>
518 </object>
519
520 <object type="action">
521 <touch key="home" />
522 <action function="page">main</action>
523 </object>
524
525 <object type="template" name="footer" />
526 </page>
527
528 <page name="flash_confirm">
529 <object type="template" name="header" />
530
531 <object type="text" color="%text_color%">
532 <font resource="font" />
533 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
534 <text>This operation may install incompatible</text>
535 </object>
536
537 <object type="text" color="%text_color%">
538 <font resource="font" />
539 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
540 <text>software and render your device unusable.</text>
541 </object>
542
543 <object type="text" color="%text_color%">
544 <font resource="font" />
545 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
546 <text>Folder:</text>
547 </object>
548
549 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400550 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400551 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
552 <text>%tw_zip_location%</text>
553 </object>
554
555 <object type="text" color="%text_color%">
556 <font resource="font" />
557 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
558 <text>File to flash:</text>
559 </object>
560
561 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400562 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400563 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
564 <text>%tw_file%</text>
565 </object>
566
567 <object type="text" color="%text_color%">
568 <font resource="font" />
569 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
570 <text>Press back to cancel adding this zip.</text>
571 </object>
572
573 <object type="checkbox">
574 <placement x="%col1_x%" y="%row8_text_y%" />
575 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400576 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400577 <data variable="tw_signed_zip_verify" />
578 <image checked="checkbox_true" unchecked="checkbox_false" />
579 </object>
580
581 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400582 <condition var1="tw_has_injecttwrp" var2="1" />
583 <placement x="%col1_x%" y="%row10_text_y%" />
584 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400585 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400586 <data variable="tw_inject_after_zip" />
587 <image checked="checkbox_true" unchecked="checkbox_false" />
588 </object>
589
590 <object type="text" color="%text_color%">
591 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <text>File %tw_zip_queue_count% of max of 10</text>
594 </object>
595
596 <object type="slider">
597 <placement x="%slider_x%" y="%slider_y%" placement="5" />
598 <resource base="slider" used="slider-used" touch="slider-touch" />
599 <action function="flash">flash_zip</action>
600 </object>
601
602 <object type="text" color="%text_color%">
603 <font resource="font" />
604 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
605 <text>Swipe to Confirm Flash</text>
606 </object>
607
608 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600609 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400610 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
611 <placement x="%col1_x%" y="%row_queue_y%" />
612 <font resource="font" color="%button_text_color%" />
613 <text>Add More Zips</text>
614 <image resource="main_button" />
615 <action function="page">install</action>
616 </object>
617
618 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600619 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400620 <placement x="%col2_x%" y="%row_queue_y%" />
621 <font resource="font" color="%button_text_color%" />
622 <text>Clear Zip Queue</text>
623 <image resource="main_button" />
624 <actions>
625 <action function="queueclear"></action>
626 <action function="page">install</action>
627 </actions>
628 </object>
629
630 <object type="action">
631 <touch key="back" />
632 <actions>
633 <action function="cancelzip"></action>
634 <action function="page">install</action>
635 </actions>
636 </object>
637
638 <object type="action">
639 <touch key="home" />
640 <action function="page">main</action>
641 </object>
642
643 <object type="template" name="footer" />
644 </page>
645
646 <page name="flash_zip">
647 <object type="template" name="header" />
648
649 <object type="console">
650 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
651 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
652 <font resource="fixed" />
653 </object>
654
655 <object type="text" color="%text_color%">
656 <font resource="font" />
657 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
658 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
659 </object>
660
661 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400662 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400663 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
664 <text>%tw_filename%</text>
665 </object>
666
667 <object type="template" name="progress_bar" />
668
669 <object type="action">
670 <condition var1="tw_operation_state" var2="1" />
671 <action function="page">flash_done</action>
672 </object>
673 </page>
674
675 <page name="flash_done">
676 <object type="template" name="header" />
677
678 <object type="text" color="%text_color%">
679 <font resource="font" />
680 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
681 <text>Zip Install Complete</text>
682 </object>
683
684 <object type="console">
685 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
686 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
687 <font resource="fixed" />
688 </object>
689
690 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600691 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400692 <placement x="%col1_x%" y="%row4_y%" />
693 <font resource="font" color="%button_text_color%" />
694 <text>Wipe cache/dalvik</text>
695 <image resource="main_button" />
696 <actions>
697 <action function="set">tw_back=flash_done</action>
698 <action function="set">tw_action=wipe</action>
699 <action function="set">tw_action_param=/cache</action>
700 <action function="set">tw_has_action2=1</action>
701 <action function="set">tw_action2=wipe</action>
702 <action function="set">tw_action2_param=dalvik</action>
703 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
704 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
705 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
706 <action function="set">tw_slider_text=Swipe to Wipe</action>
707 <action function="page">confirm_action</action>
708 </actions>
709 </object>
710
711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400713 <placement x="%col2_x%" y="%row4_y%" />
714 <font resource="font" color="%button_text_color%" />
715 <text>Reboot System</text>
716 <image resource="main_button" />
717 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400718 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400719 <action function="set">tw_action=reboot</action>
720 <action function="set">tw_action_param=system</action>
721 <action function="set">tw_has_action2=0</action>
722 <action function="set">tw_text1=No OS Installed! Are you</action>
723 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400724 <action function="set">tw_text3=</action>
725 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400726 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400727 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400728 <action function="set">tw_complete_text1=Rebooting...</action>
729 <action function="set">tw_slider_text=Swipe to Reboot</action>
730 <action function="page">rebootcheck</action>
731 </actions>
732 </object>
733
734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <placement x="%col_center_x%" y="%row3_y%" />
737 <font resource="font" color="%button_text_color%" />
738 <text>Home</text>
739 <image resource="main_button" />
740 <actions>
741 <action function="set">tw_clear_destination=main2</action>
742 <action function="page">clear_vars</action>
743 </actions>
744 </object>
745
746 <object type="text" color="%text_fail_color%">
747 <condition var1="tw_operation_status" op="!=" var2="0" />
748 <font resource="font" />
749 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
750 <text>Failed</text>
751 </object>
752
753 <object type="text" color="%text_success_color%">
754 <condition var1="tw_operation_status" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
757 <text>Successful</text>
758 </object>
759
760 <object type="action">
761 <touch key="back" />
762 <actions>
763 <action function="set">tw_clear_destination=install</action>
764 <action function="page">clear_vars</action>
765 </actions>
766 </object>
767
768 <object type="action">
769 <touch key="home" />
770 <actions>
771 <action function="set">tw_clear_destination=main2</action>
772 <action function="page">clear_vars</action>
773 </actions>
774 </object>
775 </page>
776
777 <page name="clear_vars">
778 <object type="action">
779 <action function="set">tw_operation_state=0</action>
780 <action function="set">tw_text1=</action>
781 <action function="set">tw_text2=</action>
782 <action function="set">tw_text3=</action>
783 <action function="set">tw_text4=</action>
784 <action function="set">tw_action_text1=</action>
785 <action function="set">tw_action_text2=</action>
786 <action function="set">tw_action_param=</action>
787 <action function="set">tw_has_action2=0</action>
788 <action function="set">tw_action2=</action>
789 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400790 <action function="set">tw_has_cancel=0</action>
791 <action function="set">tw_cancel_action=</action>
792 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400793 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400794 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400795 <action function="page">%tw_clear_destination%</action>
796 </object>
797 </page>
798
799 <page name="confirm_action">
800 <object type="template" name="header" />
801
802 <object type="text" color="%text_color%">
803 <font resource="font" />
804 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
805 <text>%tw_text1%</text>
806 </object>
807
808 <object type="text" color="%text_color%">
809 <font resource="font" />
810 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
811 <text>%tw_text2%</text>
812 </object>
813
814 <object type="text" color="%text_color%">
815 <font resource="font" />
816 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
817 <text>%tw_text3%</text>
818 </object>
819
820 <object type="text" color="%text_color%">
821 <font resource="font" />
822 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
823 <text>%tw_text4%</text>
824 </object>
825
826 <object type="text" color="%text_color%">
827 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400828 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400829 <text>Press back button to cancel.</text>
830 </object>
831
832 <object type="slider">
833 <placement x="%slider_x%" y="%slider_y%" />
834 <resource base="slider" used="slider-used" touch="slider-touch" />
835 <action function="page">action_page</action>
836 </object>
837
838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
841 <text>%tw_slider_text%</text>
842 </object>
843
844 <object type="action">
845 <touch key="back" />
846 <actions>
847 <action function="set">tw_clear_destination=%tw_back%</action>
848 <action function="page">clear_vars</action>
849 </actions>
850 </object>
851
852 <object type="action">
853 <touch key="home" />
854 <action function="page">main</action>
855 </object>
856
857 <object type="template" name="footer" />
858 </page>
859
860 <page name="action_page">
861 <object type="template" name="header" />
862
863 <object type="text" color="%text_color%">
864 <font resource="font" />
865 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
866 <text>%tw_action_text1%</text>
867 </object>
868
869 <object type="text" color="%text_color%">
870 <font resource="font" />
871 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
872 <text>%tw_action_text2%</text>
873 </object>
874
875 <object type="template" name="action_page_console" />
876
Dees_Troyb46a6842012-09-25 11:06:46 -0400877 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600878 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400879 <condition var1="tw_has_cancel" var2="1" />
880 <placement x="%col_center_medium_x%" y="%row4_y%" />
881 <font resource="font" color="%button_text_color%" />
882 <text>Cancel</text>
883 <image resource="medium_button" />
884 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
885 </object>
886
Dees_Troy51a0e822012-09-05 15:24:24 -0400887 <object type="template" name="progress_bar" />
888
889 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400890 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400891 <actions>
892 <action function="page">action_complete</action>
893 </actions>
894 </object>
895
896 <object type="action">
897 <condition var1="tw_has_action2" var2="0" />
898 <actions>
899 <action function="%tw_action%">%tw_action_param%</action>
900 </actions>
901 </object>
902
903 <object type="action">
904 <condition var1="tw_has_action2" var2="1" />
905 <actions>
906 <action function="%tw_action%">%tw_action_param%</action>
907 <action function="%tw_action2%">%tw_action2_param%</action>
908 </actions>
909 </object>
910 </page>
911
Dees_Troy6ef66352013-02-21 08:26:57 -0600912 <page name="singleaction_page">
913 <object type="template" name="header" />
914
915 <object type="text" color="%text_color%">
916 <font resource="font" />
917 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
918 <text>%tw_action_text1%</text>
919 </object>
920
921 <object type="text" color="%text_color%">
922 <font resource="font" />
923 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
924 <text>%tw_action_text2%</text>
925 </object>
926
927 <object type="template" name="action_page_console" />
928
929 <object type="template" name="progress_bar" />
930
931 <object type="action">
932 <condition var1="tw_operation_state" var2="1" />
933 <actions>
934 <action function="set">tw_page_done=1</action>
935 </actions>
936 </object>
937
938 <object type="action">
939 <condition var1="tw_has_action2" var2="0" />
940 <actions>
941 <action function="%tw_action%">%tw_action_param%</action>
942 </actions>
943 </object>
944
945 <object type="action">
946 <condition var1="tw_has_action2" var2="1" />
947 <actions>
948 <action function="%tw_action%">%tw_action_param%</action>
949 <action function="%tw_action2%">%tw_action2_param%</action>
950 </actions>
951 </object>
952 </page>
953
Dees_Troy51a0e822012-09-05 15:24:24 -0400954 <page name="action_complete">
955 <object type="template" name="header" />
956
957 <object type="text" color="%text_color%">
958 <font resource="font" />
959 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
960 <text>%tw_complete_text1%</text>
961 </object>
962
963 <object type="text" color="%text_fail_color%">
964 <condition var1="tw_operation_status" op="!=" var2="0" />
965 <font resource="font" />
966 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
967 <text>Failed</text>
968 </object>
969
970 <object type="text" color="%text_success_color%">
971 <condition var1="tw_operation_status" var2="0" />
972 <font resource="font" />
973 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
974 <text>Successful</text>
975 </object>
976
977 <object type="template" name="action_page_console" />
978
979 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600980 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400981 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400982 <placement x="%col_center_x%" y="%row4_y%" />
983 <font resource="font" color="%button_text_color%" />
984 <text>Back</text>
985 <image resource="main_button" />
986 <actions>
987 <action function="set">tw_clear_destination=%tw_back%</action>
988 <action function="page">clear_vars</action>
989 </actions>
990 </object>
991
Dees_Troya3f81542012-10-08 10:58:53 -0400992 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600993 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400994 <condition var1="tw_show_reboot" var2="1" />
995 <placement x="%col_center_x%" y="%row4_y%" />
996 <font resource="font" color="%button_text_color%" />
997 <text>Reboot System</text>
998 <image resource="main_button" />
999 <actions>
1000 <action function="set">tw_back=main2</action>
1001 <action function="set">tw_action=reboot</action>
1002 <action function="set">tw_action_param=system</action>
1003 <action function="set">tw_has_action2=0</action>
1004 <action function="set">tw_text1=No OS Installed! Are you</action>
1005 <action function="set">tw_text2=sure you wish to reboot?</action>
1006 <action function="set">tw_text3=</action>
1007 <action function="set">tw_text4=</action>
1008 <action function="set">tw_action_text1=Rebooting...</action>
1009 <action function="set">tw_action_text2=</action>
1010 <action function="set">tw_complete_text1=Rebooting...</action>
1011 <action function="set">tw_slider_text=Swipe to Reboot</action>
1012 <action function="page">rebootcheck</action>
1013 </actions>
1014 </object>
1015
Dees_Troy51a0e822012-09-05 15:24:24 -04001016 <object type="action">
1017 <touch key="home" />
1018 <actions>
1019 <action function="set">tw_clear_destination=main2</action>
1020 <action function="page">clear_vars</action>
1021 </actions>
1022 </object>
1023
1024 <object type="action">
1025 <touch key="back" />
1026 <actions>
1027 <action function="set">tw_clear_destination=%tw_back%</action>
1028 <action function="page">clear_vars</action>
1029 </actions>
1030 </object>
1031 </page>
1032
1033 <page name="filecheck">
1034 <object type="action">
1035 <action function="fileexists">%tw_filecheck%</action>
1036 </object>
1037
1038 <object type="action">
1039 <conditions>
1040 <condition var1="tw_operation_state" var2="1" />
1041 <condition var1="tw_operation_status" var2="0" />
1042 </conditions>
1043 <actions>
1044 <action function="set">tw_fileexists=1</action>
1045 <action function="page">%tw_existpage%</action>
1046 </actions>
1047 </object>
1048
1049 <object type="action">
1050 <conditions>
1051 <condition var1="tw_operation_state" var2="1" />
1052 <condition var1="tw_operation_status" var2="1" />
1053 </conditions>
1054 <actions>
1055 <action function="set">tw_fileexists=0</action>
1056 <action function="page">%tw_notexistpage%</action>
1057 </actions>
1058 </object>
1059 </page>
1060
1061 <page name="rebootcheck">
1062 <object type="action">
1063 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1064 <action function="reboot">%tw_action_param%</action>
1065 </object>
1066
1067 <object type="action">
1068 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1069 <action function="page">confirm_action</action>
1070 </object>
1071 </page>
1072
1073 <page name="wipe">
1074 <object type="template" name="header" />
1075
1076 <object type="text" color="%text_color%">
1077 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001078 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001079 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001080 </object>
1081
1082 <object type="text" color="%text_color%">
1083 <font resource="font" />
1084 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1085 <text>Wipes Data, Cache, and Dalvik</text>
1086 </object>
1087
1088 <object type="text" color="%text_color%">
1089 <condition var1="tw_has_data_media" var2="0" />
1090 <font resource="font" />
1091 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1092 <text>.android_secure</text>
1093 </object>
1094
1095 <object type="text" color="%text_color%">
1096 <condition var1="tw_has_data_media" var2="1" />
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1099 <text>(not including internal storage)</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_sdext_partition" var2="1" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1106 <text>SD-EXT</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <font resource="font" />
1111 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1112 <text>Most of the time this is</text>
1113 </object>
1114
1115 <object type="text" color="%text_color%">
1116 <font resource="font" />
1117 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1118 <text>the only wipe that you need.</text>
1119 </object>
1120
1121 <object type="text" color="%text_color%">
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1124 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001125 </object>
1126
1127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001128 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001129 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001130 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001131 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001132 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001133 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001134 </object>
1135
1136 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <conditions>
1138 <condition var1="tw_has_internal" var2="1" />
1139 <condition var1="tw_has_data_media" var2="1" />
1140 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001141 <highlight color="%highlight_color%" />
1142 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 <font resource="font" color="%button_text_color%" />
1144 <text>Format Data</text>
1145 <image resource="main_button" />
1146 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001147 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 </actions>
1149 </object>
1150
Dees_Troya13d74f2013-03-24 08:54:55 -05001151 <object type="slider">
1152 <placement x="%slider_x%" y="%slider_y%" />
1153 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001154 <actions>
1155 <action function="set">tw_back=wipe</action>
1156 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001157 <action function="set">tw_action_param=data</action>
1158 <action function="set">tw_action_text1=Factory Reset...</action>
1159 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1160 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001161 </actions>
1162 </object>
1163
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <object type="text" color="%text_color%">
1165 <font resource="font" />
1166 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1167 <text>Swipe to Factory Reset</text>
1168 </object>
1169
1170 <object type="action">
1171 <touch key="back" />
1172 <action function="page">main</action>
1173 </object>
1174
1175 <object type="action">
1176 <touch key="home" />
1177 <action function="page">main</action>
1178 </object>
1179
1180 <object type="template" name="footer" />
1181 </page>
1182
1183 <page name="advancedwipe">
1184 <object type="template" name="header" />
1185
1186 <object type="text" color="%text_color%">
1187 <font resource="font" />
1188 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1189 <text>Wipe Menu</text>
1190 </object>
1191
1192 <object type="partitionlist">
1193 <highlight color="%fileselector_highlight_color%" />
1194 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1195 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1196 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1197 <text>Select Partitions to Wipe:</text>
1198 <icon selected="checkbox_true" unselected="checkbox_false" />
1199 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1200 <background color="%listbox_background%" />
1201 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1202 <data name="tw_wipe_list" />
1203 <listtype name="wipe" />
1204 </object>
1205
1206 <object type="slider">
1207 <placement x="%slider_x%" y="%slider_y%" />
1208 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001209 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001210 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001211 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001212 <action function="set">tw_action_param=LIST</action>
1213 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1214 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1215 <action function="set">tw_complete_text1=Wipe Complete</action>
1216 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001217 </actions>
1218 </object>
1219
Dees_Troya13d74f2013-03-24 08:54:55 -05001220 <object type="text" color="%text_color%">
1221 <font resource="font" />
1222 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1223 <text>Swipe to Wipe</text>
1224 </object>
1225
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 <object type="action">
1227 <touch key="home" />
1228 <action function="page">main</action>
1229 </object>
1230
1231 <object type="action">
1232 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001233 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 </object>
1235
1236 <object type="template" name="footer" />
1237 </page>
1238
Dees_Troya13d74f2013-03-24 08:54:55 -05001239 <page name="formatdata">
1240 <object type="template" name="header" />
1241
1242 <object type="text" color="%text_color%">
1243 <font resource="font" />
1244 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1245 <text>Format Data will wipe all of your apps,</text>
1246 </object>
1247
1248 <object type="text" color="%text_color%">
1249 <font resource="font" />
1250 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1251 <text>backups, pictures, videos, media, and</text>
1252 </object>
1253
1254 <object type="text" color="%text_color%">
1255 <font resource="font" />
1256 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1257 <text>removes encryption on internal storage.</text>
1258 </object>
1259
1260 <object type="text" color="%text_color%">
1261 <font resource="font" />
1262 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1263 <text>This cannot be undone. Press back to cancel.</text>
1264 </object>
1265
1266 <object type="text" color="%text_color%">
1267 <font resource="font" />
1268 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1269 <text>Type yes to continue.</text>
1270 </object>
1271
1272 <object type="input">
1273 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1274 <background color="%input_background_color%" />
1275 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1276 <font resource="font" color="%text_color%" />
1277 <text>%tw_confirm_formatdata%</text>
1278 <data name="tw_confirm_formatdata" />
1279 <restrict minlen="3" maxlen="3" allow="yes" />
1280 <action function="page">formatdata_confirm</action>
1281 </object>
1282
1283 <object type="template" name="keyboardtemplate" />
1284
1285 <object type="action">
1286 <touch key="home" />
1287 <action function="page">main</action>
1288 </object>
1289
1290 <object type="action">
1291 <touch key="back" />
1292 <action function="page">wipe</action>
1293 </object>
1294
1295 <object type="template" name="footer" />
1296 </page>
1297
1298 <page name="formatdata_confirm">
1299 <object type="action">
1300 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1301 <actions>
1302 <action function="set">tw_back=formatdata</action>
1303 <action function="set">tw_action=wipe</action>
1304 <action function="set">tw_action_param=DATAMEDIA</action>
1305 <action function="set">tw_action_text1=Formatting Data...</action>
1306 <action function="set">tw_complete_text1=Data Format Complete</action>
1307 <action function="page">action_page</action>
1308 </actions>
1309 </object>
1310
1311 <object type="action">
1312 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1313 <action function="page">formatdata</function>
1314 </object>
1315 </page>
1316
Dees_Troy51a0e822012-09-05 15:24:24 -04001317 <page name="backup">
1318 <object type="template" name="header" />
1319
1320 <object type="text" color="%text_color%">
1321 <font resource="font" />
1322 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1323 <text>Backup Name: %tw_backup_name%</text>
1324 </object>
1325
Dees_Troya13d74f2013-03-24 08:54:55 -05001326 <object type="partitionlist">
1327 <highlight color="%fileselector_highlight_color%" />
1328 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1329 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1330 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1331 <text>Select Partitions to Back Up:</text>
1332 <icon selected="checkbox_true" unselected="checkbox_false" />
1333 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1334 <background color="%listbox_background%" />
1335 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1336 <data name="tw_backup_list" />
1337 <listtype name="backup" />
1338 </object>
1339
1340 <object type="button">
1341 <highlight color="%highlight_color%" />
1342 <fill color="%button_fill_color%" />
1343 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1344 <font resource="font" color="%button_text_color%" />
1345 <text>Set Backup Name</text>
1346 <actions>
1347 <action function="set">tw_fileexists=0</action>
1348 <action function="page">backupname1</action>
1349 </actions>
1350 </object>
1351
1352 <object type="button">
1353 <highlight color="%highlight_color%" />
1354 <fill color="%button_fill_color%" />
1355 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1356 <font resource="font" color="%button_text_color%" />
1357 <text>Refresh Sizes</text>
1358 <action function="refreshsizes"></action>
1359 </object>
1360
1361 <object type="button">
1362 <highlight color="%highlight_color%" />
1363 <fill color="%button_fill_color%" />
1364 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1365 <font resource="font" color="%button_text_color%" />
1366 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1367 <actions>
1368 <action function="set">tw_back=backup</action>
1369 <action function="page">selectstorage</action>
1370 </actions>
1371 </object>
1372
1373 <object type="checkbox">
1374 <placement x="%col1_x%" y="%row15_text_y%" />
1375 <font resource="font" color="%text_color%" />
1376 <text>Enable compression.</text>
1377 <data variable="tw_use_compression" />
1378 <image checked="checkbox_true" unchecked="checkbox_false" />
1379 </object>
1380
1381 <object type="checkbox">
1382 <placement x="%col1_x%" y="%row16_text_y%" />
1383 <font resource="font" color="%text_color%" />
1384 <text>Skip MD5 generation during backup.</text>
1385 <data variable="tw_skip_md5_generate" />
1386 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 </object>
1388
1389 <object type="slider">
1390 <placement x="%slider_x%" y="slider_y" />
1391 <resource base="slider" used="slider-used" touch="slider-touch" />
1392 <action function="page">backup_run</action>
1393 </object>
1394
1395 <object type="text" color="%text_color%">
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1398 <text>Swipe to Back Up</text>
1399 </object>
1400
Dees_Troy51a0e822012-09-05 15:24:24 -04001401 <object type="action">
1402 <touch key="home" />
1403 <action function="page">main</action>
1404 </object>
1405
1406 <object type="action">
1407 <touch key="back" />
1408 <action function="page">main</action>
1409 </object>
1410
1411 <object type="template" name="footer" />
1412 </page>
1413
1414 <page name="backupname1">
1415 <object type="action">
1416 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1417 <action function="set">tw_backup_name=</function>
1418 </object>
1419
1420 <object type="action">
1421 <action function="page">backupname2</function>
1422 </object>
1423 </page>
1424
1425 <page name="backupname2">
1426 <object type="template" name="header" />
1427
1428 <object type="text" color="%text_color%">
1429 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1430 <font resource="font" />
1431 <text>Please Enter a Backup Name</text>
1432 </object>
1433
1434 <object type="input">
1435 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1436 <background color="%input_background_color%" />
1437 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1438 <font resource="font" color="%text_color%" />
1439 <text>%tw_backup_name%</text>
1440 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001441 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <actions>
1443 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1444 <action function="set">tw_existpage=backupname2</action>
1445 <action function="set">tw_notexistpage=backup</action>
1446 <action function="page">filecheck</action>
1447 </actions>
1448 </object>
1449
1450 <object type="text" color="%text_fail_color%">
1451 <condition var1="tw_fileexists" var2="1" />
1452 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1453 <font resource="font" />
1454 <text>A backup with that name already exists!</text>
1455 </object>
1456
1457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001459 <placement x="%col_center_x%" y="%row2_y%" />
1460 <font resource="font" color="%button_text_color%" />
1461 <text>Cancel</text>
1462 <image resource="main_button" />
1463 <actions>
1464 <action function="set">tw_backup_name=(Current Date)</action>
1465 <action function="page">backup</action>
1466 </actions>
1467 </object>
1468
1469 <object type="template" name="keyboardtemplate" />
1470
1471 <object type="action">
1472 <touch key="home" />
1473 <actions>
1474 <action function="set">tw_backup_name=(Current Date)</action>
1475 <action function="page">main</action>
1476 </actions>
1477 </object>
1478
1479 <object type="action">
1480 <touch key="back" />
1481 <actions>
1482 <action function="set">tw_backup_name=(Current Date)</action>
1483 <action function="page">backup</action>
1484 </actions>
1485 </object>
1486
1487 <object type="template" name="footer" />
1488 </page>
1489
1490 <page name="backup_run">
1491 <object type="template" name="header" />
1492
1493 <object type="text" color="%text_color%">
1494 <font resource="font" />
1495 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1496 <text>%tw_operation% %tw_partition%</text>
1497 </object>
1498
1499 <object type="template" name="action_page_console" />
1500
1501 <object type="template" name="progress_bar" />
1502
1503 <object type="action">
1504 <action function="nandroid">backup</action>
1505 </object>
1506
1507 <object type="action">
1508 <condition var1="tw_operation_state" var2="1" />
1509 <actions>
1510 <action function="set">tw_back=backup</action>
1511 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001512 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001513 <action function="page">action_complete</action>
1514 </actions>
1515 </object>
1516 </page>
1517
1518 <page name="restore">
1519 <object type="template" name="header" />
1520
1521 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001522 <highlight color="%highlight_color%" />
1523 <fill color="%button_fill_color%" />
1524 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1525 <font resource="font" color="%button_text_color%" />
1526 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1527 <actions>
1528 <action function="set">tw_back=restore</action>
1529 <action function="page">selectstorage</action>
1530 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001531 </object>
1532
1533 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001534 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001535 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001536 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001537 <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 -04001538 <text>Select Package to Restore:</text>
1539 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1540 <sort name="tw_gui_sort_order" />
1541 <icon folder="folder_icon" file="file_icon" />
1542 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001543 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001544 <filter folders="1" files="0" nav="0" />
1545 <path name="tw_backups_folder" />
1546 <data name="tw_restore" default="" />
1547 <selection name="tw_restore_name" />
1548 </object>
1549
1550 <object type="template" name="sort_options" />
1551
1552 <object type="action">
1553 <condition var1="tw_restore" op="modified" />
1554 <actions>
1555 <action function="readBackup"></action>
1556 <action function="page">restore_select</action>
1557 </actions>
1558 </object>
1559
1560 <object type="action">
1561 <touch key="home" />
1562 <action function="page">main</action>
1563 </object>
1564
1565 <object type="action">
1566 <touch key="back" />
1567 <action function="page">main</action>
1568 </object>
1569
1570 <object type="template" name="footer" />
1571 </page>
1572
1573 <page name="restore_select">
1574 <object type="template" name="header" />
1575
Dees_Troya13d74f2013-03-24 08:54:55 -05001576 <object type="partitionlist">
1577 <highlight color="%fileselector_highlight_color%" />
1578 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1579 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1580 <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 -04001581 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001582 <icon selected="checkbox_true" unselected="checkbox_false" />
1583 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1584 <background color="%listbox_background%" />
1585 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1586 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1587 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001588 </object>
1589
1590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001591 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001592 <fill color="%button_fill_color%" />
1593 <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 -04001594 <font resource="font" color="%button_text_color%" />
1595 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001596 <actions>
1597 <action function="set">tw_backup_rename=</action>
1598 <action function="set">tw_fileexists=0</action>
1599 <action function="page">renamebackup</action>
1600 </actions>
1601 </object>
1602
1603 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001604 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001605 <fill color="%button_fill_color%" />
1606 <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 -04001607 <font resource="font" color="%button_text_color%" />
1608 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001609 <actions>
1610 <action function="set">tw_back=restore</action>
1611 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001612 <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 -04001613 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1614 <action function="set">tw_text2=This cannot be undone!</action>
1615 <action function="set">tw_action_text1=Deleting Backup...</action>
1616 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1617 <action function="set">tw_slider_text=Swipe to Delete</action>
1618 <action function="page">confirm_action</action>
1619 </actions>
1620 </object>
1621
Dees_Troya13d74f2013-03-24 08:54:55 -05001622 <object type="checkbox">
1623 <placement x="%col1_x%" y="%row15_text_y%" />
1624 <font resource="font" color="%text_color%" />
1625 <text>Enable MD5 verification of backup files.</text>
1626 <data variable="tw_skip_md5_check" />
1627 <image checked="checkbox_true" unchecked="checkbox_false" />
1628 </object>
1629
1630 <object type="text" color="%text_color%">
1631 <font resource="font" />
1632 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1633 <text>Package Date: %tw_restore_file_date%</text>
1634 </object>
1635
Dees_Troy51a0e822012-09-05 15:24:24 -04001636 <object type="slider">
1637 <placement x="%slider_x%" y="%slider_y%" />
1638 <resource base="slider" used="slider-used" touch="slider-touch" />
1639 <action function="page">restore_run</action>
1640 </object>
1641
1642 <object type="text" color="%text_color%">
1643 <font resource="font" />
1644 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1645 <text>Swipe to Restore</text>
1646 </object>
1647
Dees_Troy51a0e822012-09-05 15:24:24 -04001648 <object type="action">
1649 <touch key="home" />
1650 <action function="page">main</action>
1651 </object>
1652
1653 <object type="action">
1654 <touch key="back" />
1655 <action function="page">restore</action>
1656 </object>
1657
1658 <object type="template" name="footer" />
1659 </page>
1660
1661 <page name="renamebackup">
1662 <object type="template" name="header" />
1663
1664 <object type="text" color="%text_color%">
1665 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1666 <font resource="font" />
1667 <text>Please Enter a New Backup Name</text>
1668 </object>
1669
1670 <object type="input">
1671 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1672 <background color="%input_background_color%" />
1673 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1674 <font resource="font" color="%text_color%" />
1675 <text>%tw_backup_rename%</text>
1676 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001677 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001678 <actions>
1679 <action function="set">tw_back=restore</action>
1680 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001681 <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 -04001682 <action function="set">tw_text1=Rename Backup?</action>
1683 <action function="set">tw_text2=This cannot be undone!</action>
1684 <action function="set">tw_action_text1=Renaming Backup...</action>
1685 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1686 <action function="set">tw_slider_text=Swipe to Rename</action>
1687 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1688 <action function="set">tw_existpage=renamebackup</action>
1689 <action function="set">tw_notexistpage=confirm_action</action>
1690 <action function="page">filecheck</action>
1691 </actions>
1692 </object>
1693
1694 <object type="text" color="%text_fail_color%">
1695 <condition var1="tw_fileexists" var2="1" />
1696 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1697 <font resource="font" />
1698 <text>A backup with that name already exists!</text>
1699 </object>
1700
1701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001702 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001703 <placement x="%col_center_x%" y="%row2_y%" />
1704 <font resource="font" color="%button_text_color%" />
1705 <text>Cancel</text>
1706 <image resource="main_button" />
1707 <action function="page">restore_select</action>
1708 </object>
1709
1710 <object type="template" name="keyboardtemplate" />
1711
1712 <object type="action">
1713 <touch key="home" />
1714 <action function="page">main</action>
1715 </object>
1716
1717 <object type="action">
1718 <touch key="back" />
1719 <action function="page">restore_select</action>
1720 </object>
1721
1722 <object type="template" name="footer" />
1723 </page>
1724
1725 <page name="restore_run">
1726 <object type="template" name="header" />
1727
1728 <object type="text" color="%text_color%">
1729 <font resource="font" />
1730 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1731 <text>%tw_operation% %tw_partition%</text>
1732 </object>
1733
1734 <object type="template" name="action_page_console" />
1735
1736 <object type="template" name="progress_bar" />
1737
1738 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001739 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001740 <actions>
1741 <action function="set">tw_back=restore_select</action>
1742 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001743 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001744 <action function="page">action_complete</action>
1745 </actions>
1746 </object>
1747
1748 <object type="action">
1749 <action function="nandroid">restore</action>
1750 </object>
1751 </page>
1752
Dees_Troya13d74f2013-03-24 08:54:55 -05001753 <page name="selectstorage">
1754 <object type="template" name="header" />
1755
1756 <object type="partitionlist">
1757 <highlight color="%fileselector_highlight_color%" />
1758 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1759 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1760 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1761 <text>Select Storage:</text>
1762 <icon selected="radio_true" unselected="radio_false" />
1763 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1764 <background color="%listbox_background%" />
1765 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1766 <data name="tw_storage_path" />
1767 <listtype name="storage" />
1768 </object>
1769
1770 <object type="action">
1771 <touch key="home" />
1772 <action function="page">main</action>
1773 </object>
1774
1775 <object type="action">
1776 <touch key="back" />
1777 <actions>
1778 <action function="page">%tw_back%</action>
1779 </actions>
1780 </object>
1781
1782 <object type="template" name="footer" />
1783 </page>
1784
Dees_Troy51a0e822012-09-05 15:24:24 -04001785 <page name="mount">
1786 <object type="template" name="header" />
1787
Dees_Troya13d74f2013-03-24 08:54:55 -05001788 <object type="partitionlist">
1789 <highlight color="%fileselector_highlight_color%" />
1790 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1791 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1792 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1793 <text>Select Partitions to Mount:</text>
1794 <icon selected="checkbox_true" unselected="checkbox_false" />
1795 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1796 <background color="%listbox_background%" />
1797 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1798 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001799 </object>
1800
1801 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001802 <highlight color="%highlight_color%" />
1803 <fill color="%button_fill_color%" />
1804 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1805 <font resource="font" color="%button_text_color%" />
1806 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1807 <actions>
1808 <action function="set">tw_back=mount</action>
1809 <action function="page">selectstorage</action>
1810 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001811 </object>
1812
1813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001814 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001815 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001816 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001817 <font resource="font" color="%button_text_color%" />
1818 <text>Mount USB Storage</text>
1819 <image resource="main_button" />
1820 <action function="page">usb_mount</action>
1821 </object>
1822
Gary Peckffdc6ae2012-11-21 18:02:02 -08001823 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001824 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001825 <conditions>
1826 <condition var1="tw_is_encrypted" var2="1" />
1827 <condition var1="tw_is_decrypted" var2="0" />
1828 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001829 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001830 <font resource="font" color="%button_text_color%" />
1831 <text>Decrypt Data</text>
1832 <image resource="main_button" />
1833 <action function="page">decrypt</action>
1834 </object>
1835
Dees_Troy51a0e822012-09-05 15:24:24 -04001836 <object type="action">
1837 <touch key="home" />
1838 <action function="page">main</action>
1839 </object>
1840
1841 <object type="action">
1842 <touch key="back" />
1843 <action function="page">main</action>
1844 </object>
1845
1846 <object type="template" name="footer" />
1847 </page>
1848
1849 <page name="usb_mount">
1850 <object type="template" name="header" />
1851
1852 <object type="text" color="%text_color%">
1853 <font resource="font" />
1854 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1855 <text>USB Storage Mounted</text>
1856 </object>
1857
1858 <object type="text" color="%text_color%">
1859 <placement x="%col1_x%" y="%row1_text_y%" />
1860 <font resource="font" />
1861 <text>Be sure to safely remove your device</text>
1862 </object>
1863
1864 <object type="text" color="%text_color%">
1865 <placement x="%col1_x%" y="%row2_text_y%" />
1866 <font resource="font" />
1867 <text>from your computer before unmounting!</text>
1868 </object>
1869
1870 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001871 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001872 <placement x="%col1_x%" y="%row3_y%" />
1873 <font resource="font" color="%button_text_color%" />
1874 <text>Unmount</text>
1875 <image resource="main_button" />
1876 <action function="page">usb_umount</action>
1877 </object>
1878
1879 <object type="action">
1880 <action function="mount">usb</action>
1881 </object>
1882
1883 <object type="template" name="footer" />
1884 </page>
1885
1886 <page name="usb_umount">
1887 <object type="action">
1888 <action function="unmount">usb</action>
1889 </object>
1890
1891 <object type="action">
1892 <action function="page">mount</action>
1893 </object>
1894 </page>
1895
1896 <page name="reboot">
1897 <object type="template" name="header" />
1898
1899 <object type="text" color="%text_color%">
1900 <font resource="font" />
1901 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1902 <text>Reboot Menu</text>
1903 </object>
1904
1905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001907 <condition var1="tw_reboot_system" var2="1" />
1908 <placement x="%col1_x%" y="%row1_y%" />
1909 <font resource="font" color="%button_text_color%" />
1910 <text>System</text>
1911 <image resource="main_button" />
1912 <actions>
1913 <action function="set">tw_back=reboot</action>
1914 <action function="set">tw_action=reboot</action>
1915 <action function="set">tw_action_param=system</action>
1916 <action function="set">tw_has_action2=0</action>
1917 <action function="set">tw_text1=No OS Installed! Are you</action>
1918 <action function="set">tw_text2=sure you wish to reboot?</action>
1919 <action function="set">tw_action_text1=Rebooting...</action>
1920 <action function="set">tw_complete_text1=Rebooting...</action>
1921 <action function="set">tw_slider_text=Swipe to Reboot</action>
1922 <action function="page">rebootcheck</action>
1923 </actions>
1924 </object>
1925
1926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001927 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <condition var1="tw_reboot_poweroff" var2="1" />
1929 <placement x="%col2_x%" y="%row1_y%" />
1930 <font resource="font" color="%button_text_color%" />
1931 <text>Power Off</text>
1932 <image resource="main_button" />
1933 <actions>
1934 <action function="set">tw_back=reboot</action>
1935 <action function="set">tw_action=reboot</action>
1936 <action function="set">tw_action_param=poweroff</action>
1937 <action function="set">tw_has_action2=0</action>
1938 <action function="set">tw_text1=No OS Installed! Are you</action>
1939 <action function="set">tw_text2=sure you wish to power off?</action>
1940 <action function="set">tw_action_text1=Turning Off...</action>
1941 <action function="set">tw_complete_text1=Turning Off...</action>
1942 <action function="set">tw_slider_text=Swipe to Power Off</action>
1943 <action function="page">rebootcheck</action>
1944 </actions>
1945 </object>
1946
1947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001948 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001949 <condition var1="tw_reboot_recovery" var2="1" />
1950 <placement x="%col1_x%" y="%row2_y%" />
1951 <font resource="font" color="%button_text_color%" />
1952 <text>Recovery</text>
1953 <image resource="main_button" />
1954 <actions>
1955 <action function="set">tw_back=reboot</action>
1956 <action function="set">tw_action=reboot</action>
1957 <action function="set">tw_action_param=recovery</action>
1958 <action function="set">tw_has_action2=0</action>
1959 <action function="set">tw_text1=No OS Installed! Are you</action>
1960 <action function="set">tw_text2=sure you wish to reboot?</action>
1961 <action function="set">tw_action_text1=Rebooting...</action>
1962 <action function="set">tw_complete_text1=Rebooting...</action>
1963 <action function="set">tw_slider_text=Swipe to Reboot</action>
1964 <action function="page">rebootcheck</action>
1965 </actions>
1966 </object>
1967
1968 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001969 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001970 <condition var1="tw_reboot_bootloader" var2="1" />
1971 <placement x="%col2_x%" y="%row2_y%" />
1972 <font resource="font" color="%button_text_color%" />
1973 <text>Bootloader</text>
1974 <image resource="main_button" />
1975 <actions>
1976 <action function="set">tw_back=reboot</action>
1977 <action function="set">tw_action=reboot</action>
1978 <action function="set">tw_action_param=bootloader</action>
1979 <action function="set">tw_has_action2=0</action>
1980 <action function="set">tw_text1=No OS Installed! Are you</action>
1981 <action function="set">tw_text2=sure you wish to reboot?</action>
1982 <action function="set">tw_action_text1=Rebooting...</action>
1983 <action function="set">tw_complete_text1=Rebooting...</action>
1984 <action function="set">tw_slider_text=Swipe to Reboot</action>
1985 <action function="page">rebootcheck</action>
1986 </actions>
1987 </object>
1988
1989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001991 <condition var1="tw_download_mode" var2="1" />
1992 <placement x="%col1_x%" y="%row3_y%" />
1993 <font resource="font" color="%button_text_color%" />
1994 <text>Download</text>
1995 <image resource="main_button" />
1996 <actions>
1997 <action function="set">tw_back=reboot</action>
1998 <action function="set">tw_action=reboot</action>
1999 <action function="set">tw_action_param=download</action>
2000 <action function="set">tw_has_action2=0</action>
2001 <action function="set">tw_text1=No OS Installed! Are you</action>
2002 <action function="set">tw_text2=sure you wish to reboot?</action>
2003 <action function="set">tw_action_text1=Rebooting...</action>
2004 <action function="set">tw_complete_text1=Rebooting...</action>
2005 <action function="set">tw_slider_text=Swipe to Reboot</action>
2006 <action function="page">rebootcheck</action>
2007 </actions>
2008 </object>
2009
2010 <object type="action">
2011 <touch key="home" />
2012 <action function="page">main</action>
2013 </object>
2014
2015 <object type="action">
2016 <touch key="back" />
2017 <action function="page">main</action>
2018 </object>
2019
2020 <object type="template" name="footer" />
2021 </page>
2022
2023 <page name="settings">
2024 <object type="template" name="header" />
2025
2026 <object type="text" color="%text_color%">
2027 <font resource="font" />
2028 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2029 <text>Settings</text>
2030 </object>
2031
2032 <object type="checkbox">
2033 <placement x="%col1_x%" y="%row1_text_y%" />
2034 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002035 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002036 <data variable="tw_signed_zip_verify" />
2037 <image checked="checkbox_true" unchecked="checkbox_false" />
2038 </object>
2039
2040 <object type="checkbox">
2041 <placement x="%col1_x%" y="%row2_text_y%" />
2042 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002043 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002044 <data variable="tw_rm_rf" />
2045 <image checked="checkbox_true" unchecked="checkbox_false" />
2046 </object>
2047
2048 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002049 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002050 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002051 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002052 <data variable="tw_skip_md5_generate" />
2053 <image checked="checkbox_true" unchecked="checkbox_false" />
2054 </object>
2055
2056 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002057 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002059 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <data variable="tw_skip_md5_check" />
2061 <image checked="checkbox_true" unchecked="checkbox_false" />
2062 </object>
2063
2064 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002065 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002067 <text>Use Military Time.</text>
2068 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002069 <image checked="checkbox_true" unchecked="checkbox_false" />
2070 </object>
2071
2072 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002073 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002074 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002075 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 <data variable="tw_simulate_actions" />
2077 <image checked="checkbox_true" unchecked="checkbox_false" />
2078 </object>
2079
2080 <object type="checkbox">
2081 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002082 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002084 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002085 <data variable="tw_simulate_fail" />
2086 <image checked="checkbox_true" unchecked="checkbox_false" />
2087 </object>
2088
2089 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002090 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002091 <placement x="%col1_x%" y="%row3_y%" />
2092 <font resource="font" color="%button_text_color%" />
2093 <text>Time Zone</text>
2094 <image resource="main_button" />
2095 <action function="page">timezone</action>
2096 </object>
2097
2098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002099 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002100 <placement x="%col2_x%" y="%row3_y%" />
2101 <font resource="font" color="%button_text_color%" />
2102 <text>Screen</text>
2103 <image resource="main_button" />
2104 <action function="page">screen</action>
2105 </object>
2106
2107 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002108 <placement x="%col_center_x%" y="%row4_y%" />
2109 <font resource="font" color="%button_text_color%" />
2110 <text>Restore Defaults</text>
2111 <image resource="main_button" />
2112 <action function="restoredefaultsettings"></action>
2113 </object>
2114
2115 <object type="action">
2116 <touch key="home" />
2117 <action function="page">main</action>
2118 </object>
2119
2120 <object type="action">
2121 <touch key="back" />
2122 <action function="page">main</action>
2123 </object>
2124
2125 <object type="template" name="footer" />
2126 </page>
2127
2128 <page name="timezone">
2129 <object type="template" name="header" />
2130
Dees_Troy51a0e822012-09-05 15:24:24 -04002131 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002132 <highlight color="%fileselector_highlight_color%" />
2133 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2134 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002135 <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 -06002136 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002137 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002138 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002140 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002141 <data name="tw_time_zone_guisel" />
2142 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2143 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2144 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2145 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2146 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2147 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2148 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2149 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2150 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2151 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2152 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2153 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2154 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2155 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2156 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2157 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2158 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2159 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2160 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2161 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2162 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2163 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2164 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2165 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2166 </object>
2167
2168 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002169 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002170 <font resource="font" color="%text_color%" />
2171 <text>Do you use daylight savings time (DST)?</text>
2172 <data variable="tw_time_zone_guidst" />
2173 <image checked="checkbox_true" unchecked="checkbox_false" />
2174 </object>
2175
2176 <object type="text" color="%text_color%">
2177 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002178 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002179 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2180 </object>
2181
2182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002183 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002184 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002185 <font resource="font" color="%button_text_color%" />
2186 <text>None</text>
2187 <image resource="medium_button" />
2188 <action function="set">tw_time_zone_guioffset=0</action>
2189 </object>
2190
2191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002192 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002193 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002194 <font resource="font" color="%button_text_color%" />
2195 <text>15</text>
2196 <image resource="medium_button" />
2197 <action function="set">tw_time_zone_guioffset=15</action>
2198 </object>
2199
2200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002201 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002202 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <font resource="font" color="%button_text_color%" />
2204 <text>30</text>
2205 <image resource="medium_button" />
2206 <action function="set">tw_time_zone_guioffset=30</action>
2207 </object>
2208
2209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002210 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002211 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002212 <font resource="font" color="%button_text_color%" />
2213 <text>45</text>
2214 <image resource="medium_button" />
2215 <action function="set">tw_time_zone_guioffset=45</action>
2216 </object>
2217
2218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002220 <placement x="%col_center_x%" y="%tz_set_y%" />
2221 <font resource="font" color="%button_text_color%" />
2222 <text>Set Time Zone</text>
2223 <image resource="main_button" />
2224 <action function="setguitimezone"></action>
2225 </object>
2226
2227 <object type="text" color="%text_color%">
2228 <font resource="font" />
2229 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2230 <text>Current Time Zone: %tw_time_zone%</text>
2231 </object>
2232
2233 <object type="action">
2234 <touch key="home" />
2235 <action function="page">main</action>
2236 </object>
2237
2238 <object type="action">
2239 <touch key="back" />
2240 <action function="page">settings</action>
2241 </object>
2242
2243 <object type="template" name="footer" />
2244 </page>
2245
Dees_Troy2f9117a2013-02-17 19:52:09 -06002246 <page name="screen">
2247 <object type="template" name="header" />
2248
2249 <object type="text" color="%text_color%">
2250 <font resource="font" />
2251 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2252 <text>Screen Settings</text>
2253 </object>
2254
2255 <object type="text" color="%text_color%">
2256 <font resource="font" />
2257 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2258 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2259 </object>
2260
2261 <object type="button">
2262 <placement x="%col1_medium_x%" y="%row2_y%" />
2263 <font resource="font" color="%button_text_color%" />
2264 <text>None</text>
2265 <image resource="medium_button" />
2266 <action function="set">tw_screen_timeout_secs=0</action>
2267 </object>
2268
2269 <object type="button">
2270 <placement x="%col2_medium_x%" y="%row2_y%" />
2271 <font resource="font" color="%button_text_color%" />
2272 <text>60</text>
2273 <image resource="medium_button" />
2274 <action function="set">tw_screen_timeout_secs=60</action>
2275 </object>
2276
2277 <object type="button">
2278 <placement x="%col3_medium_x%" y="%row2_y%" />
2279 <font resource="font" color="%button_text_color%" />
2280 <text>120</text>
2281 <image resource="medium_button" />
2282 <action function="set">tw_screen_timeout_secs=120</action>
2283 </object>
2284
2285 <object type="button">
2286 <placement x="%col4_medium_x%" y="%row2_y%" />
2287 <font resource="font" color="%button_text_color%" />
2288 <text>180</text>
2289 <image resource="medium_button" />
2290 <action function="set">tw_screen_timeout_secs=180</action>
2291 </object>
2292
2293 <object type="text" color="%text_color%">
2294 <condition var1="tw_has_brightnesss_file" var2="1" />
2295 <font resource="font" />
2296 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2297 <text>Brightness: %tw_brightness_display%</text>
2298 </object>
2299
2300 <object type="button">
2301 <condition var1="tw_has_brightnesss_file" var2="1" />
2302 <placement x="%col1_medium_x%" y="%row4_y%" />
2303 <font resource="font" color="%button_text_color%" />
2304 <text>25%</text>
2305 <image resource="medium_button" />
2306 <actions>
2307 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2308 <action function="set">tw_brightness_display=25%</action>
2309 <action function="set">tw_brightness=%tw_brightness_25%</action>
2310 </actions>
2311 </object>
2312
2313 <object type="button">
2314 <condition var1="tw_has_brightnesss_file" var2="1" />
2315 <placement x="%col2_medium_x%" y="%row4_y%" />
2316 <font resource="font" color="%button_text_color%" />
2317 <text>50%</text>
2318 <image resource="medium_button" />
2319 <actions>
2320 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2321 <action function="set">tw_brightness_display=50%</action>
2322 <action function="set">tw_brightness=%tw_brightness_50%</action>
2323 </actions>
2324 </object>
2325
2326 <object type="button">
2327 <condition var1="tw_has_brightnesss_file" var2="1" />
2328 <placement x="%col3_medium_x%" y="%row4_y%" />
2329 <font resource="font" color="%button_text_color%" />
2330 <text>75%</text>
2331 <image resource="medium_button" />
2332 <actions>
2333 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2334 <action function="set">tw_brightness_display=75%</action>
2335 <action function="set">tw_brightness=%tw_brightness_75%</action>
2336 </actions>
2337 </object>
2338
2339 <object type="button">
2340 <condition var1="tw_has_brightnesss_file" var2="1" />
2341 <placement x="%col4_medium_x%" y="%row4_y%" />
2342 <font resource="font" color="%button_text_color%" />
2343 <text>100%</text>
2344 <image resource="medium_button" />
2345 <actions>
2346 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2347 <action function="set">tw_brightness_display=100%</action>
2348 <action function="set">tw_brightness=%tw_brightness_100%</action>
2349 </actions>
2350 </object>
2351
2352 <object type="action">
2353 <touch key="home" />
2354 <action function="page">main</action>
2355 </object>
2356
2357 <object type="action">
2358 <touch key="back" />
2359 <action function="page">settings</action>
2360 </object>
2361
2362 <object type="template" name="footer" />
2363 </page>
2364
Dees_Troy51a0e822012-09-05 15:24:24 -04002365 <page name="advanced">
2366 <object type="template" name="header" />
2367
2368 <object type="text" color="%text_color%">
2369 <font resource="font" />
2370 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2371 <text>Advanced</text>
2372 </object>
2373
2374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <placement x="%col1_x%" y="%row1_y%" />
2377 <font resource="font" color="%button_text_color%" />
2378 <text>Copy Log to SD</text>
2379 <image resource="main_button" />
2380 <actions>
2381 <action function="set">tw_back=advanced</action>
2382 <action function="set">tw_action=copylog</action>
2383 <action function="set">tw_text1=Copy Log to SD Card?</action>
2384 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2385 <action function="set">tw_complete_text1=Log Copy Complete</action>
2386 <action function="set">tw_slider_text=Swipe to Confirm</action>
2387 <action function="page">confirm_action</action>
2388 </actions>
2389 </object>
2390
2391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <placement x="%col2_x%" y="%row1_y%" />
2394 <font resource="font" color="%button_text_color%" />
2395 <text>Fix Permissions</text>
2396 <image resource="main_button" />
2397 <actions>
2398 <action function="set">tw_back=advanced</action>
2399 <action function="set">tw_action=fixpermissions</action>
2400 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2403 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002404 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <action function="page">confirm_action</action>
2406 </actions>
2407 </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_allow_partition_sdcard" var2="1" />
2412 <placement x="%col1_x%" y="%row2_y%" />
2413 <font resource="font" color="%button_text_color%" />
2414 <text>Partition SD Card</text>
2415 <image resource="main_button" />
2416 <action function="page">partsdcard</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 <placement x="%col2_x%" y="%row2_y%" />
2422 <font resource="font" color="%button_text_color%" />
2423 <text>File Manager</text>
2424 <image resource="main_button" />
2425 <action function="page">filemanagerlist</action>
2426 </object>
2427
2428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <placement x="%col1_x%" y="%row3_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Terminal Command</text>
2433 <image resource="main_button" />
2434 <action function="page">terminalfolder</action>
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002439 <placement x="%col2_x%" y="%row3_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Reload Theme</text>
2442 <image resource="main_button" />
2443 <action function="reload"></action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002448 <placement x="%col1_x%" y="%row4_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>ADB Sideload</text>
2451 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002452 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002453 </object>
2454
2455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <condition var1="tw_show_dumlock" var2="1" />
2458 <placement x="%col2_x%" y="%row4_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>HTC Dumlock</text>
2461 <image resource="main_button" />
2462 <action function="page">htcdumlock</action>
2463 </object>
2464
2465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <condition var1="tw_has_injecttwrp" var2="1" />
2468 <placement x="%col2_x%" y="%row4_y%" />
2469 <font resource="font" color="%button_text_color%" />
2470 <text>Re-Inject TWRP</text>
2471 <image resource="main_button" />
2472 <actions>
2473 <action function="set">tw_back=advanced</action>
2474 <action function="set">tw_action=reinjecttwrp</action>
2475 <action function="set">tw_text1=Re-Inject TWRP?</action>
2476 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2477 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2478 <action function="set">tw_slider_text=Swipe to Confirm</action>
2479 <action function="page">confirm_action</action>
2480 </actions>
2481 </object>
2482
2483 <object type="action">
2484 <touch key="home" />
2485 <action function="page">main</action>
2486 </object>
2487
2488 <object type="action">
2489 <touch key="back" />
2490 <action function="page">main</action>
2491 </object>
2492
2493 <object type="template" name="footer" />
2494 </page>
2495
2496 <page name="partsdcard">
2497 <object type="template" name="header" />
2498
2499 <object type="text" color="%text_color%">
2500 <font resource="font" />
2501 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2502 <text>Partition SD Card</text>
2503 </object>
2504
2505 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002506 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <placement x="%col1_x%" y="%row1_y%" />
2508 <font resource="font" color="%button_text_color%" />
2509 <text></text>
2510 <image resource="minus_button" />
2511 <action function="addsubtract">tw_sdext_size-128</action>
2512 </object>
2513
2514 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002515 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <placement x="%sd_plus_x%" y="%row1_y%" />
2517 <font resource="font" color="%button_text_color%" />
2518 <text></text>
2519 <image resource="plus_button" />
2520 <action function="addsubtract">tw_sdext_size+128</action>
2521 </object>
2522
2523 <object type="text" color="%text_color%">
2524 <font resource="font" />
2525 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2526 <text>EXT Size: %tw_sdext_size%</text>
2527 </object>
2528
2529 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002530 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <placement x="%col1_x%" y="%sdswap_button_y%" />
2532 <font resource="font" color="%button_text_color%" />
2533 <text></text>
2534 <image resource="minus_button" />
2535 <action function="addsubtract">tw_swap_size-32</action>
2536 </object>
2537
2538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2541 <font resource="font" color="%button_text_color%" />
2542 <text></text>
2543 <image resource="plus_button" />
2544 <action function="addsubtract">tw_swap_size+32</action>
2545 </object>
2546
2547 <object type="text" color="%text_color%">
2548 <font resource="font" />
2549 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2550 <text>Swap Size: %tw_swap_size%</text>
2551 </object>
2552
2553 <object type="text" color="%text_color%">
2554 <font resource="font" />
2555 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2556 <text>File system: %tw_sdpart_file_system%</text>
2557 </object>
2558
2559 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002560 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2562 <font resource="font" color="%button_text_color%" />
2563 <text>EXT3</text>
2564 <image resource="main_button" />
2565 <action function="set">tw_sdpart_file_system=ext3</action>
2566 </object>
2567
2568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <condition var1="tw_sdext_disable_ext4" var2="0" />
2571 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>EXT4</text>
2574 <image resource="main_button" />
2575 <action function="set">tw_sdpart_file_system=ext4</action>
2576 </object>
2577
2578 <object type="text" color="%text_color%">
2579 <font resource="font" />
2580 <placement x="%col1_x%" y="%row12_text_y%" />
2581 <text>You will lose all files on your SD card!</text>
2582 </object>
2583
2584 <object type="text" color="%text_color%">
2585 <font resource="font" />
2586 <placement x="%col1_x%" y="%row13_text_y%" />
2587 <text>This action cannot be undone!</text>
2588 </object>
2589
2590 <object type="slider">
2591 <placement x="%slider_x%" y="%slider_y%" />
2592 <resource base="slider" used="slider-used" touch="slider-touch" />
2593 <action function="page">partsdcardaction</action>
2594 <actions>
2595 <action function="set">tw_back=partsdcard</action>
2596 <action function="set">tw_action=partitionsd</action>
2597 <action function="set">tw_has_action2=1</action>
2598 <action function="set">tw_action2=set</action>
2599 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2600 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2601 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002602 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002603 <action function="page">action_page</action>
2604 </actions>
2605 </object>
2606
2607 <object type="text" color="%text_color%">
2608 <font resource="font" />
2609 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2610 <text>Swipe to Partition</text>
2611 </object>
2612
2613 <object type="action">
2614 <touch key="home" />
2615 <action function="page">main</action>
2616 </object>
2617
2618 <object type="action">
2619 <touch key="back" />
2620 <action function="page">advanced</action>
2621 </object>
2622
2623 <object type="template" name="footer" />
2624 </page>
2625
2626 <page name="htcdumlock">
2627 <object type="template" name="header" />
2628
2629 <object type="text" color="%text_color%">
2630 <font resource="font" />
2631 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2632 <text>HTC Dumlock</text>
2633 </object>
2634
2635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <condition var1="tw_show_dumlock" var2="1" />
2638 <placement x="%col1_x%" y="%row1_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>Restore Original Boot</text>
2641 <image resource="main_button" />
2642 <actions>
2643 <action function="set">tw_back=htcdumlock</action>
2644 <action function="set">tw_action=htcdumlockrestoreboot</action>
2645 <action function="set">tw_text1=Restore original boot image?</action>
2646 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2647 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2648 <action function="set">tw_slider_text=Swipe to Confirm</action>
2649 <action function="page">confirm_action</action>
2650 </actions>
2651 </object>
2652
2653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002654 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002655 <condition var1="tw_show_dumlock" var2="1" />
2656 <placement x="%col2_x%" y="%row1_y%" />
2657 <font resource="font" color="%button_text_color%" />
2658 <text>Reflash Recovery</text>
2659 <image resource="main_button" />
2660 <actions>
2661 <action function="set">tw_back=htcdumlock</action>
2662 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2663 <action function="set">tw_text1=Reflash recovery to boot?</action>
2664 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2665 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2666 <action function="set">tw_slider_text=Swipe to Confirm</action>
2667 <action function="page">confirm_action</action>
2668 </actions>
2669 </object>
2670
2671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002673 <condition var1="tw_show_dumlock" var2="1" />
2674 <placement x="%col1_x%" y="%row2_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>Install HTC Dumlock</text>
2677 <image resource="main_button" />
2678 <actions>
2679 <action function="set">tw_back=htcdumlock</action>
2680 <action function="set">tw_action=installhtcdumlock</action>
2681 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2682 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2683 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2684 <action function="set">tw_slider_text=Swipe to Confirm</action>
2685 <action function="page">confirm_action</action>
2686 </actions>
2687 </object>
2688
2689 <object type="action">
2690 <touch key="home" />
2691 <action function="page">main</action>
2692 </object>
2693
2694 <object type="action">
2695 <touch key="back" />
2696 <action function="page">advanced</action>
2697 </object>
2698
2699 <object type="template" name="footer" />
2700 </page>
2701
2702 <page name="lock">
2703 <background color="#000000A0" />
2704
2705 <object type="image">
2706 <image resource="unlock-icon" />
2707 <placement x="%lock_x%" y="%lock_y%" />
2708 </object>
2709
2710 <object type="slider">
2711 <placement x="%slider_x%" y="%slider_y%" />
2712 <resource base="slider" used="slider-used" touch="slider-touch" />
2713 <action function="overlay"></action>
2714 </object>
2715
2716 <object type="text" color="%text_color%">
2717 <font resource="font" />
2718 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2719 <text>Swipe to Unlock</text>
2720 </object>
2721 </page>
2722
2723 <page name="filemanagerlist">
2724 <object type="template" name="header" />
2725
2726 <object type="text" color="%text_color%">
2727 <font resource="font" />
2728 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2729 <text>File Manager: Select a File or Folder</text>
2730 </object>
2731
2732 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002733 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002734 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2735 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002736 <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 -04002737 <text>%tw_file_location1%</text>
2738 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2739 <sort name="tw_gui_sort_order" />
2740 <icon folder="folder_icon" file="file_icon" />
2741 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002742 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <folders="1" files="1" />
2744 <path name="tw_file_location1" default="/" />
2745 <data name="tw_filename1" />
2746 <selection name="tw_selection1" />
2747 </object>
2748
2749 <object type="template" name="sort_options" />
2750
2751 <object type="action">
2752 <actions>
2753 <action function="set">tw_fm_type=File</action>
2754 <action function="set">tw_fm_isfolder=0</action>
2755 </actions>
2756 </object>
2757
2758 <object type="action">
2759 <touch key="home" />
2760 <action function="page">main</action>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="back" />
2765 <action function="page">advanced</action>
2766 </object>
2767
2768 <object type="action">
2769 <condition var1="tw_filename1" op="modified" />
2770 <actions>
2771 <action function="page">filemanageroptions</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 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>Select</text>
2780 <image resource="medium_button" />
2781 <actions>
2782 <action function="set">tw_filename1=tw_file_location1</action>
2783 <action function="set">tw_fm_isfolder=1</action>
2784 <action function="set">tw_fm_type=Folder</action>
2785 <action function="page">filemanageroptions</action>
2786 </actions>
2787 </object>
2788
2789 <object type="template" name="footer" />
2790 </page>
2791
2792 <page name="filemanageroptions">
2793 <object type="template" name="header" />
2794
2795 <object type="text" color="%text_color%">
2796 <font resource="font" />
2797 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2798 <text>%tw_fm_type% Selected:</text>
2799 </object>
2800
2801 <object type="text" color="%text_color%">
2802 <font resource="font" />
2803 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2804 <text>%tw_filename1%</text>
2805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <condition var1="tw_fm_isfolder" var2="0" />
2810 <placement x="%col1_x%" y="%row2_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>Copy File</text>
2813 <image resource="main_button" />
2814 <actions>
2815 <action function="set">tw_filemanager_command=cp</action>
2816 <action function="set">tw_fm_text1=Copying</action>
2817 <action function="page">choosedestinationfolder</action>
2818 </actions>
2819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <condition var1="tw_fm_isfolder" var2="1" />
2824 <placement x="%col1_x%" y="%row2_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>Copy Folder</text>
2827 <image resource="main_button" />
2828 <actions>
2829 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2830 <action function="set">tw_fm_text1=Copying</action>
2831 <action function="page">choosedestinationfolder</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="%col2_x%" y="%row2_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Move</text>
2840 <image resource="main_button" />
2841 <actions>
2842 <action function="set">tw_filemanager_command=mv</action>
2843 <action function="set">tw_fm_text1=Moving</action>
2844 <action function="page">choosedestinationfolder</action>
2845 </actions>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col1_x%" y="%row3_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text>chmod 755</text>
2853 <image resource="main_button" />
2854 <actions>
2855 <action function="set">tw_filemanager_command=chmod 755</action>
2856 <action function="set">tw_fm_text1=chmod 755</action>
2857 <action function="set">tw_fm_text2=</action>
2858 <action function="set">tw_fm_text3=</action>
2859 <action function="set">tw_include_text3=0</action>
2860 <action function="set">tw_back=filemanageroptions</action>
2861 <action function="page">filemanagerconfirm</action>
2862 </actions>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <placement x="%col2_x%" y="%row3_y%" />
2868 <font resource="font" color="%button_text_color%" />
2869 <text>chmod</text>
2870 <image resource="main_button" />
2871 <actions>
2872 <action function="set">tw_filemanager_rename=0000</action>
2873 <action function="set">tw_fm_text2=</action>
2874 <action function="set">tw_fm_text3=</action>
2875 <action function="set">tw_include_text3=0</action>
2876 <action function="set">tw_back=filemanageroptions</action>
2877 <action function="page">filemanagerchmod</action>
2878 </actions>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <placement x="%col1_x%" y="%row4_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text>Delete</text>
2886 <image resource="main_button" />
2887 <actions>
2888 <action function="set">tw_filemanager_command=rm -rf</action>
2889 <action function="set">tw_fm_text1=Deleting</action>
2890 <action function="set">tw_fm_text2=</action>
2891 <action function="set">tw_fm_text3=</action>
2892 <action function="set">tw_include_text3=0</action>
2893 <action function="set">tw_back=filemanageroptions</action>
2894 <action function="page">filemanagerconfirm</action>
2895 </actions>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <condition var1="tw_fm_isfolder" var2="0" />
2901 <placement x="%col2_x%" y="%row4_y%" />
2902 <font resource="font" color="%button_text_color%" />
2903 <text>Rename File</text>
2904 <image resource="main_button" />
2905 <actions>
2906 <action function="set">tw_filemanager_rename=tw_selection1</action>
2907 <action function="set">tw_fm_text1=Renaming</action>
2908 <action function="set">tw_filemanager_command=mv</action>
2909 <action function="page">filemanagerrenamefile</action>
2910 </actions>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <condition var1="tw_fm_isfolder" var2="1" />
2916 <placement x="%col2_x%" y="%row4_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>Rename Folder</text>
2919 <image resource="main_button" />
2920 <actions>
2921 <action function="set">tw_filemanager_rename=tw_selection1</action>
2922 <action function="set">tw_fm_text1=Renaming</action>
2923 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2924 <action function="page">filemanagerrenamefolder</action>
2925 </actions>
2926 </object>
2927
2928 <object type="action">
2929 <touch key="home" />
2930 <action function="page">main</action>
2931 </object>
2932
2933 <object type="action">
2934 <touch key="back" />
2935 <action function="page">filemanagerlist</action>
2936 </object>
2937
2938 <object type="template" name="footer" />
2939 </page>
2940
2941 <page name="choosedestinationfolder">
2942 <object type="template" name="header" />
2943
2944 <object type="text" color="%text_color%">
2945 <font resource="font" />
2946 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2947 <text>Browse to Destination Folder & Press Select</text>
2948 </object>
2949
2950 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002951 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2953 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002954 <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 -04002955 <text>%tw_file_location2%</text>
2956 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2957 <sort name="tw_gui_sort_order" />
2958 <icon folder="folder_icon" file="file_icon" />
2959 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002960 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002961 <filter folders="1" files="0" />
2962 <path name="tw_file_location2" default="/" />
2963 <data name="tw_filename2" />
2964 <selection name="tw_selection2" />
2965 </object>
2966
2967 <object type="template" name="sort_options" />
2968
2969 <object type="action">
2970 <touch key="home" />
2971 <action function="page">main</action>
2972 </object>
2973
2974 <object type="action">
2975 <touch key="back" />
2976 <action function="page">filemanageroptions</action>
2977 </object>
2978
2979 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002980 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002981 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2982 <font resource="font" color="%button_text_color%" />
2983 <text>Select</text>
2984 <image resource="medium_button" />
2985 <actions>
2986 <action function="set">tw_fm_text2=to</action>
2987 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2988 <action function="set">tw_include_text3=1</action>
2989 <action function="set">tw_back=filemanageroptions</action>
2990 <action function="page">filemanagerconfirm</action>
2991 </actions>
2992 </object>
2993
2994 <object type="template" name="footer" />
2995 </page>
2996
2997 <page name="filemanagerrenamefile">
2998 <object type="template" name="header" />
2999
3000 <object type="text" color="%text_color%">
3001 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3002 <font resource="font" />
3003 <text>Please Enter a New %tw_fm_type% Name</text>
3004 </object>
3005
3006 <object type="input">
3007 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3008 <background color="%input_background_color%" />
3009 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3010 <font resource="font" color="%text_color%" />
3011 <text>%tw_filemanager_rename%</text>
3012 <data name="tw_filemanager_rename" />
3013 <restrict minlen="1" maxlen="128" />
3014 <actions>
3015 <action function="set">tw_fm_text2=to</action>
3016 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3017 <action function="set">tw_include_text3=1</action>
3018 <action function="set">tw_back=filemanageroptions</action>
3019 <action function="page">filemanagerconfirm</action>
3020 </actions>
3021 </object>
3022
3023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003024 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003025 <placement x="%col_center_x%" y="%row2_y%" />
3026 <font resource="font" color="%button_text_color%" />
3027 <text>Cancel</text>
3028 <image resource="main_button" />
3029 <action function="page">filemanageroptions</action>
3030 </object>
3031
3032 <object type="template" name="keyboardtemplate" />
3033
3034 <object type="action">
3035 <touch key="home" />
3036 <action function="page">main</action>
3037 </object>
3038
3039 <object type="action">
3040 <touch key="back" />
3041 <action function="page">filemanageroptions</action>
3042 </object>
3043
3044 <object type="template" name="footer" />
3045 </page>
3046
3047 <page name="filemanagerrenamefolder">
3048 <object type="template" name="header" />
3049
3050 <object type="text" color="%text_color%">
3051 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3052 <font resource="font" />
3053 <text>Please Enter a New %tw_fm_type% Name</text>
3054 </object>
3055
3056 <object type="input">
3057 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3058 <background color="%input_background_color%" />
3059 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3060 <font resource="font" color="%text_color%" />
3061 <text>%tw_filemanager_rename%</text>
3062 <data name="tw_filemanager_rename" />
3063 <restrict minlen="1" maxlen="128" />
3064 <actions>
3065 <action function="set">tw_fm_text2=to</action>
3066 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3067 <action function="set">tw_include_text3=1</action>
3068 <action function="set">tw_back=filemanageroptions</action>
3069 <action function="page">filemanagerconfirm</action>
3070 </actions>
3071 </object>
3072
3073 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003074 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003075 <placement x="%col_center_x%" y="%row2_y%" />
3076 <font resource="font" color="%button_text_color%" />
3077 <text>Cancel</text>
3078 <image resource="main_button" />
3079 <action function="page">filemanageroptions</action>
3080 </object>
3081
3082 <object type="template" name="keyboardtemplate" />
3083
3084 <object type="action">
3085 <touch key="home" />
3086 <action function="page">main</action>
3087 </object>
3088
3089 <object type="action">
3090 <touch key="back" />
3091 <action function="page">filemanageroptions</action>
3092 </object>
3093
3094 <object type="template" name="footer" />
3095 </page>
3096
3097 <page name="filemanagerchmod">
3098 <object type="template" name="header" />
3099
3100 <object type="text" color="%text_color%">
3101 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3102 <font resource="font" />
3103 <text>Please Enter New Permissions</text>
3104 </object>
3105
3106 <object type="input">
3107 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3108 <background color="%input_background_color%" />
3109 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3110 <font resource="font" color="%text_color%" />
3111 <text>%tw_filemanager_rename%</text>
3112 <data name="tw_filemanager_rename" />
3113 <restrict minlen="3" maxlen="4" allow="0123456789" />
3114 <actions>
3115 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3116 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3117 <action function="set">tw_back=filemanageroptions</action>
3118 <action function="page">filemanagerconfirm</action>
3119 </actions>
3120 </object>
3121
3122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003124 <placement x="%col_center_x%" y="%row2_y%" />
3125 <font resource="font" color="%button_text_color%" />
3126 <text>Cancel</text>
3127 <image resource="main_button" />
3128 <action function="page">filemanageroptions</action>
3129 </object>
3130
3131 <object type="template" name="keyboardtemplate" />
3132
3133 <object type="action">
3134 <touch key="home" />
3135 <action function="page">main</action>
3136 </object>
3137
3138 <object type="action">
3139 <touch key="back" />
3140 <action function="page">filemanageroptions</action>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanagerconfirm">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <font resource="font" />
3151 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3152 <text>%tw_fm_text1%</text>
3153 </object>
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3158 <text>%tw_filename1%</text>
3159 </object>
3160
3161 <object type="text" color="%text_color%">
3162 <font resource="font" />
3163 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3164 <text>%tw_fm_text2%</text>
3165 </object>
3166
3167 <object type="text" color="%text_color%">
3168 <font resource="font" />
3169 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3170 <text>%tw_fm_text3%</text>
3171 </object>
3172
3173 <object type="text" color="%text_color%">
3174 <font resource="font" />
3175 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3176 <text>Press back button to cancel.</text>
3177 </object>
3178
3179 <object type="slider">
3180 <placement x="%slider_x%" y="%slider_y%" />
3181 <resource base="slider" used="slider-used" touch="slider-touch" />
3182 <action function="page">filemanageracction</action>
3183 </object>
3184
3185 <object type="text" color="%text_color%">
3186 <font resource="font" />
3187 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3188 <text>Swipe to Confirm</text>
3189 </object>
3190
3191 <object type="action">
3192 <touch key="back" />
3193 <action function="page">%tw_back%</action>
3194 </object>
3195
3196 <object type="action">
3197 <touch key="home" />
3198 <action function="page">main</action>
3199 </object>
3200
3201 <object type="template" name="footer" />
3202 </page>
3203
3204 <page name="filemanageracction">
3205 <object type="template" name="header" />
3206
3207 <object type="text" color="%text_color%">
3208
3209 <font resource="font" />
3210 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3211 <text>%tw_fm_text1%</text>
3212 </object>
3213
3214 <object type="template" name="action_page_console" />
3215
3216 <object type="template" name="progress_bar" />
3217
3218 <object type="action">
3219 <conditions>
3220 <condition var1="tw_operation_state" var2="1" />
3221 <condition var1="tw_operation_status" var2="0" />
3222 </conditions>
3223 <actions>
3224 <action function="set">tw_back=filemanagerlist</action>
3225 <action function="set">tw_complete_text1=File Operation Complete</action>
3226 <action function="page">action_complete</action>
3227 </actions>
3228 </object>
3229
3230 <object type="action">
3231 <conditions>
3232 <condition var1="tw_operation_state" var2="1" />
3233 <condition var1="tw_operation_status" op="!=" var2="0" />
3234 </conditions>
3235 <actions>
3236 <action function="set">tw_complete_text1=File Operation Complete</action>
3237 <action function="page">action_complete</action>
3238 </actions>
3239 </object>
3240
3241 <object type="action">
3242 <condition var1="tw_include_text3" var2="0" />
3243 <actions>
3244 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3245 </actions>
3246 </object>
3247
3248 <object type="action">
3249 <condition var1="tw_include_text3" var2="1" />
3250 <actions>
3251 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3252 </actions>
3253 </object>
3254 </page>
3255
3256 <page name="decrypt">
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_header_y%" placement="5" />
3262 <text>Please Enter Your Password</text>
3263 </object>
3264
3265 <object type="input">
3266 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3267 <background color="%input_background_color%" />
3268 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3269 <font resource="font" color="%text_color%" />
3270 <text>%tw_crypto_display%</text>
3271 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3272 <restrict minlen="1" maxlen="254" />
3273 <actions>
3274 <action function="page">trydecrypt</action>
3275 </actions>
3276 </object>
3277
3278 <object type="text" color="%text_fail_color%">
3279 <condition var1="tw_password_fail" var2="1" />
3280 <font resource="font" />
3281 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3282 <text>Password Failed, Please Try Again</text>
3283 </object>
3284
3285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003287 <placement x="%col_center_x%" y="%row2_y%" />
3288 <font resource="font" color="%button_text_color%" />
3289 <text>Cancel</text>
3290 <image resource="main_button" />
3291 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003292 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003293 <action function="page">main</action>
3294 </actions>
3295 </object>
3296
3297 <object type="template" name="keyboardtemplate" />
3298
Dees_Troy51a0e822012-09-05 15:24:24 -04003299 <object type="template" name="footer" />
3300 </page>
3301
3302 <page name="trydecrypt">
3303 <object type="template" name="header" />
3304
3305 <object type="text" color="%text_color%">
3306 <font resource="font" />
3307 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3308 <text>Trying Decryption with Your Password</text>
3309 </object>
3310
3311 <object type="template" name="action_page_console" />
3312
3313 <object type="template" name="progress_bar" />
3314
3315 <object type="action">
3316 <action function="decrypt"></action>
3317 </object>
3318
3319 <object type="action">
3320 <conditions>
3321 <condition var1="tw_operation_state" var2="1" />
3322 <condition var1="tw_operation_status" op="!=" var2="0" />
3323 </conditions>
3324 <actions>
3325 <action function="set">tw_password_fail=1</action>
3326 <action function="page">decrypt</action>
3327 </actions>
3328 </object>
3329
3330 <object type="action">
3331 <conditions>
3332 <condition var1="tw_operation_state" var2="1" />
3333 <condition var1="tw_operation_status" op="=" var2="0" />
3334 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003335 <actions>
3336 <action function="set">tw_page_done=1</action>
3337 <action function="page">main</action>
3338 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003339 </object>
3340 </page>
3341
3342 <page name="terminalfolder">
3343 <object type="template" name="header" />
3344
3345 <object type="text" color="%text_color%">
3346 <font resource="font" />
3347 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3348 <text>Browse to Starting Folder</text>
3349 </object>
3350
3351 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003352 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003353 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3354 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003355 <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 -04003356 <text>%tw_terminal_location%</text>
3357 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3358 <sort name="tw_gui_sort_order" />
3359 <icon folder="folder_icon" file="file_icon" />
3360 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003361 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003362 <filter folders="1" files="0" />
3363 <path name="tw_terminal_location" default="/" />
3364 <data name="tw_terminal" />
3365 <selection name="tw_terminal_selection" />
3366 </object>
3367
3368 <object type="template" name="sort_options" />
3369
3370 <object type="action">
3371 <touch key="home" />
3372 <action function="page">main</action>
3373 </object>
3374
3375 <object type="action">
3376 <touch key="back" />
3377 <action function="page">advanced</action>
3378 </object>
3379
3380 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003381 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003382 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3383 <font resource="font" color="%button_text_color%" />
3384 <text>Select</text>
3385 <image resource="medium_button" />
3386 <actions>
3387 <action function="page">terminalcommand</action>
3388 </actions>
3389 </object>
3390
3391 <object type="template" name="footer" />
3392 </page>
3393
3394 <page name="terminalcommand">
3395 <object type="template" name="header" />
3396
3397 <object type="console">
3398 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3399 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3400 <font resource="fixed" />
3401 </object>
3402
3403 <object type="text" color="%text_color%">
3404 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3405 <font resource="font" />
3406 <text>Starting Path: %tw_terminal_location%</text>
3407 </object>
3408
3409 <object type="input">
3410 <condition var1="tw_terminal_state" var2="0" />
3411 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3412 <background color="%input_background_color%" />
3413 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3414 <font resource="font" color="%text_color%" />
3415 <text>%tw_terminal_command%</text>
3416 <data name="tw_terminal_command" />
3417 <restrict minlen="1" />
3418 <action function="terminalcommand">%tw_terminal_command%</action>
3419 </object>
3420
3421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003423 <condition var1="tw_terminal_state" var2="1" />
3424 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3425 <font resource="font" color="%button_text_color%" />
3426 <text>KILL</text>
3427 <image resource="medium_button" />
3428 <action function="killterminal"></action>
3429 </object>
3430
3431 <object type="template" name="keyboardtemplate" />
3432
3433 <object type="action">
3434 <touch key="home" />
3435 <action function="page">main</action>
3436 </object>
3437
3438 <object type="action">
3439 <touch key="back" />
3440 <action function="page">terminalfolder</action>
3441 </object>
3442 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003443
3444 <page name="sideload">
3445 <object type="template" name="header" />
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3450 <text>ADB Sideload</text>
3451 </object>
3452
3453 <object type="checkbox">
3454 <placement x="%col1_x%" y="%row2_text_y%" />
3455 <font resource="font" color="%text_color%" />
3456 <text>Wipe Dalvik Cache.</text>
3457 <data variable="tw_wipe_dalvik" />
3458 <image checked="checkbox_true" unchecked="checkbox_false" />
3459 </object>
3460
3461 <object type="checkbox">
3462 <placement x="%col1_x%" y="%row3_text_y%" />
3463 <font resource="font" color="%text_color%" />
3464 <text>Wipe Cache.</text>
3465 <data variable="tw_wipe_cache" />
3466 <image checked="checkbox_true" unchecked="checkbox_false" />
3467 </object>
3468
3469 <object type="slider">
3470 <placement x="%slider_x%" y="%slider_y%" />
3471 <resource base="slider" used="slider-used" touch="slider-touch" />
3472 <actions>
3473 <action function="set">tw_back=advanced</action>
3474 <action function="set">tw_action=adbsideload</action>
3475 <action function="set">tw_action_text1=ADB Sideload</action>
3476 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3477 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3478 <action function="set">tw_has_cancel=1</action>
3479 <action function="set">tw_show_reboot=1</action>
3480 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3481 <action function="page">action_page</action>
3482 </actions>
3483 </object>
3484
3485 <object type="text" color="%text_color%">
3486 <font resource="font" />
3487 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3488 <text>Swipe to Start Sideload</text>
3489 </object>
3490
3491 <object type="action">
3492 <touch key="home" />
3493 <action function="page">main</action>
3494 </object>
3495
3496 <object type="action">
3497 <touch key="back" />
3498 <action function="page">advanced</action>
3499 </object>
3500
3501 <object type="template" name="footer" />
3502 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003503
3504 <page name="installsu">
3505 <object type="template" name="header" />
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3510 <text>Install SuperSU?</text>
3511 </object>
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3516 <text>Your device does not appear to be rooted.</text>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3522 <text>Install SuperSU now?</text>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3528 <text>This will root your device.</text>
3529 </object>
3530
3531 <object type="button">
3532 <highlight color="%highlight_color%" />
3533 <placement x="%col_center_x%" y="%row3_y%" />
3534 <font resource="font" color="%button_text_color%" />
3535 <text>Do Not Install</text>
3536 <image resource="main_button" />
3537 <action function="set">tw_page_done=1</action>
3538 </object>
3539
3540 <object type="slider">
3541 <placement x="%slider_x%" y="%slider_y%" />
3542 <resource base="slider" used="slider-used" touch="slider-touch" />
3543 <actions>
3544 <action function="set">tw_action=installsu</action>
3545 <action function="set">tw_action_text1=Installing SuperSU</action>
3546 <action function="set">tw_action_text2=</action>
3547 <action function="page">singleaction_page</action>
3548 </actions>
3549 </object>
3550
3551 <object type="text" color="%text_color%">
3552 <font resource="font" />
3553 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3554 <text>Swipe to Install</text>
3555 </object>
3556 </page>
3557
3558 <page name="fixsu">
3559 <object type="template" name="header" />
3560
3561 <object type="text" color="%text_color%">
3562 <font resource="font" />
3563 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3564 <text>Fix Superuser Permissions?</text>
3565 </object>
3566
3567 <object type="text" color="%text_color%">
3568 <font resource="font" />
3569 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3570 <text>Root permissions appear to be lost.</text>
3571 </object>
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3576 <text>Fix root permissions now?</text>
3577 </object>
3578
3579 <object type="text" color="%text_color%">
3580 <font resource="font" />
3581 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3582 <text>(Fixes permissions on su binary & app)</text>
3583 </object>
3584
3585 <object type="button">
3586 <highlight color="%highlight_color%" />
3587 <placement x="%col_center_x%" y="%row3_y%" />
3588 <font resource="font" color="%button_text_color%" />
3589 <text>Do Not Fix</text>
3590 <image resource="main_button" />
3591 <action function="set">tw_page_done=1</action>
3592 </object>
3593
3594 <object type="slider">
3595 <placement x="%slider_x%" y="%slider_y%" />
3596 <resource base="slider" used="slider-used" touch="slider-touch" />
3597 <actions>
3598 <action function="set">tw_action=fixsu</action>
3599 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3600 <action function="set">tw_action_text2=</action>
3601 <action function="page">singleaction_page</action>
3602 </actions>
3603 </object>
3604
3605 <object type="text" color="%text_color%">
3606 <font resource="font" />
3607 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3608 <text>Swipe to Fix Root</text>
3609 </object>
3610 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003611 </pages>
3612</recovery>