blob: fcb527a61ebfe40ef334076188c880a3de6d91a7 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" 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="25" />
Dees_Troyb46a6842012-09-25 11:06:46 -040047 <variable name="col2_x" value="425" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="50" />
101 <variable name="home_button_y" value="1226" />
102 <variable name="back_button_x" value="666" />
103 <variable name="back_button_y" value="1226" />
104 <variable name="sort_text_x" value="85" />
105 <variable name="sort_asc_text_y" value="1090" />
106 <variable name="sort_asc_button_y" value="1080" />
107 <variable name="sort_desc_text_y" value="1150" />
108 <variable name="sort_desc_button_y" value="1140" />
109 <variable name="sort_col1_button_x" value="330" />
110 <variable name="sort_col2_button_x" value="430" />
111 <variable name="sort_col3_button_x" value="530" />
112 <variable name="input_width" value="750" />
113 <variable name="input_height" value="50" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="3" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="800" />
119 <variable name="console_foreground" value="#A0A0A0" />
120 <variable name="console_background" value="#303030" />
121 <variable name="console_scroll" value="#303030" />
122 <variable name="console_action_height" value="470" />
123 <variable name="console_install_height" value="600" />
124 <variable name="console_installdone_height" value="440" />
125 <variable name="fileselector_x" value="5" />
126 <variable name="fileselector_width" value="800" />
127 <variable name="fileselector_install_height" value="750" />
128 <variable name="fileselector_header_background" value="#202020" />
129 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
130 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
131 <variable name="fileselector_header_separatorheight" value="3" />
132 <variable name="fileselector_separatorcolor" value="#505050" />
133 <variable name="fileselector_separatorheight" value="2" />
134 <variable name="fileselector_background" value="#303030" />
135 <variable name="fileselector_spacing" value="36"/>
136 <variable name="listbox_x" value="5" />
137 <variable name="listbox_width" value="710" />
138 <variable name="listbox_tz_height" value="540" />
139 <variable name="listbox_background" value="#303030" />
140 <variable name="listbox_spacing" value="16" />
141 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400142 <variable name="sdext_text_x" value="115" />
143 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400145 <variable name="sdswap_text_x" value="115" />
146 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="sdfilesystem_text_y" value="340" />
148 <variable name="sdfilesystem_button_y" value="380" />
149 <variable name="lock_x" value="200" />
150 <variable name="lock_y" value="400" />
151 <variable name="filemanager_select_x" value="320" />
152 <variable name="filemanager_select_y" value="950" />
153 <variable name="backup_name_y" value="550" />
154 <variable name="terminal_console_height" value="600" />
155 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400156 <variable name="terminal_button_y" value="620" />
157 <variable name="row_dst_text_y" value="720" />
158 <variable name="row_offset_text_y" value="800" />
159 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400160 <variable name="exclamation_x" value="200" />
161 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400162 </variables>
163
164 <templates>
165 <template name="header">
166 <background color="#000000FF" />
167
168 <object type="image">
169 <image resource="top_bar" />
170 <placement x="0" y="0" />
171 </object>
172
173 <object type="text" color="%text_color%">
174 <font resource="font" />
175 <placement x="120" y="10" />
176 <text>Team Win Recovery Project v%tw_version%</text>
177 </object>
178
179 <object type="text" color="%text_color%">
180 <condition var1="tw_simulate_actions" var2="1" />
181 <font resource="font" />
182 <placement x="120" y="45" />
183 <text>SIMULATING ACTIONS</text>
184 </object>
185
186 <object type="text" color="%text_color%">
187 <font resource="font" />
188 <placement x="120" y="76" />
189 <text>%tw_time%</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="270" y="76" />
195 <conditions>
196 <condition var1="tw_no_battery_percent" var2="0" />
197 <condition var1="tw_battery" op=">" var2="0" />
198 <condition var1="tw_battery" op="<" var2="101" />
199 </conditions>
200 <text>Battery: %tw_battery%</text>
201 </object>
202
203 <object type="button">
204 <placement x="%home_button_x%" y="%home_button_y%" />
205 <font resource="font" color="%button_text_color%" />
206 <text></text>
207 <image resource="home_icon" />
208 <condition var1="tw_busy" var2="0" />
209 <action function="key">home</action>
210 </object>
211
212 <object type="button">
213 <placement x="%back_button_x%" y="%back_button_y%" />
214 <font resource="font" color="%button_text_color%" />
215 <text></text>
216 <image resource="back_icon" />
217 <condition var1="tw_busy" var2="0" />
218 <action function="key">back</action>
219 </object>
220
221 <object type="action">
222 <touch key="power" />
223 <action function="overlay">lock</action>
224 </object>
225 </template>
226
227 <template name="progress_bar">
228 <object type="progressbar">
229 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
230 <resource empty="progress_empty" full="progress_full" />
231 <data name="ui_progress" />
232 </object>
233
234 <object type="animation">
235 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
236 <resource name="progress" />
237 <speed fps="15" render="2" />
238 <loop frame="1" />
239 </object>
240 </template>
241
242 <template name="sort_options">
243 <object type="text" color="%text_color%">
244 <font resource="font" />
245 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
246 <text>Sort Ascending:</text>
247 </object>
248
249 <object type="button">
250 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text>Name</text>
253 <image resource="sort_button" />
254 <action function="set">tw_gui_sort_order=1</action>
255 </object>
256
257 <object type="button">
258 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
259 <font resource="font" color="%button_text_color%" />
260 <text>Date</text>
261 <image resource="sort_button" />
262 <action function="set">tw_gui_sort_order=2</action>
263 </object>
264
265 <object type="button">
266 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
267 <font resource="font" color="%button_text_color%" />
268 <text>Size</text>
269 <image resource="sort_button" />
270 <action function="set">tw_gui_sort_order=3</action>
271 </object>
272
273 <object type="text" color="%text_color%">
274 <font resource="font" />
275 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
276 <text>Sort Descending:</text>
277 </object>
278
279 <object type="button">
280 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
281 <font resource="font" color="%button_text_color%" />
282 <text>Name</text>
283 <image resource="sort_button" />
284 <action function="set">tw_gui_sort_order=-1</action>
285 </object>
286
287 <object type="button">
288 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
289 <font resource="font" color="%button_text_color%" />
290 <text>Date</text>
291 <image resource="sort_button" />
292 <action function="set">tw_gui_sort_order=-2</action>
293 </object>
294
295 <object type="button">
296 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
297 <font resource="font" color="%button_text_color%" />
298 <text>Size</text>
299 <image resource="sort_button" />
300 <action function="set">tw_gui_sort_order=-3</action>
301 </object>
302 </template>
303
304 <template name="action_page_console">
305 <object type="console">
306 <placement x="0" y="%row3_text_y%" w="800" h="600" />
307 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
308 <font resource="fixed" />
309 </object>
310 </template>
311
312 <template name="footer">
313 <object type="console">
314 <slideout resource="slideout" x="355" y="1220" />
315 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
316 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
317 <font resource="fixed" />
318 </object>
319 </template>
320
321 <template name="keyboardtemplate">
322 <object type="keyboard">
323 <placement x="0" y="740" />
324 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600325 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400326 <layout1>
327 <keysize height="115" width="80" />
328 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
329 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
330 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000331 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 </layout1>
333 <layout2>
334 <keysize height="116" width="80" />
335 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
336 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
337 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
338 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
339 </layout2>
340 <layout3>
341 <keysize height="115" width="80" />
342 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
343 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
344 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
345 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
346 </layout3>
347 <layout4>
348 <keysize height="116" width="80" />
349 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
350 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
351 <row3 key01="115:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="108:c:8" />
352 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
353 </layout4>
354 </object>
355 </template>
356 </templates>
357
358 <pages>
359 <page name="main">
360 <object type="action">
361 <actions>
362 <action function="set">tw_clear_destination=main2</action>
363 <action function="page">clear_vars</action>
364 </actions>
365 </object>
366 </page>
367
368 <page name="main2">
369 <object type="template" name="header" />
370
371 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600372 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400373 <placement x="%col1_x%" y="%row1_y%" />
374 <font resource="font" color="%button_text_color%" />
375 <text>Install</text>
376 <image resource="main_button" />
377 <actions>
378 <action function="queueclear"></action>
379 <action function="page">install</action>
380 </actions>
381 </object>
382
383 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600384 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400385 <placement x="%col2_x%" y="%row1_y%" />
386 <font resource="font" color="%button_text_color%" />
387 <text>Wipe</text>
388 <image resource="main_button" />
389 <action function="page">wipe</action>
390 </object>
391
392 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600393 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400394 <placement x="%col1_x%" y="%row2_y%" />
395 <font resource="font" color="%button_text_color%" />
396 <text>Backup</text>
397 <image resource="main_button" />
398 <action function="page">backup</action>
399 </object>
400
401 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600402 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400403 <placement x="%col2_x%" y="%row2_y%" />
404 <font resource="font" color="%button_text_color%" />
405 <text>Restore</text>
406 <image resource="main_button" />
407 <action function="page">restore</action>
408 </object>
409
410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400412 <placement x="%col1_x%" y="%row3_y%" />
413 <font resource="font" color="%button_text_color%" />
414 <text>Mount</text>
415 <image resource="main_button" />
416 <action function="page">mount</action>
417 </object>
418
419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400421 <placement x="%col2_x%" y="%row3_y%" />
422 <font resource="font" color="%button_text_color%" />
423 <text>Settings</text>
424 <image resource="main_button" />
425 <action function="page">settings</action>
426 </object>
427
Dees_Troyb46a6842012-09-25 11:06:46 -0400428
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400431 <placement x="%col1_x%" y="%row4_y%" />
432 <font resource="font" color="%button_text_color%" />
433 <text>Advanced</text>
434 <image resource="main_button" />
435 <action function="page">advanced</action>
436 </object>
437
438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400440 <placement x="%col2_x%" y="%row4_y%" />
441 <font resource="font" color="%button_text_color%" />
442 <text>Reboot</text>
443 <image resource="main_button" />
444 <action function="page">reboot</action>
445 </object>
446
447 <object type="template" name="footer" />
448 </page>
449
450 <page name="install">
451 <object type="template" name="header" />
452
453 <object type="text" color="%text_color%">
454 <font resource="font" />
455 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
456 <text>Select Zip to Install</text>
457 </object>
458
459 <object type="button">
460 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400461 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400462 <conditions>
463 <condition var1="tw_has_dual_storage" var2="1" />
464 <condition var1="tw_use_external_storage" var2="1" />
465 </conditions>
466 <text>Use external SD</text>
467 <image resource="radio_true" />
468 <action function="togglestorage">external</action>
469 </object>
470
471 <object type="button">
472 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400473 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <conditions>
475 <condition var1="tw_has_dual_storage" var2="1" />
476 <condition var1="tw_use_external_storage" var2="0" />
477 </conditions>
478 <text>Use external SD</text>
479 <image resource="radio_false" />
480 <action function="togglestorage">external</action>
481 </object>
482
483 <object type="button">
484 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400485 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 <conditions>
487 <condition var1="tw_has_dual_storage" var2="1" />
488 <condition var1="tw_use_external_storage" var2="1" />
489 </conditions>
490 <text>Use internal storage</text>
491 <image resource="radio_false" />
492 <action function="togglestorage">internal</action>
493 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400494
Dees_Troy51a0e822012-09-05 15:24:24 -0400495 <object type="button">
496 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400497 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <conditions>
499 <condition var1="tw_has_dual_storage" var2="1" />
500 <condition var1="tw_use_external_storage" var2="0" />
501 </conditions>
502 <text>Use internal storage</text>
503 <image resource="radio_true" />
504 <action function="togglestorage">internal</action>
505 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400506
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <object type="fileselector">
508 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
509 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
510 <text>%tw_zip_location%</text>
511 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
512 <sort name="tw_gui_sort_order" />
513 <icon folder="folder_icon" file="file_icon" />
514 <background color="%fileselector_background%" />
515 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
516 <filter extn=".zip" folders="1" files="1" />
517 <path name="tw_zip_location" default="/sdcard" />
518 <data name="tw_filename" />
519 <selection name="tw_file" />
520 </object>
521
522 <object type="template" name="sort_options" />
523
524 <object type="action">
525 <condition var1="tw_filename" op="modified" />
526 <actions>
527 <action function="queuezip"></action>
528 <action function="page">flash_confirm</action>
529 </actions>
530 </object>
531
532 <object type="action">
533 <touch key="back" />
534 <action function="page">main</action>
535 </object>
536
537 <object type="action">
538 <touch key="home" />
539 <action function="page">main</action>
540 </object>
541
542 <object type="template" name="footer" />
543 </page>
544
545 <page name="flash_confirm">
546 <object type="template" name="header" />
547
548 <object type="text" color="%text_color%">
549 <font resource="font" />
550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
551 <text>This operation may install incompatible</text>
552 </object>
553
554 <object type="text" color="%text_color%">
555 <font resource="font" />
556 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
557 <text>software and render your device unusable.</text>
558 </object>
559
560 <object type="text" color="%text_color%">
561 <font resource="font" />
562 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
563 <text>Folder:</text>
564 </object>
565
566 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400567 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
569 <text>%tw_zip_location%</text>
570 </object>
571
572 <object type="text" color="%text_color%">
573 <font resource="font" />
574 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
575 <text>File to flash:</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="%row6_text_y%" placement="5" />
581 <text>%tw_file%</text>
582 </object>
583
584 <object type="text" color="%text_color%">
585 <font resource="font" />
586 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
587 <text>Press back to cancel adding this zip.</text>
588 </object>
589
590 <object type="checkbox">
591 <placement x="%col1_x%" y="%row8_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_signed_zip_verify" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="checkbox">
599 <placement x="%col1_x%" y="%row9_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_force_md5_check" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="checkbox">
607 <condition var1="tw_has_injecttwrp" var2="1" />
608 <placement x="%col1_x%" y="%row10_text_y%" />
609 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400610 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <data variable="tw_inject_after_zip" />
612 <image checked="checkbox_true" unchecked="checkbox_false" />
613 </object>
614
615 <object type="text" color="%text_color%">
616 <font resource="font" />
617 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
618 <text>File %tw_zip_queue_count% of max of 10</text>
619 </object>
620
621 <object type="slider">
622 <placement x="%slider_x%" y="%slider_y%" placement="5" />
623 <resource base="slider" used="slider-used" touch="slider-touch" />
624 <action function="flash">flash_zip</action>
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="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <text>Swipe to Confirm Flash</text>
631 </object>
632
633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400635 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
636 <placement x="%col1_x%" y="%row_queue_y%" />
637 <font resource="font" color="%button_text_color%" />
638 <text>Add More Zips</text>
639 <image resource="main_button" />
640 <action function="page">install</action>
641 </object>
642
643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400645 <placement x="%col2_x%" y="%row_queue_y%" />
646 <font resource="font" color="%button_text_color%" />
647 <text>Clear Zip Queue</text>
648 <image resource="main_button" />
649 <actions>
650 <action function="queueclear"></action>
651 <action function="page">install</action>
652 </actions>
653 </object>
654
655 <object type="action">
656 <touch key="back" />
657 <actions>
658 <action function="cancelzip"></action>
659 <action function="page">install</action>
660 </actions>
661 </object>
662
663 <object type="action">
664 <touch key="home" />
665 <action function="page">main</action>
666 </object>
667
668 <object type="template" name="footer" />
669 </page>
670
671 <page name="flash_zip">
672 <object type="template" name="header" />
673
674 <object type="console">
675 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
676 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
677 <font resource="fixed" />
678 </object>
679
680 <object type="text" color="%text_color%">
681 <font resource="font" />
682 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
683 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
684 </object>
685
686 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400687 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400688 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
689 <text>%tw_filename%</text>
690 </object>
691
692 <object type="template" name="progress_bar" />
693
694 <object type="action">
695 <condition var1="tw_operation_state" var2="1" />
696 <action function="page">flash_done</action>
697 </object>
698 </page>
699
700 <page name="flash_done">
701 <object type="template" name="header" />
702
703 <object type="text" color="%text_color%">
704 <font resource="font" />
705 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
706 <text>Zip Install Complete</text>
707 </object>
708
709 <object type="console">
710 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
711 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
712 <font resource="fixed" />
713 </object>
714
715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400717 <placement x="%col1_x%" y="%row4_y%" />
718 <font resource="font" color="%button_text_color%" />
719 <text>Wipe cache/dalvik</text>
720 <image resource="main_button" />
721 <actions>
722 <action function="set">tw_back=flash_done</action>
723 <action function="set">tw_action=wipe</action>
724 <action function="set">tw_action_param=/cache</action>
725 <action function="set">tw_has_action2=1</action>
726 <action function="set">tw_action2=wipe</action>
727 <action function="set">tw_action2_param=dalvik</action>
728 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
729 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
730 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
731 <action function="set">tw_slider_text=Swipe to Wipe</action>
732 <action function="page">confirm_action</action>
733 </actions>
734 </object>
735
736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <placement x="%col2_x%" y="%row4_y%" />
739 <font resource="font" color="%button_text_color%" />
740 <text>Reboot System</text>
741 <image resource="main_button" />
742 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_action=reboot</action>
745 <action function="set">tw_action_param=system</action>
746 <action function="set">tw_has_action2=0</action>
747 <action function="set">tw_text1=No OS Installed! Are you</action>
748 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400752 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_complete_text1=Rebooting...</action>
754 <action function="set">tw_slider_text=Swipe to Reboot</action>
755 <action function="page">rebootcheck</action>
756 </actions>
757 </object>
758
759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400761 <placement x="%col_center_x%" y="%row3_y%" />
762 <font resource="font" color="%button_text_color%" />
763 <text>Home</text>
764 <image resource="main_button" />
765 <actions>
766 <action function="set">tw_clear_destination=main2</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </object>
770
771 <object type="text" color="%text_fail_color%">
772 <condition var1="tw_operation_status" op="!=" var2="0" />
773 <font resource="font" />
774 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
775 <text>Failed</text>
776 </object>
777
778 <object type="text" color="%text_success_color%">
779 <condition var1="tw_operation_status" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Successful</text>
783 </object>
784
785 <object type="action">
786 <touch key="back" />
787 <actions>
788 <action function="set">tw_clear_destination=install</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </object>
792
793 <object type="action">
794 <touch key="home" />
795 <actions>
796 <action function="set">tw_clear_destination=main2</action>
797 <action function="page">clear_vars</action>
798 </actions>
799 </object>
800 </page>
801
802 <page name="clear_vars">
803 <object type="action">
804 <action function="set">tw_operation_state=0</action>
805 <action function="set">tw_text1=</action>
806 <action function="set">tw_text2=</action>
807 <action function="set">tw_text3=</action>
808 <action function="set">tw_text4=</action>
809 <action function="set">tw_action_text1=</action>
810 <action function="set">tw_action_text2=</action>
811 <action function="set">tw_action_param=</action>
812 <action function="set">tw_has_action2=0</action>
813 <action function="set">tw_action2=</action>
814 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400815 <action function="set">tw_has_cancel=0</action>
816 <action function="set">tw_cancel_action=</action>
817 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400818 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400819 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400820 <action function="page">%tw_clear_destination%</action>
821 </object>
822 </page>
823
824 <page name="confirm_action">
825 <object type="template" name="header" />
826
Dees_Troyce2fe772012-09-28 12:34:33 -0400827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600828 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <condition var1="tw_show_exclamation" var2="1" />
830 <placement x="%exclamation_x%" y="%exclamation_y%" />
831 <font resource="font" color="%button_text_color%" />
832 <text></text>
833 <image resource="exclamation" />
834 </object>
835
Dees_Troy51a0e822012-09-05 15:24:24 -0400836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
839 <text>%tw_text1%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
845 <text>%tw_text2%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
851 <text>%tw_text3%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
857 <text>%tw_text4%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400862 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400863 <text>Press back button to cancel.</text>
864 </object>
865
866 <object type="slider">
867 <placement x="%slider_x%" y="%slider_y%" />
868 <resource base="slider" used="slider-used" touch="slider-touch" />
869 <action function="page">action_page</action>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400875 <text>%tw_slider_text%</text>
876 </object>
877
878 <object type="action">
879 <touch key="back" />
880 <actions>
881 <action function="set">tw_clear_destination=%tw_back%</action>
882 <action function="page">clear_vars</action>
883 </actions>
884 </object>
885
886 <object type="action">
887 <touch key="home" />
888 <action function="page">main</action>
889 </object>
890
891 <object type="template" name="footer" />
892 </page>
893
894 <page name="action_page">
895 <object type="template" name="header" />
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
900 <text>%tw_action_text1%</text>
901 </object>
902
903 <object type="text" color="%text_color%">
904 <font resource="font" />
905 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
906 <text>%tw_action_text2%</text>
907 </object>
908
909 <object type="template" name="action_page_console" />
910
Dees_Troycfb63ae2012-09-19 14:30:17 -0400911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600912 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400913 <condition var1="tw_has_cancel" var2="1" />
914 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400915 <font resource="font" color="%button_text_color%" />
916 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400917 <image resource="medium_button" />
918 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400919 </object>
920
Dees_Troycfb63ae2012-09-19 14:30:17 -0400921 <object type="template" name="progress_bar" />
922
923 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400924 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400925 <actions>
926 <action function="page">action_complete</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="0" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="1" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 <action function="%tw_action2%">%tw_action2_param%</action>
942 </actions>
943 </object>
944 </page>
945
Dees_Troy51a0e822012-09-05 15:24:24 -0400946 <page name="action_complete">
947 <object type="template" name="header" />
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
952 <text>%tw_complete_text1%</text>
953 </object>
954
955 <object type="text" color="%text_fail_color%">
956 <condition var1="tw_operation_status" op="!=" var2="0" />
957 <font resource="font" />
958 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
959 <text>Failed</text>
960 </object>
961
962 <object type="text" color="%text_success_color%">
963 <condition var1="tw_operation_status" var2="0" />
964 <font resource="font" />
965 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
966 <text>Successful</text>
967 </object>
968
969 <object type="template" name="action_page_console" />
970
971 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600972 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400973 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400974 <placement x="%col_center_x%" y="%row4_y%" />
975 <font resource="font" color="%button_text_color%" />
976 <text>Back</text>
977 <image resource="main_button" />
978 <actions>
979 <action function="set">tw_clear_destination=%tw_back%</action>
980 <action function="page">clear_vars</action>
981 </actions>
982 </object>
983
Dees_Troya3f81542012-10-08 10:58:53 -0400984 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600985 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400986 <condition var1="tw_show_reboot" var2="1" />
987 <placement x="%col_center_x%" y="%row4_y%" />
988 <font resource="font" color="%button_text_color%" />
989 <text>Reboot System</text>
990 <image resource="main_button" />
991 <actions>
992 <action function="set">tw_back=main2</action>
993 <action function="set">tw_action=reboot</action>
994 <action function="set">tw_action_param=system</action>
995 <action function="set">tw_has_action2=0</action>
996 <action function="set">tw_text1=No OS Installed! Are you</action>
997 <action function="set">tw_text2=sure you wish to reboot?</action>
998 <action function="set">tw_text3=</action>
999 <action function="set">tw_text4=</action>
1000 <action function="set">tw_action_text1=Rebooting...</action>
1001 <action function="set">tw_action_text2=</action>
1002 <action function="set">tw_complete_text1=Rebooting...</action>
1003 <action function="set">tw_slider_text=Swipe to Reboot</action>
1004 <action function="page">rebootcheck</action>
1005 </actions>
1006 </object>
1007
Dees_Troy51a0e822012-09-05 15:24:24 -04001008 <object type="action">
1009 <touch key="home" />
1010 <actions>
1011 <action function="set">tw_clear_destination=main2</action>
1012 <action function="page">clear_vars</action>
1013 </actions>
1014 </object>
1015
1016 <object type="action">
1017 <touch key="back" />
1018 <actions>
1019 <action function="set">tw_clear_destination=%tw_back%</action>
1020 <action function="page">clear_vars</action>
1021 </actions>
1022 </object>
1023 </page>
1024
1025 <page name="filecheck">
1026 <object type="action">
1027 <action function="fileexists">%tw_filecheck%</action>
1028 </object>
1029
1030 <object type="action">
1031 <conditions>
1032 <condition var1="tw_operation_state" var2="1" />
1033 <condition var1="tw_operation_status" var2="0" />
1034 </conditions>
1035 <actions>
1036 <action function="set">tw_fileexists=1</action>
1037 <action function="page">%tw_existpage%</action>
1038 </actions>
1039 </object>
1040
1041 <object type="action">
1042 <conditions>
1043 <condition var1="tw_operation_state" var2="1" />
1044 <condition var1="tw_operation_status" var2="1" />
1045 </conditions>
1046 <actions>
1047 <action function="set">tw_fileexists=0</action>
1048 <action function="page">%tw_notexistpage%</action>
1049 </actions>
1050 </object>
1051 </page>
1052
1053 <page name="rebootcheck">
1054 <object type="action">
1055 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1056 <action function="reboot">%tw_action_param%</action>
1057 </object>
1058
1059 <object type="action">
1060 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1061 <action function="page">confirm_action</action>
1062 </object>
1063 </page>
1064
1065 <page name="wipe">
1066 <object type="template" name="header" />
1067
1068 <object type="text" color="%text_color%">
1069 <font resource="font" />
1070 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1071 <text>Wipe Menu</text>
1072 </object>
1073
1074 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001075 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001076 <placement x="%col1_x%" y="%row1_y%" />
1077 <font resource="font" color="%button_text_color%" />
1078 <text>Cache</text>
1079 <image resource="main_button" />
1080 <actions>
1081 <action function="set">tw_back=wipe</action>
1082 <action function="set">tw_action=wipe</action>
1083 <action function="set">tw_action_param=/cache</action>
1084 <action function="set">tw_text1=Wipe Cache?</action>
1085 <action function="set">tw_action_text1=Wiping Cache...</action>
1086 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1087 <action function="set">tw_slider_text=Swipe to Wipe</action>
1088 <action function="page">confirm_action</action>
1089 </actions>
1090 </object>
1091
1092 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001093 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001094 <placement x="%col2_x%" y="%row1_y%" />
1095 <font resource="font" color="%button_text_color%" />
1096 <text>Dalvik Cache</text>
1097 <image resource="main_button" />
1098 <actions>
1099 <action function="set">tw_back=wipe</action>
1100 <action function="set">tw_action=wipe</action>
1101 <action function="set">tw_action_param=dalvik</action>
1102 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1103 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1104 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1105 <action function="set">tw_slider_text=Swipe to Wipe</action>
1106 <action function="page">confirm_action</action>
1107 </actions>
1108 </object>
1109
1110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001112 <placement x="%col1_x%" y="%row2_y%" />
1113 <font resource="font" color="%button_text_color%" />
1114 <text>Factory Reset</text>
1115 <image resource="main_button" />
1116 <actions>
1117 <action function="set">tw_back=wipe</action>
1118 <action function="set">tw_action=wipe</action>
1119 <action function="set">tw_action_param=data</action>
1120 <action function="set">tw_text1=Factory Reset?</action>
1121 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1122 <action function="set">tw_action_text1=Factory Reset...</action>
1123 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1124 <action function="set">tw_slider_text=Swipe to Wipe</action>
1125 <action function="page">confirm_action</action>
1126 </actions>
1127 </object>
1128
1129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001131 <placement x="%col2_x%" y="%row2_y%" />
1132 <font resource="font" color="%button_text_color%" />
1133 <text>System</text>
1134 <image resource="main_button" />
1135 <actions>
1136 <action function="set">tw_back=wipe</action>
1137 <action function="set">tw_action=wipe</action>
1138 <action function="set">tw_action_param=/system</action>
1139 <action function="set">tw_text1=Wipe System?</action>
1140 <action function="set">tw_text2=This will wipe your ROM</action>
1141 <action function="set">tw_action_text1=Wiping System...</action>
1142 <action function="set">tw_complete_text1=System Wipe Complete</action>
1143 <action function="set">tw_slider_text=Swipe to Wipe</action>
1144 <action function="page">confirm_action</action>
1145 </actions>
1146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <condition var1="tw_has_external" var2="1" />
1151 <placement x="%col1_x%" y="%row3_y%" />
1152 <font resource="font" color="%button_text_color%" />
1153 <text>External Storage</text>
1154 <image resource="main_button" />
1155 <actions>
1156 <action function="set">tw_back=wipe</action>
1157 <action function="set">tw_action=wipe</action>
1158 <action function="set">tw_action_param=EXTERNAL</action>
1159 <action function="set">tw_has_action2=1</action>
1160 <action function="set">tw_action2=set</action>
1161 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001162 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <action function="set">tw_action_text1=Wiping External Storage...</action>
1164 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1165 <action function="set">tw_slider_text=Swipe to Wipe</action>
1166 <action function="page">confirm_action</action>
1167 </actions>
1168 </object>
1169
1170 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001171 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001172 <condition var1="tw_has_internal" var2="1" />
1173 <placement x="%col2_x%" y="%row3_y%" />
1174 <font resource="font" color="%button_text_color%" />
1175 <text>Internal Storage</text>
1176 <image resource="main_button" />
1177 <actions>
1178 <action function="set">tw_back=wipe</action>
1179 <action function="set">tw_action=wipe</action>
1180 <action function="set">tw_action_param=INTERNAL</action>
1181 <action function="set">tw_has_action2=1</action>
1182 <action function="set">tw_action2=set</action>
1183 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1184 <action function="set">tw_text1=Wipe Internal Storage?</action>
1185 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1186 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1187 <action function="set">tw_slider_text=Swipe to Wipe</action>
1188 <action function="page">confirm_action</action>
1189 </actions>
1190 </object>
1191
1192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001193 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001194 <conditions>
1195 <condition var1="tw_has_internal" var2="1" />
1196 <condition var1="tw_has_data_media" var2="1" />
1197 </conditions>
1198 <placement x="%col1_x%" y="%row4_y%" />
1199 <font resource="font" color="%button_text_color%" />
1200 <text>Format Data</text>
1201 <image resource="main_button" />
1202 <actions>
1203 <action function="set">tw_back=wipe</action>
1204 <action function="set">tw_action=wipe</action>
1205 <action function="set">tw_action_param=DATAMEDIA</action>
1206 <action function="set">tw_has_action2=1</action>
1207 <action function="set">tw_action2=set</action>
1208 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001209 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001210 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001211 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <action function="set">tw_action_text1=Formatting Data...</action>
1213 <action function="set">tw_complete_text1=Data Format Complete</action>
1214 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001215 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001216 <action function="page">confirm_action</action>
1217 </actions>
1218 </object>
1219
1220 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001221 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001222 <condition var1="tw_has_data_media" var2="0" />
1223 <placement x="%col1_x%" y="%row4_y%" />
1224 <font resource="font" color="%button_text_color%" />
1225 <text>Android Secure</text>
1226 <image resource="main_button" />
1227 <actions>
1228 <action function="set">tw_back=wipe</action>
1229 <action function="set">tw_action=wipe</action>
1230 <action function="set">tw_action_param=ANDROIDSECURE</action>
1231 <action function="set">tw_text1=Wipe Android Secure?</action>
1232 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1233 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1234 <action function="set">tw_slider_text=Swipe to Format</action>
1235 <action function="page">confirm_action</action>
1236 </actions>
1237 </object>
1238
1239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 <condition var1="tw_has_sdext_partition" var2="1" />
1242 <placement x="%col2_x%" y="%row4_y%" />
1243 <font resource="font" color="%button_text_color%" />
1244 <text>SD Ext</text>
1245 <image resource="main_button" />
1246 <actions>
1247 <action function="set">tw_back=wipe</action>
1248 <action function="set">tw_action=wipe</action>
1249 <action function="set">tw_action_param=/sd-ext</action>
1250 <action function="set">tw_text1=Wipe SD-Ext?</action>
1251 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1252 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1253 <action function="set">tw_slider_text=Swipe to Wipe</action>
1254 <action function="page">confirm_action</action>
1255 </actions>
1256 </object>
1257
1258 <object type="action">
1259 <touch key="home" />
1260 <action function="page">main</action>
1261 </object>
1262
1263 <object type="action">
1264 <touch key="back" />
1265 <action function="page">main</action>
1266 </object>
1267
1268 <object type="template" name="footer" />
1269 </page>
1270
1271 <page name="backup">
1272 <object type="template" name="header" />
1273
Dees_Troyb46a6842012-09-25 11:06:46 -04001274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1277 <text>Backup Name: %tw_backup_name%</text>
1278 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001279
Dees_Troyb46a6842012-09-25 11:06:46 -04001280 <object type="text" color="%text_color%">
1281 <placement x="%col1_x%" y="%row1_text_y%" />
1282 <font resource="font" />
1283 <text>Backup Device</text>
1284 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001285
Dees_Troyb46a6842012-09-25 11:06:46 -04001286 <object type="slider">
1287 <placement x="%slider_x%" y="slider_y" />
1288 <resource base="slider" used="slider-used" touch="slider-touch" />
1289 <action function="page">backup_run</action>
1290 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001291
1292 <object type="text" color="%text_color%">
1293 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001294 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001295 <text>Swipe to Back Up</text>
1296 </object>
1297
1298 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001299 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001300 <placement x="%col2_x%" y="%row1_y%" />
1301 <font resource="font" color="%button_text_color%" />
1302 <text>Refresh Sizes</text>
1303 <image resource="main_button" />
1304 <action function="refreshsizes"></action>
1305 </object>
1306
1307 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001308 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001309 <placement x="%col2_x%" y="%backup_name_y%" />
1310 <font resource="font" color="%button_text_color%" />
1311 <text>Set Backup Name</text>
1312 <image resource="main_button" />
1313 <actions>
1314 <action function="set">tw_fileexists=0</action>
1315 <action function="page">backupname1</action>
1316 </actions>
1317 </object>
1318
1319 <object type="checkbox">
1320 <placement x="%col1_x%" y="%row2_text_y%" />
1321 <font resource="font" color="%text_color%" />
1322 <text>System (%tw_backup_system_size% MB)</text>
1323 <data variable="tw_backup_system" />
1324 <image checked="checkbox_true" unchecked="checkbox_false" />
1325 </object>
1326
1327 <object type="checkbox">
1328 <placement x="%col1_x%" y="%row3_text_y%" />
1329 <font resource="font" color="%text_color%" />
1330 <text>Data (%tw_backup_data_size% MB)</text>
1331 <data variable="tw_backup_data" />
1332 <image checked="checkbox_true" unchecked="checkbox_false" />
1333 </object>
1334
1335 <object type="checkbox">
1336 <condition var1="tw_has_boot_partition" var2="1" />
1337 <placement x="%col1_x%" y="%row4_text_y%" />
1338 <font resource="font" color="%text_color%" />
1339 <text>Boot (%tw_backup_boot_size% MB)</text>
1340 <data variable="tw_backup_boot" />
1341 <image checked="checkbox_true" unchecked="checkbox_false" />
1342 </object>
1343
1344 <object type="checkbox">
1345 <condition var1="tw_has_recovery_partition" var2="1" />
1346 <placement x="%col1_x%" y="%row5_text_y%" />
1347 <font resource="font" color="%text_color%" />
1348 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1349 <data variable="tw_backup_recovery" />
1350 <image checked="checkbox_true" unchecked="checkbox_false" />
1351 </object>
1352
1353 <object type="checkbox">
1354 <placement x="%col1_x%" y="%row6_text_y%" />
1355 <font resource="font" color="%text_color%" />
1356 <text>Cache (%tw_backup_cache_size% MB)</text>
1357 <data variable="tw_backup_cache" />
1358 <image checked="checkbox_true" unchecked="checkbox_false" />
1359 </object>
1360
1361 <object type="checkbox">
1362 <condition var1="tw_has_android_secure" var2="1" />
1363 <placement x="%col1_x%" y="%row7_text_y%" />
1364 <font resource="font" color="%text_color%" />
1365 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1366 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1367 <data variable="tw_backup_andsec" />
1368 <image checked="checkbox_true" unchecked="checkbox_false" />
1369 </object>
1370
1371 <object type="checkbox">
1372 <condition var1="tw_has_sdext_partition" var2="1" />
1373 <placement x="%col1_x%" y="%row8_text_y%" />
1374 <font resource="font" color="%text_color%" />
1375 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1376 <condition var1="fileexists" var2="/sd-ext" />
1377 <data variable="tw_backup_sdext" />
1378 <image checked="checkbox_true" unchecked="checkbox_false" />
1379 </object>
1380
1381 <object type="checkbox">
1382 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001383 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001384 <font resource="font" color="%text_color%" />
1385 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1386 <data variable="tw_backup_sp1" />
1387 <image checked="checkbox_true" unchecked="checkbox_false" />
1388 </object>
1389
1390 <object type="checkbox">
1391 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001392 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001393 <font resource="font" color="%text_color%" />
1394 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1395 <data variable="tw_backup_sp2" />
1396 <image checked="checkbox_true" unchecked="checkbox_false" />
1397 </object>
1398
1399 <object type="checkbox">
1400 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001401 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001402 <font resource="font" color="%text_color%" />
1403 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1404 <data variable="tw_backup_sp3" />
1405 <image checked="checkbox_true" unchecked="checkbox_false" />
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001410 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001411 <text>Free Space: %tw_storage_free_size% MB</text>
1412 </object>
1413
1414 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001415 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001416 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001417 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001418 <data variable="tw_use_compression" />
1419 <image checked="checkbox_true" unchecked="checkbox_false" />
1420 </object>
1421
1422 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001423 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001425 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <data variable="tw_skip_md5_generate" />
1427 <image checked="checkbox_true" unchecked="checkbox_false" />
1428 </object>
1429
1430 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001431 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <font resource="font" color="%text_color%" />
1433 <conditions>
1434 <condition var1="tw_has_dual_storage" var2="1" />
1435 <condition var1="tw_use_external_storage" var2="1" />
1436 </conditions>
1437 <text>Use external SD</text>
1438 <image resource="radio_true" />
1439 <action function="togglestorage">external</action>
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="0" />
1448 </conditions>
1449 <text>Use external SD</text>
1450 <image resource="radio_false" />
1451 <action function="togglestorage">external</action>
1452 </object>
1453
1454 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001455 <placement x="%col2_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="1" />
1460 </conditions>
1461 <text>Use internal storage</text>
1462 <image resource="radio_false" />
1463 <action function="togglestorage">internal</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="0" />
1472 </conditions>
1473 <text>Use internal storage</text>
1474 <image resource="radio_true" />
1475 <action function="togglestorage">internal</action>
1476 </object>
1477
1478 <object type="action">
1479 <touch key="home" />
1480 <action function="page">main</action>
1481 </object>
1482
1483 <object type="action">
1484 <touch key="back" />
1485 <action function="page">main</action>
1486 </object>
1487
1488 <object type="template" name="footer" />
1489 </page>
1490
1491 <page name="backupname1">
1492 <object type="action">
1493 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1494 <action function="set">tw_backup_name=</function>
1495 </object>
1496
1497 <object type="action">
1498 <action function="page">backupname2</function>
1499 </object>
1500 </page>
1501
1502 <page name="backupname2">
1503 <object type="template" name="header" />
1504
1505 <object type="text" color="%text_color%">
1506 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1507 <font resource="font" />
1508 <text>Please Enter a Backup Name</text>
1509 </object>
1510
1511 <object type="input">
1512 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1513 <background color="%input_background_color%" />
1514 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1515 <font resource="font" color="%text_color%" />
1516 <text>%tw_backup_name%</text>
1517 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001518 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001519 <actions>
1520 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1521 <action function="set">tw_existpage=backupname2</action>
1522 <action function="set">tw_notexistpage=backup</action>
1523 <action function="page">filecheck</action>
1524 </actions>
1525 </object>
1526
1527 <object type="text" color="%text_fail_color%">
1528 <condition var1="tw_fileexists" var2="1" />
1529 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1530 <font resource="font" />
1531 <text>A backup with that name already exists!</text>
1532 </object>
1533
Dees_Troyb46a6842012-09-25 11:06:46 -04001534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001535 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001536 <placement x="%col_center_x%" y="%row2_y%" />
1537 <font resource="font" color="%button_text_color%" />
1538 <text>Cancel</text>
1539 <image resource="main_button" />
1540 <actions>
1541 <action function="set">tw_backup_name=(Current Date)</action>
1542 <action function="page">backup</action>
1543 </actions>
1544 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001545
1546 <object type="template" name="keyboardtemplate" />
1547
Dees_Troyb46a6842012-09-25 11:06:46 -04001548 <object type="action">
1549 <touch key="home" />
1550 <actions>
1551 <action function="set">tw_backup_name=(Current Date)</action>
1552 <action function="page">main</action>
1553 </actions>
1554 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001555
Dees_Troyb46a6842012-09-25 11:06:46 -04001556 <object type="action">
1557 <touch key="back" />
1558 <actions>
1559 <action function="set">tw_backup_name=(Current Date)</action>
1560 <action function="page">backup</action>
1561 </actions>
1562 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001563
1564 <object type="template" name="footer" />
1565 </page>
1566
1567 <page name="backup_run">
1568 <object type="template" name="header" />
1569
1570 <object type="text" color="%text_color%">
1571 <font resource="font" />
1572 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1573 <text>%tw_operation% %tw_partition%</text>
1574 </object>
1575
1576 <object type="template" name="action_page_console" />
1577
1578 <object type="template" name="progress_bar" />
1579
1580 <object type="action">
1581 <action function="nandroid">backup</action>
1582 </object>
1583
1584 <object type="action">
1585 <condition var1="tw_operation_state" var2="1" />
1586 <actions>
1587 <action function="set">tw_back=backup</action>
1588 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001589 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001590 <action function="page">action_complete</action>
1591 </actions>
1592 </object>
1593 </page>
1594
1595 <page name="restore">
1596 <object type="template" name="header" />
1597
1598 <object type="button">
1599 <placement x="%col1_x%" y="%row1_header_y%" />
1600 <font resource="font" color="%text_color%" />
1601 <conditions>
1602 <condition var1="tw_has_dual_storage" var2="1" />
1603 <condition var1="tw_use_external_storage" var2="1" />
1604 </conditions>
1605 <text>Use external SD</text>
1606 <image resource="radio_true" />
1607 <action function="togglestorage">external</action>
1608 </object>
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="0" />
1616 </conditions>
1617 <text>Use external SD</text>
1618 <image resource="radio_false" />
1619 <action function="togglestorage">external</action>
1620 </object>
1621
1622 <object type="button">
1623 <placement x="%col2_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="1" />
1628 </conditions>
1629 <text>Use internal storage</text>
1630 <image resource="radio_false" />
1631 <action function="togglestorage">internal</action>
1632 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001633
Dees_Troy51a0e822012-09-05 15:24:24 -04001634 <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="0" />
1640 </conditions>
1641 <text>Use internal storage</text>
1642 <image resource="radio_true" />
1643 <action function="togglestorage">internal</action>
1644 </object>
1645
1646 <object type="fileselector">
1647 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1648 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1649 <text>Select Package to Restore:</text>
1650 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1651 <sort name="tw_gui_sort_order" />
1652 <icon folder="folder_icon" file="file_icon" />
1653 <background color="%fileselector_background%" />
1654 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1655 <filter folders="1" files="0" nav="0" />
1656 <path name="tw_backups_folder" />
1657 <data name="tw_restore" default="" />
1658 <selection name="tw_restore_name" />
1659 </object>
1660
1661 <object type="template" name="sort_options" />
1662
1663 <object type="action">
1664 <condition var1="tw_restore" op="modified" />
1665 <actions>
1666 <action function="readBackup"></action>
1667 <action function="page">restore_select</action>
1668 </actions>
1669 </object>
1670
1671 <object type="action">
1672 <touch key="home" />
1673 <action function="page">main</action>
1674 </object>
1675
1676 <object type="action">
1677 <touch key="back" />
1678 <action function="page">main</action>
1679 </object>
1680
1681 <object type="template" name="footer" />
1682 </page>
1683
1684 <page name="restore_select">
1685 <object type="template" name="header" />
1686
1687 <object type="text">
1688 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1689 <font resource="font" color="%text_color%" />
1690 <text>Restoring: %tw_restore_name%</text>
1691 </object>
1692
1693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001694 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001695 <placement x="%col2_x%" y="%row1_y%" />
1696 <font resource="font" color="%button_text_color%" />
1697 <text>Rename Backup</text>
1698 <image resource="main_button" />
1699 <actions>
1700 <action function="set">tw_backup_rename=</action>
1701 <action function="set">tw_fileexists=0</action>
1702 <action function="page">renamebackup</action>
1703 </actions>
1704 </object>
1705
1706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001708 <placement x="%col2_x%" y="%row2_y%" />
1709 <font resource="font" color="%button_text_color%" />
1710 <text>Delete Backup</text>
1711 <image resource="main_button" />
1712 <actions>
1713 <action function="set">tw_back=restore</action>
1714 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001715 <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 -04001716 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1717 <action function="set">tw_text2=This cannot be undone!</action>
1718 <action function="set">tw_action_text1=Deleting Backup...</action>
1719 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1720 <action function="set">tw_slider_text=Swipe to Delete</action>
1721 <action function="page">confirm_action</action>
1722 </actions>
1723 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001724
Dees_Troy51a0e822012-09-05 15:24:24 -04001725 <object type="slider">
1726 <placement x="%slider_x%" y="%slider_y%" />
1727 <resource base="slider" used="slider-used" touch="slider-touch" />
1728 <action function="page">restore_run</action>
1729 </object>
1730
1731 <object type="text" color="%text_color%">
1732 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001733 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001734 <text>Swipe to Restore</text>
1735 </object>
1736
1737 <object type="checkbox">
1738 <placement x="%col1_x%" y="%row2_text_y%" />
1739 <font resource="font" color="%text_color%" />
1740 <text>System</text>
1741 <condition var1="tw_restore_system" op=">=" var2="0" />
1742 <data variable="tw_restore_system" />
1743 <image checked="checkbox_true" unchecked="checkbox_false" />
1744 </object>
1745
1746 <object type="checkbox">
1747 <placement x="%col1_x%" y="%row3_text_y%" />
1748 <font resource="font" color="%text_color%" />
1749 <text>Data</text>
1750 <condition var1="tw_restore_data" op=">=" var2="0" />
1751 <data variable="tw_restore_data" />
1752 <image checked="checkbox_true" unchecked="checkbox_false" />
1753 </object>
1754
1755 <object type="checkbox">
1756 <placement x="%col1_x%" y="%row4_text_y%" />
1757 <font resource="font" color="%text_color%" />
1758 <text>Boot</text>
1759 <condition var1="tw_restore_boot" op=">=" var2="0" />
1760 <data variable="tw_restore_boot" />
1761 <image checked="checkbox_true" unchecked="checkbox_false" />
1762 </object>
1763
Dees_Troy51a0e822012-09-05 15:24:24 -04001764 <object type="checkbox">
1765 <placement x="%col1_x%" y="%row6_text_y%" />
1766 <font resource="font" color="%text_color%" />
1767 <text>Cache</text>
1768 <condition var1="tw_restore_cache" op=">=" var2="0" />
1769 <data variable="tw_restore_cache" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%col1_x%" y="%row7_text_y%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>.android_secure</text>
1777 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1778 <data variable="tw_restore_andsec" />
1779 <image checked="checkbox_true" unchecked="checkbox_false" />
1780 </object>
1781
1782 <object type="checkbox">
1783 <placement x="%col1_x%" y="%row8_text_y%" />
1784 <font resource="font" color="%text_color%" />
1785 <text>sd-ext</text>
1786 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1787 <data variable="tw_restore_sdext" />
1788 <image checked="checkbox_true" unchecked="checkbox_false" />
1789 </object>
1790
1791 <object type="checkbox">
1792 <placement x="%col1_x%" y="%row10_text_y%" />
1793 <font resource="font" color="%text_color%" />
1794 <text>%tw_sp1_name%</text>
1795 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1796 <data variable="tw_restore_sp1" />
1797 <image checked="checkbox_true" unchecked="checkbox_false" />
1798 </object>
1799
1800 <object type="checkbox">
1801 <placement x="%col1_x%" y="%row11_text_y%" />
1802 <font resource="font" color="%text_color%" />
1803 <text>%tw_sp2_name%</text>
1804 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1805 <data variable="tw_restore_sp2" />
1806 <image checked="checkbox_true" unchecked="checkbox_false" />
1807 </object>
1808
1809 <object type="checkbox">
1810 <placement x="%col1_x%" y="%row12_text_y%" />
1811 <font resource="font" color="%text_color%" />
1812 <text>%tw_sp3_name%</text>
1813 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1814 <data variable="tw_restore_sp3" />
1815 <image checked="checkbox_true" unchecked="checkbox_false" />
1816 </object>
1817
1818 <object type="checkbox">
1819 <placement x="%col1_x%" y="%row14_text_y%" />
1820 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001821 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001822 <data variable="tw_skip_md5_check" />
1823 <image checked="checkbox_true" unchecked="checkbox_false" />
1824 </object>
1825
Dees_Troyb46a6842012-09-25 11:06:46 -04001826 <object type="text" color="%text_color%">
1827 <font resource="font" />
1828 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1829 <text>Package Date: %tw_restore_file_date%</text>
1830 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001831
1832 <object type="action">
1833 <touch key="home" />
1834 <action function="page">main</action>
1835 </object>
1836
1837 <object type="action">
1838 <touch key="back" />
1839 <action function="page">restore</action>
1840 </object>
1841
1842 <object type="template" name="footer" />
1843 </page>
1844
1845 <page name="renamebackup">
1846 <object type="template" name="header" />
1847
1848 <object type="text" color="%text_color%">
1849 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1850 <font resource="font" />
1851 <text>Please Enter a New Backup Name</text>
1852 </object>
1853
1854 <object type="input">
1855 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1856 <background color="%input_background_color%" />
1857 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1858 <font resource="font" color="%text_color%" />
1859 <text>%tw_backup_rename%</text>
1860 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001861 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001862 <actions>
1863 <action function="set">tw_back=restore</action>
1864 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001865 <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 -04001866 <action function="set">tw_text1=Rename Backup?</action>
1867 <action function="set">tw_text2=This cannot be undone!</action>
1868 <action function="set">tw_action_text1=Renaming Backup...</action>
1869 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1870 <action function="set">tw_slider_text=Swipe to Rename</action>
1871 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1872 <action function="set">tw_existpage=renamebackup</action>
1873 <action function="set">tw_notexistpage=confirm_action</action>
1874 <action function="page">filecheck</action>
1875 </actions>
1876 </object>
1877
1878 <object type="text" color="%text_fail_color%">
1879 <condition var1="tw_fileexists" var2="1" />
1880 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1881 <font resource="font" />
1882 <text>A backup with that name already exists!</text>
1883 </object>
1884
1885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001886 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001887 <placement x="%col_center_x%" y="%row2_y%" />
1888 <font resource="font" color="%button_text_color%" />
1889 <text>Cancel</text>
1890 <image resource="main_button" />
1891 <action function="page">restore_select</action>
1892 </object>
1893
1894 <object type="template" name="keyboardtemplate" />
1895
1896 <object type="action">
1897 <touch key="home" />
1898 <action function="page">main</action>
1899 </object>
1900
1901 <object type="action">
1902 <touch key="back" />
1903 <action function="page">restore_select</action>
1904 </object>
1905
1906 <object type="template" name="footer" />
1907 </page>
1908
1909 <page name="restore_run">
1910 <object type="template" name="header" />
1911
1912 <object type="text" color="%text_color%">
1913 <font resource="font" />
1914 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1915 <text>%tw_operation% %tw_partition%</text>
1916 </object>
1917
1918 <object type="template" name="action_page_console" />
1919
1920 <object type="template" name="progress_bar" />
1921
1922 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001923 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001924 <actions>
1925 <action function="set">tw_back=restore_select</action>
1926 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001927 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <action function="page">action_complete</action>
1929 </actions>
1930 </object>
1931
1932 <object type="action">
1933 <action function="nandroid">restore</action>
1934 </object>
1935 </page>
1936
1937 <page name="mount">
1938 <object type="template" name="header" />
1939
1940 <object type="text" color="%text_color%">
1941 <font resource="font" />
1942 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1943 <text>Mount Menu</text>
1944 </object>
1945
1946 <object type="button">
1947 <placement x="%col1_x%" y="%row1_text_y%" />
1948 <font resource="font" color="%text_color%" />
1949 <condition var1="mounted" op="!=" var2="/system" />
1950 <text>Mount System</text>
1951 <image resource="checkbox_false" />
1952 <action function="mount">/system</action>
1953 </object>
1954
1955 <object type="button">
1956 <placement x="%col1_x%" y="%row1_text_y%" />
1957 <font resource="font" color="%text_color%" />
1958 <condition var1="mounted" op="=" var2="/system" />
1959 <text>Unmount System</text>
1960 <image resource="checkbox_true" />
1961 <action function="umount">/system</action>
1962 </object>
1963
1964 <object type="button">
1965 <placement x="%col1_x%" y="%row2_text_y%" />
1966 <font resource="font" color="%text_color%" />
1967 <condition var1="mounted" op="!=" var2="/data" />
1968 <text>Mount Data</text>
1969 <image resource="checkbox_false" />
1970 <action function="mount">/data</action>
1971 </object>
1972
1973 <object type="button">
1974 <placement x="%col1_x%" y="%row2_text_y%" />
1975 <font resource="font" color="%text_color%" />
1976 <condition var1="mounted" op="=" var2="/data" />
1977 <text>Unmount Data</text>
1978 <image resource="checkbox_true" />
1979 <action function="umount">/data</action>
1980 </object>
1981
1982 <object type="button">
1983 <placement x="%col1_x%" y="%row3_text_y%" />
1984 <font resource="font" color="%text_color%" />
1985 <condition var1="mounted" op="!=" var2="/cache" />
1986 <text>Mount Cache</text>
1987 <image resource="checkbox_false" />
1988 <action function="mount">/cache</action>
1989 </object>
1990
1991 <object type="button">
1992 <placement x="%col1_x%" y="%row3_text_y%" />
1993 <font resource="font" color="%text_color%" />
1994 <condition var1="mounted" op="=" var2="/cache" />
1995 <text>Unmount Cache</text>
1996 <image resource="checkbox_true" />
1997 <action function="umount">/cache</action>
1998 </object>
1999
2000 <object type="button">
2001 <placement x="%col1_x%" y="%row4_text_y%" />
2002 <font resource="font" color="%text_color%" />
2003 <conditions>
2004 <condition var1="tw_has_external" var2="1" />
2005 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2006 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002007 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002008 <image resource="checkbox_false" />
2009 <action function="mount">EXTERNAL</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>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002020 <image resource="checkbox_true" />
2021 <action function="umount">EXTERNAL</action>
2022 </object>
2023
2024 <object type="button">
2025 <placement x="%col2_x%" y="%row4_text_y%" />
2026 <font resource="font" color="%text_color%" />
2027 <conditions>
2028 <condition var1="tw_has_internal" var2="1" />
2029 <condition var1="tw_has_data_media" var2="0" />
2030 <condition var1="mounted" op="!=" var2="INTERNAL" />
2031 </conditions>
2032 <text>Mount Internal</text>
2033 <image resource="checkbox_false" />
2034 <action function="mount">INTERNAL</action>
2035 </object>
2036
2037 <object type="button">
2038 <placement x="%col2_x%" y="%row4_text_y%" />
2039 <font resource="font" color="%text_color%" />
2040 <conditions>
2041 <condition var1="tw_has_internal" var2="1" />
2042 <condition var1="tw_has_data_media" var2="0" />
2043 <condition var1="mounted" op="=" var2="INTERNAL" />
2044 </conditions>
2045 <text>Unmount Internal</text>
2046 <image resource="checkbox_true" />
2047 <action function="umount">INTERNAL</action>
2048 </object>
2049
2050 <object type="button">
2051 <conditions>
2052 <condition var1="tw_has_sdext_partition" var2="1" />
2053 <condition var1="mounted" op="!=" var2="/sd-ext" />
2054 </conditions>
2055 <placement x="%col1_x%" y="%row5_text_y%" />
2056 <font resource="font" color="%text_color%" />
2057 <text>Mount SD-Ext</text>
2058 <image resource="checkbox_false" />
2059 <action function="mount">/sd-ext</action>
2060 </object>
2061
2062 <object type="button">
2063 <placement x="%col1_x%" y="%row5_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <condition var1="mounted" op="=" var2="/sd-ext" />
2066 <text>Unmount SD-Ext</text>
2067 <image resource="checkbox_true" />
2068 <action function="umount">/sd-ext</action>
2069 </object>
2070
2071 <object type="button">
2072 <conditions>
2073 <condition var1="tw_boot_is_mountable" var2="1" />
2074 <condition var1="mounted" op="!=" var2="/boot" />
2075 </conditions>
2076 <placement x="%col1_x%" y="%row6_text_y%" />
2077 <font resource="font" color="#A0A0A0" />
2078 <text>Mount Boot</text>
2079 <image resource="checkbox_false" />
2080 <action function="mount">/boot</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>
Dees_Troyb46a6842012-09-25 11:06:46 -04002088
Dees_Troy51a0e822012-09-05 15:24:24 -04002089 <placement x="%col1_x%" y="%row6_text_y%" />
2090 <font resource="font" color="#A0A0A0" />
2091 <text>Unmount Boot</text>
2092 <image resource="checkbox_true" />
2093 <action function="umount">/boot</action>
2094 </object>
2095
2096 <object type="button">
2097 <placement x="%col1_x%" y="%row8_text_y%" />
2098 <font resource="font" color="%text_color%" />
2099 <conditions>
2100 <condition var1="tw_has_dual_storage" var2="1" />
2101 <condition var1="tw_use_external_storage" var2="1" />
2102 </conditions>
2103 <text>Use external SD</text>
2104 <image resource="radio_true" />
2105 <action function="togglestorage">external</action>
2106 </object>
2107
2108 <object type="button">
2109 <placement x="%col1_x%" y="%row8_text_y%" />
2110 <font resource="font" color="%text_color%" />
2111 <conditions>
2112 <condition var1="tw_has_dual_storage" var2="1" />
2113 <condition var1="tw_use_external_storage" var2="0" />
2114 </conditions>
2115 <text>Use external SD</text>
2116 <image resource="radio_false" />
2117 <action function="togglestorage">external</action>
2118 </object>
2119
2120 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002121 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002122 <font resource="font" color="%text_color%" />
2123 <conditions>
2124 <condition var1="tw_has_dual_storage" var2="1" />
2125 <condition var1="tw_use_external_storage" var2="1" />
2126 </conditions>
2127 <text>Use internal storage</text>
2128 <image resource="radio_false" />
2129 <action function="togglestorage">internal</action>
2130 </object>
2131
2132 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002133 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002134 <font resource="font" color="%text_color%" />
2135 <conditions>
2136 <condition var1="tw_has_dual_storage" var2="1" />
2137 <condition var1="tw_use_external_storage" var2="0" />
2138 </conditions>
2139 <text>Use internal storage</text>
2140 <image resource="radio_true" />
2141 <action function="togglestorage">internal</action>
2142 </object>
2143
2144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002146 <condition var1="tw_has_usb_storage" var2="1" />
2147 <placement x="%col1_x%" y="row3_y" />
2148 <font resource="font" color="%button_text_color%" />
2149 <text>Mount USB Storage</text>
2150 <image resource="main_button" />
2151 <action function="page">usb_mount</action>
2152 </object>
2153
Gary Peckffdc6ae2012-11-21 18:02:02 -08002154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002155 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002156 <conditions>
2157 <condition var1="tw_is_encrypted" var2="1" />
2158 <condition var1="tw_is_decrypted" var2="0" />
2159 </conditions>
2160 <placement x="%col2_x%" y="row3_y" />
2161 <font resource="font" color="%button_text_color%" />
2162 <text>Decrypt Data</text>
2163 <image resource="main_button" />
2164 <action function="page">decrypt</action>
2165 </object>
2166
Dees_Troy51a0e822012-09-05 15:24:24 -04002167 <object type="action">
2168 <touch key="home" />
2169 <action function="page">main</action>
2170 </object>
2171
2172 <object type="action">
2173 <touch key="back" />
2174 <action function="page">main</action>
2175 </object>
2176
2177 <object type="template" name="footer" />
2178 </page>
2179
2180 <page name="usb_mount">
2181 <object type="template" name="header" />
2182
2183 <object type="text" color="%text_color%">
2184 <font resource="font" />
2185 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2186 <text>USB Storage Mounted</text>
2187 </object>
2188
2189 <object type="text" color="%text_color%">
2190 <placement x="%col1_x%" y="%row1_text_y%" />
2191 <font resource="font" />
2192 <text>Be sure to safely remove your device</text>
2193 </object>
2194
2195 <object type="text" color="%text_color%">
2196 <placement x="%col1_x%" y="%row2_text_y%" />
2197 <font resource="font" />
2198 <text>from your computer before unmounting!</text>
2199 </object>
2200
2201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <placement x="%col1_x%" y="%row3_y%" />
2204 <font resource="font" color="%button_text_color%" />
2205 <text>Unmount</text>
2206 <image resource="main_button" />
2207 <action function="page">usb_umount</action>
2208 </object>
2209
2210 <object type="action">
2211 <action function="mount">usb</action>
2212 </object>
2213
2214 <object type="template" name="footer" />
2215 </page>
2216
2217 <page name="usb_umount">
2218 <object type="action">
2219 <action function="unmount">usb</action>
2220 </object>
2221
2222 <object type="action">
2223 <action function="page">mount</action>
2224 </object>
2225 </page>
2226
2227 <page name="reboot">
2228 <object type="template" name="header" />
2229
2230 <object type="text" color="%text_color%">
2231 <font resource="font" />
2232 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2233 <text>Reboot Menu</text>
2234 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002235
Dees_Troy51a0e822012-09-05 15:24:24 -04002236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002238 <condition var1="tw_reboot_system" var2="1" />
2239 <placement x="%col1_x%" y="%row1_y%" />
2240 <font resource="font" color="%button_text_color%" />
2241 <text>System</text>
2242 <image resource="main_button" />
2243 <actions>
2244 <action function="set">tw_back=reboot</action>
2245 <action function="set">tw_action=reboot</action>
2246 <action function="set">tw_action_param=system</action>
2247 <action function="set">tw_has_action2=0</action>
2248 <action function="set">tw_text1=No OS Installed! Are you</action>
2249 <action function="set">tw_text2=sure you wish to reboot?</action>
2250 <action function="set">tw_action_text1=Rebooting...</action>
2251 <action function="set">tw_complete_text1=Rebooting...</action>
2252 <action function="set">tw_slider_text=Swipe to Reboot</action>
2253 <action function="page">rebootcheck</action>
2254 </actions>
2255 </object>
2256
2257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002259 <condition var1="tw_reboot_poweroff" var2="1" />
2260 <placement x="%col2_x%" y="%row1_y%" />
2261 <font resource="font" color="%button_text_color%" />
2262 <text>Power Off</text>
2263 <image resource="main_button" />
2264 <actions>
2265 <action function="set">tw_back=reboot</action>
2266 <action function="set">tw_action=reboot</action>
2267 <action function="set">tw_action_param=poweroff</action>
2268 <action function="set">tw_has_action2=0</action>
2269 <action function="set">tw_text1=No OS Installed! Are you</action>
2270 <action function="set">tw_text2=sure you wish to power off?</action>
2271 <action function="set">tw_action_text1=Turning Off...</action>
2272 <action function="set">tw_complete_text1=Turning Off...</action>
2273 <action function="set">tw_slider_text=Swipe to Power Off</action>
2274 <action function="page">rebootcheck</action>
2275 </actions>
2276 </object>
2277
2278 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002279 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002280 <condition var1="tw_reboot_recovery" var2="1" />
2281 <placement x="%col1_x%" y="%row2_y%" />
2282 <font resource="font" color="%button_text_color%" />
2283 <text>Recovery</text>
2284 <image resource="main_button" />
2285 <actions>
2286 <action function="set">tw_back=reboot</action>
2287 <action function="set">tw_action=reboot</action>
2288 <action function="set">tw_action_param=recovery</action>
2289 <action function="set">tw_has_action2=0</action>
2290 <action function="set">tw_text1=No OS Installed! Are you</action>
2291 <action function="set">tw_text2=sure you wish to reboot?</action>
2292 <action function="set">tw_action_text1=Rebooting...</action>
2293 <action function="set">tw_complete_text1=Rebooting...</action>
2294 <action function="set">tw_slider_text=Swipe to Reboot</action>
2295 <action function="page">rebootcheck</action>
2296 </actions>
2297 </object>
2298
2299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002301 <condition var1="tw_reboot_bootloader" var2="1" />
2302 <placement x="%col2_x%" y="%row2_y%" />
2303 <font resource="font" color="%button_text_color%" />
2304 <text>Bootloader</text>
2305 <image resource="main_button" />
2306 <actions>
2307 <action function="set">tw_back=reboot</action>
2308 <action function="set">tw_action=reboot</action>
2309 <action function="set">tw_action_param=bootloader</action>
2310 <action function="set">tw_has_action2=0</action>
2311 <action function="set">tw_text1=No OS Installed! Are you</action>
2312 <action function="set">tw_text2=sure you wish to reboot?</action>
2313 <action function="set">tw_action_text1=Rebooting...</action>
2314 <action function="set">tw_complete_text1=Rebooting...</action>
2315 <action function="set">tw_slider_text=Swipe to Reboot</action>
2316 <action function="page">rebootcheck</action>
2317 </actions>
2318 </object>
2319
2320 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002321 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002322 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002323 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002324 <font resource="font" color="%button_text_color%" />
2325 <text>Download</text>
2326 <image resource="main_button" />
2327 <actions>
2328 <action function="set">tw_back=reboot</action>
2329 <action function="set">tw_action=reboot</action>
2330 <action function="set">tw_action_param=download</action>
2331 <action function="set">tw_has_action2=0</action>
2332 <action function="set">tw_text1=No OS Installed! Are you</action>
2333 <action function="set">tw_text2=sure you wish to reboot?</action>
2334 <action function="set">tw_action_text1=Rebooting...</action>
2335 <action function="set">tw_complete_text1=Rebooting...</action>
2336 <action function="set">tw_slider_text=Swipe to Reboot</action>
2337 <action function="page">rebootcheck</action>
2338 </actions>
2339 </object>
2340
2341 <object type="action">
2342 <touch key="home" />
2343 <action function="page">main</action>
2344 </object>
2345
2346 <object type="action">
2347 <touch key="back" />
2348 <action function="page">main</action>
2349 </object>
2350
2351 <object type="template" name="footer" />
2352 </page>
2353
2354 <page name="settings">
2355 <object type="template" name="header" />
2356
2357 <object type="text" color="%text_color%">
2358 <font resource="font" />
2359 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2360 <text>Settings</text>
2361 </object>
2362
2363 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002364 <placement x="%col1_x%" y="%row1_text_y%" />
2365 <font resource="font" color="%text_color%" />
2366 <text>Zip file signature verification.</text>
2367 <data variable="tw_signed_zip_verify" />
2368 <image checked="checkbox_true" unchecked="checkbox_false" />
2369 </object>
2370
2371 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002372 <placement x="%col1_x%" y="%row2_text_y%" />
2373 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002374 <text>Force MD5 check on all zips.</text>
2375 <data variable="tw_force_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <image checked="checkbox_true" unchecked="checkbox_false" />
2377 </object>
2378
2379 <object type="checkbox">
2380 <placement x="%col1_x%" y="%row3_text_y%" />
2381 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002382 <text>Use rm -rf instead of formatting.</text>
2383 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <image checked="checkbox_true" unchecked="checkbox_false" />
2385 </object>
2386
2387 <object type="checkbox">
2388 <placement x="%col1_x%" y="%row4_text_y%" />
2389 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002390 <text>Skip MD5 generation during backup.</text>
2391 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <image checked="checkbox_true" unchecked="checkbox_false" />
2393 </object>
2394
2395 <object type="checkbox">
2396 <placement x="%col1_x%" y="%row5_text_y%" />
2397 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002398 <text>Enable MD5 verification of backup files.</text>
2399 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <image checked="checkbox_true" unchecked="checkbox_false" />
2401 </object>
2402
2403 <object type="checkbox">
2404 <placement x="%col1_x%" y="%row6_text_y%" />
2405 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002406 <text>Ignore image size errors during backup.</text>
2407 <data variable="tw_ignore_image_size" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <image checked="checkbox_true" unchecked="checkbox_false" />
2409 </object>
2410
2411 <object type="checkbox">
2412 <placement x="%col1_x%" y="%row7_text_y%" />
2413 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002414 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <data variable="tw_simulate_actions" />
2416 <image checked="checkbox_true" unchecked="checkbox_false" />
2417 </object>
2418
2419 <object type="checkbox">
2420 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002421 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_simulate_fail" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <placement x="%col1_x%" y="%row3_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Time Zone</text>
2433 <image resource="main_button" />
2434 <action function="page">timezone</action>
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <placement x="%col_center_x%" y="%row4_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Restore Defaults</text>
2442 <image resource="main_button" />
2443 <action function="restoredefaultsettings"></action>
2444 </object>
2445
2446 <object type="action">
2447 <touch key="home" />
2448 <action function="page">main</action>
2449 </object>
2450
2451 <object type="action">
2452 <touch key="back" />
2453 <action function="page">main</action>
2454 </object>
2455
2456 <object type="template" name="footer" />
2457 </page>
2458
2459 <page name="timezone">
2460 <object type="template" name="header" />
2461
2462 <object type="text" color="%text_color%">
2463 <font resource="font" />
2464 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2465 <text>Select Time Zone</text>
2466 </object>
2467
2468 <object type="listbox">
2469 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2470 <icon selected="radio_true" unselected="radio_false" />
2471 <background color="%listbox_background%" />
2472 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2473 <data name="tw_time_zone_guisel" />
2474 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2475 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2476 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2477 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2478 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2479 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2480 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2481 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2482 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2483 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2484 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2485 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2486 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2487 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2488 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2489 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2490 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2491 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2492 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2493 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2494 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2495 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2496 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2497 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2498 </object>
2499
2500 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002501 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <font resource="font" color="%text_color%" />
2503 <text>Do you use daylight savings time (DST)?</text>
2504 <data variable="tw_time_zone_guidst" />
2505 <image checked="checkbox_true" unchecked="checkbox_false" />
2506 </object>
2507
2508 <object type="text" color="%text_color%">
2509 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002510 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2512 </object>
2513
2514 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002515 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002516 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <font resource="font" color="%button_text_color%" />
2518 <text>None</text>
2519 <image resource="medium_button" />
2520 <action function="set">tw_time_zone_guioffset=0</action>
2521 </object>
2522
2523 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002524 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002525 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <font resource="font" color="%button_text_color%" />
2527 <text>15</text>
2528 <image resource="medium_button" />
2529 <action function="set">tw_time_zone_guioffset=15</action>
2530 </object>
2531
2532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002533 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002534 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <font resource="font" color="%button_text_color%" />
2536 <text>30</text>
2537 <image resource="medium_button" />
2538 <action function="set">tw_time_zone_guioffset=30</action>
2539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002543 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <font resource="font" color="%button_text_color%" />
2545 <text>45</text>
2546 <image resource="medium_button" />
2547 <action function="set">tw_time_zone_guioffset=45</action>
2548 </object>
2549
2550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <placement x="%col_center_x%" y="%tz_set_y%" />
2553 <font resource="font" color="%button_text_color%" />
2554 <text>Set Time Zone</text>
2555 <image resource="main_button" />
2556 <action function="setguitimezone"></action>
2557 </object>
2558
2559 <object type="text" color="%text_color%">
2560 <font resource="font" />
2561 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2562 <text>Current Time Zone: %tw_time_zone%</text>
2563 </object>
2564
2565 <object type="action">
2566 <touch key="home" />
2567 <action function="page">main</action>
2568 </object>
2569
2570 <object type="action">
2571 <touch key="back" />
2572 <action function="page">settings</action>
2573 </object>
2574
2575 <object type="template" name="footer" />
2576 </page>
2577
2578 <page name="advanced">
2579 <object type="template" name="header" />
2580
2581 <object type="text" color="%text_color%">
2582 <font resource="font" />
2583 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2584 <text>Advanced</text>
2585 </object>
2586
2587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002589 <placement x="%col1_x%" y="%row1_y%" />
2590 <font resource="font" color="%button_text_color%" />
2591 <text>Copy Log to SD</text>
2592 <image resource="main_button" />
2593 <actions>
2594 <action function="set">tw_back=advanced</action>
2595 <action function="set">tw_action=copylog</action>
2596 <action function="set">tw_text1=Copy Log to SD Card?</action>
2597 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2598 <action function="set">tw_complete_text1=Log Copy Complete</action>
2599 <action function="set">tw_slider_text=Swipe to Confirm</action>
2600 <action function="page">confirm_action</action>
2601 </actions>
2602 </object>
2603
2604 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002605 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002606 <placement x="%col2_x%" y="%row1_y%" />
2607 <font resource="font" color="%button_text_color%" />
2608 <text>Fix Permissions</text>
2609 <image resource="main_button" />
2610 <actions>
2611 <action function="set">tw_back=advanced</action>
2612 <action function="set">tw_action=fixpermissions</action>
2613 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002614 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002615 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2616 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002617 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002618 <action function="page">confirm_action</action>
2619 </actions>
2620 </object>
2621
2622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002624 <condition var1="tw_allow_partition_sdcard" var2="1" />
2625 <placement x="%col1_x%" y="%row2_y%" />
2626 <font resource="font" color="%button_text_color%" />
2627 <text>Partition SD Card</text>
2628 <image resource="main_button" />
2629 <action function="page">partsdcard</action>
2630 </object>
2631
2632 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002633 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002634 <placement x="%col2_x%" y="%row2_y%" />
2635 <font resource="font" color="%button_text_color%" />
2636 <text>File Manager</text>
2637 <image resource="main_button" />
2638 <action function="page">filemanagerlist</action>
2639 </object>
2640
2641 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002642 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002643 <placement x="%col1_x%" y="%row3_y%" />
2644 <font resource="font" color="%button_text_color%" />
2645 <text>Terminal Command</text>
2646 <image resource="main_button" />
2647 <action function="page">terminalfolder</action>
2648 </object>
2649
2650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002651 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002652 <placement x="%col2_x%" y="%row3_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>Reload Theme</text>
2655 <image resource="main_button" />
2656 <action function="reload"></action>
2657 </object>
2658
2659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002660 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002661 <placement x="%col1_x%" y="%row4_y%" />
2662 <font resource="font" color="%button_text_color%" />
2663 <text>ADB Sideload</text>
2664 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002665 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002666 </object>
2667
2668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002670 <condition var1="tw_show_dumlock" var2="1" />
2671 <placement x="%col2_x%" y="%row4_y%" />
2672 <font resource="font" color="%button_text_color%" />
2673 <text>HTC Dumlock</text>
2674 <image resource="main_button" />
2675 <action function="page">htcdumlock</action>
2676 </object>
2677
2678 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002679 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002680 <condition var1="tw_has_injecttwrp" var2="1" />
2681 <placement x="%col2_x%" y="%row4_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>Re-Inject TWRP</text>
2684 <image resource="main_button" />
2685 <actions>
2686 <action function="set">tw_back=advanced</action>
2687 <action function="set">tw_action=reinjecttwrp</action>
2688 <action function="set">tw_text1=Re-Inject TWRP?</action>
2689 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2690 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2691 <action function="set">tw_slider_text=Swipe to Confirm</action>
2692 <action function="page">confirm_action</action>
2693 </actions>
2694 </object>
2695
Dees_Troy51a0e822012-09-05 15:24:24 -04002696 <object type="action">
2697 <touch key="home" />
2698 <action function="page">main</action>
2699 </object>
2700
2701 <object type="action">
2702 <touch key="back" />
2703 <action function="page">main</action>
2704 </object>
2705
2706 <object type="template" name="footer" />
2707 </page>
2708
2709 <page name="partsdcard">
2710 <object type="template" name="header" />
2711
2712 <object type="text" color="%text_color%">
2713 <font resource="font" />
2714 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2715 <text>Partition SD Card</text>
2716 </object>
2717
2718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <placement x="%col1_x%" y="%row1_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text></text>
2723 <image resource="minus_button" />
2724 <action function="addsubtract">tw_sdext_size-128</action>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <placement x="%sd_plus_x%" y="%row1_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text></text>
2732 <image resource="plus_button" />
2733 <action function="addsubtract">tw_sdext_size+128</action>
2734 </object>
2735
2736 <object type="text" color="%text_color%">
2737 <font resource="font" />
2738 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2739 <text>EXT Size: %tw_sdext_size%</text>
2740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <placement x="%col1_x%" y="%sdswap_button_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text></text>
2747 <image resource="minus_button" />
2748 <action function="addsubtract">tw_swap_size-32</action>
2749 </object>
2750
2751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text></text>
2756 <image resource="plus_button" />
2757 <action function="addsubtract">tw_swap_size+32</action>
2758 </object>
2759
2760 <object type="text" color="%text_color%">
2761 <font resource="font" />
2762 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2763 <text>Swap Size: %tw_swap_size%</text>
2764 </object>
2765
2766 <object type="text" color="%text_color%">
2767 <font resource="font" />
2768 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2769 <text>File system: %tw_sdpart_file_system%</text>
2770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2775 <font resource="font" color="%button_text_color%" />
2776 <text>EXT3</text>
2777 <image resource="main_button" />
2778 <action function="set">tw_sdpart_file_system=ext3</action>
2779 </object>
2780
2781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <condition var1="tw_sdext_disable_ext4" var2="0" />
2784 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>EXT4</text>
2787 <image resource="main_button" />
2788 <action function="set">tw_sdpart_file_system=ext4</action>
2789 </object>
2790
2791 <object type="text" color="%text_color%">
2792 <font resource="font" />
2793 <placement x="%col1_x%" y="%row12_text_y%" />
2794 <text>You will lose all files on your SD card!</text>
2795 </object>
2796
2797 <object type="text" color="%text_color%">
2798 <font resource="font" />
2799 <placement x="%col1_x%" y="%row13_text_y%" />
2800 <text>This action cannot be undone!</text>
2801 </object>
2802
2803 <object type="slider">
2804 <placement x="%slider_x%" y="%slider_y%" />
2805 <resource base="slider" used="slider-used" touch="slider-touch" />
2806 <action function="page">partsdcardaction</action>
2807 <actions>
2808 <action function="set">tw_back=partsdcard</action>
2809 <action function="set">tw_action=partitionsd</action>
2810 <action function="set">tw_has_action2=1</action>
2811 <action function="set">tw_action2=set</action>
2812 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2813 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2814 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002815 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002816 <action function="page">action_page</action>
2817 </actions>
2818 </object>
2819
2820 <object type="text" color="%text_color%">
2821 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002822 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <text>Swipe to Partition</text>
2824 </object>
2825
2826 <object type="action">
2827 <touch key="home" />
2828 <action function="page">main</action>
2829 </object>
2830
2831 <object type="action">
2832 <touch key="back" />
2833 <action function="page">advanced</action>
2834 </object>
2835
2836 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002837 </page>
2838
2839 <page name="htcdumlock">
2840 <object type="template" name="header" />
2841
2842 <object type="text" color="%text_color%">
2843 <font resource="font" />
2844 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2845 <text>HTC Dumlock</text>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <condition var1="tw_show_dumlock" var2="1" />
2851 <placement x="%col1_x%" y="%row1_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text>Restore Original Boot</text>
2854 <image resource="main_button" />
2855 <actions>
2856 <action function="set">tw_back=htcdumlock</action>
2857 <action function="set">tw_action=htcdumlockrestoreboot</action>
2858 <action function="set">tw_text1=Restore original boot image?</action>
2859 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2860 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2861 <action function="set">tw_slider_text=Swipe to Confirm</action>
2862 <action function="page">confirm_action</action>
2863 </actions>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <condition var1="tw_show_dumlock" var2="1" />
2869 <placement x="%col2_x%" y="%row1_y%" />
2870 <font resource="font" color="%button_text_color%" />
2871 <text>Reflash Recovery</text>
2872 <image resource="main_button" />
2873 <actions>
2874 <action function="set">tw_back=htcdumlock</action>
2875 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2876 <action function="set">tw_text1=Reflash recovery to boot?</action>
2877 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2878 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2879 <action function="set">tw_slider_text=Swipe to Confirm</action>
2880 <action function="page">confirm_action</action>
2881 </actions>
2882 </object>
2883
2884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002885 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <condition var1="tw_show_dumlock" var2="1" />
2887 <placement x="%col1_x%" y="%row2_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text>Install HTC Dumlock</text>
2890 <image resource="main_button" />
2891 <actions>
2892 <action function="set">tw_back=htcdumlock</action>
2893 <action function="set">tw_action=installhtcdumlock</action>
2894 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2895 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2896 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2897 <action function="set">tw_slider_text=Swipe to Confirm</action>
2898 <action function="page">confirm_action</action>
2899 </actions>
2900 </object>
2901
2902 <object type="action">
2903 <touch key="home" />
2904 <action function="page">main</action>
2905 </object>
2906
2907 <object type="action">
2908 <touch key="back" />
2909 <action function="page">advanced</action>
2910 </object>
2911
2912 <object type="template" name="footer" />
2913 </page>
2914
2915 <page name="lock">
2916 <background color="#000000A0" />
2917
2918 <object type="image">
2919 <image resource="unlock-icon" />
2920 <placement x="%lock_x%" y="%lock_y%" />
2921 </object>
2922
2923 <object type="slider">
2924 <placement x="%slider_x%" y="%slider_y%" />
2925 <resource base="slider" used="slider-used" touch="slider-touch" />
2926 <action function="overlay"></action>
2927 </object>
2928
2929 <object type="text" color="%text_color%">
2930 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002931 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002932 <text>Swipe to Unlock</text>
2933 </object>
2934 </page>
2935
2936 <page name="filemanagerlist">
2937 <object type="template" name="header" />
2938
2939 <object type="text" color="%text_color%">
2940 <font resource="font" />
2941 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2942 <text>File Manager: Select a File or Folder</text>
2943 </object>
2944
2945 <object type="fileselector">
2946 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2947 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2948 <text>%tw_file_location1%</text>
2949 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2950 <sort name="tw_gui_sort_order" />
2951 <icon folder="folder_icon" file="file_icon" />
2952 <background color="%fileselector_background%" />
2953 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2954 <folders="1" files="1" />
2955 <path name="tw_file_location1" default="/" />
2956 <data name="tw_filename1" />
2957 <selection name="tw_selection1" />
2958 </object>
2959
2960 <object type="template" name="sort_options" />
2961
2962 <object type="action">
2963 <actions>
2964 <action function="set">tw_fm_type=File</action>
2965 <action function="set">tw_fm_isfolder=0</action>
2966 </actions>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="home" />
2971 <action function="page">main</action>
2972 </object>
2973
2974 <object type="action">
2975 <touch key="back" />
2976 <action function="page">advanced</action>
2977 </object>
2978
2979 <object type="action">
2980 <condition var1="tw_filename1" op="modified" />
2981 <actions>
2982 <action function="page">filemanageroptions</action>
2983 </actions>
2984 </object>
2985
2986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002987 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002988 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2989 <font resource="font" color="%button_text_color%" />
2990 <text>Select</text>
2991 <image resource="medium_button" />
2992 <actions>
2993 <action function="set">tw_filename1=tw_file_location1</action>
2994 <action function="set">tw_fm_isfolder=1</action>
2995 <action function="set">tw_fm_type=Folder</action>
2996 <action function="page">filemanageroptions</action>
2997 </actions>
2998 </object>
2999
3000 <object type="template" name="footer" />
3001 </page>
3002
3003 <page name="filemanageroptions">
3004 <object type="template" name="header" />
3005
3006 <object type="text" color="%text_color%">
3007 <font resource="font" />
3008 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3009 <text>%tw_fm_type% Selected:</text>
3010 </object>
3011
3012 <object type="text" color="%text_color%">
3013 <font resource="font" />
3014 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3015 <text>%tw_filename1%</text>
3016 </object>
3017
3018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003019 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003020 <condition var1="tw_fm_isfolder" var2="0" />
3021 <placement x="%col1_x%" y="%row2_y%" />
3022 <font resource="font" color="%button_text_color%" />
3023 <text>Copy File</text>
3024 <image resource="main_button" />
3025 <actions>
3026 <action function="set">tw_filemanager_command=cp</action>
3027 <action function="set">tw_fm_text1=Copying</action>
3028 <action function="page">choosedestinationfolder</action>
3029 </actions>
3030 </object>
3031
3032 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003033 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003034 <condition var1="tw_fm_isfolder" var2="1" />
3035 <placement x="%col1_x%" y="%row2_y%" />
3036 <font resource="font" color="%button_text_color%" />
3037 <text>Copy Folder</text>
3038 <image resource="main_button" />
3039 <actions>
3040 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3041 <action function="set">tw_fm_text1=Copying</action>
3042 <action function="page">choosedestinationfolder</action>
3043 </actions>
3044 </object>
3045
3046 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003047 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003048 <placement x="%col2_x%" y="%row2_y%" />
3049 <font resource="font" color="%button_text_color%" />
3050 <text>Move</text>
3051 <image resource="main_button" />
3052 <actions>
3053 <action function="set">tw_filemanager_command=mv</action>
3054 <action function="set">tw_fm_text1=Moving</action>
3055 <action function="page">choosedestinationfolder</action>
3056 </actions>
3057 </object>
3058
3059 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003060 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003061 <placement x="%col1_x%" y="%row3_y%" />
3062 <font resource="font" color="%button_text_color%" />
3063 <text>chmod 755</text>
3064 <image resource="main_button" />
3065 <actions>
3066 <action function="set">tw_filemanager_command=chmod 755</action>
3067 <action function="set">tw_fm_text1=chmod 755</action>
3068 <action function="set">tw_fm_text2=</action>
3069 <action function="set">tw_fm_text3=</action>
3070 <action function="set">tw_include_text3=0</action>
3071 <action function="set">tw_back=filemanageroptions</action>
3072 <action function="page">filemanagerconfirm</action>
3073 </actions>
3074 </object>
3075
3076 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003077 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <placement x="%col2_x%" y="%row3_y%" />
3079 <font resource="font" color="%button_text_color%" />
3080 <text>chmod</text>
3081 <image resource="main_button" />
3082 <actions>
3083 <action function="set">tw_filemanager_rename=0000</action>
3084 <action function="set">tw_fm_text2=</action>
3085 <action function="set">tw_fm_text3=</action>
3086 <action function="set">tw_include_text3=0</action>
3087 <action function="set">tw_back=filemanageroptions</action>
3088 <action function="page">filemanagerchmod</action>
3089 </actions>
3090 </object>
3091
3092 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003093 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <placement x="%col1_x%" y="%row4_y%" />
3095 <font resource="font" color="%button_text_color%" />
3096 <text>Delete</text>
3097 <image resource="main_button" />
3098 <actions>
3099 <action function="set">tw_filemanager_command=rm -rf</action>
3100 <action function="set">tw_fm_text1=Deleting</action>
3101 <action function="set">tw_fm_text2=</action>
3102 <action function="set">tw_fm_text3=</action>
3103 <action function="set">tw_include_text3=0</action>
3104 <action function="set">tw_back=filemanageroptions</action>
3105 <action function="page">filemanagerconfirm</action>
3106 </actions>
3107 </object>
3108
3109 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003110 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003111 <condition var1="tw_fm_isfolder" var2="0" />
3112 <placement x="%col2_x%" y="%row4_y%" />
3113 <font resource="font" color="%button_text_color%" />
3114 <text>Rename File</text>
3115 <image resource="main_button" />
3116 <actions>
3117 <action function="set">tw_filemanager_rename=tw_selection1</action>
3118 <action function="set">tw_fm_text1=Renaming</action>
3119 <action function="set">tw_filemanager_command=mv</action>
3120 <action function="page">filemanagerrenamefile</action>
3121 </actions>
3122 </object>
3123
3124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <condition var1="tw_fm_isfolder" var2="1" />
3127 <placement x="%col2_x%" y="%row4_y%" />
3128 <font resource="font" color="%button_text_color%" />
3129 <text>Rename Folder</text>
3130 <image resource="main_button" />
3131 <actions>
3132 <action function="set">tw_filemanager_rename=tw_selection1</action>
3133 <action function="set">tw_fm_text1=Renaming</action>
3134 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3135 <action function="page">filemanagerrenamefolder</action>
3136 </actions>
3137 </object>
3138
3139 <object type="action">
3140 <touch key="home" />
3141 <action function="page">main</action>
3142 </object>
3143
3144 <object type="action">
3145 <touch key="back" />
3146 <action function="page">filemanagerlist</action>
3147 </object>
3148
3149 <object type="template" name="footer" />
3150 </page>
3151
3152 <page name="choosedestinationfolder">
3153 <object type="template" name="header" />
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3158 <text>Browse to Destination Folder & Press Select</text>
3159 </object>
3160
3161 <object type="fileselector">
3162 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3163 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3164 <text>%tw_file_location2%</text>
3165 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3166 <sort name="tw_gui_sort_order" />
3167 <icon folder="folder_icon" file="file_icon" />
3168 <background color="%fileselector_background%" />
3169 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3170 <filter folders="1" files="0" />
3171 <path name="tw_file_location2" default="/" />
3172 <data name="tw_filename2" />
3173 <selection name="tw_selection2" />
3174 </object>
3175
3176 <object type="template" name="sort_options" />
3177
3178 <object type="action">
3179 <touch key="home" />
3180 <action function="page">main</action>
3181 </object>
3182
3183 <object type="action">
3184 <touch key="back" />
3185 <action function="page">filemanageroptions</action>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Select</text>
3193 <image resource="medium_button" />
3194 <actions>
3195 <action function="set">tw_fm_text2=to</action>
3196 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3197 <action function="set">tw_include_text3=1</action>
3198 <action function="set">tw_back=filemanageroptions</action>
3199 <action function="page">filemanagerconfirm</action>
3200 </actions>
3201 </object>
3202
3203 <object type="template" name="footer" />
3204 </page>
3205
3206 <page name="filemanagerrenamefile">
3207 <object type="template" name="header" />
3208
3209 <object type="text" color="%text_color%">
3210 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3211 <font resource="font" />
3212 <text>Please Enter a New %tw_fm_type% Name</text>
3213 </object>
3214
3215 <object type="input">
3216 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3217 <background color="%input_background_color%" />
3218 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3219 <font resource="font" color="%text_color%" />
3220 <text>%tw_filemanager_rename%</text>
3221 <data name="tw_filemanager_rename" />
3222 <restrict minlen="1" maxlen="128" />
3223 <actions>
3224 <action function="set">tw_fm_text2=to</action>
3225 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3226 <action function="set">tw_include_text3=1</action>
3227 <action function="set">tw_back=filemanageroptions</action>
3228 <action function="page">filemanagerconfirm</action>
3229 </actions>
3230 </object>
3231
3232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003234 <placement x="%col_center_x%" y="%row2_y%" />
3235 <font resource="font" color="%button_text_color%" />
3236 <text>Cancel</text>
3237 <image resource="main_button" />
3238 <action function="page">filemanageroptions</action>
3239 </object>
3240
3241 <object type="template" name="keyboardtemplate" />
3242
3243 <object type="action">
3244 <touch key="home" />
3245 <action function="page">main</action>
3246 </object>
3247
3248 <object type="action">
3249 <touch key="back" />
3250 <action function="page">filemanageroptions</action>
3251 </object>
3252
3253 <object type="template" name="footer" />
3254 </page>
3255
3256 <page name="filemanagerrenamefolder">
3257 <object type="template" name="header" />
3258
3259 <object type="text" color="%text_color%">
3260 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3261 <font resource="font" />
3262 <text>Please Enter a New %tw_fm_type% Name</text>
3263 </object>
3264
3265 <object type="input">
3266 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3267 <background color="%input_background_color%" />
3268 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3269 <font resource="font" color="%text_color%" />
3270 <text>%tw_filemanager_rename%</text>
3271 <data name="tw_filemanager_rename" />
3272 <restrict minlen="1" maxlen="128" />
3273 <actions>
3274 <action function="set">tw_fm_text2=to</action>
3275 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3276 <action function="set">tw_include_text3=1</action>
3277 <action function="set">tw_back=filemanageroptions</action>
3278 <action function="page">filemanagerconfirm</action>
3279 </actions>
3280 </object>
3281
3282 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003283 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003284 <placement x="%col_center_x%" y="%row2_y%" />
3285 <font resource="font" color="%button_text_color%" />
3286 <text>Cancel</text>
3287 <image resource="main_button" />
3288 <action function="page">filemanageroptions</action>
3289 </object>
3290
3291 <object type="template" name="keyboardtemplate" />
3292
3293 <object type="action">
3294 <touch key="home" />
3295 <action function="page">main</action>
3296 </object>
3297
3298 <object type="action">
3299 <touch key="back" />
3300 <action function="page">filemanageroptions</action>
3301 </object>
3302
3303 <object type="template" name="footer" />
3304 </page>
3305
3306 <page name="filemanagerchmod">
3307 <object type="template" name="header" />
3308
3309 <object type="text" color="%text_color%">
3310 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3311 <font resource="font" />
3312 <text>Please Enter New Permissions</text>
3313 </object>
3314
3315 <object type="input">
3316 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3317 <background color="%input_background_color%" />
3318 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3319 <font resource="font" color="%text_color%" />
3320 <text>%tw_filemanager_rename%</text>
3321 <data name="tw_filemanager_rename" />
3322 <restrict minlen="3" maxlen="4" allow="0123456789" />
3323 <actions>
3324 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3325 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3326 <action function="set">tw_back=filemanageroptions</action>
3327 <action function="page">filemanagerconfirm</action>
3328 </actions>
3329 </object>
3330
3331 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003332 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003333 <placement x="%col_center_x%" y="%row2_y%" />
3334 <font resource="font" color="%button_text_color%" />
3335 <text>Cancel</text>
3336 <image resource="main_button" />
3337 <action function="page">filemanageroptions</action>
3338 </object>
3339
3340 <object type="template" name="keyboardtemplate" />
3341
3342 <object type="action">
3343 <touch key="home" />
3344 <action function="page">main</action>
3345 </object>
3346
3347 <object type="action">
3348 <touch key="back" />
3349 <action function="page">filemanageroptions</action>
3350 </object>
3351
3352 <object type="template" name="footer" />
3353 </page>
3354
3355 <page name="filemanagerconfirm">
3356 <object type="template" name="header" />
3357
3358 <object type="text" color="%text_color%">
3359 <font resource="font" />
3360 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3361 <text>%tw_fm_text1%</text>
3362 </object>
3363
3364 <object type="text" color="%text_color%">
3365 <font resource="font" />
3366 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3367 <text>%tw_filename1%</text>
3368 </object>
3369
3370 <object type="text" color="%text_color%">
3371 <font resource="font" />
3372 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3373 <text>%tw_fm_text2%</text>
3374 </object>
3375
3376 <object type="text" color="%text_color%">
3377 <font resource="font" />
3378 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3379 <text>%tw_fm_text3%</text>
3380 </object>
3381
3382 <object type="text" color="%text_color%">
3383 <font resource="font" />
3384 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3385 <text>Press back button to cancel.</text>
3386 </object>
3387
3388 <object type="slider">
3389 <placement x="%slider_x%" y="%slider_y%" />
3390 <resource base="slider" used="slider-used" touch="slider-touch" />
3391 <action function="page">filemanageracction</action>
3392 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003393
Dees_Troy51a0e822012-09-05 15:24:24 -04003394 <object type="text" color="%text_color%">
3395 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003396 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003397 <text>Swipe to Confirm</text>
3398 </object>
3399
3400 <object type="action">
3401 <touch key="back" />
3402 <action function="page">%tw_back%</action>
3403 </object>
3404
3405 <object type="action">
3406 <touch key="home" />
3407 <action function="page">main</action>
3408 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003409
Dees_Troy51a0e822012-09-05 15:24:24 -04003410 <object type="template" name="footer" />
3411 </page>
3412
3413 <page name="filemanageracction">
3414 <object type="template" name="header" />
3415
3416 <object type="text" color="%text_color%">
3417
3418 <font resource="font" />
3419 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3420 <text>%tw_fm_text1%</text>
3421 </object>
3422
3423 <object type="template" name="action_page_console" />
3424
3425 <object type="template" name="progress_bar" />
3426
3427 <object type="action">
3428 <conditions>
3429 <condition var1="tw_operation_state" var2="1" />
3430 <condition var1="tw_operation_status" var2="0" />
3431 </conditions>
3432 <actions>
3433 <action function="set">tw_back=filemanagerlist</action>
3434 <action function="set">tw_complete_text1=File Operation Complete</action>
3435 <action function="page">action_complete</action>
3436 </actions>
3437 </object>
3438
3439 <object type="action">
3440 <conditions>
3441 <condition var1="tw_operation_state" var2="1" />
3442 <condition var1="tw_operation_status" op="!=" var2="0" />
3443 </conditions>
3444 <actions>
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 <condition var1="tw_include_text3" var2="0" />
3452 <actions>
3453 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3454 </actions>
3455 </object>
3456
3457 <object type="action">
3458 <condition var1="tw_include_text3" var2="1" />
3459 <actions>
3460 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3461 </actions>
3462 </object>
3463 </page>
3464
3465 <page name="decrypt">
3466 <object type="template" name="header" />
3467
3468 <object type="text" color="%text_color%">
3469 <font resource="font" />
3470 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3471 <text>Please Enter Your Password</text>
3472 </object>
3473
3474 <object type="input">
3475 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3476 <background color="%input_background_color%" />
3477 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3478 <font resource="font" color="%text_color%" />
3479 <text>%tw_crypto_display%</text>
3480 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3481 <restrict minlen="1" maxlen="254" />
3482 <actions>
3483 <action function="page">trydecrypt</action>
3484 </actions>
3485 </object>
3486
3487 <object type="text" color="%text_fail_color%">
3488 <condition var1="tw_password_fail" var2="1" />
3489 <font resource="font" />
3490 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3491 <text>Password Failed, Please Try Again</text>
3492 </object>
3493
3494 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003495 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003496 <placement x="%col_center_x%" y="%row2_y%" />
3497 <font resource="font" color="%button_text_color%" />
3498 <text>Cancel</text>
3499 <image resource="main_button" />
3500 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003501 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003502 <action function="page">main</action>
3503 </actions>
3504 </object>
3505
3506 <object type="template" name="keyboardtemplate" />
3507
Dees_Troy51a0e822012-09-05 15:24:24 -04003508 <object type="template" name="footer" />
3509 </page>
3510
3511 <page name="trydecrypt">
3512 <object type="template" name="header" />
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3517 <text>Trying Decryption with Your Password</text>
3518 </object>
3519
3520 <object type="template" name="action_page_console" />
3521
3522 <object type="template" name="progress_bar" />
3523
3524 <object type="action">
3525 <action function="decrypt"></action>
3526 </object>
3527
3528 <object type="action">
3529 <conditions>
3530 <condition var1="tw_operation_state" var2="1" />
3531 <condition var1="tw_operation_status" op="!=" var2="0" />
3532 </conditions>
3533 <actions>
3534 <action function="set">tw_password_fail=1</action>
3535 <action function="page">decrypt</action>
3536 </actions>
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>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003544 <actions>
3545 <action function="set">tw_page_done=1</action>
3546 <action function="page">main</action>
3547 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003548 </object>
3549 </page>
3550
3551 <page name="terminalfolder">
3552 <object type="template" name="header" />
3553
3554 <object type="text" color="%text_color%">
3555 <font resource="font" />
3556 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3557 <text>Browse to Starting Folder</text>
3558 </object>
3559
3560 <object type="fileselector">
3561 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3562 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3563 <text>%tw_terminal_location%</text>
3564 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3565 <sort name="tw_gui_sort_order" />
3566 <icon folder="folder_icon" file="file_icon" />
3567 <background color="%fileselector_background%" />
3568 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3569 <filter folders="1" files="0" />
3570 <path name="tw_terminal_location" default="/" />
3571 <data name="tw_terminal" />
3572 <selection name="tw_terminal_selection" />
3573 </object>
3574
3575 <object type="template" name="sort_options" />
3576
3577 <object type="action">
3578 <touch key="home" />
3579 <action function="page">main</action>
3580 </object>
3581
3582 <object type="action">
3583 <touch key="back" />
3584 <action function="page">advanced</action>
3585 </object>
3586
3587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003589 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3590 <font resource="font" color="%button_text_color%" />
3591 <text>Select</text>
3592 <image resource="medium_button" />
3593 <actions>
3594 <action function="page">terminalcommand</action>
3595 </actions>
3596 </object>
3597
3598 <object type="template" name="footer" />
3599 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003600
Dees_Troy51a0e822012-09-05 15:24:24 -04003601 <page name="terminalcommand">
3602 <object type="template" name="header" />
3603
3604 <object type="console">
3605 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3606 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3607 <font resource="fixed" />
3608 </object>
3609
3610 <object type="text" color="%text_color%">
3611 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3612 <font resource="font" />
3613 <text>Starting Path: %tw_terminal_location%</text>
3614 </object>
3615
3616 <object type="input">
3617 <condition var1="tw_terminal_state" var2="0" />
3618 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3619 <background color="%input_background_color%" />
3620 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3621 <font resource="font" color="%text_color%" />
3622 <text>%tw_terminal_command%</text>
3623 <data name="tw_terminal_command" />
3624 <restrict minlen="1" />
3625 <action function="terminalcommand">%tw_terminal_command%</action>
3626 </object>
3627
3628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003630 <condition var1="tw_terminal_state" var2="1" />
3631 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3632 <font resource="font" color="%button_text_color%" />
3633 <text>KILL</text>
3634 <image resource="medium_button" />
3635 <action function="killterminal"></action>
3636 </object>
3637
3638 <object type="template" name="keyboardtemplate" />
3639
3640 <object type="action">
3641 <touch key="home" />
3642 <action function="page">main</action>
3643 </object>
3644
3645 <object type="action">
3646 <touch key="back" />
3647 <action function="page">terminalfolder</action>
3648 </object>
3649 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003650
3651 <page name="sideload">
3652 <object type="template" name="header" />
3653
3654 <object type="text" color="%text_color%">
3655 <font resource="font" />
3656 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3657 <text>ADB Sideload</text>
3658 </object>
3659
3660 <object type="checkbox">
3661 <placement x="%col1_x%" y="%row2_text_y%" />
3662 <font resource="font" color="%text_color%" />
3663 <text>Wipe Dalvik Cache.</text>
3664 <data variable="tw_wipe_dalvik" />
3665 <image checked="checkbox_true" unchecked="checkbox_false" />
3666 </object>
3667
3668 <object type="checkbox">
3669 <placement x="%col1_x%" y="%row3_text_y%" />
3670 <font resource="font" color="%text_color%" />
3671 <text>Wipe Cache.</text>
3672 <data variable="tw_wipe_cache" />
3673 <image checked="checkbox_true" unchecked="checkbox_false" />
3674 </object>
3675
3676 <object type="slider">
3677 <placement x="%slider_x%" y="%slider_y%" />
3678 <resource base="slider" used="slider-used" touch="slider-touch" />
3679 <actions>
3680 <action function="set">tw_back=advanced</action>
3681 <action function="set">tw_action=adbsideload</action>
3682 <action function="set">tw_action_text1=ADB Sideload</action>
3683 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3684 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3685 <action function="set">tw_has_cancel=1</action>
3686 <action function="set">tw_show_reboot=1</action>
3687 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3688 <action function="page">action_page</action>
3689 </actions>
3690 </object>
3691
3692 <object type="text" color="%text_color%">
3693 <font resource="font" />
3694 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3695 <text>Swipe to Start Sideload</text>
3696 </object>
3697
3698 <object type="action">
3699 <touch key="home" />
3700 <action function="page">main</action>
3701 </object>
3702
3703 <object type="action">
3704 <touch key="back" />
3705 <action function="page">advanced</action>
3706 </object>
3707
3708 <object type="template" name="footer" />
3709 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003710 </pages>
3711</recovery>