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