blob: 031364ba023c9ec5cdff06667bdd6d56838aa366 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="383" />
48 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1226" />
106 <variable name="back_button_x" value="625" />
107 <variable name="back_button_y" value="1226" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1090" />
110 <variable name="sort_asc_button_y" value="1080" />
111 <variable name="sort_desc_text_y" value="1150" />
112 <variable name="sort_desc_button_y" value="1140" />
113 <variable name="sort_col1_button_x" value="260" />
114 <variable name="sort_col2_button_x" value="360" />
115 <variable name="sort_col3_button_x" value="460" />
116 <variable name="input_width" value="700" />
117 <variable name="input_height" value="50" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="3" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="720" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="710" />
131 <variable name="fileselector_install_height" value="840" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="36" />
142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="16" />
147 <variable name="sd_plus_x" value="350" />
148 <variable name="sdext_text_x" value="110" />
149 <variable name="sdext_text_y" value="180" />
150 <variable name="sdswap_button_y" value="260" />
151 <variable name="sdswap_text_x" value="110" />
152 <variable name="sdswap_text_y" value="270" />
153 <variable name="sdfilesystem_text_y" value="340" />
154 <variable name="sdfilesystem_button_y" value="380" />
155 <variable name="lock_x" value="160" />
156 <variable name="lock_y" value="400" />
157 <variable name="filemanager_select_x" value="560" />
158 <variable name="filemanager_select_y" value="1080" />
159 <variable name="backup_name_y" value="550" />
160 <variable name="terminal_console_height" value="700" />
161 <variable name="terminal_text_y" value="730" />
162 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="720" />
164 <variable name="row_offset_text_y" value="770" />
165 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400166 <variable name="exclamation_x" value="160" />
167 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400168 </variables>
169
170 <templates>
171 <template name="header">
172 <background color="#000000FF" />
173
174 <object type="image">
175 <image resource="top_bar" />
176 <placement x="0" y="0" />
177 </object>
178
179 <object type="text" color="%text_color%">
180 <font resource="font" />
181 <placement x="120" y="10" />
182 <text>Team Win Recovery Project v%tw_version%</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <condition var1="tw_simulate_actions" var2="1" />
187 <font resource="font" />
188 <placement x="120" y="45" />
189 <text>SIMULATING ACTIONS</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="120" y="76" />
195 <text>%tw_time%</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="270" y="76" />
201 <conditions>
202 <condition var1="tw_no_battery_percent" var2="0" />
203 <condition var1="tw_battery" op=">" var2="0" />
204 <condition var1="tw_battery" op="<" var2="101" />
205 </conditions>
206 <text>Battery: %tw_battery%</text>
207 </object>
208
209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400211 <placement x="%home_button_x%" y="%home_button_y%" />
212 <font resource="font" color="%button_text_color%" />
213 <text></text>
214 <image resource="home_icon" />
215 <condition var1="tw_busy" var2="0" />
216 <action function="key">home</action>
217 </object>
218
219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <placement x="%back_button_x%" y="%back_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="back_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">back</action>
227 </object>
228
229 <object type="action">
230 <touch key="power" />
231 <action function="overlay">lock</action>
232 </object>
233 </template>
234
235 <template name="progress_bar">
236 <object type="progressbar">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource empty="progress_empty" full="progress_full" />
239 <data name="ui_progress" />
240 </object>
241
242 <object type="animation">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource name="progress" />
245 <speed fps="15" render="2" />
246 <loop frame="1" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text>Date</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=2</action>
273 </object>
274
275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400277 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
278 <font resource="font" color="%button_text_color%" />
279 <text>Size</text>
280 <image resource="sort_button" />
281 <action function="set">tw_gui_sort_order=3</action>
282 </object>
283
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
287 <text>Sort Descending:</text>
288 </object>
289
290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Name</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=-1</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=-2</action>
306 </object>
307
308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=-3</action>
315 </object>
316 </template>
317
318 <template name="action_page_console">
319 <object type="console">
320 <placement x="0" y="%row2_y%" w="720" h="470" />
321 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
322 <font resource="fixed" />
323 </object>
324 </template>
325
326 <template name="footer">
327 <object type="console">
328 <slideout resource="slideout" x="325" y="1220" />
329 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
330 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
331 <font resource="fixed" />
332 </object>
333 </template>
334
335 <template name="keyboardtemplate">
336 <object type="keyboard">
337 <placement x="0" y="800" />
338 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <layout1>
341 <keysize height="106" width="72" />
342 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
343 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
344 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
345 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
346 </layout1>
347 <layout2>
348 <keysize height="106" width="72" />
349 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
350 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
351 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
352 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
353 </layout2>
354 <layout3>
355 <keysize height="106" width="72" />
356 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
357 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
358 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
359 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
360 </layout3>
361 <layout4>
362 <keysize height="106" width="72" />
363 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
364 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
365 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
366 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
367 </layout4>
368 </object>
369 </template>
370 </templates>
371
372 <pages>
373 <page name="main">
374 <object type="action">
375 <actions>
376 <action function="set">tw_clear_destination=main2</action>
377 <action function="page">clear_vars</action>
378 </actions>
379 </object>
380 </page>
381
382 <page name="main2">
383 <object type="template" name="header" />
384
385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <placement x="%col1_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Install</text>
390 <image resource="main_button" />
391 <actions>
392 <action function="queueclear"></action>
393 <action function="page">install</action>
394 </actions>
395 </object>
396
397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <placement x="%col2_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Wipe</text>
402 <image resource="main_button" />
403 <action function="page">wipe</action>
404 </object>
405
406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <placement x="%col1_x%" y="%row2_y%" />
409 <font resource="font" color="%button_text_color%" />
410 <text>Backup</text>
411 <image resource="main_button" />
412 <action function="page">backup</action>
413 </object>
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col2_x%" y="%row2_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Restore</text>
420 <image resource="main_button" />
421 <action function="page">restore</action>
422 </object>
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row3_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Mount</text>
429 <image resource="main_button" />
430 <action function="page">mount</action>
431 </object>
432
433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400435 <placement x="%col2_x%" y="%row3_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Settings</text>
438 <image resource="main_button" />
439 <action function="page">settings</action>
440 </object>
441
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row4_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Advanced</text>
448 <image resource="main_button" />
449 <action function="page">advanced</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row4_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Reboot</text>
457 <image resource="main_button" />
458 <action function="page">reboot</action>
459 </object>
460
461 <object type="template" name="footer" />
462 </page>
463
464 <page name="install">
465 <object type="template" name="header" />
466
467 <object type="text" color="%text_color%">
468 <font resource="font" />
469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
470 <text>Select Zip to Install</text>
471 </object>
472
473 <object type="button">
474 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400475 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <conditions>
477 <condition var1="tw_has_dual_storage" var2="1" />
478 <condition var1="tw_use_external_storage" var2="1" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_true" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400487 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <conditions>
489 <condition var1="tw_has_dual_storage" var2="1" />
490 <condition var1="tw_use_external_storage" var2="0" />
491 </conditions>
492 <text>Use external SD</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">external</action>
495 </object>
496
497 <object type="button">
498 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400499 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <conditions>
501 <condition var1="tw_has_dual_storage" var2="1" />
502 <condition var1="tw_use_external_storage" var2="1" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_false" />
506 <action function="togglestorage">internal</action>
507 </object>
508
509 <object type="button">
510 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400511 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <conditions>
513 <condition var1="tw_has_dual_storage" var2="1" />
514 <condition var1="tw_use_external_storage" var2="0" />
515 </conditions>
516 <text>Use internal storage</text>
517 <image resource="radio_true" />
518 <action function="togglestorage">internal</action>
519 </object>
520
521 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600522 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400523 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
524 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
525 <text>%tw_zip_location%</text>
526 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
527 <sort name="tw_gui_sort_order" />
528 <icon folder="folder_icon" file="file_icon" />
529 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600530 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400531 <filter extn=".zip" folders="1" files="1" />
532 <path name="tw_zip_location" default="/sdcard" />
533 <data name="tw_filename" />
534 <selection name="tw_file" />
535 </object>
536
537 <object type="template" name="sort_options" />
538
539 <object type="action">
540 <condition var1="tw_filename" op="modified" />
541 <actions>
542 <action function="queuezip"></action>
543 <action function="page">flash_confirm</action>
544 </actions>
545 </object>
546
547 <object type="action">
548 <touch key="back" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="action">
553 <touch key="home" />
554 <action function="page">main</action>
555 </object>
556
557 <object type="template" name="footer" />
558 </page>
559
560 <page name="flash_confirm">
561 <object type="template" name="header" />
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>This operation may install incompatible</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
572 <text>software and render your device unusable.</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
578 <text>Folder:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
584 <text>%tw_zip_location%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
590 <text>File to flash:</text>
591 </object>
592
593 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
596 <text>%tw_file%</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
602 <text>Press back to cancel adding this zip.</text>
603 </object>
604
605 <object type="checkbox">
606 <placement x="%col1_x%" y="%row8_text_y%" />
607 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400608 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <data variable="tw_signed_zip_verify" />
610 <image checked="checkbox_true" unchecked="checkbox_false" />
611 </object>
612
613 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <condition var1="tw_has_injecttwrp" var2="1" />
615 <placement x="%col1_x%" y="%row10_text_y%" />
616 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400617 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <data variable="tw_inject_after_zip" />
619 <image checked="checkbox_true" unchecked="checkbox_false" />
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400624 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <text>File %tw_zip_queue_count% of max of 10</text>
626 </object>
627
628 <object type="slider">
629 <placement x="%slider_x%" y="%slider_y%" placement="5" />
630 <resource base="slider" used="slider-used" touch="slider-touch" />
631 <action function="flash">flash_zip</action>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
637 <text>Swipe to Confirm Flash</text>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
643 <placement x="%col1_x%" y="%row_queue_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Add More Zips</text>
646 <image resource="main_button" />
647 <action function="page">install</action>
648 </object>
649
650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <placement x="%col2_x%" y="%row_queue_y%" />
653 <font resource="font" color="%button_text_color%" />
654 <text>Clear Zip Queue</text>
655 <image resource="main_button" />
656 <actions>
657 <action function="queueclear"></action>
658 <action function="page">install</action>
659 </actions>
660 </object>
661
662 <object type="action">
663 <touch key="back" />
664 <actions>
665 <action function="cancelzip"></action>
666 <action function="page">install</action>
667 </actions>
668 </object>
669
670 <object type="action">
671 <touch key="home" />
672 <action function="page">main</action>
673 </object>
674
675 <object type="template" name="footer" />
676 </page>
677
678 <page name="flash_zip">
679 <object type="template" name="header" />
680
681 <object type="console">
682 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
683 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
684 <font resource="fixed" />
685 </object>
686
687 <object type="text" color="%text_color%">
688 <font resource="font" />
689 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
690 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
691 </object>
692
693 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400694 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400695 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
696 <text>%tw_filename%</text>
697 </object>
698
699 <object type="template" name="progress_bar" />
700
701 <object type="action">
702 <condition var1="tw_operation_state" var2="1" />
703 <action function="page">flash_done</action>
704 </object>
705 </page>
706
707 <page name="flash_done">
708 <object type="template" name="header" />
709
710 <object type="text" color="%text_color%">
711 <font resource="font" />
712 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
713 <text>Zip Install Complete</text>
714 </object>
715
716 <object type="console">
717 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
718 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
719 <font resource="fixed" />
720 </object>
721
722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400724 <placement x="%col1_x%" y="%row4_y%" />
725 <font resource="font" color="%button_text_color%" />
726 <text>Wipe cache/dalvik</text>
727 <image resource="main_button" />
728 <actions>
729 <action function="set">tw_back=flash_done</action>
730 <action function="set">tw_action=wipe</action>
731 <action function="set">tw_action_param=/cache</action>
732 <action function="set">tw_has_action2=1</action>
733 <action function="set">tw_action2=wipe</action>
734 <action function="set">tw_action2_param=dalvik</action>
735 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
736 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
737 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
738 <action function="set">tw_slider_text=Swipe to Wipe</action>
739 <action function="page">confirm_action</action>
740 </actions>
741 </object>
742
743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <placement x="%col2_x%" y="%row4_y%" />
746 <font resource="font" color="%button_text_color%" />
747 <text>Reboot System</text>
748 <image resource="main_button" />
749 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400750 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action=reboot</action>
752 <action function="set">tw_action_param=system</action>
753 <action function="set">tw_has_action2=0</action>
754 <action function="set">tw_text1=No OS Installed! Are you</action>
755 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400756 <action function="set">tw_text3=</action>
757 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400759 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400760 <action function="set">tw_complete_text1=Rebooting...</action>
761 <action function="set">tw_slider_text=Swipe to Reboot</action>
762 <action function="page">rebootcheck</action>
763 </actions>
764 </object>
765
766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600767 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400768 <placement x="%col_center_x%" y="%row3_y%" />
769 <font resource="font" color="%button_text_color%" />
770 <text>Home</text>
771 <image resource="main_button" />
772 <actions>
773 <action function="set">tw_clear_destination=main2</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </object>
777
778 <object type="text" color="%text_fail_color%">
779 <condition var1="tw_operation_status" op="!=" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Failed</text>
783 </object>
784
785 <object type="text" color="%text_success_color%">
786 <condition var1="tw_operation_status" var2="0" />
787 <font resource="font" />
788 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
789 <text>Successful</text>
790 </object>
791
792 <object type="action">
793 <touch key="back" />
794 <actions>
795 <action function="set">tw_clear_destination=install</action>
796 <action function="page">clear_vars</action>
797 </actions>
798 </object>
799
800 <object type="action">
801 <touch key="home" />
802 <actions>
803 <action function="set">tw_clear_destination=main2</action>
804 <action function="page">clear_vars</action>
805 </actions>
806 </object>
807 </page>
808
809 <page name="clear_vars">
810 <object type="action">
811 <action function="set">tw_operation_state=0</action>
812 <action function="set">tw_text1=</action>
813 <action function="set">tw_text2=</action>
814 <action function="set">tw_text3=</action>
815 <action function="set">tw_text4=</action>
816 <action function="set">tw_action_text1=</action>
817 <action function="set">tw_action_text2=</action>
818 <action function="set">tw_action_param=</action>
819 <action function="set">tw_has_action2=0</action>
820 <action function="set">tw_action2=</action>
821 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400822 <action function="set">tw_has_cancel=0</action>
823 <action function="set">tw_cancel_action=</action>
824 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400825 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400826 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400827 <action function="page">%tw_clear_destination%</action>
828 </object>
829 </page>
830
831 <page name="confirm_action">
832 <object type="template" name="header" />
833
Dees_Troye588d252012-10-08 10:28:52 -0400834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600835 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400838 <font resource="font" color="%button_text_color%" />
839 <text></text>
840 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400841 </object>
842
Dees_Troy51a0e822012-09-05 15:24:24 -0400843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
846 <text>%tw_text1%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
852 <text>%tw_text2%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
858 <text>%tw_text3%</text>
859 </object>
860
861 <object type="text" color="%text_color%">
862 <font resource="font" />
863 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
864 <text>%tw_text4%</text>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400869 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400870 <text>Press back button to cancel.</text>
871 </object>
872
873 <object type="slider">
874 <placement x="%slider_x%" y="%slider_y%" />
875 <resource base="slider" used="slider-used" touch="slider-touch" />
876 <action function="page">action_page</action>
877 </object>
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
881 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
882 <text>%tw_slider_text%</text>
883 </object>
884
885 <object type="action">
886 <touch key="back" />
887 <actions>
888 <action function="set">tw_clear_destination=%tw_back%</action>
889 <action function="page">clear_vars</action>
890 </actions>
891 </object>
892
893 <object type="action">
894 <touch key="home" />
895 <action function="page">main</action>
896 </object>
897
898 <object type="template" name="footer" />
899 </page>
900
901 <page name="action_page">
902 <object type="template" name="header" />
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
907 <text>%tw_action_text1%</text>
908 </object>
909
910 <object type="text" color="%text_color%">
911 <font resource="font" />
912 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
913 <text>%tw_action_text2%</text>
914 </object>
915
916 <object type="template" name="action_page_console" />
917
Dees_Troybbb21012012-09-20 15:59:46 -0400918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600919 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400920 <condition var1="tw_has_cancel" var2="1" />
921 <placement x="%col_center_medium_x%" y="%row4_y%" />
922 <font resource="font" color="%button_text_color%" />
923 <text>Cancel</text>
924 <image resource="medium_button" />
925 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
926 </object>
927
Dees_Troy51a0e822012-09-05 15:24:24 -0400928 <object type="template" name="progress_bar" />
929
930 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400931 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400932 <actions>
933 <action function="page">action_complete</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="0" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 </actions>
942 </object>
943
944 <object type="action">
945 <condition var1="tw_has_action2" var2="1" />
946 <actions>
947 <action function="%tw_action%">%tw_action_param%</action>
948 <action function="%tw_action2%">%tw_action2_param%</action>
949 </actions>
950 </object>
951 </page>
952
953 <page name="action_complete">
954 <object type="template" name="header" />
955
956 <object type="text" color="%text_color%">
957 <font resource="font" />
958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
959 <text>%tw_complete_text1%</text>
960 </object>
961
962 <object type="text" color="%text_fail_color%">
963 <condition var1="tw_operation_status" op="!=" var2="0" />
964 <font resource="font" />
965 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
966 <text>Failed</text>
967 </object>
968
969 <object type="text" color="%text_success_color%">
970 <condition var1="tw_operation_status" var2="0" />
971 <font resource="font" />
972 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
973 <text>Successful</text>
974 </object>
975
976 <object type="template" name="action_page_console" />
977
978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600979 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400980 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400981 <placement x="%col_center_x%" y="%row4_y%" />
982 <font resource="font" color="%button_text_color%" />
983 <text>Back</text>
984 <image resource="main_button" />
985 <actions>
986 <action function="set">tw_clear_destination=%tw_back%</action>
987 <action function="page">clear_vars</action>
988 </actions>
989 </object>
990
Dees_Troya3f81542012-10-08 10:58:53 -0400991 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600992 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400993 <condition var1="tw_show_reboot" var2="1" />
994 <placement x="%col_center_x%" y="%row4_y%" />
995 <font resource="font" color="%button_text_color%" />
996 <text>Reboot System</text>
997 <image resource="main_button" />
998 <actions>
999 <action function="set">tw_back=main2</action>
1000 <action function="set">tw_action=reboot</action>
1001 <action function="set">tw_action_param=system</action>
1002 <action function="set">tw_has_action2=0</action>
1003 <action function="set">tw_text1=No OS Installed! Are you</action>
1004 <action function="set">tw_text2=sure you wish to reboot?</action>
1005 <action function="set">tw_text3=</action>
1006 <action function="set">tw_text4=</action>
1007 <action function="set">tw_action_text1=Rebooting...</action>
1008 <action function="set">tw_action_text2=</action>
1009 <action function="set">tw_complete_text1=Rebooting...</action>
1010 <action function="set">tw_slider_text=Swipe to Reboot</action>
1011 <action function="page">rebootcheck</action>
1012 </actions>
1013 </object>
1014
Dees_Troy51a0e822012-09-05 15:24:24 -04001015 <object type="action">
1016 <touch key="home" />
1017 <actions>
1018 <action function="set">tw_clear_destination=main2</action>
1019 <action function="page">clear_vars</action>
1020 </actions>
1021 </object>
1022
1023 <object type="action">
1024 <touch key="back" />
1025 <actions>
1026 <action function="set">tw_clear_destination=%tw_back%</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030 </page>
1031
1032 <page name="filecheck">
1033 <object type="action">
1034 <action function="fileexists">%tw_filecheck%</action>
1035 </object>
1036
1037 <object type="action">
1038 <conditions>
1039 <condition var1="tw_operation_state" var2="1" />
1040 <condition var1="tw_operation_status" var2="0" />
1041 </conditions>
1042 <actions>
1043 <action function="set">tw_fileexists=1</action>
1044 <action function="page">%tw_existpage%</action>
1045 </actions>
1046 </object>
1047
1048 <object type="action">
1049 <conditions>
1050 <condition var1="tw_operation_state" var2="1" />
1051 <condition var1="tw_operation_status" var2="1" />
1052 </conditions>
1053 <actions>
1054 <action function="set">tw_fileexists=0</action>
1055 <action function="page">%tw_notexistpage%</action>
1056 </actions>
1057 </object>
1058 </page>
1059
1060 <page name="rebootcheck">
1061 <object type="action">
1062 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1063 <action function="reboot">%tw_action_param%</action>
1064 </object>
1065
1066 <object type="action">
1067 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1068 <action function="page">confirm_action</action>
1069 </object>
1070 </page>
1071
1072 <page name="wipe">
1073 <object type="template" name="header" />
1074
1075 <object type="text" color="%text_color%">
1076 <font resource="font" />
1077 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1078 <text>Wipe Menu</text>
1079 </object>
1080
1081 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001082 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001083 <placement x="%col1_x%" y="%row1_y%" />
1084 <font resource="font" color="%button_text_color%" />
1085 <text>Cache</text>
1086 <image resource="main_button" />
1087 <actions>
1088 <action function="set">tw_back=wipe</action>
1089 <action function="set">tw_action=wipe</action>
1090 <action function="set">tw_action_param=/cache</action>
1091 <action function="set">tw_text1=Wipe Cache?</action>
1092 <action function="set">tw_action_text1=Wiping Cache...</action>
1093 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1094 <action function="set">tw_slider_text=Swipe to Wipe</action>
1095 <action function="page">confirm_action</action>
1096 </actions>
1097 </object>
1098
1099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001100 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001101 <placement x="%col2_x%" y="%row1_y%" />
1102 <font resource="font" color="%button_text_color%" />
1103 <text>Dalvik Cache</text>
1104 <image resource="main_button" />
1105 <actions>
1106 <action function="set">tw_back=wipe</action>
1107 <action function="set">tw_action=wipe</action>
1108 <action function="set">tw_action_param=dalvik</action>
1109 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1110 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1111 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1112 <action function="set">tw_slider_text=Swipe to Wipe</action>
1113 <action function="page">confirm_action</action>
1114 </actions>
1115 </object>
1116
1117 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001118 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001119 <placement x="%col1_x%" y="%row2_y%" />
1120 <font resource="font" color="%button_text_color%" />
1121 <text>Factory Reset</text>
1122 <image resource="main_button" />
1123 <actions>
1124 <action function="set">tw_back=wipe</action>
1125 <action function="set">tw_action=wipe</action>
1126 <action function="set">tw_action_param=data</action>
1127 <action function="set">tw_text1=Factory Reset?</action>
1128 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1129 <action function="set">tw_action_text1=Factory Reset...</action>
1130 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1131 <action function="set">tw_slider_text=Swipe to Wipe</action>
1132 <action function="page">confirm_action</action>
1133 </actions>
1134 </object>
1135
1136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001137 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <placement x="%col2_x%" y="%row2_y%" />
1139 <font resource="font" color="%button_text_color%" />
1140 <text>System</text>
1141 <image resource="main_button" />
1142 <actions>
1143 <action function="set">tw_back=wipe</action>
1144 <action function="set">tw_action=wipe</action>
1145 <action function="set">tw_action_param=/system</action>
1146 <action function="set">tw_text1=Wipe System?</action>
1147 <action function="set">tw_text2=This will wipe your ROM</action>
1148 <action function="set">tw_action_text1=Wiping System...</action>
1149 <action function="set">tw_complete_text1=System Wipe Complete</action>
1150 <action function="set">tw_slider_text=Swipe to Wipe</action>
1151 <action function="page">confirm_action</action>
1152 </actions>
1153 </object>
1154
1155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <condition var1="tw_has_external" var2="1" />
1158 <placement x="%col1_x%" y="%row3_y%" />
1159 <font resource="font" color="%button_text_color%" />
1160 <text>External Storage</text>
1161 <image resource="main_button" />
1162 <actions>
1163 <action function="set">tw_back=wipe</action>
1164 <action function="set">tw_action=wipe</action>
1165 <action function="set">tw_action_param=EXTERNAL</action>
1166 <action function="set">tw_has_action2=1</action>
1167 <action function="set">tw_action2=set</action>
1168 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001169 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001170 <action function="set">tw_action_text1=Wiping External Storage...</action>
1171 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1172 <action function="set">tw_slider_text=Swipe to Wipe</action>
1173 <action function="page">confirm_action</action>
1174 </actions>
1175 </object>
1176
1177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001179 <condition var1="tw_has_internal" var2="1" />
1180 <placement x="%col2_x%" y="%row3_y%" />
1181 <font resource="font" color="%button_text_color%" />
1182 <text>Internal Storage</text>
1183 <image resource="main_button" />
1184 <actions>
1185 <action function="set">tw_back=wipe</action>
1186 <action function="set">tw_action=wipe</action>
1187 <action function="set">tw_action_param=INTERNAL</action>
1188 <action function="set">tw_has_action2=1</action>
1189 <action function="set">tw_action2=set</action>
1190 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1191 <action function="set">tw_text1=Wipe Internal Storage?</action>
1192 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1193 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1194 <action function="set">tw_slider_text=Swipe to Wipe</action>
1195 <action function="page">confirm_action</action>
1196 </actions>
1197 </object>
1198
1199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001201 <conditions>
1202 <condition var1="tw_has_internal" var2="1" />
1203 <condition var1="tw_has_data_media" var2="1" />
1204 </conditions>
1205 <placement x="%col1_x%" y="%row4_y%" />
1206 <font resource="font" color="%button_text_color%" />
1207 <text>Format Data</text>
1208 <image resource="main_button" />
1209 <actions>
1210 <action function="set">tw_back=wipe</action>
1211 <action function="set">tw_action=wipe</action>
1212 <action function="set">tw_action_param=DATAMEDIA</action>
1213 <action function="set">tw_has_action2=1</action>
1214 <action function="set">tw_action2=set</action>
1215 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001216 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001217 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001218 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="set">tw_action_text1=Formatting Data...</action>
1220 <action function="set">tw_complete_text1=Data Format Complete</action>
1221 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001222 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001223 <action function="page">confirm_action</action>
1224 </actions>
1225 </object>
1226
1227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001228 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001229 <condition var1="tw_has_data_media" var2="0" />
1230 <placement x="%col1_x%" y="%row4_y%" />
1231 <font resource="font" color="%button_text_color%" />
1232 <text>Android Secure</text>
1233 <image resource="main_button" />
1234 <actions>
1235 <action function="set">tw_back=wipe</action>
1236 <action function="set">tw_action=wipe</action>
1237 <action function="set">tw_action_param=ANDROIDSECURE</action>
1238 <action function="set">tw_text1=Wipe Android Secure?</action>
1239 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1240 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1241 <action function="set">tw_slider_text=Swipe to Format</action>
1242 <action function="page">confirm_action</action>
1243 </actions>
1244 </object>
1245
1246 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001247 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 <condition var1="tw_has_sdext_partition" var2="1" />
1249 <placement x="%col2_x%" y="%row4_y%" />
1250 <font resource="font" color="%button_text_color%" />
1251 <text>SD Ext</text>
1252 <image resource="main_button" />
1253 <actions>
1254 <action function="set">tw_back=wipe</action>
1255 <action function="set">tw_action=wipe</action>
1256 <action function="set">tw_action_param=/sd-ext</action>
1257 <action function="set">tw_text1=Wipe SD-Ext?</action>
1258 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1259 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1260 <action function="set">tw_slider_text=Swipe to Wipe</action>
1261 <action function="page">confirm_action</action>
1262 </actions>
1263 </object>
1264
1265 <object type="action">
1266 <touch key="home" />
1267 <action function="page">main</action>
1268 </object>
1269
1270 <object type="action">
1271 <touch key="back" />
1272 <action function="page">main</action>
1273 </object>
1274
1275 <object type="template" name="footer" />
1276 </page>
1277
1278 <page name="backup">
1279 <object type="template" name="header" />
1280
1281 <object type="text" color="%text_color%">
1282 <font resource="font" />
1283 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1284 <text>Backup Name: %tw_backup_name%</text>
1285 </object>
1286
1287 <object type="text" color="%text_color%">
1288 <placement x="%col1_x%" y="%row1_text_y%" />
1289 <font resource="font" />
1290 <text>Backup Device</text>
1291 </object>
1292
1293 <object type="slider">
1294 <placement x="%slider_x%" y="slider_y" />
1295 <resource base="slider" used="slider-used" touch="slider-touch" />
1296 <action function="page">backup_run</action>
1297 </object>
1298
1299 <object type="text" color="%text_color%">
1300 <font resource="font" />
1301 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1302 <text>Swipe to Back Up</text>
1303 </object>
1304
1305 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001306 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001307 <placement x="%col2_x%" y="%row1_y%" />
1308 <font resource="font" color="%button_text_color%" />
1309 <text>Refresh Sizes</text>
1310 <image resource="main_button" />
1311 <action function="refreshsizes"></action>
1312 </object>
1313
1314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001316 <placement x="%col2_x%" y="%backup_name_y%" />
1317 <font resource="font" color="%button_text_color%" />
1318 <text>Set Backup Name</text>
1319 <image resource="main_button" />
1320 <actions>
1321 <action function="set">tw_fileexists=0</action>
1322 <action function="page">backupname1</action>
1323 </actions>
1324 </object>
1325
1326 <object type="checkbox">
1327 <placement x="%col1_x%" y="%row2_text_y%" />
1328 <font resource="font" color="%text_color%" />
1329 <text>System (%tw_backup_system_size% MB)</text>
1330 <data variable="tw_backup_system" />
1331 <image checked="checkbox_true" unchecked="checkbox_false" />
1332 </object>
1333
1334 <object type="checkbox">
1335 <placement x="%col1_x%" y="%row3_text_y%" />
1336 <font resource="font" color="%text_color%" />
1337 <text>Data (%tw_backup_data_size% MB)</text>
1338 <data variable="tw_backup_data" />
1339 <image checked="checkbox_true" unchecked="checkbox_false" />
1340 </object>
1341
1342 <object type="checkbox">
1343 <condition var1="tw_has_boot_partition" var2="1" />
1344 <placement x="%col1_x%" y="%row4_text_y%" />
1345 <font resource="font" color="%text_color%" />
1346 <text>Boot (%tw_backup_boot_size% MB)</text>
1347 <data variable="tw_backup_boot" />
1348 <image checked="checkbox_true" unchecked="checkbox_false" />
1349 </object>
1350
1351 <object type="checkbox">
1352 <condition var1="tw_has_recovery_partition" var2="1" />
1353 <placement x="%col1_x%" y="%row5_text_y%" />
1354 <font resource="font" color="%text_color%" />
1355 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1356 <data variable="tw_backup_recovery" />
1357 <image checked="checkbox_true" unchecked="checkbox_false" />
1358 </object>
1359
1360 <object type="checkbox">
1361 <placement x="%col1_x%" y="%row6_text_y%" />
1362 <font resource="font" color="%text_color%" />
1363 <text>Cache (%tw_backup_cache_size% MB)</text>
1364 <data variable="tw_backup_cache" />
1365 <image checked="checkbox_true" unchecked="checkbox_false" />
1366 </object>
1367
1368 <object type="checkbox">
1369 <condition var1="tw_has_android_secure" var2="1" />
1370 <placement x="%col1_x%" y="%row7_text_y%" />
1371 <font resource="font" color="%text_color%" />
1372 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1373 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1374 <data variable="tw_backup_andsec" />
1375 <image checked="checkbox_true" unchecked="checkbox_false" />
1376 </object>
1377
1378 <object type="checkbox">
1379 <condition var1="tw_has_sdext_partition" var2="1" />
1380 <placement x="%col1_x%" y="%row8_text_y%" />
1381 <font resource="font" color="%text_color%" />
1382 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1383 <condition var1="fileexists" var2="/sd-ext" />
1384 <data variable="tw_backup_sdext" />
1385 <image checked="checkbox_true" unchecked="checkbox_false" />
1386 </object>
1387
1388 <object type="checkbox">
1389 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001390 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001391 <font resource="font" color="%text_color%" />
1392 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1393 <data variable="tw_backup_sp1" />
1394 <image checked="checkbox_true" unchecked="checkbox_false" />
1395 </object>
1396
1397 <object type="checkbox">
1398 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001399 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001400 <font resource="font" color="%text_color%" />
1401 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1402 <data variable="tw_backup_sp2" />
1403 <image checked="checkbox_true" unchecked="checkbox_false" />
1404 </object>
1405
1406 <object type="checkbox">
1407 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001408 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001409 <font resource="font" color="%text_color%" />
1410 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1411 <data variable="tw_backup_sp3" />
1412 <image checked="checkbox_true" unchecked="checkbox_false" />
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001417 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001418 <text>Free Space: %tw_storage_free_size% MB</text>
1419 </object>
1420
1421 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001422 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001423 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001424 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001425 <data variable="tw_use_compression" />
1426 <image checked="checkbox_true" unchecked="checkbox_false" />
1427 </object>
1428
1429 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001430 <placement x="%col1_x%" y="%row15_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>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <data variable="tw_skip_md5_generate" />
1434 <image checked="checkbox_true" unchecked="checkbox_false" />
1435 </object>
1436
1437 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001438 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <font resource="font" color="%text_color%" />
1440 <conditions>
1441 <condition var1="tw_has_dual_storage" var2="1" />
1442 <condition var1="tw_use_external_storage" var2="1" />
1443 </conditions>
1444 <text>Use external SD</text>
1445 <image resource="radio_true" />
1446 <action function="togglestorage">external</action>
1447 </object>
1448
1449 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001450 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <font resource="font" color="%text_color%" />
1452 <conditions>
1453 <condition var1="tw_has_dual_storage" var2="1" />
1454 <condition var1="tw_use_external_storage" var2="0" />
1455 </conditions>
1456 <text>Use external SD</text>
1457 <image resource="radio_false" />
1458 <action function="togglestorage">external</action>
1459 </object>
1460
1461 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001462 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 <font resource="font" color="%text_color%" />
1464 <conditions>
1465 <condition var1="tw_has_dual_storage" var2="1" />
1466 <condition var1="tw_use_external_storage" var2="1" />
1467 </conditions>
1468 <text>Use internal storage</text>
1469 <image resource="radio_false" />
1470 <action function="togglestorage">internal</action>
1471 </object>
1472
1473 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001474 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001475 <font resource="font" color="%text_color%" />
1476 <conditions>
1477 <condition var1="tw_has_dual_storage" var2="1" />
1478 <condition var1="tw_use_external_storage" var2="0" />
1479 </conditions>
1480 <text>Use internal storage</text>
1481 <image resource="radio_true" />
1482 <action function="togglestorage">internal</action>
1483 </object>
1484
1485 <object type="action">
1486 <touch key="home" />
1487 <action function="page">main</action>
1488 </object>
1489
1490 <object type="action">
1491 <touch key="back" />
1492 <action function="page">main</action>
1493 </object>
1494
1495 <object type="template" name="footer" />
1496 </page>
1497
1498 <page name="backupname1">
1499 <object type="action">
1500 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1501 <action function="set">tw_backup_name=</function>
1502 </object>
1503
1504 <object type="action">
1505 <action function="page">backupname2</function>
1506 </object>
1507 </page>
1508
1509 <page name="backupname2">
1510 <object type="template" name="header" />
1511
1512 <object type="text" color="%text_color%">
1513 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1514 <font resource="font" />
1515 <text>Please Enter a Backup Name</text>
1516 </object>
1517
1518 <object type="input">
1519 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1520 <background color="%input_background_color%" />
1521 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1522 <font resource="font" color="%text_color%" />
1523 <text>%tw_backup_name%</text>
1524 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001525 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001526 <actions>
1527 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1528 <action function="set">tw_existpage=backupname2</action>
1529 <action function="set">tw_notexistpage=backup</action>
1530 <action function="page">filecheck</action>
1531 </actions>
1532 </object>
1533
1534 <object type="text" color="%text_fail_color%">
1535 <condition var1="tw_fileexists" var2="1" />
1536 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1537 <font resource="font" />
1538 <text>A backup with that name already exists!</text>
1539 </object>
1540
1541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001543 <placement x="%col_center_x%" y="%row2_y%" />
1544 <font resource="font" color="%button_text_color%" />
1545 <text>Cancel</text>
1546 <image resource="main_button" />
1547 <actions>
1548 <action function="set">tw_backup_name=(Current Date)</action>
1549 <action function="page">backup</action>
1550 </actions>
1551 </object>
1552
1553 <object type="template" name="keyboardtemplate" />
1554
1555 <object type="action">
1556 <touch key="home" />
1557 <actions>
1558 <action function="set">tw_backup_name=(Current Date)</action>
1559 <action function="page">main</action>
1560 </actions>
1561 </object>
1562
1563 <object type="action">
1564 <touch key="back" />
1565 <actions>
1566 <action function="set">tw_backup_name=(Current Date)</action>
1567 <action function="page">backup</action>
1568 </actions>
1569 </object>
1570
1571 <object type="template" name="footer" />
1572 </page>
1573
1574 <page name="backup_run">
1575 <object type="template" name="header" />
1576
1577 <object type="text" color="%text_color%">
1578 <font resource="font" />
1579 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1580 <text>%tw_operation% %tw_partition%</text>
1581 </object>
1582
1583 <object type="template" name="action_page_console" />
1584
1585 <object type="template" name="progress_bar" />
1586
1587 <object type="action">
1588 <action function="nandroid">backup</action>
1589 </object>
1590
1591 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001592 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001593 <actions>
1594 <action function="set">tw_back=backup</action>
1595 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001596 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001597 <action function="page">action_complete</action>
1598 </actions>
1599 </object>
1600 </page>
1601
1602 <page name="restore">
1603 <object type="template" name="header" />
1604
1605 <object type="button">
1606 <placement x="%col1_x%" y="%row1_header_y%" />
1607 <font resource="font" color="%text_color%" />
1608 <conditions>
1609 <condition var1="tw_has_dual_storage" var2="1" />
1610 <condition var1="tw_use_external_storage" var2="1" />
1611 </conditions>
1612 <text>Use external SD</text>
1613 <image resource="radio_true" />
1614 <action function="togglestorage">external</action>
1615 </object>
1616
1617 <object type="button">
1618 <placement x="%col1_x%" y="%row1_header_y%" />
1619 <font resource="font" color="%text_color%" />
1620 <conditions>
1621 <condition var1="tw_has_dual_storage" var2="1" />
1622 <condition var1="tw_use_external_storage" var2="0" />
1623 </conditions>
1624 <text>Use external SD</text>
1625 <image resource="radio_false" />
1626 <action function="togglestorage">external</action>
1627 </object>
1628
1629 <object type="button">
1630 <placement x="%col2_x%" y="%row1_header_y%" />
1631 <font resource="font" color="%text_color%" />
1632 <conditions>
1633 <condition var1="tw_has_dual_storage" var2="1" />
1634 <condition var1="tw_use_external_storage" var2="1" />
1635 </conditions>
1636 <text>Use internal storage</text>
1637 <image resource="radio_false" />
1638 <action function="togglestorage">internal</action>
1639 </object>
1640
1641 <object type="button">
1642 <placement x="%col2_x%" y="%row1_header_y%" />
1643 <font resource="font" color="%text_color%" />
1644 <conditions>
1645 <condition var1="tw_has_dual_storage" var2="1" />
1646 <condition var1="tw_use_external_storage" var2="0" />
1647 </conditions>
1648 <text>Use internal storage</text>
1649 <image resource="radio_true" />
1650 <action function="togglestorage">internal</action>
1651 </object>
1652
1653 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001654 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001655 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1656 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1657 <text>Select Package to Restore:</text>
1658 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1659 <sort name="tw_gui_sort_order" />
1660 <icon folder="folder_icon" file="file_icon" />
1661 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001662 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001663 <filter folders="1" files="0" nav="0" />
1664 <path name="tw_backups_folder" />
1665 <data name="tw_restore" default="" />
1666 <selection name="tw_restore_name" />
1667 </object>
1668
1669 <object type="template" name="sort_options" />
1670
1671 <object type="action">
1672 <condition var1="tw_restore" op="modified" />
1673 <actions>
1674 <action function="readBackup"></action>
1675 <action function="page">restore_select</action>
1676 </actions>
1677 </object>
1678
1679 <object type="action">
1680 <touch key="home" />
1681 <action function="page">main</action>
1682 </object>
1683
1684 <object type="action">
1685 <touch key="back" />
1686 <action function="page">main</action>
1687 </object>
1688
1689 <object type="template" name="footer" />
1690 </page>
1691
1692 <page name="restore_select">
1693 <object type="template" name="header" />
1694
1695 <object type="text">
1696 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1697 <font resource="font" color="%text_color%" />
1698 <text>Restoring: %tw_restore_name%</text>
1699 </object>
1700
1701 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001702 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001703 <placement x="%col2_x%" y="%row1_y%" />
1704 <font resource="font" color="%button_text_color%" />
1705 <text>Rename Backup</text>
1706 <image resource="main_button" />
1707 <actions>
1708 <action function="set">tw_backup_rename=</action>
1709 <action function="set">tw_fileexists=0</action>
1710 <action function="page">renamebackup</action>
1711 </actions>
1712 </object>
1713
1714 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001715 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001716 <placement x="%col2_x%" y="%row2_y%" />
1717 <font resource="font" color="%button_text_color%" />
1718 <text>Delete Backup</text>
1719 <image resource="main_button" />
1720 <actions>
1721 <action function="set">tw_back=restore</action>
1722 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001723 <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 -04001724 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1725 <action function="set">tw_text2=This cannot be undone!</action>
1726 <action function="set">tw_action_text1=Deleting Backup...</action>
1727 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1728 <action function="set">tw_slider_text=Swipe to Delete</action>
1729 <action function="page">confirm_action</action>
1730 </actions>
1731 </object>
1732
1733 <object type="slider">
1734 <placement x="%slider_x%" y="%slider_y%" />
1735 <resource base="slider" used="slider-used" touch="slider-touch" />
1736 <action function="page">restore_run</action>
1737 </object>
1738
1739 <object type="text" color="%text_color%">
1740 <font resource="font" />
1741 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1742 <text>Swipe to Restore</text>
1743 </object>
1744
1745 <object type="checkbox">
1746 <placement x="%col1_x%" y="%row2_text_y%" />
1747 <font resource="font" color="%text_color%" />
1748 <text>System</text>
1749 <condition var1="tw_restore_system" op=">=" var2="0" />
1750 <data variable="tw_restore_system" />
1751 <image checked="checkbox_true" unchecked="checkbox_false" />
1752 </object>
1753
1754 <object type="checkbox">
1755 <placement x="%col1_x%" y="%row3_text_y%" />
1756 <font resource="font" color="%text_color%" />
1757 <text>Data</text>
1758 <condition var1="tw_restore_data" op=">=" var2="0" />
1759 <data variable="tw_restore_data" />
1760 <image checked="checkbox_true" unchecked="checkbox_false" />
1761 </object>
1762
1763 <object type="checkbox">
1764 <placement x="%col1_x%" y="%row4_text_y%" />
1765 <font resource="font" color="%text_color%" />
1766 <text>Boot</text>
1767 <condition var1="tw_restore_boot" op=">=" var2="0" />
1768 <data variable="tw_restore_boot" />
1769 <image checked="checkbox_true" unchecked="checkbox_false" />
1770 </object>
1771
1772 <object type="checkbox">
1773 <placement x="%col1_x%" y="%row6_text_y%" />
1774 <font resource="font" color="%text_color%" />
1775 <text>Cache</text>
1776 <condition var1="tw_restore_cache" op=">=" var2="0" />
1777 <data variable="tw_restore_cache" />
1778 <image checked="checkbox_true" unchecked="checkbox_false" />
1779 </object>
1780
1781 <object type="checkbox">
1782 <placement x="%col1_x%" y="%row7_text_y%" />
1783 <font resource="font" color="%text_color%" />
1784 <text>.android_secure</text>
1785 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1786 <data variable="tw_restore_andsec" />
1787 <image checked="checkbox_true" unchecked="checkbox_false" />
1788 </object>
1789
1790 <object type="checkbox">
1791 <placement x="%col1_x%" y="%row8_text_y%" />
1792 <font resource="font" color="%text_color%" />
1793 <text>sd-ext</text>
1794 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1795 <data variable="tw_restore_sdext" />
1796 <image checked="checkbox_true" unchecked="checkbox_false" />
1797 </object>
1798
1799 <object type="checkbox">
1800 <placement x="%col1_x%" y="%row10_text_y%" />
1801 <font resource="font" color="%text_color%" />
1802 <text>%tw_sp1_name%</text>
1803 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1804 <data variable="tw_restore_sp1" />
1805 <image checked="checkbox_true" unchecked="checkbox_false" />
1806 </object>
1807
1808 <object type="checkbox">
1809 <placement x="%col1_x%" y="%row11_text_y%" />
1810 <font resource="font" color="%text_color%" />
1811 <text>%tw_sp2_name%</text>
1812 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1813 <data variable="tw_restore_sp2" />
1814 <image checked="checkbox_true" unchecked="checkbox_false" />
1815 </object>
1816
1817 <object type="checkbox">
1818 <placement x="%col1_x%" y="%row12_text_y%" />
1819 <font resource="font" color="%text_color%" />
1820 <text>%tw_sp3_name%</text>
1821 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1822 <data variable="tw_restore_sp3" />
1823 <image checked="checkbox_true" unchecked="checkbox_false" />
1824 </object>
1825
1826 <object type="checkbox">
1827 <placement x="%col1_x%" y="%row14_text_y%" />
1828 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001829 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001830 <data variable="tw_skip_md5_check" />
1831 <image checked="checkbox_true" unchecked="checkbox_false" />
1832 </object>
1833
1834 <object type="text" color="%text_color%">
1835 <font resource="font" />
1836 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1837 <text>Package Date: %tw_restore_file_date%</text>
1838 </object>
1839
1840 <object type="action">
1841 <touch key="home" />
1842 <action function="page">main</action>
1843 </object>
1844
1845 <object type="action">
1846 <touch key="back" />
1847 <action function="page">restore</action>
1848 </object>
1849
1850 <object type="template" name="footer" />
1851 </page>
1852
1853 <page name="renamebackup">
1854 <object type="template" name="header" />
1855
1856 <object type="text" color="%text_color%">
1857 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1858 <font resource="font" />
1859 <text>Please Enter a New Backup Name</text>
1860 </object>
1861
1862 <object type="input">
1863 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1864 <background color="%input_background_color%" />
1865 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1866 <font resource="font" color="%text_color%" />
1867 <text>%tw_backup_rename%</text>
1868 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001869 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001870 <actions>
1871 <action function="set">tw_back=restore</action>
1872 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001873 <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 -04001874 <action function="set">tw_text1=Rename Backup?</action>
1875 <action function="set">tw_text2=This cannot be undone!</action>
1876 <action function="set">tw_action_text1=Renaming Backup...</action>
1877 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1878 <action function="set">tw_slider_text=Swipe to Rename</action>
1879 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1880 <action function="set">tw_existpage=renamebackup</action>
1881 <action function="set">tw_notexistpage=confirm_action</action>
1882 <action function="page">filecheck</action>
1883 </actions>
1884 </object>
1885
1886 <object type="text" color="%text_fail_color%">
1887 <condition var1="tw_fileexists" var2="1" />
1888 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1889 <font resource="font" />
1890 <text>A backup with that name already exists!</text>
1891 </object>
1892
1893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001894 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001895 <placement x="%col_center_x%" y="%row2_y%" />
1896 <font resource="font" color="%button_text_color%" />
1897 <text>Cancel</text>
1898 <image resource="main_button" />
1899 <action function="page">restore_select</action>
1900 </object>
1901
1902 <object type="template" name="keyboardtemplate" />
1903
1904 <object type="action">
1905 <touch key="home" />
1906 <action function="page">main</action>
1907 </object>
1908
1909 <object type="action">
1910 <touch key="back" />
1911 <action function="page">restore_select</action>
1912 </object>
1913
1914 <object type="template" name="footer" />
1915 </page>
1916
1917 <page name="restore_run">
1918 <object type="template" name="header" />
1919
1920 <object type="text" color="%text_color%">
1921 <font resource="font" />
1922 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1923 <text>%tw_operation% %tw_partition%</text>
1924 </object>
1925
1926 <object type="template" name="action_page_console" />
1927
1928 <object type="template" name="progress_bar" />
1929
1930 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001931 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001932 <actions>
1933 <action function="set">tw_back=restore_select</action>
1934 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001935 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001936 <action function="page">action_complete</action>
1937 </actions>
1938 </object>
1939
1940 <object type="action">
1941 <action function="nandroid">restore</action>
1942 </object>
1943 </page>
1944
1945 <page name="mount">
1946 <object type="template" name="header" />
1947
1948 <object type="text" color="%text_color%">
1949 <font resource="font" />
1950 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1951 <text>Mount Menu</text>
1952 </object>
1953
1954 <object type="button">
1955 <placement x="%col1_x%" y="%row1_text_y%" />
1956 <font resource="font" color="%text_color%" />
1957 <condition var1="mounted" op="!=" var2="/system" />
1958 <text>Mount System</text>
1959 <image resource="checkbox_false" />
1960 <action function="mount">/system</action>
1961 </object>
1962
1963 <object type="button">
1964 <placement x="%col1_x%" y="%row1_text_y%" />
1965 <font resource="font" color="%text_color%" />
1966 <condition var1="mounted" op="=" var2="/system" />
1967 <text>Unmount System</text>
1968 <image resource="checkbox_true" />
1969 <action function="umount">/system</action>
1970 </object>
1971
1972 <object type="button">
1973 <placement x="%col1_x%" y="%row2_text_y%" />
1974 <font resource="font" color="%text_color%" />
1975 <condition var1="mounted" op="!=" var2="/data" />
1976 <text>Mount Data</text>
1977 <image resource="checkbox_false" />
1978 <action function="mount">/data</action>
1979 </object>
1980
1981 <object type="button">
1982 <placement x="%col1_x%" y="%row2_text_y%" />
1983 <font resource="font" color="%text_color%" />
1984 <condition var1="mounted" op="=" var2="/data" />
1985 <text>Unmount Data</text>
1986 <image resource="checkbox_true" />
1987 <action function="umount">/data</action>
1988 </object>
1989
1990 <object type="button">
1991 <placement x="%col1_x%" y="%row3_text_y%" />
1992 <font resource="font" color="%text_color%" />
1993 <condition var1="mounted" op="!=" var2="/cache" />
1994 <text>Mount Cache</text>
1995 <image resource="checkbox_false" />
1996 <action function="mount">/cache</action>
1997 </object>
1998
1999 <object type="button">
2000 <placement x="%col1_x%" y="%row3_text_y%" />
2001 <font resource="font" color="%text_color%" />
2002 <condition var1="mounted" op="=" var2="/cache" />
2003 <text>Unmount Cache</text>
2004 <image resource="checkbox_true" />
2005 <action function="umount">/cache</action>
2006 </object>
2007
2008 <object type="button">
2009 <placement x="%col1_x%" y="%row4_text_y%" />
2010 <font resource="font" color="%text_color%" />
2011 <conditions>
2012 <condition var1="tw_has_external" var2="1" />
2013 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2014 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002015 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002016 <image resource="checkbox_false" />
2017 <action function="mount">EXTERNAL</action>
2018 </object>
2019
2020 <object type="button">
2021 <placement x="%col1_x%" y="%row4_text_y%" />
2022 <font resource="font" color="%text_color%" />
2023 <conditions>
2024 <condition var1="tw_has_external" var2="1" />
2025 <condition var1="mounted" op="=" var2="EXTERNAL" />
2026 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002027 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002028 <image resource="checkbox_true" />
2029 <action function="umount">EXTERNAL</action>
2030 </object>
2031
2032 <object type="button">
2033 <placement x="%col2_x%" y="%row4_text_y%" />
2034 <font resource="font" color="%text_color%" />
2035 <conditions>
2036 <condition var1="tw_has_internal" var2="1" />
2037 <condition var1="tw_has_data_media" var2="0" />
2038 <condition var1="mounted" op="!=" var2="INTERNAL" />
2039 </conditions>
2040 <text>Mount Internal</text>
2041 <image resource="checkbox_false" />
2042 <action function="mount">INTERNAL</action>
2043 </object>
2044
2045 <object type="button">
2046 <placement x="%col2_x%" y="%row4_text_y%" />
2047 <font resource="font" color="%text_color%" />
2048 <conditions>
2049 <condition var1="tw_has_internal" var2="1" />
2050 <condition var1="tw_has_data_media" var2="0" />
2051 <condition var1="mounted" op="=" var2="INTERNAL" />
2052 </conditions>
2053 <text>Unmount Internal</text>
2054 <image resource="checkbox_true" />
2055 <action function="umount">INTERNAL</action>
2056 </object>
2057
2058 <object type="button">
2059 <conditions>
2060 <condition var1="tw_has_sdext_partition" var2="1" />
2061 <condition var1="mounted" op="!=" var2="/sd-ext" />
2062 </conditions>
2063 <placement x="%col1_x%" y="%row5_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <text>Mount SD-Ext</text>
2066 <image resource="checkbox_false" />
2067 <action function="mount">/sd-ext</action>
2068 </object>
2069
2070 <object type="button">
2071 <placement x="%col1_x%" y="%row5_text_y%" />
2072 <font resource="font" color="%text_color%" />
2073 <condition var1="mounted" op="=" var2="/sd-ext" />
2074 <text>Unmount SD-Ext</text>
2075 <image resource="checkbox_true" />
2076 <action function="umount">/sd-ext</action>
2077 </object>
2078
2079 <object type="button">
2080 <conditions>
2081 <condition var1="tw_boot_is_mountable" var2="1" />
2082 <condition var1="mounted" op="!=" var2="/boot" />
2083 </conditions>
2084 <placement x="%col1_x%" y="%row6_text_y%" />
2085 <font resource="font" color="#A0A0A0" />
2086 <text>Mount Boot</text>
2087 <image resource="checkbox_false" />
2088 <action function="mount">/boot</action>
2089 </object>
2090
2091 <object type="button">
2092 <conditions>
2093 <condition var1="tw_boot_is_mountable" var2="1" />
2094 <condition var1="mounted" op="=" var2="/boot" />
2095 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 <placement x="%col1_x%" y="%row6_text_y%" />
2097 <font resource="font" color="#A0A0A0" />
2098 <text>Unmount Boot</text>
2099 <image resource="checkbox_true" />
2100 <action function="umount">/boot</action>
2101 </object>
2102
2103 <object type="button">
2104 <placement x="%col1_x%" y="%row8_text_y%" />
2105 <font resource="font" color="%text_color%" />
2106 <conditions>
2107 <condition var1="tw_has_dual_storage" var2="1" />
2108 <condition var1="tw_use_external_storage" var2="1" />
2109 </conditions>
2110 <text>Use external SD</text>
2111 <image resource="radio_true" />
2112 <action function="togglestorage">external</action>
2113 </object>
2114
2115 <object type="button">
2116 <placement x="%col1_x%" y="%row8_text_y%" />
2117 <font resource="font" color="%text_color%" />
2118 <conditions>
2119 <condition var1="tw_has_dual_storage" var2="1" />
2120 <condition var1="tw_use_external_storage" var2="0" />
2121 </conditions>
2122 <text>Use external SD</text>
2123 <image resource="radio_false" />
2124 <action function="togglestorage">external</action>
2125 </object>
2126
2127 <object type="button">
2128 <placement x="%col2_x%" y="%row8_text_y%" />
2129 <font resource="font" color="%text_color%" />
2130 <conditions>
2131 <condition var1="tw_has_dual_storage" var2="1" />
2132 <condition var1="tw_use_external_storage" var2="1" />
2133 </conditions>
2134 <text>Use internal storage</text>
2135 <image resource="radio_false" />
2136 <action function="togglestorage">internal</action>
2137 </object>
2138
2139 <object type="button">
2140 <placement x="%col2_x%" y="%row8_text_y%" />
2141 <font resource="font" color="%text_color%" />
2142 <conditions>
2143 <condition var1="tw_has_dual_storage" var2="1" />
2144 <condition var1="tw_use_external_storage" var2="0" />
2145 </conditions>
2146 <text>Use internal storage</text>
2147 <image resource="radio_true" />
2148 <action function="togglestorage">internal</action>
2149 </object>
2150
2151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002153 <condition var1="tw_has_usb_storage" var2="1" />
2154 <placement x="%col1_x%" y="row3_y" />
2155 <font resource="font" color="%button_text_color%" />
2156 <text>Mount USB Storage</text>
2157 <image resource="main_button" />
2158 <action function="page">usb_mount</action>
2159 </object>
2160
Gary Peckffdc6ae2012-11-21 18:02:02 -08002161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002162 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002163 <conditions>
2164 <condition var1="tw_is_encrypted" var2="1" />
2165 <condition var1="tw_is_decrypted" var2="0" />
2166 </conditions>
2167 <placement x="%col2_x%" y="row3_y" />
2168 <font resource="font" color="%button_text_color%" />
2169 <text>Decrypt Data</text>
2170 <image resource="main_button" />
2171 <action function="page">decrypt</action>
2172 </object>
2173
Dees_Troy51a0e822012-09-05 15:24:24 -04002174 <object type="action">
2175 <touch key="home" />
2176 <action function="page">main</action>
2177 </object>
2178
2179 <object type="action">
2180 <touch key="back" />
2181 <action function="page">main</action>
2182 </object>
2183
2184 <object type="template" name="footer" />
2185 </page>
2186
2187 <page name="usb_mount">
2188 <object type="template" name="header" />
2189
2190 <object type="text" color="%text_color%">
2191 <font resource="font" />
2192 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2193 <text>USB Storage Mounted</text>
2194 </object>
2195
2196 <object type="text" color="%text_color%">
2197 <placement x="%col1_x%" y="%row1_text_y%" />
2198 <font resource="font" />
2199 <text>Be sure to safely remove your device</text>
2200 </object>
2201
2202 <object type="text" color="%text_color%">
2203 <placement x="%col1_x%" y="%row2_text_y%" />
2204 <font resource="font" />
2205 <text>from your computer before unmounting!</text>
2206 </object>
2207
2208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002210 <placement x="%col1_x%" y="%row3_y%" />
2211 <font resource="font" color="%button_text_color%" />
2212 <text>Unmount</text>
2213 <image resource="main_button" />
2214 <action function="page">usb_umount</action>
2215 </object>
2216
2217 <object type="action">
2218 <action function="mount">usb</action>
2219 </object>
2220
2221 <object type="template" name="footer" />
2222 </page>
2223
2224 <page name="usb_umount">
2225 <object type="action">
2226 <action function="unmount">usb</action>
2227 </object>
2228
2229 <object type="action">
2230 <action function="page">mount</action>
2231 </object>
2232 </page>
2233
2234 <page name="reboot">
2235 <object type="template" name="header" />
2236
2237 <object type="text" color="%text_color%">
2238 <font resource="font" />
2239 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2240 <text>Reboot Menu</text>
2241 </object>
2242
2243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002245 <condition var1="tw_reboot_system" var2="1" />
2246 <placement x="%col1_x%" y="%row1_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>System</text>
2249 <image resource="main_button" />
2250 <actions>
2251 <action function="set">tw_back=reboot</action>
2252 <action function="set">tw_action=reboot</action>
2253 <action function="set">tw_action_param=system</action>
2254 <action function="set">tw_has_action2=0</action>
2255 <action function="set">tw_text1=No OS Installed! Are you</action>
2256 <action function="set">tw_text2=sure you wish to reboot?</action>
2257 <action function="set">tw_action_text1=Rebooting...</action>
2258 <action function="set">tw_complete_text1=Rebooting...</action>
2259 <action function="set">tw_slider_text=Swipe to Reboot</action>
2260 <action function="page">rebootcheck</action>
2261 </actions>
2262 </object>
2263
2264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002266 <condition var1="tw_reboot_poweroff" var2="1" />
2267 <placement x="%col2_x%" y="%row1_y%" />
2268 <font resource="font" color="%button_text_color%" />
2269 <text>Power Off</text>
2270 <image resource="main_button" />
2271 <actions>
2272 <action function="set">tw_back=reboot</action>
2273 <action function="set">tw_action=reboot</action>
2274 <action function="set">tw_action_param=poweroff</action>
2275 <action function="set">tw_has_action2=0</action>
2276 <action function="set">tw_text1=No OS Installed! Are you</action>
2277 <action function="set">tw_text2=sure you wish to power off?</action>
2278 <action function="set">tw_action_text1=Turning Off...</action>
2279 <action function="set">tw_complete_text1=Turning Off...</action>
2280 <action function="set">tw_slider_text=Swipe to Power Off</action>
2281 <action function="page">rebootcheck</action>
2282 </actions>
2283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002287 <condition var1="tw_reboot_recovery" var2="1" />
2288 <placement x="%col1_x%" y="%row2_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>Recovery</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=recovery</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <condition var1="tw_reboot_bootloader" var2="1" />
2309 <placement x="%col2_x%" y="%row2_y%" />
2310 <font resource="font" color="%button_text_color%" />
2311 <text>Bootloader</text>
2312 <image resource="main_button" />
2313 <actions>
2314 <action function="set">tw_back=reboot</action>
2315 <action function="set">tw_action=reboot</action>
2316 <action function="set">tw_action_param=bootloader</action>
2317 <action function="set">tw_has_action2=0</action>
2318 <action function="set">tw_text1=No OS Installed! Are you</action>
2319 <action function="set">tw_text2=sure you wish to reboot?</action>
2320 <action function="set">tw_action_text1=Rebooting...</action>
2321 <action function="set">tw_complete_text1=Rebooting...</action>
2322 <action function="set">tw_slider_text=Swipe to Reboot</action>
2323 <action function="page">rebootcheck</action>
2324 </actions>
2325 </object>
2326
2327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002329 <condition var1="tw_download_mode" var2="1" />
2330 <placement x="%col1_x%" y="%row3_y%" />
2331 <font resource="font" color="%button_text_color%" />
2332 <text>Download</text>
2333 <image resource="main_button" />
2334 <actions>
2335 <action function="set">tw_back=reboot</action>
2336 <action function="set">tw_action=reboot</action>
2337 <action function="set">tw_action_param=download</action>
2338 <action function="set">tw_has_action2=0</action>
2339 <action function="set">tw_text1=No OS Installed! Are you</action>
2340 <action function="set">tw_text2=sure you wish to reboot?</action>
2341 <action function="set">tw_action_text1=Rebooting...</action>
2342 <action function="set">tw_complete_text1=Rebooting...</action>
2343 <action function="set">tw_slider_text=Swipe to Reboot</action>
2344 <action function="page">rebootcheck</action>
2345 </actions>
2346 </object>
2347
2348 <object type="action">
2349 <touch key="home" />
2350 <action function="page">main</action>
2351 </object>
2352
2353 <object type="action">
2354 <touch key="back" />
2355 <action function="page">main</action>
2356 </object>
2357
2358 <object type="template" name="footer" />
2359 </page>
2360
2361 <page name="settings">
2362 <object type="template" name="header" />
2363
2364 <object type="text" color="%text_color%">
2365 <font resource="font" />
2366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2367 <text>Settings</text>
2368 </object>
2369
2370 <object type="checkbox">
2371 <placement x="%col1_x%" y="%row1_text_y%" />
2372 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002373 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <data variable="tw_signed_zip_verify" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
2379 <placement x="%col1_x%" y="%row2_text_y%" />
2380 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002381 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <data variable="tw_rm_rf" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002387 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002389 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <data variable="tw_skip_md5_generate" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002395 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002397 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <data variable="tw_skip_md5_check" />
2399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002405 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <data variable="tw_ignore_image_size" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002411 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002413 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <data variable="tw_simulate_actions" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
2419 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002420 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002422 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <data variable="tw_simulate_fail" />
2424 <image checked="checkbox_true" unchecked="checkbox_false" />
2425 </object>
2426
2427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <placement x="%col1_x%" y="%row3_y%" />
2430 <font resource="font" color="%button_text_color%" />
2431 <text>Time Zone</text>
2432 <image resource="main_button" />
2433 <action function="page">timezone</action>
2434 </object>
2435
2436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002437 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002438 <placement x="%col2_x%" y="%row3_y%" />
2439 <font resource="font" color="%button_text_color%" />
2440 <text>Screen</text>
2441 <image resource="main_button" />
2442 <action function="page">screen</action>
2443 </object>
2444
2445 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <placement x="%col_center_x%" y="%row4_y%" />
2447 <font resource="font" color="%button_text_color%" />
2448 <text>Restore Defaults</text>
2449 <image resource="main_button" />
2450 <action function="restoredefaultsettings"></action>
2451 </object>
2452
2453 <object type="action">
2454 <touch key="home" />
2455 <action function="page">main</action>
2456 </object>
2457
2458 <object type="action">
2459 <touch key="back" />
2460 <action function="page">main</action>
2461 </object>
2462
2463 <object type="template" name="footer" />
2464 </page>
2465
2466 <page name="timezone">
2467 <object type="template" name="header" />
2468
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002470 <highlight color="%fileselector_highlight_color%" />
2471 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2472 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2473 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002475 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002477 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <data name="tw_time_zone_guisel" />
2479 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2480 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2481 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2482 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2483 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2484 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2485 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2486 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2487 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2488 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2489 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2490 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2491 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2492 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2493 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2494 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2495 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2496 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2497 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2498 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2499 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2500 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2501 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2502 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2503 </object>
2504
2505 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002506 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <font resource="font" color="%text_color%" />
2508 <text>Do you use daylight savings time (DST)?</text>
2509 <data variable="tw_time_zone_guidst" />
2510 <image checked="checkbox_true" unchecked="checkbox_false" />
2511 </object>
2512
2513 <object type="text" color="%text_color%">
2514 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002515 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2517 </object>
2518
2519 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002520 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002521 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <font resource="font" color="%button_text_color%" />
2523 <text>None</text>
2524 <image resource="medium_button" />
2525 <action function="set">tw_time_zone_guioffset=0</action>
2526 </object>
2527
2528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002529 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002530 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <font resource="font" color="%button_text_color%" />
2532 <text>15</text>
2533 <image resource="medium_button" />
2534 <action function="set">tw_time_zone_guioffset=15</action>
2535 </object>
2536
2537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002538 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002539 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <font resource="font" color="%button_text_color%" />
2541 <text>30</text>
2542 <image resource="medium_button" />
2543 <action function="set">tw_time_zone_guioffset=30</action>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002548 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <font resource="font" color="%button_text_color%" />
2550 <text>45</text>
2551 <image resource="medium_button" />
2552 <action function="set">tw_time_zone_guioffset=45</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <placement x="%col_center_x%" y="%tz_set_y%" />
2558 <font resource="font" color="%button_text_color%" />
2559 <text>Set Time Zone</text>
2560 <image resource="main_button" />
2561 <action function="setguitimezone"></action>
2562 </object>
2563
2564 <object type="text" color="%text_color%">
2565 <font resource="font" />
2566 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2567 <text>Current Time Zone: %tw_time_zone%</text>
2568 </object>
2569
2570 <object type="action">
2571 <touch key="home" />
2572 <action function="page">main</action>
2573 </object>
2574
2575 <object type="action">
2576 <touch key="back" />
2577 <action function="page">settings</action>
2578 </object>
2579
2580 <object type="template" name="footer" />
2581 </page>
2582
Dees_Troy2f9117a2013-02-17 19:52:09 -06002583 <page name="screen">
2584 <object type="template" name="header" />
2585
2586 <object type="text" color="%text_color%">
2587 <font resource="font" />
2588 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2589 <text>Screen Settings</text>
2590 </object>
2591
2592 <object type="text" color="%text_color%">
2593 <font resource="font" />
2594 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2595 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2596 </object>
2597
2598 <object type="button">
2599 <placement x="%col1_medium_x%" y="%row2_y%" />
2600 <font resource="font" color="%button_text_color%" />
2601 <text>None</text>
2602 <image resource="medium_button" />
2603 <action function="set">tw_screen_timeout_secs=0</action>
2604 </object>
2605
2606 <object type="button">
2607 <placement x="%col2_medium_x%" y="%row2_y%" />
2608 <font resource="font" color="%button_text_color%" />
2609 <text>60</text>
2610 <image resource="medium_button" />
2611 <action function="set">tw_screen_timeout_secs=60</action>
2612 </object>
2613
2614 <object type="button">
2615 <placement x="%col3_medium_x%" y="%row2_y%" />
2616 <font resource="font" color="%button_text_color%" />
2617 <text>120</text>
2618 <image resource="medium_button" />
2619 <action function="set">tw_screen_timeout_secs=120</action>
2620 </object>
2621
2622 <object type="button">
2623 <placement x="%col4_medium_x%" y="%row2_y%" />
2624 <font resource="font" color="%button_text_color%" />
2625 <text>180</text>
2626 <image resource="medium_button" />
2627 <action function="set">tw_screen_timeout_secs=180</action>
2628 </object>
2629
2630 <object type="text" color="%text_color%">
2631 <condition var1="tw_has_brightnesss_file" var2="1" />
2632 <font resource="font" />
2633 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2634 <text>Brightness: %tw_brightness_display%</text>
2635 </object>
2636
2637 <object type="button">
2638 <condition var1="tw_has_brightnesss_file" var2="1" />
2639 <placement x="%col1_medium_x%" y="%row4_y%" />
2640 <font resource="font" color="%button_text_color%" />
2641 <text>25%</text>
2642 <image resource="medium_button" />
2643 <actions>
2644 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2645 <action function="set">tw_brightness_display=25%</action>
2646 <action function="set">tw_brightness=%tw_brightness_25%</action>
2647 </actions>
2648 </object>
2649
2650 <object type="button">
2651 <condition var1="tw_has_brightnesss_file" var2="1" />
2652 <placement x="%col2_medium_x%" y="%row4_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>50%</text>
2655 <image resource="medium_button" />
2656 <actions>
2657 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2658 <action function="set">tw_brightness_display=50%</action>
2659 <action function="set">tw_brightness=%tw_brightness_50%</action>
2660 </actions>
2661 </object>
2662
2663 <object type="button">
2664 <condition var1="tw_has_brightnesss_file" var2="1" />
2665 <placement x="%col3_medium_x%" y="%row4_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>75%</text>
2668 <image resource="medium_button" />
2669 <actions>
2670 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2671 <action function="set">tw_brightness_display=75%</action>
2672 <action function="set">tw_brightness=%tw_brightness_75%</action>
2673 </actions>
2674 </object>
2675
2676 <object type="button">
2677 <condition var1="tw_has_brightnesss_file" var2="1" />
2678 <placement x="%col4_medium_x%" y="%row4_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text>100%</text>
2681 <image resource="medium_button" />
2682 <actions>
2683 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2684 <action function="set">tw_brightness_display=100%</action>
2685 <action function="set">tw_brightness=%tw_brightness_100%</action>
2686 </actions>
2687 </object>
2688
2689 <object type="action">
2690 <touch key="home" />
2691 <action function="page">main</action>
2692 </object>
2693
2694 <object type="action">
2695 <touch key="back" />
2696 <action function="page">settings</action>
2697 </object>
2698
2699 <object type="template" name="footer" />
2700 </page>
2701
Dees_Troy51a0e822012-09-05 15:24:24 -04002702 <page name="advanced">
2703 <object type="template" name="header" />
2704
2705 <object type="text" color="%text_color%">
2706 <font resource="font" />
2707 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2708 <text>Advanced</text>
2709 </object>
2710
2711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002713 <placement x="%col1_x%" y="%row1_y%" />
2714 <font resource="font" color="%button_text_color%" />
2715 <text>Copy Log to SD</text>
2716 <image resource="main_button" />
2717 <actions>
2718 <action function="set">tw_back=advanced</action>
2719 <action function="set">tw_action=copylog</action>
2720 <action function="set">tw_text1=Copy Log to SD Card?</action>
2721 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2722 <action function="set">tw_complete_text1=Log Copy Complete</action>
2723 <action function="set">tw_slider_text=Swipe to Confirm</action>
2724 <action function="page">confirm_action</action>
2725 </actions>
2726 </object>
2727
2728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <placement x="%col2_x%" y="%row1_y%" />
2731 <font resource="font" color="%button_text_color%" />
2732 <text>Fix Permissions</text>
2733 <image resource="main_button" />
2734 <actions>
2735 <action function="set">tw_back=advanced</action>
2736 <action function="set">tw_action=fixpermissions</action>
2737 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002739 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2740 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002741 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <action function="page">confirm_action</action>
2743 </actions>
2744 </object>
2745
2746 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002747 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <condition var1="tw_allow_partition_sdcard" var2="1" />
2749 <placement x="%col1_x%" y="%row2_y%" />
2750 <font resource="font" color="%button_text_color%" />
2751 <text>Partition SD Card</text>
2752 <image resource="main_button" />
2753 <action function="page">partsdcard</action>
2754 </object>
2755
2756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <placement x="%col2_x%" y="%row2_y%" />
2759 <font resource="font" color="%button_text_color%" />
2760 <text>File Manager</text>
2761 <image resource="main_button" />
2762 <action function="page">filemanagerlist</action>
2763 </object>
2764
2765 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002766 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <placement x="%col1_x%" y="%row3_y%" />
2768 <font resource="font" color="%button_text_color%" />
2769 <text>Terminal Command</text>
2770 <image resource="main_button" />
2771 <action function="page">terminalfolder</action>
2772 </object>
2773
2774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002775 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002776 <placement x="%col2_x%" y="%row3_y%" />
2777 <font resource="font" color="%button_text_color%" />
2778 <text>Reload Theme</text>
2779 <image resource="main_button" />
2780 <action function="reload"></action>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002785 <placement x="%col1_x%" y="%row4_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>ADB Sideload</text>
2788 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002789 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <condition var1="tw_show_dumlock" var2="1" />
2795 <placement x="%col2_x%" y="%row4_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>HTC Dumlock</text>
2798 <image resource="main_button" />
2799 <action function="page">htcdumlock</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <condition var1="tw_has_injecttwrp" var2="1" />
2805 <placement x="%col2_x%" y="%row4_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Re-Inject TWRP</text>
2808 <image resource="main_button" />
2809 <actions>
2810 <action function="set">tw_back=advanced</action>
2811 <action function="set">tw_action=reinjecttwrp</action>
2812 <action function="set">tw_text1=Re-Inject TWRP?</action>
2813 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2814 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2815 <action function="set">tw_slider_text=Swipe to Confirm</action>
2816 <action function="page">confirm_action</action>
2817 </actions>
2818 </object>
2819
2820 <object type="action">
2821 <touch key="home" />
2822 <action function="page">main</action>
2823 </object>
2824
2825 <object type="action">
2826 <touch key="back" />
2827 <action function="page">main</action>
2828 </object>
2829
2830 <object type="template" name="footer" />
2831 </page>
2832
2833 <page name="partsdcard">
2834 <object type="template" name="header" />
2835
2836 <object type="text" color="%text_color%">
2837 <font resource="font" />
2838 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2839 <text>Partition SD Card</text>
2840 </object>
2841
2842 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002843 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002844 <placement x="%col1_x%" y="%row1_y%" />
2845 <font resource="font" color="%button_text_color%" />
2846 <text></text>
2847 <image resource="minus_button" />
2848 <action function="addsubtract">tw_sdext_size-128</action>
2849 </object>
2850
2851 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002852 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002853 <placement x="%sd_plus_x%" y="%row1_y%" />
2854 <font resource="font" color="%button_text_color%" />
2855 <text></text>
2856 <image resource="plus_button" />
2857 <action function="addsubtract">tw_sdext_size+128</action>
2858 </object>
2859
2860 <object type="text" color="%text_color%">
2861 <font resource="font" />
2862 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2863 <text>EXT Size: %tw_sdext_size%</text>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <placement x="%col1_x%" y="%sdswap_button_y%" />
2869 <font resource="font" color="%button_text_color%" />
2870 <text></text>
2871 <image resource="minus_button" />
2872 <action function="addsubtract">tw_swap_size-32</action>
2873 </object>
2874
2875 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002876 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002877 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2878 <font resource="font" color="%button_text_color%" />
2879 <text></text>
2880 <image resource="plus_button" />
2881 <action function="addsubtract">tw_swap_size+32</action>
2882 </object>
2883
2884 <object type="text" color="%text_color%">
2885 <font resource="font" />
2886 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2887 <text>Swap Size: %tw_swap_size%</text>
2888 </object>
2889
2890 <object type="text" color="%text_color%">
2891 <font resource="font" />
2892 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2893 <text>File system: %tw_sdpart_file_system%</text>
2894 </object>
2895
2896 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002897 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002898 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2899 <font resource="font" color="%button_text_color%" />
2900 <text>EXT3</text>
2901 <image resource="main_button" />
2902 <action function="set">tw_sdpart_file_system=ext3</action>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <condition var1="tw_sdext_disable_ext4" var2="0" />
2908 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2909 <font resource="font" color="%button_text_color%" />
2910 <text>EXT4</text>
2911 <image resource="main_button" />
2912 <action function="set">tw_sdpart_file_system=ext4</action>
2913 </object>
2914
2915 <object type="text" color="%text_color%">
2916 <font resource="font" />
2917 <placement x="%col1_x%" y="%row12_text_y%" />
2918 <text>You will lose all files on your SD card!</text>
2919 </object>
2920
2921 <object type="text" color="%text_color%">
2922 <font resource="font" />
2923 <placement x="%col1_x%" y="%row13_text_y%" />
2924 <text>This action cannot be undone!</text>
2925 </object>
2926
2927 <object type="slider">
2928 <placement x="%slider_x%" y="%slider_y%" />
2929 <resource base="slider" used="slider-used" touch="slider-touch" />
2930 <action function="page">partsdcardaction</action>
2931 <actions>
2932 <action function="set">tw_back=partsdcard</action>
2933 <action function="set">tw_action=partitionsd</action>
2934 <action function="set">tw_has_action2=1</action>
2935 <action function="set">tw_action2=set</action>
2936 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2937 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2938 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002939 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002940 <action function="page">action_page</action>
2941 </actions>
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 Partition</text>
2948 </object>
2949
2950 <object type="action">
2951 <touch key="home" />
2952 <action function="page">main</action>
2953 </object>
2954
2955 <object type="action">
2956 <touch key="back" />
2957 <action function="page">advanced</action>
2958 </object>
2959
2960 <object type="template" name="footer" />
2961 </page>
2962
2963 <page name="htcdumlock">
2964 <object type="template" name="header" />
2965
2966 <object type="text" color="%text_color%">
2967 <font resource="font" />
2968 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2969 <text>HTC Dumlock</text>
2970 </object>
2971
2972 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002973 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002974 <condition var1="tw_show_dumlock" var2="1" />
2975 <placement x="%col1_x%" y="%row1_y%" />
2976 <font resource="font" color="%button_text_color%" />
2977 <text>Restore Original Boot</text>
2978 <image resource="main_button" />
2979 <actions>
2980 <action function="set">tw_back=htcdumlock</action>
2981 <action function="set">tw_action=htcdumlockrestoreboot</action>
2982 <action function="set">tw_text1=Restore original boot image?</action>
2983 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2984 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2985 <action function="set">tw_slider_text=Swipe to Confirm</action>
2986 <action function="page">confirm_action</action>
2987 </actions>
2988 </object>
2989
2990 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002991 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002992 <condition var1="tw_show_dumlock" var2="1" />
2993 <placement x="%col2_x%" y="%row1_y%" />
2994 <font resource="font" color="%button_text_color%" />
2995 <text>Reflash Recovery</text>
2996 <image resource="main_button" />
2997 <actions>
2998 <action function="set">tw_back=htcdumlock</action>
2999 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3000 <action function="set">tw_text1=Reflash recovery to boot?</action>
3001 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3002 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3003 <action function="set">tw_slider_text=Swipe to Confirm</action>
3004 <action function="page">confirm_action</action>
3005 </actions>
3006 </object>
3007
3008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003009 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003010 <condition var1="tw_show_dumlock" var2="1" />
3011 <placement x="%col1_x%" y="%row2_y%" />
3012 <font resource="font" color="%button_text_color%" />
3013 <text>Install HTC Dumlock</text>
3014 <image resource="main_button" />
3015 <actions>
3016 <action function="set">tw_back=htcdumlock</action>
3017 <action function="set">tw_action=installhtcdumlock</action>
3018 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3019 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3020 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3021 <action function="set">tw_slider_text=Swipe to Confirm</action>
3022 <action function="page">confirm_action</action>
3023 </actions>
3024 </object>
3025
3026 <object type="action">
3027 <touch key="home" />
3028 <action function="page">main</action>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="back" />
3033 <action function="page">advanced</action>
3034 </object>
3035
3036 <object type="template" name="footer" />
3037 </page>
3038
3039 <page name="lock">
3040 <background color="#000000A0" />
3041
3042 <object type="image">
3043 <image resource="unlock-icon" />
3044 <placement x="%lock_x%" y="%lock_y%" />
3045 </object>
3046
3047 <object type="slider">
3048 <placement x="%slider_x%" y="%slider_y%" />
3049 <resource base="slider" used="slider-used" touch="slider-touch" />
3050 <action function="overlay"></action>
3051 </object>
3052
3053 <object type="text" color="%text_color%">
3054 <font resource="font" />
3055 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3056 <text>Swipe to Unlock</text>
3057 </object>
3058 </page>
3059
3060 <page name="filemanagerlist">
3061 <object type="template" name="header" />
3062
3063 <object type="text" color="%text_color%">
3064 <font resource="font" />
3065 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3066 <text>File Manager: Select a File or Folder</text>
3067 </object>
3068
3069 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003070 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003071 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3072 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3073 <text>%tw_file_location1%</text>
3074 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3075 <sort name="tw_gui_sort_order" />
3076 <icon folder="folder_icon" file="file_icon" />
3077 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003078 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <folders="1" files="1" />
3080 <path name="tw_file_location1" default="/" />
3081 <data name="tw_filename1" />
3082 <selection name="tw_selection1" />
3083 </object>
3084
3085 <object type="template" name="sort_options" />
3086
3087 <object type="action">
3088 <actions>
3089 <action function="set">tw_fm_type=File</action>
3090 <action function="set">tw_fm_isfolder=0</action>
3091 </actions>
3092 </object>
3093
3094 <object type="action">
3095 <touch key="home" />
3096 <action function="page">main</action>
3097 </object>
3098
3099 <object type="action">
3100 <touch key="back" />
3101 <action function="page">advanced</action>
3102 </object>
3103
3104 <object type="action">
3105 <condition var1="tw_filename1" op="modified" />
3106 <actions>
3107 <action function="page">filemanageroptions</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Select</text>
3116 <image resource="medium_button" />
3117 <actions>
3118 <action function="set">tw_filename1=tw_file_location1</action>
3119 <action function="set">tw_fm_isfolder=1</action>
3120 <action function="set">tw_fm_type=Folder</action>
3121 <action function="page">filemanageroptions</action>
3122 </actions>
3123 </object>
3124
3125 <object type="template" name="footer" />
3126 </page>
3127
3128 <page name="filemanageroptions">
3129 <object type="template" name="header" />
3130
3131 <object type="text" color="%text_color%">
3132 <font resource="font" />
3133 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3134 <text>%tw_fm_type% Selected:</text>
3135 </object>
3136
3137 <object type="text" color="%text_color%">
3138 <font resource="font" />
3139 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3140 <text>%tw_filename1%</text>
3141 </object>
3142
3143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003145 <condition var1="tw_fm_isfolder" var2="0" />
3146 <placement x="%col1_x%" y="%row2_y%" />
3147 <font resource="font" color="%button_text_color%" />
3148 <text>Copy File</text>
3149 <image resource="main_button" />
3150 <actions>
3151 <action function="set">tw_filemanager_command=cp</action>
3152 <action function="set">tw_fm_text1=Copying</action>
3153 <action function="page">choosedestinationfolder</action>
3154 </actions>
3155 </object>
3156
3157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003158 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003159 <condition var1="tw_fm_isfolder" var2="1" />
3160 <placement x="%col1_x%" y="%row2_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Copy Folder</text>
3163 <image resource="main_button" />
3164 <actions>
3165 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3166 <action function="set">tw_fm_text1=Copying</action>
3167 <action function="page">choosedestinationfolder</action>
3168 </actions>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003173 <placement x="%col2_x%" y="%row2_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Move</text>
3176 <image resource="main_button" />
3177 <actions>
3178 <action function="set">tw_filemanager_command=mv</action>
3179 <action function="set">tw_fm_text1=Moving</action>
3180 <action function="page">choosedestinationfolder</action>
3181 </actions>
3182 </object>
3183
3184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003186 <placement x="%col1_x%" y="%row3_y%" />
3187 <font resource="font" color="%button_text_color%" />
3188 <text>chmod 755</text>
3189 <image resource="main_button" />
3190 <actions>
3191 <action function="set">tw_filemanager_command=chmod 755</action>
3192 <action function="set">tw_fm_text1=chmod 755</action>
3193 <action function="set">tw_fm_text2=</action>
3194 <action function="set">tw_fm_text3=</action>
3195 <action function="set">tw_include_text3=0</action>
3196 <action function="set">tw_back=filemanageroptions</action>
3197 <action function="page">filemanagerconfirm</action>
3198 </actions>
3199 </object>
3200
3201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003203 <placement x="%col2_x%" y="%row3_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text>chmod</text>
3206 <image resource="main_button" />
3207 <actions>
3208 <action function="set">tw_filemanager_rename=0000</action>
3209 <action function="set">tw_fm_text2=</action>
3210 <action function="set">tw_fm_text3=</action>
3211 <action function="set">tw_include_text3=0</action>
3212 <action function="set">tw_back=filemanageroptions</action>
3213 <action function="page">filemanagerchmod</action>
3214 </actions>
3215 </object>
3216
3217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003219 <placement x="%col1_x%" y="%row4_y%" />
3220 <font resource="font" color="%button_text_color%" />
3221 <text>Delete</text>
3222 <image resource="main_button" />
3223 <actions>
3224 <action function="set">tw_filemanager_command=rm -rf</action>
3225 <action function="set">tw_fm_text1=Deleting</action>
3226 <action function="set">tw_fm_text2=</action>
3227 <action function="set">tw_fm_text3=</action>
3228 <action function="set">tw_include_text3=0</action>
3229 <action function="set">tw_back=filemanageroptions</action>
3230 <action function="page">filemanagerconfirm</action>
3231 </actions>
3232 </object>
3233
3234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <condition var1="tw_fm_isfolder" var2="0" />
3237 <placement x="%col2_x%" y="%row4_y%" />
3238 <font resource="font" color="%button_text_color%" />
3239 <text>Rename File</text>
3240 <image resource="main_button" />
3241 <actions>
3242 <action function="set">tw_filemanager_rename=tw_selection1</action>
3243 <action function="set">tw_fm_text1=Renaming</action>
3244 <action function="set">tw_filemanager_command=mv</action>
3245 <action function="page">filemanagerrenamefile</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 <condition var1="tw_fm_isfolder" var2="1" />
3252 <placement x="%col2_x%" y="%row4_y%" />
3253 <font resource="font" color="%button_text_color%" />
3254 <text>Rename Folder</text>
3255 <image resource="main_button" />
3256 <actions>
3257 <action function="set">tw_filemanager_rename=tw_selection1</action>
3258 <action function="set">tw_fm_text1=Renaming</action>
3259 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3260 <action function="page">filemanagerrenamefolder</action>
3261 </actions>
3262 </object>
3263
3264 <object type="action">
3265 <touch key="home" />
3266 <action function="page">main</action>
3267 </object>
3268
3269 <object type="action">
3270 <touch key="back" />
3271 <action function="page">filemanagerlist</action>
3272 </object>
3273
3274 <object type="template" name="footer" />
3275 </page>
3276
3277 <page name="choosedestinationfolder">
3278 <object type="template" name="header" />
3279
3280 <object type="text" color="%text_color%">
3281 <font resource="font" />
3282 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3283 <text>Browse to Destination Folder & Press Select</text>
3284 </object>
3285
3286 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003287 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3289 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3290 <text>%tw_file_location2%</text>
3291 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3292 <sort name="tw_gui_sort_order" />
3293 <icon folder="folder_icon" file="file_icon" />
3294 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003295 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003296 <filter folders="1" files="0" />
3297 <path name="tw_file_location2" default="/" />
3298 <data name="tw_filename2" />
3299 <selection name="tw_selection2" />
3300 </object>
3301
3302 <object type="template" name="sort_options" />
3303
3304 <object type="action">
3305 <touch key="home" />
3306 <action function="page">main</action>
3307 </object>
3308
3309 <object type="action">
3310 <touch key="back" />
3311 <action function="page">filemanageroptions</action>
3312 </object>
3313
3314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3317 <font resource="font" color="%button_text_color%" />
3318 <text>Select</text>
3319 <image resource="medium_button" />
3320 <actions>
3321 <action function="set">tw_fm_text2=to</action>
3322 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3323 <action function="set">tw_include_text3=1</action>
3324 <action function="set">tw_back=filemanageroptions</action>
3325 <action function="page">filemanagerconfirm</action>
3326 </actions>
3327 </object>
3328
3329 <object type="template" name="footer" />
3330 </page>
3331
3332 <page name="filemanagerrenamefile">
3333 <object type="template" name="header" />
3334
3335 <object type="text" color="%text_color%">
3336 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3337 <font resource="font" />
3338 <text>Please Enter a New %tw_fm_type% Name</text>
3339 </object>
3340
3341 <object type="input">
3342 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3343 <background color="%input_background_color%" />
3344 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3345 <font resource="font" color="%text_color%" />
3346 <text>%tw_filemanager_rename%</text>
3347 <data name="tw_filemanager_rename" />
3348 <restrict minlen="1" maxlen="128" />
3349 <actions>
3350 <action function="set">tw_fm_text2=to</action>
3351 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3352 <action function="set">tw_include_text3=1</action>
3353 <action function="set">tw_back=filemanageroptions</action>
3354 <action function="page">filemanagerconfirm</action>
3355 </actions>
3356 </object>
3357
3358 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003359 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003360 <placement x="%col_center_x%" y="%row2_y%" />
3361 <font resource="font" color="%button_text_color%" />
3362 <text>Cancel</text>
3363 <image resource="main_button" />
3364 <action function="page">filemanageroptions</action>
3365 </object>
3366
3367 <object type="template" name="keyboardtemplate" />
3368
3369 <object type="action">
3370 <touch key="home" />
3371 <action function="page">main</action>
3372 </object>
3373
3374 <object type="action">
3375 <touch key="back" />
3376 <action function="page">filemanageroptions</action>
3377 </object>
3378
3379 <object type="template" name="footer" />
3380 </page>
3381
3382 <page name="filemanagerrenamefolder">
3383 <object type="template" name="header" />
3384
3385 <object type="text" color="%text_color%">
3386 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3387 <font resource="font" />
3388 <text>Please Enter a New %tw_fm_type% Name</text>
3389 </object>
3390
3391 <object type="input">
3392 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3393 <background color="%input_background_color%" />
3394 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3395 <font resource="font" color="%text_color%" />
3396 <text>%tw_filemanager_rename%</text>
3397 <data name="tw_filemanager_rename" />
3398 <restrict minlen="1" maxlen="128" />
3399 <actions>
3400 <action function="set">tw_fm_text2=to</action>
3401 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3402 <action function="set">tw_include_text3=1</action>
3403 <action function="set">tw_back=filemanageroptions</action>
3404 <action function="page">filemanagerconfirm</action>
3405 </actions>
3406 </object>
3407
3408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003410 <placement x="%col_center_x%" y="%row2_y%" />
3411 <font resource="font" color="%button_text_color%" />
3412 <text>Cancel</text>
3413 <image resource="main_button" />
3414 <action function="page">filemanageroptions</action>
3415 </object>
3416
3417 <object type="template" name="keyboardtemplate" />
3418
3419 <object type="action">
3420 <touch key="home" />
3421 <action function="page">main</action>
3422 </object>
3423
3424 <object type="action">
3425 <touch key="back" />
3426 <action function="page">filemanageroptions</action>
3427 </object>
3428
3429 <object type="template" name="footer" />
3430 </page>
3431
3432 <page name="filemanagerchmod">
3433 <object type="template" name="header" />
3434
3435 <object type="text" color="%text_color%">
3436 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3437 <font resource="font" />
3438 <text>Please Enter New Permissions</text>
3439 </object>
3440
3441 <object type="input">
3442 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3443 <background color="%input_background_color%" />
3444 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3445 <font resource="font" color="%text_color%" />
3446 <text>%tw_filemanager_rename%</text>
3447 <data name="tw_filemanager_rename" />
3448 <restrict minlen="3" maxlen="4" allow="0123456789" />
3449 <actions>
3450 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3451 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3452 <action function="set">tw_back=filemanageroptions</action>
3453 <action function="page">filemanagerconfirm</action>
3454 </actions>
3455 </object>
3456
3457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003459 <placement x="%col_center_x%" y="%row2_y%" />
3460 <font resource="font" color="%button_text_color%" />
3461 <text>Cancel</text>
3462 <image resource="main_button" />
3463 <action function="page">filemanageroptions</action>
3464 </object>
3465
3466 <object type="template" name="keyboardtemplate" />
3467
3468 <object type="action">
3469 <touch key="home" />
3470 <action function="page">main</action>
3471 </object>
3472
3473 <object type="action">
3474 <touch key="back" />
3475 <action function="page">filemanageroptions</action>
3476 </object>
3477
3478 <object type="template" name="footer" />
3479 </page>
3480
3481 <page name="filemanagerconfirm">
3482 <object type="template" name="header" />
3483
3484 <object type="text" color="%text_color%">
3485 <font resource="font" />
3486 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3487 <text>%tw_fm_text1%</text>
3488 </object>
3489
3490 <object type="text" color="%text_color%">
3491 <font resource="font" />
3492 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3493 <text>%tw_filename1%</text>
3494 </object>
3495
3496 <object type="text" color="%text_color%">
3497 <font resource="font" />
3498 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3499 <text>%tw_fm_text2%</text>
3500 </object>
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3505 <text>%tw_fm_text3%</text>
3506 </object>
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3511 <text>Press back button to cancel.</text>
3512 </object>
3513
3514 <object type="slider">
3515 <placement x="%slider_x%" y="%slider_y%" />
3516 <resource base="slider" used="slider-used" touch="slider-touch" />
3517 <action function="page">filemanageracction</action>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3523 <text>Swipe to Confirm</text>
3524 </object>
3525
3526 <object type="action">
3527 <touch key="back" />
3528 <action function="page">%tw_back%</action>
3529 </object>
3530
3531 <object type="action">
3532 <touch key="home" />
3533 <action function="page">main</action>
3534 </object>
3535
3536 <object type="template" name="footer" />
3537 </page>
3538
3539 <page name="filemanageracction">
3540 <object type="template" name="header" />
3541
3542 <object type="text" color="%text_color%">
3543
3544 <font resource="font" />
3545 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3546 <text>%tw_fm_text1%</text>
3547 </object>
3548
3549 <object type="template" name="action_page_console" />
3550
3551 <object type="template" name="progress_bar" />
3552
3553 <object type="action">
3554 <conditions>
3555 <condition var1="tw_operation_state" var2="1" />
3556 <condition var1="tw_operation_status" var2="0" />
3557 </conditions>
3558 <actions>
3559 <action function="set">tw_back=filemanagerlist</action>
3560 <action function="set">tw_complete_text1=File Operation Complete</action>
3561 <action function="page">action_complete</action>
3562 </actions>
3563 </object>
3564
3565 <object type="action">
3566 <conditions>
3567 <condition var1="tw_operation_state" var2="1" />
3568 <condition var1="tw_operation_status" op="!=" var2="0" />
3569 </conditions>
3570 <actions>
3571 <action function="set">tw_complete_text1=File Operation Complete</action>
3572 <action function="page">action_complete</action>
3573 </actions>
3574 </object>
3575
3576 <object type="action">
3577 <condition var1="tw_include_text3" var2="0" />
3578 <actions>
3579 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3580 </actions>
3581 </object>
3582
3583 <object type="action">
3584 <condition var1="tw_include_text3" var2="1" />
3585 <actions>
3586 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3587 </actions>
3588 </object>
3589 </page>
3590
3591 <page name="decrypt">
3592 <object type="template" name="header" />
3593
3594 <object type="text" color="%text_color%">
3595 <font resource="font" />
3596 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3597 <text>Please Enter Your Password</text>
3598 </object>
3599
3600 <object type="input">
3601 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3602 <background color="%input_background_color%" />
3603 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3604 <font resource="font" color="%text_color%" />
3605 <text>%tw_crypto_display%</text>
3606 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3607 <restrict minlen="1" maxlen="254" />
3608 <actions>
3609 <action function="page">trydecrypt</action>
3610 </actions>
3611 </object>
3612
3613 <object type="text" color="%text_fail_color%">
3614 <condition var1="tw_password_fail" var2="1" />
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3617 <text>Password Failed, Please Try Again</text>
3618 </object>
3619
3620 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003621 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003622 <placement x="%col_center_x%" y="%row2_y%" />
3623 <font resource="font" color="%button_text_color%" />
3624 <text>Cancel</text>
3625 <image resource="main_button" />
3626 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003627 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 <action function="page">main</action>
3629 </actions>
3630 </object>
3631
3632 <object type="template" name="keyboardtemplate" />
3633
Dees_Troy51a0e822012-09-05 15:24:24 -04003634 <object type="template" name="footer" />
3635 </page>
3636
3637 <page name="trydecrypt">
3638 <object type="template" name="header" />
3639
3640 <object type="text" color="%text_color%">
3641 <font resource="font" />
3642 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3643 <text>Trying Decryption with Your Password</text>
3644 </object>
3645
3646 <object type="template" name="action_page_console" />
3647
3648 <object type="template" name="progress_bar" />
3649
3650 <object type="action">
3651 <action function="decrypt"></action>
3652 </object>
3653
3654 <object type="action">
3655 <conditions>
3656 <condition var1="tw_operation_state" var2="1" />
3657 <condition var1="tw_operation_status" op="!=" var2="0" />
3658 </conditions>
3659 <actions>
3660 <action function="set">tw_password_fail=1</action>
3661 <action function="page">decrypt</action>
3662 </actions>
3663 </object>
3664
3665 <object type="action">
3666 <conditions>
3667 <condition var1="tw_operation_state" var2="1" />
3668 <condition var1="tw_operation_status" op="=" var2="0" />
3669 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003670 <actions>
3671 <action function="set">tw_page_done=1</action>
3672 <action function="page">main</action>
3673 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003674 </object>
3675 </page>
3676
3677 <page name="terminalfolder">
3678 <object type="template" name="header" />
3679
3680 <object type="text" color="%text_color%">
3681 <font resource="font" />
3682 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3683 <text>Browse to Starting Folder</text>
3684 </object>
3685
3686 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003687 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003688 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3689 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3690 <text>%tw_terminal_location%</text>
3691 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3692 <sort name="tw_gui_sort_order" />
3693 <icon folder="folder_icon" file="file_icon" />
3694 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003695 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003696 <filter folders="1" files="0" />
3697 <path name="tw_terminal_location" default="/" />
3698 <data name="tw_terminal" />
3699 <selection name="tw_terminal_selection" />
3700 </object>
3701
3702 <object type="template" name="sort_options" />
3703
3704 <object type="action">
3705 <touch key="home" />
3706 <action function="page">main</action>
3707 </object>
3708
3709 <object type="action">
3710 <touch key="back" />
3711 <action function="page">advanced</action>
3712 </object>
3713
3714 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003715 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3717 <font resource="font" color="%button_text_color%" />
3718 <text>Select</text>
3719 <image resource="medium_button" />
3720 <actions>
3721 <action function="page">terminalcommand</action>
3722 </actions>
3723 </object>
3724
3725 <object type="template" name="footer" />
3726 </page>
3727
3728 <page name="terminalcommand">
3729 <object type="template" name="header" />
3730
3731 <object type="console">
3732 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3733 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3734 <font resource="fixed" />
3735 </object>
3736
3737 <object type="text" color="%text_color%">
3738 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3739 <font resource="font" />
3740 <text>Starting Path: %tw_terminal_location%</text>
3741 </object>
3742
3743 <object type="input">
3744 <condition var1="tw_terminal_state" var2="0" />
3745 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3746 <background color="%input_background_color%" />
3747 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3748 <font resource="font" color="%text_color%" />
3749 <text>%tw_terminal_command%</text>
3750 <data name="tw_terminal_command" />
3751 <restrict minlen="1" />
3752 <action function="terminalcommand">%tw_terminal_command%</action>
3753 </object>
3754
3755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003757 <condition var1="tw_terminal_state" var2="1" />
3758 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3759 <font resource="font" color="%button_text_color%" />
3760 <text>KILL</text>
3761 <image resource="medium_button" />
3762 <action function="killterminal"></action>
3763 </object>
3764
3765 <object type="template" name="keyboardtemplate" />
3766
3767 <object type="action">
3768 <touch key="home" />
3769 <action function="page">main</action>
3770 </object>
3771
3772 <object type="action">
3773 <touch key="back" />
3774 <action function="page">terminalfolder</action>
3775 </object>
3776 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003777
3778 <page name="sideload">
3779 <object type="template" name="header" />
3780
3781 <object type="text" color="%text_color%">
3782 <font resource="font" />
3783 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3784 <text>ADB Sideload</text>
3785 </object>
3786
3787 <object type="checkbox">
3788 <placement x="%col1_x%" y="%row2_text_y%" />
3789 <font resource="font" color="%text_color%" />
3790 <text>Wipe Dalvik Cache.</text>
3791 <data variable="tw_wipe_dalvik" />
3792 <image checked="checkbox_true" unchecked="checkbox_false" />
3793 </object>
3794
3795 <object type="checkbox">
3796 <placement x="%col1_x%" y="%row3_text_y%" />
3797 <font resource="font" color="%text_color%" />
3798 <text>Wipe Cache.</text>
3799 <data variable="tw_wipe_cache" />
3800 <image checked="checkbox_true" unchecked="checkbox_false" />
3801 </object>
3802
3803 <object type="slider">
3804 <placement x="%slider_x%" y="%slider_y%" />
3805 <resource base="slider" used="slider-used" touch="slider-touch" />
3806 <actions>
3807 <action function="set">tw_back=advanced</action>
3808 <action function="set">tw_action=adbsideload</action>
3809 <action function="set">tw_action_text1=ADB Sideload</action>
3810 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3811 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3812 <action function="set">tw_has_cancel=1</action>
3813 <action function="set">tw_show_reboot=1</action>
3814 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3815 <action function="page">action_page</action>
3816 </actions>
3817 </object>
3818
3819 <object type="text" color="%text_color%">
3820 <font resource="font" />
3821 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3822 <text>Swipe to Start Sideload</text>
3823 </object>
3824
3825 <object type="action">
3826 <touch key="home" />
3827 <action function="page">main</action>
3828 </object>
3829
3830 <object type="action">
3831 <touch key="back" />
3832 <action function="page">advanced</action>
3833 </object>
3834
3835 <object type="template" name="footer" />
3836 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003837 </pages>
3838</recovery>