blob: b2acb237fc095a7ae0a6a0a887c42c9d91bdc433 [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" />
139 <variable name="listbox_tz_height" value="280" />
140 <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
2464 <object type="text" color="%text_color%">
2465 <font resource="font" />
2466 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2467 <text>Select Time Zone</text>
2468 </object>
2469
2470 <object type="listbox">
2471 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2472 <icon selected="radio_true" unselected="radio_false" />
2473 <background color="%listbox_background%" />
2474 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2475 <data name="tw_time_zone_guisel" />
2476 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2477 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2478 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2479 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2480 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2481 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2482 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2483 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2484 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2485 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2486 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2487 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2488 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2489 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2490 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2491 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2492 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2493 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2494 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2495 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2496 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2497 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2498 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2499 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2500 </object>
2501
2502 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002503 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <font resource="font" color="%text_color%" />
2505 <text>Do you use daylight savings time (DST)?</text>
2506 <data variable="tw_time_zone_guidst" />
2507 <image checked="checkbox_true" unchecked="checkbox_false" />
2508 </object>
2509
2510 <object type="text" color="%text_color%">
2511 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002512 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2514 </object>
2515
2516 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002517 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002518 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 <font resource="font" color="%button_text_color%" />
2520 <text>None</text>
2521 <image resource="medium_button" />
2522 <action function="set">tw_time_zone_guioffset=0</action>
2523 </object>
2524
2525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002526 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002527 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <font resource="font" color="%button_text_color%" />
2529 <text>15</text>
2530 <image resource="medium_button" />
2531 <action function="set">tw_time_zone_guioffset=15</action>
2532 </object>
2533
2534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002535 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002536 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <font resource="font" color="%button_text_color%" />
2538 <text>30</text>
2539 <image resource="medium_button" />
2540 <action function="set">tw_time_zone_guioffset=30</action>
2541 </object>
2542
2543 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002544 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002545 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002546 <font resource="font" color="%button_text_color%" />
2547 <text>45</text>
2548 <image resource="medium_button" />
2549 <action function="set">tw_time_zone_guioffset=45</action>
2550 </object>
2551
2552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002553 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002554 <placement x="%col_center_x%" y="%tz_set_y%" />
2555 <font resource="font" color="%button_text_color%" />
2556 <text>Set Time Zone</text>
2557 <image resource="main_button" />
2558 <action function="setguitimezone"></action>
2559 </object>
2560
2561 <object type="text" color="%text_color%">
2562 <font resource="font" />
2563 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2564 <text>Current Time Zone: %tw_time_zone%</text>
2565 </object>
2566
2567 <object type="action">
2568 <touch key="home" />
2569 <action function="page">main</action>
2570 </object>
2571
2572 <object type="action">
2573 <touch key="back" />
2574 <action function="page">settings</action>
2575 </object>
2576
2577 <object type="template" name="footer" />
2578 </page>
2579
2580 <page name="advanced">
2581 <object type="template" name="header" />
2582
2583 <object type="text" color="%text_color%">
2584 <font resource="font" />
2585 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2586 <text>Advanced</text>
2587 </object>
2588
2589 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002590 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <placement x="%col1_x%" y="%row1_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>Copy Log to SD</text>
2594 <image resource="main_button" />
2595 <actions>
2596 <action function="set">tw_back=advanced</action>
2597 <action function="set">tw_action=copylog</action>
2598 <action function="set">tw_text1=Copy Log to SD Card?</action>
2599 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2600 <action function="set">tw_complete_text1=Log Copy Complete</action>
2601 <action function="set">tw_slider_text=Swipe to Confirm</action>
2602 <action function="page">confirm_action</action>
2603 </actions>
2604 </object>
2605
2606 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002607 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002608 <placement x="%col2_x%" y="%row1_y%" />
2609 <font resource="font" color="%button_text_color%" />
2610 <text>Fix Permissions</text>
2611 <image resource="main_button" />
2612 <actions>
2613 <action function="set">tw_back=advanced</action>
2614 <action function="set">tw_action=fixpermissions</action>
2615 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002616 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002617 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2618 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002619 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002620 <action function="page">confirm_action</action>
2621 </actions>
2622 </object>
2623
2624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <condition var1="tw_allow_partition_sdcard" var2="1" />
2627 <placement x="%col1_x%" y="%row2_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>Partition SD Card</text>
2630 <image resource="main_button" />
2631 <action function="page">partsdcard</action>
2632 </object>
2633
2634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002636 <placement x="%col2_x%" y="%row2_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>File Manager</text>
2639 <image resource="main_button" />
2640 <action function="page">filemanagerlist</action>
2641 </object>
2642
2643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <placement x="%col1_x%" y="%row3_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>Terminal Command</text>
2648 <image resource="main_button" />
2649 <action function="page">terminalfolder</action>
2650 </object>
2651
2652 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002653 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002654 <placement x="%col2_x%" y="%row3_y%" />
2655 <font resource="font" color="%button_text_color%" />
2656 <text>Reload Theme</text>
2657 <image resource="main_button" />
2658 <action function="reload"></action>
2659 </object>
2660
2661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002662 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002663 <placement x="%col1_x%" y="%row4_y%" />
2664 <font resource="font" color="%button_text_color%" />
2665 <text>ADB Sideload</text>
2666 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002667 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002668 </object>
2669
2670 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002671 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002672 <condition var1="tw_show_dumlock" var2="1" />
2673 <placement x="%col2_x%" y="%row4_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>HTC Dumlock</text>
2676 <image resource="main_button" />
2677 <action function="page">htcdumlock</action>
2678 </object>
2679
2680 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002681 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002682 <condition var1="tw_has_injecttwrp" var2="1" />
2683 <placement x="%col2_x%" y="%row4_y%" />
2684 <font resource="font" color="%button_text_color%" />
2685 <text>Re-Inject TWRP</text>
2686 <image resource="main_button" />
2687 <actions>
2688 <action function="set">tw_back=advanced</action>
2689 <action function="set">tw_action=reinjecttwrp</action>
2690 <action function="set">tw_text1=Re-Inject TWRP?</action>
2691 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2692 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2693 <action function="set">tw_slider_text=Swipe to Confirm</action>
2694 <action function="page">confirm_action</action>
2695 </actions>
2696 </object>
2697
2698 <object type="action">
2699 <touch key="home" />
2700 <action function="page">main</action>
2701 </object>
2702
2703 <object type="action">
2704 <touch key="back" />
2705 <action function="page">main</action>
2706 </object>
2707
2708 <object type="template" name="footer" />
2709 </page>
2710
2711 <page name="partsdcard">
2712 <object type="template" name="header" />
2713
2714 <object type="text" color="%text_color%">
2715 <font resource="font" />
2716 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2717 <text>Partition SD Card</text>
2718 </object>
2719
2720 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002721 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002722 <placement x="%col1_x%" y="%row1_y%" />
2723 <font resource="font" color="%button_text_color%" />
2724 <text></text>
2725 <image resource="minus_button" />
2726 <action function="addsubtract">tw_sdext_size-128</action>
2727 </object>
2728
2729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <placement x="%sd_plus_x%" y="%row1_y%" />
2732 <font resource="font" color="%button_text_color%" />
2733 <text></text>
2734 <image resource="plus_button" />
2735 <action function="addsubtract">tw_sdext_size+128</action>
2736 </object>
2737
2738 <object type="text" color="%text_color%">
2739 <font resource="font" />
2740 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2741 <text>EXT Size: %tw_sdext_size%</text>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <placement x="%col1_x%" y="%sdswap_button_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text></text>
2749 <image resource="minus_button" />
2750 <action function="addsubtract">tw_swap_size-32</action>
2751 </object>
2752
2753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text></text>
2758 <image resource="plus_button" />
2759 <action function="addsubtract">tw_swap_size+32</action>
2760 </object>
2761
2762 <object type="text" color="%text_color%">
2763 <font resource="font" />
2764 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2765 <text>Swap Size: %tw_swap_size%</text>
2766 </object>
2767
2768 <object type="text" color="%text_color%">
2769 <font resource="font" />
2770 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2771 <text>File system: %tw_sdpart_file_system%</text>
2772 </object>
2773
2774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2777 <font resource="font" color="%button_text_color%" />
2778 <text>EXT3</text>
2779 <image resource="main_button" />
2780 <action function="set">tw_sdpart_file_system=ext3</action>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <condition var1="tw_sdext_disable_ext4" var2="0" />
2786 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>EXT4</text>
2789 <image resource="main_button" />
2790 <action function="set">tw_sdpart_file_system=ext4</action>
2791 </object>
2792
2793 <object type="text" color="%text_color%">
2794 <font resource="font" />
2795 <placement x="%col1_x%" y="%row12_text_y%" />
2796 <text>You will lose all files on your SD card!</text>
2797 </object>
2798
2799 <object type="text" color="%text_color%">
2800 <font resource="font" />
2801 <placement x="%col1_x%" y="%row13_text_y%" />
2802 <text>This action cannot be undone!</text>
2803 </object>
2804
2805 <object type="slider">
2806 <placement x="%slider_x%" y="%slider_y%" />
2807 <resource base="slider" used="slider-used" touch="slider-touch" />
2808 <action function="page">partsdcardaction</action>
2809 <actions>
2810 <action function="set">tw_back=partsdcard</action>
2811 <action function="set">tw_action=partitionsd</action>
2812 <action function="set">tw_has_action2=1</action>
2813 <action function="set">tw_action2=set</action>
2814 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2815 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2816 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002817 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <action function="page">action_page</action>
2819 </actions>
2820 </object>
2821
2822 <object type="text" color="%text_color%">
2823 <font resource="font" />
2824 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2825 <text>Swipe to Partition</text>
2826 </object>
2827
2828 <object type="action">
2829 <touch key="home" />
2830 <action function="page">main</action>
2831 </object>
2832
2833 <object type="action">
2834 <touch key="back" />
2835 <action function="page">advanced</action>
2836 </object>
2837
2838 <object type="template" name="footer" />
2839 </page>
2840
2841 <page name="htcdumlock">
2842 <object type="template" name="header" />
2843
2844 <object type="text" color="%text_color%">
2845 <font resource="font" />
2846 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2847 <text>HTC Dumlock</text>
2848 </object>
2849
2850 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002851 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002852 <condition var1="tw_show_dumlock" var2="1" />
2853 <placement x="%col1_x%" y="%row1_y%" />
2854 <font resource="font" color="%button_text_color%" />
2855 <text>Restore Original Boot</text>
2856 <image resource="main_button" />
2857 <actions>
2858 <action function="set">tw_back=htcdumlock</action>
2859 <action function="set">tw_action=htcdumlockrestoreboot</action>
2860 <action function="set">tw_text1=Restore original boot image?</action>
2861 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2862 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2863 <action function="set">tw_slider_text=Swipe to Confirm</action>
2864 <action function="page">confirm_action</action>
2865 </actions>
2866 </object>
2867
2868 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002869 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <condition var1="tw_show_dumlock" var2="1" />
2871 <placement x="%col2_x%" y="%row1_y%" />
2872 <font resource="font" color="%button_text_color%" />
2873 <text>Reflash Recovery</text>
2874 <image resource="main_button" />
2875 <actions>
2876 <action function="set">tw_back=htcdumlock</action>
2877 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2878 <action function="set">tw_text1=Reflash recovery to boot?</action>
2879 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2880 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2881 <action function="set">tw_slider_text=Swipe to Confirm</action>
2882 <action function="page">confirm_action</action>
2883 </actions>
2884 </object>
2885
2886 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002887 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002888 <condition var1="tw_show_dumlock" var2="1" />
2889 <placement x="%col1_x%" y="%row2_y%" />
2890 <font resource="font" color="%button_text_color%" />
2891 <text>Install HTC Dumlock</text>
2892 <image resource="main_button" />
2893 <actions>
2894 <action function="set">tw_back=htcdumlock</action>
2895 <action function="set">tw_action=installhtcdumlock</action>
2896 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2897 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2898 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2899 <action function="set">tw_slider_text=Swipe to Confirm</action>
2900 <action function="page">confirm_action</action>
2901 </actions>
2902 </object>
2903
2904 <object type="action">
2905 <touch key="home" />
2906 <action function="page">main</action>
2907 </object>
2908
2909 <object type="action">
2910 <touch key="back" />
2911 <action function="page">advanced</action>
2912 </object>
2913
2914 <object type="template" name="footer" />
2915 </page>
2916
2917 <page name="lock">
2918 <background color="#000000A0" />
2919
2920 <object type="image">
2921 <image resource="unlock-icon" />
2922 <placement x="%lock_x%" y="%lock_y%" />
2923 </object>
2924
2925 <object type="slider">
2926 <placement x="%slider_x%" y="%slider_y%" />
2927 <resource base="slider" used="slider-used" touch="slider-touch" />
2928 <action function="overlay"></action>
2929 </object>
2930
2931 <object type="text" color="%text_color%">
2932 <font resource="font" />
2933 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2934 <text>Swipe to Unlock</text>
2935 </object>
2936 </page>
2937
2938 <page name="filemanagerlist">
2939 <object type="template" name="header" />
2940
2941 <object type="text" color="%text_color%">
2942 <font resource="font" />
2943 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2944 <text>File Manager: Select a File or Folder</text>
2945 </object>
2946
2947 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002948 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002949 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2950 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2951 <text>%tw_file_location1%</text>
2952 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2953 <sort name="tw_gui_sort_order" />
2954 <icon folder="folder_icon" file="file_icon" />
2955 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002956 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002957 <folders="1" files="1" />
2958 <path name="tw_file_location1" default="/" />
2959 <data name="tw_filename1" />
2960 <selection name="tw_selection1" />
2961 </object>
2962
2963 <object type="template" name="sort_options" />
2964
2965 <object type="action">
2966 <actions>
2967 <action function="set">tw_fm_type=File</action>
2968 <action function="set">tw_fm_isfolder=0</action>
2969 </actions>
2970 </object>
2971
2972 <object type="action">
2973 <touch key="home" />
2974 <action function="page">main</action>
2975 </object>
2976
2977 <object type="action">
2978 <touch key="back" />
2979 <action function="page">advanced</action>
2980 </object>
2981
2982 <object type="action">
2983 <condition var1="tw_filename1" op="modified" />
2984 <actions>
2985 <action function="page">filemanageroptions</action>
2986 </actions>
2987 </object>
2988
2989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002991 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2992 <font resource="font" color="%button_text_color%" />
2993 <text>Select</text>
2994 <image resource="medium_button" />
2995 <actions>
2996 <action function="set">tw_filename1=tw_file_location1</action>
2997 <action function="set">tw_fm_isfolder=1</action>
2998 <action function="set">tw_fm_type=Folder</action>
2999 <action function="page">filemanageroptions</action>
3000 </actions>
3001 </object>
3002
3003 <object type="template" name="footer" />
3004 </page>
3005
3006 <page name="filemanageroptions">
3007 <object type="template" name="header" />
3008
3009 <object type="text" color="%text_color%">
3010 <font resource="font" />
3011 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3012 <text>%tw_fm_type% Selected:</text>
3013 </object>
3014
3015 <object type="text" color="%text_color%">
3016 <font resource="font" />
3017 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3018 <text>%tw_filename1%</text>
3019 </object>
3020
3021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003022 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <condition var1="tw_fm_isfolder" var2="0" />
3024 <placement x="%col1_x%" y="%row2_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>Copy File</text>
3027 <image resource="main_button" />
3028 <actions>
3029 <action function="set">tw_filemanager_command=cp</action>
3030 <action function="set">tw_fm_text1=Copying</action>
3031 <action function="page">choosedestinationfolder</action>
3032 </actions>
3033 </object>
3034
3035 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003036 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003037 <condition var1="tw_fm_isfolder" var2="1" />
3038 <placement x="%col1_x%" y="%row2_y%" />
3039 <font resource="font" color="%button_text_color%" />
3040 <text>Copy Folder</text>
3041 <image resource="main_button" />
3042 <actions>
3043 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3044 <action function="set">tw_fm_text1=Copying</action>
3045 <action function="page">choosedestinationfolder</action>
3046 </actions>
3047 </object>
3048
3049 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003050 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003051 <placement x="%col2_x%" y="%row2_y%" />
3052 <font resource="font" color="%button_text_color%" />
3053 <text>Move</text>
3054 <image resource="main_button" />
3055 <actions>
3056 <action function="set">tw_filemanager_command=mv</action>
3057 <action function="set">tw_fm_text1=Moving</action>
3058 <action function="page">choosedestinationfolder</action>
3059 </actions>
3060 </object>
3061
3062 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003063 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003064 <placement x="%col1_x%" y="%row3_y%" />
3065 <font resource="font" color="%button_text_color%" />
3066 <text>chmod 755</text>
3067 <image resource="main_button" />
3068 <actions>
3069 <action function="set">tw_filemanager_command=chmod 755</action>
3070 <action function="set">tw_fm_text1=chmod 755</action>
3071 <action function="set">tw_fm_text2=</action>
3072 <action function="set">tw_fm_text3=</action>
3073 <action function="set">tw_include_text3=0</action>
3074 <action function="set">tw_back=filemanageroptions</action>
3075 <action function="page">filemanagerconfirm</action>
3076 </actions>
3077 </object>
3078
3079 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003080 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003081 <placement x="%col2_x%" y="%row3_y%" />
3082 <font resource="font" color="%button_text_color%" />
3083 <text>chmod</text>
3084 <image resource="main_button" />
3085 <actions>
3086 <action function="set">tw_filemanager_rename=0000</action>
3087 <action function="set">tw_fm_text2=</action>
3088 <action function="set">tw_fm_text3=</action>
3089 <action function="set">tw_include_text3=0</action>
3090 <action function="set">tw_back=filemanageroptions</action>
3091 <action function="page">filemanagerchmod</action>
3092 </actions>
3093 </object>
3094
3095 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003096 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003097 <placement x="%col1_x%" y="%row4_y%" />
3098 <font resource="font" color="%button_text_color%" />
3099 <text>Delete</text>
3100 <image resource="main_button" />
3101 <actions>
3102 <action function="set">tw_filemanager_command=rm -rf</action>
3103 <action function="set">tw_fm_text1=Deleting</action>
3104 <action function="set">tw_fm_text2=</action>
3105 <action function="set">tw_fm_text3=</action>
3106 <action function="set">tw_include_text3=0</action>
3107 <action function="set">tw_back=filemanageroptions</action>
3108 <action function="page">filemanagerconfirm</action>
3109 </actions>
3110 </object>
3111
3112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003114 <condition var1="tw_fm_isfolder" var2="0" />
3115 <placement x="%col2_x%" y="%row4_y%" />
3116 <font resource="font" color="%button_text_color%" />
3117 <text>Rename File</text>
3118 <image resource="main_button" />
3119 <actions>
3120 <action function="set">tw_filemanager_rename=tw_selection1</action>
3121 <action function="set">tw_fm_text1=Renaming</action>
3122 <action function="set">tw_filemanager_command=mv</action>
3123 <action function="page">filemanagerrenamefile</action>
3124 </actions>
3125 </object>
3126
3127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <condition var1="tw_fm_isfolder" var2="1" />
3130 <placement x="%col2_x%" y="%row4_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>Rename Folder</text>
3133 <image resource="main_button" />
3134 <actions>
3135 <action function="set">tw_filemanager_rename=tw_selection1</action>
3136 <action function="set">tw_fm_text1=Renaming</action>
3137 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3138 <action function="page">filemanagerrenamefolder</action>
3139 </actions>
3140 </object>
3141
3142 <object type="action">
3143 <touch key="home" />
3144 <action function="page">main</action>
3145 </object>
3146
3147 <object type="action">
3148 <touch key="back" />
3149 <action function="page">filemanagerlist</action>
3150 </object>
3151
3152 <object type="template" name="footer" />
3153 </page>
3154
3155 <page name="choosedestinationfolder">
3156 <object type="template" name="header" />
3157
3158 <object type="text" color="%text_color%">
3159 <font resource="font" />
3160 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3161 <text>Browse to Destination Folder & Press Select</text>
3162 </object>
3163
3164 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003165 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003166 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3167 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3168 <text>%tw_file_location2%</text>
3169 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3170 <sort name="tw_gui_sort_order" />
3171 <icon folder="folder_icon" file="file_icon" />
3172 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003173 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003174 <filter folders="1" files="0" />
3175 <path name="tw_file_location2" default="/" />
3176 <data name="tw_filename2" />
3177 <selection name="tw_selection2" />
3178 </object>
3179
3180 <object type="template" name="sort_options" />
3181
3182 <object type="action">
3183 <touch key="home" />
3184 <action function="page">main</action>
3185 </object>
3186
3187 <object type="action">
3188 <touch key="back" />
3189 <action function="page">filemanageroptions</action>
3190 </object>
3191
3192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003193 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003194 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>Select</text>
3197 <image resource="medium_button" />
3198 <actions>
3199 <action function="set">tw_fm_text2=to</action>
3200 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3201 <action function="set">tw_include_text3=1</action>
3202 <action function="set">tw_back=filemanageroptions</action>
3203 <action function="page">filemanagerconfirm</action>
3204 </actions>
3205 </object>
3206
3207 <object type="template" name="footer" />
3208 </page>
3209
3210 <page name="filemanagerrenamefile">
3211 <object type="template" name="header" />
3212
3213 <object type="text" color="%text_color%">
3214 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3215 <font resource="font" />
3216 <text>Please Enter a New %tw_fm_type% Name</text>
3217 </object>
3218
3219 <object type="input">
3220 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3221 <background color="%input_background_color%" />
3222 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3223 <font resource="font" color="%text_color%" />
3224 <text>%tw_filemanager_rename%</text>
3225 <data name="tw_filemanager_rename" />
3226 <restrict minlen="1" maxlen="128" />
3227 <actions>
3228 <action function="set">tw_fm_text2=to</action>
3229 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3230 <action function="set">tw_include_text3=1</action>
3231 <action function="set">tw_back=filemanageroptions</action>
3232 <action function="page">filemanagerconfirm</action>
3233 </actions>
3234 </object>
3235
3236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003238 <placement x="%col_center_x%" y="%row2_y%" />
3239 <font resource="font" color="%button_text_color%" />
3240 <text>Cancel</text>
3241 <image resource="main_button" />
3242 <action function="page">filemanageroptions</action>
3243 </object>
3244
3245 <object type="template" name="keyboardtemplate" />
3246
3247 <object type="action">
3248 <touch key="home" />
3249 <action function="page">main</action>
3250 </object>
3251
3252 <object type="action">
3253 <touch key="back" />
3254 <action function="page">filemanageroptions</action>
3255 </object>
3256
3257 <object type="template" name="footer" />
3258 </page>
3259
3260 <page name="filemanagerrenamefolder">
3261 <object type="template" name="header" />
3262
3263 <object type="text" color="%text_color%">
3264 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3265 <font resource="font" />
3266 <text>Please Enter a New %tw_fm_type% Name</text>
3267 </object>
3268
3269 <object type="input">
3270 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3271 <background color="%input_background_color%" />
3272 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3273 <font resource="font" color="%text_color%" />
3274 <text>%tw_filemanager_rename%</text>
3275 <data name="tw_filemanager_rename" />
3276 <restrict minlen="1" maxlen="128" />
3277 <actions>
3278 <action function="set">tw_fm_text2=to</action>
3279 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3280 <action function="set">tw_include_text3=1</action>
3281 <action function="set">tw_back=filemanageroptions</action>
3282 <action function="page">filemanagerconfirm</action>
3283 </actions>
3284 </object>
3285
3286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <placement x="%col_center_x%" y="%row2_y%" />
3289 <font resource="font" color="%button_text_color%" />
3290 <text>Cancel</text>
3291 <image resource="main_button" />
3292 <action function="page">filemanageroptions</action>
3293 </object>
3294
3295 <object type="template" name="keyboardtemplate" />
3296
3297 <object type="action">
3298 <touch key="home" />
3299 <action function="page">main</action>
3300 </object>
3301
3302 <object type="action">
3303 <touch key="back" />
3304 <action function="page">filemanageroptions</action>
3305 </object>
3306
3307 <object type="template" name="footer" />
3308 </page>
3309
3310 <page name="filemanagerchmod">
3311 <object type="template" name="header" />
3312
3313 <object type="text" color="%text_color%">
3314 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3315 <font resource="font" />
3316 <text>Please Enter New Permissions</text>
3317 </object>
3318
3319 <object type="input">
3320 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3321 <background color="%input_background_color%" />
3322 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3323 <font resource="font" color="%text_color%" />
3324 <text>%tw_filemanager_rename%</text>
3325 <data name="tw_filemanager_rename" />
3326 <restrict minlen="3" maxlen="4" allow="0123456789" />
3327 <actions>
3328 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3329 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3330 <action function="set">tw_back=filemanageroptions</action>
3331 <action function="page">filemanagerconfirm</action>
3332 </actions>
3333 </object>
3334
3335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <placement x="%col_center_x%" y="%row2_y%" />
3338 <font resource="font" color="%button_text_color%" />
3339 <text>Cancel</text>
3340 <image resource="main_button" />
3341 <action function="page">filemanageroptions</action>
3342 </object>
3343
3344 <object type="template" name="keyboardtemplate" />
3345
3346 <object type="action">
3347 <touch key="home" />
3348 <action function="page">main</action>
3349 </object>
3350
3351 <object type="action">
3352 <touch key="back" />
3353 <action function="page">filemanageroptions</action>
3354 </object>
3355
3356 <object type="template" name="footer" />
3357 </page>
3358
3359 <page name="filemanagerconfirm">
3360 <object type="template" name="header" />
3361
3362 <object type="text" color="%text_color%">
3363 <font resource="font" />
3364 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3365 <text>%tw_fm_text1%</text>
3366 </object>
3367
3368 <object type="text" color="%text_color%">
3369 <font resource="font" />
3370 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3371 <text>%tw_filename1%</text>
3372 </object>
3373
3374 <object type="text" color="%text_color%">
3375 <font resource="font" />
3376 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3377 <text>%tw_fm_text2%</text>
3378 </object>
3379
3380 <object type="text" color="%text_color%">
3381 <font resource="font" />
3382 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3383 <text>%tw_fm_text3%</text>
3384 </object>
3385
3386 <object type="text" color="%text_color%">
3387 <font resource="font" />
3388 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3389 <text>Press back button to cancel.</text>
3390 </object>
3391
3392 <object type="slider">
3393 <placement x="%slider_x%" y="%slider_y%" />
3394 <resource base="slider" used="slider-used" touch="slider-touch" />
3395 <action function="page">filemanageracction</action>
3396 </object>
3397
3398 <object type="text" color="%text_color%">
3399 <font resource="font" />
3400 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3401 <text>Swipe to Confirm</text>
3402 </object>
3403
3404 <object type="action">
3405 <touch key="back" />
3406 <action function="page">%tw_back%</action>
3407 </object>
3408
3409 <object type="action">
3410 <touch key="home" />
3411 <action function="page">main</action>
3412 </object>
3413
3414 <object type="template" name="footer" />
3415 </page>
3416
3417 <page name="filemanageracction">
3418 <object type="template" name="header" />
3419
3420 <object type="text" color="%text_color%">
3421
3422 <font resource="font" />
3423 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3424 <text>%tw_fm_text1%</text>
3425 </object>
3426
3427 <object type="template" name="action_page_console" />
3428
3429 <object type="template" name="progress_bar" />
3430
3431 <object type="action">
3432 <conditions>
3433 <condition var1="tw_operation_state" var2="1" />
3434 <condition var1="tw_operation_status" var2="0" />
3435 </conditions>
3436 <actions>
3437 <action function="set">tw_back=filemanagerlist</action>
3438 <action function="set">tw_complete_text1=File Operation Complete</action>
3439 <action function="page">action_complete</action>
3440 </actions>
3441 </object>
3442
3443 <object type="action">
3444 <conditions>
3445 <condition var1="tw_operation_state" var2="1" />
3446 <condition var1="tw_operation_status" op="!=" var2="0" />
3447 </conditions>
3448 <actions>
3449 <action function="set">tw_complete_text1=File Operation Complete</action>
3450 <action function="page">action_complete</action>
3451 </actions>
3452 </object>
3453
3454 <object type="action">
3455 <condition var1="tw_include_text3" var2="0" />
3456 <actions>
3457 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3458 </actions>
3459 </object>
3460
3461 <object type="action">
3462 <condition var1="tw_include_text3" var2="1" />
3463 <actions>
3464 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3465 </actions>
3466 </object>
3467 </page>
3468
3469 <page name="decrypt">
3470 <object type="template" name="header" />
3471
3472 <object type="text" color="%text_color%">
3473 <font resource="font" />
3474 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3475 <text>Please Enter Your Password</text>
3476 </object>
3477
3478 <object type="input">
3479 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3480 <background color="%input_background_color%" />
3481 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3482 <font resource="font" color="%text_color%" />
3483 <text>%tw_crypto_display%</text>
3484 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3485 <restrict minlen="1" maxlen="254" />
3486 <actions>
3487 <action function="page">trydecrypt</action>
3488 </actions>
3489 </object>
3490
3491 <object type="text" color="%text_fail_color%">
3492 <condition var1="tw_password_fail" var2="1" />
3493 <font resource="font" />
3494 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3495 <text>Password Failed, Please Try Again</text>
3496 </object>
3497
3498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003499 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003500 <placement x="%col_center_x%" y="%row2_y%" />
3501 <font resource="font" color="%button_text_color%" />
3502 <text>Cancel</text>
3503 <image resource="main_button" />
3504 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003505 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003506 <action function="page">main</action>
3507 </actions>
3508 </object>
3509
3510 <object type="template" name="keyboardtemplate" />
3511
Dees_Troy51a0e822012-09-05 15:24:24 -04003512 <object type="template" name="footer" />
3513 </page>
3514
3515 <page name="trydecrypt">
3516 <object type="template" name="header" />
3517
3518 <object type="text" color="%text_color%">
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3521 <text>Trying Decryption with Your Password</text>
3522 </object>
3523
3524 <object type="template" name="action_page_console" />
3525
3526 <object type="template" name="progress_bar" />
3527
3528 <object type="action">
3529 <action function="decrypt"></action>
3530 </object>
3531
3532 <object type="action">
3533 <conditions>
3534 <condition var1="tw_operation_state" var2="1" />
3535 <condition var1="tw_operation_status" op="!=" var2="0" />
3536 </conditions>
3537 <actions>
3538 <action function="set">tw_password_fail=1</action>
3539 <action function="page">decrypt</action>
3540 </actions>
3541 </object>
3542
3543 <object type="action">
3544 <conditions>
3545 <condition var1="tw_operation_state" var2="1" />
3546 <condition var1="tw_operation_status" op="=" var2="0" />
3547 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003548 <actions>
3549 <action function="set">tw_page_done=1</action>
3550 <action function="page">main</action>
3551 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003552 </object>
3553 </page>
3554
3555 <page name="terminalfolder">
3556 <object type="template" name="header" />
3557
3558 <object type="text" color="%text_color%">
3559 <font resource="font" />
3560 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3561 <text>Browse to Starting Folder</text>
3562 </object>
3563
3564 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003565 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003566 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3567 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3568 <text>%tw_terminal_location%</text>
3569 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3570 <sort name="tw_gui_sort_order" />
3571 <icon folder="folder_icon" file="file_icon" />
3572 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003573 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003574 <filter folders="1" files="0" />
3575 <path name="tw_terminal_location" default="/" />
3576 <data name="tw_terminal" />
3577 <selection name="tw_terminal_selection" />
3578 </object>
3579
3580 <object type="template" name="sort_options" />
3581
3582 <object type="action">
3583 <touch key="home" />
3584 <action function="page">main</action>
3585 </object>
3586
3587 <object type="action">
3588 <touch key="back" />
3589 <action function="page">advanced</action>
3590 </object>
3591
3592 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003593 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003594 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3595 <font resource="font" color="%button_text_color%" />
3596 <text>Select</text>
3597 <image resource="medium_button" />
3598 <actions>
3599 <action function="page">terminalcommand</action>
3600 </actions>
3601 </object>
3602
3603 <object type="template" name="footer" />
3604 </page>
3605
3606 <page name="terminalcommand">
3607 <object type="template" name="header" />
3608
3609 <object type="console">
3610 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3611 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3612 <font resource="fixed" />
3613 </object>
3614
3615 <object type="text" color="%text_color%">
3616 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3617 <font resource="font" />
3618 <text>Starting Path: %tw_terminal_location%</text>
3619 </object>
3620
3621 <object type="input">
3622 <condition var1="tw_terminal_state" var2="0" />
3623 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3624 <background color="%input_background_color%" />
3625 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3626 <font resource="font" color="%text_color%" />
3627 <text>%tw_terminal_command%</text>
3628 <data name="tw_terminal_command" />
3629 <restrict minlen="1" />
3630 <action function="terminalcommand">%tw_terminal_command%</action>
3631 </object>
3632
3633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003635 <condition var1="tw_terminal_state" var2="1" />
3636 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3637 <font resource="font" color="%button_text_color%" />
3638 <text>KILL</text>
3639 <image resource="medium_button" />
3640 <action function="killterminal"></action>
3641 </object>
3642
3643 <object type="template" name="keyboardtemplate" />
3644
3645 <object type="action">
3646 <touch key="home" />
3647 <action function="page">main</action>
3648 </object>
3649
3650 <object type="action">
3651 <touch key="back" />
3652 <action function="page">terminalfolder</action>
3653 </object>
3654 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003655
3656 <page name="sideload">
3657 <object type="template" name="header" />
3658
3659 <object type="text" color="%text_color%">
3660 <font resource="font" />
3661 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3662 <text>ADB Sideload</text>
3663 </object>
3664
3665 <object type="checkbox">
3666 <placement x="%col1_x%" y="%row2_text_y%" />
3667 <font resource="font" color="%text_color%" />
3668 <text>Wipe Dalvik Cache.</text>
3669 <data variable="tw_wipe_dalvik" />
3670 <image checked="checkbox_true" unchecked="checkbox_false" />
3671 </object>
3672
3673 <object type="checkbox">
3674 <placement x="%col1_x%" y="%row3_text_y%" />
3675 <font resource="font" color="%text_color%" />
3676 <text>Wipe Cache.</text>
3677 <data variable="tw_wipe_cache" />
3678 <image checked="checkbox_true" unchecked="checkbox_false" />
3679 </object>
3680
3681 <object type="slider">
3682 <placement x="%slider_x%" y="%slider_y%" />
3683 <resource base="slider" used="slider-used" touch="slider-touch" />
3684 <actions>
3685 <action function="set">tw_back=advanced</action>
3686 <action function="set">tw_action=adbsideload</action>
3687 <action function="set">tw_action_text1=ADB Sideload</action>
3688 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3689 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3690 <action function="set">tw_has_cancel=1</action>
3691 <action function="set">tw_show_reboot=1</action>
3692 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3693 <action function="page">action_page</action>
3694 </actions>
3695 </object>
3696
3697 <object type="text" color="%text_color%">
3698 <font resource="font" />
3699 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3700 <text>Swipe to Start Sideload</text>
3701 </object>
3702
3703 <object type="action">
3704 <touch key="home" />
3705 <action function="page">main</action>
3706 </object>
3707
3708 <object type="action">
3709 <touch key="back" />
3710 <action function="page">advanced</action>
3711 </object>
3712
3713 <object type="template" name="footer" />
3714 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003715 </pages>
3716</recovery>