blob: 718921d76afe251885018f0f9f9b162a8786e796 [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="800" />
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" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="183" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="240" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="290" />
53 <variable name="row3_y" value="450" />
54 <variable name="row4_y" value="610" />
55 <variable name="row_queue_y" value="510" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="170" />
59 <variable name="row3_text_y" value="200" />
60 <variable name="row4_text_y" value="230" />
61 <variable name="row5_text_y" value="260" />
62 <variable name="row6_text_y" value="290" />
63 <variable name="row7_text_y" value="320" />
64 <variable name="row8_text_y" value="350" />
65 <variable name="row9_text_y" value="380" />
66 <variable name="row10_text_y" value="410" />
67 <variable name="row11_text_y" value="440" />
Dees_Troyb46a6842012-09-25 11:06:46 -040068 <variable name="row12_text_y" value="470" />
69 <variable name="row13_text_y" value="500" />
70 <variable name="row14_text_y" value="530" />
71 <variable name="row15_text_y" value="560" />
72 <variable name="row16_text_y" value="590" />
73 <variable name="row17_text_y" value="620" />
74 <variable name="row18_text_y" value="650" />
Dees_Troy51a0e822012-09-05 15:24:24 -040075 <variable name="zip_status_y" value="585" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="580" />
78 <variable name="tz_current_y" value="730" />
79 <variable name="col_progressbar_x" value="114" />
80 <variable name="row_progressbar_y" value="720" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="125" />
83 <variable name="col3_medium_x" value="240" />
84 <variable name="col4_medium_x" value="355" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="205" />
87 <variable name="row3_medium_y" value="280" />
88 <variable name="row4_medium_y" value="355" />
89 <variable name="row5_medium_y" value="430" />
90 <variable name="row6_medium_y" value="505" />
91 <variable name="row7_medium_y" value="580" />
92 <variable name="slider_x" value="58" />
93 <variable name="slider_y" value="680" />
94 <variable name="slider_text_y" value="721" />
95 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="766" />
102 <variable name="back_button_x" value="413" />
103 <variable name="back_button_y" value="766" />
104 <variable name="sort_asc_text_y" value="685" />
105 <variable name="sort_asc_button_y" value="685" />
106 <variable name="sort_desc_text_y" value="725" />
107 <variable name="sort_desc_button_y" value="725" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="240" />
110 <variable name="sort_col3_button_x" value="300" />
111 <variable name="input_width" value="460" />
112 <variable name="input_height" value="40" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="480" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="320" />
122 <variable name="console_install_height" value="440" />
123 <variable name="console_installdone_height" value="300" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="470" />
126 <variable name="fileselector_install_height" value="510" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600134 <variable name="fileselector_highlight_color" value="#505050" />
135 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_spacing" value="18" />
137 <variable name="listbox_x" value="5" />
138 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600139 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400140 <variable name="listbox_background" value="#303030" />
141 <variable name="listbox_spacing" value="18" />
142 <variable name="sd_plus_x" value="280" />
143 <variable name="sdext_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400144 <variable name="sdext_text_y" value="145" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="sdswap_button_y" value="185" />
146 <variable name="sdswap_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400147 <variable name="sdswap_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="sdfilesystem_text_y" value="240" />
149 <variable name="sdfilesystem_button_y" value="280" />
150 <variable name="lock_x" value="40" />
151 <variable name="lock_y" value="200" />
152 <variable name="filemanager_select_x" value="365" />
153 <variable name="filemanager_select_y" value="690" />
154 <variable name="backup_name_y" value="350" />
155 <variable name="terminal_console_height" value="370" />
156 <variable name="terminal_text_y" value="390" />
157 <variable name="terminal_button_y" value="380" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="row_dst_text_y" value="440" />
159 <variable name="row_offset_text_y" value="480" />
160 <variable name="row_offset_medium_y" value="505" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400161 <variable name="exclamation_x" value="140" />
162 <variable name="exclamation_y" value="300" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400163 </variables>
164
165 <templates>
166 <template name="header">
167 <background color="%backgroundcolor%" />
168
169 <object type="image">
170 <image resource="top_bar" />
171 <placement x="0" y="0" />
172 </object>
173
174 <object type="text" color="%text_color%">
175 <font resource="font" />
176 <placement x="100" y="10" />
177 <text>Team Win Recovery Project v%tw_version%</text>
178 </object>
179
180 <object type="text" color="%text_color%">
181 <condition var1="tw_simulate_actions" var2="1" />
182 <font resource="font" />
183 <placement x="100" y="40" />
184 <text>SIMULATING ACTIONS</text>
185 </object>
186
187 <object type="text" color="%text_color%">
188 <font resource="font" />
189 <placement x="100" y="70" />
190 <text>%tw_time%</text>
191 </object>
192
193 <object type="text" color="%text_color%">
194 <font resource="font" />
195 <placement x="250" y="70" />
196 <conditions>
197 <condition var1="tw_no_battery_percent" var2="0" />
198 <condition var1="tw_battery" op=">" var2="0" />
199 <condition var1="tw_battery" op="<" var2="101" />
200 </conditions>
201 <text>Battery: %tw_battery%</text>
202 </object>
203
204 <object type="button">
205 <placement x="%home_button_x%" y="%home_button_y%" />
206 <font resource="font" color="%button_text_color%" />
207 <text></text>
208 <image resource="home_icon" />
209 <condition var1="tw_busy" var2="0" />
210 <action function="key">home</action>
211 </object>
212
213 <object type="button">
214 <placement x="%back_button_x%" y="%back_button_y%" />
215 <font resource="font" color="%button_text_color%" />
216 <text></text>
217 <image resource="back_icon" />
218 <condition var1="tw_busy" var2="0" />
219 <action function="key">back</action>
220 </object>
221
222 <object type="action">
223 <touch key="power" />
224 <action function="overlay">lock</action>
225 </object>
226 </template>
227
228 <template name="progress_bar">
229 <object type="progressbar">
230 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
231 <resource empty="progress_empty" full="progress_full" />
232 <data name="ui_progress" />
233 </object>
234
235 <object type="animation">
236 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
237 <resource name="progress" />
238 <speed fps="15" render="2" />
239 <loop frame="1" />
240 </object>
241 </template>
242
243 <template name="action_page_console">
244 <object type="console">
245 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
246 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
247 <font resource="fixed" />
248 </object>
249 </template>
250
251 <template name="sort_options">
252 <object type="text" color="%text_color%">
253 <font resource="font" />
254 <placement x="%col1_x%" y="%sort_asc_text_y%" />
255 <text>Sort Ascending:</text>
256 </object>
257
258 <object type="button">
259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="UItext" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
267 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
268 <font resource="UItext" color="%button_text_color%" />
269 <text>Date</text>
270 <image resource="sort_button" />
271 <action function="set">tw_gui_sort_order=2</action>
272 </object>
273
274 <object type="button">
275 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
276 <font resource="UItext" color="%button_text_color%" />
277 <text>Size</text>
278 <image resource="sort_button" />
279 <action function="set">tw_gui_sort_order=3</action>
280 </object>
281
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%col1_x%" y="%sort_desc_text_y%" />
285 <text>Sort Descending:</text>
286 </object>
287
288 <object type="button">
289 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
290 <font resource="UItext" color="%button_text_color%" />
291 <text>Name</text>
292 <image resource="sort_button" />
293 <action function="set">tw_gui_sort_order=-1</action>
294 </object>
295
296 <object type="button">
297 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
298 <font resource="UItext" color="%button_text_color%" />
299 <text>Date</text>
300 <image resource="sort_button" />
301 <action function="set">tw_gui_sort_order=-2</action>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
306 <font resource="UItext" color="%button_text_color%" />
307 <text>Size</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=-3</action>
310 </object>
311 </template>
312
313 <template name="footer">
314 <object type="console">
315 <slideout resource="slideout" x="210" y="760" />
316 <placement x="%console_x%" y="0" w="%console_width%" h="760" />
317 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
318 <font resource="fixed" />
319 </object>
320 </template>
321
322 <template name="keyboardtemplate">
323 <object type="keyboard">
324 <placement x="0" y="450" />
325 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600326 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400327 <layout1>
328 <keysize height="78" width="48" />
329 <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" />
330 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
331 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
332 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
333 </layout1>
334 <layout2>
335 <keysize height="78" width="48" />
336 <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" />
337 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
338 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
339 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
340 </layout2>
341 <layout3>
342 <keysize height="78" width="48" />
343 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
344 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
345 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
346 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
347 </layout3>
348 <layout4>
349 <keysize height="78" width="48" />
350 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
351 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
352 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
353 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
354 </layout4>
355 </object>
356 </template>
357 </templates>
358
359 <pages>
360 <page name="main">
361 <object type="action">
362 <actions>
363 <action function="set">tw_clear_destination=main2</action>
364 <action function="page">clear_vars</action>
365 </actions>
366 </object>
367 </page>
368
369 <page name="main2">
370 <object type="template" name="header" />
371
372 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600373 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <placement x="%col1_x%" y="%row1_y%" />
375 <font resource="font" color="%button_text_color%" />
376 <text>Install</text>
377 <image resource="main_button" />
378 <actions>
379 <action function="queueclear"></action>
380 <action function="page">install</action>
381 </actions>
382 </object>
383
384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400386 <placement x="%col2_x%" y="%row1_y%" />
387 <font resource="font" color="%button_text_color%" />
388 <text>Wipe</text>
389 <image resource="main_button" />
390 <action function="page">wipe</action>
391 </object>
392
393 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600394 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400395 <placement x="%col1_x%" y="%row2_y%" />
396 <font resource="font" color="%button_text_color%" />
397 <text>Backup</text>
398 <image resource="main_button" />
399 <action function="page">backup</action>
400 </object>
401
402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400404 <placement x="%col2_x%" y="%row2_y%" />
405 <font resource="font" color="%button_text_color%" />
406 <text>Restore</text>
407 <image resource="main_button" />
408 <action function="page">restore</action>
409 </object>
410
411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400413 <placement x="%col1_x%" y="%row3_y%" />
414 <font resource="font" color="%button_text_color%" />
415 <text>Mount</text>
416 <image resource="main_button" />
417 <action function="page">mount</action>
418 </object>
419
420 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600421 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400422 <placement x="%col2_x%" y="%row3_y%" />
423 <font resource="font" color="%button_text_color%" />
424 <text>Settings</text>
425 <image resource="main_button" />
426 <action function="page">settings</action>
427 </object>
428
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row4_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Advanced</text>
435 <image resource="main_button" />
436 <action function="page">advanced</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row4_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Reboot</text>
444 <image resource="main_button" />
445 <action function="page">reboot</action>
446 </object>
447
448 <object type="template" name="footer" />
449 </page>
450
451 <page name="install">
452 <object type="template" name="header" />
453
454 <object type="text" color="%text_color%">
455 <font resource="font" />
456 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
457 <text>Select Zip to Install</text>
458 </object>
459
460 <object type="button">
461 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400462 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <conditions>
464 <condition var1="tw_has_dual_storage" var2="1" />
465 <condition var1="tw_use_external_storage" var2="1" />
466 </conditions>
467 <text>Use external SD</text>
468 <image resource="radio_true" />
469 <action function="togglestorage">external</action>
470 </object>
471
472 <object type="button">
473 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400474 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <conditions>
476 <condition var1="tw_has_dual_storage" var2="1" />
477 <condition var1="tw_use_external_storage" var2="0" />
478 </conditions>
479 <text>Use external SD</text>
480 <image resource="radio_false" />
481 <action function="togglestorage">external</action>
482 </object>
483
484 <object type="button">
485 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400486 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400487 <conditions>
488 <condition var1="tw_has_dual_storage" var2="1" />
489 <condition var1="tw_use_external_storage" var2="1" />
490 </conditions>
491 <text>Use internal storage</text>
492 <image resource="radio_false" />
493 <action function="togglestorage">internal</action>
494 </object>
495
496 <object type="button">
497 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400498 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <conditions>
500 <condition var1="tw_has_dual_storage" var2="1" />
501 <condition var1="tw_use_external_storage" var2="0" />
502 </conditions>
503 <text>Use internal storage</text>
504 <image resource="radio_true" />
505 <action function="togglestorage">internal</action>
506 </object>
507
508 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600509 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400510 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
511 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
512 <text>%tw_zip_location%</text>
513 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
514 <sort name="tw_gui_sort_order" />
515 <icon folder="folder_icon" file="file_icon" />
516 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600517 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <filter extn=".zip" folders="1" files="1" />
519 <path name="tw_zip_location" default="/sdcard" />
520 <data name="tw_filename" />
521 <selection name="tw_file" />
522 </object>
523
524 <object type="template" name="sort_options" />
525
526 <object type="action">
527 <condition var1="tw_filename" op="modified" />
528 <actions>
529 <action function="queuezip"></action>
530 <action function="page">flash_confirm</action>
531 </actions>
532 </object>
533
534 <object type="action">
535 <touch key="back" />
536 <action function="page">main</action>
537 </object>
538
539 <object type="action">
540 <touch key="home" />
541 <action function="page">main</action>
542 </object>
543
544 <object type="template" name="footer" />
545 </page>
546
547 <page name="flash_confirm">
548 <object type="template" name="header" />
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
553 <text>This operation may install incompatible</text>
554 </object>
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
559 <text>software and render your device unusable.</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
565 <text>Folder:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
571 <text>%tw_zip_location%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
577 <text>File to flash:</text>
578 </object>
579
580 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400581 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400582 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
583 <text>%tw_file%</text>
584 </object>
585
586 <object type="text" color="%text_color%">
587 <font resource="font" />
588 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
589 <text>Press back to cancel adding this zip.</text>
590 </object>
591
592 <object type="checkbox">
593 <placement x="%col1_x%" y="%row8_text_y%" />
594 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400595 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400596 <data variable="tw_signed_zip_verify" />
597 <image checked="checkbox_true" unchecked="checkbox_false" />
598 </object>
599
600 <object type="checkbox">
601 <placement x="%col1_x%" y="%row9_text_y%" />
602 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400603 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <data variable="tw_force_md5_check" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="checkbox">
609 <condition var1="tw_has_injecttwrp" var2="1" />
610 <placement x="%col1_x%" y="%row10_text_y%" />
611 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400612 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <data variable="tw_inject_after_zip" />
614 <image checked="checkbox_true" unchecked="checkbox_false" />
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400619 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400620 <text>File %tw_zip_queue_count% of max of 10</text>
621 </object>
622
623 <object type="slider">
624 <placement x="%slider_x%" y="%slider_y%" placement="5" />
625 <resource base="slider" used="slider-used" touch="slider-touch" />
626 <action function="flash">flash_zip</action>
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
631 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
632 <text>Swipe to Confirm Flash</text>
633 </object>
634
635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
638 <placement x="%col1_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Add More Zips</text>
641 <image resource="main_button" />
642 <action function="page">install</action>
643 </object>
644
645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <placement x="%col2_x%" y="%row_queue_y%" />
648 <font resource="font" color="%button_text_color%" />
649 <text>Clear Zip Queue</text>
650 <image resource="main_button" />
651 <actions>
652 <action function="queueclear"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="back" />
659 <actions>
660 <action function="cancelzip"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="action">
666 <touch key="home" />
667 <action function="page">main</action>
668 </object>
669
670 <object type="template" name="footer" />
671 </page>
672
673 <page name="flash_zip">
674 <object type="template" name="header" />
675
676 <object type="console">
677 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
678 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
679 <font resource="fixed" />
680 </object>
681
682 <object type="text" color="%text_color%">
683 <font resource="font" />
684 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
685 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
686 </object>
687
688 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400689 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400690 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
691 <text>%tw_filename%</text>
692 </object>
693
694 <object type="template" name="progress_bar" />
695
696 <object type="action">
697 <condition var1="tw_operation_state" var2="1" />
698 <action function="page">flash_done</action>
699 </object>
700 </page>
701
702 <page name="flash_done">
703 <object type="template" name="header" />
704
705 <object type="text" color="%text_color%">
706 <font resource="font" />
707 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
708 <text>Zip Install Complete</text>
709 </object>
710
711 <object type="console">
712 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
713 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
714 <font resource="fixed" />
715 </object>
716
717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400719 <placement x="%col1_x%" y="%row4_y%" />
720 <font resource="font" color="%button_text_color%" />
721 <text>Wipe cache/dalvik</text>
722 <image resource="main_button" />
723 <actions>
724 <action function="set">tw_back=flash_done</action>
725 <action function="set">tw_action=wipe</action>
726 <action function="set">tw_action_param=/cache</action>
727 <action function="set">tw_has_action2=1</action>
728 <action function="set">tw_action2=wipe</action>
729 <action function="set">tw_action2_param=dalvik</action>
730 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
731 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
732 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
733 <action function="set">tw_slider_text=Swipe to Wipe</action>
734 <action function="page">confirm_action</action>
735 </actions>
736 </object>
737
738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <placement x="%col2_x%" y="%row4_y%" />
741 <font resource="font" color="%button_text_color%" />
742 <text>Reboot System</text>
743 <image resource="main_button" />
744 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action=reboot</action>
747 <action function="set">tw_action_param=system</action>
748 <action function="set">tw_has_action2=0</action>
749 <action function="set">tw_text1=No OS Installed! Are you</action>
750 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400751 <action function="set">tw_text3=</action>
752 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400754 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <action function="set">tw_complete_text1=Rebooting...</action>
756 <action function="set">tw_slider_text=Swipe to Reboot</action>
757 <action function="page">rebootcheck</action>
758 </actions>
759 </object>
760
761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <placement x="%col_center_x%" y="%row3_y%" />
764 <font resource="font" color="%button_text_color%" />
765 <text>Home</text>
766 <image resource="main_button" />
767 <actions>
768 <action function="set">tw_clear_destination=main2</action>
769 <action function="page">clear_vars</action>
770 </actions>
771 </object>
772
773 <object type="text" color="%text_fail_color%">
774 <condition var1="tw_operation_status" op="!=" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Failed</text>
778 </object>
779
780 <object type="text" color="%text_success_color%">
781 <condition var1="tw_operation_status" var2="0" />
782 <font resource="font" />
783 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
784 <text>Successful</text>
785 </object>
786
787 <object type="action">
788 <touch key="back" />
789 <actions>
790 <action function="set">tw_clear_destination=install</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </object>
794
795 <object type="action">
796 <touch key="home" />
797 <actions>
798 <action function="set">tw_clear_destination=main2</action>
799 <action function="page">clear_vars</action>
800 </actions>
801 </object>
802 </page>
803
804 <page name="clear_vars">
805 <object type="action">
806 <action function="set">tw_operation_state=0</action>
807 <action function="set">tw_text1=</action>
808 <action function="set">tw_text2=</action>
809 <action function="set">tw_text3=</action>
810 <action function="set">tw_text4=</action>
811 <action function="set">tw_action_text1=</action>
812 <action function="set">tw_action_text2=</action>
813 <action function="set">tw_action_param=</action>
814 <action function="set">tw_has_action2=0</action>
815 <action function="set">tw_action2=</action>
816 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400817 <action function="set">tw_has_cancel=0</action>
818 <action function="set">tw_cancel_action=</action>
819 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400820 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400821 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400822 <action function="page">%tw_clear_destination%</action>
823 </object>
824 </page>
825
826 <page name="confirm_action">
827 <object type="template" name="header" />
828
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600830 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400831 <condition var1="tw_show_exclamation" var2="1" />
832 <placement x="%exclamation_x%" y="%exclamation_y%" />
833 <font resource="font" color="%button_text_color%" />
834 <text></text>
835 <image resource="exclamation" />
836 </object>
837
Dees_Troy51a0e822012-09-05 15:24:24 -0400838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
841 <text>%tw_text1%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
846 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
847 <text>%tw_text2%</text>
848 </object>
849
850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
853 <text>%tw_text3%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
858 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
859 <text>%tw_text4%</text>
860 </object>
861
862 <object type="text" color="%text_color%">
863 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400864 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400865 <text>Press back button to cancel.</text>
866 </object>
867
868 <object type="slider">
869 <placement x="%slider_x%" y="%slider_y%" />
870 <resource base="slider" used="slider-used" touch="slider-touch" />
871 <action function="page">action_page</action>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
877 <text>%tw_slider_text%</text>
878 </object>
879
880 <object type="action">
881 <touch key="back" />
882 <actions>
883 <action function="set">tw_clear_destination=%tw_back%</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </object>
887
888 <object type="action">
889 <touch key="home" />
890 <action function="page">main</action>
891 </object>
892
893 <object type="template" name="footer" />
894 </page>
895
896 <page name="action_page">
897 <object type="template" name="header" />
898
899 <object type="text" color="%text_color%">
900 <font resource="font" />
901 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
902 <text>%tw_action_text1%</text>
903 </object>
904
905 <object type="text" color="%text_color%">
906 <font resource="font" />
907 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
908 <text>%tw_action_text2%</text>
909 </object>
910
911 <object type="template" name="action_page_console" />
912
Dees_Troybbb21012012-09-20 15:59:46 -0400913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600914 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400915 <condition var1="tw_has_cancel" var2="1" />
916 <placement x="%col_center_medium_x%" y="%row4_y%" />
917 <font resource="font" color="%button_text_color%" />
918 <text>Cancel</text>
919 <image resource="medium_button" />
920 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
921 </object>
922
Dees_Troy51a0e822012-09-05 15:24:24 -0400923 <object type="template" name="progress_bar" />
924
925 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400926 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400927 <actions>
928 <action function="page">action_complete</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="0" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 </actions>
937 </object>
938
939 <object type="action">
940 <condition var1="tw_has_action2" var2="1" />
941 <actions>
942 <action function="%tw_action%">%tw_action_param%</action>
943 <action function="%tw_action2%">%tw_action2_param%</action>
944 </actions>
945 </object>
946 </page>
947
948 <page name="action_complete">
949 <object type="template" name="header" />
950
951 <object type="text" color="%text_color%">
952 <font resource="font" />
953 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
954 <text>%tw_complete_text1%</text>
955 </object>
956
957 <object type="text" color="%text_fail_color%">
958 <condition var1="tw_operation_status" op="!=" var2="0" />
959 <font resource="font" />
960 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
961 <text>Failed</text>
962 </object>
963
964 <object type="text" color="%text_success_color%">
965 <condition var1="tw_operation_status" var2="0" />
966 <font resource="font" />
967 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
968 <text>Successful</text>
969 </object>
970
971 <object type="template" name="action_page_console" />
972
973 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600974 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400975 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400976 <placement x="%col_center_x%" y="%row4_y%" />
977 <font resource="font" color="%button_text_color%" />
978 <text>Back</text>
979 <image resource="main_button" />
980 <actions>
981 <action function="set">tw_clear_destination=%tw_back%</action>
982 <action function="page">clear_vars</action>
983 </actions>
984 </object>
985
Dees_Troya3f81542012-10-08 10:58:53 -0400986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600987 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400988 <condition var1="tw_show_reboot" var2="1" />
989 <placement x="%col_center_x%" y="%row4_y%" />
990 <font resource="font" color="%button_text_color%" />
991 <text>Reboot System</text>
992 <image resource="main_button" />
993 <actions>
994 <action function="set">tw_back=main2</action>
995 <action function="set">tw_action=reboot</action>
996 <action function="set">tw_action_param=system</action>
997 <action function="set">tw_has_action2=0</action>
998 <action function="set">tw_text1=No OS Installed! Are you</action>
999 <action function="set">tw_text2=sure you wish to reboot?</action>
1000 <action function="set">tw_text3=</action>
1001 <action function="set">tw_text4=</action>
1002 <action function="set">tw_action_text1=Rebooting...</action>
1003 <action function="set">tw_action_text2=</action>
1004 <action function="set">tw_complete_text1=Rebooting...</action>
1005 <action function="set">tw_slider_text=Swipe to Reboot</action>
1006 <action function="page">rebootcheck</action>
1007 </actions>
1008 </object>
1009
Dees_Troy51a0e822012-09-05 15:24:24 -04001010 <object type="action">
1011 <touch key="home" />
1012 <actions>
1013 <action function="set">tw_clear_destination=main2</action>
1014 <action function="page">clear_vars</action>
1015 </actions>
1016 </object>
1017
1018 <object type="action">
1019 <touch key="back" />
1020 <actions>
1021 <action function="set">tw_clear_destination=%tw_back%</action>
1022 <action function="page">clear_vars</action>
1023 </actions>
1024 </object>
1025 </page>
1026
1027 <page name="filecheck">
1028 <object type="action">
1029 <action function="fileexists">%tw_filecheck%</action>
1030 </object>
1031
1032 <object type="action">
1033 <conditions>
1034 <condition var1="tw_operation_state" var2="1" />
1035 <condition var1="tw_operation_status" var2="0" />
1036 </conditions>
1037 <actions>
1038 <action function="set">tw_fileexists=1</action>
1039 <action function="page">%tw_existpage%</action>
1040 </actions>
1041 </object>
1042
1043 <object type="action">
1044 <conditions>
1045 <condition var1="tw_operation_state" var2="1" />
1046 <condition var1="tw_operation_status" var2="1" />
1047 </conditions>
1048 <actions>
1049 <action function="set">tw_fileexists=0</action>
1050 <action function="page">%tw_notexistpage%</action>
1051 </actions>
1052 </object>
1053 </page>
1054
1055 <page name="rebootcheck">
1056 <object type="action">
1057 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1058 <action function="reboot">%tw_action_param%</action>
1059 </object>
1060
1061 <object type="action">
1062 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1063 <action function="page">confirm_action</action>
1064 </object>
1065 </page>
1066
1067 <page name="wipe">
1068 <object type="template" name="header" />
1069
1070 <object type="text" color="%text_color%">
1071 <font resource="font" />
1072 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1073 <text>Wipe Menu</text>
1074 </object>
1075
1076 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001077 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001078 <placement x="%col1_x%" y="%row1_y%" />
1079 <font resource="font" color="%button_text_color%" />
1080 <text>Cache</text>
1081 <image resource="main_button" />
1082 <actions>
1083 <action function="set">tw_back=wipe</action>
1084 <action function="set">tw_action=wipe</action>
1085 <action function="set">tw_action_param=/cache</action>
1086 <action function="set">tw_text1=Wipe Cache?</action>
1087 <action function="set">tw_action_text1=Wiping Cache...</action>
1088 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1089 <action function="set">tw_slider_text=Swipe to Wipe</action>
1090 <action function="page">confirm_action</action>
1091 </actions>
1092 </object>
1093
1094 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001095 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001096 <placement x="%col2_x%" y="%row1_y%" />
1097 <font resource="font" color="%button_text_color%" />
1098 <text>Dalvik Cache</text>
1099 <image resource="main_button" />
1100 <actions>
1101 <action function="set">tw_back=wipe</action>
1102 <action function="set">tw_action=wipe</action>
1103 <action function="set">tw_action_param=dalvik</action>
1104 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1105 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1106 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1107 <action function="set">tw_slider_text=Swipe to Wipe</action>
1108 <action function="page">confirm_action</action>
1109 </actions>
1110 </object>
1111
1112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001114 <placement x="%col1_x%" y="%row2_y%" />
1115 <font resource="font" color="%button_text_color%" />
1116 <text>Factory Reset</text>
1117 <image resource="main_button" />
1118 <actions>
1119 <action function="set">tw_back=wipe</action>
1120 <action function="set">tw_action=wipe</action>
1121 <action function="set">tw_action_param=data</action>
1122 <action function="set">tw_text1=Factory Reset?</action>
1123 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1124 <action function="set">tw_action_text1=Factory Reset...</action>
1125 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1126 <action function="set">tw_slider_text=Swipe to Wipe</action>
1127 <action function="page">confirm_action</action>
1128 </actions>
1129 </object>
1130
1131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001133 <placement x="%col2_x%" y="%row2_y%" />
1134 <font resource="font" color="%button_text_color%" />
1135 <text>System</text>
1136 <image resource="main_button" />
1137 <actions>
1138 <action function="set">tw_back=wipe</action>
1139 <action function="set">tw_action=wipe</action>
1140 <action function="set">tw_action_param=/system</action>
1141 <action function="set">tw_text1=Wipe System?</action>
1142 <action function="set">tw_text2=This will wipe your ROM</action>
1143 <action function="set">tw_action_text1=Wiping System...</action>
1144 <action function="set">tw_complete_text1=System Wipe Complete</action>
1145 <action function="set">tw_slider_text=Swipe to Wipe</action>
1146 <action function="page">confirm_action</action>
1147 </actions>
1148 </object>
1149
1150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001151 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 <condition var1="tw_has_external" var2="1" />
1153 <placement x="%col1_x%" y="%row3_y%" />
1154 <font resource="font" color="%button_text_color%" />
1155 <text>External Storage</text>
1156 <image resource="main_button" />
1157 <actions>
1158 <action function="set">tw_back=wipe</action>
1159 <action function="set">tw_action=wipe</action>
1160 <action function="set">tw_action_param=EXTERNAL</action>
1161 <action function="set">tw_has_action2=1</action>
1162 <action function="set">tw_action2=set</action>
1163 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001164 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 <action function="set">tw_action_text1=Wiping External Storage...</action>
1166 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1167 <action function="set">tw_slider_text=Swipe to Wipe</action>
1168 <action function="page">confirm_action</action>
1169 </actions>
1170 </object>
1171
1172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001173 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 <condition var1="tw_has_internal" var2="1" />
1175 <placement x="%col2_x%" y="%row3_y%" />
1176 <font resource="font" color="%button_text_color%" />
1177 <text>Internal Storage</text>
1178 <image resource="main_button" />
1179 <actions>
1180 <action function="set">tw_back=wipe</action>
1181 <action function="set">tw_action=wipe</action>
1182 <action function="set">tw_action_param=INTERNAL</action>
1183 <action function="set">tw_has_action2=1</action>
1184 <action function="set">tw_action2=set</action>
1185 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1186 <action function="set">tw_text1=Wipe Internal Storage?</action>
1187 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1188 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1189 <action function="set">tw_slider_text=Swipe to Wipe</action>
1190 <action function="page">confirm_action</action>
1191 </actions>
1192 </object>
1193
1194 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001195 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001196 <conditions>
1197 <condition var1="tw_has_internal" var2="1" />
1198 <condition var1="tw_has_data_media" var2="1" />
1199 </conditions>
1200 <placement x="%col1_x%" y="%row4_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>Format Data</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=wipe</action>
1206 <action function="set">tw_action=wipe</action>
1207 <action function="set">tw_action_param=DATAMEDIA</action>
1208 <action function="set">tw_has_action2=1</action>
1209 <action function="set">tw_action2=set</action>
1210 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001211 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001213 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001214 <action function="set">tw_action_text1=Formatting Data...</action>
1215 <action function="set">tw_complete_text1=Data Format Complete</action>
1216 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001217 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <action function="page">confirm_action</action>
1219 </actions>
1220 </object>
1221
1222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001223 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001224 <condition var1="tw_has_data_media" var2="0" />
1225 <placement x="%col1_x%" y="%row4_y%" />
1226 <font resource="font" color="%button_text_color%" />
1227 <text>Android Secure</text>
1228 <image resource="main_button" />
1229 <actions>
1230 <action function="set">tw_back=wipe</action>
1231 <action function="set">tw_action=wipe</action>
1232 <action function="set">tw_action_param=ANDROIDSECURE</action>
1233 <action function="set">tw_text1=Wipe Android Secure?</action>
1234 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1235 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1236 <action function="set">tw_slider_text=Swipe to Format</action>
1237 <action function="page">confirm_action</action>
1238 </actions>
1239 </object>
1240
1241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <condition var1="tw_has_sdext_partition" var2="1" />
1244 <placement x="%col2_x%" y="%row4_y%" />
1245 <font resource="font" color="%button_text_color%" />
1246 <text>SD Ext</text>
1247 <image resource="main_button" />
1248 <actions>
1249 <action function="set">tw_back=wipe</action>
1250 <action function="set">tw_action=wipe</action>
1251 <action function="set">tw_action_param=/sd-ext</action>
1252 <action function="set">tw_text1=Wipe SD-Ext?</action>
1253 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1254 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1255 <action function="set">tw_slider_text=Swipe to Wipe</action>
1256 <action function="page">confirm_action</action>
1257 </actions>
1258 </object>
1259
1260 <object type="action">
1261 <touch key="home" />
1262 <action function="page">main</action>
1263 </object>
1264
1265 <object type="action">
1266 <touch key="back" />
1267 <action function="page">main</action>
1268 </object>
1269
1270 <object type="template" name="footer" />
1271 </page>
1272
1273 <page name="backup">
1274 <object type="template" name="header" />
1275
1276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1279 <text>Backup Name: %tw_backup_name%</text>
1280 </object>
1281
1282 <object type="text" color="%text_color%">
1283 <placement x="%col1_x%" y="%row1_text_y%" />
1284 <font resource="font" />
1285 <text>Backup Device</text>
1286 </object>
1287
1288 <object type="slider">
1289 <placement x="%slider_x%" y="slider_y" />
1290 <resource base="slider" used="slider-used" touch="slider-touch" />
1291 <action function="page">backup_run</action>
1292 </object>
1293
1294 <object type="text" color="%text_color%">
1295 <font resource="font" />
1296 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1297 <text>Swipe to Back Up</text>
1298 </object>
1299
1300 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001301 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001302 <placement x="%col2_x%" y="%row1_y%" />
1303 <font resource="font" color="%button_text_color%" />
1304 <text>Refresh Sizes</text>
1305 <image resource="main_button" />
1306 <action function="refreshsizes"></action>
1307 </object>
1308
1309 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001310 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001311 <placement x="%col2_x%" y="%backup_name_y%" />
1312 <font resource="font" color="%button_text_color%" />
1313 <text>Set Backup Name</text>
1314 <image resource="main_button" />
1315 <actions>
1316 <action function="set">tw_fileexists=0</action>
1317 <action function="page">backupname1</action>
1318 </actions>
1319 </object>
1320
1321 <object type="checkbox">
1322 <placement x="%col1_x%" y="%row2_text_y%" />
1323 <font resource="font" color="%text_color%" />
1324 <text>System (%tw_backup_system_size% MB)</text>
1325 <data variable="tw_backup_system" />
1326 <image checked="checkbox_true" unchecked="checkbox_false" />
1327 </object>
1328
1329 <object type="checkbox">
1330 <placement x="%col1_x%" y="%row3_text_y%" />
1331 <font resource="font" color="%text_color%" />
1332 <text>Data (%tw_backup_data_size% MB)</text>
1333 <data variable="tw_backup_data" />
1334 <image checked="checkbox_true" unchecked="checkbox_false" />
1335 </object>
1336
1337 <object type="checkbox">
1338 <condition var1="tw_has_boot_partition" var2="1" />
1339 <placement x="%col1_x%" y="%row4_text_y%" />
1340 <font resource="font" color="%text_color%" />
1341 <text>Boot (%tw_backup_boot_size% MB)</text>
1342 <data variable="tw_backup_boot" />
1343 <image checked="checkbox_true" unchecked="checkbox_false" />
1344 </object>
1345
1346 <object type="checkbox">
1347 <condition var1="tw_has_recovery_partition" var2="1" />
1348 <placement x="%col1_x%" y="%row5_text_y%" />
1349 <font resource="font" color="%text_color%" />
1350 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1351 <data variable="tw_backup_recovery" />
1352 <image checked="checkbox_true" unchecked="checkbox_false" />
1353 </object>
1354
1355 <object type="checkbox">
1356 <placement x="%col1_x%" y="%row6_text_y%" />
1357 <font resource="font" color="%text_color%" />
1358 <text>Cache (%tw_backup_cache_size% MB)</text>
1359 <data variable="tw_backup_cache" />
1360 <image checked="checkbox_true" unchecked="checkbox_false" />
1361 </object>
1362
1363 <object type="checkbox">
1364 <condition var1="tw_has_android_secure" var2="1" />
1365 <placement x="%col1_x%" y="%row7_text_y%" />
1366 <font resource="font" color="%text_color%" />
1367 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1368 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1369 <data variable="tw_backup_andsec" />
1370 <image checked="checkbox_true" unchecked="checkbox_false" />
1371 </object>
1372
1373 <object type="checkbox">
1374 <condition var1="tw_has_sdext_partition" var2="1" />
1375 <placement x="%col1_x%" y="%row8_text_y%" />
1376 <font resource="font" color="%text_color%" />
1377 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1378 <condition var1="fileexists" var2="/sd-ext" />
1379 <data variable="tw_backup_sdext" />
1380 <image checked="checkbox_true" unchecked="checkbox_false" />
1381 </object>
1382
1383 <object type="checkbox">
1384 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001385 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001386 <font resource="font" color="%text_color%" />
1387 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1388 <data variable="tw_backup_sp1" />
1389 <image checked="checkbox_true" unchecked="checkbox_false" />
1390 </object>
1391
1392 <object type="checkbox">
1393 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001394 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001395 <font resource="font" color="%text_color%" />
1396 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1397 <data variable="tw_backup_sp2" />
1398 <image checked="checkbox_true" unchecked="checkbox_false" />
1399 </object>
1400
1401 <object type="checkbox">
1402 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001403 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001404 <font resource="font" color="%text_color%" />
1405 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1406 <data variable="tw_backup_sp3" />
1407 <image checked="checkbox_true" unchecked="checkbox_false" />
1408 </object>
1409
1410 <object type="text" color="%text_color%">
1411 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001412 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001413 <text>Free Space: %tw_storage_free_size% MB</text>
1414 </object>
1415
1416 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001417 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001418 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001419 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 <data variable="tw_use_compression" />
1421 <image checked="checkbox_true" unchecked="checkbox_false" />
1422 </object>
1423
1424 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001425 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001427 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <data variable="tw_skip_md5_generate" />
1429 <image checked="checkbox_true" unchecked="checkbox_false" />
1430 </object>
1431
1432 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001433 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <font resource="font" color="%text_color%" />
1435 <conditions>
1436 <condition var1="tw_has_dual_storage" var2="1" />
1437 <condition var1="tw_use_external_storage" var2="1" />
1438 </conditions>
1439 <text>Use external SD</text>
1440 <image resource="radio_true" />
1441 <action function="togglestorage">external</action>
1442 </object>
1443
1444 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001445 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 <font resource="font" color="%text_color%" />
1447 <conditions>
1448 <condition var1="tw_has_dual_storage" var2="1" />
1449 <condition var1="tw_use_external_storage" var2="0" />
1450 </conditions>
1451 <text>Use external SD</text>
1452 <image resource="radio_false" />
1453 <action function="togglestorage">external</action>
1454 </object>
1455
1456 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001457 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001458 <font resource="font" color="%text_color%" />
1459 <conditions>
1460 <condition var1="tw_has_dual_storage" var2="1" />
1461 <condition var1="tw_use_external_storage" var2="1" />
1462 </conditions>
1463 <text>Use internal storage</text>
1464 <image resource="radio_false" />
1465 <action function="togglestorage">internal</action>
1466 </object>
1467
1468 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001469 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001470 <font resource="font" color="%text_color%" />
1471 <conditions>
1472 <condition var1="tw_has_dual_storage" var2="1" />
1473 <condition var1="tw_use_external_storage" var2="0" />
1474 </conditions>
1475 <text>Use internal storage</text>
1476 <image resource="radio_true" />
1477 <action function="togglestorage">internal</action>
1478 </object>
1479
1480 <object type="action">
1481 <touch key="home" />
1482 <action function="page">main</action>
1483 </object>
1484
1485 <object type="action">
1486 <touch key="back" />
1487 <action function="page">main</action>
1488 </object>
1489
1490 <object type="template" name="footer" />
1491 </page>
1492
1493 <page name="backupname1">
1494 <object type="action">
1495 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1496 <action function="set">tw_backup_name=</function>
1497 </object>
1498
1499 <object type="action">
1500 <action function="page">backupname2</function>
1501 </object>
1502 </page>
1503
1504 <page name="backupname2">
1505 <object type="template" name="header" />
1506
1507 <object type="text" color="%text_color%">
1508 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1509 <font resource="font" />
1510 <text>Please Enter a Backup Name</text>
1511 </object>
1512
1513 <object type="input">
1514 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1515 <background color="%input_background_color%" />
1516 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1517 <font resource="font" color="%text_color%" />
1518 <text>%tw_backup_name%</text>
1519 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001520 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001521 <actions>
1522 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1523 <action function="set">tw_existpage=backupname2</action>
1524 <action function="set">tw_notexistpage=backup</action>
1525 <action function="page">filecheck</action>
1526 </actions>
1527 </object>
1528
1529 <object type="text" color="%text_fail_color%">
1530 <condition var1="tw_fileexists" var2="1" />
1531 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1532 <font resource="font" />
1533 <text>A backup with that name already exists!</text>
1534 </object>
1535
1536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001538 <placement x="%col_center_x%" y="%row2_y%" />
1539 <font resource="font" color="%button_text_color%" />
1540 <text>Cancel</text>
1541 <image resource="main_button" />
1542 <actions>
1543 <action function="set">tw_backup_name=(Current Date)</action>
1544 <action function="page">backup</action>
1545 </actions>
1546 </object>
1547
1548 <object type="template" name="keyboardtemplate" />
1549
1550 <object type="action">
1551 <touch key="home" />
1552 <actions>
1553 <action function="set">tw_backup_name=(Current Date)</action>
1554 <action function="page">main</action>
1555 </actions>
1556 </object>
1557
1558 <object type="action">
1559 <touch key="back" />
1560 <actions>
1561 <action function="set">tw_backup_name=(Current Date)</action>
1562 <action function="page">backup</action>
1563 </actions>
1564 </object>
1565
1566 <object type="template" name="footer" />
1567 </page>
1568
1569 <page name="backup_run">
1570 <object type="template" name="header" />
1571
1572 <object type="text" color="%text_color%">
1573 <font resource="font" />
1574 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1575 <text>%tw_operation% %tw_partition%</text>
1576 </object>
1577
1578 <object type="template" name="action_page_console" />
1579
1580 <object type="template" name="progress_bar" />
1581
1582 <object type="action">
1583 <action function="nandroid">backup</action>
1584 </object>
1585
1586 <object type="action">
1587 <condition var1="tw_operation_state" var2="1" />
1588 <actions>
1589 <action function="set">tw_back=backup</action>
1590 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001591 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001592 <action function="page">action_complete</action>
1593 </actions>
1594 </object>
1595 </page>
1596
1597 <page name="restore">
1598 <object type="template" name="header" />
1599
1600 <object type="button">
1601 <placement x="%col1_x%" y="%row1_header_y%" />
1602 <font resource="font" color="%text_color%" />
1603 <conditions>
1604 <condition var1="tw_has_dual_storage" var2="1" />
1605 <condition var1="tw_use_external_storage" var2="1" />
1606 </conditions>
1607 <text>Use external SD</text>
1608 <image resource="radio_true" />
1609 <action function="togglestorage">external</action>
1610 </object>
1611
1612 <object type="button">
1613 <placement x="%col1_x%" y="%row1_header_y%" />
1614 <font resource="font" color="%text_color%" />
1615 <conditions>
1616 <condition var1="tw_has_dual_storage" var2="1" />
1617 <condition var1="tw_use_external_storage" var2="0" />
1618 </conditions>
1619 <text>Use external SD</text>
1620 <image resource="radio_false" />
1621 <action function="togglestorage">external</action>
1622 </object>
1623
1624 <object type="button">
1625 <placement x="%col2_x%" y="%row1_header_y%" />
1626 <font resource="font" color="%text_color%" />
1627 <conditions>
1628 <condition var1="tw_has_dual_storage" var2="1" />
1629 <condition var1="tw_use_external_storage" var2="1" />
1630 </conditions>
1631 <text>Use internal storage</text>
1632 <image resource="radio_false" />
1633 <action function="togglestorage">internal</action>
1634 </object>
1635
1636 <object type="button">
1637 <placement x="%col2_x%" y="%row1_header_y%" />
1638 <font resource="font" color="%text_color%" />
1639 <conditions>
1640 <condition var1="tw_has_dual_storage" var2="1" />
1641 <condition var1="tw_use_external_storage" var2="0" />
1642 </conditions>
1643 <text>Use internal storage</text>
1644 <image resource="radio_true" />
1645 <action function="togglestorage">internal</action>
1646 </object>
1647
1648 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001649 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001650 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1651 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1652 <text>Select Package to Restore:</text>
1653 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1654 <sort name="tw_gui_sort_order" />
1655 <icon folder="folder_icon" file="file_icon" />
1656 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001657 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001658 <filter folders="1" files="0" nav="0" />
1659 <path name="tw_backups_folder" />
1660 <data name="tw_restore" default="" />
1661 <selection name="tw_restore_name" />
1662 </object>
1663
1664 <object type="template" name="sort_options" />
1665
1666 <object type="action">
1667 <condition var1="tw_restore" op="modified" />
1668 <actions>
1669 <action function="readBackup"></action>
1670 <action function="page">restore_select</action>
1671 </actions>
1672 </object>
1673
1674 <object type="action">
1675 <touch key="home" />
1676 <action function="page">main</action>
1677 </object>
1678
1679 <object type="action">
1680 <touch key="back" />
1681 <action function="page">main</action>
1682 </object>
1683
1684 <object type="template" name="footer" />
1685 </page>
1686
1687 <page name="restore_select">
1688 <object type="template" name="header" />
1689
1690 <object type="text">
1691 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1692 <font resource="font" color="%text_color%" />
1693 <text>Restoring: %tw_restore_name%</text>
1694 </object>
1695
1696 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001697 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001698 <placement x="%col2_x%" y="%row1_y%" />
1699 <font resource="font" color="%button_text_color%" />
1700 <text>Rename Backup</text>
1701 <image resource="main_button" />
1702 <actions>
1703 <action function="set">tw_backup_rename=</action>
1704 <action function="set">tw_fileexists=0</action>
1705 <action function="page">renamebackup</action>
1706 </actions>
1707 </object>
1708
1709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <placement x="%col2_x%" y="%row2_y%" />
1712 <font resource="font" color="%button_text_color%" />
1713 <text>Delete Backup</text>
1714 <image resource="main_button" />
1715 <actions>
1716 <action function="set">tw_back=restore</action>
1717 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001718 <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 -04001719 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1720 <action function="set">tw_text2=This cannot be undone!</action>
1721 <action function="set">tw_action_text1=Deleting Backup...</action>
1722 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1723 <action function="set">tw_slider_text=Swipe to Delete</action>
1724 <action function="page">confirm_action</action>
1725 </actions>
1726 </object>
1727
1728 <object type="slider">
1729 <placement x="%slider_x%" y="%slider_y%" />
1730 <resource base="slider" used="slider-used" touch="slider-touch" />
1731 <action function="page">restore_run</action>
1732 </object>
1733
1734 <object type="text" color="%text_color%">
1735 <font resource="font" />
1736 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1737 <text>Swipe to Restore</text>
1738 </object>
1739
1740 <object type="checkbox">
1741 <placement x="%col1_x%" y="%row2_text_y%" />
1742 <font resource="font" color="%text_color%" />
1743 <text>System</text>
1744 <condition var1="tw_restore_system" op=">=" var2="0" />
1745 <data variable="tw_restore_system" />
1746 <image checked="checkbox_true" unchecked="checkbox_false" />
1747 </object>
1748
1749 <object type="checkbox">
1750 <placement x="%col1_x%" y="%row3_text_y%" />
1751 <font resource="font" color="%text_color%" />
1752 <text>Data</text>
1753 <condition var1="tw_restore_data" op=">=" var2="0" />
1754 <data variable="tw_restore_data" />
1755 <image checked="checkbox_true" unchecked="checkbox_false" />
1756 </object>
1757
1758 <object type="checkbox">
1759 <placement x="%col1_x%" y="%row4_text_y%" />
1760 <font resource="font" color="%text_color%" />
1761 <text>Boot</text>
1762 <condition var1="tw_restore_boot" op=">=" var2="0" />
1763 <data variable="tw_restore_boot" />
1764 <image checked="checkbox_true" unchecked="checkbox_false" />
1765 </object>
1766
1767 <object type="checkbox">
1768 <placement x="%col1_x%" y="%row6_text_y%" />
1769 <font resource="font" color="%text_color%" />
1770 <text>Cache</text>
1771 <condition var1="tw_restore_cache" op=">=" var2="0" />
1772 <data variable="tw_restore_cache" />
1773 <image checked="checkbox_true" unchecked="checkbox_false" />
1774 </object>
1775
1776 <object type="checkbox">
1777 <placement x="%col1_x%" y="%row7_text_y%" />
1778 <font resource="font" color="%text_color%" />
1779 <text>.android_secure</text>
1780 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1781 <data variable="tw_restore_andsec" />
1782 <image checked="checkbox_true" unchecked="checkbox_false" />
1783 </object>
1784
1785 <object type="checkbox">
1786 <placement x="%col1_x%" y="%row8_text_y%" />
1787 <font resource="font" color="%text_color%" />
1788 <text>sd-ext</text>
1789 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1790 <data variable="tw_restore_sdext" />
1791 <image checked="checkbox_true" unchecked="checkbox_false" />
1792 </object>
1793
1794 <object type="checkbox">
1795 <placement x="%col1_x%" y="%row10_text_y%" />
1796 <font resource="font" color="%text_color%" />
1797 <text>%tw_sp1_name%</text>
1798 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1799 <data variable="tw_restore_sp1" />
1800 <image checked="checkbox_true" unchecked="checkbox_false" />
1801 </object>
1802
1803 <object type="checkbox">
1804 <placement x="%col1_x%" y="%row11_text_y%" />
1805 <font resource="font" color="%text_color%" />
1806 <text>%tw_sp2_name%</text>
1807 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1808 <data variable="tw_restore_sp2" />
1809 <image checked="checkbox_true" unchecked="checkbox_false" />
1810 </object>
1811
1812 <object type="checkbox">
1813 <placement x="%col1_x%" y="%row12_text_y%" />
1814 <font resource="font" color="%text_color%" />
1815 <text>%tw_sp3_name%</text>
1816 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1817 <data variable="tw_restore_sp3" />
1818 <image checked="checkbox_true" unchecked="checkbox_false" />
1819 </object>
1820
1821 <object type="checkbox">
1822 <placement x="%col1_x%" y="%row14_text_y%" />
1823 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001824 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001825 <data variable="tw_skip_md5_check" />
1826 <image checked="checkbox_true" unchecked="checkbox_false" />
1827 </object>
1828
1829 <object type="text" color="%text_color%">
1830 <font resource="font" />
1831 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1832 <text>Package Date: %tw_restore_file_date%</text>
1833 </object>
1834
1835 <object type="action">
1836 <touch key="home" />
1837 <action function="page">main</action>
1838 </object>
1839
1840 <object type="action">
1841 <touch key="back" />
1842 <action function="page">restore</action>
1843 </object>
1844
1845 <object type="template" name="footer" />
1846 </page>
1847
1848 <page name="renamebackup">
1849 <object type="template" name="header" />
1850
1851 <object type="text" color="%text_color%">
1852 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1853 <font resource="font" />
1854 <text>Please Enter a New Backup Name</text>
1855 </object>
1856
1857 <object type="input">
1858 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1859 <background color="%input_background_color%" />
1860 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1861 <font resource="font" color="%text_color%" />
1862 <text>%tw_backup_rename%</text>
1863 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001864 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001865 <actions>
1866 <action function="set">tw_back=restore</action>
1867 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001868 <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 -04001869 <action function="set">tw_text1=Rename Backup?</action>
1870 <action function="set">tw_text2=This cannot be undone!</action>
1871 <action function="set">tw_action_text1=Renaming Backup...</action>
1872 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1873 <action function="set">tw_slider_text=Swipe to Rename</action>
1874 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1875 <action function="set">tw_existpage=renamebackup</action>
1876 <action function="set">tw_notexistpage=confirm_action</action>
1877 <action function="page">filecheck</action>
1878 </actions>
1879 </object>
1880
1881 <object type="text" color="%text_fail_color%">
1882 <condition var1="tw_fileexists" var2="1" />
1883 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1884 <font resource="font" />
1885 <text>A backup with that name already exists!</text>
1886 </object>
1887
1888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001889 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001890 <placement x="%col_center_x%" y="%row2_y%" />
1891 <font resource="font" color="%button_text_color%" />
1892 <text>Cancel</text>
1893 <image resource="main_button" />
1894 <action function="page">restore_select</action>
1895 </object>
1896
1897 <object type="template" name="keyboardtemplate" />
1898
1899 <object type="action">
1900 <touch key="home" />
1901 <action function="page">main</action>
1902 </object>
1903
1904 <object type="action">
1905 <touch key="back" />
1906 <action function="page">restore_select</action>
1907 </object>
1908
1909 <object type="template" name="footer" />
1910 </page>
1911
1912 <page name="restore_run">
1913 <object type="template" name="header" />
1914
1915 <object type="text" color="%text_color%">
1916 <font resource="font" />
1917 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1918 <text>%tw_operation% %tw_partition%</text>
1919 </object>
1920
1921 <object type="template" name="action_page_console" />
1922
1923 <object type="template" name="progress_bar" />
1924
1925 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001926 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001927 <actions>
1928 <action function="set">tw_back=restore_select</action>
1929 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001930 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001931 <action function="page">action_complete</action>
1932 </actions>
1933 </object>
1934
1935 <object type="action">
1936 <action function="nandroid">restore</action>
1937 </object>
1938 </page>
1939
1940 <page name="mount">
1941 <object type="template" name="header" />
1942
1943 <object type="text" color="%text_color%">
1944 <font resource="font" />
1945 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1946 <text>Mount Menu</text>
1947 </object>
1948
1949 <object type="button">
1950 <placement x="%col1_x%" y="%row1_text_y%" />
1951 <font resource="font" color="%text_color%" />
1952 <condition var1="mounted" op="!=" var2="/system" />
1953 <text>Mount System</text>
1954 <image resource="checkbox_false" />
1955 <action function="mount">/system</action>
1956 </object>
1957
1958 <object type="button">
1959 <placement x="%col1_x%" y="%row1_text_y%" />
1960 <font resource="font" color="%text_color%" />
1961 <condition var1="mounted" op="=" var2="/system" />
1962 <text>Unmount System</text>
1963 <image resource="checkbox_true" />
1964 <action function="umount">/system</action>
1965 </object>
1966
1967 <object type="button">
1968 <placement x="%col1_x%" y="%row2_text_y%" />
1969 <font resource="font" color="%text_color%" />
1970 <condition var1="mounted" op="!=" var2="/data" />
1971 <text>Mount Data</text>
1972 <image resource="checkbox_false" />
1973 <action function="mount">/data</action>
1974 </object>
1975
1976 <object type="button">
1977 <placement x="%col1_x%" y="%row2_text_y%" />
1978 <font resource="font" color="%text_color%" />
1979 <condition var1="mounted" op="=" var2="/data" />
1980 <text>Unmount Data</text>
1981 <image resource="checkbox_true" />
1982 <action function="umount">/data</action>
1983 </object>
1984
1985 <object type="button">
1986 <placement x="%col1_x%" y="%row3_text_y%" />
1987 <font resource="font" color="%text_color%" />
1988 <condition var1="mounted" op="!=" var2="/cache" />
1989 <text>Mount Cache</text>
1990 <image resource="checkbox_false" />
1991 <action function="mount">/cache</action>
1992 </object>
1993
1994 <object type="button">
1995 <placement x="%col1_x%" y="%row3_text_y%" />
1996 <font resource="font" color="%text_color%" />
1997 <condition var1="mounted" op="=" var2="/cache" />
1998 <text>Unmount Cache</text>
1999 <image resource="checkbox_true" />
2000 <action function="umount">/cache</action>
2001 </object>
2002
2003 <object type="button">
2004 <placement x="%col1_x%" y="%row4_text_y%" />
2005 <font resource="font" color="%text_color%" />
2006 <conditions>
2007 <condition var1="tw_has_external" var2="1" />
2008 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2009 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002010 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002011 <image resource="checkbox_false" />
2012 <action function="mount">EXTERNAL</action>
2013 </object>
2014
2015 <object type="button">
2016 <placement x="%col1_x%" y="%row4_text_y%" />
2017 <font resource="font" color="%text_color%" />
2018 <conditions>
2019 <condition var1="tw_has_external" var2="1" />
2020 <condition var1="mounted" op="=" var2="EXTERNAL" />
2021 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002022 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002023 <image resource="checkbox_true" />
2024 <action function="umount">EXTERNAL</action>
2025 </object>
2026
2027 <object type="button">
2028 <placement x="%col2_x%" y="%row4_text_y%" />
2029 <font resource="font" color="%text_color%" />
2030 <conditions>
2031 <condition var1="tw_has_internal" var2="1" />
2032 <condition var1="tw_has_data_media" var2="0" />
2033 <condition var1="mounted" op="!=" var2="INTERNAL" />
2034 </conditions>
2035 <text>Mount Internal</text>
2036 <image resource="checkbox_false" />
2037 <action function="mount">INTERNAL</action>
2038 </object>
2039
2040 <object type="button">
2041 <placement x="%col2_x%" y="%row4_text_y%" />
2042 <font resource="font" color="%text_color%" />
2043 <conditions>
2044 <condition var1="tw_has_internal" var2="1" />
2045 <condition var1="tw_has_data_media" var2="0" />
2046 <condition var1="mounted" op="=" var2="INTERNAL" />
2047 </conditions>
2048 <text>Unmount Internal</text>
2049 <image resource="checkbox_true" />
2050 <action function="umount">INTERNAL</action>
2051 </object>
2052
2053 <object type="button">
2054 <conditions>
2055 <condition var1="tw_has_sdext_partition" var2="1" />
2056 <condition var1="mounted" op="!=" var2="/sd-ext" />
2057 </conditions>
2058 <placement x="%col1_x%" y="%row5_text_y%" />
2059 <font resource="font" color="%text_color%" />
2060 <text>Mount SD-Ext</text>
2061 <image resource="checkbox_false" />
2062 <action function="mount">/sd-ext</action>
2063 </object>
2064
2065 <object type="button">
2066 <placement x="%col1_x%" y="%row5_text_y%" />
2067 <font resource="font" color="%text_color%" />
2068 <condition var1="mounted" op="=" var2="/sd-ext" />
2069 <text>Unmount SD-Ext</text>
2070 <image resource="checkbox_true" />
2071 <action function="umount">/sd-ext</action>
2072 </object>
2073
2074 <object type="button">
2075 <conditions>
2076 <condition var1="tw_boot_is_mountable" var2="1" />
2077 <condition var1="mounted" op="!=" var2="/boot" />
2078 </conditions>
2079 <placement x="%col1_x%" y="%row6_text_y%" />
2080 <font resource="font" color="#A0A0A0" />
2081 <text>Mount Boot</text>
2082 <image resource="checkbox_false" />
2083 <action function="mount">/boot</action>
2084 </object>
2085
2086 <object type="button">
2087 <conditions>
2088 <condition var1="tw_boot_is_mountable" var2="1" />
2089 <condition var1="mounted" op="=" var2="/boot" />
2090 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002091 <placement x="%col1_x%" y="%row6_text_y%" />
2092 <font resource="font" color="#A0A0A0" />
2093 <text>Unmount Boot</text>
2094 <image resource="checkbox_true" />
2095 <action function="umount">/boot</action>
2096 </object>
2097
2098 <object type="button">
2099 <placement x="%col1_x%" y="%row8_text_y%" />
2100 <font resource="font" color="%text_color%" />
2101 <conditions>
2102 <condition var1="tw_has_dual_storage" var2="1" />
2103 <condition var1="tw_use_external_storage" var2="1" />
2104 </conditions>
2105 <text>Use external SD</text>
2106 <image resource="radio_true" />
2107 <action function="togglestorage">external</action>
2108 </object>
2109
2110 <object type="button">
2111 <placement x="%col1_x%" y="%row8_text_y%" />
2112 <font resource="font" color="%text_color%" />
2113 <conditions>
2114 <condition var1="tw_has_dual_storage" var2="1" />
2115 <condition var1="tw_use_external_storage" var2="0" />
2116 </conditions>
2117 <text>Use external SD</text>
2118 <image resource="radio_false" />
2119 <action function="togglestorage">external</action>
2120 </object>
2121
2122 <object type="button">
2123 <placement x="%col2_x%" y="%row8_text_y%" />
2124 <font resource="font" color="%text_color%" />
2125 <conditions>
2126 <condition var1="tw_has_dual_storage" var2="1" />
2127 <condition var1="tw_use_external_storage" var2="1" />
2128 </conditions>
2129 <text>Use internal storage</text>
2130 <image resource="radio_false" />
2131 <action function="togglestorage">internal</action>
2132 </object>
2133
2134 <object type="button">
2135 <placement x="%col2_x%" y="%row8_text_y%" />
2136 <font resource="font" color="%text_color%" />
2137 <conditions>
2138 <condition var1="tw_has_dual_storage" var2="1" />
2139 <condition var1="tw_use_external_storage" var2="0" />
2140 </conditions>
2141 <text>Use internal storage</text>
2142 <image resource="radio_true" />
2143 <action function="togglestorage">internal</action>
2144 </object>
2145
2146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002148 <condition var1="tw_has_usb_storage" var2="1" />
2149 <placement x="%col1_x%" y="row3_y" />
2150 <font resource="font" color="%button_text_color%" />
2151 <text>Mount USB Storage</text>
2152 <image resource="main_button" />
2153 <action function="page">usb_mount</action>
2154 </object>
2155
Gary Peckffdc6ae2012-11-21 18:02:02 -08002156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002157 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002158 <conditions>
2159 <condition var1="tw_is_encrypted" var2="1" />
2160 <condition var1="tw_is_decrypted" var2="0" />
2161 </conditions>
2162 <placement x="%col2_x%" y="row3_y" />
2163 <font resource="font" color="%button_text_color%" />
2164 <text>Decrypt Data</text>
2165 <image resource="main_button" />
2166 <action function="page">decrypt</action>
2167 </object>
2168
Dees_Troy51a0e822012-09-05 15:24:24 -04002169 <object type="action">
2170 <touch key="home" />
2171 <action function="page">main</action>
2172 </object>
2173
2174 <object type="action">
2175 <touch key="back" />
2176 <action function="page">main</action>
2177 </object>
2178
2179 <object type="template" name="footer" />
2180 </page>
2181
2182 <page name="usb_mount">
2183 <object type="template" name="header" />
2184
2185 <object type="text" color="%text_color%">
2186 <font resource="font" />
2187 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2188 <text>USB Storage Mounted</text>
2189 </object>
2190
2191 <object type="text" color="%text_color%">
2192 <placement x="%col1_x%" y="%row1_text_y%" />
2193 <font resource="font" />
2194 <text>Be sure to safely remove your device</text>
2195 </object>
2196
2197 <object type="text" color="%text_color%">
2198 <placement x="%col1_x%" y="%row2_text_y%" />
2199 <font resource="font" />
2200 <text>from your computer before unmounting!</text>
2201 </object>
2202
2203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002205 <placement x="%col1_x%" y="%row3_y%" />
2206 <font resource="font" color="%button_text_color%" />
2207 <text>Unmount</text>
2208 <image resource="main_button" />
2209 <action function="page">usb_umount</action>
2210 </object>
2211
2212 <object type="action">
2213 <action function="mount">usb</action>
2214 </object>
2215
2216 <object type="template" name="footer" />
2217 </page>
2218
2219 <page name="usb_umount">
2220 <object type="action">
2221 <action function="unmount">usb</action>
2222 </object>
2223
2224 <object type="action">
2225 <action function="page">mount</action>
2226 </object>
2227 </page>
2228
2229 <page name="reboot">
2230 <object type="template" name="header" />
2231
2232 <object type="text" color="%text_color%">
2233 <font resource="font" />
2234 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2235 <text>Reboot Menu</text>
2236 </object>
2237
2238 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002239 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002240 <condition var1="tw_reboot_system" var2="1" />
2241 <placement x="%col1_x%" y="%row1_y%" />
2242 <font resource="font" color="%button_text_color%" />
2243 <text>System</text>
2244 <image resource="main_button" />
2245 <actions>
2246 <action function="set">tw_back=reboot</action>
2247 <action function="set">tw_action=reboot</action>
2248 <action function="set">tw_action_param=system</action>
2249 <action function="set">tw_has_action2=0</action>
2250 <action function="set">tw_text1=No OS Installed! Are you</action>
2251 <action function="set">tw_text2=sure you wish to reboot?</action>
2252 <action function="set">tw_action_text1=Rebooting...</action>
2253 <action function="set">tw_complete_text1=Rebooting...</action>
2254 <action function="set">tw_slider_text=Swipe to Reboot</action>
2255 <action function="page">rebootcheck</action>
2256 </actions>
2257 </object>
2258
2259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002261 <condition var1="tw_reboot_poweroff" var2="1" />
2262 <placement x="%col2_x%" y="%row1_y%" />
2263 <font resource="font" color="%button_text_color%" />
2264 <text>Power Off</text>
2265 <image resource="main_button" />
2266 <actions>
2267 <action function="set">tw_back=reboot</action>
2268 <action function="set">tw_action=reboot</action>
2269 <action function="set">tw_action_param=poweroff</action>
2270 <action function="set">tw_has_action2=0</action>
2271 <action function="set">tw_text1=No OS Installed! Are you</action>
2272 <action function="set">tw_text2=sure you wish to power off?</action>
2273 <action function="set">tw_action_text1=Turning Off...</action>
2274 <action function="set">tw_complete_text1=Turning Off...</action>
2275 <action function="set">tw_slider_text=Swipe to Power Off</action>
2276 <action function="page">rebootcheck</action>
2277 </actions>
2278 </object>
2279
2280 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002281 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002282 <condition var1="tw_reboot_recovery" var2="1" />
2283 <placement x="%col1_x%" y="%row2_y%" />
2284 <font resource="font" color="%button_text_color%" />
2285 <text>Recovery</text>
2286 <image resource="main_button" />
2287 <actions>
2288 <action function="set">tw_back=reboot</action>
2289 <action function="set">tw_action=reboot</action>
2290 <action function="set">tw_action_param=recovery</action>
2291 <action function="set">tw_has_action2=0</action>
2292 <action function="set">tw_text1=No OS Installed! Are you</action>
2293 <action function="set">tw_text2=sure you wish to reboot?</action>
2294 <action function="set">tw_action_text1=Rebooting...</action>
2295 <action function="set">tw_complete_text1=Rebooting...</action>
2296 <action function="set">tw_slider_text=Swipe to Reboot</action>
2297 <action function="page">rebootcheck</action>
2298 </actions>
2299 </object>
2300
2301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002303 <condition var1="tw_reboot_bootloader" var2="1" />
2304 <placement x="%col2_x%" y="%row2_y%" />
2305 <font resource="font" color="%button_text_color%" />
2306 <text>Bootloader</text>
2307 <image resource="main_button" />
2308 <actions>
2309 <action function="set">tw_back=reboot</action>
2310 <action function="set">tw_action=reboot</action>
2311 <action function="set">tw_action_param=bootloader</action>
2312 <action function="set">tw_has_action2=0</action>
2313 <action function="set">tw_text1=No OS Installed! Are you</action>
2314 <action function="set">tw_text2=sure you wish to reboot?</action>
2315 <action function="set">tw_action_text1=Rebooting...</action>
2316 <action function="set">tw_complete_text1=Rebooting...</action>
2317 <action function="set">tw_slider_text=Swipe to Reboot</action>
2318 <action function="page">rebootcheck</action>
2319 </actions>
2320 </object>
2321
2322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002324 <condition var1="tw_download_mode" var2="1" />
2325 <placement x="%col1_x%" y="%row3_y%" />
2326 <font resource="font" color="%button_text_color%" />
2327 <text>Download</text>
2328 <image resource="main_button" />
2329 <actions>
2330 <action function="set">tw_back=reboot</action>
2331 <action function="set">tw_action=reboot</action>
2332 <action function="set">tw_action_param=download</action>
2333 <action function="set">tw_has_action2=0</action>
2334 <action function="set">tw_text1=No OS Installed! Are you</action>
2335 <action function="set">tw_text2=sure you wish to reboot?</action>
2336 <action function="set">tw_action_text1=Rebooting...</action>
2337 <action function="set">tw_complete_text1=Rebooting...</action>
2338 <action function="set">tw_slider_text=Swipe to Reboot</action>
2339 <action function="page">rebootcheck</action>
2340 </actions>
2341 </object>
2342
2343 <object type="action">
2344 <touch key="home" />
2345 <action function="page">main</action>
2346 </object>
2347
2348 <object type="action">
2349 <touch key="back" />
2350 <action function="page">main</action>
2351 </object>
2352
2353 <object type="template" name="footer" />
2354 </page>
2355
2356 <page name="settings">
2357 <object type="template" name="header" />
2358
2359 <object type="text" color="%text_color%">
2360 <font resource="font" />
2361 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2362 <text>Settings</text>
2363 </object>
2364
2365 <object type="checkbox">
2366 <placement x="%col1_x%" y="%row1_text_y%" />
2367 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002368 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <data variable="tw_signed_zip_verify" />
2370 <image checked="checkbox_true" unchecked="checkbox_false" />
2371 </object>
2372
2373 <object type="checkbox">
2374 <placement x="%col1_x%" y="%row2_text_y%" />
2375 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002376 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <data variable="tw_force_md5_check" />
2378 <image checked="checkbox_true" unchecked="checkbox_false" />
2379 </object>
2380
2381 <object type="checkbox">
2382 <placement x="%col1_x%" y="%row3_text_y%" />
2383 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002384 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <data variable="tw_rm_rf" />
2386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
2390 <placement x="%col1_x%" y="%row4_text_y%" />
2391 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002392 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <data variable="tw_skip_md5_generate" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
2398 <placement x="%col1_x%" y="%row5_text_y%" />
2399 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002400 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <data variable="tw_skip_md5_check" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
2406 <placement x="%col1_x%" y="%row6_text_y%" />
2407 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002408 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <data variable="tw_ignore_image_size" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="checkbox">
2414 <placement x="%col1_x%" y="%row7_text_y%" />
2415 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002416 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <data variable="tw_simulate_actions" />
2418 <image checked="checkbox_true" unchecked="checkbox_false" />
2419 </object>
2420
2421 <object type="checkbox">
2422 <condition var1="tw_simulate_actions" var2="1" />
2423 <placement x="%col1_x%" y="%row8_text_y%" />
2424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002425 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <data variable="tw_simulate_fail" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <placement x="%col1_x%" y="%row3_y%" />
2433 <font resource="font" color="%button_text_color%" />
2434 <text>Time Zone</text>
2435 <image resource="main_button" />
2436 <action function="page">timezone</action>
2437 </object>
2438
2439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <placement x="%col_center_x%" y="%row4_y%" />
2442 <font resource="font" color="%button_text_color%" />
2443 <text>Restore Defaults</text>
2444 <image resource="main_button" />
2445 <action function="restoredefaultsettings"></action>
2446 </object>
2447
2448 <object type="action">
2449 <touch key="home" />
2450 <action function="page">main</action>
2451 </object>
2452
2453 <object type="action">
2454 <touch key="back" />
2455 <action function="page">main</action>
2456 </object>
2457
2458 <object type="template" name="footer" />
2459 </page>
2460
2461 <page name="timezone">
2462 <object type="template" name="header" />
2463
Dees_Troy51a0e822012-09-05 15:24:24 -04002464 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002465 <highlight color="%fileselector_highlight_color%" />
2466 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2467 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2468 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002470 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002471 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002472 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <data name="tw_time_zone_guisel" />
2474 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2475 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2476 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2477 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2478 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2479 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2480 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2481 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2482 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2483 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2484 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2485 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2486 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2487 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2488 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2489 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2490 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2491 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2492 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2493 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2494 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2495 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2496 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2497 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2498 </object>
2499
2500 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002501 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <font resource="font" color="%text_color%" />
2503 <text>Do you use daylight savings time (DST)?</text>
2504 <data variable="tw_time_zone_guidst" />
2505 <image checked="checkbox_true" unchecked="checkbox_false" />
2506 </object>
2507
2508 <object type="text" color="%text_color%">
2509 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002510 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2512 </object>
2513
2514 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002515 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002516 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <font resource="font" color="%button_text_color%" />
2518 <text>None</text>
2519 <image resource="medium_button" />
2520 <action function="set">tw_time_zone_guioffset=0</action>
2521 </object>
2522
2523 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002524 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002525 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <font resource="font" color="%button_text_color%" />
2527 <text>15</text>
2528 <image resource="medium_button" />
2529 <action function="set">tw_time_zone_guioffset=15</action>
2530 </object>
2531
2532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002533 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002534 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <font resource="font" color="%button_text_color%" />
2536 <text>30</text>
2537 <image resource="medium_button" />
2538 <action function="set">tw_time_zone_guioffset=30</action>
2539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002543 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <font resource="font" color="%button_text_color%" />
2545 <text>45</text>
2546 <image resource="medium_button" />
2547 <action function="set">tw_time_zone_guioffset=45</action>
2548 </object>
2549
2550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <placement x="%col_center_x%" y="%tz_set_y%" />
2553 <font resource="font" color="%button_text_color%" />
2554 <text>Set Time Zone</text>
2555 <image resource="main_button" />
2556 <action function="setguitimezone"></action>
2557 </object>
2558
2559 <object type="text" color="%text_color%">
2560 <font resource="font" />
2561 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2562 <text>Current Time Zone: %tw_time_zone%</text>
2563 </object>
2564
2565 <object type="action">
2566 <touch key="home" />
2567 <action function="page">main</action>
2568 </object>
2569
2570 <object type="action">
2571 <touch key="back" />
2572 <action function="page">settings</action>
2573 </object>
2574
2575 <object type="template" name="footer" />
2576 </page>
2577
2578 <page name="advanced">
2579 <object type="template" name="header" />
2580
2581 <object type="text" color="%text_color%">
2582 <font resource="font" />
2583 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2584 <text>Advanced</text>
2585 </object>
2586
2587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002589 <placement x="%col1_x%" y="%row1_y%" />
2590 <font resource="font" color="%button_text_color%" />
2591 <text>Copy Log to SD</text>
2592 <image resource="main_button" />
2593 <actions>
2594 <action function="set">tw_back=advanced</action>
2595 <action function="set">tw_action=copylog</action>
2596 <action function="set">tw_text1=Copy Log to SD Card?</action>
2597 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2598 <action function="set">tw_complete_text1=Log Copy Complete</action>
2599 <action function="set">tw_slider_text=Swipe to Confirm</action>
2600 <action function="page">confirm_action</action>
2601 </actions>
2602 </object>
2603
2604 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002605 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002606 <placement x="%col2_x%" y="%row1_y%" />
2607 <font resource="font" color="%button_text_color%" />
2608 <text>Fix Permissions</text>
2609 <image resource="main_button" />
2610 <actions>
2611 <action function="set">tw_back=advanced</action>
2612 <action function="set">tw_action=fixpermissions</action>
2613 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002614 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002615 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2616 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002617 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002618 <action function="page">confirm_action</action>
2619 </actions>
2620 </object>
2621
2622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002624 <condition var1="tw_allow_partition_sdcard" var2="1" />
2625 <placement x="%col1_x%" y="%row2_y%" />
2626 <font resource="font" color="%button_text_color%" />
2627 <text>Partition SD Card</text>
2628 <image resource="main_button" />
2629 <action function="page">partsdcard</action>
2630 </object>
2631
2632 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002633 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002634 <placement x="%col2_x%" y="%row2_y%" />
2635 <font resource="font" color="%button_text_color%" />
2636 <text>File Manager</text>
2637 <image resource="main_button" />
2638 <action function="page">filemanagerlist</action>
2639 </object>
2640
2641 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002642 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002643 <placement x="%col1_x%" y="%row3_y%" />
2644 <font resource="font" color="%button_text_color%" />
2645 <text>Terminal Command</text>
2646 <image resource="main_button" />
2647 <action function="page">terminalfolder</action>
2648 </object>
2649
2650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002651 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002652 <placement x="%col2_x%" y="%row3_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>Reload Theme</text>
2655 <image resource="main_button" />
2656 <action function="reload"></action>
2657 </object>
2658
2659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002660 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002661 <placement x="%col1_x%" y="%row4_y%" />
2662 <font resource="font" color="%button_text_color%" />
2663 <text>ADB Sideload</text>
2664 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002665 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002666 </object>
2667
2668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002670 <condition var1="tw_show_dumlock" var2="1" />
2671 <placement x="%col2_x%" y="%row4_y%" />
2672 <font resource="font" color="%button_text_color%" />
2673 <text>HTC Dumlock</text>
2674 <image resource="main_button" />
2675 <action function="page">htcdumlock</action>
2676 </object>
2677
2678 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002679 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002680 <condition var1="tw_has_injecttwrp" var2="1" />
2681 <placement x="%col2_x%" y="%row4_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>Re-Inject TWRP</text>
2684 <image resource="main_button" />
2685 <actions>
2686 <action function="set">tw_back=advanced</action>
2687 <action function="set">tw_action=reinjecttwrp</action>
2688 <action function="set">tw_text1=Re-Inject TWRP?</action>
2689 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2690 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2691 <action function="set">tw_slider_text=Swipe to Confirm</action>
2692 <action function="page">confirm_action</action>
2693 </actions>
2694 </object>
2695
2696 <object type="action">
2697 <touch key="home" />
2698 <action function="page">main</action>
2699 </object>
2700
2701 <object type="action">
2702 <touch key="back" />
2703 <action function="page">main</action>
2704 </object>
2705
2706 <object type="template" name="footer" />
2707 </page>
2708
2709 <page name="partsdcard">
2710 <object type="template" name="header" />
2711
2712 <object type="text" color="%text_color%">
2713 <font resource="font" />
2714 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2715 <text>Partition SD Card</text>
2716 </object>
2717
2718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <placement x="%col1_x%" y="%row1_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text></text>
2723 <image resource="minus_button" />
2724 <action function="addsubtract">tw_sdext_size-128</action>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <placement x="%sd_plus_x%" y="%row1_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text></text>
2732 <image resource="plus_button" />
2733 <action function="addsubtract">tw_sdext_size+128</action>
2734 </object>
2735
2736 <object type="text" color="%text_color%">
2737 <font resource="font" />
2738 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2739 <text>EXT Size: %tw_sdext_size%</text>
2740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <placement x="%col1_x%" y="%sdswap_button_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text></text>
2747 <image resource="minus_button" />
2748 <action function="addsubtract">tw_swap_size-32</action>
2749 </object>
2750
2751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text></text>
2756 <image resource="plus_button" />
2757 <action function="addsubtract">tw_swap_size+32</action>
2758 </object>
2759
2760 <object type="text" color="%text_color%">
2761 <font resource="font" />
2762 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2763 <text>Swap Size: %tw_swap_size%</text>
2764 </object>
2765
2766 <object type="text" color="%text_color%">
2767 <font resource="font" />
2768 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2769 <text>File system: %tw_sdpart_file_system%</text>
2770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2775 <font resource="font" color="%button_text_color%" />
2776 <text>EXT3</text>
2777 <image resource="main_button" />
2778 <action function="set">tw_sdpart_file_system=ext3</action>
2779 </object>
2780
2781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <condition var1="tw_sdext_disable_ext4" var2="0" />
2784 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>EXT4</text>
2787 <image resource="main_button" />
2788 <action function="set">tw_sdpart_file_system=ext4</action>
2789 </object>
2790
2791 <object type="text" color="%text_color%">
2792 <font resource="font" />
2793 <placement x="%col1_x%" y="%row12_text_y%" />
2794 <text>You will lose all files on your SD card!</text>
2795 </object>
2796
2797 <object type="text" color="%text_color%">
2798 <font resource="font" />
2799 <placement x="%col1_x%" y="%row13_text_y%" />
2800 <text>This action cannot be undone!</text>
2801 </object>
2802
2803 <object type="slider">
2804 <placement x="%slider_x%" y="%slider_y%" />
2805 <resource base="slider" used="slider-used" touch="slider-touch" />
2806 <action function="page">partsdcardaction</action>
2807 <actions>
2808 <action function="set">tw_back=partsdcard</action>
2809 <action function="set">tw_action=partitionsd</action>
2810 <action function="set">tw_has_action2=1</action>
2811 <action function="set">tw_action2=set</action>
2812 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2813 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2814 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002815 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002816 <action function="page">action_page</action>
2817 </actions>
2818 </object>
2819
2820 <object type="text" color="%text_color%">
2821 <font resource="font" />
2822 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2823 <text>Swipe to Partition</text>
2824 </object>
2825
2826 <object type="action">
2827 <touch key="home" />
2828 <action function="page">main</action>
2829 </object>
2830
2831 <object type="action">
2832 <touch key="back" />
2833 <action function="page">advanced</action>
2834 </object>
2835
2836 <object type="template" name="footer" />
2837 </page>
2838
2839 <page name="htcdumlock">
2840 <object type="template" name="header" />
2841
2842 <object type="text" color="%text_color%">
2843 <font resource="font" />
2844 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2845 <text>HTC Dumlock</text>
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 <condition var1="tw_show_dumlock" var2="1" />
2851 <placement x="%col1_x%" y="%row1_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text>Restore Original Boot</text>
2854 <image resource="main_button" />
2855 <actions>
2856 <action function="set">tw_back=htcdumlock</action>
2857 <action function="set">tw_action=htcdumlockrestoreboot</action>
2858 <action function="set">tw_text1=Restore original boot image?</action>
2859 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2860 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2861 <action function="set">tw_slider_text=Swipe to Confirm</action>
2862 <action function="page">confirm_action</action>
2863 </actions>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <condition var1="tw_show_dumlock" var2="1" />
2869 <placement x="%col2_x%" y="%row1_y%" />
2870 <font resource="font" color="%button_text_color%" />
2871 <text>Reflash Recovery</text>
2872 <image resource="main_button" />
2873 <actions>
2874 <action function="set">tw_back=htcdumlock</action>
2875 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2876 <action function="set">tw_text1=Reflash recovery to boot?</action>
2877 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2878 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2879 <action function="set">tw_slider_text=Swipe to Confirm</action>
2880 <action function="page">confirm_action</action>
2881 </actions>
2882 </object>
2883
2884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002885 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <condition var1="tw_show_dumlock" var2="1" />
2887 <placement x="%col1_x%" y="%row2_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text>Install HTC Dumlock</text>
2890 <image resource="main_button" />
2891 <actions>
2892 <action function="set">tw_back=htcdumlock</action>
2893 <action function="set">tw_action=installhtcdumlock</action>
2894 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2895 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2896 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2897 <action function="set">tw_slider_text=Swipe to Confirm</action>
2898 <action function="page">confirm_action</action>
2899 </actions>
2900 </object>
2901
2902 <object type="action">
2903 <touch key="home" />
2904 <action function="page">main</action>
2905 </object>
2906
2907 <object type="action">
2908 <touch key="back" />
2909 <action function="page">advanced</action>
2910 </object>
2911
2912 <object type="template" name="footer" />
2913 </page>
2914
2915 <page name="lock">
2916 <background color="#000000A0" />
2917
2918 <object type="image">
2919 <image resource="unlock-icon" />
2920 <placement x="%lock_x%" y="%lock_y%" />
2921 </object>
2922
2923 <object type="slider">
2924 <placement x="%slider_x%" y="%slider_y%" />
2925 <resource base="slider" used="slider-used" touch="slider-touch" />
2926 <action function="overlay"></action>
2927 </object>
2928
2929 <object type="text" color="%text_color%">
2930 <font resource="font" />
2931 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2932 <text>Swipe to Unlock</text>
2933 </object>
2934 </page>
2935
2936 <page name="filemanagerlist">
2937 <object type="template" name="header" />
2938
2939 <object type="text" color="%text_color%">
2940 <font resource="font" />
2941 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2942 <text>File Manager: Select a File or Folder</text>
2943 </object>
2944
2945 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002946 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002947 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2948 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2949 <text>%tw_file_location1%</text>
2950 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2951 <sort name="tw_gui_sort_order" />
2952 <icon folder="folder_icon" file="file_icon" />
2953 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002954 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002955 <folders="1" files="1" />
2956 <path name="tw_file_location1" default="/" />
2957 <data name="tw_filename1" />
2958 <selection name="tw_selection1" />
2959 </object>
2960
2961 <object type="template" name="sort_options" />
2962
2963 <object type="action">
2964 <actions>
2965 <action function="set">tw_fm_type=File</action>
2966 <action function="set">tw_fm_isfolder=0</action>
2967 </actions>
2968 </object>
2969
2970 <object type="action">
2971 <touch key="home" />
2972 <action function="page">main</action>
2973 </object>
2974
2975 <object type="action">
2976 <touch key="back" />
2977 <action function="page">advanced</action>
2978 </object>
2979
2980 <object type="action">
2981 <condition var1="tw_filename1" op="modified" />
2982 <actions>
2983 <action function="page">filemanageroptions</action>
2984 </actions>
2985 </object>
2986
2987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002988 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2990 <font resource="font" color="%button_text_color%" />
2991 <text>Select</text>
2992 <image resource="medium_button" />
2993 <actions>
2994 <action function="set">tw_filename1=tw_file_location1</action>
2995 <action function="set">tw_fm_isfolder=1</action>
2996 <action function="set">tw_fm_type=Folder</action>
2997 <action function="page">filemanageroptions</action>
2998 </actions>
2999 </object>
3000
3001 <object type="template" name="footer" />
3002 </page>
3003
3004 <page name="filemanageroptions">
3005 <object type="template" name="header" />
3006
3007 <object type="text" color="%text_color%">
3008 <font resource="font" />
3009 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3010 <text>%tw_fm_type% Selected:</text>
3011 </object>
3012
3013 <object type="text" color="%text_color%">
3014 <font resource="font" />
3015 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3016 <text>%tw_filename1%</text>
3017 </object>
3018
3019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003020 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003021 <condition var1="tw_fm_isfolder" var2="0" />
3022 <placement x="%col1_x%" y="%row2_y%" />
3023 <font resource="font" color="%button_text_color%" />
3024 <text>Copy File</text>
3025 <image resource="main_button" />
3026 <actions>
3027 <action function="set">tw_filemanager_command=cp</action>
3028 <action function="set">tw_fm_text1=Copying</action>
3029 <action function="page">choosedestinationfolder</action>
3030 </actions>
3031 </object>
3032
3033 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003034 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003035 <condition var1="tw_fm_isfolder" var2="1" />
3036 <placement x="%col1_x%" y="%row2_y%" />
3037 <font resource="font" color="%button_text_color%" />
3038 <text>Copy Folder</text>
3039 <image resource="main_button" />
3040 <actions>
3041 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3042 <action function="set">tw_fm_text1=Copying</action>
3043 <action function="page">choosedestinationfolder</action>
3044 </actions>
3045 </object>
3046
3047 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003048 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003049 <placement x="%col2_x%" y="%row2_y%" />
3050 <font resource="font" color="%button_text_color%" />
3051 <text>Move</text>
3052 <image resource="main_button" />
3053 <actions>
3054 <action function="set">tw_filemanager_command=mv</action>
3055 <action function="set">tw_fm_text1=Moving</action>
3056 <action function="page">choosedestinationfolder</action>
3057 </actions>
3058 </object>
3059
3060 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003061 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003062 <placement x="%col1_x%" y="%row3_y%" />
3063 <font resource="font" color="%button_text_color%" />
3064 <text>chmod 755</text>
3065 <image resource="main_button" />
3066 <actions>
3067 <action function="set">tw_filemanager_command=chmod 755</action>
3068 <action function="set">tw_fm_text1=chmod 755</action>
3069 <action function="set">tw_fm_text2=</action>
3070 <action function="set">tw_fm_text3=</action>
3071 <action function="set">tw_include_text3=0</action>
3072 <action function="set">tw_back=filemanageroptions</action>
3073 <action function="page">filemanagerconfirm</action>
3074 </actions>
3075 </object>
3076
3077 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003078 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%col2_x%" y="%row3_y%" />
3080 <font resource="font" color="%button_text_color%" />
3081 <text>chmod</text>
3082 <image resource="main_button" />
3083 <actions>
3084 <action function="set">tw_filemanager_rename=0000</action>
3085 <action function="set">tw_fm_text2=</action>
3086 <action function="set">tw_fm_text3=</action>
3087 <action function="set">tw_include_text3=0</action>
3088 <action function="set">tw_back=filemanageroptions</action>
3089 <action function="page">filemanagerchmod</action>
3090 </actions>
3091 </object>
3092
3093 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003094 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <placement x="%col1_x%" y="%row4_y%" />
3096 <font resource="font" color="%button_text_color%" />
3097 <text>Delete</text>
3098 <image resource="main_button" />
3099 <actions>
3100 <action function="set">tw_filemanager_command=rm -rf</action>
3101 <action function="set">tw_fm_text1=Deleting</action>
3102 <action function="set">tw_fm_text2=</action>
3103 <action function="set">tw_fm_text3=</action>
3104 <action function="set">tw_include_text3=0</action>
3105 <action function="set">tw_back=filemanageroptions</action>
3106 <action function="page">filemanagerconfirm</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003112 <condition var1="tw_fm_isfolder" var2="0" />
3113 <placement x="%col2_x%" y="%row4_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Rename File</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_rename=tw_selection1</action>
3119 <action function="set">tw_fm_text1=Renaming</action>
3120 <action function="set">tw_filemanager_command=mv</action>
3121 <action function="page">filemanagerrenamefile</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <condition var1="tw_fm_isfolder" var2="1" />
3128 <placement x="%col2_x%" y="%row4_y%" />
3129 <font resource="font" color="%button_text_color%" />
3130 <text>Rename Folder</text>
3131 <image resource="main_button" />
3132 <actions>
3133 <action function="set">tw_filemanager_rename=tw_selection1</action>
3134 <action function="set">tw_fm_text1=Renaming</action>
3135 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3136 <action function="page">filemanagerrenamefolder</action>
3137 </actions>
3138 </object>
3139
3140 <object type="action">
3141 <touch key="home" />
3142 <action function="page">main</action>
3143 </object>
3144
3145 <object type="action">
3146 <touch key="back" />
3147 <action function="page">filemanagerlist</action>
3148 </object>
3149
3150 <object type="template" name="footer" />
3151 </page>
3152
3153 <page name="choosedestinationfolder">
3154 <object type="template" name="header" />
3155
3156 <object type="text" color="%text_color%">
3157 <font resource="font" />
3158 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3159 <text>Browse to Destination Folder & Press Select</text>
3160 </object>
3161
3162 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003163 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3165 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3166 <text>%tw_file_location2%</text>
3167 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3168 <sort name="tw_gui_sort_order" />
3169 <icon folder="folder_icon" file="file_icon" />
3170 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003171 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003172 <filter folders="1" files="0" />
3173 <path name="tw_file_location2" default="/" />
3174 <data name="tw_filename2" />
3175 <selection name="tw_selection2" />
3176 </object>
3177
3178 <object type="template" name="sort_options" />
3179
3180 <object type="action">
3181 <touch key="home" />
3182 <action function="page">main</action>
3183 </object>
3184
3185 <object type="action">
3186 <touch key="back" />
3187 <action function="page">filemanageroptions</action>
3188 </object>
3189
3190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003192 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3193 <font resource="font" color="%button_text_color%" />
3194 <text>Select</text>
3195 <image resource="medium_button" />
3196 <actions>
3197 <action function="set">tw_fm_text2=to</action>
3198 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3199 <action function="set">tw_include_text3=1</action>
3200 <action function="set">tw_back=filemanageroptions</action>
3201 <action function="page">filemanagerconfirm</action>
3202 </actions>
3203 </object>
3204
3205 <object type="template" name="footer" />
3206 </page>
3207
3208 <page name="filemanagerrenamefile">
3209 <object type="template" name="header" />
3210
3211 <object type="text" color="%text_color%">
3212 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3213 <font resource="font" />
3214 <text>Please Enter a New %tw_fm_type% Name</text>
3215 </object>
3216
3217 <object type="input">
3218 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3219 <background color="%input_background_color%" />
3220 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3221 <font resource="font" color="%text_color%" />
3222 <text>%tw_filemanager_rename%</text>
3223 <data name="tw_filemanager_rename" />
3224 <restrict minlen="1" maxlen="128" />
3225 <actions>
3226 <action function="set">tw_fm_text2=to</action>
3227 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3228 <action function="set">tw_include_text3=1</action>
3229 <action function="set">tw_back=filemanageroptions</action>
3230 <action function="page">filemanagerconfirm</action>
3231 </actions>
3232 </object>
3233
3234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <placement x="%col_center_x%" y="%row2_y%" />
3237 <font resource="font" color="%button_text_color%" />
3238 <text>Cancel</text>
3239 <image resource="main_button" />
3240 <action function="page">filemanageroptions</action>
3241 </object>
3242
3243 <object type="template" name="keyboardtemplate" />
3244
3245 <object type="action">
3246 <touch key="home" />
3247 <action function="page">main</action>
3248 </object>
3249
3250 <object type="action">
3251 <touch key="back" />
3252 <action function="page">filemanageroptions</action>
3253 </object>
3254
3255 <object type="template" name="footer" />
3256 </page>
3257
3258 <page name="filemanagerrenamefolder">
3259 <object type="template" name="header" />
3260
3261 <object type="text" color="%text_color%">
3262 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3263 <font resource="font" />
3264 <text>Please Enter a New %tw_fm_type% Name</text>
3265 </object>
3266
3267 <object type="input">
3268 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3269 <background color="%input_background_color%" />
3270 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3271 <font resource="font" color="%text_color%" />
3272 <text>%tw_filemanager_rename%</text>
3273 <data name="tw_filemanager_rename" />
3274 <restrict minlen="1" maxlen="128" />
3275 <actions>
3276 <action function="set">tw_fm_text2=to</action>
3277 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3278 <action function="set">tw_include_text3=1</action>
3279 <action function="set">tw_back=filemanageroptions</action>
3280 <action function="page">filemanagerconfirm</action>
3281 </actions>
3282 </object>
3283
3284 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003285 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003286 <placement x="%col_center_x%" y="%row2_y%" />
3287 <font resource="font" color="%button_text_color%" />
3288 <text>Cancel</text>
3289 <image resource="main_button" />
3290 <action function="page">filemanageroptions</action>
3291 </object>
3292
3293 <object type="template" name="keyboardtemplate" />
3294
3295 <object type="action">
3296 <touch key="home" />
3297 <action function="page">main</action>
3298 </object>
3299
3300 <object type="action">
3301 <touch key="back" />
3302 <action function="page">filemanageroptions</action>
3303 </object>
3304
3305 <object type="template" name="footer" />
3306 </page>
3307
3308 <page name="filemanagerchmod">
3309 <object type="template" name="header" />
3310
3311 <object type="text" color="%text_color%">
3312 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3313 <font resource="font" />
3314 <text>Please Enter New Permissions</text>
3315 </object>
3316
3317 <object type="input">
3318 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3319 <background color="%input_background_color%" />
3320 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3321 <font resource="font" color="%text_color%" />
3322 <text>%tw_filemanager_rename%</text>
3323 <data name="tw_filemanager_rename" />
3324 <restrict minlen="3" maxlen="4" allow="0123456789" />
3325 <actions>
3326 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3327 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3328 <action function="set">tw_back=filemanageroptions</action>
3329 <action function="page">filemanagerconfirm</action>
3330 </actions>
3331 </object>
3332
3333 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003334 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003335 <placement x="%col_center_x%" y="%row2_y%" />
3336 <font resource="font" color="%button_text_color%" />
3337 <text>Cancel</text>
3338 <image resource="main_button" />
3339 <action function="page">filemanageroptions</action>
3340 </object>
3341
3342 <object type="template" name="keyboardtemplate" />
3343
3344 <object type="action">
3345 <touch key="home" />
3346 <action function="page">main</action>
3347 </object>
3348
3349 <object type="action">
3350 <touch key="back" />
3351 <action function="page">filemanageroptions</action>
3352 </object>
3353
3354 <object type="template" name="footer" />
3355 </page>
3356
3357 <page name="filemanagerconfirm">
3358 <object type="template" name="header" />
3359
3360 <object type="text" color="%text_color%">
3361 <font resource="font" />
3362 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3363 <text>%tw_fm_text1%</text>
3364 </object>
3365
3366 <object type="text" color="%text_color%">
3367 <font resource="font" />
3368 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3369 <text>%tw_filename1%</text>
3370 </object>
3371
3372 <object type="text" color="%text_color%">
3373 <font resource="font" />
3374 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3375 <text>%tw_fm_text2%</text>
3376 </object>
3377
3378 <object type="text" color="%text_color%">
3379 <font resource="font" />
3380 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3381 <text>%tw_fm_text3%</text>
3382 </object>
3383
3384 <object type="text" color="%text_color%">
3385 <font resource="font" />
3386 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3387 <text>Press back button to cancel.</text>
3388 </object>
3389
3390 <object type="slider">
3391 <placement x="%slider_x%" y="%slider_y%" />
3392 <resource base="slider" used="slider-used" touch="slider-touch" />
3393 <action function="page">filemanageracction</action>
3394 </object>
3395
3396 <object type="text" color="%text_color%">
3397 <font resource="font" />
3398 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3399 <text>Swipe to Confirm</text>
3400 </object>
3401
3402 <object type="action">
3403 <touch key="back" />
3404 <action function="page">%tw_back%</action>
3405 </object>
3406
3407 <object type="action">
3408 <touch key="home" />
3409 <action function="page">main</action>
3410 </object>
3411
3412 <object type="template" name="footer" />
3413 </page>
3414
3415 <page name="filemanageracction">
3416 <object type="template" name="header" />
3417
3418 <object type="text" color="%text_color%">
3419
3420 <font resource="font" />
3421 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3422 <text>%tw_fm_text1%</text>
3423 </object>
3424
3425 <object type="template" name="action_page_console" />
3426
3427 <object type="template" name="progress_bar" />
3428
3429 <object type="action">
3430 <conditions>
3431 <condition var1="tw_operation_state" var2="1" />
3432 <condition var1="tw_operation_status" var2="0" />
3433 </conditions>
3434 <actions>
3435 <action function="set">tw_back=filemanagerlist</action>
3436 <action function="set">tw_complete_text1=File Operation Complete</action>
3437 <action function="page">action_complete</action>
3438 </actions>
3439 </object>
3440
3441 <object type="action">
3442 <conditions>
3443 <condition var1="tw_operation_state" var2="1" />
3444 <condition var1="tw_operation_status" op="!=" var2="0" />
3445 </conditions>
3446 <actions>
3447 <action function="set">tw_complete_text1=File Operation Complete</action>
3448 <action function="page">action_complete</action>
3449 </actions>
3450 </object>
3451
3452 <object type="action">
3453 <condition var1="tw_include_text3" var2="0" />
3454 <actions>
3455 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3456 </actions>
3457 </object>
3458
3459 <object type="action">
3460 <condition var1="tw_include_text3" var2="1" />
3461 <actions>
3462 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3463 </actions>
3464 </object>
3465 </page>
3466
3467 <page name="decrypt">
3468 <object type="template" name="header" />
3469
3470 <object type="text" color="%text_color%">
3471 <font resource="font" />
3472 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3473 <text>Please Enter Your Password</text>
3474 </object>
3475
3476 <object type="input">
3477 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3478 <background color="%input_background_color%" />
3479 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3480 <font resource="font" color="%text_color%" />
3481 <text>%tw_crypto_display%</text>
3482 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3483 <restrict minlen="1" maxlen="254" />
3484 <actions>
3485 <action function="page">trydecrypt</action>
3486 </actions>
3487 </object>
3488
3489 <object type="text" color="%text_fail_color%">
3490 <condition var1="tw_password_fail" var2="1" />
3491 <font resource="font" />
3492 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3493 <text>Password Failed, Please Try Again</text>
3494 </object>
3495
3496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003497 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003498 <placement x="%col_center_x%" y="%row2_y%" />
3499 <font resource="font" color="%button_text_color%" />
3500 <text>Cancel</text>
3501 <image resource="main_button" />
3502 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003503 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003504 <action function="page">main</action>
3505 </actions>
3506 </object>
3507
3508 <object type="template" name="keyboardtemplate" />
3509
Dees_Troy51a0e822012-09-05 15:24:24 -04003510 <object type="template" name="footer" />
3511 </page>
3512
3513 <page name="trydecrypt">
3514 <object type="template" name="header" />
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3519 <text>Trying Decryption with Your Password</text>
3520 </object>
3521
3522 <object type="template" name="action_page_console" />
3523
3524 <object type="template" name="progress_bar" />
3525
3526 <object type="action">
3527 <action function="decrypt"></action>
3528 </object>
3529
3530 <object type="action">
3531 <conditions>
3532 <condition var1="tw_operation_state" var2="1" />
3533 <condition var1="tw_operation_status" op="!=" var2="0" />
3534 </conditions>
3535 <actions>
3536 <action function="set">tw_password_fail=1</action>
3537 <action function="page">decrypt</action>
3538 </actions>
3539 </object>
3540
3541 <object type="action">
3542 <conditions>
3543 <condition var1="tw_operation_state" var2="1" />
3544 <condition var1="tw_operation_status" op="=" var2="0" />
3545 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003546 <actions>
3547 <action function="set">tw_page_done=1</action>
3548 <action function="page">main</action>
3549 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 </object>
3551 </page>
3552
3553 <page name="terminalfolder">
3554 <object type="template" name="header" />
3555
3556 <object type="text" color="%text_color%">
3557 <font resource="font" />
3558 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3559 <text>Browse to Starting Folder</text>
3560 </object>
3561
3562 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003563 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003564 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3565 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3566 <text>%tw_terminal_location%</text>
3567 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3568 <sort name="tw_gui_sort_order" />
3569 <icon folder="folder_icon" file="file_icon" />
3570 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003571 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003572 <filter folders="1" files="0" />
3573 <path name="tw_terminal_location" default="/" />
3574 <data name="tw_terminal" />
3575 <selection name="tw_terminal_selection" />
3576 </object>
3577
3578 <object type="template" name="sort_options" />
3579
3580 <object type="action">
3581 <touch key="home" />
3582 <action function="page">main</action>
3583 </object>
3584
3585 <object type="action">
3586 <touch key="back" />
3587 <action function="page">advanced</action>
3588 </object>
3589
3590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003592 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3593 <font resource="font" color="%button_text_color%" />
3594 <text>Select</text>
3595 <image resource="medium_button" />
3596 <actions>
3597 <action function="page">terminalcommand</action>
3598 </actions>
3599 </object>
3600
3601 <object type="template" name="footer" />
3602 </page>
3603
3604 <page name="terminalcommand">
3605 <object type="template" name="header" />
3606
3607 <object type="console">
3608 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3609 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3610 <font resource="fixed" />
3611 </object>
3612
3613 <object type="text" color="%text_color%">
3614 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3615 <font resource="font" />
3616 <text>Starting Path: %tw_terminal_location%</text>
3617 </object>
3618
3619 <object type="input">
3620 <condition var1="tw_terminal_state" var2="0" />
3621 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3622 <background color="%input_background_color%" />
3623 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3624 <font resource="font" color="%text_color%" />
3625 <text>%tw_terminal_command%</text>
3626 <data name="tw_terminal_command" />
3627 <restrict minlen="1" />
3628 <action function="terminalcommand">%tw_terminal_command%</action>
3629 </object>
3630
3631 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003632 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003633 <condition var1="tw_terminal_state" var2="1" />
3634 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3635 <font resource="font" color="%button_text_color%" />
3636 <text>KILL</text>
3637 <image resource="medium_button" />
3638 <action function="killterminal"></action>
3639 </object>
3640
3641 <object type="template" name="keyboardtemplate" />
3642
3643 <object type="action">
3644 <touch key="home" />
3645 <action function="page">main</action>
3646 </object>
3647
3648 <object type="action">
3649 <touch key="back" />
3650 <action function="page">terminalfolder</action>
3651 </object>
3652 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003653
3654 <page name="sideload">
3655 <object type="template" name="header" />
3656
3657 <object type="text" color="%text_color%">
3658 <font resource="font" />
3659 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3660 <text>ADB Sideload</text>
3661 </object>
3662
3663 <object type="checkbox">
3664 <placement x="%col1_x%" y="%row2_text_y%" />
3665 <font resource="font" color="%text_color%" />
3666 <text>Wipe Dalvik Cache.</text>
3667 <data variable="tw_wipe_dalvik" />
3668 <image checked="checkbox_true" unchecked="checkbox_false" />
3669 </object>
3670
3671 <object type="checkbox">
3672 <placement x="%col1_x%" y="%row3_text_y%" />
3673 <font resource="font" color="%text_color%" />
3674 <text>Wipe Cache.</text>
3675 <data variable="tw_wipe_cache" />
3676 <image checked="checkbox_true" unchecked="checkbox_false" />
3677 </object>
3678
3679 <object type="slider">
3680 <placement x="%slider_x%" y="%slider_y%" />
3681 <resource base="slider" used="slider-used" touch="slider-touch" />
3682 <actions>
3683 <action function="set">tw_back=advanced</action>
3684 <action function="set">tw_action=adbsideload</action>
3685 <action function="set">tw_action_text1=ADB Sideload</action>
3686 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3687 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3688 <action function="set">tw_has_cancel=1</action>
3689 <action function="set">tw_show_reboot=1</action>
3690 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3691 <action function="page">action_page</action>
3692 </actions>
3693 </object>
3694
3695 <object type="text" color="%text_color%">
3696 <font resource="font" />
3697 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3698 <text>Swipe to Start Sideload</text>
3699 </object>
3700
3701 <object type="action">
3702 <touch key="home" />
3703 <action function="page">main</action>
3704 </object>
3705
3706 <object type="action">
3707 <touch key="back" />
3708 <action function="page">advanced</action>
3709 </object>
3710
3711 <object type="template" name="footer" />
3712 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003713 </pages>
3714</recovery>