blob: 79de4ca86e0fd5176a1fb6a9b4b1fde7cc7b6565 [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
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002427 <object type="checkbox">
2428 <placement x="%col1_x%" y="%row8_text_y%" />
2429 <font resource="font" color="%text_color%" />
2430 <text>Use Military Time</text>
2431 <data variable="tw_military_time" />
2432 <image checked="checkbox_true" unchecked="checkbox_false" />
2433 </object>
2434
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <placement x="%col1_x%" y="%row3_y%" />
2438 <font resource="font" color="%button_text_color%" />
2439 <text>Time Zone</text>
2440 <image resource="main_button" />
2441 <action function="page">timezone</action>
2442 </object>
2443
2444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002445 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002446 <placement x="%col2_x%" y="%row3_y%" />
2447 <font resource="font" color="%button_text_color%" />
2448 <text>Screen</text>
2449 <image resource="main_button" />
2450 <action function="page">screen</action>
2451 </object>
2452
2453 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <placement x="%col_center_x%" y="%row4_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Restore Defaults</text>
2457 <image resource="main_button" />
2458 <action function="restoredefaultsettings"></action>
2459 </object>
2460
2461 <object type="action">
2462 <touch key="home" />
2463 <action function="page">main</action>
2464 </object>
2465
2466 <object type="action">
2467 <touch key="back" />
2468 <action function="page">main</action>
2469 </object>
2470
2471 <object type="template" name="footer" />
2472 </page>
2473
2474 <page name="timezone">
2475 <object type="template" name="header" />
2476
Dees_Troy51a0e822012-09-05 15:24:24 -04002477 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002478 <highlight color="%fileselector_highlight_color%" />
2479 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2480 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2481 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002483 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002485 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <data name="tw_time_zone_guisel" />
2487 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2488 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2489 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2490 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2491 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2492 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2493 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2494 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2495 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2496 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2497 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2498 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2499 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2500 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2501 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2502 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2503 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2504 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2505 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2506 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2507 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2508 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2509 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2510 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2511 </object>
2512
2513 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002514 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <font resource="font" color="%text_color%" />
2516 <text>Do you use daylight savings time (DST)?</text>
2517 <data variable="tw_time_zone_guidst" />
2518 <image checked="checkbox_true" unchecked="checkbox_false" />
2519 </object>
2520
2521 <object type="text" color="%text_color%">
2522 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002523 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2525 </object>
2526
2527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002528 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002529 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 <font resource="font" color="%button_text_color%" />
2531 <text>None</text>
2532 <image resource="medium_button" />
2533 <action function="set">tw_time_zone_guioffset=0</action>
2534 </object>
2535
2536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002537 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002538 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002539 <font resource="font" color="%button_text_color%" />
2540 <text>15</text>
2541 <image resource="medium_button" />
2542 <action function="set">tw_time_zone_guioffset=15</action>
2543 </object>
2544
2545 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002546 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002547 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <font resource="font" color="%button_text_color%" />
2549 <text>30</text>
2550 <image resource="medium_button" />
2551 <action function="set">tw_time_zone_guioffset=30</action>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002556 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <font resource="font" color="%button_text_color%" />
2558 <text>45</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=45</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <placement x="%col_center_x%" y="%tz_set_y%" />
2566 <font resource="font" color="%button_text_color%" />
2567 <text>Set Time Zone</text>
2568 <image resource="main_button" />
2569 <action function="setguitimezone"></action>
2570 </object>
2571
2572 <object type="text" color="%text_color%">
2573 <font resource="font" />
2574 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2575 <text>Current Time Zone: %tw_time_zone%</text>
2576 </object>
2577
2578 <object type="action">
2579 <touch key="home" />
2580 <action function="page">main</action>
2581 </object>
2582
2583 <object type="action">
2584 <touch key="back" />
2585 <action function="page">settings</action>
2586 </object>
2587
2588 <object type="template" name="footer" />
2589 </page>
2590
Dees_Troy2f9117a2013-02-17 19:52:09 -06002591 <page name="screen">
2592 <object type="template" name="header" />
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2597 <text>Screen Settings</text>
2598 </object>
2599
2600 <object type="text" color="%text_color%">
2601 <font resource="font" />
2602 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2603 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2604 </object>
2605
2606 <object type="button">
2607 <placement x="%col1_medium_x%" y="%row2_y%" />
2608 <font resource="font" color="%button_text_color%" />
2609 <text>None</text>
2610 <image resource="medium_button" />
2611 <action function="set">tw_screen_timeout_secs=0</action>
2612 </object>
2613
2614 <object type="button">
2615 <placement x="%col2_medium_x%" y="%row2_y%" />
2616 <font resource="font" color="%button_text_color%" />
2617 <text>60</text>
2618 <image resource="medium_button" />
2619 <action function="set">tw_screen_timeout_secs=60</action>
2620 </object>
2621
2622 <object type="button">
2623 <placement x="%col3_medium_x%" y="%row2_y%" />
2624 <font resource="font" color="%button_text_color%" />
2625 <text>120</text>
2626 <image resource="medium_button" />
2627 <action function="set">tw_screen_timeout_secs=120</action>
2628 </object>
2629
2630 <object type="button">
2631 <placement x="%col4_medium_x%" y="%row2_y%" />
2632 <font resource="font" color="%button_text_color%" />
2633 <text>180</text>
2634 <image resource="medium_button" />
2635 <action function="set">tw_screen_timeout_secs=180</action>
2636 </object>
2637
2638 <object type="text" color="%text_color%">
2639 <condition var1="tw_has_brightnesss_file" var2="1" />
2640 <font resource="font" />
2641 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2642 <text>Brightness: %tw_brightness_display%</text>
2643 </object>
2644
2645 <object type="button">
2646 <condition var1="tw_has_brightnesss_file" var2="1" />
2647 <placement x="%col1_medium_x%" y="%row4_y%" />
2648 <font resource="font" color="%button_text_color%" />
2649 <text>25%</text>
2650 <image resource="medium_button" />
2651 <actions>
2652 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2653 <action function="set">tw_brightness_display=25%</action>
2654 <action function="set">tw_brightness=%tw_brightness_25%</action>
2655 </actions>
2656 </object>
2657
2658 <object type="button">
2659 <condition var1="tw_has_brightnesss_file" var2="1" />
2660 <placement x="%col2_medium_x%" y="%row4_y%" />
2661 <font resource="font" color="%button_text_color%" />
2662 <text>50%</text>
2663 <image resource="medium_button" />
2664 <actions>
2665 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2666 <action function="set">tw_brightness_display=50%</action>
2667 <action function="set">tw_brightness=%tw_brightness_50%</action>
2668 </actions>
2669 </object>
2670
2671 <object type="button">
2672 <condition var1="tw_has_brightnesss_file" var2="1" />
2673 <placement x="%col3_medium_x%" y="%row4_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>75%</text>
2676 <image resource="medium_button" />
2677 <actions>
2678 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2679 <action function="set">tw_brightness_display=75%</action>
2680 <action function="set">tw_brightness=%tw_brightness_75%</action>
2681 </actions>
2682 </object>
2683
2684 <object type="button">
2685 <condition var1="tw_has_brightnesss_file" var2="1" />
2686 <placement x="%col4_medium_x%" y="%row4_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>100%</text>
2689 <image resource="medium_button" />
2690 <actions>
2691 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2692 <action function="set">tw_brightness_display=100%</action>
2693 <action function="set">tw_brightness=%tw_brightness_100%</action>
2694 </actions>
2695 </object>
2696
2697 <object type="action">
2698 <touch key="home" />
2699 <action function="page">main</action>
2700 </object>
2701
2702 <object type="action">
2703 <touch key="back" />
2704 <action function="page">settings</action>
2705 </object>
2706
2707 <object type="template" name="footer" />
2708 </page>
2709
Dees_Troy51a0e822012-09-05 15:24:24 -04002710 <page name="advanced">
2711 <object type="template" name="header" />
2712
2713 <object type="text" color="%text_color%">
2714 <font resource="font" />
2715 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2716 <text>Advanced</text>
2717 </object>
2718
2719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002721 <placement x="%col1_x%" y="%row1_y%" />
2722 <font resource="font" color="%button_text_color%" />
2723 <text>Copy Log to SD</text>
2724 <image resource="main_button" />
2725 <actions>
2726 <action function="set">tw_back=advanced</action>
2727 <action function="set">tw_action=copylog</action>
2728 <action function="set">tw_text1=Copy Log to SD Card?</action>
2729 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2730 <action function="set">tw_complete_text1=Log Copy Complete</action>
2731 <action function="set">tw_slider_text=Swipe to Confirm</action>
2732 <action function="page">confirm_action</action>
2733 </actions>
2734 </object>
2735
2736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <placement x="%col2_x%" y="%row1_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>Fix Permissions</text>
2741 <image resource="main_button" />
2742 <actions>
2743 <action function="set">tw_back=advanced</action>
2744 <action function="set">tw_action=fixpermissions</action>
2745 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2748 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002749 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <action function="page">confirm_action</action>
2751 </actions>
2752 </object>
2753
2754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <condition var1="tw_allow_partition_sdcard" var2="1" />
2757 <placement x="%col1_x%" y="%row2_y%" />
2758 <font resource="font" color="%button_text_color%" />
2759 <text>Partition SD Card</text>
2760 <image resource="main_button" />
2761 <action function="page">partsdcard</action>
2762 </object>
2763
2764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <placement x="%col2_x%" y="%row2_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text>File Manager</text>
2769 <image resource="main_button" />
2770 <action function="page">filemanagerlist</action>
2771 </object>
2772
2773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <placement x="%col1_x%" y="%row3_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text>Terminal Command</text>
2778 <image resource="main_button" />
2779 <action function="page">terminalfolder</action>
2780 </object>
2781
2782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002783 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002784 <placement x="%col2_x%" y="%row3_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>Reload Theme</text>
2787 <image resource="main_button" />
2788 <action function="reload"></action>
2789 </object>
2790
2791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002792 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002793 <placement x="%col1_x%" y="%row4_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>ADB Sideload</text>
2796 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002797 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002798 </object>
2799
2800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002801 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002802 <condition var1="tw_show_dumlock" var2="1" />
2803 <placement x="%col2_x%" y="%row4_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>HTC Dumlock</text>
2806 <image resource="main_button" />
2807 <action function="page">htcdumlock</action>
2808 </object>
2809
2810 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002811 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <condition var1="tw_has_injecttwrp" var2="1" />
2813 <placement x="%col2_x%" y="%row4_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>Re-Inject TWRP</text>
2816 <image resource="main_button" />
2817 <actions>
2818 <action function="set">tw_back=advanced</action>
2819 <action function="set">tw_action=reinjecttwrp</action>
2820 <action function="set">tw_text1=Re-Inject TWRP?</action>
2821 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2822 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2823 <action function="set">tw_slider_text=Swipe to Confirm</action>
2824 <action function="page">confirm_action</action>
2825 </actions>
2826 </object>
2827
2828 <object type="action">
2829 <touch key="home" />
2830 <action function="page">main</action>
2831 </object>
2832
2833 <object type="action">
2834 <touch key="back" />
2835 <action function="page">main</action>
2836 </object>
2837
2838 <object type="template" name="footer" />
2839 </page>
2840
2841 <page name="partsdcard">
2842 <object type="template" name="header" />
2843
2844 <object type="text" color="%text_color%">
2845 <font resource="font" />
2846 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2847 <text>Partition SD Card</text>
2848 </object>
2849
2850 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002851 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002852 <placement x="%col1_x%" y="%row1_y%" />
2853 <font resource="font" color="%button_text_color%" />
2854 <text></text>
2855 <image resource="minus_button" />
2856 <action function="addsubtract">tw_sdext_size-128</action>
2857 </object>
2858
2859 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002860 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <placement x="%sd_plus_x%" y="%row1_y%" />
2862 <font resource="font" color="%button_text_color%" />
2863 <text></text>
2864 <image resource="plus_button" />
2865 <action function="addsubtract">tw_sdext_size+128</action>
2866 </object>
2867
2868 <object type="text" color="%text_color%">
2869 <font resource="font" />
2870 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2871 <text>EXT Size: %tw_sdext_size%</text>
2872 </object>
2873
2874 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002875 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002876 <placement x="%col1_x%" y="%sdswap_button_y%" />
2877 <font resource="font" color="%button_text_color%" />
2878 <text></text>
2879 <image resource="minus_button" />
2880 <action function="addsubtract">tw_swap_size-32</action>
2881 </object>
2882
2883 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002884 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002885 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2886 <font resource="font" color="%button_text_color%" />
2887 <text></text>
2888 <image resource="plus_button" />
2889 <action function="addsubtract">tw_swap_size+32</action>
2890 </object>
2891
2892 <object type="text" color="%text_color%">
2893 <font resource="font" />
2894 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2895 <text>Swap Size: %tw_swap_size%</text>
2896 </object>
2897
2898 <object type="text" color="%text_color%">
2899 <font resource="font" />
2900 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2901 <text>File system: %tw_sdpart_file_system%</text>
2902 </object>
2903
2904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002905 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002906 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text>EXT3</text>
2909 <image resource="main_button" />
2910 <action function="set">tw_sdpart_file_system=ext3</action>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <condition var1="tw_sdext_disable_ext4" var2="0" />
2916 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>EXT4</text>
2919 <image resource="main_button" />
2920 <action function="set">tw_sdpart_file_system=ext4</action>
2921 </object>
2922
2923 <object type="text" color="%text_color%">
2924 <font resource="font" />
2925 <placement x="%col1_x%" y="%row12_text_y%" />
2926 <text>You will lose all files on your SD card!</text>
2927 </object>
2928
2929 <object type="text" color="%text_color%">
2930 <font resource="font" />
2931 <placement x="%col1_x%" y="%row13_text_y%" />
2932 <text>This action cannot be undone!</text>
2933 </object>
2934
2935 <object type="slider">
2936 <placement x="%slider_x%" y="%slider_y%" />
2937 <resource base="slider" used="slider-used" touch="slider-touch" />
2938 <action function="page">partsdcardaction</action>
2939 <actions>
2940 <action function="set">tw_back=partsdcard</action>
2941 <action function="set">tw_action=partitionsd</action>
2942 <action function="set">tw_has_action2=1</action>
2943 <action function="set">tw_action2=set</action>
2944 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2945 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2946 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002947 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002948 <action function="page">action_page</action>
2949 </actions>
2950 </object>
2951
2952 <object type="text" color="%text_color%">
2953 <font resource="font" />
2954 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2955 <text>Swipe to Partition</text>
2956 </object>
2957
2958 <object type="action">
2959 <touch key="home" />
2960 <action function="page">main</action>
2961 </object>
2962
2963 <object type="action">
2964 <touch key="back" />
2965 <action function="page">advanced</action>
2966 </object>
2967
2968 <object type="template" name="footer" />
2969 </page>
2970
2971 <page name="htcdumlock">
2972 <object type="template" name="header" />
2973
2974 <object type="text" color="%text_color%">
2975 <font resource="font" />
2976 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2977 <text>HTC Dumlock</text>
2978 </object>
2979
2980 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002981 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002982 <condition var1="tw_show_dumlock" var2="1" />
2983 <placement x="%col1_x%" y="%row1_y%" />
2984 <font resource="font" color="%button_text_color%" />
2985 <text>Restore Original Boot</text>
2986 <image resource="main_button" />
2987 <actions>
2988 <action function="set">tw_back=htcdumlock</action>
2989 <action function="set">tw_action=htcdumlockrestoreboot</action>
2990 <action function="set">tw_text1=Restore original boot image?</action>
2991 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2992 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2993 <action function="set">tw_slider_text=Swipe to Confirm</action>
2994 <action function="page">confirm_action</action>
2995 </actions>
2996 </object>
2997
2998 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002999 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003000 <condition var1="tw_show_dumlock" var2="1" />
3001 <placement x="%col2_x%" y="%row1_y%" />
3002 <font resource="font" color="%button_text_color%" />
3003 <text>Reflash Recovery</text>
3004 <image resource="main_button" />
3005 <actions>
3006 <action function="set">tw_back=htcdumlock</action>
3007 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3008 <action function="set">tw_text1=Reflash recovery to boot?</action>
3009 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3010 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3011 <action function="set">tw_slider_text=Swipe to Confirm</action>
3012 <action function="page">confirm_action</action>
3013 </actions>
3014 </object>
3015
3016 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003017 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003018 <condition var1="tw_show_dumlock" var2="1" />
3019 <placement x="%col1_x%" y="%row2_y%" />
3020 <font resource="font" color="%button_text_color%" />
3021 <text>Install HTC Dumlock</text>
3022 <image resource="main_button" />
3023 <actions>
3024 <action function="set">tw_back=htcdumlock</action>
3025 <action function="set">tw_action=installhtcdumlock</action>
3026 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3027 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3028 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3029 <action function="set">tw_slider_text=Swipe to Confirm</action>
3030 <action function="page">confirm_action</action>
3031 </actions>
3032 </object>
3033
3034 <object type="action">
3035 <touch key="home" />
3036 <action function="page">main</action>
3037 </object>
3038
3039 <object type="action">
3040 <touch key="back" />
3041 <action function="page">advanced</action>
3042 </object>
3043
3044 <object type="template" name="footer" />
3045 </page>
3046
3047 <page name="lock">
3048 <background color="#000000A0" />
3049
3050 <object type="image">
3051 <image resource="unlock-icon" />
3052 <placement x="%lock_x%" y="%lock_y%" />
3053 </object>
3054
3055 <object type="slider">
3056 <placement x="%slider_x%" y="%slider_y%" />
3057 <resource base="slider" used="slider-used" touch="slider-touch" />
3058 <action function="overlay"></action>
3059 </object>
3060
3061 <object type="text" color="%text_color%">
3062 <font resource="font" />
3063 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3064 <text>Swipe to Unlock</text>
3065 </object>
3066 </page>
3067
3068 <page name="filemanagerlist">
3069 <object type="template" name="header" />
3070
3071 <object type="text" color="%text_color%">
3072 <font resource="font" />
3073 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3074 <text>File Manager: Select a File or Folder</text>
3075 </object>
3076
3077 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003078 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3080 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3081 <text>%tw_file_location1%</text>
3082 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3083 <sort name="tw_gui_sort_order" />
3084 <icon folder="folder_icon" file="file_icon" />
3085 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003086 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <folders="1" files="1" />
3088 <path name="tw_file_location1" default="/" />
3089 <data name="tw_filename1" />
3090 <selection name="tw_selection1" />
3091 </object>
3092
3093 <object type="template" name="sort_options" />
3094
3095 <object type="action">
3096 <actions>
3097 <action function="set">tw_fm_type=File</action>
3098 <action function="set">tw_fm_isfolder=0</action>
3099 </actions>
3100 </object>
3101
3102 <object type="action">
3103 <touch key="home" />
3104 <action function="page">main</action>
3105 </object>
3106
3107 <object type="action">
3108 <touch key="back" />
3109 <action function="page">advanced</action>
3110 </object>
3111
3112 <object type="action">
3113 <condition var1="tw_filename1" op="modified" />
3114 <actions>
3115 <action function="page">filemanageroptions</action>
3116 </actions>
3117 </object>
3118
3119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003121 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3122 <font resource="font" color="%button_text_color%" />
3123 <text>Select</text>
3124 <image resource="medium_button" />
3125 <actions>
3126 <action function="set">tw_filename1=tw_file_location1</action>
3127 <action function="set">tw_fm_isfolder=1</action>
3128 <action function="set">tw_fm_type=Folder</action>
3129 <action function="page">filemanageroptions</action>
3130 </actions>
3131 </object>
3132
3133 <object type="template" name="footer" />
3134 </page>
3135
3136 <page name="filemanageroptions">
3137 <object type="template" name="header" />
3138
3139 <object type="text" color="%text_color%">
3140 <font resource="font" />
3141 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3142 <text>%tw_fm_type% Selected:</text>
3143 </object>
3144
3145 <object type="text" color="%text_color%">
3146 <font resource="font" />
3147 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3148 <text>%tw_filename1%</text>
3149 </object>
3150
3151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003153 <condition var1="tw_fm_isfolder" var2="0" />
3154 <placement x="%col1_x%" y="%row2_y%" />
3155 <font resource="font" color="%button_text_color%" />
3156 <text>Copy File</text>
3157 <image resource="main_button" />
3158 <actions>
3159 <action function="set">tw_filemanager_command=cp</action>
3160 <action function="set">tw_fm_text1=Copying</action>
3161 <action function="page">choosedestinationfolder</action>
3162 </actions>
3163 </object>
3164
3165 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003166 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003167 <condition var1="tw_fm_isfolder" var2="1" />
3168 <placement x="%col1_x%" y="%row2_y%" />
3169 <font resource="font" color="%button_text_color%" />
3170 <text>Copy Folder</text>
3171 <image resource="main_button" />
3172 <actions>
3173 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3174 <action function="set">tw_fm_text1=Copying</action>
3175 <action function="page">choosedestinationfolder</action>
3176 </actions>
3177 </object>
3178
3179 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003180 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003181 <placement x="%col2_x%" y="%row2_y%" />
3182 <font resource="font" color="%button_text_color%" />
3183 <text>Move</text>
3184 <image resource="main_button" />
3185 <actions>
3186 <action function="set">tw_filemanager_command=mv</action>
3187 <action function="set">tw_fm_text1=Moving</action>
3188 <action function="page">choosedestinationfolder</action>
3189 </actions>
3190 </object>
3191
3192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003193 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003194 <placement x="%col1_x%" y="%row3_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>chmod 755</text>
3197 <image resource="main_button" />
3198 <actions>
3199 <action function="set">tw_filemanager_command=chmod 755</action>
3200 <action function="set">tw_fm_text1=chmod 755</action>
3201 <action function="set">tw_fm_text2=</action>
3202 <action function="set">tw_fm_text3=</action>
3203 <action function="set">tw_include_text3=0</action>
3204 <action function="set">tw_back=filemanageroptions</action>
3205 <action function="page">filemanagerconfirm</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003211 <placement x="%col2_x%" y="%row3_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text>chmod</text>
3214 <image resource="main_button" />
3215 <actions>
3216 <action function="set">tw_filemanager_rename=0000</action>
3217 <action function="set">tw_fm_text2=</action>
3218 <action function="set">tw_fm_text3=</action>
3219 <action function="set">tw_include_text3=0</action>
3220 <action function="set">tw_back=filemanageroptions</action>
3221 <action function="page">filemanagerchmod</action>
3222 </actions>
3223 </object>
3224
3225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003227 <placement x="%col1_x%" y="%row4_y%" />
3228 <font resource="font" color="%button_text_color%" />
3229 <text>Delete</text>
3230 <image resource="main_button" />
3231 <actions>
3232 <action function="set">tw_filemanager_command=rm -rf</action>
3233 <action function="set">tw_fm_text1=Deleting</action>
3234 <action function="set">tw_fm_text2=</action>
3235 <action function="set">tw_fm_text3=</action>
3236 <action function="set">tw_include_text3=0</action>
3237 <action function="set">tw_back=filemanageroptions</action>
3238 <action function="page">filemanagerconfirm</action>
3239 </actions>
3240 </object>
3241
3242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003244 <condition var1="tw_fm_isfolder" var2="0" />
3245 <placement x="%col2_x%" y="%row4_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>Rename File</text>
3248 <image resource="main_button" />
3249 <actions>
3250 <action function="set">tw_filemanager_rename=tw_selection1</action>
3251 <action function="set">tw_fm_text1=Renaming</action>
3252 <action function="set">tw_filemanager_command=mv</action>
3253 <action function="page">filemanagerrenamefile</action>
3254 </actions>
3255 </object>
3256
3257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003259 <condition var1="tw_fm_isfolder" var2="1" />
3260 <placement x="%col2_x%" y="%row4_y%" />
3261 <font resource="font" color="%button_text_color%" />
3262 <text>Rename Folder</text>
3263 <image resource="main_button" />
3264 <actions>
3265 <action function="set">tw_filemanager_rename=tw_selection1</action>
3266 <action function="set">tw_fm_text1=Renaming</action>
3267 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3268 <action function="page">filemanagerrenamefolder</action>
3269 </actions>
3270 </object>
3271
3272 <object type="action">
3273 <touch key="home" />
3274 <action function="page">main</action>
3275 </object>
3276
3277 <object type="action">
3278 <touch key="back" />
3279 <action function="page">filemanagerlist</action>
3280 </object>
3281
3282 <object type="template" name="footer" />
3283 </page>
3284
3285 <page name="choosedestinationfolder">
3286 <object type="template" name="header" />
3287
3288 <object type="text" color="%text_color%">
3289 <font resource="font" />
3290 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3291 <text>Browse to Destination Folder & Press Select</text>
3292 </object>
3293
3294 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003295 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003296 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3297 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3298 <text>%tw_file_location2%</text>
3299 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3300 <sort name="tw_gui_sort_order" />
3301 <icon folder="folder_icon" file="file_icon" />
3302 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003303 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <filter folders="1" files="0" />
3305 <path name="tw_file_location2" default="/" />
3306 <data name="tw_filename2" />
3307 <selection name="tw_selection2" />
3308 </object>
3309
3310 <object type="template" name="sort_options" />
3311
3312 <object type="action">
3313 <touch key="home" />
3314 <action function="page">main</action>
3315 </object>
3316
3317 <object type="action">
3318 <touch key="back" />
3319 <action function="page">filemanageroptions</action>
3320 </object>
3321
3322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3325 <font resource="font" color="%button_text_color%" />
3326 <text>Select</text>
3327 <image resource="medium_button" />
3328 <actions>
3329 <action function="set">tw_fm_text2=to</action>
3330 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3331 <action function="set">tw_include_text3=1</action>
3332 <action function="set">tw_back=filemanageroptions</action>
3333 <action function="page">filemanagerconfirm</action>
3334 </actions>
3335 </object>
3336
3337 <object type="template" name="footer" />
3338 </page>
3339
3340 <page name="filemanagerrenamefile">
3341 <object type="template" name="header" />
3342
3343 <object type="text" color="%text_color%">
3344 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3345 <font resource="font" />
3346 <text>Please Enter a New %tw_fm_type% Name</text>
3347 </object>
3348
3349 <object type="input">
3350 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3351 <background color="%input_background_color%" />
3352 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3353 <font resource="font" color="%text_color%" />
3354 <text>%tw_filemanager_rename%</text>
3355 <data name="tw_filemanager_rename" />
3356 <restrict minlen="1" maxlen="128" />
3357 <actions>
3358 <action function="set">tw_fm_text2=to</action>
3359 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3360 <action function="set">tw_include_text3=1</action>
3361 <action function="set">tw_back=filemanageroptions</action>
3362 <action function="page">filemanagerconfirm</action>
3363 </actions>
3364 </object>
3365
3366 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003367 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003368 <placement x="%col_center_x%" y="%row2_y%" />
3369 <font resource="font" color="%button_text_color%" />
3370 <text>Cancel</text>
3371 <image resource="main_button" />
3372 <action function="page">filemanageroptions</action>
3373 </object>
3374
3375 <object type="template" name="keyboardtemplate" />
3376
3377 <object type="action">
3378 <touch key="home" />
3379 <action function="page">main</action>
3380 </object>
3381
3382 <object type="action">
3383 <touch key="back" />
3384 <action function="page">filemanageroptions</action>
3385 </object>
3386
3387 <object type="template" name="footer" />
3388 </page>
3389
3390 <page name="filemanagerrenamefolder">
3391 <object type="template" name="header" />
3392
3393 <object type="text" color="%text_color%">
3394 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3395 <font resource="font" />
3396 <text>Please Enter a New %tw_fm_type% Name</text>
3397 </object>
3398
3399 <object type="input">
3400 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3401 <background color="%input_background_color%" />
3402 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3403 <font resource="font" color="%text_color%" />
3404 <text>%tw_filemanager_rename%</text>
3405 <data name="tw_filemanager_rename" />
3406 <restrict minlen="1" maxlen="128" />
3407 <actions>
3408 <action function="set">tw_fm_text2=to</action>
3409 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3410 <action function="set">tw_include_text3=1</action>
3411 <action function="set">tw_back=filemanageroptions</action>
3412 <action function="page">filemanagerconfirm</action>
3413 </actions>
3414 </object>
3415
3416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003418 <placement x="%col_center_x%" y="%row2_y%" />
3419 <font resource="font" color="%button_text_color%" />
3420 <text>Cancel</text>
3421 <image resource="main_button" />
3422 <action function="page">filemanageroptions</action>
3423 </object>
3424
3425 <object type="template" name="keyboardtemplate" />
3426
3427 <object type="action">
3428 <touch key="home" />
3429 <action function="page">main</action>
3430 </object>
3431
3432 <object type="action">
3433 <touch key="back" />
3434 <action function="page">filemanageroptions</action>
3435 </object>
3436
3437 <object type="template" name="footer" />
3438 </page>
3439
3440 <page name="filemanagerchmod">
3441 <object type="template" name="header" />
3442
3443 <object type="text" color="%text_color%">
3444 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3445 <font resource="font" />
3446 <text>Please Enter New Permissions</text>
3447 </object>
3448
3449 <object type="input">
3450 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3451 <background color="%input_background_color%" />
3452 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3453 <font resource="font" color="%text_color%" />
3454 <text>%tw_filemanager_rename%</text>
3455 <data name="tw_filemanager_rename" />
3456 <restrict minlen="3" maxlen="4" allow="0123456789" />
3457 <actions>
3458 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3459 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3460 <action function="set">tw_back=filemanageroptions</action>
3461 <action function="page">filemanagerconfirm</action>
3462 </actions>
3463 </object>
3464
3465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003467 <placement x="%col_center_x%" y="%row2_y%" />
3468 <font resource="font" color="%button_text_color%" />
3469 <text>Cancel</text>
3470 <image resource="main_button" />
3471 <action function="page">filemanageroptions</action>
3472 </object>
3473
3474 <object type="template" name="keyboardtemplate" />
3475
3476 <object type="action">
3477 <touch key="home" />
3478 <action function="page">main</action>
3479 </object>
3480
3481 <object type="action">
3482 <touch key="back" />
3483 <action function="page">filemanageroptions</action>
3484 </object>
3485
3486 <object type="template" name="footer" />
3487 </page>
3488
3489 <page name="filemanagerconfirm">
3490 <object type="template" name="header" />
3491
3492 <object type="text" color="%text_color%">
3493 <font resource="font" />
3494 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3495 <text>%tw_fm_text1%</text>
3496 </object>
3497
3498 <object type="text" color="%text_color%">
3499 <font resource="font" />
3500 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3501 <text>%tw_filename1%</text>
3502 </object>
3503
3504 <object type="text" color="%text_color%">
3505 <font resource="font" />
3506 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3507 <text>%tw_fm_text2%</text>
3508 </object>
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3513 <text>%tw_fm_text3%</text>
3514 </object>
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3519 <text>Press back button to cancel.</text>
3520 </object>
3521
3522 <object type="slider">
3523 <placement x="%slider_x%" y="%slider_y%" />
3524 <resource base="slider" used="slider-used" touch="slider-touch" />
3525 <action function="page">filemanageracction</action>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3531 <text>Swipe to Confirm</text>
3532 </object>
3533
3534 <object type="action">
3535 <touch key="back" />
3536 <action function="page">%tw_back%</action>
3537 </object>
3538
3539 <object type="action">
3540 <touch key="home" />
3541 <action function="page">main</action>
3542 </object>
3543
3544 <object type="template" name="footer" />
3545 </page>
3546
3547 <page name="filemanageracction">
3548 <object type="template" name="header" />
3549
3550 <object type="text" color="%text_color%">
3551
3552 <font resource="font" />
3553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3554 <text>%tw_fm_text1%</text>
3555 </object>
3556
3557 <object type="template" name="action_page_console" />
3558
3559 <object type="template" name="progress_bar" />
3560
3561 <object type="action">
3562 <conditions>
3563 <condition var1="tw_operation_state" var2="1" />
3564 <condition var1="tw_operation_status" var2="0" />
3565 </conditions>
3566 <actions>
3567 <action function="set">tw_back=filemanagerlist</action>
3568 <action function="set">tw_complete_text1=File Operation Complete</action>
3569 <action function="page">action_complete</action>
3570 </actions>
3571 </object>
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" op="!=" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_complete_text1=File Operation Complete</action>
3580 <action function="page">action_complete</action>
3581 </actions>
3582 </object>
3583
3584 <object type="action">
3585 <condition var1="tw_include_text3" var2="0" />
3586 <actions>
3587 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3588 </actions>
3589 </object>
3590
3591 <object type="action">
3592 <condition var1="tw_include_text3" var2="1" />
3593 <actions>
3594 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3595 </actions>
3596 </object>
3597 </page>
3598
3599 <page name="decrypt">
3600 <object type="template" name="header" />
3601
3602 <object type="text" color="%text_color%">
3603 <font resource="font" />
3604 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3605 <text>Please Enter Your Password</text>
3606 </object>
3607
3608 <object type="input">
3609 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3610 <background color="%input_background_color%" />
3611 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3612 <font resource="font" color="%text_color%" />
3613 <text>%tw_crypto_display%</text>
3614 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3615 <restrict minlen="1" maxlen="254" />
3616 <actions>
3617 <action function="page">trydecrypt</action>
3618 </actions>
3619 </object>
3620
3621 <object type="text" color="%text_fail_color%">
3622 <condition var1="tw_password_fail" var2="1" />
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3625 <text>Password Failed, Please Try Again</text>
3626 </object>
3627
3628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003630 <placement x="%col_center_x%" y="%row2_y%" />
3631 <font resource="font" color="%button_text_color%" />
3632 <text>Cancel</text>
3633 <image resource="main_button" />
3634 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003635 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <action function="page">main</action>
3637 </actions>
3638 </object>
3639
3640 <object type="template" name="keyboardtemplate" />
3641
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <object type="template" name="footer" />
3643 </page>
3644
3645 <page name="trydecrypt">
3646 <object type="template" name="header" />
3647
3648 <object type="text" color="%text_color%">
3649 <font resource="font" />
3650 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3651 <text>Trying Decryption with Your Password</text>
3652 </object>
3653
3654 <object type="template" name="action_page_console" />
3655
3656 <object type="template" name="progress_bar" />
3657
3658 <object type="action">
3659 <action function="decrypt"></action>
3660 </object>
3661
3662 <object type="action">
3663 <conditions>
3664 <condition var1="tw_operation_state" var2="1" />
3665 <condition var1="tw_operation_status" op="!=" var2="0" />
3666 </conditions>
3667 <actions>
3668 <action function="set">tw_password_fail=1</action>
3669 <action function="page">decrypt</action>
3670 </actions>
3671 </object>
3672
3673 <object type="action">
3674 <conditions>
3675 <condition var1="tw_operation_state" var2="1" />
3676 <condition var1="tw_operation_status" op="=" var2="0" />
3677 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003678 <actions>
3679 <action function="set">tw_page_done=1</action>
3680 <action function="page">main</action>
3681 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003682 </object>
3683 </page>
3684
3685 <page name="terminalfolder">
3686 <object type="template" name="header" />
3687
3688 <object type="text" color="%text_color%">
3689 <font resource="font" />
3690 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3691 <text>Browse to Starting Folder</text>
3692 </object>
3693
3694 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003695 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003696 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3697 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3698 <text>%tw_terminal_location%</text>
3699 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3700 <sort name="tw_gui_sort_order" />
3701 <icon folder="folder_icon" file="file_icon" />
3702 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003703 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 <filter folders="1" files="0" />
3705 <path name="tw_terminal_location" default="/" />
3706 <data name="tw_terminal" />
3707 <selection name="tw_terminal_selection" />
3708 </object>
3709
3710 <object type="template" name="sort_options" />
3711
3712 <object type="action">
3713 <touch key="home" />
3714 <action function="page">main</action>
3715 </object>
3716
3717 <object type="action">
3718 <touch key="back" />
3719 <action function="page">advanced</action>
3720 </object>
3721
3722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003724 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3725 <font resource="font" color="%button_text_color%" />
3726 <text>Select</text>
3727 <image resource="medium_button" />
3728 <actions>
3729 <action function="page">terminalcommand</action>
3730 </actions>
3731 </object>
3732
3733 <object type="template" name="footer" />
3734 </page>
3735
3736 <page name="terminalcommand">
3737 <object type="template" name="header" />
3738
3739 <object type="console">
3740 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3741 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3742 <font resource="fixed" />
3743 </object>
3744
3745 <object type="text" color="%text_color%">
3746 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3747 <font resource="font" />
3748 <text>Starting Path: %tw_terminal_location%</text>
3749 </object>
3750
3751 <object type="input">
3752 <condition var1="tw_terminal_state" var2="0" />
3753 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3754 <background color="%input_background_color%" />
3755 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3756 <font resource="font" color="%text_color%" />
3757 <text>%tw_terminal_command%</text>
3758 <data name="tw_terminal_command" />
3759 <restrict minlen="1" />
3760 <action function="terminalcommand">%tw_terminal_command%</action>
3761 </object>
3762
3763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003765 <condition var1="tw_terminal_state" var2="1" />
3766 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3767 <font resource="font" color="%button_text_color%" />
3768 <text>KILL</text>
3769 <image resource="medium_button" />
3770 <action function="killterminal"></action>
3771 </object>
3772
3773 <object type="template" name="keyboardtemplate" />
3774
3775 <object type="action">
3776 <touch key="home" />
3777 <action function="page">main</action>
3778 </object>
3779
3780 <object type="action">
3781 <touch key="back" />
3782 <action function="page">terminalfolder</action>
3783 </object>
3784 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003785
3786 <page name="sideload">
3787 <object type="template" name="header" />
3788
3789 <object type="text" color="%text_color%">
3790 <font resource="font" />
3791 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3792 <text>ADB Sideload</text>
3793 </object>
3794
3795 <object type="checkbox">
3796 <placement x="%col1_x%" y="%row2_text_y%" />
3797 <font resource="font" color="%text_color%" />
3798 <text>Wipe Dalvik Cache.</text>
3799 <data variable="tw_wipe_dalvik" />
3800 <image checked="checkbox_true" unchecked="checkbox_false" />
3801 </object>
3802
3803 <object type="checkbox">
3804 <placement x="%col1_x%" y="%row3_text_y%" />
3805 <font resource="font" color="%text_color%" />
3806 <text>Wipe Cache.</text>
3807 <data variable="tw_wipe_cache" />
3808 <image checked="checkbox_true" unchecked="checkbox_false" />
3809 </object>
3810
3811 <object type="slider">
3812 <placement x="%slider_x%" y="%slider_y%" />
3813 <resource base="slider" used="slider-used" touch="slider-touch" />
3814 <actions>
3815 <action function="set">tw_back=advanced</action>
3816 <action function="set">tw_action=adbsideload</action>
3817 <action function="set">tw_action_text1=ADB Sideload</action>
3818 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3819 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3820 <action function="set">tw_has_cancel=1</action>
3821 <action function="set">tw_show_reboot=1</action>
3822 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3823 <action function="page">action_page</action>
3824 </actions>
3825 </object>
3826
3827 <object type="text" color="%text_color%">
3828 <font resource="font" />
3829 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3830 <text>Swipe to Start Sideload</text>
3831 </object>
3832
3833 <object type="action">
3834 <touch key="home" />
3835 <action function="page">main</action>
3836 </object>
3837
3838 <object type="action">
3839 <touch key="back" />
3840 <action function="page">advanced</action>
3841 </object>
3842
3843 <object type="template" name="footer" />
3844 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003845 </pages>
3846</recovery>