blob: fa51706ff9853da3feedd65cd2a85781a12e9336 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="383" />
48 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1226" />
106 <variable name="back_button_x" value="625" />
107 <variable name="back_button_y" value="1226" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1090" />
110 <variable name="sort_asc_button_y" value="1080" />
111 <variable name="sort_desc_text_y" value="1150" />
112 <variable name="sort_desc_button_y" value="1140" />
113 <variable name="sort_col1_button_x" value="260" />
114 <variable name="sort_col2_button_x" value="360" />
115 <variable name="sort_col3_button_x" value="460" />
116 <variable name="input_width" value="700" />
117 <variable name="input_height" value="50" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="3" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="720" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="710" />
131 <variable name="fileselector_install_height" value="840" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="36" />
142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="16" />
147 <variable name="sd_plus_x" value="350" />
148 <variable name="sdext_text_x" value="110" />
149 <variable name="sdext_text_y" value="180" />
150 <variable name="sdswap_button_y" value="260" />
151 <variable name="sdswap_text_x" value="110" />
152 <variable name="sdswap_text_y" value="270" />
153 <variable name="sdfilesystem_text_y" value="340" />
154 <variable name="sdfilesystem_button_y" value="380" />
155 <variable name="lock_x" value="160" />
156 <variable name="lock_y" value="400" />
157 <variable name="filemanager_select_x" value="560" />
158 <variable name="filemanager_select_y" value="1080" />
159 <variable name="backup_name_y" value="550" />
160 <variable name="terminal_console_height" value="700" />
161 <variable name="terminal_text_y" value="730" />
162 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="720" />
164 <variable name="row_offset_text_y" value="770" />
165 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400166 <variable name="exclamation_x" value="160" />
167 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400168 </variables>
169
170 <templates>
171 <template name="header">
172 <background color="#000000FF" />
173
174 <object type="image">
175 <image resource="top_bar" />
176 <placement x="0" y="0" />
177 </object>
178
179 <object type="text" color="%text_color%">
180 <font resource="font" />
181 <placement x="120" y="10" />
182 <text>Team Win Recovery Project v%tw_version%</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <condition var1="tw_simulate_actions" var2="1" />
187 <font resource="font" />
188 <placement x="120" y="45" />
189 <text>SIMULATING ACTIONS</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="120" y="76" />
195 <text>%tw_time%</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="270" y="76" />
201 <conditions>
202 <condition var1="tw_no_battery_percent" var2="0" />
203 <condition var1="tw_battery" op=">" var2="0" />
204 <condition var1="tw_battery" op="<" var2="101" />
205 </conditions>
206 <text>Battery: %tw_battery%</text>
207 </object>
208
209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400211 <placement x="%home_button_x%" y="%home_button_y%" />
212 <font resource="font" color="%button_text_color%" />
213 <text></text>
214 <image resource="home_icon" />
215 <condition var1="tw_busy" var2="0" />
216 <action function="key">home</action>
217 </object>
218
219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <placement x="%back_button_x%" y="%back_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="back_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">back</action>
227 </object>
228
229 <object type="action">
230 <touch key="power" />
231 <action function="overlay">lock</action>
232 </object>
233 </template>
234
235 <template name="progress_bar">
236 <object type="progressbar">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource empty="progress_empty" full="progress_full" />
239 <data name="ui_progress" />
240 </object>
241
242 <object type="animation">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource name="progress" />
245 <speed fps="15" render="2" />
246 <loop frame="1" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text>Date</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=2</action>
273 </object>
274
275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400277 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
278 <font resource="font" color="%button_text_color%" />
279 <text>Size</text>
280 <image resource="sort_button" />
281 <action function="set">tw_gui_sort_order=3</action>
282 </object>
283
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
287 <text>Sort Descending:</text>
288 </object>
289
290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Name</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=-1</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=-2</action>
306 </object>
307
308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=-3</action>
315 </object>
316 </template>
317
318 <template name="action_page_console">
319 <object type="console">
320 <placement x="0" y="%row2_y%" w="720" h="470" />
321 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
322 <font resource="fixed" />
323 </object>
324 </template>
325
326 <template name="footer">
327 <object type="console">
328 <slideout resource="slideout" x="325" y="1220" />
329 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
330 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
331 <font resource="fixed" />
332 </object>
333 </template>
334
335 <template name="keyboardtemplate">
336 <object type="keyboard">
337 <placement x="0" y="800" />
338 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <layout1>
341 <keysize height="106" width="72" />
342 <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" />
343 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
344 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
345 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
346 </layout1>
347 <layout2>
348 <keysize height="106" width="72" />
349 <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" />
350 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
351 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
352 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
353 </layout2>
354 <layout3>
355 <keysize height="106" width="72" />
356 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
357 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
358 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
359 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
360 </layout3>
361 <layout4>
362 <keysize height="106" width="72" />
363 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
364 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
365 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
366 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
367 </layout4>
368 </object>
369 </template>
370 </templates>
371
372 <pages>
373 <page name="main">
374 <object type="action">
375 <actions>
376 <action function="set">tw_clear_destination=main2</action>
377 <action function="page">clear_vars</action>
378 </actions>
379 </object>
380 </page>
381
382 <page name="main2">
383 <object type="template" name="header" />
384
385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <placement x="%col1_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Install</text>
390 <image resource="main_button" />
391 <actions>
392 <action function="queueclear"></action>
393 <action function="page">install</action>
394 </actions>
395 </object>
396
397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <placement x="%col2_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Wipe</text>
402 <image resource="main_button" />
403 <action function="page">wipe</action>
404 </object>
405
406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <placement x="%col1_x%" y="%row2_y%" />
409 <font resource="font" color="%button_text_color%" />
410 <text>Backup</text>
411 <image resource="main_button" />
412 <action function="page">backup</action>
413 </object>
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col2_x%" y="%row2_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Restore</text>
420 <image resource="main_button" />
421 <action function="page">restore</action>
422 </object>
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row3_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Mount</text>
429 <image resource="main_button" />
430 <action function="page">mount</action>
431 </object>
432
433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400435 <placement x="%col2_x%" y="%row3_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Settings</text>
438 <image resource="main_button" />
439 <action function="page">settings</action>
440 </object>
441
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row4_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Advanced</text>
448 <image resource="main_button" />
449 <action function="page">advanced</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row4_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Reboot</text>
457 <image resource="main_button" />
458 <action function="page">reboot</action>
459 </object>
460
461 <object type="template" name="footer" />
462 </page>
463
464 <page name="install">
465 <object type="template" name="header" />
466
467 <object type="text" color="%text_color%">
468 <font resource="font" />
469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
470 <text>Select Zip to Install</text>
471 </object>
472
473 <object type="button">
474 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400475 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <conditions>
477 <condition var1="tw_has_dual_storage" var2="1" />
478 <condition var1="tw_use_external_storage" var2="1" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_true" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400487 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <conditions>
489 <condition var1="tw_has_dual_storage" var2="1" />
490 <condition var1="tw_use_external_storage" var2="0" />
491 </conditions>
492 <text>Use external SD</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">external</action>
495 </object>
496
497 <object type="button">
498 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400499 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <conditions>
501 <condition var1="tw_has_dual_storage" var2="1" />
502 <condition var1="tw_use_external_storage" var2="1" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_false" />
506 <action function="togglestorage">internal</action>
507 </object>
508
509 <object type="button">
510 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400511 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <conditions>
513 <condition var1="tw_has_dual_storage" var2="1" />
514 <condition var1="tw_use_external_storage" var2="0" />
515 </conditions>
516 <text>Use internal storage</text>
517 <image resource="radio_true" />
518 <action function="togglestorage">internal</action>
519 </object>
520
521 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600522 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400523 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
524 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
525 <text>%tw_zip_location%</text>
526 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
527 <sort name="tw_gui_sort_order" />
528 <icon folder="folder_icon" file="file_icon" />
529 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600530 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400531 <filter extn=".zip" folders="1" files="1" />
532 <path name="tw_zip_location" default="/sdcard" />
533 <data name="tw_filename" />
534 <selection name="tw_file" />
535 </object>
536
537 <object type="template" name="sort_options" />
538
539 <object type="action">
540 <condition var1="tw_filename" op="modified" />
541 <actions>
542 <action function="queuezip"></action>
543 <action function="page">flash_confirm</action>
544 </actions>
545 </object>
546
547 <object type="action">
548 <touch key="back" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="action">
553 <touch key="home" />
554 <action function="page">main</action>
555 </object>
556
557 <object type="template" name="footer" />
558 </page>
559
560 <page name="flash_confirm">
561 <object type="template" name="header" />
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>This operation may install incompatible</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
572 <text>software and render your device unusable.</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
578 <text>Folder:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
584 <text>%tw_zip_location%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
590 <text>File to flash:</text>
591 </object>
592
593 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
596 <text>%tw_file%</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
602 <text>Press back to cancel adding this zip.</text>
603 </object>
604
605 <object type="checkbox">
606 <placement x="%col1_x%" y="%row8_text_y%" />
607 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400608 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <data variable="tw_signed_zip_verify" />
610 <image checked="checkbox_true" unchecked="checkbox_false" />
611 </object>
612
613 <object type="checkbox">
614 <placement x="%col1_x%" y="%row9_text_y%" />
615 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400616 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400617 <data variable="tw_force_md5_check" />
618 <image checked="checkbox_true" unchecked="checkbox_false" />
619 </object>
620
621 <object type="checkbox">
622 <condition var1="tw_has_injecttwrp" var2="1" />
623 <placement x="%col1_x%" y="%row10_text_y%" />
624 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400625 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400626 <data variable="tw_inject_after_zip" />
627 <image checked="checkbox_true" unchecked="checkbox_false" />
628 </object>
629
630 <object type="text" color="%text_color%">
631 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400632 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400633 <text>File %tw_zip_queue_count% of max of 10</text>
634 </object>
635
636 <object type="slider">
637 <placement x="%slider_x%" y="%slider_y%" placement="5" />
638 <resource base="slider" used="slider-used" touch="slider-touch" />
639 <action function="flash">flash_zip</action>
640 </object>
641
642 <object type="text" color="%text_color%">
643 <font resource="font" />
644 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
645 <text>Swipe to Confirm Flash</text>
646 </object>
647
648 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600649 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400650 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
651 <placement x="%col1_x%" y="%row_queue_y%" />
652 <font resource="font" color="%button_text_color%" />
653 <text>Add More Zips</text>
654 <image resource="main_button" />
655 <action function="page">install</action>
656 </object>
657
658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <placement x="%col2_x%" y="%row_queue_y%" />
661 <font resource="font" color="%button_text_color%" />
662 <text>Clear Zip Queue</text>
663 <image resource="main_button" />
664 <actions>
665 <action function="queueclear"></action>
666 <action function="page">install</action>
667 </actions>
668 </object>
669
670 <object type="action">
671 <touch key="back" />
672 <actions>
673 <action function="cancelzip"></action>
674 <action function="page">install</action>
675 </actions>
676 </object>
677
678 <object type="action">
679 <touch key="home" />
680 <action function="page">main</action>
681 </object>
682
683 <object type="template" name="footer" />
684 </page>
685
686 <page name="flash_zip">
687 <object type="template" name="header" />
688
689 <object type="console">
690 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
691 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
692 <font resource="fixed" />
693 </object>
694
695 <object type="text" color="%text_color%">
696 <font resource="font" />
697 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
698 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
699 </object>
700
701 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400702 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400703 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
704 <text>%tw_filename%</text>
705 </object>
706
707 <object type="template" name="progress_bar" />
708
709 <object type="action">
710 <condition var1="tw_operation_state" var2="1" />
711 <action function="page">flash_done</action>
712 </object>
713 </page>
714
715 <page name="flash_done">
716 <object type="template" name="header" />
717
718 <object type="text" color="%text_color%">
719 <font resource="font" />
720 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
721 <text>Zip Install Complete</text>
722 </object>
723
724 <object type="console">
725 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
726 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
727 <font resource="fixed" />
728 </object>
729
730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400732 <placement x="%col1_x%" y="%row4_y%" />
733 <font resource="font" color="%button_text_color%" />
734 <text>Wipe cache/dalvik</text>
735 <image resource="main_button" />
736 <actions>
737 <action function="set">tw_back=flash_done</action>
738 <action function="set">tw_action=wipe</action>
739 <action function="set">tw_action_param=/cache</action>
740 <action function="set">tw_has_action2=1</action>
741 <action function="set">tw_action2=wipe</action>
742 <action function="set">tw_action2_param=dalvik</action>
743 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
744 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
745 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
746 <action function="set">tw_slider_text=Swipe to Wipe</action>
747 <action function="page">confirm_action</action>
748 </actions>
749 </object>
750
751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <placement x="%col2_x%" y="%row4_y%" />
754 <font resource="font" color="%button_text_color%" />
755 <text>Reboot System</text>
756 <image resource="main_button" />
757 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400758 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400759 <action function="set">tw_action=reboot</action>
760 <action function="set">tw_action_param=system</action>
761 <action function="set">tw_has_action2=0</action>
762 <action function="set">tw_text1=No OS Installed! Are you</action>
763 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400764 <action function="set">tw_text3=</action>
765 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400766 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400767 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400768 <action function="set">tw_complete_text1=Rebooting...</action>
769 <action function="set">tw_slider_text=Swipe to Reboot</action>
770 <action function="page">rebootcheck</action>
771 </actions>
772 </object>
773
774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400776 <placement x="%col_center_x%" y="%row3_y%" />
777 <font resource="font" color="%button_text_color%" />
778 <text>Home</text>
779 <image resource="main_button" />
780 <actions>
781 <action function="set">tw_clear_destination=main2</action>
782 <action function="page">clear_vars</action>
783 </actions>
784 </object>
785
786 <object type="text" color="%text_fail_color%">
787 <condition var1="tw_operation_status" op="!=" var2="0" />
788 <font resource="font" />
789 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
790 <text>Failed</text>
791 </object>
792
793 <object type="text" color="%text_success_color%">
794 <condition var1="tw_operation_status" var2="0" />
795 <font resource="font" />
796 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
797 <text>Successful</text>
798 </object>
799
800 <object type="action">
801 <touch key="back" />
802 <actions>
803 <action function="set">tw_clear_destination=install</action>
804 <action function="page">clear_vars</action>
805 </actions>
806 </object>
807
808 <object type="action">
809 <touch key="home" />
810 <actions>
811 <action function="set">tw_clear_destination=main2</action>
812 <action function="page">clear_vars</action>
813 </actions>
814 </object>
815 </page>
816
817 <page name="clear_vars">
818 <object type="action">
819 <action function="set">tw_operation_state=0</action>
820 <action function="set">tw_text1=</action>
821 <action function="set">tw_text2=</action>
822 <action function="set">tw_text3=</action>
823 <action function="set">tw_text4=</action>
824 <action function="set">tw_action_text1=</action>
825 <action function="set">tw_action_text2=</action>
826 <action function="set">tw_action_param=</action>
827 <action function="set">tw_has_action2=0</action>
828 <action function="set">tw_action2=</action>
829 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400830 <action function="set">tw_has_cancel=0</action>
831 <action function="set">tw_cancel_action=</action>
832 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400833 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400834 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400835 <action function="page">%tw_clear_destination%</action>
836 </object>
837 </page>
838
839 <page name="confirm_action">
840 <object type="template" name="header" />
841
Dees_Troye588d252012-10-08 10:28:52 -0400842 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600843 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400844 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400845 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400846 <font resource="font" color="%button_text_color%" />
847 <text></text>
848 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400849 </object>
850
Dees_Troy51a0e822012-09-05 15:24:24 -0400851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
854 <text>%tw_text1%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
859 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
860 <text>%tw_text2%</text>
861 </object>
862
863 <object type="text" color="%text_color%">
864 <font resource="font" />
865 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
866 <text>%tw_text3%</text>
867 </object>
868
869 <object type="text" color="%text_color%">
870 <font resource="font" />
871 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
872 <text>%tw_text4%</text>
873 </object>
874
875 <object type="text" color="%text_color%">
876 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400877 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400878 <text>Press back button to cancel.</text>
879 </object>
880
881 <object type="slider">
882 <placement x="%slider_x%" y="%slider_y%" />
883 <resource base="slider" used="slider-used" touch="slider-touch" />
884 <action function="page">action_page</action>
885 </object>
886
887 <object type="text" color="%text_color%">
888 <font resource="font" />
889 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
890 <text>%tw_slider_text%</text>
891 </object>
892
893 <object type="action">
894 <touch key="back" />
895 <actions>
896 <action function="set">tw_clear_destination=%tw_back%</action>
897 <action function="page">clear_vars</action>
898 </actions>
899 </object>
900
901 <object type="action">
902 <touch key="home" />
903 <action function="page">main</action>
904 </object>
905
906 <object type="template" name="footer" />
907 </page>
908
909 <page name="action_page">
910 <object type="template" name="header" />
911
912 <object type="text" color="%text_color%">
913 <font resource="font" />
914 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
915 <text>%tw_action_text1%</text>
916 </object>
917
918 <object type="text" color="%text_color%">
919 <font resource="font" />
920 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
921 <text>%tw_action_text2%</text>
922 </object>
923
924 <object type="template" name="action_page_console" />
925
Dees_Troybbb21012012-09-20 15:59:46 -0400926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600927 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400928 <condition var1="tw_has_cancel" var2="1" />
929 <placement x="%col_center_medium_x%" y="%row4_y%" />
930 <font resource="font" color="%button_text_color%" />
931 <text>Cancel</text>
932 <image resource="medium_button" />
933 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
934 </object>
935
Dees_Troy51a0e822012-09-05 15:24:24 -0400936 <object type="template" name="progress_bar" />
937
938 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400939 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400940 <actions>
941 <action function="page">action_complete</action>
942 </actions>
943 </object>
944
945 <object type="action">
946 <condition var1="tw_has_action2" var2="0" />
947 <actions>
948 <action function="%tw_action%">%tw_action_param%</action>
949 </actions>
950 </object>
951
952 <object type="action">
953 <condition var1="tw_has_action2" var2="1" />
954 <actions>
955 <action function="%tw_action%">%tw_action_param%</action>
956 <action function="%tw_action2%">%tw_action2_param%</action>
957 </actions>
958 </object>
959 </page>
960
961 <page name="action_complete">
962 <object type="template" name="header" />
963
964 <object type="text" color="%text_color%">
965 <font resource="font" />
966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
967 <text>%tw_complete_text1%</text>
968 </object>
969
970 <object type="text" color="%text_fail_color%">
971 <condition var1="tw_operation_status" op="!=" var2="0" />
972 <font resource="font" />
973 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
974 <text>Failed</text>
975 </object>
976
977 <object type="text" color="%text_success_color%">
978 <condition var1="tw_operation_status" var2="0" />
979 <font resource="font" />
980 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
981 <text>Successful</text>
982 </object>
983
984 <object type="template" name="action_page_console" />
985
986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600987 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400988 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400989 <placement x="%col_center_x%" y="%row4_y%" />
990 <font resource="font" color="%button_text_color%" />
991 <text>Back</text>
992 <image resource="main_button" />
993 <actions>
994 <action function="set">tw_clear_destination=%tw_back%</action>
995 <action function="page">clear_vars</action>
996 </actions>
997 </object>
998
Dees_Troya3f81542012-10-08 10:58:53 -0400999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="1" />
1002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Reboot System</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_back=main2</action>
1008 <action function="set">tw_action=reboot</action>
1009 <action function="set">tw_action_param=system</action>
1010 <action function="set">tw_has_action2=0</action>
1011 <action function="set">tw_text1=No OS Installed! Are you</action>
1012 <action function="set">tw_text2=sure you wish to reboot?</action>
1013 <action function="set">tw_text3=</action>
1014 <action function="set">tw_text4=</action>
1015 <action function="set">tw_action_text1=Rebooting...</action>
1016 <action function="set">tw_action_text2=</action>
1017 <action function="set">tw_complete_text1=Rebooting...</action>
1018 <action function="set">tw_slider_text=Swipe to Reboot</action>
1019 <action function="page">rebootcheck</action>
1020 </actions>
1021 </object>
1022
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <object type="action">
1024 <touch key="home" />
1025 <actions>
1026 <action function="set">tw_clear_destination=main2</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030
1031 <object type="action">
1032 <touch key="back" />
1033 <actions>
1034 <action function="set">tw_clear_destination=%tw_back%</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </object>
1038 </page>
1039
1040 <page name="filecheck">
1041 <object type="action">
1042 <action function="fileexists">%tw_filecheck%</action>
1043 </object>
1044
1045 <object type="action">
1046 <conditions>
1047 <condition var1="tw_operation_state" var2="1" />
1048 <condition var1="tw_operation_status" var2="0" />
1049 </conditions>
1050 <actions>
1051 <action function="set">tw_fileexists=1</action>
1052 <action function="page">%tw_existpage%</action>
1053 </actions>
1054 </object>
1055
1056 <object type="action">
1057 <conditions>
1058 <condition var1="tw_operation_state" var2="1" />
1059 <condition var1="tw_operation_status" var2="1" />
1060 </conditions>
1061 <actions>
1062 <action function="set">tw_fileexists=0</action>
1063 <action function="page">%tw_notexistpage%</action>
1064 </actions>
1065 </object>
1066 </page>
1067
1068 <page name="rebootcheck">
1069 <object type="action">
1070 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1071 <action function="reboot">%tw_action_param%</action>
1072 </object>
1073
1074 <object type="action">
1075 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1076 <action function="page">confirm_action</action>
1077 </object>
1078 </page>
1079
1080 <page name="wipe">
1081 <object type="template" name="header" />
1082
1083 <object type="text" color="%text_color%">
1084 <font resource="font" />
1085 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1086 <text>Wipe Menu</text>
1087 </object>
1088
1089 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001090 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001091 <placement x="%col1_x%" y="%row1_y%" />
1092 <font resource="font" color="%button_text_color%" />
1093 <text>Cache</text>
1094 <image resource="main_button" />
1095 <actions>
1096 <action function="set">tw_back=wipe</action>
1097 <action function="set">tw_action=wipe</action>
1098 <action function="set">tw_action_param=/cache</action>
1099 <action function="set">tw_text1=Wipe Cache?</action>
1100 <action function="set">tw_action_text1=Wiping Cache...</action>
1101 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1102 <action function="set">tw_slider_text=Swipe to Wipe</action>
1103 <action function="page">confirm_action</action>
1104 </actions>
1105 </object>
1106
1107 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001108 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001109 <placement x="%col2_x%" y="%row1_y%" />
1110 <font resource="font" color="%button_text_color%" />
1111 <text>Dalvik Cache</text>
1112 <image resource="main_button" />
1113 <actions>
1114 <action function="set">tw_back=wipe</action>
1115 <action function="set">tw_action=wipe</action>
1116 <action function="set">tw_action_param=dalvik</action>
1117 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1118 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1119 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1120 <action function="set">tw_slider_text=Swipe to Wipe</action>
1121 <action function="page">confirm_action</action>
1122 </actions>
1123 </object>
1124
1125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001127 <placement x="%col1_x%" y="%row2_y%" />
1128 <font resource="font" color="%button_text_color%" />
1129 <text>Factory Reset</text>
1130 <image resource="main_button" />
1131 <actions>
1132 <action function="set">tw_back=wipe</action>
1133 <action function="set">tw_action=wipe</action>
1134 <action function="set">tw_action_param=data</action>
1135 <action function="set">tw_text1=Factory Reset?</action>
1136 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1137 <action function="set">tw_action_text1=Factory Reset...</action>
1138 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1139 <action function="set">tw_slider_text=Swipe to Wipe</action>
1140 <action function="page">confirm_action</action>
1141 </actions>
1142 </object>
1143
1144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <placement x="%col2_x%" y="%row2_y%" />
1147 <font resource="font" color="%button_text_color%" />
1148 <text>System</text>
1149 <image resource="main_button" />
1150 <actions>
1151 <action function="set">tw_back=wipe</action>
1152 <action function="set">tw_action=wipe</action>
1153 <action function="set">tw_action_param=/system</action>
1154 <action function="set">tw_text1=Wipe System?</action>
1155 <action function="set">tw_text2=This will wipe your ROM</action>
1156 <action function="set">tw_action_text1=Wiping System...</action>
1157 <action function="set">tw_complete_text1=System Wipe Complete</action>
1158 <action function="set">tw_slider_text=Swipe to Wipe</action>
1159 <action function="page">confirm_action</action>
1160 </actions>
1161 </object>
1162
1163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 <condition var1="tw_has_external" var2="1" />
1166 <placement x="%col1_x%" y="%row3_y%" />
1167 <font resource="font" color="%button_text_color%" />
1168 <text>External Storage</text>
1169 <image resource="main_button" />
1170 <actions>
1171 <action function="set">tw_back=wipe</action>
1172 <action function="set">tw_action=wipe</action>
1173 <action function="set">tw_action_param=EXTERNAL</action>
1174 <action function="set">tw_has_action2=1</action>
1175 <action function="set">tw_action2=set</action>
1176 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001177 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001178 <action function="set">tw_action_text1=Wiping External Storage...</action>
1179 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1180 <action function="set">tw_slider_text=Swipe to Wipe</action>
1181 <action function="page">confirm_action</action>
1182 </actions>
1183 </object>
1184
1185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001187 <condition var1="tw_has_internal" var2="1" />
1188 <placement x="%col2_x%" y="%row3_y%" />
1189 <font resource="font" color="%button_text_color%" />
1190 <text>Internal Storage</text>
1191 <image resource="main_button" />
1192 <actions>
1193 <action function="set">tw_back=wipe</action>
1194 <action function="set">tw_action=wipe</action>
1195 <action function="set">tw_action_param=INTERNAL</action>
1196 <action function="set">tw_has_action2=1</action>
1197 <action function="set">tw_action2=set</action>
1198 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1199 <action function="set">tw_text1=Wipe Internal Storage?</action>
1200 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1201 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1202 <action function="set">tw_slider_text=Swipe to Wipe</action>
1203 <action function="page">confirm_action</action>
1204 </actions>
1205 </object>
1206
1207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001209 <conditions>
1210 <condition var1="tw_has_internal" var2="1" />
1211 <condition var1="tw_has_data_media" var2="1" />
1212 </conditions>
1213 <placement x="%col1_x%" y="%row4_y%" />
1214 <font resource="font" color="%button_text_color%" />
1215 <text>Format Data</text>
1216 <image resource="main_button" />
1217 <actions>
1218 <action function="set">tw_back=wipe</action>
1219 <action function="set">tw_action=wipe</action>
1220 <action function="set">tw_action_param=DATAMEDIA</action>
1221 <action function="set">tw_has_action2=1</action>
1222 <action function="set">tw_action2=set</action>
1223 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001224 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001226 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001227 <action function="set">tw_action_text1=Formatting Data...</action>
1228 <action function="set">tw_complete_text1=Data Format Complete</action>
1229 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001230 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001231 <action function="page">confirm_action</action>
1232 </actions>
1233 </object>
1234
1235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001236 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001237 <condition var1="tw_has_data_media" var2="0" />
1238 <placement x="%col1_x%" y="%row4_y%" />
1239 <font resource="font" color="%button_text_color%" />
1240 <text>Android Secure</text>
1241 <image resource="main_button" />
1242 <actions>
1243 <action function="set">tw_back=wipe</action>
1244 <action function="set">tw_action=wipe</action>
1245 <action function="set">tw_action_param=ANDROIDSECURE</action>
1246 <action function="set">tw_text1=Wipe Android Secure?</action>
1247 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1248 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1249 <action function="set">tw_slider_text=Swipe to Format</action>
1250 <action function="page">confirm_action</action>
1251 </actions>
1252 </object>
1253
1254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001256 <condition var1="tw_has_sdext_partition" var2="1" />
1257 <placement x="%col2_x%" y="%row4_y%" />
1258 <font resource="font" color="%button_text_color%" />
1259 <text>SD Ext</text>
1260 <image resource="main_button" />
1261 <actions>
1262 <action function="set">tw_back=wipe</action>
1263 <action function="set">tw_action=wipe</action>
1264 <action function="set">tw_action_param=/sd-ext</action>
1265 <action function="set">tw_text1=Wipe SD-Ext?</action>
1266 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1267 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1268 <action function="set">tw_slider_text=Swipe to Wipe</action>
1269 <action function="page">confirm_action</action>
1270 </actions>
1271 </object>
1272
1273 <object type="action">
1274 <touch key="home" />
1275 <action function="page">main</action>
1276 </object>
1277
1278 <object type="action">
1279 <touch key="back" />
1280 <action function="page">main</action>
1281 </object>
1282
1283 <object type="template" name="footer" />
1284 </page>
1285
1286 <page name="backup">
1287 <object type="template" name="header" />
1288
1289 <object type="text" color="%text_color%">
1290 <font resource="font" />
1291 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1292 <text>Backup Name: %tw_backup_name%</text>
1293 </object>
1294
1295 <object type="text" color="%text_color%">
1296 <placement x="%col1_x%" y="%row1_text_y%" />
1297 <font resource="font" />
1298 <text>Backup Device</text>
1299 </object>
1300
1301 <object type="slider">
1302 <placement x="%slider_x%" y="slider_y" />
1303 <resource base="slider" used="slider-used" touch="slider-touch" />
1304 <action function="page">backup_run</action>
1305 </object>
1306
1307 <object type="text" color="%text_color%">
1308 <font resource="font" />
1309 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1310 <text>Swipe to Back Up</text>
1311 </object>
1312
1313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001315 <placement x="%col2_x%" y="%row1_y%" />
1316 <font resource="font" color="%button_text_color%" />
1317 <text>Refresh Sizes</text>
1318 <image resource="main_button" />
1319 <action function="refreshsizes"></action>
1320 </object>
1321
1322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001324 <placement x="%col2_x%" y="%backup_name_y%" />
1325 <font resource="font" color="%button_text_color%" />
1326 <text>Set Backup Name</text>
1327 <image resource="main_button" />
1328 <actions>
1329 <action function="set">tw_fileexists=0</action>
1330 <action function="page">backupname1</action>
1331 </actions>
1332 </object>
1333
1334 <object type="checkbox">
1335 <placement x="%col1_x%" y="%row2_text_y%" />
1336 <font resource="font" color="%text_color%" />
1337 <text>System (%tw_backup_system_size% MB)</text>
1338 <data variable="tw_backup_system" />
1339 <image checked="checkbox_true" unchecked="checkbox_false" />
1340 </object>
1341
1342 <object type="checkbox">
1343 <placement x="%col1_x%" y="%row3_text_y%" />
1344 <font resource="font" color="%text_color%" />
1345 <text>Data (%tw_backup_data_size% MB)</text>
1346 <data variable="tw_backup_data" />
1347 <image checked="checkbox_true" unchecked="checkbox_false" />
1348 </object>
1349
1350 <object type="checkbox">
1351 <condition var1="tw_has_boot_partition" var2="1" />
1352 <placement x="%col1_x%" y="%row4_text_y%" />
1353 <font resource="font" color="%text_color%" />
1354 <text>Boot (%tw_backup_boot_size% MB)</text>
1355 <data variable="tw_backup_boot" />
1356 <image checked="checkbox_true" unchecked="checkbox_false" />
1357 </object>
1358
1359 <object type="checkbox">
1360 <condition var1="tw_has_recovery_partition" var2="1" />
1361 <placement x="%col1_x%" y="%row5_text_y%" />
1362 <font resource="font" color="%text_color%" />
1363 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1364 <data variable="tw_backup_recovery" />
1365 <image checked="checkbox_true" unchecked="checkbox_false" />
1366 </object>
1367
1368 <object type="checkbox">
1369 <placement x="%col1_x%" y="%row6_text_y%" />
1370 <font resource="font" color="%text_color%" />
1371 <text>Cache (%tw_backup_cache_size% MB)</text>
1372 <data variable="tw_backup_cache" />
1373 <image checked="checkbox_true" unchecked="checkbox_false" />
1374 </object>
1375
1376 <object type="checkbox">
1377 <condition var1="tw_has_android_secure" var2="1" />
1378 <placement x="%col1_x%" y="%row7_text_y%" />
1379 <font resource="font" color="%text_color%" />
1380 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1381 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1382 <data variable="tw_backup_andsec" />
1383 <image checked="checkbox_true" unchecked="checkbox_false" />
1384 </object>
1385
1386 <object type="checkbox">
1387 <condition var1="tw_has_sdext_partition" var2="1" />
1388 <placement x="%col1_x%" y="%row8_text_y%" />
1389 <font resource="font" color="%text_color%" />
1390 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1391 <condition var1="fileexists" var2="/sd-ext" />
1392 <data variable="tw_backup_sdext" />
1393 <image checked="checkbox_true" unchecked="checkbox_false" />
1394 </object>
1395
1396 <object type="checkbox">
1397 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001398 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001399 <font resource="font" color="%text_color%" />
1400 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1401 <data variable="tw_backup_sp1" />
1402 <image checked="checkbox_true" unchecked="checkbox_false" />
1403 </object>
1404
1405 <object type="checkbox">
1406 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001407 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001408 <font resource="font" color="%text_color%" />
1409 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1410 <data variable="tw_backup_sp2" />
1411 <image checked="checkbox_true" unchecked="checkbox_false" />
1412 </object>
1413
1414 <object type="checkbox">
1415 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001416 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001417 <font resource="font" color="%text_color%" />
1418 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1419 <data variable="tw_backup_sp3" />
1420 <image checked="checkbox_true" unchecked="checkbox_false" />
1421 </object>
1422
1423 <object type="text" color="%text_color%">
1424 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001425 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <text>Free Space: %tw_storage_free_size% MB</text>
1427 </object>
1428
1429 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001430 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001432 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <data variable="tw_use_compression" />
1434 <image checked="checkbox_true" unchecked="checkbox_false" />
1435 </object>
1436
1437 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001438 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001440 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 <data variable="tw_skip_md5_generate" />
1442 <image checked="checkbox_true" unchecked="checkbox_false" />
1443 </object>
1444
1445 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001446 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <font resource="font" color="%text_color%" />
1448 <conditions>
1449 <condition var1="tw_has_dual_storage" var2="1" />
1450 <condition var1="tw_use_external_storage" var2="1" />
1451 </conditions>
1452 <text>Use external SD</text>
1453 <image resource="radio_true" />
1454 <action function="togglestorage">external</action>
1455 </object>
1456
1457 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001458 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001459 <font resource="font" color="%text_color%" />
1460 <conditions>
1461 <condition var1="tw_has_dual_storage" var2="1" />
1462 <condition var1="tw_use_external_storage" var2="0" />
1463 </conditions>
1464 <text>Use external SD</text>
1465 <image resource="radio_false" />
1466 <action function="togglestorage">external</action>
1467 </object>
1468
1469 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001470 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001471 <font resource="font" color="%text_color%" />
1472 <conditions>
1473 <condition var1="tw_has_dual_storage" var2="1" />
1474 <condition var1="tw_use_external_storage" var2="1" />
1475 </conditions>
1476 <text>Use internal storage</text>
1477 <image resource="radio_false" />
1478 <action function="togglestorage">internal</action>
1479 </object>
1480
1481 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001482 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001483 <font resource="font" color="%text_color%" />
1484 <conditions>
1485 <condition var1="tw_has_dual_storage" var2="1" />
1486 <condition var1="tw_use_external_storage" var2="0" />
1487 </conditions>
1488 <text>Use internal storage</text>
1489 <image resource="radio_true" />
1490 <action function="togglestorage">internal</action>
1491 </object>
1492
1493 <object type="action">
1494 <touch key="home" />
1495 <action function="page">main</action>
1496 </object>
1497
1498 <object type="action">
1499 <touch key="back" />
1500 <action function="page">main</action>
1501 </object>
1502
1503 <object type="template" name="footer" />
1504 </page>
1505
1506 <page name="backupname1">
1507 <object type="action">
1508 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1509 <action function="set">tw_backup_name=</function>
1510 </object>
1511
1512 <object type="action">
1513 <action function="page">backupname2</function>
1514 </object>
1515 </page>
1516
1517 <page name="backupname2">
1518 <object type="template" name="header" />
1519
1520 <object type="text" color="%text_color%">
1521 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1522 <font resource="font" />
1523 <text>Please Enter a Backup Name</text>
1524 </object>
1525
1526 <object type="input">
1527 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1528 <background color="%input_background_color%" />
1529 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1530 <font resource="font" color="%text_color%" />
1531 <text>%tw_backup_name%</text>
1532 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001533 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001534 <actions>
1535 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1536 <action function="set">tw_existpage=backupname2</action>
1537 <action function="set">tw_notexistpage=backup</action>
1538 <action function="page">filecheck</action>
1539 </actions>
1540 </object>
1541
1542 <object type="text" color="%text_fail_color%">
1543 <condition var1="tw_fileexists" var2="1" />
1544 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1545 <font resource="font" />
1546 <text>A backup with that name already exists!</text>
1547 </object>
1548
1549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001551 <placement x="%col_center_x%" y="%row2_y%" />
1552 <font resource="font" color="%button_text_color%" />
1553 <text>Cancel</text>
1554 <image resource="main_button" />
1555 <actions>
1556 <action function="set">tw_backup_name=(Current Date)</action>
1557 <action function="page">backup</action>
1558 </actions>
1559 </object>
1560
1561 <object type="template" name="keyboardtemplate" />
1562
1563 <object type="action">
1564 <touch key="home" />
1565 <actions>
1566 <action function="set">tw_backup_name=(Current Date)</action>
1567 <action function="page">main</action>
1568 </actions>
1569 </object>
1570
1571 <object type="action">
1572 <touch key="back" />
1573 <actions>
1574 <action function="set">tw_backup_name=(Current Date)</action>
1575 <action function="page">backup</action>
1576 </actions>
1577 </object>
1578
1579 <object type="template" name="footer" />
1580 </page>
1581
1582 <page name="backup_run">
1583 <object type="template" name="header" />
1584
1585 <object type="text" color="%text_color%">
1586 <font resource="font" />
1587 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1588 <text>%tw_operation% %tw_partition%</text>
1589 </object>
1590
1591 <object type="template" name="action_page_console" />
1592
1593 <object type="template" name="progress_bar" />
1594
1595 <object type="action">
1596 <action function="nandroid">backup</action>
1597 </object>
1598
1599 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001600 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001601 <actions>
1602 <action function="set">tw_back=backup</action>
1603 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001604 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001605 <action function="page">action_complete</action>
1606 </actions>
1607 </object>
1608 </page>
1609
1610 <page name="restore">
1611 <object type="template" name="header" />
1612
1613 <object type="button">
1614 <placement x="%col1_x%" y="%row1_header_y%" />
1615 <font resource="font" color="%text_color%" />
1616 <conditions>
1617 <condition var1="tw_has_dual_storage" var2="1" />
1618 <condition var1="tw_use_external_storage" var2="1" />
1619 </conditions>
1620 <text>Use external SD</text>
1621 <image resource="radio_true" />
1622 <action function="togglestorage">external</action>
1623 </object>
1624
1625 <object type="button">
1626 <placement x="%col1_x%" y="%row1_header_y%" />
1627 <font resource="font" color="%text_color%" />
1628 <conditions>
1629 <condition var1="tw_has_dual_storage" var2="1" />
1630 <condition var1="tw_use_external_storage" var2="0" />
1631 </conditions>
1632 <text>Use external SD</text>
1633 <image resource="radio_false" />
1634 <action function="togglestorage">external</action>
1635 </object>
1636
1637 <object type="button">
1638 <placement x="%col2_x%" y="%row1_header_y%" />
1639 <font resource="font" color="%text_color%" />
1640 <conditions>
1641 <condition var1="tw_has_dual_storage" var2="1" />
1642 <condition var1="tw_use_external_storage" var2="1" />
1643 </conditions>
1644 <text>Use internal storage</text>
1645 <image resource="radio_false" />
1646 <action function="togglestorage">internal</action>
1647 </object>
1648
1649 <object type="button">
1650 <placement x="%col2_x%" y="%row1_header_y%" />
1651 <font resource="font" color="%text_color%" />
1652 <conditions>
1653 <condition var1="tw_has_dual_storage" var2="1" />
1654 <condition var1="tw_use_external_storage" var2="0" />
1655 </conditions>
1656 <text>Use internal storage</text>
1657 <image resource="radio_true" />
1658 <action function="togglestorage">internal</action>
1659 </object>
1660
1661 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001662 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001663 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1664 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1665 <text>Select Package to Restore:</text>
1666 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1667 <sort name="tw_gui_sort_order" />
1668 <icon folder="folder_icon" file="file_icon" />
1669 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001670 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001671 <filter folders="1" files="0" nav="0" />
1672 <path name="tw_backups_folder" />
1673 <data name="tw_restore" default="" />
1674 <selection name="tw_restore_name" />
1675 </object>
1676
1677 <object type="template" name="sort_options" />
1678
1679 <object type="action">
1680 <condition var1="tw_restore" op="modified" />
1681 <actions>
1682 <action function="readBackup"></action>
1683 <action function="page">restore_select</action>
1684 </actions>
1685 </object>
1686
1687 <object type="action">
1688 <touch key="home" />
1689 <action function="page">main</action>
1690 </object>
1691
1692 <object type="action">
1693 <touch key="back" />
1694 <action function="page">main</action>
1695 </object>
1696
1697 <object type="template" name="footer" />
1698 </page>
1699
1700 <page name="restore_select">
1701 <object type="template" name="header" />
1702
1703 <object type="text">
1704 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1705 <font resource="font" color="%text_color%" />
1706 <text>Restoring: %tw_restore_name%</text>
1707 </object>
1708
1709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <placement x="%col2_x%" y="%row1_y%" />
1712 <font resource="font" color="%button_text_color%" />
1713 <text>Rename Backup</text>
1714 <image resource="main_button" />
1715 <actions>
1716 <action function="set">tw_backup_rename=</action>
1717 <action function="set">tw_fileexists=0</action>
1718 <action function="page">renamebackup</action>
1719 </actions>
1720 </object>
1721
1722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001724 <placement x="%col2_x%" y="%row2_y%" />
1725 <font resource="font" color="%button_text_color%" />
1726 <text>Delete Backup</text>
1727 <image resource="main_button" />
1728 <actions>
1729 <action function="set">tw_back=restore</action>
1730 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001731 <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 -04001732 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1733 <action function="set">tw_text2=This cannot be undone!</action>
1734 <action function="set">tw_action_text1=Deleting Backup...</action>
1735 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1736 <action function="set">tw_slider_text=Swipe to Delete</action>
1737 <action function="page">confirm_action</action>
1738 </actions>
1739 </object>
1740
1741 <object type="slider">
1742 <placement x="%slider_x%" y="%slider_y%" />
1743 <resource base="slider" used="slider-used" touch="slider-touch" />
1744 <action function="page">restore_run</action>
1745 </object>
1746
1747 <object type="text" color="%text_color%">
1748 <font resource="font" />
1749 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1750 <text>Swipe to Restore</text>
1751 </object>
1752
1753 <object type="checkbox">
1754 <placement x="%col1_x%" y="%row2_text_y%" />
1755 <font resource="font" color="%text_color%" />
1756 <text>System</text>
1757 <condition var1="tw_restore_system" op=">=" var2="0" />
1758 <data variable="tw_restore_system" />
1759 <image checked="checkbox_true" unchecked="checkbox_false" />
1760 </object>
1761
1762 <object type="checkbox">
1763 <placement x="%col1_x%" y="%row3_text_y%" />
1764 <font resource="font" color="%text_color%" />
1765 <text>Data</text>
1766 <condition var1="tw_restore_data" op=">=" var2="0" />
1767 <data variable="tw_restore_data" />
1768 <image checked="checkbox_true" unchecked="checkbox_false" />
1769 </object>
1770
1771 <object type="checkbox">
1772 <placement x="%col1_x%" y="%row4_text_y%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>Boot</text>
1775 <condition var1="tw_restore_boot" op=">=" var2="0" />
1776 <data variable="tw_restore_boot" />
1777 <image checked="checkbox_true" unchecked="checkbox_false" />
1778 </object>
1779
1780 <object type="checkbox">
1781 <placement x="%col1_x%" y="%row6_text_y%" />
1782 <font resource="font" color="%text_color%" />
1783 <text>Cache</text>
1784 <condition var1="tw_restore_cache" op=">=" var2="0" />
1785 <data variable="tw_restore_cache" />
1786 <image checked="checkbox_true" unchecked="checkbox_false" />
1787 </object>
1788
1789 <object type="checkbox">
1790 <placement x="%col1_x%" y="%row7_text_y%" />
1791 <font resource="font" color="%text_color%" />
1792 <text>.android_secure</text>
1793 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1794 <data variable="tw_restore_andsec" />
1795 <image checked="checkbox_true" unchecked="checkbox_false" />
1796 </object>
1797
1798 <object type="checkbox">
1799 <placement x="%col1_x%" y="%row8_text_y%" />
1800 <font resource="font" color="%text_color%" />
1801 <text>sd-ext</text>
1802 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1803 <data variable="tw_restore_sdext" />
1804 <image checked="checkbox_true" unchecked="checkbox_false" />
1805 </object>
1806
1807 <object type="checkbox">
1808 <placement x="%col1_x%" y="%row10_text_y%" />
1809 <font resource="font" color="%text_color%" />
1810 <text>%tw_sp1_name%</text>
1811 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1812 <data variable="tw_restore_sp1" />
1813 <image checked="checkbox_true" unchecked="checkbox_false" />
1814 </object>
1815
1816 <object type="checkbox">
1817 <placement x="%col1_x%" y="%row11_text_y%" />
1818 <font resource="font" color="%text_color%" />
1819 <text>%tw_sp2_name%</text>
1820 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1821 <data variable="tw_restore_sp2" />
1822 <image checked="checkbox_true" unchecked="checkbox_false" />
1823 </object>
1824
1825 <object type="checkbox">
1826 <placement x="%col1_x%" y="%row12_text_y%" />
1827 <font resource="font" color="%text_color%" />
1828 <text>%tw_sp3_name%</text>
1829 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1830 <data variable="tw_restore_sp3" />
1831 <image checked="checkbox_true" unchecked="checkbox_false" />
1832 </object>
1833
1834 <object type="checkbox">
1835 <placement x="%col1_x%" y="%row14_text_y%" />
1836 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001837 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001838 <data variable="tw_skip_md5_check" />
1839 <image checked="checkbox_true" unchecked="checkbox_false" />
1840 </object>
1841
1842 <object type="text" color="%text_color%">
1843 <font resource="font" />
1844 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1845 <text>Package Date: %tw_restore_file_date%</text>
1846 </object>
1847
1848 <object type="action">
1849 <touch key="home" />
1850 <action function="page">main</action>
1851 </object>
1852
1853 <object type="action">
1854 <touch key="back" />
1855 <action function="page">restore</action>
1856 </object>
1857
1858 <object type="template" name="footer" />
1859 </page>
1860
1861 <page name="renamebackup">
1862 <object type="template" name="header" />
1863
1864 <object type="text" color="%text_color%">
1865 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1866 <font resource="font" />
1867 <text>Please Enter a New Backup Name</text>
1868 </object>
1869
1870 <object type="input">
1871 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1872 <background color="%input_background_color%" />
1873 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1874 <font resource="font" color="%text_color%" />
1875 <text>%tw_backup_rename%</text>
1876 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001877 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001878 <actions>
1879 <action function="set">tw_back=restore</action>
1880 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001881 <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 -04001882 <action function="set">tw_text1=Rename Backup?</action>
1883 <action function="set">tw_text2=This cannot be undone!</action>
1884 <action function="set">tw_action_text1=Renaming Backup...</action>
1885 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1886 <action function="set">tw_slider_text=Swipe to Rename</action>
1887 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1888 <action function="set">tw_existpage=renamebackup</action>
1889 <action function="set">tw_notexistpage=confirm_action</action>
1890 <action function="page">filecheck</action>
1891 </actions>
1892 </object>
1893
1894 <object type="text" color="%text_fail_color%">
1895 <condition var1="tw_fileexists" var2="1" />
1896 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1897 <font resource="font" />
1898 <text>A backup with that name already exists!</text>
1899 </object>
1900
1901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001903 <placement x="%col_center_x%" y="%row2_y%" />
1904 <font resource="font" color="%button_text_color%" />
1905 <text>Cancel</text>
1906 <image resource="main_button" />
1907 <action function="page">restore_select</action>
1908 </object>
1909
1910 <object type="template" name="keyboardtemplate" />
1911
1912 <object type="action">
1913 <touch key="home" />
1914 <action function="page">main</action>
1915 </object>
1916
1917 <object type="action">
1918 <touch key="back" />
1919 <action function="page">restore_select</action>
1920 </object>
1921
1922 <object type="template" name="footer" />
1923 </page>
1924
1925 <page name="restore_run">
1926 <object type="template" name="header" />
1927
1928 <object type="text" color="%text_color%">
1929 <font resource="font" />
1930 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1931 <text>%tw_operation% %tw_partition%</text>
1932 </object>
1933
1934 <object type="template" name="action_page_console" />
1935
1936 <object type="template" name="progress_bar" />
1937
1938 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001939 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001940 <actions>
1941 <action function="set">tw_back=restore_select</action>
1942 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001943 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001944 <action function="page">action_complete</action>
1945 </actions>
1946 </object>
1947
1948 <object type="action">
1949 <action function="nandroid">restore</action>
1950 </object>
1951 </page>
1952
1953 <page name="mount">
1954 <object type="template" name="header" />
1955
1956 <object type="text" color="%text_color%">
1957 <font resource="font" />
1958 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1959 <text>Mount Menu</text>
1960 </object>
1961
1962 <object type="button">
1963 <placement x="%col1_x%" y="%row1_text_y%" />
1964 <font resource="font" color="%text_color%" />
1965 <condition var1="mounted" op="!=" var2="/system" />
1966 <text>Mount System</text>
1967 <image resource="checkbox_false" />
1968 <action function="mount">/system</action>
1969 </object>
1970
1971 <object type="button">
1972 <placement x="%col1_x%" y="%row1_text_y%" />
1973 <font resource="font" color="%text_color%" />
1974 <condition var1="mounted" op="=" var2="/system" />
1975 <text>Unmount System</text>
1976 <image resource="checkbox_true" />
1977 <action function="umount">/system</action>
1978 </object>
1979
1980 <object type="button">
1981 <placement x="%col1_x%" y="%row2_text_y%" />
1982 <font resource="font" color="%text_color%" />
1983 <condition var1="mounted" op="!=" var2="/data" />
1984 <text>Mount Data</text>
1985 <image resource="checkbox_false" />
1986 <action function="mount">/data</action>
1987 </object>
1988
1989 <object type="button">
1990 <placement x="%col1_x%" y="%row2_text_y%" />
1991 <font resource="font" color="%text_color%" />
1992 <condition var1="mounted" op="=" var2="/data" />
1993 <text>Unmount Data</text>
1994 <image resource="checkbox_true" />
1995 <action function="umount">/data</action>
1996 </object>
1997
1998 <object type="button">
1999 <placement x="%col1_x%" y="%row3_text_y%" />
2000 <font resource="font" color="%text_color%" />
2001 <condition var1="mounted" op="!=" var2="/cache" />
2002 <text>Mount Cache</text>
2003 <image resource="checkbox_false" />
2004 <action function="mount">/cache</action>
2005 </object>
2006
2007 <object type="button">
2008 <placement x="%col1_x%" y="%row3_text_y%" />
2009 <font resource="font" color="%text_color%" />
2010 <condition var1="mounted" op="=" var2="/cache" />
2011 <text>Unmount Cache</text>
2012 <image resource="checkbox_true" />
2013 <action function="umount">/cache</action>
2014 </object>
2015
2016 <object type="button">
2017 <placement x="%col1_x%" y="%row4_text_y%" />
2018 <font resource="font" color="%text_color%" />
2019 <conditions>
2020 <condition var1="tw_has_external" var2="1" />
2021 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2022 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002023 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002024 <image resource="checkbox_false" />
2025 <action function="mount">EXTERNAL</action>
2026 </object>
2027
2028 <object type="button">
2029 <placement x="%col1_x%" y="%row4_text_y%" />
2030 <font resource="font" color="%text_color%" />
2031 <conditions>
2032 <condition var1="tw_has_external" var2="1" />
2033 <condition var1="mounted" op="=" var2="EXTERNAL" />
2034 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002035 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002036 <image resource="checkbox_true" />
2037 <action function="umount">EXTERNAL</action>
2038 </object>
2039
2040 <object type="button">
2041 <placement x="%col2_x%" y="%row4_text_y%" />
2042 <font resource="font" color="%text_color%" />
2043 <conditions>
2044 <condition var1="tw_has_internal" var2="1" />
2045 <condition var1="tw_has_data_media" var2="0" />
2046 <condition var1="mounted" op="!=" var2="INTERNAL" />
2047 </conditions>
2048 <text>Mount Internal</text>
2049 <image resource="checkbox_false" />
2050 <action function="mount">INTERNAL</action>
2051 </object>
2052
2053 <object type="button">
2054 <placement x="%col2_x%" y="%row4_text_y%" />
2055 <font resource="font" color="%text_color%" />
2056 <conditions>
2057 <condition var1="tw_has_internal" var2="1" />
2058 <condition var1="tw_has_data_media" var2="0" />
2059 <condition var1="mounted" op="=" var2="INTERNAL" />
2060 </conditions>
2061 <text>Unmount Internal</text>
2062 <image resource="checkbox_true" />
2063 <action function="umount">INTERNAL</action>
2064 </object>
2065
2066 <object type="button">
2067 <conditions>
2068 <condition var1="tw_has_sdext_partition" var2="1" />
2069 <condition var1="mounted" op="!=" var2="/sd-ext" />
2070 </conditions>
2071 <placement x="%col1_x%" y="%row5_text_y%" />
2072 <font resource="font" color="%text_color%" />
2073 <text>Mount SD-Ext</text>
2074 <image resource="checkbox_false" />
2075 <action function="mount">/sd-ext</action>
2076 </object>
2077
2078 <object type="button">
2079 <placement x="%col1_x%" y="%row5_text_y%" />
2080 <font resource="font" color="%text_color%" />
2081 <condition var1="mounted" op="=" var2="/sd-ext" />
2082 <text>Unmount SD-Ext</text>
2083 <image resource="checkbox_true" />
2084 <action function="umount">/sd-ext</action>
2085 </object>
2086
2087 <object type="button">
2088 <conditions>
2089 <condition var1="tw_boot_is_mountable" var2="1" />
2090 <condition var1="mounted" op="!=" var2="/boot" />
2091 </conditions>
2092 <placement x="%col1_x%" y="%row6_text_y%" />
2093 <font resource="font" color="#A0A0A0" />
2094 <text>Mount Boot</text>
2095 <image resource="checkbox_false" />
2096 <action function="mount">/boot</action>
2097 </object>
2098
2099 <object type="button">
2100 <conditions>
2101 <condition var1="tw_boot_is_mountable" var2="1" />
2102 <condition var1="mounted" op="=" var2="/boot" />
2103 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 <placement x="%col1_x%" y="%row6_text_y%" />
2105 <font resource="font" color="#A0A0A0" />
2106 <text>Unmount Boot</text>
2107 <image resource="checkbox_true" />
2108 <action function="umount">/boot</action>
2109 </object>
2110
2111 <object type="button">
2112 <placement x="%col1_x%" y="%row8_text_y%" />
2113 <font resource="font" color="%text_color%" />
2114 <conditions>
2115 <condition var1="tw_has_dual_storage" var2="1" />
2116 <condition var1="tw_use_external_storage" var2="1" />
2117 </conditions>
2118 <text>Use external SD</text>
2119 <image resource="radio_true" />
2120 <action function="togglestorage">external</action>
2121 </object>
2122
2123 <object type="button">
2124 <placement x="%col1_x%" y="%row8_text_y%" />
2125 <font resource="font" color="%text_color%" />
2126 <conditions>
2127 <condition var1="tw_has_dual_storage" var2="1" />
2128 <condition var1="tw_use_external_storage" var2="0" />
2129 </conditions>
2130 <text>Use external SD</text>
2131 <image resource="radio_false" />
2132 <action function="togglestorage">external</action>
2133 </object>
2134
2135 <object type="button">
2136 <placement x="%col2_x%" y="%row8_text_y%" />
2137 <font resource="font" color="%text_color%" />
2138 <conditions>
2139 <condition var1="tw_has_dual_storage" var2="1" />
2140 <condition var1="tw_use_external_storage" var2="1" />
2141 </conditions>
2142 <text>Use internal storage</text>
2143 <image resource="radio_false" />
2144 <action function="togglestorage">internal</action>
2145 </object>
2146
2147 <object type="button">
2148 <placement x="%col2_x%" y="%row8_text_y%" />
2149 <font resource="font" color="%text_color%" />
2150 <conditions>
2151 <condition var1="tw_has_dual_storage" var2="1" />
2152 <condition var1="tw_use_external_storage" var2="0" />
2153 </conditions>
2154 <text>Use internal storage</text>
2155 <image resource="radio_true" />
2156 <action function="togglestorage">internal</action>
2157 </object>
2158
2159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <condition var1="tw_has_usb_storage" var2="1" />
2162 <placement x="%col1_x%" y="row3_y" />
2163 <font resource="font" color="%button_text_color%" />
2164 <text>Mount USB Storage</text>
2165 <image resource="main_button" />
2166 <action function="page">usb_mount</action>
2167 </object>
2168
Gary Peckffdc6ae2012-11-21 18:02:02 -08002169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002170 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002171 <conditions>
2172 <condition var1="tw_is_encrypted" var2="1" />
2173 <condition var1="tw_is_decrypted" var2="0" />
2174 </conditions>
2175 <placement x="%col2_x%" y="row3_y" />
2176 <font resource="font" color="%button_text_color%" />
2177 <text>Decrypt Data</text>
2178 <image resource="main_button" />
2179 <action function="page">decrypt</action>
2180 </object>
2181
Dees_Troy51a0e822012-09-05 15:24:24 -04002182 <object type="action">
2183 <touch key="home" />
2184 <action function="page">main</action>
2185 </object>
2186
2187 <object type="action">
2188 <touch key="back" />
2189 <action function="page">main</action>
2190 </object>
2191
2192 <object type="template" name="footer" />
2193 </page>
2194
2195 <page name="usb_mount">
2196 <object type="template" name="header" />
2197
2198 <object type="text" color="%text_color%">
2199 <font resource="font" />
2200 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2201 <text>USB Storage Mounted</text>
2202 </object>
2203
2204 <object type="text" color="%text_color%">
2205 <placement x="%col1_x%" y="%row1_text_y%" />
2206 <font resource="font" />
2207 <text>Be sure to safely remove your device</text>
2208 </object>
2209
2210 <object type="text" color="%text_color%">
2211 <placement x="%col1_x%" y="%row2_text_y%" />
2212 <font resource="font" />
2213 <text>from your computer before unmounting!</text>
2214 </object>
2215
2216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002218 <placement x="%col1_x%" y="%row3_y%" />
2219 <font resource="font" color="%button_text_color%" />
2220 <text>Unmount</text>
2221 <image resource="main_button" />
2222 <action function="page">usb_umount</action>
2223 </object>
2224
2225 <object type="action">
2226 <action function="mount">usb</action>
2227 </object>
2228
2229 <object type="template" name="footer" />
2230 </page>
2231
2232 <page name="usb_umount">
2233 <object type="action">
2234 <action function="unmount">usb</action>
2235 </object>
2236
2237 <object type="action">
2238 <action function="page">mount</action>
2239 </object>
2240 </page>
2241
2242 <page name="reboot">
2243 <object type="template" name="header" />
2244
2245 <object type="text" color="%text_color%">
2246 <font resource="font" />
2247 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2248 <text>Reboot Menu</text>
2249 </object>
2250
2251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002253 <condition var1="tw_reboot_system" var2="1" />
2254 <placement x="%col1_x%" y="%row1_y%" />
2255 <font resource="font" color="%button_text_color%" />
2256 <text>System</text>
2257 <image resource="main_button" />
2258 <actions>
2259 <action function="set">tw_back=reboot</action>
2260 <action function="set">tw_action=reboot</action>
2261 <action function="set">tw_action_param=system</action>
2262 <action function="set">tw_has_action2=0</action>
2263 <action function="set">tw_text1=No OS Installed! Are you</action>
2264 <action function="set">tw_text2=sure you wish to reboot?</action>
2265 <action function="set">tw_action_text1=Rebooting...</action>
2266 <action function="set">tw_complete_text1=Rebooting...</action>
2267 <action function="set">tw_slider_text=Swipe to Reboot</action>
2268 <action function="page">rebootcheck</action>
2269 </actions>
2270 </object>
2271
2272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002274 <condition var1="tw_reboot_poweroff" var2="1" />
2275 <placement x="%col2_x%" y="%row1_y%" />
2276 <font resource="font" color="%button_text_color%" />
2277 <text>Power Off</text>
2278 <image resource="main_button" />
2279 <actions>
2280 <action function="set">tw_back=reboot</action>
2281 <action function="set">tw_action=reboot</action>
2282 <action function="set">tw_action_param=poweroff</action>
2283 <action function="set">tw_has_action2=0</action>
2284 <action function="set">tw_text1=No OS Installed! Are you</action>
2285 <action function="set">tw_text2=sure you wish to power off?</action>
2286 <action function="set">tw_action_text1=Turning Off...</action>
2287 <action function="set">tw_complete_text1=Turning Off...</action>
2288 <action function="set">tw_slider_text=Swipe to Power Off</action>
2289 <action function="page">rebootcheck</action>
2290 </actions>
2291 </object>
2292
2293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <condition var1="tw_reboot_recovery" var2="1" />
2296 <placement x="%col1_x%" y="%row2_y%" />
2297 <font resource="font" color="%button_text_color%" />
2298 <text>Recovery</text>
2299 <image resource="main_button" />
2300 <actions>
2301 <action function="set">tw_back=reboot</action>
2302 <action function="set">tw_action=reboot</action>
2303 <action function="set">tw_action_param=recovery</action>
2304 <action function="set">tw_has_action2=0</action>
2305 <action function="set">tw_text1=No OS Installed! Are you</action>
2306 <action function="set">tw_text2=sure you wish to reboot?</action>
2307 <action function="set">tw_action_text1=Rebooting...</action>
2308 <action function="set">tw_complete_text1=Rebooting...</action>
2309 <action function="set">tw_slider_text=Swipe to Reboot</action>
2310 <action function="page">rebootcheck</action>
2311 </actions>
2312 </object>
2313
2314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <condition var1="tw_reboot_bootloader" var2="1" />
2317 <placement x="%col2_x%" y="%row2_y%" />
2318 <font resource="font" color="%button_text_color%" />
2319 <text>Bootloader</text>
2320 <image resource="main_button" />
2321 <actions>
2322 <action function="set">tw_back=reboot</action>
2323 <action function="set">tw_action=reboot</action>
2324 <action function="set">tw_action_param=bootloader</action>
2325 <action function="set">tw_has_action2=0</action>
2326 <action function="set">tw_text1=No OS Installed! Are you</action>
2327 <action function="set">tw_text2=sure you wish to reboot?</action>
2328 <action function="set">tw_action_text1=Rebooting...</action>
2329 <action function="set">tw_complete_text1=Rebooting...</action>
2330 <action function="set">tw_slider_text=Swipe to Reboot</action>
2331 <action function="page">rebootcheck</action>
2332 </actions>
2333 </object>
2334
2335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002337 <condition var1="tw_download_mode" var2="1" />
2338 <placement x="%col1_x%" y="%row3_y%" />
2339 <font resource="font" color="%button_text_color%" />
2340 <text>Download</text>
2341 <image resource="main_button" />
2342 <actions>
2343 <action function="set">tw_back=reboot</action>
2344 <action function="set">tw_action=reboot</action>
2345 <action function="set">tw_action_param=download</action>
2346 <action function="set">tw_has_action2=0</action>
2347 <action function="set">tw_text1=No OS Installed! Are you</action>
2348 <action function="set">tw_text2=sure you wish to reboot?</action>
2349 <action function="set">tw_action_text1=Rebooting...</action>
2350 <action function="set">tw_complete_text1=Rebooting...</action>
2351 <action function="set">tw_slider_text=Swipe to Reboot</action>
2352 <action function="page">rebootcheck</action>
2353 </actions>
2354 </object>
2355
2356 <object type="action">
2357 <touch key="home" />
2358 <action function="page">main</action>
2359 </object>
2360
2361 <object type="action">
2362 <touch key="back" />
2363 <action function="page">main</action>
2364 </object>
2365
2366 <object type="template" name="footer" />
2367 </page>
2368
2369 <page name="settings">
2370 <object type="template" name="header" />
2371
2372 <object type="text" color="%text_color%">
2373 <font resource="font" />
2374 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2375 <text>Settings</text>
2376 </object>
2377
2378 <object type="checkbox">
2379 <placement x="%col1_x%" y="%row1_text_y%" />
2380 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002381 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <data variable="tw_signed_zip_verify" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
2387 <placement x="%col1_x%" y="%row2_text_y%" />
2388 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002389 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <data variable="tw_force_md5_check" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
2395 <placement x="%col1_x%" y="%row3_text_y%" />
2396 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002397 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <data variable="tw_rm_rf" />
2399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
2403 <placement x="%col1_x%" y="%row4_text_y%" />
2404 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002405 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <data variable="tw_skip_md5_generate" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
2411 <placement x="%col1_x%" y="%row5_text_y%" />
2412 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002413 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <data variable="tw_skip_md5_check" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
2419 <placement x="%col1_x%" y="%row6_text_y%" />
2420 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002421 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <data variable="tw_ignore_image_size" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
2427 <placement x="%col1_x%" y="%row7_text_y%" />
2428 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002429 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <data variable="tw_simulate_actions" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="checkbox">
2435 <condition var1="tw_simulate_actions" var2="1" />
2436 <placement x="%col1_x%" y="%row8_text_y%" />
2437 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002438 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <data variable="tw_simulate_fail" />
2440 <image checked="checkbox_true" unchecked="checkbox_false" />
2441 </object>
2442
2443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002445 <placement x="%col1_x%" y="%row3_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Time Zone</text>
2448 <image resource="main_button" />
2449 <action function="page">timezone</action>
2450 </object>
2451
2452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <placement x="%col_center_x%" y="%row4_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Restore Defaults</text>
2457 <image resource="main_button" />
2458 <action function="restoredefaultsettings"></action>
2459 </object>
2460
2461 <object type="action">
2462 <touch key="home" />
2463 <action function="page">main</action>
2464 </object>
2465
2466 <object type="action">
2467 <touch key="back" />
2468 <action function="page">main</action>
2469 </object>
2470
2471 <object type="template" name="footer" />
2472 </page>
2473
2474 <page name="timezone">
2475 <object type="template" name="header" />
2476
Dees_Troy51a0e822012-09-05 15:24:24 -04002477 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002478 <highlight color="%fileselector_highlight_color%" />
2479 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2480 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2481 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002483 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002485 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <data name="tw_time_zone_guisel" />
2487 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2488 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2489 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2490 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2491 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2492 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2493 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2494 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2495 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2496 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2497 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2498 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2499 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2500 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2501 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2502 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2503 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2504 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2505 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2506 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2507 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2508 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2509 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2510 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2511 </object>
2512
2513 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002514 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <font resource="font" color="%text_color%" />
2516 <text>Do you use daylight savings time (DST)?</text>
2517 <data variable="tw_time_zone_guidst" />
2518 <image checked="checkbox_true" unchecked="checkbox_false" />
2519 </object>
2520
2521 <object type="text" color="%text_color%">
2522 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002523 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2525 </object>
2526
2527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002528 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002529 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 <font resource="font" color="%button_text_color%" />
2531 <text>None</text>
2532 <image resource="medium_button" />
2533 <action function="set">tw_time_zone_guioffset=0</action>
2534 </object>
2535
2536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002537 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002538 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002539 <font resource="font" color="%button_text_color%" />
2540 <text>15</text>
2541 <image resource="medium_button" />
2542 <action function="set">tw_time_zone_guioffset=15</action>
2543 </object>
2544
2545 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002546 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002547 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <font resource="font" color="%button_text_color%" />
2549 <text>30</text>
2550 <image resource="medium_button" />
2551 <action function="set">tw_time_zone_guioffset=30</action>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002556 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <font resource="font" color="%button_text_color%" />
2558 <text>45</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=45</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <placement x="%col_center_x%" y="%tz_set_y%" />
2566 <font resource="font" color="%button_text_color%" />
2567 <text>Set Time Zone</text>
2568 <image resource="main_button" />
2569 <action function="setguitimezone"></action>
2570 </object>
2571
2572 <object type="text" color="%text_color%">
2573 <font resource="font" />
2574 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2575 <text>Current Time Zone: %tw_time_zone%</text>
2576 </object>
2577
2578 <object type="action">
2579 <touch key="home" />
2580 <action function="page">main</action>
2581 </object>
2582
2583 <object type="action">
2584 <touch key="back" />
2585 <action function="page">settings</action>
2586 </object>
2587
2588 <object type="template" name="footer" />
2589 </page>
2590
2591 <page name="advanced">
2592 <object type="template" name="header" />
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2597 <text>Advanced</text>
2598 </object>
2599
2600 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002601 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002602 <placement x="%col1_x%" y="%row1_y%" />
2603 <font resource="font" color="%button_text_color%" />
2604 <text>Copy Log to SD</text>
2605 <image resource="main_button" />
2606 <actions>
2607 <action function="set">tw_back=advanced</action>
2608 <action function="set">tw_action=copylog</action>
2609 <action function="set">tw_text1=Copy Log to SD Card?</action>
2610 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2611 <action function="set">tw_complete_text1=Log Copy Complete</action>
2612 <action function="set">tw_slider_text=Swipe to Confirm</action>
2613 <action function="page">confirm_action</action>
2614 </actions>
2615 </object>
2616
2617 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002618 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002619 <placement x="%col2_x%" y="%row1_y%" />
2620 <font resource="font" color="%button_text_color%" />
2621 <text>Fix Permissions</text>
2622 <image resource="main_button" />
2623 <actions>
2624 <action function="set">tw_back=advanced</action>
2625 <action function="set">tw_action=fixpermissions</action>
2626 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002627 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002628 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2629 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002630 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002631 <action function="page">confirm_action</action>
2632 </actions>
2633 </object>
2634
2635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <condition var1="tw_allow_partition_sdcard" var2="1" />
2638 <placement x="%col1_x%" y="%row2_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>Partition SD Card</text>
2641 <image resource="main_button" />
2642 <action function="page">partsdcard</action>
2643 </object>
2644
2645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002647 <placement x="%col2_x%" y="%row2_y%" />
2648 <font resource="font" color="%button_text_color%" />
2649 <text>File Manager</text>
2650 <image resource="main_button" />
2651 <action function="page">filemanagerlist</action>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <placement x="%col1_x%" y="%row3_y%" />
2657 <font resource="font" color="%button_text_color%" />
2658 <text>Terminal Command</text>
2659 <image resource="main_button" />
2660 <action function="page">terminalfolder</action>
2661 </object>
2662
2663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002664 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002665 <placement x="%col2_x%" y="%row3_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>Reload Theme</text>
2668 <image resource="main_button" />
2669 <action function="reload"></action>
2670 </object>
2671
2672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002673 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002674 <placement x="%col1_x%" y="%row4_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>ADB Sideload</text>
2677 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002678 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002679 </object>
2680
2681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <condition var1="tw_show_dumlock" var2="1" />
2684 <placement x="%col2_x%" y="%row4_y%" />
2685 <font resource="font" color="%button_text_color%" />
2686 <text>HTC Dumlock</text>
2687 <image resource="main_button" />
2688 <action function="page">htcdumlock</action>
2689 </object>
2690
2691 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002692 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002693 <condition var1="tw_has_injecttwrp" var2="1" />
2694 <placement x="%col2_x%" y="%row4_y%" />
2695 <font resource="font" color="%button_text_color%" />
2696 <text>Re-Inject TWRP</text>
2697 <image resource="main_button" />
2698 <actions>
2699 <action function="set">tw_back=advanced</action>
2700 <action function="set">tw_action=reinjecttwrp</action>
2701 <action function="set">tw_text1=Re-Inject TWRP?</action>
2702 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2703 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2704 <action function="set">tw_slider_text=Swipe to Confirm</action>
2705 <action function="page">confirm_action</action>
2706 </actions>
2707 </object>
2708
2709 <object type="action">
2710 <touch key="home" />
2711 <action function="page">main</action>
2712 </object>
2713
2714 <object type="action">
2715 <touch key="back" />
2716 <action function="page">main</action>
2717 </object>
2718
2719 <object type="template" name="footer" />
2720 </page>
2721
2722 <page name="partsdcard">
2723 <object type="template" name="header" />
2724
2725 <object type="text" color="%text_color%">
2726 <font resource="font" />
2727 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2728 <text>Partition SD Card</text>
2729 </object>
2730
2731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002733 <placement x="%col1_x%" y="%row1_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text></text>
2736 <image resource="minus_button" />
2737 <action function="addsubtract">tw_sdext_size-128</action>
2738 </object>
2739
2740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <placement x="%sd_plus_x%" y="%row1_y%" />
2743 <font resource="font" color="%button_text_color%" />
2744 <text></text>
2745 <image resource="plus_button" />
2746 <action function="addsubtract">tw_sdext_size+128</action>
2747 </object>
2748
2749 <object type="text" color="%text_color%">
2750 <font resource="font" />
2751 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2752 <text>EXT Size: %tw_sdext_size%</text>
2753 </object>
2754
2755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <placement x="%col1_x%" y="%sdswap_button_y%" />
2758 <font resource="font" color="%button_text_color%" />
2759 <text></text>
2760 <image resource="minus_button" />
2761 <action function="addsubtract">tw_swap_size-32</action>
2762 </object>
2763
2764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text></text>
2769 <image resource="plus_button" />
2770 <action function="addsubtract">tw_swap_size+32</action>
2771 </object>
2772
2773 <object type="text" color="%text_color%">
2774 <font resource="font" />
2775 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2776 <text>Swap Size: %tw_swap_size%</text>
2777 </object>
2778
2779 <object type="text" color="%text_color%">
2780 <font resource="font" />
2781 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2782 <text>File system: %tw_sdpart_file_system%</text>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>EXT3</text>
2790 <image resource="main_button" />
2791 <action function="set">tw_sdpart_file_system=ext3</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <condition var1="tw_sdext_disable_ext4" var2="0" />
2797 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>EXT4</text>
2800 <image resource="main_button" />
2801 <action function="set">tw_sdpart_file_system=ext4</action>
2802 </object>
2803
2804 <object type="text" color="%text_color%">
2805 <font resource="font" />
2806 <placement x="%col1_x%" y="%row12_text_y%" />
2807 <text>You will lose all files on your SD card!</text>
2808 </object>
2809
2810 <object type="text" color="%text_color%">
2811 <font resource="font" />
2812 <placement x="%col1_x%" y="%row13_text_y%" />
2813 <text>This action cannot be undone!</text>
2814 </object>
2815
2816 <object type="slider">
2817 <placement x="%slider_x%" y="%slider_y%" />
2818 <resource base="slider" used="slider-used" touch="slider-touch" />
2819 <action function="page">partsdcardaction</action>
2820 <actions>
2821 <action function="set">tw_back=partsdcard</action>
2822 <action function="set">tw_action=partitionsd</action>
2823 <action function="set">tw_has_action2=1</action>
2824 <action function="set">tw_action2=set</action>
2825 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2826 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2827 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002828 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002829 <action function="page">action_page</action>
2830 </actions>
2831 </object>
2832
2833 <object type="text" color="%text_color%">
2834 <font resource="font" />
2835 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2836 <text>Swipe to Partition</text>
2837 </object>
2838
2839 <object type="action">
2840 <touch key="home" />
2841 <action function="page">main</action>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="back" />
2846 <action function="page">advanced</action>
2847 </object>
2848
2849 <object type="template" name="footer" />
2850 </page>
2851
2852 <page name="htcdumlock">
2853 <object type="template" name="header" />
2854
2855 <object type="text" color="%text_color%">
2856 <font resource="font" />
2857 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2858 <text>HTC Dumlock</text>
2859 </object>
2860
2861 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002862 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002863 <condition var1="tw_show_dumlock" var2="1" />
2864 <placement x="%col1_x%" y="%row1_y%" />
2865 <font resource="font" color="%button_text_color%" />
2866 <text>Restore Original Boot</text>
2867 <image resource="main_button" />
2868 <actions>
2869 <action function="set">tw_back=htcdumlock</action>
2870 <action function="set">tw_action=htcdumlockrestoreboot</action>
2871 <action function="set">tw_text1=Restore original boot image?</action>
2872 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2873 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2874 <action function="set">tw_slider_text=Swipe to Confirm</action>
2875 <action function="page">confirm_action</action>
2876 </actions>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <condition var1="tw_show_dumlock" var2="1" />
2882 <placement x="%col2_x%" y="%row1_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text>Reflash Recovery</text>
2885 <image resource="main_button" />
2886 <actions>
2887 <action function="set">tw_back=htcdumlock</action>
2888 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2889 <action function="set">tw_text1=Reflash recovery to boot?</action>
2890 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2891 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2892 <action function="set">tw_slider_text=Swipe to Confirm</action>
2893 <action function="page">confirm_action</action>
2894 </actions>
2895 </object>
2896
2897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002898 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002899 <condition var1="tw_show_dumlock" var2="1" />
2900 <placement x="%col1_x%" y="%row2_y%" />
2901 <font resource="font" color="%button_text_color%" />
2902 <text>Install HTC Dumlock</text>
2903 <image resource="main_button" />
2904 <actions>
2905 <action function="set">tw_back=htcdumlock</action>
2906 <action function="set">tw_action=installhtcdumlock</action>
2907 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2908 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2909 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2910 <action function="set">tw_slider_text=Swipe to Confirm</action>
2911 <action function="page">confirm_action</action>
2912 </actions>
2913 </object>
2914
2915 <object type="action">
2916 <touch key="home" />
2917 <action function="page">main</action>
2918 </object>
2919
2920 <object type="action">
2921 <touch key="back" />
2922 <action function="page">advanced</action>
2923 </object>
2924
2925 <object type="template" name="footer" />
2926 </page>
2927
2928 <page name="lock">
2929 <background color="#000000A0" />
2930
2931 <object type="image">
2932 <image resource="unlock-icon" />
2933 <placement x="%lock_x%" y="%lock_y%" />
2934 </object>
2935
2936 <object type="slider">
2937 <placement x="%slider_x%" y="%slider_y%" />
2938 <resource base="slider" used="slider-used" touch="slider-touch" />
2939 <action function="overlay"></action>
2940 </object>
2941
2942 <object type="text" color="%text_color%">
2943 <font resource="font" />
2944 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2945 <text>Swipe to Unlock</text>
2946 </object>
2947 </page>
2948
2949 <page name="filemanagerlist">
2950 <object type="template" name="header" />
2951
2952 <object type="text" color="%text_color%">
2953 <font resource="font" />
2954 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2955 <text>File Manager: Select a File or Folder</text>
2956 </object>
2957
2958 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002959 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002960 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2961 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2962 <text>%tw_file_location1%</text>
2963 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2964 <sort name="tw_gui_sort_order" />
2965 <icon folder="folder_icon" file="file_icon" />
2966 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002967 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002968 <folders="1" files="1" />
2969 <path name="tw_file_location1" default="/" />
2970 <data name="tw_filename1" />
2971 <selection name="tw_selection1" />
2972 </object>
2973
2974 <object type="template" name="sort_options" />
2975
2976 <object type="action">
2977 <actions>
2978 <action function="set">tw_fm_type=File</action>
2979 <action function="set">tw_fm_isfolder=0</action>
2980 </actions>
2981 </object>
2982
2983 <object type="action">
2984 <touch key="home" />
2985 <action function="page">main</action>
2986 </object>
2987
2988 <object type="action">
2989 <touch key="back" />
2990 <action function="page">advanced</action>
2991 </object>
2992
2993 <object type="action">
2994 <condition var1="tw_filename1" op="modified" />
2995 <actions>
2996 <action function="page">filemanageroptions</action>
2997 </actions>
2998 </object>
2999
3000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003001 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003002 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3003 <font resource="font" color="%button_text_color%" />
3004 <text>Select</text>
3005 <image resource="medium_button" />
3006 <actions>
3007 <action function="set">tw_filename1=tw_file_location1</action>
3008 <action function="set">tw_fm_isfolder=1</action>
3009 <action function="set">tw_fm_type=Folder</action>
3010 <action function="page">filemanageroptions</action>
3011 </actions>
3012 </object>
3013
3014 <object type="template" name="footer" />
3015 </page>
3016
3017 <page name="filemanageroptions">
3018 <object type="template" name="header" />
3019
3020 <object type="text" color="%text_color%">
3021 <font resource="font" />
3022 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3023 <text>%tw_fm_type% Selected:</text>
3024 </object>
3025
3026 <object type="text" color="%text_color%">
3027 <font resource="font" />
3028 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3029 <text>%tw_filename1%</text>
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="0" />
3035 <placement x="%col1_x%" y="%row2_y%" />
3036 <font resource="font" color="%button_text_color%" />
3037 <text>Copy File</text>
3038 <image resource="main_button" />
3039 <actions>
3040 <action function="set">tw_filemanager_command=cp</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 <condition var1="tw_fm_isfolder" var2="1" />
3049 <placement x="%col1_x%" y="%row2_y%" />
3050 <font resource="font" color="%button_text_color%" />
3051 <text>Copy Folder</text>
3052 <image resource="main_button" />
3053 <actions>
3054 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3055 <action function="set">tw_fm_text1=Copying</action>
3056 <action function="page">choosedestinationfolder</action>
3057 </actions>
3058 </object>
3059
3060 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003061 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003062 <placement x="%col2_x%" y="%row2_y%" />
3063 <font resource="font" color="%button_text_color%" />
3064 <text>Move</text>
3065 <image resource="main_button" />
3066 <actions>
3067 <action function="set">tw_filemanager_command=mv</action>
3068 <action function="set">tw_fm_text1=Moving</action>
3069 <action function="page">choosedestinationfolder</action>
3070 </actions>
3071 </object>
3072
3073 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003074 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003075 <placement x="%col1_x%" y="%row3_y%" />
3076 <font resource="font" color="%button_text_color%" />
3077 <text>chmod 755</text>
3078 <image resource="main_button" />
3079 <actions>
3080 <action function="set">tw_filemanager_command=chmod 755</action>
3081 <action function="set">tw_fm_text1=chmod 755</action>
3082 <action function="set">tw_fm_text2=</action>
3083 <action function="set">tw_fm_text3=</action>
3084 <action function="set">tw_include_text3=0</action>
3085 <action function="set">tw_back=filemanageroptions</action>
3086 <action function="page">filemanagerconfirm</action>
3087 </actions>
3088 </object>
3089
3090 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003091 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <placement x="%col2_x%" y="%row3_y%" />
3093 <font resource="font" color="%button_text_color%" />
3094 <text>chmod</text>
3095 <image resource="main_button" />
3096 <actions>
3097 <action function="set">tw_filemanager_rename=0000</action>
3098 <action function="set">tw_fm_text2=</action>
3099 <action function="set">tw_fm_text3=</action>
3100 <action function="set">tw_include_text3=0</action>
3101 <action function="set">tw_back=filemanageroptions</action>
3102 <action function="page">filemanagerchmod</action>
3103 </actions>
3104 </object>
3105
3106 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003107 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003108 <placement x="%col1_x%" y="%row4_y%" />
3109 <font resource="font" color="%button_text_color%" />
3110 <text>Delete</text>
3111 <image resource="main_button" />
3112 <actions>
3113 <action function="set">tw_filemanager_command=rm -rf</action>
3114 <action function="set">tw_fm_text1=Deleting</action>
3115 <action function="set">tw_fm_text2=</action>
3116 <action function="set">tw_fm_text3=</action>
3117 <action function="set">tw_include_text3=0</action>
3118 <action function="set">tw_back=filemanageroptions</action>
3119 <action function="page">filemanagerconfirm</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <condition var1="tw_fm_isfolder" var2="0" />
3126 <placement x="%col2_x%" y="%row4_y%" />
3127 <font resource="font" color="%button_text_color%" />
3128 <text>Rename File</text>
3129 <image resource="main_button" />
3130 <actions>
3131 <action function="set">tw_filemanager_rename=tw_selection1</action>
3132 <action function="set">tw_fm_text1=Renaming</action>
3133 <action function="set">tw_filemanager_command=mv</action>
3134 <action function="page">filemanagerrenamefile</action>
3135 </actions>
3136 </object>
3137
3138 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003139 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003140 <condition var1="tw_fm_isfolder" var2="1" />
3141 <placement x="%col2_x%" y="%row4_y%" />
3142 <font resource="font" color="%button_text_color%" />
3143 <text>Rename Folder</text>
3144 <image resource="main_button" />
3145 <actions>
3146 <action function="set">tw_filemanager_rename=tw_selection1</action>
3147 <action function="set">tw_fm_text1=Renaming</action>
3148 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3149 <action function="page">filemanagerrenamefolder</action>
3150 </actions>
3151 </object>
3152
3153 <object type="action">
3154 <touch key="home" />
3155 <action function="page">main</action>
3156 </object>
3157
3158 <object type="action">
3159 <touch key="back" />
3160 <action function="page">filemanagerlist</action>
3161 </object>
3162
3163 <object type="template" name="footer" />
3164 </page>
3165
3166 <page name="choosedestinationfolder">
3167 <object type="template" name="header" />
3168
3169 <object type="text" color="%text_color%">
3170 <font resource="font" />
3171 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3172 <text>Browse to Destination Folder & Press Select</text>
3173 </object>
3174
3175 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003176 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003177 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3178 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3179 <text>%tw_file_location2%</text>
3180 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3181 <sort name="tw_gui_sort_order" />
3182 <icon folder="folder_icon" file="file_icon" />
3183 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003184 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003185 <filter folders="1" files="0" />
3186 <path name="tw_file_location2" default="/" />
3187 <data name="tw_filename2" />
3188 <selection name="tw_selection2" />
3189 </object>
3190
3191 <object type="template" name="sort_options" />
3192
3193 <object type="action">
3194 <touch key="home" />
3195 <action function="page">main</action>
3196 </object>
3197
3198 <object type="action">
3199 <touch key="back" />
3200 <action function="page">filemanageroptions</action>
3201 </object>
3202
3203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003205 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>Select</text>
3208 <image resource="medium_button" />
3209 <actions>
3210 <action function="set">tw_fm_text2=to</action>
3211 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3212 <action function="set">tw_include_text3=1</action>
3213 <action function="set">tw_back=filemanageroptions</action>
3214 <action function="page">filemanagerconfirm</action>
3215 </actions>
3216 </object>
3217
3218 <object type="template" name="footer" />
3219 </page>
3220
3221 <page name="filemanagerrenamefile">
3222 <object type="template" name="header" />
3223
3224 <object type="text" color="%text_color%">
3225 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3226 <font resource="font" />
3227 <text>Please Enter a New %tw_fm_type% Name</text>
3228 </object>
3229
3230 <object type="input">
3231 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3232 <background color="%input_background_color%" />
3233 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3234 <font resource="font" color="%text_color%" />
3235 <text>%tw_filemanager_rename%</text>
3236 <data name="tw_filemanager_rename" />
3237 <restrict minlen="1" maxlen="128" />
3238 <actions>
3239 <action function="set">tw_fm_text2=to</action>
3240 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3241 <action function="set">tw_include_text3=1</action>
3242 <action function="set">tw_back=filemanageroptions</action>
3243 <action function="page">filemanagerconfirm</action>
3244 </actions>
3245 </object>
3246
3247 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003248 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <placement x="%col_center_x%" y="%row2_y%" />
3250 <font resource="font" color="%button_text_color%" />
3251 <text>Cancel</text>
3252 <image resource="main_button" />
3253 <action function="page">filemanageroptions</action>
3254 </object>
3255
3256 <object type="template" name="keyboardtemplate" />
3257
3258 <object type="action">
3259 <touch key="home" />
3260 <action function="page">main</action>
3261 </object>
3262
3263 <object type="action">
3264 <touch key="back" />
3265 <action function="page">filemanageroptions</action>
3266 </object>
3267
3268 <object type="template" name="footer" />
3269 </page>
3270
3271 <page name="filemanagerrenamefolder">
3272 <object type="template" name="header" />
3273
3274 <object type="text" color="%text_color%">
3275 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3276 <font resource="font" />
3277 <text>Please Enter a New %tw_fm_type% Name</text>
3278 </object>
3279
3280 <object type="input">
3281 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3282 <background color="%input_background_color%" />
3283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3284 <font resource="font" color="%text_color%" />
3285 <text>%tw_filemanager_rename%</text>
3286 <data name="tw_filemanager_rename" />
3287 <restrict minlen="1" maxlen="128" />
3288 <actions>
3289 <action function="set">tw_fm_text2=to</action>
3290 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3291 <action function="set">tw_include_text3=1</action>
3292 <action function="set">tw_back=filemanageroptions</action>
3293 <action function="page">filemanagerconfirm</action>
3294 </actions>
3295 </object>
3296
3297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003299 <placement x="%col_center_x%" y="%row2_y%" />
3300 <font resource="font" color="%button_text_color%" />
3301 <text>Cancel</text>
3302 <image resource="main_button" />
3303 <action function="page">filemanageroptions</action>
3304 </object>
3305
3306 <object type="template" name="keyboardtemplate" />
3307
3308 <object type="action">
3309 <touch key="home" />
3310 <action function="page">main</action>
3311 </object>
3312
3313 <object type="action">
3314 <touch key="back" />
3315 <action function="page">filemanageroptions</action>
3316 </object>
3317
3318 <object type="template" name="footer" />
3319 </page>
3320
3321 <page name="filemanagerchmod">
3322 <object type="template" name="header" />
3323
3324 <object type="text" color="%text_color%">
3325 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3326 <font resource="font" />
3327 <text>Please Enter New Permissions</text>
3328 </object>
3329
3330 <object type="input">
3331 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3332 <background color="%input_background_color%" />
3333 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3334 <font resource="font" color="%text_color%" />
3335 <text>%tw_filemanager_rename%</text>
3336 <data name="tw_filemanager_rename" />
3337 <restrict minlen="3" maxlen="4" allow="0123456789" />
3338 <actions>
3339 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3340 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3341 <action function="set">tw_back=filemanageroptions</action>
3342 <action function="page">filemanagerconfirm</action>
3343 </actions>
3344 </object>
3345
3346 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003347 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003348 <placement x="%col_center_x%" y="%row2_y%" />
3349 <font resource="font" color="%button_text_color%" />
3350 <text>Cancel</text>
3351 <image resource="main_button" />
3352 <action function="page">filemanageroptions</action>
3353 </object>
3354
3355 <object type="template" name="keyboardtemplate" />
3356
3357 <object type="action">
3358 <touch key="home" />
3359 <action function="page">main</action>
3360 </object>
3361
3362 <object type="action">
3363 <touch key="back" />
3364 <action function="page">filemanageroptions</action>
3365 </object>
3366
3367 <object type="template" name="footer" />
3368 </page>
3369
3370 <page name="filemanagerconfirm">
3371 <object type="template" name="header" />
3372
3373 <object type="text" color="%text_color%">
3374 <font resource="font" />
3375 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3376 <text>%tw_fm_text1%</text>
3377 </object>
3378
3379 <object type="text" color="%text_color%">
3380 <font resource="font" />
3381 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3382 <text>%tw_filename1%</text>
3383 </object>
3384
3385 <object type="text" color="%text_color%">
3386 <font resource="font" />
3387 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3388 <text>%tw_fm_text2%</text>
3389 </object>
3390
3391 <object type="text" color="%text_color%">
3392 <font resource="font" />
3393 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3394 <text>%tw_fm_text3%</text>
3395 </object>
3396
3397 <object type="text" color="%text_color%">
3398 <font resource="font" />
3399 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3400 <text>Press back button to cancel.</text>
3401 </object>
3402
3403 <object type="slider">
3404 <placement x="%slider_x%" y="%slider_y%" />
3405 <resource base="slider" used="slider-used" touch="slider-touch" />
3406 <action function="page">filemanageracction</action>
3407 </object>
3408
3409 <object type="text" color="%text_color%">
3410 <font resource="font" />
3411 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3412 <text>Swipe to Confirm</text>
3413 </object>
3414
3415 <object type="action">
3416 <touch key="back" />
3417 <action function="page">%tw_back%</action>
3418 </object>
3419
3420 <object type="action">
3421 <touch key="home" />
3422 <action function="page">main</action>
3423 </object>
3424
3425 <object type="template" name="footer" />
3426 </page>
3427
3428 <page name="filemanageracction">
3429 <object type="template" name="header" />
3430
3431 <object type="text" color="%text_color%">
3432
3433 <font resource="font" />
3434 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3435 <text>%tw_fm_text1%</text>
3436 </object>
3437
3438 <object type="template" name="action_page_console" />
3439
3440 <object type="template" name="progress_bar" />
3441
3442 <object type="action">
3443 <conditions>
3444 <condition var1="tw_operation_state" var2="1" />
3445 <condition var1="tw_operation_status" var2="0" />
3446 </conditions>
3447 <actions>
3448 <action function="set">tw_back=filemanagerlist</action>
3449 <action function="set">tw_complete_text1=File Operation Complete</action>
3450 <action function="page">action_complete</action>
3451 </actions>
3452 </object>
3453
3454 <object type="action">
3455 <conditions>
3456 <condition var1="tw_operation_state" var2="1" />
3457 <condition var1="tw_operation_status" op="!=" var2="0" />
3458 </conditions>
3459 <actions>
3460 <action function="set">tw_complete_text1=File Operation Complete</action>
3461 <action function="page">action_complete</action>
3462 </actions>
3463 </object>
3464
3465 <object type="action">
3466 <condition var1="tw_include_text3" var2="0" />
3467 <actions>
3468 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3469 </actions>
3470 </object>
3471
3472 <object type="action">
3473 <condition var1="tw_include_text3" var2="1" />
3474 <actions>
3475 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3476 </actions>
3477 </object>
3478 </page>
3479
3480 <page name="decrypt">
3481 <object type="template" name="header" />
3482
3483 <object type="text" color="%text_color%">
3484 <font resource="font" />
3485 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3486 <text>Please Enter Your Password</text>
3487 </object>
3488
3489 <object type="input">
3490 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3491 <background color="%input_background_color%" />
3492 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3493 <font resource="font" color="%text_color%" />
3494 <text>%tw_crypto_display%</text>
3495 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3496 <restrict minlen="1" maxlen="254" />
3497 <actions>
3498 <action function="page">trydecrypt</action>
3499 </actions>
3500 </object>
3501
3502 <object type="text" color="%text_fail_color%">
3503 <condition var1="tw_password_fail" var2="1" />
3504 <font resource="font" />
3505 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3506 <text>Password Failed, Please Try Again</text>
3507 </object>
3508
3509 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003510 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003511 <placement x="%col_center_x%" y="%row2_y%" />
3512 <font resource="font" color="%button_text_color%" />
3513 <text>Cancel</text>
3514 <image resource="main_button" />
3515 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003516 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003517 <action function="page">main</action>
3518 </actions>
3519 </object>
3520
3521 <object type="template" name="keyboardtemplate" />
3522
Dees_Troy51a0e822012-09-05 15:24:24 -04003523 <object type="template" name="footer" />
3524 </page>
3525
3526 <page name="trydecrypt">
3527 <object type="template" name="header" />
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3532 <text>Trying Decryption with Your Password</text>
3533 </object>
3534
3535 <object type="template" name="action_page_console" />
3536
3537 <object type="template" name="progress_bar" />
3538
3539 <object type="action">
3540 <action function="decrypt"></action>
3541 </object>
3542
3543 <object type="action">
3544 <conditions>
3545 <condition var1="tw_operation_state" var2="1" />
3546 <condition var1="tw_operation_status" op="!=" var2="0" />
3547 </conditions>
3548 <actions>
3549 <action function="set">tw_password_fail=1</action>
3550 <action function="page">decrypt</action>
3551 </actions>
3552 </object>
3553
3554 <object type="action">
3555 <conditions>
3556 <condition var1="tw_operation_state" var2="1" />
3557 <condition var1="tw_operation_status" op="=" var2="0" />
3558 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003559 <actions>
3560 <action function="set">tw_page_done=1</action>
3561 <action function="page">main</action>
3562 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003563 </object>
3564 </page>
3565
3566 <page name="terminalfolder">
3567 <object type="template" name="header" />
3568
3569 <object type="text" color="%text_color%">
3570 <font resource="font" />
3571 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3572 <text>Browse to Starting Folder</text>
3573 </object>
3574
3575 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003576 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003577 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3578 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3579 <text>%tw_terminal_location%</text>
3580 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3581 <sort name="tw_gui_sort_order" />
3582 <icon folder="folder_icon" file="file_icon" />
3583 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003584 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003585 <filter folders="1" files="0" />
3586 <path name="tw_terminal_location" default="/" />
3587 <data name="tw_terminal" />
3588 <selection name="tw_terminal_selection" />
3589 </object>
3590
3591 <object type="template" name="sort_options" />
3592
3593 <object type="action">
3594 <touch key="home" />
3595 <action function="page">main</action>
3596 </object>
3597
3598 <object type="action">
3599 <touch key="back" />
3600 <action function="page">advanced</action>
3601 </object>
3602
3603 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003604 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003605 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3606 <font resource="font" color="%button_text_color%" />
3607 <text>Select</text>
3608 <image resource="medium_button" />
3609 <actions>
3610 <action function="page">terminalcommand</action>
3611 </actions>
3612 </object>
3613
3614 <object type="template" name="footer" />
3615 </page>
3616
3617 <page name="terminalcommand">
3618 <object type="template" name="header" />
3619
3620 <object type="console">
3621 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3622 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3623 <font resource="fixed" />
3624 </object>
3625
3626 <object type="text" color="%text_color%">
3627 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3628 <font resource="font" />
3629 <text>Starting Path: %tw_terminal_location%</text>
3630 </object>
3631
3632 <object type="input">
3633 <condition var1="tw_terminal_state" var2="0" />
3634 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3635 <background color="%input_background_color%" />
3636 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3637 <font resource="font" color="%text_color%" />
3638 <text>%tw_terminal_command%</text>
3639 <data name="tw_terminal_command" />
3640 <restrict minlen="1" />
3641 <action function="terminalcommand">%tw_terminal_command%</action>
3642 </object>
3643
3644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003646 <condition var1="tw_terminal_state" var2="1" />
3647 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3648 <font resource="font" color="%button_text_color%" />
3649 <text>KILL</text>
3650 <image resource="medium_button" />
3651 <action function="killterminal"></action>
3652 </object>
3653
3654 <object type="template" name="keyboardtemplate" />
3655
3656 <object type="action">
3657 <touch key="home" />
3658 <action function="page">main</action>
3659 </object>
3660
3661 <object type="action">
3662 <touch key="back" />
3663 <action function="page">terminalfolder</action>
3664 </object>
3665 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003666
3667 <page name="sideload">
3668 <object type="template" name="header" />
3669
3670 <object type="text" color="%text_color%">
3671 <font resource="font" />
3672 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3673 <text>ADB Sideload</text>
3674 </object>
3675
3676 <object type="checkbox">
3677 <placement x="%col1_x%" y="%row2_text_y%" />
3678 <font resource="font" color="%text_color%" />
3679 <text>Wipe Dalvik Cache.</text>
3680 <data variable="tw_wipe_dalvik" />
3681 <image checked="checkbox_true" unchecked="checkbox_false" />
3682 </object>
3683
3684 <object type="checkbox">
3685 <placement x="%col1_x%" y="%row3_text_y%" />
3686 <font resource="font" color="%text_color%" />
3687 <text>Wipe Cache.</text>
3688 <data variable="tw_wipe_cache" />
3689 <image checked="checkbox_true" unchecked="checkbox_false" />
3690 </object>
3691
3692 <object type="slider">
3693 <placement x="%slider_x%" y="%slider_y%" />
3694 <resource base="slider" used="slider-used" touch="slider-touch" />
3695 <actions>
3696 <action function="set">tw_back=advanced</action>
3697 <action function="set">tw_action=adbsideload</action>
3698 <action function="set">tw_action_text1=ADB Sideload</action>
3699 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3700 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3701 <action function="set">tw_has_cancel=1</action>
3702 <action function="set">tw_show_reboot=1</action>
3703 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3704 <action function="page">action_page</action>
3705 </actions>
3706 </object>
3707
3708 <object type="text" color="%text_color%">
3709 <font resource="font" />
3710 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3711 <text>Swipe to Start Sideload</text>
3712 </object>
3713
3714 <object type="action">
3715 <touch key="home" />
3716 <action function="page">main</action>
3717 </object>
3718
3719 <object type="action">
3720 <touch key="back" />
3721 <action function="page">advanced</action>
3722 </object>
3723
3724 <object type="template" name="footer" />
3725 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003726 </pages>
3727</recovery>