blob: 217564fdb918751c3617d3ebaffba1097c979447 [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" />
144 <variable name="listbox_tz_height" value="540" />
145 <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
2477 <object type="text" color="%text_color%">
2478 <font resource="font" />
2479 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2480 <text>Select Time Zone</text>
2481 </object>
2482
2483 <object type="listbox">
2484 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2485 <icon selected="radio_true" unselected="radio_false" />
2486 <background color="%listbox_background%" />
2487 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2488 <data name="tw_time_zone_guisel" />
2489 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2490 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2491 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2492 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2493 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2494 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2495 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2496 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2497 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2498 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2499 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2500 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2501 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2502 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2503 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2504 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2505 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2506 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2507 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2508 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2509 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2510 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2511 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2512 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2513 </object>
2514
2515 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002516 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <font resource="font" color="%text_color%" />
2518 <text>Do you use daylight savings time (DST)?</text>
2519 <data variable="tw_time_zone_guidst" />
2520 <image checked="checkbox_true" unchecked="checkbox_false" />
2521 </object>
2522
2523 <object type="text" color="%text_color%">
2524 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002525 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2527 </object>
2528
2529 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002530 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002531 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <font resource="font" color="%button_text_color%" />
2533 <text>None</text>
2534 <image resource="medium_button" />
2535 <action function="set">tw_time_zone_guioffset=0</action>
2536 </object>
2537
2538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002540 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002541 <font resource="font" color="%button_text_color%" />
2542 <text>15</text>
2543 <image resource="medium_button" />
2544 <action function="set">tw_time_zone_guioffset=15</action>
2545 </object>
2546
2547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002548 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002549 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <font resource="font" color="%button_text_color%" />
2551 <text>30</text>
2552 <image resource="medium_button" />
2553 <action function="set">tw_time_zone_guioffset=30</action>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002558 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <font resource="font" color="%button_text_color%" />
2560 <text>45</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=45</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <placement x="%col_center_x%" y="%tz_set_y%" />
2568 <font resource="font" color="%button_text_color%" />
2569 <text>Set Time Zone</text>
2570 <image resource="main_button" />
2571 <action function="setguitimezone"></action>
2572 </object>
2573
2574 <object type="text" color="%text_color%">
2575 <font resource="font" />
2576 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2577 <text>Current Time Zone: %tw_time_zone%</text>
2578 </object>
2579
2580 <object type="action">
2581 <touch key="home" />
2582 <action function="page">main</action>
2583 </object>
2584
2585 <object type="action">
2586 <touch key="back" />
2587 <action function="page">settings</action>
2588 </object>
2589
2590 <object type="template" name="footer" />
2591 </page>
2592
2593 <page name="advanced">
2594 <object type="template" name="header" />
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2599 <text>Advanced</text>
2600 </object>
2601
2602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002604 <placement x="%col1_x%" y="%row1_y%" />
2605 <font resource="font" color="%button_text_color%" />
2606 <text>Copy Log to SD</text>
2607 <image resource="main_button" />
2608 <actions>
2609 <action function="set">tw_back=advanced</action>
2610 <action function="set">tw_action=copylog</action>
2611 <action function="set">tw_text1=Copy Log to SD Card?</action>
2612 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2613 <action function="set">tw_complete_text1=Log Copy Complete</action>
2614 <action function="set">tw_slider_text=Swipe to Confirm</action>
2615 <action function="page">confirm_action</action>
2616 </actions>
2617 </object>
2618
2619 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002620 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <placement x="%col2_x%" y="%row1_y%" />
2622 <font resource="font" color="%button_text_color%" />
2623 <text>Fix Permissions</text>
2624 <image resource="main_button" />
2625 <actions>
2626 <action function="set">tw_back=advanced</action>
2627 <action function="set">tw_action=fixpermissions</action>
2628 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002630 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2631 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002632 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002633 <action function="page">confirm_action</action>
2634 </actions>
2635 </object>
2636
2637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002639 <condition var1="tw_allow_partition_sdcard" var2="1" />
2640 <placement x="%col1_x%" y="%row2_y%" />
2641 <font resource="font" color="%button_text_color%" />
2642 <text>Partition SD Card</text>
2643 <image resource="main_button" />
2644 <action function="page">partsdcard</action>
2645 </object>
2646
2647 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002648 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002649 <placement x="%col2_x%" y="%row2_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>File Manager</text>
2652 <image resource="main_button" />
2653 <action function="page">filemanagerlist</action>
2654 </object>
2655
2656 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002657 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002658 <placement x="%col1_x%" y="%row3_y%" />
2659 <font resource="font" color="%button_text_color%" />
2660 <text>Terminal Command</text>
2661 <image resource="main_button" />
2662 <action function="page">terminalfolder</action>
2663 </object>
2664
2665 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002666 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002667 <placement x="%col2_x%" y="%row3_y%" />
2668 <font resource="font" color="%button_text_color%" />
2669 <text>Reload Theme</text>
2670 <image resource="main_button" />
2671 <action function="reload"></action>
2672 </object>
2673
2674 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002675 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002676 <placement x="%col1_x%" y="%row4_y%" />
2677 <font resource="font" color="%button_text_color%" />
2678 <text>ADB Sideload</text>
2679 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002680 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002681 </object>
2682
2683 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002684 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002685 <condition var1="tw_show_dumlock" var2="1" />
2686 <placement x="%col2_x%" y="%row4_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>HTC Dumlock</text>
2689 <image resource="main_button" />
2690 <action function="page">htcdumlock</action>
2691 </object>
2692
2693 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002694 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002695 <condition var1="tw_has_injecttwrp" var2="1" />
2696 <placement x="%col2_x%" y="%row4_y%" />
2697 <font resource="font" color="%button_text_color%" />
2698 <text>Re-Inject TWRP</text>
2699 <image resource="main_button" />
2700 <actions>
2701 <action function="set">tw_back=advanced</action>
2702 <action function="set">tw_action=reinjecttwrp</action>
2703 <action function="set">tw_text1=Re-Inject TWRP?</action>
2704 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2705 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2706 <action function="set">tw_slider_text=Swipe to Confirm</action>
2707 <action function="page">confirm_action</action>
2708 </actions>
2709 </object>
2710
2711 <object type="action">
2712 <touch key="home" />
2713 <action function="page">main</action>
2714 </object>
2715
2716 <object type="action">
2717 <touch key="back" />
2718 <action function="page">main</action>
2719 </object>
2720
2721 <object type="template" name="footer" />
2722 </page>
2723
2724 <page name="partsdcard">
2725 <object type="template" name="header" />
2726
2727 <object type="text" color="%text_color%">
2728 <font resource="font" />
2729 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2730 <text>Partition SD Card</text>
2731 </object>
2732
2733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <placement x="%col1_x%" y="%row1_y%" />
2736 <font resource="font" color="%button_text_color%" />
2737 <text></text>
2738 <image resource="minus_button" />
2739 <action function="addsubtract">tw_sdext_size-128</action>
2740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <placement x="%sd_plus_x%" y="%row1_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text></text>
2747 <image resource="plus_button" />
2748 <action function="addsubtract">tw_sdext_size+128</action>
2749 </object>
2750
2751 <object type="text" color="%text_color%">
2752 <font resource="font" />
2753 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2754 <text>EXT Size: %tw_sdext_size%</text>
2755 </object>
2756
2757 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002758 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <placement x="%col1_x%" y="%sdswap_button_y%" />
2760 <font resource="font" color="%button_text_color%" />
2761 <text></text>
2762 <image resource="minus_button" />
2763 <action function="addsubtract">tw_swap_size-32</action>
2764 </object>
2765
2766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002767 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002768 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2769 <font resource="font" color="%button_text_color%" />
2770 <text></text>
2771 <image resource="plus_button" />
2772 <action function="addsubtract">tw_swap_size+32</action>
2773 </object>
2774
2775 <object type="text" color="%text_color%">
2776 <font resource="font" />
2777 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2778 <text>Swap Size: %tw_swap_size%</text>
2779 </object>
2780
2781 <object type="text" color="%text_color%">
2782 <font resource="font" />
2783 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2784 <text>File system: %tw_sdpart_file_system%</text>
2785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2790 <font resource="font" color="%button_text_color%" />
2791 <text>EXT3</text>
2792 <image resource="main_button" />
2793 <action function="set">tw_sdpart_file_system=ext3</action>
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002798 <condition var1="tw_sdext_disable_ext4" var2="0" />
2799 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>EXT4</text>
2802 <image resource="main_button" />
2803 <action function="set">tw_sdpart_file_system=ext4</action>
2804 </object>
2805
2806 <object type="text" color="%text_color%">
2807 <font resource="font" />
2808 <placement x="%col1_x%" y="%row12_text_y%" />
2809 <text>You will lose all files on your SD card!</text>
2810 </object>
2811
2812 <object type="text" color="%text_color%">
2813 <font resource="font" />
2814 <placement x="%col1_x%" y="%row13_text_y%" />
2815 <text>This action cannot be undone!</text>
2816 </object>
2817
2818 <object type="slider">
2819 <placement x="%slider_x%" y="%slider_y%" />
2820 <resource base="slider" used="slider-used" touch="slider-touch" />
2821 <action function="page">partsdcardaction</action>
2822 <actions>
2823 <action function="set">tw_back=partsdcard</action>
2824 <action function="set">tw_action=partitionsd</action>
2825 <action function="set">tw_has_action2=1</action>
2826 <action function="set">tw_action2=set</action>
2827 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2828 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2829 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002830 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002831 <action function="page">action_page</action>
2832 </actions>
2833 </object>
2834
2835 <object type="text" color="%text_color%">
2836 <font resource="font" />
2837 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2838 <text>Swipe to Partition</text>
2839 </object>
2840
2841 <object type="action">
2842 <touch key="home" />
2843 <action function="page">main</action>
2844 </object>
2845
2846 <object type="action">
2847 <touch key="back" />
2848 <action function="page">advanced</action>
2849 </object>
2850
2851 <object type="template" name="footer" />
2852 </page>
2853
2854 <page name="htcdumlock">
2855 <object type="template" name="header" />
2856
2857 <object type="text" color="%text_color%">
2858 <font resource="font" />
2859 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2860 <text>HTC Dumlock</text>
2861 </object>
2862
2863 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002864 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <condition var1="tw_show_dumlock" var2="1" />
2866 <placement x="%col1_x%" y="%row1_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text>Restore Original Boot</text>
2869 <image resource="main_button" />
2870 <actions>
2871 <action function="set">tw_back=htcdumlock</action>
2872 <action function="set">tw_action=htcdumlockrestoreboot</action>
2873 <action function="set">tw_text1=Restore original boot image?</action>
2874 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2875 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2876 <action function="set">tw_slider_text=Swipe to Confirm</action>
2877 <action function="page">confirm_action</action>
2878 </actions>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <condition var1="tw_show_dumlock" var2="1" />
2884 <placement x="%col2_x%" y="%row1_y%" />
2885 <font resource="font" color="%button_text_color%" />
2886 <text>Reflash Recovery</text>
2887 <image resource="main_button" />
2888 <actions>
2889 <action function="set">tw_back=htcdumlock</action>
2890 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2891 <action function="set">tw_text1=Reflash recovery to boot?</action>
2892 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2893 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2894 <action function="set">tw_slider_text=Swipe to Confirm</action>
2895 <action function="page">confirm_action</action>
2896 </actions>
2897 </object>
2898
2899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002900 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002901 <condition var1="tw_show_dumlock" var2="1" />
2902 <placement x="%col1_x%" y="%row2_y%" />
2903 <font resource="font" color="%button_text_color%" />
2904 <text>Install HTC Dumlock</text>
2905 <image resource="main_button" />
2906 <actions>
2907 <action function="set">tw_back=htcdumlock</action>
2908 <action function="set">tw_action=installhtcdumlock</action>
2909 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2910 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2911 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2912 <action function="set">tw_slider_text=Swipe to Confirm</action>
2913 <action function="page">confirm_action</action>
2914 </actions>
2915 </object>
2916
2917 <object type="action">
2918 <touch key="home" />
2919 <action function="page">main</action>
2920 </object>
2921
2922 <object type="action">
2923 <touch key="back" />
2924 <action function="page">advanced</action>
2925 </object>
2926
2927 <object type="template" name="footer" />
2928 </page>
2929
2930 <page name="lock">
2931 <background color="#000000A0" />
2932
2933 <object type="image">
2934 <image resource="unlock-icon" />
2935 <placement x="%lock_x%" y="%lock_y%" />
2936 </object>
2937
2938 <object type="slider">
2939 <placement x="%slider_x%" y="%slider_y%" />
2940 <resource base="slider" used="slider-used" touch="slider-touch" />
2941 <action function="overlay"></action>
2942 </object>
2943
2944 <object type="text" color="%text_color%">
2945 <font resource="font" />
2946 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2947 <text>Swipe to Unlock</text>
2948 </object>
2949 </page>
2950
2951 <page name="filemanagerlist">
2952 <object type="template" name="header" />
2953
2954 <object type="text" color="%text_color%">
2955 <font resource="font" />
2956 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2957 <text>File Manager: Select a File or Folder</text>
2958 </object>
2959
2960 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002961 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2963 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2964 <text>%tw_file_location1%</text>
2965 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2966 <sort name="tw_gui_sort_order" />
2967 <icon folder="folder_icon" file="file_icon" />
2968 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002969 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002970 <folders="1" files="1" />
2971 <path name="tw_file_location1" default="/" />
2972 <data name="tw_filename1" />
2973 <selection name="tw_selection1" />
2974 </object>
2975
2976 <object type="template" name="sort_options" />
2977
2978 <object type="action">
2979 <actions>
2980 <action function="set">tw_fm_type=File</action>
2981 <action function="set">tw_fm_isfolder=0</action>
2982 </actions>
2983 </object>
2984
2985 <object type="action">
2986 <touch key="home" />
2987 <action function="page">main</action>
2988 </object>
2989
2990 <object type="action">
2991 <touch key="back" />
2992 <action function="page">advanced</action>
2993 </object>
2994
2995 <object type="action">
2996 <condition var1="tw_filename1" op="modified" />
2997 <actions>
2998 <action function="page">filemanageroptions</action>
2999 </actions>
3000 </object>
3001
3002 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003003 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003004 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3005 <font resource="font" color="%button_text_color%" />
3006 <text>Select</text>
3007 <image resource="medium_button" />
3008 <actions>
3009 <action function="set">tw_filename1=tw_file_location1</action>
3010 <action function="set">tw_fm_isfolder=1</action>
3011 <action function="set">tw_fm_type=Folder</action>
3012 <action function="page">filemanageroptions</action>
3013 </actions>
3014 </object>
3015
3016 <object type="template" name="footer" />
3017 </page>
3018
3019 <page name="filemanageroptions">
3020 <object type="template" name="header" />
3021
3022 <object type="text" color="%text_color%">
3023 <font resource="font" />
3024 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3025 <text>%tw_fm_type% Selected:</text>
3026 </object>
3027
3028 <object type="text" color="%text_color%">
3029 <font resource="font" />
3030 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3031 <text>%tw_filename1%</text>
3032 </object>
3033
3034 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003035 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003036 <condition var1="tw_fm_isfolder" var2="0" />
3037 <placement x="%col1_x%" y="%row2_y%" />
3038 <font resource="font" color="%button_text_color%" />
3039 <text>Copy File</text>
3040 <image resource="main_button" />
3041 <actions>
3042 <action function="set">tw_filemanager_command=cp</action>
3043 <action function="set">tw_fm_text1=Copying</action>
3044 <action function="page">choosedestinationfolder</action>
3045 </actions>
3046 </object>
3047
3048 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003049 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003050 <condition var1="tw_fm_isfolder" var2="1" />
3051 <placement x="%col1_x%" y="%row2_y%" />
3052 <font resource="font" color="%button_text_color%" />
3053 <text>Copy Folder</text>
3054 <image resource="main_button" />
3055 <actions>
3056 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3057 <action function="set">tw_fm_text1=Copying</action>
3058 <action function="page">choosedestinationfolder</action>
3059 </actions>
3060 </object>
3061
3062 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003063 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003064 <placement x="%col2_x%" y="%row2_y%" />
3065 <font resource="font" color="%button_text_color%" />
3066 <text>Move</text>
3067 <image resource="main_button" />
3068 <actions>
3069 <action function="set">tw_filemanager_command=mv</action>
3070 <action function="set">tw_fm_text1=Moving</action>
3071 <action function="page">choosedestinationfolder</action>
3072 </actions>
3073 </object>
3074
3075 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003076 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%col1_x%" y="%row3_y%" />
3078 <font resource="font" color="%button_text_color%" />
3079 <text>chmod 755</text>
3080 <image resource="main_button" />
3081 <actions>
3082 <action function="set">tw_filemanager_command=chmod 755</action>
3083 <action function="set">tw_fm_text1=chmod 755</action>
3084 <action function="set">tw_fm_text2=</action>
3085 <action function="set">tw_fm_text3=</action>
3086 <action function="set">tw_include_text3=0</action>
3087 <action function="set">tw_back=filemanageroptions</action>
3088 <action function="page">filemanagerconfirm</action>
3089 </actions>
3090 </object>
3091
3092 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003093 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <placement x="%col2_x%" y="%row3_y%" />
3095 <font resource="font" color="%button_text_color%" />
3096 <text>chmod</text>
3097 <image resource="main_button" />
3098 <actions>
3099 <action function="set">tw_filemanager_rename=0000</action>
3100 <action function="set">tw_fm_text2=</action>
3101 <action function="set">tw_fm_text3=</action>
3102 <action function="set">tw_include_text3=0</action>
3103 <action function="set">tw_back=filemanageroptions</action>
3104 <action function="page">filemanagerchmod</action>
3105 </actions>
3106 </object>
3107
3108 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003109 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003110 <placement x="%col1_x%" y="%row4_y%" />
3111 <font resource="font" color="%button_text_color%" />
3112 <text>Delete</text>
3113 <image resource="main_button" />
3114 <actions>
3115 <action function="set">tw_filemanager_command=rm -rf</action>
3116 <action function="set">tw_fm_text1=Deleting</action>
3117 <action function="set">tw_fm_text2=</action>
3118 <action function="set">tw_fm_text3=</action>
3119 <action function="set">tw_include_text3=0</action>
3120 <action function="set">tw_back=filemanageroptions</action>
3121 <action function="page">filemanagerconfirm</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <condition var1="tw_fm_isfolder" var2="0" />
3128 <placement x="%col2_x%" y="%row4_y%" />
3129 <font resource="font" color="%button_text_color%" />
3130 <text>Rename File</text>
3131 <image resource="main_button" />
3132 <actions>
3133 <action function="set">tw_filemanager_rename=tw_selection1</action>
3134 <action function="set">tw_fm_text1=Renaming</action>
3135 <action function="set">tw_filemanager_command=mv</action>
3136 <action function="page">filemanagerrenamefile</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <condition var1="tw_fm_isfolder" var2="1" />
3143 <placement x="%col2_x%" y="%row4_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>Rename Folder</text>
3146 <image resource="main_button" />
3147 <actions>
3148 <action function="set">tw_filemanager_rename=tw_selection1</action>
3149 <action function="set">tw_fm_text1=Renaming</action>
3150 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3151 <action function="page">filemanagerrenamefolder</action>
3152 </actions>
3153 </object>
3154
3155 <object type="action">
3156 <touch key="home" />
3157 <action function="page">main</action>
3158 </object>
3159
3160 <object type="action">
3161 <touch key="back" />
3162 <action function="page">filemanagerlist</action>
3163 </object>
3164
3165 <object type="template" name="footer" />
3166 </page>
3167
3168 <page name="choosedestinationfolder">
3169 <object type="template" name="header" />
3170
3171 <object type="text" color="%text_color%">
3172 <font resource="font" />
3173 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3174 <text>Browse to Destination Folder & Press Select</text>
3175 </object>
3176
3177 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003178 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003179 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3180 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3181 <text>%tw_file_location2%</text>
3182 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3183 <sort name="tw_gui_sort_order" />
3184 <icon folder="folder_icon" file="file_icon" />
3185 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003186 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <filter folders="1" files="0" />
3188 <path name="tw_file_location2" default="/" />
3189 <data name="tw_filename2" />
3190 <selection name="tw_selection2" />
3191 </object>
3192
3193 <object type="template" name="sort_options" />
3194
3195 <object type="action">
3196 <touch key="home" />
3197 <action function="page">main</action>
3198 </object>
3199
3200 <object type="action">
3201 <touch key="back" />
3202 <action function="page">filemanageroptions</action>
3203 </object>
3204
3205 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003206 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003207 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3208 <font resource="font" color="%button_text_color%" />
3209 <text>Select</text>
3210 <image resource="medium_button" />
3211 <actions>
3212 <action function="set">tw_fm_text2=to</action>
3213 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3214 <action function="set">tw_include_text3=1</action>
3215 <action function="set">tw_back=filemanageroptions</action>
3216 <action function="page">filemanagerconfirm</action>
3217 </actions>
3218 </object>
3219
3220 <object type="template" name="footer" />
3221 </page>
3222
3223 <page name="filemanagerrenamefile">
3224 <object type="template" name="header" />
3225
3226 <object type="text" color="%text_color%">
3227 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3228 <font resource="font" />
3229 <text>Please Enter a New %tw_fm_type% Name</text>
3230 </object>
3231
3232 <object type="input">
3233 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3234 <background color="%input_background_color%" />
3235 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3236 <font resource="font" color="%text_color%" />
3237 <text>%tw_filemanager_rename%</text>
3238 <data name="tw_filemanager_rename" />
3239 <restrict minlen="1" maxlen="128" />
3240 <actions>
3241 <action function="set">tw_fm_text2=to</action>
3242 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3243 <action function="set">tw_include_text3=1</action>
3244 <action function="set">tw_back=filemanageroptions</action>
3245 <action function="page">filemanagerconfirm</action>
3246 </actions>
3247 </object>
3248
3249 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003250 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003251 <placement x="%col_center_x%" y="%row2_y%" />
3252 <font resource="font" color="%button_text_color%" />
3253 <text>Cancel</text>
3254 <image resource="main_button" />
3255 <action function="page">filemanageroptions</action>
3256 </object>
3257
3258 <object type="template" name="keyboardtemplate" />
3259
3260 <object type="action">
3261 <touch key="home" />
3262 <action function="page">main</action>
3263 </object>
3264
3265 <object type="action">
3266 <touch key="back" />
3267 <action function="page">filemanageroptions</action>
3268 </object>
3269
3270 <object type="template" name="footer" />
3271 </page>
3272
3273 <page name="filemanagerrenamefolder">
3274 <object type="template" name="header" />
3275
3276 <object type="text" color="%text_color%">
3277 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3278 <font resource="font" />
3279 <text>Please Enter a New %tw_fm_type% Name</text>
3280 </object>
3281
3282 <object type="input">
3283 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3284 <background color="%input_background_color%" />
3285 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3286 <font resource="font" color="%text_color%" />
3287 <text>%tw_filemanager_rename%</text>
3288 <data name="tw_filemanager_rename" />
3289 <restrict minlen="1" maxlen="128" />
3290 <actions>
3291 <action function="set">tw_fm_text2=to</action>
3292 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3293 <action function="set">tw_include_text3=1</action>
3294 <action function="set">tw_back=filemanageroptions</action>
3295 <action function="page">filemanagerconfirm</action>
3296 </actions>
3297 </object>
3298
3299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003301 <placement x="%col_center_x%" y="%row2_y%" />
3302 <font resource="font" color="%button_text_color%" />
3303 <text>Cancel</text>
3304 <image resource="main_button" />
3305 <action function="page">filemanageroptions</action>
3306 </object>
3307
3308 <object type="template" name="keyboardtemplate" />
3309
3310 <object type="action">
3311 <touch key="home" />
3312 <action function="page">main</action>
3313 </object>
3314
3315 <object type="action">
3316 <touch key="back" />
3317 <action function="page">filemanageroptions</action>
3318 </object>
3319
3320 <object type="template" name="footer" />
3321 </page>
3322
3323 <page name="filemanagerchmod">
3324 <object type="template" name="header" />
3325
3326 <object type="text" color="%text_color%">
3327 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3328 <font resource="font" />
3329 <text>Please Enter New Permissions</text>
3330 </object>
3331
3332 <object type="input">
3333 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3334 <background color="%input_background_color%" />
3335 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3336 <font resource="font" color="%text_color%" />
3337 <text>%tw_filemanager_rename%</text>
3338 <data name="tw_filemanager_rename" />
3339 <restrict minlen="3" maxlen="4" allow="0123456789" />
3340 <actions>
3341 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3342 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3343 <action function="set">tw_back=filemanageroptions</action>
3344 <action function="page">filemanagerconfirm</action>
3345 </actions>
3346 </object>
3347
3348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003350 <placement x="%col_center_x%" y="%row2_y%" />
3351 <font resource="font" color="%button_text_color%" />
3352 <text>Cancel</text>
3353 <image resource="main_button" />
3354 <action function="page">filemanageroptions</action>
3355 </object>
3356
3357 <object type="template" name="keyboardtemplate" />
3358
3359 <object type="action">
3360 <touch key="home" />
3361 <action function="page">main</action>
3362 </object>
3363
3364 <object type="action">
3365 <touch key="back" />
3366 <action function="page">filemanageroptions</action>
3367 </object>
3368
3369 <object type="template" name="footer" />
3370 </page>
3371
3372 <page name="filemanagerconfirm">
3373 <object type="template" name="header" />
3374
3375 <object type="text" color="%text_color%">
3376 <font resource="font" />
3377 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3378 <text>%tw_fm_text1%</text>
3379 </object>
3380
3381 <object type="text" color="%text_color%">
3382 <font resource="font" />
3383 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3384 <text>%tw_filename1%</text>
3385 </object>
3386
3387 <object type="text" color="%text_color%">
3388 <font resource="font" />
3389 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3390 <text>%tw_fm_text2%</text>
3391 </object>
3392
3393 <object type="text" color="%text_color%">
3394 <font resource="font" />
3395 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3396 <text>%tw_fm_text3%</text>
3397 </object>
3398
3399 <object type="text" color="%text_color%">
3400 <font resource="font" />
3401 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3402 <text>Press back button to cancel.</text>
3403 </object>
3404
3405 <object type="slider">
3406 <placement x="%slider_x%" y="%slider_y%" />
3407 <resource base="slider" used="slider-used" touch="slider-touch" />
3408 <action function="page">filemanageracction</action>
3409 </object>
3410
3411 <object type="text" color="%text_color%">
3412 <font resource="font" />
3413 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3414 <text>Swipe to Confirm</text>
3415 </object>
3416
3417 <object type="action">
3418 <touch key="back" />
3419 <action function="page">%tw_back%</action>
3420 </object>
3421
3422 <object type="action">
3423 <touch key="home" />
3424 <action function="page">main</action>
3425 </object>
3426
3427 <object type="template" name="footer" />
3428 </page>
3429
3430 <page name="filemanageracction">
3431 <object type="template" name="header" />
3432
3433 <object type="text" color="%text_color%">
3434
3435 <font resource="font" />
3436 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3437 <text>%tw_fm_text1%</text>
3438 </object>
3439
3440 <object type="template" name="action_page_console" />
3441
3442 <object type="template" name="progress_bar" />
3443
3444 <object type="action">
3445 <conditions>
3446 <condition var1="tw_operation_state" var2="1" />
3447 <condition var1="tw_operation_status" var2="0" />
3448 </conditions>
3449 <actions>
3450 <action function="set">tw_back=filemanagerlist</action>
3451 <action function="set">tw_complete_text1=File Operation Complete</action>
3452 <action function="page">action_complete</action>
3453 </actions>
3454 </object>
3455
3456 <object type="action">
3457 <conditions>
3458 <condition var1="tw_operation_state" var2="1" />
3459 <condition var1="tw_operation_status" op="!=" var2="0" />
3460 </conditions>
3461 <actions>
3462 <action function="set">tw_complete_text1=File Operation Complete</action>
3463 <action function="page">action_complete</action>
3464 </actions>
3465 </object>
3466
3467 <object type="action">
3468 <condition var1="tw_include_text3" var2="0" />
3469 <actions>
3470 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3471 </actions>
3472 </object>
3473
3474 <object type="action">
3475 <condition var1="tw_include_text3" var2="1" />
3476 <actions>
3477 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3478 </actions>
3479 </object>
3480 </page>
3481
3482 <page name="decrypt">
3483 <object type="template" name="header" />
3484
3485 <object type="text" color="%text_color%">
3486 <font resource="font" />
3487 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3488 <text>Please Enter Your Password</text>
3489 </object>
3490
3491 <object type="input">
3492 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3493 <background color="%input_background_color%" />
3494 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3495 <font resource="font" color="%text_color%" />
3496 <text>%tw_crypto_display%</text>
3497 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3498 <restrict minlen="1" maxlen="254" />
3499 <actions>
3500 <action function="page">trydecrypt</action>
3501 </actions>
3502 </object>
3503
3504 <object type="text" color="%text_fail_color%">
3505 <condition var1="tw_password_fail" var2="1" />
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3508 <text>Password Failed, Please Try Again</text>
3509 </object>
3510
3511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003513 <placement x="%col_center_x%" y="%row2_y%" />
3514 <font resource="font" color="%button_text_color%" />
3515 <text>Cancel</text>
3516 <image resource="main_button" />
3517 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003518 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003519 <action function="page">main</action>
3520 </actions>
3521 </object>
3522
3523 <object type="template" name="keyboardtemplate" />
3524
Dees_Troy51a0e822012-09-05 15:24:24 -04003525 <object type="template" name="footer" />
3526 </page>
3527
3528 <page name="trydecrypt">
3529 <object type="template" name="header" />
3530
3531 <object type="text" color="%text_color%">
3532 <font resource="font" />
3533 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3534 <text>Trying Decryption with Your Password</text>
3535 </object>
3536
3537 <object type="template" name="action_page_console" />
3538
3539 <object type="template" name="progress_bar" />
3540
3541 <object type="action">
3542 <action function="decrypt"></action>
3543 </object>
3544
3545 <object type="action">
3546 <conditions>
3547 <condition var1="tw_operation_state" var2="1" />
3548 <condition var1="tw_operation_status" op="!=" var2="0" />
3549 </conditions>
3550 <actions>
3551 <action function="set">tw_password_fail=1</action>
3552 <action function="page">decrypt</action>
3553 </actions>
3554 </object>
3555
3556 <object type="action">
3557 <conditions>
3558 <condition var1="tw_operation_state" var2="1" />
3559 <condition var1="tw_operation_status" op="=" var2="0" />
3560 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003561 <actions>
3562 <action function="set">tw_page_done=1</action>
3563 <action function="page">main</action>
3564 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003565 </object>
3566 </page>
3567
3568 <page name="terminalfolder">
3569 <object type="template" name="header" />
3570
3571 <object type="text" color="%text_color%">
3572 <font resource="font" />
3573 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3574 <text>Browse to Starting Folder</text>
3575 </object>
3576
3577 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003578 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003579 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3580 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3581 <text>%tw_terminal_location%</text>
3582 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3583 <sort name="tw_gui_sort_order" />
3584 <icon folder="folder_icon" file="file_icon" />
3585 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003586 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003587 <filter folders="1" files="0" />
3588 <path name="tw_terminal_location" default="/" />
3589 <data name="tw_terminal" />
3590 <selection name="tw_terminal_selection" />
3591 </object>
3592
3593 <object type="template" name="sort_options" />
3594
3595 <object type="action">
3596 <touch key="home" />
3597 <action function="page">main</action>
3598 </object>
3599
3600 <object type="action">
3601 <touch key="back" />
3602 <action function="page">advanced</action>
3603 </object>
3604
3605 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003606 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003607 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3608 <font resource="font" color="%button_text_color%" />
3609 <text>Select</text>
3610 <image resource="medium_button" />
3611 <actions>
3612 <action function="page">terminalcommand</action>
3613 </actions>
3614 </object>
3615
3616 <object type="template" name="footer" />
3617 </page>
3618
3619 <page name="terminalcommand">
3620 <object type="template" name="header" />
3621
3622 <object type="console">
3623 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3624 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3625 <font resource="fixed" />
3626 </object>
3627
3628 <object type="text" color="%text_color%">
3629 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3630 <font resource="font" />
3631 <text>Starting Path: %tw_terminal_location%</text>
3632 </object>
3633
3634 <object type="input">
3635 <condition var1="tw_terminal_state" var2="0" />
3636 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3637 <background color="%input_background_color%" />
3638 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3639 <font resource="font" color="%text_color%" />
3640 <text>%tw_terminal_command%</text>
3641 <data name="tw_terminal_command" />
3642 <restrict minlen="1" />
3643 <action function="terminalcommand">%tw_terminal_command%</action>
3644 </object>
3645
3646 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003647 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003648 <condition var1="tw_terminal_state" var2="1" />
3649 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3650 <font resource="font" color="%button_text_color%" />
3651 <text>KILL</text>
3652 <image resource="medium_button" />
3653 <action function="killterminal"></action>
3654 </object>
3655
3656 <object type="template" name="keyboardtemplate" />
3657
3658 <object type="action">
3659 <touch key="home" />
3660 <action function="page">main</action>
3661 </object>
3662
3663 <object type="action">
3664 <touch key="back" />
3665 <action function="page">terminalfolder</action>
3666 </object>
3667 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003668
3669 <page name="sideload">
3670 <object type="template" name="header" />
3671
3672 <object type="text" color="%text_color%">
3673 <font resource="font" />
3674 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3675 <text>ADB Sideload</text>
3676 </object>
3677
3678 <object type="checkbox">
3679 <placement x="%col1_x%" y="%row2_text_y%" />
3680 <font resource="font" color="%text_color%" />
3681 <text>Wipe Dalvik Cache.</text>
3682 <data variable="tw_wipe_dalvik" />
3683 <image checked="checkbox_true" unchecked="checkbox_false" />
3684 </object>
3685
3686 <object type="checkbox">
3687 <placement x="%col1_x%" y="%row3_text_y%" />
3688 <font resource="font" color="%text_color%" />
3689 <text>Wipe Cache.</text>
3690 <data variable="tw_wipe_cache" />
3691 <image checked="checkbox_true" unchecked="checkbox_false" />
3692 </object>
3693
3694 <object type="slider">
3695 <placement x="%slider_x%" y="%slider_y%" />
3696 <resource base="slider" used="slider-used" touch="slider-touch" />
3697 <actions>
3698 <action function="set">tw_back=advanced</action>
3699 <action function="set">tw_action=adbsideload</action>
3700 <action function="set">tw_action_text1=ADB Sideload</action>
3701 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3702 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3703 <action function="set">tw_has_cancel=1</action>
3704 <action function="set">tw_show_reboot=1</action>
3705 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3706 <action function="page">action_page</action>
3707 </actions>
3708 </object>
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3713 <text>Swipe to Start Sideload</text>
3714 </object>
3715
3716 <object type="action">
3717 <touch key="home" />
3718 <action function="page">main</action>
3719 </object>
3720
3721 <object type="action">
3722 <touch key="back" />
3723 <action function="page">advanced</action>
3724 </object>
3725
3726 <object type="template" name="footer" />
3727 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003728 </pages>
3729</recovery>