blob: bc8209270d44a0a3979018a0b03d2c41dd6a178b [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
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-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
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="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="383" />
48 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1226" />
106 <variable name="back_button_x" value="625" />
107 <variable name="back_button_y" value="1226" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1090" />
110 <variable name="sort_asc_button_y" value="1080" />
111 <variable name="sort_desc_text_y" value="1150" />
112 <variable name="sort_desc_button_y" value="1140" />
113 <variable name="sort_col1_button_x" value="260" />
114 <variable name="sort_col2_button_x" value="360" />
115 <variable name="sort_col3_button_x" value="460" />
116 <variable name="input_width" value="700" />
117 <variable name="input_height" value="50" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="3" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="720" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="710" />
131 <variable name="fileselector_install_height" value="840" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
139 <variable name="fileselector_spacing" value="36" />
140 <variable name="listbox_x" value="5" />
141 <variable name="listbox_width" value="710" />
142 <variable name="listbox_tz_height" value="540" />
143 <variable name="listbox_background" value="#303030" />
144 <variable name="listbox_spacing" value="16" />
145 <variable name="sd_plus_x" value="350" />
146 <variable name="sdext_text_x" value="110" />
147 <variable name="sdext_text_y" value="180" />
148 <variable name="sdswap_button_y" value="260" />
149 <variable name="sdswap_text_x" value="110" />
150 <variable name="sdswap_text_y" value="270" />
151 <variable name="sdfilesystem_text_y" value="340" />
152 <variable name="sdfilesystem_button_y" value="380" />
153 <variable name="lock_x" value="160" />
154 <variable name="lock_y" value="400" />
155 <variable name="filemanager_select_x" value="560" />
156 <variable name="filemanager_select_y" value="1080" />
157 <variable name="backup_name_y" value="550" />
158 <variable name="terminal_console_height" value="700" />
159 <variable name="terminal_text_y" value="730" />
160 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400161 <variable name="row_dst_text_y" value="720" />
162 <variable name="row_offset_text_y" value="770" />
163 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400164 <variable name="exclamation_x" value="160" />
165 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400166 </variables>
167
168 <templates>
169 <template name="header">
170 <background color="#000000FF" />
171
172 <object type="image">
173 <image resource="top_bar" />
174 <placement x="0" y="0" />
175 </object>
176
177 <object type="text" color="%text_color%">
178 <font resource="font" />
179 <placement x="120" y="10" />
180 <text>Team Win Recovery Project v%tw_version%</text>
181 </object>
182
183 <object type="text" color="%text_color%">
184 <condition var1="tw_simulate_actions" var2="1" />
185 <font resource="font" />
186 <placement x="120" y="45" />
187 <text>SIMULATING ACTIONS</text>
188 </object>
189
190 <object type="text" color="%text_color%">
191 <font resource="font" />
192 <placement x="120" y="76" />
193 <text>%tw_time%</text>
194 </object>
195
196 <object type="text" color="%text_color%">
197 <font resource="font" />
198 <placement x="270" y="76" />
199 <conditions>
200 <condition var1="tw_no_battery_percent" var2="0" />
201 <condition var1="tw_battery" op=">" var2="0" />
202 <condition var1="tw_battery" op="<" var2="101" />
203 </conditions>
204 <text>Battery: %tw_battery%</text>
205 </object>
206
207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400209 <placement x="%home_button_x%" y="%home_button_y%" />
210 <font resource="font" color="%button_text_color%" />
211 <text></text>
212 <image resource="home_icon" />
213 <condition var1="tw_busy" var2="0" />
214 <action function="key">home</action>
215 </object>
216
217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400219 <placement x="%back_button_x%" y="%back_button_y%" />
220 <font resource="font" color="%button_text_color%" />
221 <text></text>
222 <image resource="back_icon" />
223 <condition var1="tw_busy" var2="0" />
224 <action function="key">back</action>
225 </object>
226
227 <object type="action">
228 <touch key="power" />
229 <action function="overlay">lock</action>
230 </object>
231 </template>
232
233 <template name="progress_bar">
234 <object type="progressbar">
235 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
236 <resource empty="progress_empty" full="progress_full" />
237 <data name="ui_progress" />
238 </object>
239
240 <object type="animation">
241 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
242 <resource name="progress" />
243 <speed fps="15" render="2" />
244 <loop frame="1" />
245 </object>
246 </template>
247
248 <template name="sort_options">
249 <object type="text" color="%text_color%">
250 <font resource="font" />
251 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
252 <text>Sort Ascending:</text>
253 </object>
254
255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400257 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text>Name</text>
260 <image resource="sort_button" />
261 <action function="set">tw_gui_sort_order=1</action>
262 </object>
263
264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400266 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
267 <font resource="font" 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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400275 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
276 <font resource="font" color="%button_text_color%" />
277 <text>Size</text>
278 <image resource="sort_button" />
279 <action function="set">tw_gui_sort_order=3</action>
280 </object>
281
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
285 <text>Sort Descending:</text>
286 </object>
287
288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400290 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
291 <font resource="font" color="%button_text_color%" />
292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=-1</action>
295 </object>
296
297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400299 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
300 <font resource="font" color="%button_text_color%" />
301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=-2</action>
304 </object>
305
306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400308 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
309 <font resource="font" color="%button_text_color%" />
310 <text>Size</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=-3</action>
313 </object>
314 </template>
315
316 <template name="action_page_console">
317 <object type="console">
318 <placement x="0" y="%row2_y%" w="720" h="470" />
319 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
320 <font resource="fixed" />
321 </object>
322 </template>
323
324 <template name="footer">
325 <object type="console">
326 <slideout resource="slideout" x="325" y="1220" />
327 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
328 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
329 <font resource="fixed" />
330 </object>
331 </template>
332
333 <template name="keyboardtemplate">
334 <object type="keyboard">
335 <placement x="0" y="800" />
336 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400338 <layout1>
339 <keysize height="106" width="72" />
340 <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" />
341 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
342 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
343 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
344 </layout1>
345 <layout2>
346 <keysize height="106" width="72" />
347 <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" />
348 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
349 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
350 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
351 </layout2>
352 <layout3>
353 <keysize height="106" width="72" />
354 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
355 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
356 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
357 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
358 </layout3>
359 <layout4>
360 <keysize height="106" width="72" />
361 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
362 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
363 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
364 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
365 </layout4>
366 </object>
367 </template>
368 </templates>
369
370 <pages>
371 <page name="main">
372 <object type="action">
373 <actions>
374 <action function="set">tw_clear_destination=main2</action>
375 <action function="page">clear_vars</action>
376 </actions>
377 </object>
378 </page>
379
380 <page name="main2">
381 <object type="template" name="header" />
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="%col1_x%" y="%row1_y%" />
386 <font resource="font" color="%button_text_color%" />
387 <text>Install</text>
388 <image resource="main_button" />
389 <actions>
390 <action function="queueclear"></action>
391 <action function="page">install</action>
392 </actions>
393 </object>
394
395 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600396 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400397 <placement x="%col2_x%" y="%row1_y%" />
398 <font resource="font" color="%button_text_color%" />
399 <text>Wipe</text>
400 <image resource="main_button" />
401 <action function="page">wipe</action>
402 </object>
403
404 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600405 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400406 <placement x="%col1_x%" y="%row2_y%" />
407 <font resource="font" color="%button_text_color%" />
408 <text>Backup</text>
409 <image resource="main_button" />
410 <action function="page">backup</action>
411 </object>
412
413 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600414 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400415 <placement x="%col2_x%" y="%row2_y%" />
416 <font resource="font" color="%button_text_color%" />
417 <text>Restore</text>
418 <image resource="main_button" />
419 <action function="page">restore</action>
420 </object>
421
422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400424 <placement x="%col1_x%" y="%row3_y%" />
425 <font resource="font" color="%button_text_color%" />
426 <text>Mount</text>
427 <image resource="main_button" />
428 <action function="page">mount</action>
429 </object>
430
431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col2_x%" y="%row3_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Settings</text>
436 <image resource="main_button" />
437 <action function="page">settings</action>
438 </object>
439
440
441 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600442 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400443 <placement x="%col1_x%" y="%row4_y%" />
444 <font resource="font" color="%button_text_color%" />
445 <text>Advanced</text>
446 <image resource="main_button" />
447 <action function="page">advanced</action>
448 </object>
449
450 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600451 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400452 <placement x="%col2_x%" y="%row4_y%" />
453 <font resource="font" color="%button_text_color%" />
454 <text>Reboot</text>
455 <image resource="main_button" />
456 <action function="page">reboot</action>
457 </object>
458
459 <object type="template" name="footer" />
460 </page>
461
462 <page name="install">
463 <object type="template" name="header" />
464
465 <object type="text" color="%text_color%">
466 <font resource="font" />
467 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
468 <text>Select Zip to Install</text>
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="1" />
477 </conditions>
478 <text>Use external SD</text>
479 <image resource="radio_true" />
480 <action function="togglestorage">external</action>
481 </object>
482
483 <object type="button">
484 <placement x="%col1_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="0" />
489 </conditions>
490 <text>Use external SD</text>
491 <image resource="radio_false" />
492 <action function="togglestorage">external</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="1" />
501 </conditions>
502 <text>Use internal storage</text>
503 <image resource="radio_false" />
504 <action function="togglestorage">internal</action>
505 </object>
506
507 <object type="button">
508 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400509 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400510 <conditions>
511 <condition var1="tw_has_dual_storage" var2="1" />
512 <condition var1="tw_use_external_storage" var2="0" />
513 </conditions>
514 <text>Use internal storage</text>
515 <image resource="radio_true" />
516 <action function="togglestorage">internal</action>
517 </object>
518
519 <object type="fileselector">
520 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
521 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
522 <text>%tw_zip_location%</text>
523 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
524 <sort name="tw_gui_sort_order" />
525 <icon folder="folder_icon" file="file_icon" />
526 <background color="%fileselector_background%" />
527 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
528 <filter extn=".zip" folders="1" files="1" />
529 <path name="tw_zip_location" default="/sdcard" />
530 <data name="tw_filename" />
531 <selection name="tw_file" />
532 </object>
533
534 <object type="template" name="sort_options" />
535
536 <object type="action">
537 <condition var1="tw_filename" op="modified" />
538 <actions>
539 <action function="queuezip"></action>
540 <action function="page">flash_confirm</action>
541 </actions>
542 </object>
543
544 <object type="action">
545 <touch key="back" />
546 <action function="page">main</action>
547 </object>
548
549 <object type="action">
550 <touch key="home" />
551 <action function="page">main</action>
552 </object>
553
554 <object type="template" name="footer" />
555 </page>
556
557 <page name="flash_confirm">
558 <object type="template" name="header" />
559
560 <object type="text" color="%text_color%">
561 <font resource="font" />
562 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
563 <text>This operation may install incompatible</text>
564 </object>
565
566 <object type="text" color="%text_color%">
567 <font resource="font" />
568 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
569 <text>software and render your device unusable.</text>
570 </object>
571
572 <object type="text" color="%text_color%">
573 <font resource="font" />
574 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
575 <text>Folder:</text>
576 </object>
577
578 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400579 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400580 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
581 <text>%tw_zip_location%</text>
582 </object>
583
584 <object type="text" color="%text_color%">
585 <font resource="font" />
586 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
587 <text>File to flash:</text>
588 </object>
589
590 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400591 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400592 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
593 <text>%tw_file%</text>
594 </object>
595
596 <object type="text" color="%text_color%">
597 <font resource="font" />
598 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
599 <text>Press back to cancel adding this zip.</text>
600 </object>
601
602 <object type="checkbox">
603 <placement x="%col1_x%" y="%row8_text_y%" />
604 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400605 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400606 <data variable="tw_signed_zip_verify" />
607 <image checked="checkbox_true" unchecked="checkbox_false" />
608 </object>
609
610 <object type="checkbox">
611 <placement x="%col1_x%" y="%row9_text_y%" />
612 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <data variable="tw_force_md5_check" />
615 <image checked="checkbox_true" unchecked="checkbox_false" />
616 </object>
617
618 <object type="checkbox">
619 <condition var1="tw_has_injecttwrp" var2="1" />
620 <placement x="%col1_x%" y="%row10_text_y%" />
621 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400622 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400623 <data variable="tw_inject_after_zip" />
624 <image checked="checkbox_true" unchecked="checkbox_false" />
625 </object>
626
627 <object type="text" color="%text_color%">
628 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400629 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <text>File %tw_zip_queue_count% of max of 10</text>
631 </object>
632
633 <object type="slider">
634 <placement x="%slider_x%" y="%slider_y%" placement="5" />
635 <resource base="slider" used="slider-used" touch="slider-touch" />
636 <action function="flash">flash_zip</action>
637 </object>
638
639 <object type="text" color="%text_color%">
640 <font resource="font" />
641 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
642 <text>Swipe to Confirm Flash</text>
643 </object>
644
645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
648 <placement x="%col1_x%" y="%row_queue_y%" />
649 <font resource="font" color="%button_text_color%" />
650 <text>Add More Zips</text>
651 <image resource="main_button" />
652 <action function="page">install</action>
653 </object>
654
655 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600656 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400657 <placement x="%col2_x%" y="%row_queue_y%" />
658 <font resource="font" color="%button_text_color%" />
659 <text>Clear Zip Queue</text>
660 <image resource="main_button" />
661 <actions>
662 <action function="queueclear"></action>
663 <action function="page">install</action>
664 </actions>
665 </object>
666
667 <object type="action">
668 <touch key="back" />
669 <actions>
670 <action function="cancelzip"></action>
671 <action function="page">install</action>
672 </actions>
673 </object>
674
675 <object type="action">
676 <touch key="home" />
677 <action function="page">main</action>
678 </object>
679
680 <object type="template" name="footer" />
681 </page>
682
683 <page name="flash_zip">
684 <object type="template" name="header" />
685
686 <object type="console">
687 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
688 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
689 <font resource="fixed" />
690 </object>
691
692 <object type="text" color="%text_color%">
693 <font resource="font" />
694 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
695 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
696 </object>
697
698 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400699 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400700 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
701 <text>%tw_filename%</text>
702 </object>
703
704 <object type="template" name="progress_bar" />
705
706 <object type="action">
707 <condition var1="tw_operation_state" var2="1" />
708 <action function="page">flash_done</action>
709 </object>
710 </page>
711
712 <page name="flash_done">
713 <object type="template" name="header" />
714
715 <object type="text" color="%text_color%">
716 <font resource="font" />
717 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
718 <text>Zip Install Complete</text>
719 </object>
720
721 <object type="console">
722 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
723 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
724 <font resource="fixed" />
725 </object>
726
727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400729 <placement x="%col1_x%" y="%row4_y%" />
730 <font resource="font" color="%button_text_color%" />
731 <text>Wipe cache/dalvik</text>
732 <image resource="main_button" />
733 <actions>
734 <action function="set">tw_back=flash_done</action>
735 <action function="set">tw_action=wipe</action>
736 <action function="set">tw_action_param=/cache</action>
737 <action function="set">tw_has_action2=1</action>
738 <action function="set">tw_action2=wipe</action>
739 <action function="set">tw_action2_param=dalvik</action>
740 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
741 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
742 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
743 <action function="set">tw_slider_text=Swipe to Wipe</action>
744 <action function="page">confirm_action</action>
745 </actions>
746 </object>
747
748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400750 <placement x="%col2_x%" y="%row4_y%" />
751 <font resource="font" color="%button_text_color%" />
752 <text>Reboot System</text>
753 <image resource="main_button" />
754 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400755 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <action function="set">tw_action=reboot</action>
757 <action function="set">tw_action_param=system</action>
758 <action function="set">tw_has_action2=0</action>
759 <action function="set">tw_text1=No OS Installed! Are you</action>
760 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400761 <action function="set">tw_text3=</action>
762 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400764 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400765 <action function="set">tw_complete_text1=Rebooting...</action>
766 <action function="set">tw_slider_text=Swipe to Reboot</action>
767 <action function="page">rebootcheck</action>
768 </actions>
769 </object>
770
771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400773 <placement x="%col_center_x%" y="%row3_y%" />
774 <font resource="font" color="%button_text_color%" />
775 <text>Home</text>
776 <image resource="main_button" />
777 <actions>
778 <action function="set">tw_clear_destination=main2</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782
783 <object type="text" color="%text_fail_color%">
784 <condition var1="tw_operation_status" op="!=" var2="0" />
785 <font resource="font" />
786 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
787 <text>Failed</text>
788 </object>
789
790 <object type="text" color="%text_success_color%">
791 <condition var1="tw_operation_status" var2="0" />
792 <font resource="font" />
793 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
794 <text>Successful</text>
795 </object>
796
797 <object type="action">
798 <touch key="back" />
799 <actions>
800 <action function="set">tw_clear_destination=install</action>
801 <action function="page">clear_vars</action>
802 </actions>
803 </object>
804
805 <object type="action">
806 <touch key="home" />
807 <actions>
808 <action function="set">tw_clear_destination=main2</action>
809 <action function="page">clear_vars</action>
810 </actions>
811 </object>
812 </page>
813
814 <page name="clear_vars">
815 <object type="action">
816 <action function="set">tw_operation_state=0</action>
817 <action function="set">tw_text1=</action>
818 <action function="set">tw_text2=</action>
819 <action function="set">tw_text3=</action>
820 <action function="set">tw_text4=</action>
821 <action function="set">tw_action_text1=</action>
822 <action function="set">tw_action_text2=</action>
823 <action function="set">tw_action_param=</action>
824 <action function="set">tw_has_action2=0</action>
825 <action function="set">tw_action2=</action>
826 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400827 <action function="set">tw_has_cancel=0</action>
828 <action function="set">tw_cancel_action=</action>
829 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400830 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400831 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400832 <action function="page">%tw_clear_destination%</action>
833 </object>
834 </page>
835
836 <page name="confirm_action">
837 <object type="template" name="header" />
838
Dees_Troye588d252012-10-08 10:28:52 -0400839 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600840 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400841 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400842 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400843 <font resource="font" color="%button_text_color%" />
844 <text></text>
845 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400846 </object>
847
Dees_Troy51a0e822012-09-05 15:24:24 -0400848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
851 <text>%tw_text1%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
857 <text>%tw_text2%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
863 <text>%tw_text3%</text>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
869 <text>%tw_text4%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400874 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400875 <text>Press back button to cancel.</text>
876 </object>
877
878 <object type="slider">
879 <placement x="%slider_x%" y="%slider_y%" />
880 <resource base="slider" used="slider-used" touch="slider-touch" />
881 <action function="page">action_page</action>
882 </object>
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
887 <text>%tw_slider_text%</text>
888 </object>
889
890 <object type="action">
891 <touch key="back" />
892 <actions>
893 <action function="set">tw_clear_destination=%tw_back%</action>
894 <action function="page">clear_vars</action>
895 </actions>
896 </object>
897
898 <object type="action">
899 <touch key="home" />
900 <action function="page">main</action>
901 </object>
902
903 <object type="template" name="footer" />
904 </page>
905
906 <page name="action_page">
907 <object type="template" name="header" />
908
909 <object type="text" color="%text_color%">
910 <font resource="font" />
911 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
912 <text>%tw_action_text1%</text>
913 </object>
914
915 <object type="text" color="%text_color%">
916 <font resource="font" />
917 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
918 <text>%tw_action_text2%</text>
919 </object>
920
921 <object type="template" name="action_page_console" />
922
Dees_Troybbb21012012-09-20 15:59:46 -0400923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600924 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400925 <condition var1="tw_has_cancel" var2="1" />
926 <placement x="%col_center_medium_x%" y="%row4_y%" />
927 <font resource="font" color="%button_text_color%" />
928 <text>Cancel</text>
929 <image resource="medium_button" />
930 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
931 </object>
932
Dees_Troy51a0e822012-09-05 15:24:24 -0400933 <object type="template" name="progress_bar" />
934
935 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400936 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400937 <actions>
938 <action function="page">action_complete</action>
939 </actions>
940 </object>
941
942 <object type="action">
943 <condition var1="tw_has_action2" var2="0" />
944 <actions>
945 <action function="%tw_action%">%tw_action_param%</action>
946 </actions>
947 </object>
948
949 <object type="action">
950 <condition var1="tw_has_action2" var2="1" />
951 <actions>
952 <action function="%tw_action%">%tw_action_param%</action>
953 <action function="%tw_action2%">%tw_action2_param%</action>
954 </actions>
955 </object>
956 </page>
957
958 <page name="action_complete">
959 <object type="template" name="header" />
960
961 <object type="text" color="%text_color%">
962 <font resource="font" />
963 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
964 <text>%tw_complete_text1%</text>
965 </object>
966
967 <object type="text" color="%text_fail_color%">
968 <condition var1="tw_operation_status" op="!=" var2="0" />
969 <font resource="font" />
970 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
971 <text>Failed</text>
972 </object>
973
974 <object type="text" color="%text_success_color%">
975 <condition var1="tw_operation_status" var2="0" />
976 <font resource="font" />
977 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
978 <text>Successful</text>
979 </object>
980
981 <object type="template" name="action_page_console" />
982
983 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600984 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400985 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400986 <placement x="%col_center_x%" y="%row4_y%" />
987 <font resource="font" color="%button_text_color%" />
988 <text>Back</text>
989 <image resource="main_button" />
990 <actions>
991 <action function="set">tw_clear_destination=%tw_back%</action>
992 <action function="page">clear_vars</action>
993 </actions>
994 </object>
995
Dees_Troya3f81542012-10-08 10:58:53 -0400996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600997 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400998 <condition var1="tw_show_reboot" var2="1" />
999 <placement x="%col_center_x%" y="%row4_y%" />
1000 <font resource="font" color="%button_text_color%" />
1001 <text>Reboot System</text>
1002 <image resource="main_button" />
1003 <actions>
1004 <action function="set">tw_back=main2</action>
1005 <action function="set">tw_action=reboot</action>
1006 <action function="set">tw_action_param=system</action>
1007 <action function="set">tw_has_action2=0</action>
1008 <action function="set">tw_text1=No OS Installed! Are you</action>
1009 <action function="set">tw_text2=sure you wish to reboot?</action>
1010 <action function="set">tw_text3=</action>
1011 <action function="set">tw_text4=</action>
1012 <action function="set">tw_action_text1=Rebooting...</action>
1013 <action function="set">tw_action_text2=</action>
1014 <action function="set">tw_complete_text1=Rebooting...</action>
1015 <action function="set">tw_slider_text=Swipe to Reboot</action>
1016 <action function="page">rebootcheck</action>
1017 </actions>
1018 </object>
1019
Dees_Troy51a0e822012-09-05 15:24:24 -04001020 <object type="action">
1021 <touch key="home" />
1022 <actions>
1023 <action function="set">tw_clear_destination=main2</action>
1024 <action function="page">clear_vars</action>
1025 </actions>
1026 </object>
1027
1028 <object type="action">
1029 <touch key="back" />
1030 <actions>
1031 <action function="set">tw_clear_destination=%tw_back%</action>
1032 <action function="page">clear_vars</action>
1033 </actions>
1034 </object>
1035 </page>
1036
1037 <page name="filecheck">
1038 <object type="action">
1039 <action function="fileexists">%tw_filecheck%</action>
1040 </object>
1041
1042 <object type="action">
1043 <conditions>
1044 <condition var1="tw_operation_state" var2="1" />
1045 <condition var1="tw_operation_status" var2="0" />
1046 </conditions>
1047 <actions>
1048 <action function="set">tw_fileexists=1</action>
1049 <action function="page">%tw_existpage%</action>
1050 </actions>
1051 </object>
1052
1053 <object type="action">
1054 <conditions>
1055 <condition var1="tw_operation_state" var2="1" />
1056 <condition var1="tw_operation_status" var2="1" />
1057 </conditions>
1058 <actions>
1059 <action function="set">tw_fileexists=0</action>
1060 <action function="page">%tw_notexistpage%</action>
1061 </actions>
1062 </object>
1063 </page>
1064
1065 <page name="rebootcheck">
1066 <object type="action">
1067 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1068 <action function="reboot">%tw_action_param%</action>
1069 </object>
1070
1071 <object type="action">
1072 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1073 <action function="page">confirm_action</action>
1074 </object>
1075 </page>
1076
1077 <page name="wipe">
1078 <object type="template" name="header" />
1079
1080 <object type="text" color="%text_color%">
1081 <font resource="font" />
1082 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1083 <text>Wipe Menu</text>
1084 </object>
1085
1086 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001087 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001088 <placement x="%col1_x%" y="%row1_y%" />
1089 <font resource="font" color="%button_text_color%" />
1090 <text>Cache</text>
1091 <image resource="main_button" />
1092 <actions>
1093 <action function="set">tw_back=wipe</action>
1094 <action function="set">tw_action=wipe</action>
1095 <action function="set">tw_action_param=/cache</action>
1096 <action function="set">tw_text1=Wipe Cache?</action>
1097 <action function="set">tw_action_text1=Wiping Cache...</action>
1098 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1099 <action function="set">tw_slider_text=Swipe to Wipe</action>
1100 <action function="page">confirm_action</action>
1101 </actions>
1102 </object>
1103
1104 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001105 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001106 <placement x="%col2_x%" y="%row1_y%" />
1107 <font resource="font" color="%button_text_color%" />
1108 <text>Dalvik Cache</text>
1109 <image resource="main_button" />
1110 <actions>
1111 <action function="set">tw_back=wipe</action>
1112 <action function="set">tw_action=wipe</action>
1113 <action function="set">tw_action_param=dalvik</action>
1114 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1115 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1116 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1117 <action function="set">tw_slider_text=Swipe to Wipe</action>
1118 <action function="page">confirm_action</action>
1119 </actions>
1120 </object>
1121
1122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001124 <placement x="%col1_x%" y="%row2_y%" />
1125 <font resource="font" color="%button_text_color%" />
1126 <text>Factory Reset</text>
1127 <image resource="main_button" />
1128 <actions>
1129 <action function="set">tw_back=wipe</action>
1130 <action function="set">tw_action=wipe</action>
1131 <action function="set">tw_action_param=data</action>
1132 <action function="set">tw_text1=Factory Reset?</action>
1133 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1134 <action function="set">tw_action_text1=Factory Reset...</action>
1135 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1136 <action function="set">tw_slider_text=Swipe to Wipe</action>
1137 <action function="page">confirm_action</action>
1138 </actions>
1139 </object>
1140
1141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 <placement x="%col2_x%" y="%row2_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>System</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=wipe</action>
1149 <action function="set">tw_action=wipe</action>
1150 <action function="set">tw_action_param=/system</action>
1151 <action function="set">tw_text1=Wipe System?</action>
1152 <action function="set">tw_text2=This will wipe your ROM</action>
1153 <action function="set">tw_action_text1=Wiping System...</action>
1154 <action function="set">tw_complete_text1=System Wipe Complete</action>
1155 <action function="set">tw_slider_text=Swipe to Wipe</action>
1156 <action function="page">confirm_action</action>
1157 </actions>
1158 </object>
1159
1160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001161 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 <condition var1="tw_has_external" var2="1" />
1163 <placement x="%col1_x%" y="%row3_y%" />
1164 <font resource="font" color="%button_text_color%" />
1165 <text>External Storage</text>
1166 <image resource="main_button" />
1167 <actions>
1168 <action function="set">tw_back=wipe</action>
1169 <action function="set">tw_action=wipe</action>
1170 <action function="set">tw_action_param=EXTERNAL</action>
1171 <action function="set">tw_has_action2=1</action>
1172 <action function="set">tw_action2=set</action>
1173 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001174 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 <action function="set">tw_action_text1=Wiping External Storage...</action>
1176 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1177 <action function="set">tw_slider_text=Swipe to Wipe</action>
1178 <action function="page">confirm_action</action>
1179 </actions>
1180 </object>
1181
1182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001183 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001184 <condition var1="tw_has_internal" var2="1" />
1185 <placement x="%col2_x%" y="%row3_y%" />
1186 <font resource="font" color="%button_text_color%" />
1187 <text>Internal Storage</text>
1188 <image resource="main_button" />
1189 <actions>
1190 <action function="set">tw_back=wipe</action>
1191 <action function="set">tw_action=wipe</action>
1192 <action function="set">tw_action_param=INTERNAL</action>
1193 <action function="set">tw_has_action2=1</action>
1194 <action function="set">tw_action2=set</action>
1195 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1196 <action function="set">tw_text1=Wipe Internal Storage?</action>
1197 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1198 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1199 <action function="set">tw_slider_text=Swipe to Wipe</action>
1200 <action function="page">confirm_action</action>
1201 </actions>
1202 </object>
1203
1204 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001205 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001206 <conditions>
1207 <condition var1="tw_has_internal" var2="1" />
1208 <condition var1="tw_has_data_media" var2="1" />
1209 </conditions>
1210 <placement x="%col1_x%" y="%row4_y%" />
1211 <font resource="font" color="%button_text_color%" />
1212 <text>Format Data</text>
1213 <image resource="main_button" />
1214 <actions>
1215 <action function="set">tw_back=wipe</action>
1216 <action function="set">tw_action=wipe</action>
1217 <action function="set">tw_action_param=DATAMEDIA</action>
1218 <action function="set">tw_has_action2=1</action>
1219 <action function="set">tw_action2=set</action>
1220 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001221 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001222 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001223 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001224 <action function="set">tw_action_text1=Formatting Data...</action>
1225 <action function="set">tw_complete_text1=Data Format Complete</action>
1226 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001227 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001228 <action function="page">confirm_action</action>
1229 </actions>
1230 </object>
1231
1232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001233 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001234 <condition var1="tw_has_data_media" var2="0" />
1235 <placement x="%col1_x%" y="%row4_y%" />
1236 <font resource="font" color="%button_text_color%" />
1237 <text>Android Secure</text>
1238 <image resource="main_button" />
1239 <actions>
1240 <action function="set">tw_back=wipe</action>
1241 <action function="set">tw_action=wipe</action>
1242 <action function="set">tw_action_param=ANDROIDSECURE</action>
1243 <action function="set">tw_text1=Wipe Android Secure?</action>
1244 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1245 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1246 <action function="set">tw_slider_text=Swipe to Format</action>
1247 <action function="page">confirm_action</action>
1248 </actions>
1249 </object>
1250
1251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001253 <condition var1="tw_has_sdext_partition" var2="1" />
1254 <placement x="%col2_x%" y="%row4_y%" />
1255 <font resource="font" color="%button_text_color%" />
1256 <text>SD Ext</text>
1257 <image resource="main_button" />
1258 <actions>
1259 <action function="set">tw_back=wipe</action>
1260 <action function="set">tw_action=wipe</action>
1261 <action function="set">tw_action_param=/sd-ext</action>
1262 <action function="set">tw_text1=Wipe SD-Ext?</action>
1263 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1264 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1265 <action function="set">tw_slider_text=Swipe to Wipe</action>
1266 <action function="page">confirm_action</action>
1267 </actions>
1268 </object>
1269
1270 <object type="action">
1271 <touch key="home" />
1272 <action function="page">main</action>
1273 </object>
1274
1275 <object type="action">
1276 <touch key="back" />
1277 <action function="page">main</action>
1278 </object>
1279
1280 <object type="template" name="footer" />
1281 </page>
1282
1283 <page name="backup">
1284 <object type="template" name="header" />
1285
1286 <object type="text" color="%text_color%">
1287 <font resource="font" />
1288 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1289 <text>Backup Name: %tw_backup_name%</text>
1290 </object>
1291
1292 <object type="text" color="%text_color%">
1293 <placement x="%col1_x%" y="%row1_text_y%" />
1294 <font resource="font" />
1295 <text>Backup Device</text>
1296 </object>
1297
1298 <object type="slider">
1299 <placement x="%slider_x%" y="slider_y" />
1300 <resource base="slider" used="slider-used" touch="slider-touch" />
1301 <action function="page">backup_run</action>
1302 </object>
1303
1304 <object type="text" color="%text_color%">
1305 <font resource="font" />
1306 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1307 <text>Swipe to Back Up</text>
1308 </object>
1309
1310 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001311 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001312 <placement x="%col2_x%" y="%row1_y%" />
1313 <font resource="font" color="%button_text_color%" />
1314 <text>Refresh Sizes</text>
1315 <image resource="main_button" />
1316 <action function="refreshsizes"></action>
1317 </object>
1318
1319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001321 <placement x="%col2_x%" y="%backup_name_y%" />
1322 <font resource="font" color="%button_text_color%" />
1323 <text>Set Backup Name</text>
1324 <image resource="main_button" />
1325 <actions>
1326 <action function="set">tw_fileexists=0</action>
1327 <action function="page">backupname1</action>
1328 </actions>
1329 </object>
1330
1331 <object type="checkbox">
1332 <placement x="%col1_x%" y="%row2_text_y%" />
1333 <font resource="font" color="%text_color%" />
1334 <text>System (%tw_backup_system_size% MB)</text>
1335 <data variable="tw_backup_system" />
1336 <image checked="checkbox_true" unchecked="checkbox_false" />
1337 </object>
1338
1339 <object type="checkbox">
1340 <placement x="%col1_x%" y="%row3_text_y%" />
1341 <font resource="font" color="%text_color%" />
1342 <text>Data (%tw_backup_data_size% MB)</text>
1343 <data variable="tw_backup_data" />
1344 <image checked="checkbox_true" unchecked="checkbox_false" />
1345 </object>
1346
1347 <object type="checkbox">
1348 <condition var1="tw_has_boot_partition" var2="1" />
1349 <placement x="%col1_x%" y="%row4_text_y%" />
1350 <font resource="font" color="%text_color%" />
1351 <text>Boot (%tw_backup_boot_size% MB)</text>
1352 <data variable="tw_backup_boot" />
1353 <image checked="checkbox_true" unchecked="checkbox_false" />
1354 </object>
1355
1356 <object type="checkbox">
1357 <condition var1="tw_has_recovery_partition" var2="1" />
1358 <placement x="%col1_x%" y="%row5_text_y%" />
1359 <font resource="font" color="%text_color%" />
1360 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1361 <data variable="tw_backup_recovery" />
1362 <image checked="checkbox_true" unchecked="checkbox_false" />
1363 </object>
1364
1365 <object type="checkbox">
1366 <placement x="%col1_x%" y="%row6_text_y%" />
1367 <font resource="font" color="%text_color%" />
1368 <text>Cache (%tw_backup_cache_size% MB)</text>
1369 <data variable="tw_backup_cache" />
1370 <image checked="checkbox_true" unchecked="checkbox_false" />
1371 </object>
1372
1373 <object type="checkbox">
1374 <condition var1="tw_has_android_secure" var2="1" />
1375 <placement x="%col1_x%" y="%row7_text_y%" />
1376 <font resource="font" color="%text_color%" />
1377 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1378 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1379 <data variable="tw_backup_andsec" />
1380 <image checked="checkbox_true" unchecked="checkbox_false" />
1381 </object>
1382
1383 <object type="checkbox">
1384 <condition var1="tw_has_sdext_partition" var2="1" />
1385 <placement x="%col1_x%" y="%row8_text_y%" />
1386 <font resource="font" color="%text_color%" />
1387 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1388 <condition var1="fileexists" var2="/sd-ext" />
1389 <data variable="tw_backup_sdext" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
1394 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001395 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001396 <font resource="font" color="%text_color%" />
1397 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1398 <data variable="tw_backup_sp1" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="checkbox">
1403 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001404 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001405 <font resource="font" color="%text_color%" />
1406 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1407 <data variable="tw_backup_sp2" />
1408 <image checked="checkbox_true" unchecked="checkbox_false" />
1409 </object>
1410
1411 <object type="checkbox">
1412 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001413 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001414 <font resource="font" color="%text_color%" />
1415 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1416 <data variable="tw_backup_sp3" />
1417 <image checked="checkbox_true" unchecked="checkbox_false" />
1418 </object>
1419
1420 <object type="text" color="%text_color%">
1421 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001422 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001423 <text>Free Space: %tw_storage_free_size% MB</text>
1424 </object>
1425
1426 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001427 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001429 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 <data variable="tw_use_compression" />
1431 <image checked="checkbox_true" unchecked="checkbox_false" />
1432 </object>
1433
1434 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001435 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001437 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 <data variable="tw_skip_md5_generate" />
1439 <image checked="checkbox_true" unchecked="checkbox_false" />
1440 </object>
1441
1442 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001443 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 <font resource="font" color="%text_color%" />
1445 <conditions>
1446 <condition var1="tw_has_dual_storage" var2="1" />
1447 <condition var1="tw_use_external_storage" var2="1" />
1448 </conditions>
1449 <text>Use external SD</text>
1450 <image resource="radio_true" />
1451 <action function="togglestorage">external</action>
1452 </object>
1453
1454 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001455 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001456 <font resource="font" color="%text_color%" />
1457 <conditions>
1458 <condition var1="tw_has_dual_storage" var2="1" />
1459 <condition var1="tw_use_external_storage" var2="0" />
1460 </conditions>
1461 <text>Use external SD</text>
1462 <image resource="radio_false" />
1463 <action function="togglestorage">external</action>
1464 </object>
1465
1466 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001467 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001468 <font resource="font" color="%text_color%" />
1469 <conditions>
1470 <condition var1="tw_has_dual_storage" var2="1" />
1471 <condition var1="tw_use_external_storage" var2="1" />
1472 </conditions>
1473 <text>Use internal storage</text>
1474 <image resource="radio_false" />
1475 <action function="togglestorage">internal</action>
1476 </object>
1477
1478 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001479 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001480 <font resource="font" color="%text_color%" />
1481 <conditions>
1482 <condition var1="tw_has_dual_storage" var2="1" />
1483 <condition var1="tw_use_external_storage" var2="0" />
1484 </conditions>
1485 <text>Use internal storage</text>
1486 <image resource="radio_true" />
1487 <action function="togglestorage">internal</action>
1488 </object>
1489
1490 <object type="action">
1491 <touch key="home" />
1492 <action function="page">main</action>
1493 </object>
1494
1495 <object type="action">
1496 <touch key="back" />
1497 <action function="page">main</action>
1498 </object>
1499
1500 <object type="template" name="footer" />
1501 </page>
1502
1503 <page name="backupname1">
1504 <object type="action">
1505 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1506 <action function="set">tw_backup_name=</function>
1507 </object>
1508
1509 <object type="action">
1510 <action function="page">backupname2</function>
1511 </object>
1512 </page>
1513
1514 <page name="backupname2">
1515 <object type="template" name="header" />
1516
1517 <object type="text" color="%text_color%">
1518 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1519 <font resource="font" />
1520 <text>Please Enter a Backup Name</text>
1521 </object>
1522
1523 <object type="input">
1524 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1525 <background color="%input_background_color%" />
1526 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1527 <font resource="font" color="%text_color%" />
1528 <text>%tw_backup_name%</text>
1529 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001530 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001531 <actions>
1532 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1533 <action function="set">tw_existpage=backupname2</action>
1534 <action function="set">tw_notexistpage=backup</action>
1535 <action function="page">filecheck</action>
1536 </actions>
1537 </object>
1538
1539 <object type="text" color="%text_fail_color%">
1540 <condition var1="tw_fileexists" var2="1" />
1541 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1542 <font resource="font" />
1543 <text>A backup with that name already exists!</text>
1544 </object>
1545
1546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001547 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001548 <placement x="%col_center_x%" y="%row2_y%" />
1549 <font resource="font" color="%button_text_color%" />
1550 <text>Cancel</text>
1551 <image resource="main_button" />
1552 <actions>
1553 <action function="set">tw_backup_name=(Current Date)</action>
1554 <action function="page">backup</action>
1555 </actions>
1556 </object>
1557
1558 <object type="template" name="keyboardtemplate" />
1559
1560 <object type="action">
1561 <touch key="home" />
1562 <actions>
1563 <action function="set">tw_backup_name=(Current Date)</action>
1564 <action function="page">main</action>
1565 </actions>
1566 </object>
1567
1568 <object type="action">
1569 <touch key="back" />
1570 <actions>
1571 <action function="set">tw_backup_name=(Current Date)</action>
1572 <action function="page">backup</action>
1573 </actions>
1574 </object>
1575
1576 <object type="template" name="footer" />
1577 </page>
1578
1579 <page name="backup_run">
1580 <object type="template" name="header" />
1581
1582 <object type="text" color="%text_color%">
1583 <font resource="font" />
1584 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1585 <text>%tw_operation% %tw_partition%</text>
1586 </object>
1587
1588 <object type="template" name="action_page_console" />
1589
1590 <object type="template" name="progress_bar" />
1591
1592 <object type="action">
1593 <action function="nandroid">backup</action>
1594 </object>
1595
1596 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001597 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001598 <actions>
1599 <action function="set">tw_back=backup</action>
1600 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001601 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001602 <action function="page">action_complete</action>
1603 </actions>
1604 </object>
1605 </page>
1606
1607 <page name="restore">
1608 <object type="template" name="header" />
1609
1610 <object type="button">
1611 <placement x="%col1_x%" y="%row1_header_y%" />
1612 <font resource="font" color="%text_color%" />
1613 <conditions>
1614 <condition var1="tw_has_dual_storage" var2="1" />
1615 <condition var1="tw_use_external_storage" var2="1" />
1616 </conditions>
1617 <text>Use external SD</text>
1618 <image resource="radio_true" />
1619 <action function="togglestorage">external</action>
1620 </object>
1621
1622 <object type="button">
1623 <placement x="%col1_x%" y="%row1_header_y%" />
1624 <font resource="font" color="%text_color%" />
1625 <conditions>
1626 <condition var1="tw_has_dual_storage" var2="1" />
1627 <condition var1="tw_use_external_storage" var2="0" />
1628 </conditions>
1629 <text>Use external SD</text>
1630 <image resource="radio_false" />
1631 <action function="togglestorage">external</action>
1632 </object>
1633
1634 <object type="button">
1635 <placement x="%col2_x%" y="%row1_header_y%" />
1636 <font resource="font" color="%text_color%" />
1637 <conditions>
1638 <condition var1="tw_has_dual_storage" var2="1" />
1639 <condition var1="tw_use_external_storage" var2="1" />
1640 </conditions>
1641 <text>Use internal storage</text>
1642 <image resource="radio_false" />
1643 <action function="togglestorage">internal</action>
1644 </object>
1645
1646 <object type="button">
1647 <placement x="%col2_x%" y="%row1_header_y%" />
1648 <font resource="font" color="%text_color%" />
1649 <conditions>
1650 <condition var1="tw_has_dual_storage" var2="1" />
1651 <condition var1="tw_use_external_storage" var2="0" />
1652 </conditions>
1653 <text>Use internal storage</text>
1654 <image resource="radio_true" />
1655 <action function="togglestorage">internal</action>
1656 </object>
1657
1658 <object type="fileselector">
1659 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1660 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1661 <text>Select Package to Restore:</text>
1662 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1663 <sort name="tw_gui_sort_order" />
1664 <icon folder="folder_icon" file="file_icon" />
1665 <background color="%fileselector_background%" />
1666 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1667 <filter folders="1" files="0" nav="0" />
1668 <path name="tw_backups_folder" />
1669 <data name="tw_restore" default="" />
1670 <selection name="tw_restore_name" />
1671 </object>
1672
1673 <object type="template" name="sort_options" />
1674
1675 <object type="action">
1676 <condition var1="tw_restore" op="modified" />
1677 <actions>
1678 <action function="readBackup"></action>
1679 <action function="page">restore_select</action>
1680 </actions>
1681 </object>
1682
1683 <object type="action">
1684 <touch key="home" />
1685 <action function="page">main</action>
1686 </object>
1687
1688 <object type="action">
1689 <touch key="back" />
1690 <action function="page">main</action>
1691 </object>
1692
1693 <object type="template" name="footer" />
1694 </page>
1695
1696 <page name="restore_select">
1697 <object type="template" name="header" />
1698
1699 <object type="text">
1700 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1701 <font resource="font" color="%text_color%" />
1702 <text>Restoring: %tw_restore_name%</text>
1703 </object>
1704
1705 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001706 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <placement x="%col2_x%" y="%row1_y%" />
1708 <font resource="font" color="%button_text_color%" />
1709 <text>Rename Backup</text>
1710 <image resource="main_button" />
1711 <actions>
1712 <action function="set">tw_backup_rename=</action>
1713 <action function="set">tw_fileexists=0</action>
1714 <action function="page">renamebackup</action>
1715 </actions>
1716 </object>
1717
1718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001720 <placement x="%col2_x%" y="%row2_y%" />
1721 <font resource="font" color="%button_text_color%" />
1722 <text>Delete Backup</text>
1723 <image resource="main_button" />
1724 <actions>
1725 <action function="set">tw_back=restore</action>
1726 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001727 <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 -04001728 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1729 <action function="set">tw_text2=This cannot be undone!</action>
1730 <action function="set">tw_action_text1=Deleting Backup...</action>
1731 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1732 <action function="set">tw_slider_text=Swipe to Delete</action>
1733 <action function="page">confirm_action</action>
1734 </actions>
1735 </object>
1736
1737 <object type="slider">
1738 <placement x="%slider_x%" y="%slider_y%" />
1739 <resource base="slider" used="slider-used" touch="slider-touch" />
1740 <action function="page">restore_run</action>
1741 </object>
1742
1743 <object type="text" color="%text_color%">
1744 <font resource="font" />
1745 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1746 <text>Swipe to Restore</text>
1747 </object>
1748
1749 <object type="checkbox">
1750 <placement x="%col1_x%" y="%row2_text_y%" />
1751 <font resource="font" color="%text_color%" />
1752 <text>System</text>
1753 <condition var1="tw_restore_system" op=">=" var2="0" />
1754 <data variable="tw_restore_system" />
1755 <image checked="checkbox_true" unchecked="checkbox_false" />
1756 </object>
1757
1758 <object type="checkbox">
1759 <placement x="%col1_x%" y="%row3_text_y%" />
1760 <font resource="font" color="%text_color%" />
1761 <text>Data</text>
1762 <condition var1="tw_restore_data" op=">=" var2="0" />
1763 <data variable="tw_restore_data" />
1764 <image checked="checkbox_true" unchecked="checkbox_false" />
1765 </object>
1766
1767 <object type="checkbox">
1768 <placement x="%col1_x%" y="%row4_text_y%" />
1769 <font resource="font" color="%text_color%" />
1770 <text>Boot</text>
1771 <condition var1="tw_restore_boot" op=">=" var2="0" />
1772 <data variable="tw_restore_boot" />
1773 <image checked="checkbox_true" unchecked="checkbox_false" />
1774 </object>
1775
1776 <object type="checkbox">
1777 <placement x="%col1_x%" y="%row6_text_y%" />
1778 <font resource="font" color="%text_color%" />
1779 <text>Cache</text>
1780 <condition var1="tw_restore_cache" op=">=" var2="0" />
1781 <data variable="tw_restore_cache" />
1782 <image checked="checkbox_true" unchecked="checkbox_false" />
1783 </object>
1784
1785 <object type="checkbox">
1786 <placement x="%col1_x%" y="%row7_text_y%" />
1787 <font resource="font" color="%text_color%" />
1788 <text>.android_secure</text>
1789 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1790 <data variable="tw_restore_andsec" />
1791 <image checked="checkbox_true" unchecked="checkbox_false" />
1792 </object>
1793
1794 <object type="checkbox">
1795 <placement x="%col1_x%" y="%row8_text_y%" />
1796 <font resource="font" color="%text_color%" />
1797 <text>sd-ext</text>
1798 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1799 <data variable="tw_restore_sdext" />
1800 <image checked="checkbox_true" unchecked="checkbox_false" />
1801 </object>
1802
1803 <object type="checkbox">
1804 <placement x="%col1_x%" y="%row10_text_y%" />
1805 <font resource="font" color="%text_color%" />
1806 <text>%tw_sp1_name%</text>
1807 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1808 <data variable="tw_restore_sp1" />
1809 <image checked="checkbox_true" unchecked="checkbox_false" />
1810 </object>
1811
1812 <object type="checkbox">
1813 <placement x="%col1_x%" y="%row11_text_y%" />
1814 <font resource="font" color="%text_color%" />
1815 <text>%tw_sp2_name%</text>
1816 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1817 <data variable="tw_restore_sp2" />
1818 <image checked="checkbox_true" unchecked="checkbox_false" />
1819 </object>
1820
1821 <object type="checkbox">
1822 <placement x="%col1_x%" y="%row12_text_y%" />
1823 <font resource="font" color="%text_color%" />
1824 <text>%tw_sp3_name%</text>
1825 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1826 <data variable="tw_restore_sp3" />
1827 <image checked="checkbox_true" unchecked="checkbox_false" />
1828 </object>
1829
1830 <object type="checkbox">
1831 <placement x="%col1_x%" y="%row14_text_y%" />
1832 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001833 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001834 <data variable="tw_skip_md5_check" />
1835 <image checked="checkbox_true" unchecked="checkbox_false" />
1836 </object>
1837
1838 <object type="text" color="%text_color%">
1839 <font resource="font" />
1840 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1841 <text>Package Date: %tw_restore_file_date%</text>
1842 </object>
1843
1844 <object type="action">
1845 <touch key="home" />
1846 <action function="page">main</action>
1847 </object>
1848
1849 <object type="action">
1850 <touch key="back" />
1851 <action function="page">restore</action>
1852 </object>
1853
1854 <object type="template" name="footer" />
1855 </page>
1856
1857 <page name="renamebackup">
1858 <object type="template" name="header" />
1859
1860 <object type="text" color="%text_color%">
1861 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1862 <font resource="font" />
1863 <text>Please Enter a New Backup Name</text>
1864 </object>
1865
1866 <object type="input">
1867 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1868 <background color="%input_background_color%" />
1869 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1870 <font resource="font" color="%text_color%" />
1871 <text>%tw_backup_rename%</text>
1872 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001873 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001874 <actions>
1875 <action function="set">tw_back=restore</action>
1876 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001877 <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 -04001878 <action function="set">tw_text1=Rename Backup?</action>
1879 <action function="set">tw_text2=This cannot be undone!</action>
1880 <action function="set">tw_action_text1=Renaming Backup...</action>
1881 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1882 <action function="set">tw_slider_text=Swipe to Rename</action>
1883 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1884 <action function="set">tw_existpage=renamebackup</action>
1885 <action function="set">tw_notexistpage=confirm_action</action>
1886 <action function="page">filecheck</action>
1887 </actions>
1888 </object>
1889
1890 <object type="text" color="%text_fail_color%">
1891 <condition var1="tw_fileexists" var2="1" />
1892 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1893 <font resource="font" />
1894 <text>A backup with that name already exists!</text>
1895 </object>
1896
1897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001899 <placement x="%col_center_x%" y="%row2_y%" />
1900 <font resource="font" color="%button_text_color%" />
1901 <text>Cancel</text>
1902 <image resource="main_button" />
1903 <action function="page">restore_select</action>
1904 </object>
1905
1906 <object type="template" name="keyboardtemplate" />
1907
1908 <object type="action">
1909 <touch key="home" />
1910 <action function="page">main</action>
1911 </object>
1912
1913 <object type="action">
1914 <touch key="back" />
1915 <action function="page">restore_select</action>
1916 </object>
1917
1918 <object type="template" name="footer" />
1919 </page>
1920
1921 <page name="restore_run">
1922 <object type="template" name="header" />
1923
1924 <object type="text" color="%text_color%">
1925 <font resource="font" />
1926 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1927 <text>%tw_operation% %tw_partition%</text>
1928 </object>
1929
1930 <object type="template" name="action_page_console" />
1931
1932 <object type="template" name="progress_bar" />
1933
1934 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001935 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001936 <actions>
1937 <action function="set">tw_back=restore_select</action>
1938 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001939 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001940 <action function="page">action_complete</action>
1941 </actions>
1942 </object>
1943
1944 <object type="action">
1945 <action function="nandroid">restore</action>
1946 </object>
1947 </page>
1948
1949 <page name="mount">
1950 <object type="template" name="header" />
1951
1952 <object type="text" color="%text_color%">
1953 <font resource="font" />
1954 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1955 <text>Mount Menu</text>
1956 </object>
1957
1958 <object type="button">
1959 <placement x="%col1_x%" y="%row1_text_y%" />
1960 <font resource="font" color="%text_color%" />
1961 <condition var1="mounted" op="!=" var2="/system" />
1962 <text>Mount System</text>
1963 <image resource="checkbox_false" />
1964 <action function="mount">/system</action>
1965 </object>
1966
1967 <object type="button">
1968 <placement x="%col1_x%" y="%row1_text_y%" />
1969 <font resource="font" color="%text_color%" />
1970 <condition var1="mounted" op="=" var2="/system" />
1971 <text>Unmount System</text>
1972 <image resource="checkbox_true" />
1973 <action function="umount">/system</action>
1974 </object>
1975
1976 <object type="button">
1977 <placement x="%col1_x%" y="%row2_text_y%" />
1978 <font resource="font" color="%text_color%" />
1979 <condition var1="mounted" op="!=" var2="/data" />
1980 <text>Mount Data</text>
1981 <image resource="checkbox_false" />
1982 <action function="mount">/data</action>
1983 </object>
1984
1985 <object type="button">
1986 <placement x="%col1_x%" y="%row2_text_y%" />
1987 <font resource="font" color="%text_color%" />
1988 <condition var1="mounted" op="=" var2="/data" />
1989 <text>Unmount Data</text>
1990 <image resource="checkbox_true" />
1991 <action function="umount">/data</action>
1992 </object>
1993
1994 <object type="button">
1995 <placement x="%col1_x%" y="%row3_text_y%" />
1996 <font resource="font" color="%text_color%" />
1997 <condition var1="mounted" op="!=" var2="/cache" />
1998 <text>Mount Cache</text>
1999 <image resource="checkbox_false" />
2000 <action function="mount">/cache</action>
2001 </object>
2002
2003 <object type="button">
2004 <placement x="%col1_x%" y="%row3_text_y%" />
2005 <font resource="font" color="%text_color%" />
2006 <condition var1="mounted" op="=" var2="/cache" />
2007 <text>Unmount Cache</text>
2008 <image resource="checkbox_true" />
2009 <action function="umount">/cache</action>
2010 </object>
2011
2012 <object type="button">
2013 <placement x="%col1_x%" y="%row4_text_y%" />
2014 <font resource="font" color="%text_color%" />
2015 <conditions>
2016 <condition var1="tw_has_external" var2="1" />
2017 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2018 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002019 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002020 <image resource="checkbox_false" />
2021 <action function="mount">EXTERNAL</action>
2022 </object>
2023
2024 <object type="button">
2025 <placement x="%col1_x%" y="%row4_text_y%" />
2026 <font resource="font" color="%text_color%" />
2027 <conditions>
2028 <condition var1="tw_has_external" var2="1" />
2029 <condition var1="mounted" op="=" var2="EXTERNAL" />
2030 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002031 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002032 <image resource="checkbox_true" />
2033 <action function="umount">EXTERNAL</action>
2034 </object>
2035
2036 <object type="button">
2037 <placement x="%col2_x%" y="%row4_text_y%" />
2038 <font resource="font" color="%text_color%" />
2039 <conditions>
2040 <condition var1="tw_has_internal" var2="1" />
2041 <condition var1="tw_has_data_media" var2="0" />
2042 <condition var1="mounted" op="!=" var2="INTERNAL" />
2043 </conditions>
2044 <text>Mount Internal</text>
2045 <image resource="checkbox_false" />
2046 <action function="mount">INTERNAL</action>
2047 </object>
2048
2049 <object type="button">
2050 <placement x="%col2_x%" y="%row4_text_y%" />
2051 <font resource="font" color="%text_color%" />
2052 <conditions>
2053 <condition var1="tw_has_internal" var2="1" />
2054 <condition var1="tw_has_data_media" var2="0" />
2055 <condition var1="mounted" op="=" var2="INTERNAL" />
2056 </conditions>
2057 <text>Unmount Internal</text>
2058 <image resource="checkbox_true" />
2059 <action function="umount">INTERNAL</action>
2060 </object>
2061
2062 <object type="button">
2063 <conditions>
2064 <condition var1="tw_has_sdext_partition" var2="1" />
2065 <condition var1="mounted" op="!=" var2="/sd-ext" />
2066 </conditions>
2067 <placement x="%col1_x%" y="%row5_text_y%" />
2068 <font resource="font" color="%text_color%" />
2069 <text>Mount SD-Ext</text>
2070 <image resource="checkbox_false" />
2071 <action function="mount">/sd-ext</action>
2072 </object>
2073
2074 <object type="button">
2075 <placement x="%col1_x%" y="%row5_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <condition var1="mounted" op="=" var2="/sd-ext" />
2078 <text>Unmount SD-Ext</text>
2079 <image resource="checkbox_true" />
2080 <action function="umount">/sd-ext</action>
2081 </object>
2082
2083 <object type="button">
2084 <conditions>
2085 <condition var1="tw_boot_is_mountable" var2="1" />
2086 <condition var1="mounted" op="!=" var2="/boot" />
2087 </conditions>
2088 <placement x="%col1_x%" y="%row6_text_y%" />
2089 <font resource="font" color="#A0A0A0" />
2090 <text>Mount Boot</text>
2091 <image resource="checkbox_false" />
2092 <action function="mount">/boot</action>
2093 </object>
2094
2095 <object type="button">
2096 <conditions>
2097 <condition var1="tw_boot_is_mountable" var2="1" />
2098 <condition var1="mounted" op="=" var2="/boot" />
2099 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002100 <placement x="%col1_x%" y="%row6_text_y%" />
2101 <font resource="font" color="#A0A0A0" />
2102 <text>Unmount Boot</text>
2103 <image resource="checkbox_true" />
2104 <action function="umount">/boot</action>
2105 </object>
2106
2107 <object type="button">
2108 <placement x="%col1_x%" y="%row8_text_y%" />
2109 <font resource="font" color="%text_color%" />
2110 <conditions>
2111 <condition var1="tw_has_dual_storage" var2="1" />
2112 <condition var1="tw_use_external_storage" var2="1" />
2113 </conditions>
2114 <text>Use external SD</text>
2115 <image resource="radio_true" />
2116 <action function="togglestorage">external</action>
2117 </object>
2118
2119 <object type="button">
2120 <placement x="%col1_x%" y="%row8_text_y%" />
2121 <font resource="font" color="%text_color%" />
2122 <conditions>
2123 <condition var1="tw_has_dual_storage" var2="1" />
2124 <condition var1="tw_use_external_storage" var2="0" />
2125 </conditions>
2126 <text>Use external SD</text>
2127 <image resource="radio_false" />
2128 <action function="togglestorage">external</action>
2129 </object>
2130
2131 <object type="button">
2132 <placement x="%col2_x%" y="%row8_text_y%" />
2133 <font resource="font" color="%text_color%" />
2134 <conditions>
2135 <condition var1="tw_has_dual_storage" var2="1" />
2136 <condition var1="tw_use_external_storage" var2="1" />
2137 </conditions>
2138 <text>Use internal storage</text>
2139 <image resource="radio_false" />
2140 <action function="togglestorage">internal</action>
2141 </object>
2142
2143 <object type="button">
2144 <placement x="%col2_x%" y="%row8_text_y%" />
2145 <font resource="font" color="%text_color%" />
2146 <conditions>
2147 <condition var1="tw_has_dual_storage" var2="1" />
2148 <condition var1="tw_use_external_storage" var2="0" />
2149 </conditions>
2150 <text>Use internal storage</text>
2151 <image resource="radio_true" />
2152 <action function="togglestorage">internal</action>
2153 </object>
2154
2155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002157 <condition var1="tw_has_usb_storage" var2="1" />
2158 <placement x="%col1_x%" y="row3_y" />
2159 <font resource="font" color="%button_text_color%" />
2160 <text>Mount USB Storage</text>
2161 <image resource="main_button" />
2162 <action function="page">usb_mount</action>
2163 </object>
2164
Gary Peckffdc6ae2012-11-21 18:02:02 -08002165 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002166 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002167 <conditions>
2168 <condition var1="tw_is_encrypted" var2="1" />
2169 <condition var1="tw_is_decrypted" var2="0" />
2170 </conditions>
2171 <placement x="%col2_x%" y="row3_y" />
2172 <font resource="font" color="%button_text_color%" />
2173 <text>Decrypt Data</text>
2174 <image resource="main_button" />
2175 <action function="page">decrypt</action>
2176 </object>
2177
Dees_Troy51a0e822012-09-05 15:24:24 -04002178 <object type="action">
2179 <touch key="home" />
2180 <action function="page">main</action>
2181 </object>
2182
2183 <object type="action">
2184 <touch key="back" />
2185 <action function="page">main</action>
2186 </object>
2187
2188 <object type="template" name="footer" />
2189 </page>
2190
2191 <page name="usb_mount">
2192 <object type="template" name="header" />
2193
2194 <object type="text" color="%text_color%">
2195 <font resource="font" />
2196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2197 <text>USB Storage Mounted</text>
2198 </object>
2199
2200 <object type="text" color="%text_color%">
2201 <placement x="%col1_x%" y="%row1_text_y%" />
2202 <font resource="font" />
2203 <text>Be sure to safely remove your device</text>
2204 </object>
2205
2206 <object type="text" color="%text_color%">
2207 <placement x="%col1_x%" y="%row2_text_y%" />
2208 <font resource="font" />
2209 <text>from your computer before unmounting!</text>
2210 </object>
2211
2212 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002213 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002214 <placement x="%col1_x%" y="%row3_y%" />
2215 <font resource="font" color="%button_text_color%" />
2216 <text>Unmount</text>
2217 <image resource="main_button" />
2218 <action function="page">usb_umount</action>
2219 </object>
2220
2221 <object type="action">
2222 <action function="mount">usb</action>
2223 </object>
2224
2225 <object type="template" name="footer" />
2226 </page>
2227
2228 <page name="usb_umount">
2229 <object type="action">
2230 <action function="unmount">usb</action>
2231 </object>
2232
2233 <object type="action">
2234 <action function="page">mount</action>
2235 </object>
2236 </page>
2237
2238 <page name="reboot">
2239 <object type="template" name="header" />
2240
2241 <object type="text" color="%text_color%">
2242 <font resource="font" />
2243 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2244 <text>Reboot Menu</text>
2245 </object>
2246
2247 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002248 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002249 <condition var1="tw_reboot_system" var2="1" />
2250 <placement x="%col1_x%" y="%row1_y%" />
2251 <font resource="font" color="%button_text_color%" />
2252 <text>System</text>
2253 <image resource="main_button" />
2254 <actions>
2255 <action function="set">tw_back=reboot</action>
2256 <action function="set">tw_action=reboot</action>
2257 <action function="set">tw_action_param=system</action>
2258 <action function="set">tw_has_action2=0</action>
2259 <action function="set">tw_text1=No OS Installed! Are you</action>
2260 <action function="set">tw_text2=sure you wish to reboot?</action>
2261 <action function="set">tw_action_text1=Rebooting...</action>
2262 <action function="set">tw_complete_text1=Rebooting...</action>
2263 <action function="set">tw_slider_text=Swipe to Reboot</action>
2264 <action function="page">rebootcheck</action>
2265 </actions>
2266 </object>
2267
2268 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002269 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002270 <condition var1="tw_reboot_poweroff" var2="1" />
2271 <placement x="%col2_x%" y="%row1_y%" />
2272 <font resource="font" color="%button_text_color%" />
2273 <text>Power Off</text>
2274 <image resource="main_button" />
2275 <actions>
2276 <action function="set">tw_back=reboot</action>
2277 <action function="set">tw_action=reboot</action>
2278 <action function="set">tw_action_param=poweroff</action>
2279 <action function="set">tw_has_action2=0</action>
2280 <action function="set">tw_text1=No OS Installed! Are you</action>
2281 <action function="set">tw_text2=sure you wish to power off?</action>
2282 <action function="set">tw_action_text1=Turning Off...</action>
2283 <action function="set">tw_complete_text1=Turning Off...</action>
2284 <action function="set">tw_slider_text=Swipe to Power Off</action>
2285 <action function="page">rebootcheck</action>
2286 </actions>
2287 </object>
2288
2289 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002290 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <condition var1="tw_reboot_recovery" var2="1" />
2292 <placement x="%col1_x%" y="%row2_y%" />
2293 <font resource="font" color="%button_text_color%" />
2294 <text>Recovery</text>
2295 <image resource="main_button" />
2296 <actions>
2297 <action function="set">tw_back=reboot</action>
2298 <action function="set">tw_action=reboot</action>
2299 <action function="set">tw_action_param=recovery</action>
2300 <action function="set">tw_has_action2=0</action>
2301 <action function="set">tw_text1=No OS Installed! Are you</action>
2302 <action function="set">tw_text2=sure you wish to reboot?</action>
2303 <action function="set">tw_action_text1=Rebooting...</action>
2304 <action function="set">tw_complete_text1=Rebooting...</action>
2305 <action function="set">tw_slider_text=Swipe to Reboot</action>
2306 <action function="page">rebootcheck</action>
2307 </actions>
2308 </object>
2309
2310 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002311 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002312 <condition var1="tw_reboot_bootloader" var2="1" />
2313 <placement x="%col2_x%" y="%row2_y%" />
2314 <font resource="font" color="%button_text_color%" />
2315 <text>Bootloader</text>
2316 <image resource="main_button" />
2317 <actions>
2318 <action function="set">tw_back=reboot</action>
2319 <action function="set">tw_action=reboot</action>
2320 <action function="set">tw_action_param=bootloader</action>
2321 <action function="set">tw_has_action2=0</action>
2322 <action function="set">tw_text1=No OS Installed! Are you</action>
2323 <action function="set">tw_text2=sure you wish to reboot?</action>
2324 <action function="set">tw_action_text1=Rebooting...</action>
2325 <action function="set">tw_complete_text1=Rebooting...</action>
2326 <action function="set">tw_slider_text=Swipe to Reboot</action>
2327 <action function="page">rebootcheck</action>
2328 </actions>
2329 </object>
2330
2331 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002332 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002333 <condition var1="tw_download_mode" var2="1" />
2334 <placement x="%col1_x%" y="%row3_y%" />
2335 <font resource="font" color="%button_text_color%" />
2336 <text>Download</text>
2337 <image resource="main_button" />
2338 <actions>
2339 <action function="set">tw_back=reboot</action>
2340 <action function="set">tw_action=reboot</action>
2341 <action function="set">tw_action_param=download</action>
2342 <action function="set">tw_has_action2=0</action>
2343 <action function="set">tw_text1=No OS Installed! Are you</action>
2344 <action function="set">tw_text2=sure you wish to reboot?</action>
2345 <action function="set">tw_action_text1=Rebooting...</action>
2346 <action function="set">tw_complete_text1=Rebooting...</action>
2347 <action function="set">tw_slider_text=Swipe to Reboot</action>
2348 <action function="page">rebootcheck</action>
2349 </actions>
2350 </object>
2351
2352 <object type="action">
2353 <touch key="home" />
2354 <action function="page">main</action>
2355 </object>
2356
2357 <object type="action">
2358 <touch key="back" />
2359 <action function="page">main</action>
2360 </object>
2361
2362 <object type="template" name="footer" />
2363 </page>
2364
2365 <page name="settings">
2366 <object type="template" name="header" />
2367
2368 <object type="text" color="%text_color%">
2369 <font resource="font" />
2370 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2371 <text>Settings</text>
2372 </object>
2373
2374 <object type="checkbox">
2375 <placement x="%col1_x%" y="%row1_text_y%" />
2376 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002377 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002378 <data variable="tw_signed_zip_verify" />
2379 <image checked="checkbox_true" unchecked="checkbox_false" />
2380 </object>
2381
2382 <object type="checkbox">
2383 <placement x="%col1_x%" y="%row2_text_y%" />
2384 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002385 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <data variable="tw_force_md5_check" />
2387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
2391 <placement x="%col1_x%" y="%row3_text_y%" />
2392 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002393 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <data variable="tw_rm_rf" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
2399 <placement x="%col1_x%" y="%row4_text_y%" />
2400 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002401 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <data variable="tw_skip_md5_generate" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
2407 <placement x="%col1_x%" y="%row5_text_y%" />
2408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <data variable="tw_skip_md5_check" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
2415 <placement x="%col1_x%" y="%row6_text_y%" />
2416 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002417 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <data variable="tw_ignore_image_size" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
2423 <placement x="%col1_x%" y="%row7_text_y%" />
2424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002425 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <data variable="tw_simulate_actions" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
2431 <condition var1="tw_simulate_actions" var2="1" />
2432 <placement x="%col1_x%" y="%row8_text_y%" />
2433 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002434 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <data variable="tw_simulate_fail" />
2436 <image checked="checkbox_true" unchecked="checkbox_false" />
2437 </object>
2438
2439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <placement x="%col1_x%" y="%row3_y%" />
2442 <font resource="font" color="%button_text_color%" />
2443 <text>Time Zone</text>
2444 <image resource="main_button" />
2445 <action function="page">timezone</action>
2446 </object>
2447
2448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002449 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002450 <placement x="%col_center_x%" y="%row4_y%" />
2451 <font resource="font" color="%button_text_color%" />
2452 <text>Restore Defaults</text>
2453 <image resource="main_button" />
2454 <action function="restoredefaultsettings"></action>
2455 </object>
2456
2457 <object type="action">
2458 <touch key="home" />
2459 <action function="page">main</action>
2460 </object>
2461
2462 <object type="action">
2463 <touch key="back" />
2464 <action function="page">main</action>
2465 </object>
2466
2467 <object type="template" name="footer" />
2468 </page>
2469
2470 <page name="timezone">
2471 <object type="template" name="header" />
2472
2473 <object type="text" color="%text_color%">
2474 <font resource="font" />
2475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2476 <text>Select Time Zone</text>
2477 </object>
2478
2479 <object type="listbox">
2480 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2481 <icon selected="radio_true" unselected="radio_false" />
2482 <background color="%listbox_background%" />
2483 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2484 <data name="tw_time_zone_guisel" />
2485 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2486 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2487 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2488 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2489 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2490 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2491 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2492 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2493 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2494 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2495 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2496 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2497 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2498 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2499 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2500 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2501 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2502 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2503 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2504 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2505 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2506 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2507 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2508 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2509 </object>
2510
2511 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002512 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <font resource="font" color="%text_color%" />
2514 <text>Do you use daylight savings time (DST)?</text>
2515 <data variable="tw_time_zone_guidst" />
2516 <image checked="checkbox_true" unchecked="checkbox_false" />
2517 </object>
2518
2519 <object type="text" color="%text_color%">
2520 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002521 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2523 </object>
2524
2525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002526 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002527 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <font resource="font" color="%button_text_color%" />
2529 <text>None</text>
2530 <image resource="medium_button" />
2531 <action function="set">tw_time_zone_guioffset=0</action>
2532 </object>
2533
2534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002535 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002536 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <font resource="font" color="%button_text_color%" />
2538 <text>15</text>
2539 <image resource="medium_button" />
2540 <action function="set">tw_time_zone_guioffset=15</action>
2541 </object>
2542
2543 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002544 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002545 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002546 <font resource="font" color="%button_text_color%" />
2547 <text>30</text>
2548 <image resource="medium_button" />
2549 <action function="set">tw_time_zone_guioffset=30</action>
2550 </object>
2551
2552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002553 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002554 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <font resource="font" color="%button_text_color%" />
2556 <text>45</text>
2557 <image resource="medium_button" />
2558 <action function="set">tw_time_zone_guioffset=45</action>
2559 </object>
2560
2561 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002562 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002563 <placement x="%col_center_x%" y="%tz_set_y%" />
2564 <font resource="font" color="%button_text_color%" />
2565 <text>Set Time Zone</text>
2566 <image resource="main_button" />
2567 <action function="setguitimezone"></action>
2568 </object>
2569
2570 <object type="text" color="%text_color%">
2571 <font resource="font" />
2572 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2573 <text>Current Time Zone: %tw_time_zone%</text>
2574 </object>
2575
2576 <object type="action">
2577 <touch key="home" />
2578 <action function="page">main</action>
2579 </object>
2580
2581 <object type="action">
2582 <touch key="back" />
2583 <action function="page">settings</action>
2584 </object>
2585
2586 <object type="template" name="footer" />
2587 </page>
2588
2589 <page name="advanced">
2590 <object type="template" name="header" />
2591
2592 <object type="text" color="%text_color%">
2593 <font resource="font" />
2594 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2595 <text>Advanced</text>
2596 </object>
2597
2598 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002599 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002600 <placement x="%col1_x%" y="%row1_y%" />
2601 <font resource="font" color="%button_text_color%" />
2602 <text>Copy Log to SD</text>
2603 <image resource="main_button" />
2604 <actions>
2605 <action function="set">tw_back=advanced</action>
2606 <action function="set">tw_action=copylog</action>
2607 <action function="set">tw_text1=Copy Log to SD Card?</action>
2608 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2609 <action function="set">tw_complete_text1=Log Copy Complete</action>
2610 <action function="set">tw_slider_text=Swipe to Confirm</action>
2611 <action function="page">confirm_action</action>
2612 </actions>
2613 </object>
2614
2615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002617 <placement x="%col2_x%" y="%row1_y%" />
2618 <font resource="font" color="%button_text_color%" />
2619 <text>Fix Permissions</text>
2620 <image resource="main_button" />
2621 <actions>
2622 <action function="set">tw_back=advanced</action>
2623 <action function="set">tw_action=fixpermissions</action>
2624 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002625 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2627 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002628 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <action function="page">confirm_action</action>
2630 </actions>
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 <condition var1="tw_allow_partition_sdcard" var2="1" />
2636 <placement x="%col1_x%" y="%row2_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>Partition SD Card</text>
2639 <image resource="main_button" />
2640 <action function="page">partsdcard</action>
2641 </object>
2642
2643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <placement x="%col2_x%" y="%row2_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>File Manager</text>
2648 <image resource="main_button" />
2649 <action function="page">filemanagerlist</action>
2650 </object>
2651
2652 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002653 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002654 <placement x="%col1_x%" y="%row3_y%" />
2655 <font resource="font" color="%button_text_color%" />
2656 <text>Terminal Command</text>
2657 <image resource="main_button" />
2658 <action function="page">terminalfolder</action>
2659 </object>
2660
2661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002662 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002663 <placement x="%col2_x%" y="%row3_y%" />
2664 <font resource="font" color="%button_text_color%" />
2665 <text>Reload Theme</text>
2666 <image resource="main_button" />
2667 <action function="reload"></action>
2668 </object>
2669
2670 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002671 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002672 <placement x="%col1_x%" y="%row4_y%" />
2673 <font resource="font" color="%button_text_color%" />
2674 <text>ADB Sideload</text>
2675 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002676 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002677 </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_show_dumlock" var2="1" />
2682 <placement x="%col2_x%" y="%row4_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text>HTC Dumlock</text>
2685 <image resource="main_button" />
2686 <action function="page">htcdumlock</action>
2687 </object>
2688
2689 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002690 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <condition var1="tw_has_injecttwrp" var2="1" />
2692 <placement x="%col2_x%" y="%row4_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>Re-Inject TWRP</text>
2695 <image resource="main_button" />
2696 <actions>
2697 <action function="set">tw_back=advanced</action>
2698 <action function="set">tw_action=reinjecttwrp</action>
2699 <action function="set">tw_text1=Re-Inject TWRP?</action>
2700 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2701 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2702 <action function="set">tw_slider_text=Swipe to Confirm</action>
2703 <action function="page">confirm_action</action>
2704 </actions>
2705 </object>
2706
2707 <object type="action">
2708 <touch key="home" />
2709 <action function="page">main</action>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="back" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="template" name="footer" />
2718 </page>
2719
2720 <page name="partsdcard">
2721 <object type="template" name="header" />
2722
2723 <object type="text" color="%text_color%">
2724 <font resource="font" />
2725 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2726 <text>Partition SD Card</text>
2727 </object>
2728
2729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <placement x="%col1_x%" y="%row1_y%" />
2732 <font resource="font" color="%button_text_color%" />
2733 <text></text>
2734 <image resource="minus_button" />
2735 <action function="addsubtract">tw_sdext_size-128</action>
2736 </object>
2737
2738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002740 <placement x="%sd_plus_x%" y="%row1_y%" />
2741 <font resource="font" color="%button_text_color%" />
2742 <text></text>
2743 <image resource="plus_button" />
2744 <action function="addsubtract">tw_sdext_size+128</action>
2745 </object>
2746
2747 <object type="text" color="%text_color%">
2748 <font resource="font" />
2749 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2750 <text>EXT Size: %tw_sdext_size%</text>
2751 </object>
2752
2753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <placement x="%col1_x%" y="%sdswap_button_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text></text>
2758 <image resource="minus_button" />
2759 <action function="addsubtract">tw_swap_size-32</action>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text></text>
2767 <image resource="plus_button" />
2768 <action function="addsubtract">tw_swap_size+32</action>
2769 </object>
2770
2771 <object type="text" color="%text_color%">
2772 <font resource="font" />
2773 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2774 <text>Swap Size: %tw_swap_size%</text>
2775 </object>
2776
2777 <object type="text" color="%text_color%">
2778 <font resource="font" />
2779 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2780 <text>File system: %tw_sdpart_file_system%</text>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>EXT3</text>
2788 <image resource="main_button" />
2789 <action function="set">tw_sdpart_file_system=ext3</action>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <condition var1="tw_sdext_disable_ext4" var2="0" />
2795 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>EXT4</text>
2798 <image resource="main_button" />
2799 <action function="set">tw_sdpart_file_system=ext4</action>
2800 </object>
2801
2802 <object type="text" color="%text_color%">
2803 <font resource="font" />
2804 <placement x="%col1_x%" y="%row12_text_y%" />
2805 <text>You will lose all files on your SD card!</text>
2806 </object>
2807
2808 <object type="text" color="%text_color%">
2809 <font resource="font" />
2810 <placement x="%col1_x%" y="%row13_text_y%" />
2811 <text>This action cannot be undone!</text>
2812 </object>
2813
2814 <object type="slider">
2815 <placement x="%slider_x%" y="%slider_y%" />
2816 <resource base="slider" used="slider-used" touch="slider-touch" />
2817 <action function="page">partsdcardaction</action>
2818 <actions>
2819 <action function="set">tw_back=partsdcard</action>
2820 <action function="set">tw_action=partitionsd</action>
2821 <action function="set">tw_has_action2=1</action>
2822 <action function="set">tw_action2=set</action>
2823 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2824 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2825 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002826 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002827 <action function="page">action_page</action>
2828 </actions>
2829 </object>
2830
2831 <object type="text" color="%text_color%">
2832 <font resource="font" />
2833 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2834 <text>Swipe to Partition</text>
2835 </object>
2836
2837 <object type="action">
2838 <touch key="home" />
2839 <action function="page">main</action>
2840 </object>
2841
2842 <object type="action">
2843 <touch key="back" />
2844 <action function="page">advanced</action>
2845 </object>
2846
2847 <object type="template" name="footer" />
2848 </page>
2849
2850 <page name="htcdumlock">
2851 <object type="template" name="header" />
2852
2853 <object type="text" color="%text_color%">
2854 <font resource="font" />
2855 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2856 <text>HTC Dumlock</text>
2857 </object>
2858
2859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002860 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <condition var1="tw_show_dumlock" var2="1" />
2862 <placement x="%col1_x%" y="%row1_y%" />
2863 <font resource="font" color="%button_text_color%" />
2864 <text>Restore Original Boot</text>
2865 <image resource="main_button" />
2866 <actions>
2867 <action function="set">tw_back=htcdumlock</action>
2868 <action function="set">tw_action=htcdumlockrestoreboot</action>
2869 <action function="set">tw_text1=Restore original boot image?</action>
2870 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2871 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2872 <action function="set">tw_slider_text=Swipe to Confirm</action>
2873 <action function="page">confirm_action</action>
2874 </actions>
2875 </object>
2876
2877 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002878 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002879 <condition var1="tw_show_dumlock" var2="1" />
2880 <placement x="%col2_x%" y="%row1_y%" />
2881 <font resource="font" color="%button_text_color%" />
2882 <text>Reflash Recovery</text>
2883 <image resource="main_button" />
2884 <actions>
2885 <action function="set">tw_back=htcdumlock</action>
2886 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2887 <action function="set">tw_text1=Reflash recovery to boot?</action>
2888 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2889 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2890 <action function="set">tw_slider_text=Swipe to Confirm</action>
2891 <action function="page">confirm_action</action>
2892 </actions>
2893 </object>
2894
2895 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002896 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002897 <condition var1="tw_show_dumlock" var2="1" />
2898 <placement x="%col1_x%" y="%row2_y%" />
2899 <font resource="font" color="%button_text_color%" />
2900 <text>Install HTC Dumlock</text>
2901 <image resource="main_button" />
2902 <actions>
2903 <action function="set">tw_back=htcdumlock</action>
2904 <action function="set">tw_action=installhtcdumlock</action>
2905 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2906 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2907 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2908 <action function="set">tw_slider_text=Swipe to Confirm</action>
2909 <action function="page">confirm_action</action>
2910 </actions>
2911 </object>
2912
2913 <object type="action">
2914 <touch key="home" />
2915 <action function="page">main</action>
2916 </object>
2917
2918 <object type="action">
2919 <touch key="back" />
2920 <action function="page">advanced</action>
2921 </object>
2922
2923 <object type="template" name="footer" />
2924 </page>
2925
2926 <page name="lock">
2927 <background color="#000000A0" />
2928
2929 <object type="image">
2930 <image resource="unlock-icon" />
2931 <placement x="%lock_x%" y="%lock_y%" />
2932 </object>
2933
2934 <object type="slider">
2935 <placement x="%slider_x%" y="%slider_y%" />
2936 <resource base="slider" used="slider-used" touch="slider-touch" />
2937 <action function="overlay"></action>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2943 <text>Swipe to Unlock</text>
2944 </object>
2945 </page>
2946
2947 <page name="filemanagerlist">
2948 <object type="template" name="header" />
2949
2950 <object type="text" color="%text_color%">
2951 <font resource="font" />
2952 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2953 <text>File Manager: Select a File or Folder</text>
2954 </object>
2955
2956 <object type="fileselector">
2957 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2958 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2959 <text>%tw_file_location1%</text>
2960 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2961 <sort name="tw_gui_sort_order" />
2962 <icon folder="folder_icon" file="file_icon" />
2963 <background color="%fileselector_background%" />
2964 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2965 <folders="1" files="1" />
2966 <path name="tw_file_location1" default="/" />
2967 <data name="tw_filename1" />
2968 <selection name="tw_selection1" />
2969 </object>
2970
2971 <object type="template" name="sort_options" />
2972
2973 <object type="action">
2974 <actions>
2975 <action function="set">tw_fm_type=File</action>
2976 <action function="set">tw_fm_isfolder=0</action>
2977 </actions>
2978 </object>
2979
2980 <object type="action">
2981 <touch key="home" />
2982 <action function="page">main</action>
2983 </object>
2984
2985 <object type="action">
2986 <touch key="back" />
2987 <action function="page">advanced</action>
2988 </object>
2989
2990 <object type="action">
2991 <condition var1="tw_filename1" op="modified" />
2992 <actions>
2993 <action function="page">filemanageroptions</action>
2994 </actions>
2995 </object>
2996
2997 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002998 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002999 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3000 <font resource="font" color="%button_text_color%" />
3001 <text>Select</text>
3002 <image resource="medium_button" />
3003 <actions>
3004 <action function="set">tw_filename1=tw_file_location1</action>
3005 <action function="set">tw_fm_isfolder=1</action>
3006 <action function="set">tw_fm_type=Folder</action>
3007 <action function="page">filemanageroptions</action>
3008 </actions>
3009 </object>
3010
3011 <object type="template" name="footer" />
3012 </page>
3013
3014 <page name="filemanageroptions">
3015 <object type="template" name="header" />
3016
3017 <object type="text" color="%text_color%">
3018 <font resource="font" />
3019 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3020 <text>%tw_fm_type% Selected:</text>
3021 </object>
3022
3023 <object type="text" color="%text_color%">
3024 <font resource="font" />
3025 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3026 <text>%tw_filename1%</text>
3027 </object>
3028
3029 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003030 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003031 <condition var1="tw_fm_isfolder" var2="0" />
3032 <placement x="%col1_x%" y="%row2_y%" />
3033 <font resource="font" color="%button_text_color%" />
3034 <text>Copy File</text>
3035 <image resource="main_button" />
3036 <actions>
3037 <action function="set">tw_filemanager_command=cp</action>
3038 <action function="set">tw_fm_text1=Copying</action>
3039 <action function="page">choosedestinationfolder</action>
3040 </actions>
3041 </object>
3042
3043 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003044 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003045 <condition var1="tw_fm_isfolder" var2="1" />
3046 <placement x="%col1_x%" y="%row2_y%" />
3047 <font resource="font" color="%button_text_color%" />
3048 <text>Copy Folder</text>
3049 <image resource="main_button" />
3050 <actions>
3051 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3052 <action function="set">tw_fm_text1=Copying</action>
3053 <action function="page">choosedestinationfolder</action>
3054 </actions>
3055 </object>
3056
3057 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003058 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003059 <placement x="%col2_x%" y="%row2_y%" />
3060 <font resource="font" color="%button_text_color%" />
3061 <text>Move</text>
3062 <image resource="main_button" />
3063 <actions>
3064 <action function="set">tw_filemanager_command=mv</action>
3065 <action function="set">tw_fm_text1=Moving</action>
3066 <action function="page">choosedestinationfolder</action>
3067 </actions>
3068 </object>
3069
3070 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003071 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003072 <placement x="%col1_x%" y="%row3_y%" />
3073 <font resource="font" color="%button_text_color%" />
3074 <text>chmod 755</text>
3075 <image resource="main_button" />
3076 <actions>
3077 <action function="set">tw_filemanager_command=chmod 755</action>
3078 <action function="set">tw_fm_text1=chmod 755</action>
3079 <action function="set">tw_fm_text2=</action>
3080 <action function="set">tw_fm_text3=</action>
3081 <action function="set">tw_include_text3=0</action>
3082 <action function="set">tw_back=filemanageroptions</action>
3083 <action function="page">filemanagerconfirm</action>
3084 </actions>
3085 </object>
3086
3087 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003088 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003089 <placement x="%col2_x%" y="%row3_y%" />
3090 <font resource="font" color="%button_text_color%" />
3091 <text>chmod</text>
3092 <image resource="main_button" />
3093 <actions>
3094 <action function="set">tw_filemanager_rename=0000</action>
3095 <action function="set">tw_fm_text2=</action>
3096 <action function="set">tw_fm_text3=</action>
3097 <action function="set">tw_include_text3=0</action>
3098 <action function="set">tw_back=filemanageroptions</action>
3099 <action function="page">filemanagerchmod</action>
3100 </actions>
3101 </object>
3102
3103 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003104 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003105 <placement x="%col1_x%" y="%row4_y%" />
3106 <font resource="font" color="%button_text_color%" />
3107 <text>Delete</text>
3108 <image resource="main_button" />
3109 <actions>
3110 <action function="set">tw_filemanager_command=rm -rf</action>
3111 <action function="set">tw_fm_text1=Deleting</action>
3112 <action function="set">tw_fm_text2=</action>
3113 <action function="set">tw_fm_text3=</action>
3114 <action function="set">tw_include_text3=0</action>
3115 <action function="set">tw_back=filemanageroptions</action>
3116 <action function="page">filemanagerconfirm</action>
3117 </actions>
3118 </object>
3119
3120 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003121 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <condition var1="tw_fm_isfolder" var2="0" />
3123 <placement x="%col2_x%" y="%row4_y%" />
3124 <font resource="font" color="%button_text_color%" />
3125 <text>Rename File</text>
3126 <image resource="main_button" />
3127 <actions>
3128 <action function="set">tw_filemanager_rename=tw_selection1</action>
3129 <action function="set">tw_fm_text1=Renaming</action>
3130 <action function="set">tw_filemanager_command=mv</action>
3131 <action function="page">filemanagerrenamefile</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <condition var1="tw_fm_isfolder" var2="1" />
3138 <placement x="%col2_x%" y="%row4_y%" />
3139 <font resource="font" color="%button_text_color%" />
3140 <text>Rename Folder</text>
3141 <image resource="main_button" />
3142 <actions>
3143 <action function="set">tw_filemanager_rename=tw_selection1</action>
3144 <action function="set">tw_fm_text1=Renaming</action>
3145 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3146 <action function="page">filemanagerrenamefolder</action>
3147 </actions>
3148 </object>
3149
3150 <object type="action">
3151 <touch key="home" />
3152 <action function="page">main</action>
3153 </object>
3154
3155 <object type="action">
3156 <touch key="back" />
3157 <action function="page">filemanagerlist</action>
3158 </object>
3159
3160 <object type="template" name="footer" />
3161 </page>
3162
3163 <page name="choosedestinationfolder">
3164 <object type="template" name="header" />
3165
3166 <object type="text" color="%text_color%">
3167 <font resource="font" />
3168 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3169 <text>Browse to Destination Folder & Press Select</text>
3170 </object>
3171
3172 <object type="fileselector">
3173 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3174 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3175 <text>%tw_file_location2%</text>
3176 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3177 <sort name="tw_gui_sort_order" />
3178 <icon folder="folder_icon" file="file_icon" />
3179 <background color="%fileselector_background%" />
3180 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3181 <filter folders="1" files="0" />
3182 <path name="tw_file_location2" default="/" />
3183 <data name="tw_filename2" />
3184 <selection name="tw_selection2" />
3185 </object>
3186
3187 <object type="template" name="sort_options" />
3188
3189 <object type="action">
3190 <touch key="home" />
3191 <action function="page">main</action>
3192 </object>
3193
3194 <object type="action">
3195 <touch key="back" />
3196 <action function="page">filemanageroptions</action>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3202 <font resource="font" color="%button_text_color%" />
3203 <text>Select</text>
3204 <image resource="medium_button" />
3205 <actions>
3206 <action function="set">tw_fm_text2=to</action>
3207 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3208 <action function="set">tw_include_text3=1</action>
3209 <action function="set">tw_back=filemanageroptions</action>
3210 <action function="page">filemanagerconfirm</action>
3211 </actions>
3212 </object>
3213
3214 <object type="template" name="footer" />
3215 </page>
3216
3217 <page name="filemanagerrenamefile">
3218 <object type="template" name="header" />
3219
3220 <object type="text" color="%text_color%">
3221 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3222 <font resource="font" />
3223 <text>Please Enter a New %tw_fm_type% Name</text>
3224 </object>
3225
3226 <object type="input">
3227 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3228 <background color="%input_background_color%" />
3229 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3230 <font resource="font" color="%text_color%" />
3231 <text>%tw_filemanager_rename%</text>
3232 <data name="tw_filemanager_rename" />
3233 <restrict minlen="1" maxlen="128" />
3234 <actions>
3235 <action function="set">tw_fm_text2=to</action>
3236 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3237 <action function="set">tw_include_text3=1</action>
3238 <action function="set">tw_back=filemanageroptions</action>
3239 <action function="page">filemanagerconfirm</action>
3240 </actions>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <placement x="%col_center_x%" y="%row2_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>Cancel</text>
3248 <image resource="main_button" />
3249 <action function="page">filemanageroptions</action>
3250 </object>
3251
3252 <object type="template" name="keyboardtemplate" />
3253
3254 <object type="action">
3255 <touch key="home" />
3256 <action function="page">main</action>
3257 </object>
3258
3259 <object type="action">
3260 <touch key="back" />
3261 <action function="page">filemanageroptions</action>
3262 </object>
3263
3264 <object type="template" name="footer" />
3265 </page>
3266
3267 <page name="filemanagerrenamefolder">
3268 <object type="template" name="header" />
3269
3270 <object type="text" color="%text_color%">
3271 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3272 <font resource="font" />
3273 <text>Please Enter a New %tw_fm_type% Name</text>
3274 </object>
3275
3276 <object type="input">
3277 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3278 <background color="%input_background_color%" />
3279 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3280 <font resource="font" color="%text_color%" />
3281 <text>%tw_filemanager_rename%</text>
3282 <data name="tw_filemanager_rename" />
3283 <restrict minlen="1" maxlen="128" />
3284 <actions>
3285 <action function="set">tw_fm_text2=to</action>
3286 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3287 <action function="set">tw_include_text3=1</action>
3288 <action function="set">tw_back=filemanageroptions</action>
3289 <action function="page">filemanagerconfirm</action>
3290 </actions>
3291 </object>
3292
3293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003295 <placement x="%col_center_x%" y="%row2_y%" />
3296 <font resource="font" color="%button_text_color%" />
3297 <text>Cancel</text>
3298 <image resource="main_button" />
3299 <action function="page">filemanageroptions</action>
3300 </object>
3301
3302 <object type="template" name="keyboardtemplate" />
3303
3304 <object type="action">
3305 <touch key="home" />
3306 <action function="page">main</action>
3307 </object>
3308
3309 <object type="action">
3310 <touch key="back" />
3311 <action function="page">filemanageroptions</action>
3312 </object>
3313
3314 <object type="template" name="footer" />
3315 </page>
3316
3317 <page name="filemanagerchmod">
3318 <object type="template" name="header" />
3319
3320 <object type="text" color="%text_color%">
3321 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3322 <font resource="font" />
3323 <text>Please Enter New Permissions</text>
3324 </object>
3325
3326 <object type="input">
3327 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3328 <background color="%input_background_color%" />
3329 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3330 <font resource="font" color="%text_color%" />
3331 <text>%tw_filemanager_rename%</text>
3332 <data name="tw_filemanager_rename" />
3333 <restrict minlen="3" maxlen="4" allow="0123456789" />
3334 <actions>
3335 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3336 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3337 <action function="set">tw_back=filemanageroptions</action>
3338 <action function="page">filemanagerconfirm</action>
3339 </actions>
3340 </object>
3341
3342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003344 <placement x="%col_center_x%" y="%row2_y%" />
3345 <font resource="font" color="%button_text_color%" />
3346 <text>Cancel</text>
3347 <image resource="main_button" />
3348 <action function="page">filemanageroptions</action>
3349 </object>
3350
3351 <object type="template" name="keyboardtemplate" />
3352
3353 <object type="action">
3354 <touch key="home" />
3355 <action function="page">main</action>
3356 </object>
3357
3358 <object type="action">
3359 <touch key="back" />
3360 <action function="page">filemanageroptions</action>
3361 </object>
3362
3363 <object type="template" name="footer" />
3364 </page>
3365
3366 <page name="filemanagerconfirm">
3367 <object type="template" name="header" />
3368
3369 <object type="text" color="%text_color%">
3370 <font resource="font" />
3371 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3372 <text>%tw_fm_text1%</text>
3373 </object>
3374
3375 <object type="text" color="%text_color%">
3376 <font resource="font" />
3377 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3378 <text>%tw_filename1%</text>
3379 </object>
3380
3381 <object type="text" color="%text_color%">
3382 <font resource="font" />
3383 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3384 <text>%tw_fm_text2%</text>
3385 </object>
3386
3387 <object type="text" color="%text_color%">
3388 <font resource="font" />
3389 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3390 <text>%tw_fm_text3%</text>
3391 </object>
3392
3393 <object type="text" color="%text_color%">
3394 <font resource="font" />
3395 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3396 <text>Press back button to cancel.</text>
3397 </object>
3398
3399 <object type="slider">
3400 <placement x="%slider_x%" y="%slider_y%" />
3401 <resource base="slider" used="slider-used" touch="slider-touch" />
3402 <action function="page">filemanageracction</action>
3403 </object>
3404
3405 <object type="text" color="%text_color%">
3406 <font resource="font" />
3407 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3408 <text>Swipe to Confirm</text>
3409 </object>
3410
3411 <object type="action">
3412 <touch key="back" />
3413 <action function="page">%tw_back%</action>
3414 </object>
3415
3416 <object type="action">
3417 <touch key="home" />
3418 <action function="page">main</action>
3419 </object>
3420
3421 <object type="template" name="footer" />
3422 </page>
3423
3424 <page name="filemanageracction">
3425 <object type="template" name="header" />
3426
3427 <object type="text" color="%text_color%">
3428
3429 <font resource="font" />
3430 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3431 <text>%tw_fm_text1%</text>
3432 </object>
3433
3434 <object type="template" name="action_page_console" />
3435
3436 <object type="template" name="progress_bar" />
3437
3438 <object type="action">
3439 <conditions>
3440 <condition var1="tw_operation_state" var2="1" />
3441 <condition var1="tw_operation_status" var2="0" />
3442 </conditions>
3443 <actions>
3444 <action function="set">tw_back=filemanagerlist</action>
3445 <action function="set">tw_complete_text1=File Operation Complete</action>
3446 <action function="page">action_complete</action>
3447 </actions>
3448 </object>
3449
3450 <object type="action">
3451 <conditions>
3452 <condition var1="tw_operation_state" var2="1" />
3453 <condition var1="tw_operation_status" op="!=" var2="0" />
3454 </conditions>
3455 <actions>
3456 <action function="set">tw_complete_text1=File Operation Complete</action>
3457 <action function="page">action_complete</action>
3458 </actions>
3459 </object>
3460
3461 <object type="action">
3462 <condition var1="tw_include_text3" var2="0" />
3463 <actions>
3464 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3465 </actions>
3466 </object>
3467
3468 <object type="action">
3469 <condition var1="tw_include_text3" var2="1" />
3470 <actions>
3471 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3472 </actions>
3473 </object>
3474 </page>
3475
3476 <page name="decrypt">
3477 <object type="template" name="header" />
3478
3479 <object type="text" color="%text_color%">
3480 <font resource="font" />
3481 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3482 <text>Please Enter Your Password</text>
3483 </object>
3484
3485 <object type="input">
3486 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3487 <background color="%input_background_color%" />
3488 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3489 <font resource="font" color="%text_color%" />
3490 <text>%tw_crypto_display%</text>
3491 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3492 <restrict minlen="1" maxlen="254" />
3493 <actions>
3494 <action function="page">trydecrypt</action>
3495 </actions>
3496 </object>
3497
3498 <object type="text" color="%text_fail_color%">
3499 <condition var1="tw_password_fail" var2="1" />
3500 <font resource="font" />
3501 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3502 <text>Password Failed, Please Try Again</text>
3503 </object>
3504
3505 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003506 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003507 <placement x="%col_center_x%" y="%row2_y%" />
3508 <font resource="font" color="%button_text_color%" />
3509 <text>Cancel</text>
3510 <image resource="main_button" />
3511 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003512 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003513 <action function="page">main</action>
3514 </actions>
3515 </object>
3516
3517 <object type="template" name="keyboardtemplate" />
3518
Dees_Troy51a0e822012-09-05 15:24:24 -04003519 <object type="template" name="footer" />
3520 </page>
3521
3522 <page name="trydecrypt">
3523 <object type="template" name="header" />
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3528 <text>Trying Decryption with Your Password</text>
3529 </object>
3530
3531 <object type="template" name="action_page_console" />
3532
3533 <object type="template" name="progress_bar" />
3534
3535 <object type="action">
3536 <action function="decrypt"></action>
3537 </object>
3538
3539 <object type="action">
3540 <conditions>
3541 <condition var1="tw_operation_state" var2="1" />
3542 <condition var1="tw_operation_status" op="!=" var2="0" />
3543 </conditions>
3544 <actions>
3545 <action function="set">tw_password_fail=1</action>
3546 <action function="page">decrypt</action>
3547 </actions>
3548 </object>
3549
3550 <object type="action">
3551 <conditions>
3552 <condition var1="tw_operation_state" var2="1" />
3553 <condition var1="tw_operation_status" op="=" var2="0" />
3554 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003555 <actions>
3556 <action function="set">tw_page_done=1</action>
3557 <action function="page">main</action>
3558 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003559 </object>
3560 </page>
3561
3562 <page name="terminalfolder">
3563 <object type="template" name="header" />
3564
3565 <object type="text" color="%text_color%">
3566 <font resource="font" />
3567 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3568 <text>Browse to Starting Folder</text>
3569 </object>
3570
3571 <object type="fileselector">
3572 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3573 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3574 <text>%tw_terminal_location%</text>
3575 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3576 <sort name="tw_gui_sort_order" />
3577 <icon folder="folder_icon" file="file_icon" />
3578 <background color="%fileselector_background%" />
3579 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3580 <filter folders="1" files="0" />
3581 <path name="tw_terminal_location" default="/" />
3582 <data name="tw_terminal" />
3583 <selection name="tw_terminal_selection" />
3584 </object>
3585
3586 <object type="template" name="sort_options" />
3587
3588 <object type="action">
3589 <touch key="home" />
3590 <action function="page">main</action>
3591 </object>
3592
3593 <object type="action">
3594 <touch key="back" />
3595 <action function="page">advanced</action>
3596 </object>
3597
3598 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003599 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003600 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3601 <font resource="font" color="%button_text_color%" />
3602 <text>Select</text>
3603 <image resource="medium_button" />
3604 <actions>
3605 <action function="page">terminalcommand</action>
3606 </actions>
3607 </object>
3608
3609 <object type="template" name="footer" />
3610 </page>
3611
3612 <page name="terminalcommand">
3613 <object type="template" name="header" />
3614
3615 <object type="console">
3616 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3617 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3618 <font resource="fixed" />
3619 </object>
3620
3621 <object type="text" color="%text_color%">
3622 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3623 <font resource="font" />
3624 <text>Starting Path: %tw_terminal_location%</text>
3625 </object>
3626
3627 <object type="input">
3628 <condition var1="tw_terminal_state" var2="0" />
3629 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3630 <background color="%input_background_color%" />
3631 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3632 <font resource="font" color="%text_color%" />
3633 <text>%tw_terminal_command%</text>
3634 <data name="tw_terminal_command" />
3635 <restrict minlen="1" />
3636 <action function="terminalcommand">%tw_terminal_command%</action>
3637 </object>
3638
3639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003641 <condition var1="tw_terminal_state" var2="1" />
3642 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3643 <font resource="font" color="%button_text_color%" />
3644 <text>KILL</text>
3645 <image resource="medium_button" />
3646 <action function="killterminal"></action>
3647 </object>
3648
3649 <object type="template" name="keyboardtemplate" />
3650
3651 <object type="action">
3652 <touch key="home" />
3653 <action function="page">main</action>
3654 </object>
3655
3656 <object type="action">
3657 <touch key="back" />
3658 <action function="page">terminalfolder</action>
3659 </object>
3660 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003661
3662 <page name="sideload">
3663 <object type="template" name="header" />
3664
3665 <object type="text" color="%text_color%">
3666 <font resource="font" />
3667 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3668 <text>ADB Sideload</text>
3669 </object>
3670
3671 <object type="checkbox">
3672 <placement x="%col1_x%" y="%row2_text_y%" />
3673 <font resource="font" color="%text_color%" />
3674 <text>Wipe Dalvik Cache.</text>
3675 <data variable="tw_wipe_dalvik" />
3676 <image checked="checkbox_true" unchecked="checkbox_false" />
3677 </object>
3678
3679 <object type="checkbox">
3680 <placement x="%col1_x%" y="%row3_text_y%" />
3681 <font resource="font" color="%text_color%" />
3682 <text>Wipe Cache.</text>
3683 <data variable="tw_wipe_cache" />
3684 <image checked="checkbox_true" unchecked="checkbox_false" />
3685 </object>
3686
3687 <object type="slider">
3688 <placement x="%slider_x%" y="%slider_y%" />
3689 <resource base="slider" used="slider-used" touch="slider-touch" />
3690 <actions>
3691 <action function="set">tw_back=advanced</action>
3692 <action function="set">tw_action=adbsideload</action>
3693 <action function="set">tw_action_text1=ADB Sideload</action>
3694 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3695 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3696 <action function="set">tw_has_cancel=1</action>
3697 <action function="set">tw_show_reboot=1</action>
3698 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3699 <action function="page">action_page</action>
3700 </actions>
3701 </object>
3702
3703 <object type="text" color="%text_color%">
3704 <font resource="font" />
3705 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3706 <text>Swipe to Start Sideload</text>
3707 </object>
3708
3709 <object type="action">
3710 <touch key="home" />
3711 <action function="page">main</action>
3712 </object>
3713
3714 <object type="action">
3715 <touch key="back" />
3716 <action function="page">advanced</action>
3717 </object>
3718
3719 <object type="template" name="footer" />
3720 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003721 </pages>
3722</recovery>