blob: 09df8037c7baaf1b8dcf9333fac4a7758bcaf02a [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
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-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
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="exclamation200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="820" />
101 <variable name="back_button_x" value="413" />
102 <variable name="back_button_y" value="820" />
103 <variable name="sort_asc_text_y" value="739" />
104 <variable name="sort_asc_button_y" value="739" />
105 <variable name="sort_desc_text_y" value="779" />
106 <variable name="sort_desc_button_y" value="779" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="240" />
109 <variable name="sort_col3_button_x" value="300" />
110 <variable name="input_width" value="460" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="480" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="320" />
121 <variable name="console_install_height" value="440" />
122 <variable name="console_installdone_height" value="300" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="470" />
125 <variable name="fileselector_install_height" value="564" />
126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
136 <variable name="listbox_x" value="5" />
137 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600138 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400139 <variable name="listbox_background" value="#303030" />
140 <variable name="listbox_spacing" value="18" />
141 <variable name="sd_plus_x" value="280" />
142 <variable name="sdext_text_x" value="84" />
143 <variable name="sdext_text_y" value="150" />
144 <variable name="sdswap_button_y" value="185" />
145 <variable name="sdswap_text_x" value="84" />
146 <variable name="sdswap_text_y" value="195" />
147 <variable name="sdfilesystem_text_y" value="240" />
148 <variable name="sdfilesystem_button_y" value="280" />
149 <variable name="lock_x" value="40" />
150 <variable name="lock_y" value="200" />
151 <variable name="filemanager_select_x" value="365" />
152 <variable name="filemanager_select_y" value="744" />
153 <variable name="backup_name_y" value="350" />
154 <variable name="terminal_console_height" value="424" />
155 <variable name="terminal_text_y" value="444" />
156 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400157 <variable name="row_dst_text_y" value="440" />
158 <variable name="row_offset_text_y" value="480" />
159 <variable name="row_offset_medium_y" value="505" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400160 <variable name="exclamation_x" value="140" />
161 <variable name="exclamation_y" value="300" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400162 </variables>
163
164 <templates>
165 <template name="header">
166 <background color="%backgroundcolor%" />
167
168 <object type="image">
169 <image resource="top_bar" />
170 <placement x="0" y="0" />
171 </object>
172
173 <object type="text" color="%text_color%">
174 <font resource="font" />
175 <placement x="100" y="10" />
176 <text>Team Win Recovery Project v%tw_version%</text>
177 </object>
178
179 <object type="text" color="%text_color%">
180 <condition var1="tw_simulate_actions" var2="1" />
181 <font resource="font" />
182 <placement x="100" y="40" />
183 <text>SIMULATING ACTIONS</text>
184 </object>
185
186 <object type="text" color="%text_color%">
187 <font resource="font" />
188 <placement x="100" y="70" />
189 <text>%tw_time%</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="250" y="70" />
195 <conditions>
196 <condition var1="tw_no_battery_percent" var2="0" />
197 <condition var1="tw_battery" op=">" var2="0" />
198 <condition var1="tw_battery" op="<" var2="101" />
199 </conditions>
200 <text>Battery: %tw_battery%</text>
201 </object>
202
203 <object type="button">
204 <placement x="%home_button_x%" y="%home_button_y%" />
205 <font resource="font" color="%button_text_color%" />
206 <text></text>
207 <image resource="home_icon" />
208 <condition var1="tw_busy" var2="0" />
209 <action function="key">home</action>
210 </object>
211
212 <object type="button">
213 <placement x="%back_button_x%" y="%back_button_y%" />
214 <font resource="font" color="%button_text_color%" />
215 <text></text>
216 <image resource="back_icon" />
217 <condition var1="tw_busy" var2="0" />
218 <action function="key">back</action>
219 </object>
220
221 <object type="action">
222 <touch key="power" />
223 <action function="overlay">lock</action>
224 </object>
225 </template>
226
227 <template name="progress_bar">
228 <object type="progressbar">
229 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
230 <resource empty="progress_empty" full="progress_full" />
231 <data name="ui_progress" />
232 </object>
233
234 <object type="animation">
235 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
236 <resource name="progress" />
237 <speed fps="15" render="2" />
238 <loop frame="1" />
239 </object>
240 </template>
241
242 <template name="action_page_console">
243 <object type="console">
244 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
245 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
246 <font resource="fixed" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%col1_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
258 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
259 <font resource="UItext" color="%button_text_color%" />
260 <text>Name</text>
261 <image resource="sort_button" />
262 <action function="set">tw_gui_sort_order=1</action>
263 </object>
264
265 <object type="button">
266 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
267 <font resource="UItext" color="%button_text_color%" />
268 <text>Date</text>
269 <image resource="sort_button" />
270 <action function="set">tw_gui_sort_order=2</action>
271 </object>
272
273 <object type="button">
274 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
275 <font resource="UItext" color="%button_text_color%" />
276 <text>Size</text>
277 <image resource="sort_button" />
278 <action function="set">tw_gui_sort_order=3</action>
279 </object>
280
281 <object type="text" color="%text_color%">
282 <font resource="font" />
283 <placement x="%col1_x%" y="%sort_desc_text_y%" />
284 <text>Sort Descending:</text>
285 </object>
286
287 <object type="button">
288 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
289 <font resource="UItext" color="%button_text_color%" />
290 <text>Name</text>
291 <image resource="sort_button" />
292 <action function="set">tw_gui_sort_order=-1</action>
293 </object>
294
295 <object type="button">
296 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
297 <font resource="UItext" color="%button_text_color%" />
298 <text>Date</text>
299 <image resource="sort_button" />
300 <action function="set">tw_gui_sort_order=-2</action>
301 </object>
302
303 <object type="button">
304 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
305 <font resource="UItext" color="%button_text_color%" />
306 <text>Size</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=-3</action>
309 </object>
310 </template>
311
312 <template name="footer">
313 <object type="console">
314 <slideout resource="slideout" x="210" y="814" />
315 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
316 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
317 <font resource="fixed" />
318 </object>
319 </template>
320
321 <template name="keyboardtemplate">
322 <object type="keyboard">
323 <placement x="0" y="504" />
324 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600325 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400326 <layout1>
327 <keysize height="78" width="48" />
328 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
329 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
330 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
331 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
332 </layout1>
333 <layout2>
334 <keysize height="78" width="48" />
335 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
336 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
337 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
338 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
339 </layout2>
340 <layout3>
341 <keysize height="78" width="48" />
342 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
343 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
344 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
345 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
346 </layout3>
347 <layout4>
348 <keysize height="78" width="48" />
349 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
350 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
351 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
352 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
353 </layout4>
354 </object>
355 </template>
356 </templates>
357
358 <pages>
359 <page name="main">
360 <object type="action">
361 <actions>
362 <action function="set">tw_clear_destination=main2</action>
363 <action function="page">clear_vars</action>
364 </actions>
365 </object>
366 </page>
367
368 <page name="main2">
369 <object type="template" name="header" />
370
371 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600372 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400373 <placement x="%col1_x%" y="%row1_y%" />
374 <font resource="font" color="%button_text_color%" />
375 <text>Install</text>
376 <image resource="main_button" />
377 <actions>
378 <action function="queueclear"></action>
379 <action function="page">install</action>
380 </actions>
381 </object>
382
383 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600384 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400385 <placement x="%col2_x%" y="%row1_y%" />
386 <font resource="font" color="%button_text_color%" />
387 <text>Wipe</text>
388 <image resource="main_button" />
389 <action function="page">wipe</action>
390 </object>
391
392 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600393 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400394 <placement x="%col1_x%" y="%row2_y%" />
395 <font resource="font" color="%button_text_color%" />
396 <text>Backup</text>
397 <image resource="main_button" />
398 <action function="page">backup</action>
399 </object>
400
401 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600402 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400403 <placement x="%col2_x%" y="%row2_y%" />
404 <font resource="font" color="%button_text_color%" />
405 <text>Restore</text>
406 <image resource="main_button" />
407 <action function="page">restore</action>
408 </object>
409
410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400412 <placement x="%col1_x%" y="%row3_y%" />
413 <font resource="font" color="%button_text_color%" />
414 <text>Mount</text>
415 <image resource="main_button" />
416 <action function="page">mount</action>
417 </object>
418
419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400421 <placement x="%col2_x%" y="%row3_y%" />
422 <font resource="font" color="%button_text_color%" />
423 <text>Settings</text>
424 <image resource="main_button" />
425 <action function="page">settings</action>
426 </object>
427
428
429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400431 <placement x="%col1_x%" y="%row4_y%" />
432 <font resource="font" color="%button_text_color%" />
433 <text>Advanced</text>
434 <image resource="main_button" />
435 <action function="page">advanced</action>
436 </object>
437
438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400440 <placement x="%col2_x%" y="%row4_y%" />
441 <font resource="font" color="%button_text_color%" />
442 <text>Reboot</text>
443 <image resource="main_button" />
444 <action function="page">reboot</action>
445 </object>
446
447 <object type="template" name="footer" />
448 </page>
449
450 <page name="install">
451 <object type="template" name="header" />
452
453 <object type="text" color="%text_color%">
454 <font resource="font" />
455 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
456 <text>Select Zip to Install</text>
457 </object>
458
459 <object type="button">
460 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400461 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400462 <conditions>
463 <condition var1="tw_has_dual_storage" var2="1" />
464 <condition var1="tw_use_external_storage" var2="1" />
465 </conditions>
466 <text>Use external SD</text>
467 <image resource="radio_true" />
468 <action function="togglestorage">external</action>
469 </object>
470
471 <object type="button">
472 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400473 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <conditions>
475 <condition var1="tw_has_dual_storage" var2="1" />
476 <condition var1="tw_use_external_storage" var2="0" />
477 </conditions>
478 <text>Use external SD</text>
479 <image resource="radio_false" />
480 <action function="togglestorage">external</action>
481 </object>
482
483 <object type="button">
484 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400485 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 <conditions>
487 <condition var1="tw_has_dual_storage" var2="1" />
488 <condition var1="tw_use_external_storage" var2="1" />
489 </conditions>
490 <text>Use internal storage</text>
491 <image resource="radio_false" />
492 <action function="togglestorage">internal</action>
493 </object>
494
495 <object type="button">
496 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400497 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <conditions>
499 <condition var1="tw_has_dual_storage" var2="1" />
500 <condition var1="tw_use_external_storage" var2="0" />
501 </conditions>
502 <text>Use internal storage</text>
503 <image resource="radio_true" />
504 <action function="togglestorage">internal</action>
505 </object>
506
507 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600508 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400509 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
511 <text>%tw_zip_location%</text>
512 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
513 <sort name="tw_gui_sort_order" />
514 <icon folder="folder_icon" file="file_icon" />
515 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600516 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400517 <filter extn=".zip" folders="1" files="1" />
518 <path name="tw_zip_location" default="/sdcard" />
519 <data name="tw_filename" />
520 <selection name="tw_file" />
521 </object>
522
523 <object type="template" name="sort_options" />
524
525 <object type="action">
526 <condition var1="tw_filename" op="modified" />
527 <actions>
528 <action function="queuezip"></action>
529 <action function="page">flash_confirm</action>
530 </actions>
531 </object>
532
533 <object type="action">
534 <touch key="back" />
535 <action function="page">main</action>
536 </object>
537
538 <object type="action">
539 <touch key="home" />
540 <action function="page">main</action>
541 </object>
542
543 <object type="template" name="footer" />
544 </page>
545
546 <page name="flash_confirm">
547 <object type="template" name="header" />
548
549 <object type="text" color="%text_color%">
550 <font resource="font" />
551 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
552 <text>This operation may install incompatible</text>
553 </object>
554
555 <object type="text" color="%text_color%">
556 <font resource="font" />
557 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
558 <text>software and render your device unusable.</text>
559 </object>
560
561 <object type="text" color="%text_color%">
562 <font resource="font" />
563 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
564 <text>Folder:</text>
565 </object>
566
567 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400568 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400569 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
570 <text>%tw_zip_location%</text>
571 </object>
572
573 <object type="text" color="%text_color%">
574 <font resource="font" />
575 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
576 <text>File to flash:</text>
577 </object>
578
579 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400580 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400581 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
582 <text>%tw_file%</text>
583 </object>
584
585 <object type="text" color="%text_color%">
586 <font resource="font" />
587 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
588 <text>Press back to cancel adding this zip.</text>
589 </object>
590
591 <object type="checkbox">
592 <placement x="%col1_x%" y="%row8_text_y%" />
593 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <data variable="tw_signed_zip_verify" />
596 <image checked="checkbox_true" unchecked="checkbox_false" />
597 </object>
598
599 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <condition var1="tw_has_injecttwrp" var2="1" />
601 <placement x="%col1_x%" y="%row10_text_y%" />
602 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400603 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <data variable="tw_inject_after_zip" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400610 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <text>File %tw_zip_queue_count% of max of 10</text>
612 </object>
613
614 <object type="slider">
615 <placement x="%slider_x%" y="%slider_y%" placement="5" />
616 <resource base="slider" used="slider-used" touch="slider-touch" />
617 <action function="flash">flash_zip</action>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
623 <text>Swipe to Confirm Flash</text>
624 </object>
625
626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400628 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
629 <placement x="%col1_x%" y="%row_queue_y%" />
630 <font resource="font" color="%button_text_color%" />
631 <text>Add More Zips</text>
632 <image resource="main_button" />
633 <action function="page">install</action>
634 </object>
635
636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400638 <placement x="%col2_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Clear Zip Queue</text>
641 <image resource="main_button" />
642 <actions>
643 <action function="queueclear"></action>
644 <action function="page">install</action>
645 </actions>
646 </object>
647
648 <object type="action">
649 <touch key="back" />
650 <actions>
651 <action function="cancelzip"></action>
652 <action function="page">install</action>
653 </actions>
654 </object>
655
656 <object type="action">
657 <touch key="home" />
658 <action function="page">main</action>
659 </object>
660
661 <object type="template" name="footer" />
662 </page>
663
664 <page name="flash_zip">
665 <object type="template" name="header" />
666
667 <object type="console">
668 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
669 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
670 <font resource="fixed" />
671 </object>
672
673 <object type="text" color="%text_color%">
674 <font resource="font" />
675 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
676 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
677 </object>
678
679 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400680 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400681 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
682 <text>%tw_filename%</text>
683 </object>
684
685 <object type="template" name="progress_bar" />
686
687 <object type="action">
688 <condition var1="tw_operation_state" var2="1" />
689 <action function="page">flash_done</action>
690 </object>
691 </page>
692
693 <page name="flash_done">
694 <object type="template" name="header" />
695
696 <object type="text" color="%text_color%">
697 <font resource="font" />
698 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
699 <text>Zip Install Complete</text>
700 </object>
701
702 <object type="console">
703 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
704 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
705 <font resource="fixed" />
706 </object>
707
708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400710 <placement x="%col1_x%" y="%row4_y%" />
711 <font resource="font" color="%button_text_color%" />
712 <text>Wipe cache/dalvik</text>
713 <image resource="main_button" />
714 <actions>
715 <action function="set">tw_back=flash_done</action>
716 <action function="set">tw_action=wipe</action>
717 <action function="set">tw_action_param=/cache</action>
718 <action function="set">tw_has_action2=1</action>
719 <action function="set">tw_action2=wipe</action>
720 <action function="set">tw_action2_param=dalvik</action>
721 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
722 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
723 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
724 <action function="set">tw_slider_text=Swipe to Wipe</action>
725 <action function="page">confirm_action</action>
726 </actions>
727 </object>
728
729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400731 <placement x="%col2_x%" y="%row4_y%" />
732 <font resource="font" color="%button_text_color%" />
733 <text>Reboot System</text>
734 <image resource="main_button" />
735 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400736 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400737 <action function="set">tw_action=reboot</action>
738 <action function="set">tw_action_param=system</action>
739 <action function="set">tw_has_action2=0</action>
740 <action function="set">tw_text1=No OS Installed! Are you</action>
741 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400742 <action function="set">tw_text3=</action>
743 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_complete_text1=Rebooting...</action>
747 <action function="set">tw_slider_text=Swipe to Reboot</action>
748 <action function="page">rebootcheck</action>
749 </actions>
750 </object>
751
752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <placement x="%col_center_x%" y="%row3_y%" />
755 <font resource="font" color="%button_text_color%" />
756 <text>Home</text>
757 <image resource="main_button" />
758 <actions>
759 <action function="set">tw_clear_destination=main2</action>
760 <action function="page">clear_vars</action>
761 </actions>
762 </object>
763
764 <object type="text" color="%text_fail_color%">
765 <condition var1="tw_operation_status" op="!=" var2="0" />
766 <font resource="font" />
767 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
768 <text>Failed</text>
769 </object>
770
771 <object type="text" color="%text_success_color%">
772 <condition var1="tw_operation_status" var2="0" />
773 <font resource="font" />
774 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
775 <text>Successful</text>
776 </object>
777
778 <object type="action">
779 <touch key="back" />
780 <actions>
781 <action function="set">tw_clear_destination=install</action>
782 <action function="page">clear_vars</action>
783 </actions>
784 </object>
785
786 <object type="action">
787 <touch key="home" />
788 <actions>
789 <action function="set">tw_clear_destination=main2</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </object>
793 </page>
794
795 <page name="clear_vars">
796 <object type="action">
797 <action function="set">tw_operation_state=0</action>
798 <action function="set">tw_text1=</action>
799 <action function="set">tw_text2=</action>
800 <action function="set">tw_text3=</action>
801 <action function="set">tw_text4=</action>
802 <action function="set">tw_action_text1=</action>
803 <action function="set">tw_action_text2=</action>
804 <action function="set">tw_action_param=</action>
805 <action function="set">tw_has_action2=0</action>
806 <action function="set">tw_action2=</action>
807 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400808 <action function="set">tw_has_cancel=0</action>
809 <action function="set">tw_cancel_action=</action>
810 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400811 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400812 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400813 <action function="page">%tw_clear_destination%</action>
814 </object>
815 </page>
816
817 <page name="confirm_action">
818 <object type="template" name="header" />
819
Dees_Troyce2fe772012-09-28 12:34:33 -0400820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600821 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400822 <condition var1="tw_show_exclamation" var2="1" />
823 <placement x="%exclamation_x%" y="%exclamation_y%" />
824 <font resource="font" color="%button_text_color%" />
825 <text></text>
826 <image resource="exclamation" />
827 </object>
828
Dees_Troy51a0e822012-09-05 15:24:24 -0400829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
832 <text>%tw_text1%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
838 <text>%tw_text2%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
844 <text>%tw_text3%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
849 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
850 <text>%tw_text4%</text>
851 </object>
852
853 <object type="text" color="%text_color%">
854 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400855 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400856 <text>Press back button to cancel.</text>
857 </object>
858
859 <object type="slider">
860 <placement x="%slider_x%" y="%slider_y%" />
861 <resource base="slider" used="slider-used" touch="slider-touch" />
862 <action function="page">action_page</action>
863 </object>
864
865 <object type="text" color="%text_color%">
866 <font resource="font" />
867 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
868 <text>%tw_slider_text%</text>
869 </object>
870
871 <object type="action">
872 <touch key="back" />
873 <actions>
874 <action function="set">tw_clear_destination=%tw_back%</action>
875 <action function="page">clear_vars</action>
876 </actions>
877 </object>
878
879 <object type="action">
880 <touch key="home" />
881 <action function="page">main</action>
882 </object>
883
884 <object type="template" name="footer" />
885 </page>
886
887 <page name="action_page">
888 <object type="template" name="header" />
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
893 <text>%tw_action_text1%</text>
894 </object>
895
896 <object type="text" color="%text_color%">
897 <font resource="font" />
898 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
899 <text>%tw_action_text2%</text>
900 </object>
901
902 <object type="template" name="action_page_console" />
903
Dees_Troyb46a6842012-09-25 11:06:46 -0400904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600905 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400906 <condition var1="tw_has_cancel" var2="1" />
907 <placement x="%col_center_medium_x%" y="%row4_y%" />
908 <font resource="font" color="%button_text_color%" />
909 <text>Cancel</text>
910 <image resource="medium_button" />
911 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
912 </object>
913
Dees_Troy51a0e822012-09-05 15:24:24 -0400914 <object type="template" name="progress_bar" />
915
916 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400917 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400918 <actions>
919 <action function="page">action_complete</action>
920 </actions>
921 </object>
922
923 <object type="action">
924 <condition var1="tw_has_action2" var2="0" />
925 <actions>
926 <action function="%tw_action%">%tw_action_param%</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="1" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 <action function="%tw_action2%">%tw_action2_param%</action>
935 </actions>
936 </object>
937 </page>
938
Dees_Troy6ef66352013-02-21 08:26:57 -0600939 <page name="singleaction_page">
940 <object type="template" name="header" />
941
942 <object type="text" color="%text_color%">
943 <font resource="font" />
944 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
945 <text>%tw_action_text1%</text>
946 </object>
947
948 <object type="text" color="%text_color%">
949 <font resource="font" />
950 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
951 <text>%tw_action_text2%</text>
952 </object>
953
954 <object type="template" name="action_page_console" />
955
956 <object type="template" name="progress_bar" />
957
958 <object type="action">
959 <condition var1="tw_operation_state" var2="1" />
960 <actions>
961 <action function="set">tw_page_done=1</action>
962 </actions>
963 </object>
964
965 <object type="action">
966 <condition var1="tw_has_action2" var2="0" />
967 <actions>
968 <action function="%tw_action%">%tw_action_param%</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="1" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 <action function="%tw_action2%">%tw_action2_param%</action>
977 </actions>
978 </object>
979 </page>
980
Dees_Troy51a0e822012-09-05 15:24:24 -0400981 <page name="action_complete">
982 <object type="template" name="header" />
983
984 <object type="text" color="%text_color%">
985 <font resource="font" />
986 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
987 <text>%tw_complete_text1%</text>
988 </object>
989
990 <object type="text" color="%text_fail_color%">
991 <condition var1="tw_operation_status" op="!=" var2="0" />
992 <font resource="font" />
993 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
994 <text>Failed</text>
995 </object>
996
997 <object type="text" color="%text_success_color%">
998 <condition var1="tw_operation_status" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Successful</text>
1002 </object>
1003
1004 <object type="template" name="action_page_console" />
1005
1006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001007 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001009 <placement x="%col_center_x%" y="%row4_y%" />
1010 <font resource="font" color="%button_text_color%" />
1011 <text>Back</text>
1012 <image resource="main_button" />
1013 <actions>
1014 <action function="set">tw_clear_destination=%tw_back%</action>
1015 <action function="page">clear_vars</action>
1016 </actions>
1017 </object>
1018
Dees_Troya3f81542012-10-08 10:58:53 -04001019 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001020 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001021 <condition var1="tw_show_reboot" var2="1" />
1022 <placement x="%col_center_x%" y="%row4_y%" />
1023 <font resource="font" color="%button_text_color%" />
1024 <text>Reboot System</text>
1025 <image resource="main_button" />
1026 <actions>
1027 <action function="set">tw_back=main2</action>
1028 <action function="set">tw_action=reboot</action>
1029 <action function="set">tw_action_param=system</action>
1030 <action function="set">tw_has_action2=0</action>
1031 <action function="set">tw_text1=No OS Installed! Are you</action>
1032 <action function="set">tw_text2=sure you wish to reboot?</action>
1033 <action function="set">tw_text3=</action>
1034 <action function="set">tw_text4=</action>
1035 <action function="set">tw_action_text1=Rebooting...</action>
1036 <action function="set">tw_action_text2=</action>
1037 <action function="set">tw_complete_text1=Rebooting...</action>
1038 <action function="set">tw_slider_text=Swipe to Reboot</action>
1039 <action function="page">rebootcheck</action>
1040 </actions>
1041 </object>
1042
Dees_Troy51a0e822012-09-05 15:24:24 -04001043 <object type="action">
1044 <touch key="home" />
1045 <actions>
1046 <action function="set">tw_clear_destination=main2</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </object>
1050
1051 <object type="action">
1052 <touch key="back" />
1053 <actions>
1054 <action function="set">tw_clear_destination=%tw_back%</action>
1055 <action function="page">clear_vars</action>
1056 </actions>
1057 </object>
1058 </page>
1059
1060 <page name="filecheck">
1061 <object type="action">
1062 <action function="fileexists">%tw_filecheck%</action>
1063 </object>
1064
1065 <object type="action">
1066 <conditions>
1067 <condition var1="tw_operation_state" var2="1" />
1068 <condition var1="tw_operation_status" var2="0" />
1069 </conditions>
1070 <actions>
1071 <action function="set">tw_fileexists=1</action>
1072 <action function="page">%tw_existpage%</action>
1073 </actions>
1074 </object>
1075
1076 <object type="action">
1077 <conditions>
1078 <condition var1="tw_operation_state" var2="1" />
1079 <condition var1="tw_operation_status" var2="1" />
1080 </conditions>
1081 <actions>
1082 <action function="set">tw_fileexists=0</action>
1083 <action function="page">%tw_notexistpage%</action>
1084 </actions>
1085 </object>
1086 </page>
1087
1088 <page name="rebootcheck">
1089 <object type="action">
1090 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1091 <action function="reboot">%tw_action_param%</action>
1092 </object>
1093
1094 <object type="action">
1095 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1096 <action function="page">confirm_action</action>
1097 </object>
1098 </page>
1099
1100 <page name="wipe">
1101 <object type="template" name="header" />
1102
1103 <object type="text" color="%text_color%">
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1106 <text>Wipe Menu</text>
1107 </object>
1108
1109 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001110 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001111 <placement x="%col1_x%" y="%row1_y%" />
1112 <font resource="font" color="%button_text_color%" />
1113 <text>Cache</text>
1114 <image resource="main_button" />
1115 <actions>
1116 <action function="set">tw_back=wipe</action>
1117 <action function="set">tw_action=wipe</action>
1118 <action function="set">tw_action_param=/cache</action>
1119 <action function="set">tw_text1=Wipe Cache?</action>
1120 <action function="set">tw_action_text1=Wiping Cache...</action>
1121 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1122 <action function="set">tw_slider_text=Swipe to Wipe</action>
1123 <action function="page">confirm_action</action>
1124 </actions>
1125 </object>
1126
1127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001129 <placement x="%col2_x%" y="%row1_y%" />
1130 <font resource="font" color="%button_text_color%" />
1131 <text>Dalvik Cache</text>
1132 <image resource="main_button" />
1133 <actions>
1134 <action function="set">tw_back=wipe</action>
1135 <action function="set">tw_action=wipe</action>
1136 <action function="set">tw_action_param=dalvik</action>
1137 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1138 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1139 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1140 <action function="set">tw_slider_text=Swipe to Wipe</action>
1141 <action function="page">confirm_action</action>
1142 </actions>
1143 </object>
1144
1145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001147 <placement x="%col1_x%" y="%row2_y%" />
1148 <font resource="font" color="%button_text_color%" />
1149 <text>Factory Reset</text>
1150 <image resource="main_button" />
1151 <actions>
1152 <action function="set">tw_back=wipe</action>
1153 <action function="set">tw_action=wipe</action>
1154 <action function="set">tw_action_param=data</action>
1155 <action function="set">tw_text1=Factory Reset?</action>
1156 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1157 <action function="set">tw_action_text1=Factory Reset...</action>
1158 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1159 <action function="set">tw_slider_text=Swipe to Wipe</action>
1160 <action function="page">confirm_action</action>
1161 </actions>
1162 </object>
1163
1164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001165 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 <placement x="%col2_x%" y="%row2_y%" />
1167 <font resource="font" color="%button_text_color%" />
1168 <text>System</text>
1169 <image resource="main_button" />
1170 <actions>
1171 <action function="set">tw_back=wipe</action>
1172 <action function="set">tw_action=wipe</action>
1173 <action function="set">tw_action_param=/system</action>
1174 <action function="set">tw_text1=Wipe System?</action>
1175 <action function="set">tw_text2=This will wipe your ROM</action>
1176 <action function="set">tw_action_text1=Wiping System...</action>
1177 <action function="set">tw_complete_text1=System Wipe Complete</action>
1178 <action function="set">tw_slider_text=Swipe to Wipe</action>
1179 <action function="page">confirm_action</action>
1180 </actions>
1181 </object>
1182
1183 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001184 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001185 <condition var1="tw_has_external" var2="1" />
1186 <placement x="%col1_x%" y="%row3_y%" />
1187 <font resource="font" color="%button_text_color%" />
1188 <text>External Storage</text>
1189 <image resource="main_button" />
1190 <actions>
1191 <action function="set">tw_back=wipe</action>
1192 <action function="set">tw_action=wipe</action>
1193 <action function="set">tw_action_param=EXTERNAL</action>
1194 <action function="set">tw_has_action2=1</action>
1195 <action function="set">tw_action2=set</action>
1196 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001197 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001198 <action function="set">tw_action_text1=Wiping External Storage...</action>
1199 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1200 <action function="set">tw_slider_text=Swipe to Wipe</action>
1201 <action function="page">confirm_action</action>
1202 </actions>
1203 </object>
1204
1205 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001206 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001207 <condition var1="tw_has_internal" var2="1" />
1208 <placement x="%col2_x%" y="%row3_y%" />
1209 <font resource="font" color="%button_text_color%" />
1210 <text>Internal Storage</text>
1211 <image resource="main_button" />
1212 <actions>
1213 <action function="set">tw_back=wipe</action>
1214 <action function="set">tw_action=wipe</action>
1215 <action function="set">tw_action_param=INTERNAL</action>
1216 <action function="set">tw_has_action2=1</action>
1217 <action function="set">tw_action2=set</action>
1218 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1219 <action function="set">tw_text1=Wipe Internal Storage?</action>
1220 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1221 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1222 <action function="set">tw_slider_text=Swipe to Wipe</action>
1223 <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_Troy51a0e822012-09-05 15:24:24 -04001229 <conditions>
1230 <condition var1="tw_has_internal" var2="1" />
1231 <condition var1="tw_has_data_media" var2="1" />
1232 </conditions>
1233 <placement x="%col1_x%" y="%row4_y%" />
1234 <font resource="font" color="%button_text_color%" />
1235 <text>Format Data</text>
1236 <image resource="main_button" />
1237 <actions>
1238 <action function="set">tw_back=wipe</action>
1239 <action function="set">tw_action=wipe</action>
1240 <action function="set">tw_action_param=DATAMEDIA</action>
1241 <action function="set">tw_has_action2=1</action>
1242 <action function="set">tw_action2=set</action>
1243 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001244 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001245 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001246 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 <action function="set">tw_action_text1=Formatting Data...</action>
1248 <action function="set">tw_complete_text1=Data Format Complete</action>
1249 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001250 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001251 <action function="page">confirm_action</action>
1252 </actions>
1253 </object>
1254
1255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001256 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001257 <condition var1="tw_has_data_media" var2="0" />
1258 <placement x="%col1_x%" y="%row4_y%" />
1259 <font resource="font" color="%button_text_color%" />
1260 <text>Android Secure</text>
1261 <image resource="main_button" />
1262 <actions>
1263 <action function="set">tw_back=wipe</action>
1264 <action function="set">tw_action=wipe</action>
1265 <action function="set">tw_action_param=ANDROIDSECURE</action>
1266 <action function="set">tw_text1=Wipe Android Secure?</action>
1267 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1268 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1269 <action function="set">tw_slider_text=Swipe to Format</action>
1270 <action function="page">confirm_action</action>
1271 </actions>
1272 </object>
1273
1274 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001275 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001276 <condition var1="tw_has_sdext_partition" var2="1" />
1277 <placement x="%col2_x%" y="%row4_y%" />
1278 <font resource="font" color="%button_text_color%" />
1279 <text>SD Ext</text>
1280 <image resource="main_button" />
1281 <actions>
1282 <action function="set">tw_back=wipe</action>
1283 <action function="set">tw_action=wipe</action>
1284 <action function="set">tw_action_param=/sd-ext</action>
1285 <action function="set">tw_text1=Wipe SD-Ext?</action>
1286 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1287 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1288 <action function="set">tw_slider_text=Swipe to Wipe</action>
1289 <action function="page">confirm_action</action>
1290 </actions>
1291 </object>
1292
1293 <object type="action">
1294 <touch key="home" />
1295 <action function="page">main</action>
1296 </object>
1297
1298 <object type="action">
1299 <touch key="back" />
1300 <action function="page">main</action>
1301 </object>
1302
1303 <object type="template" name="footer" />
1304 </page>
1305
1306 <page name="backup">
1307 <object type="template" name="header" />
1308
1309 <object type="text" color="%text_color%">
1310 <font resource="font" />
1311 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1312 <text>Backup Name: %tw_backup_name%</text>
1313 </object>
1314
1315 <object type="text" color="%text_color%">
1316 <placement x="%col1_x%" y="%row1_text_y%" />
1317 <font resource="font" />
1318 <text>Backup Device</text>
1319 </object>
1320
1321 <object type="slider">
1322 <placement x="%slider_x%" y="slider_y" />
1323 <resource base="slider" used="slider-used" touch="slider-touch" />
1324 <action function="page">backup_run</action>
1325 </object>
1326
1327 <object type="text" color="%text_color%">
1328 <font resource="font" />
1329 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1330 <text>Swipe to Back Up</text>
1331 </object>
1332
1333 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001334 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001335 <placement x="%col2_x%" y="%row1_y%" />
1336 <font resource="font" color="%button_text_color%" />
1337 <text>Refresh Sizes</text>
1338 <image resource="main_button" />
1339 <action function="refreshsizes"></action>
1340 </object>
1341
1342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001344 <placement x="%col2_x%" y="%backup_name_y%" />
1345 <font resource="font" color="%button_text_color%" />
1346 <text>Set Backup Name</text>
1347 <image resource="main_button" />
1348 <actions>
1349 <action function="set">tw_fileexists=0</action>
1350 <action function="page">backupname1</action>
1351 </actions>
1352 </object>
1353
1354 <object type="checkbox">
1355 <placement x="%col1_x%" y="%row2_text_y%" />
1356 <font resource="font" color="%text_color%" />
1357 <text>System (%tw_backup_system_size% MB)</text>
1358 <data variable="tw_backup_system" />
1359 <image checked="checkbox_true" unchecked="checkbox_false" />
1360 </object>
1361
1362 <object type="checkbox">
1363 <placement x="%col1_x%" y="%row3_text_y%" />
1364 <font resource="font" color="%text_color%" />
1365 <text>Data (%tw_backup_data_size% MB)</text>
1366 <data variable="tw_backup_data" />
1367 <image checked="checkbox_true" unchecked="checkbox_false" />
1368 </object>
1369
1370 <object type="checkbox">
1371 <condition var1="tw_has_boot_partition" var2="1" />
1372 <placement x="%col1_x%" y="%row4_text_y%" />
1373 <font resource="font" color="%text_color%" />
1374 <text>Boot (%tw_backup_boot_size% MB)</text>
1375 <data variable="tw_backup_boot" />
1376 <image checked="checkbox_true" unchecked="checkbox_false" />
1377 </object>
1378
1379 <object type="checkbox">
1380 <condition var1="tw_has_recovery_partition" var2="1" />
1381 <placement x="%col1_x%" y="%row5_text_y%" />
1382 <font resource="font" color="%text_color%" />
1383 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1384 <data variable="tw_backup_recovery" />
1385 <image checked="checkbox_true" unchecked="checkbox_false" />
1386 </object>
1387
1388 <object type="checkbox">
1389 <placement x="%col1_x%" y="%row6_text_y%" />
1390 <font resource="font" color="%text_color%" />
1391 <text>Cache (%tw_backup_cache_size% MB)</text>
1392 <data variable="tw_backup_cache" />
1393 <image checked="checkbox_true" unchecked="checkbox_false" />
1394 </object>
1395
1396 <object type="checkbox">
1397 <condition var1="tw_has_android_secure" var2="1" />
1398 <placement x="%col1_x%" y="%row7_text_y%" />
1399 <font resource="font" color="%text_color%" />
1400 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1401 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1402 <data variable="tw_backup_andsec" />
1403 <image checked="checkbox_true" unchecked="checkbox_false" />
1404 </object>
1405
1406 <object type="checkbox">
1407 <condition var1="tw_has_sdext_partition" var2="1" />
1408 <placement x="%col1_x%" y="%row8_text_y%" />
1409 <font resource="font" color="%text_color%" />
1410 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1411 <condition var1="fileexists" var2="/sd-ext" />
1412 <data variable="tw_backup_sdext" />
1413 <image checked="checkbox_true" unchecked="checkbox_false" />
1414 </object>
1415
1416 <object type="checkbox">
1417 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001418 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 <font resource="font" color="%text_color%" />
1420 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1421 <data variable="tw_backup_sp1" />
1422 <image checked="checkbox_true" unchecked="checkbox_false" />
1423 </object>
1424
1425 <object type="checkbox">
1426 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001427 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <font resource="font" color="%text_color%" />
1429 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1430 <data variable="tw_backup_sp2" />
1431 <image checked="checkbox_true" unchecked="checkbox_false" />
1432 </object>
1433
1434 <object type="checkbox">
1435 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001436 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 <font resource="font" color="%text_color%" />
1438 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1439 <data variable="tw_backup_sp3" />
1440 <image checked="checkbox_true" unchecked="checkbox_false" />
1441 </object>
1442
1443 <object type="text" color="%text_color%">
1444 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001445 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 <text>Free Space: %tw_storage_free_size% MB</text>
1447 </object>
1448
1449 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001450 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001452 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001453 <data variable="tw_use_compression" />
1454 <image checked="checkbox_true" unchecked="checkbox_false" />
1455 </object>
1456
1457 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001458 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001459 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001460 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001461 <data variable="tw_skip_md5_generate" />
1462 <image checked="checkbox_true" unchecked="checkbox_false" />
1463 </object>
1464
1465 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001466 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 <font resource="font" color="%text_color%" />
1468 <conditions>
1469 <condition var1="tw_has_dual_storage" var2="1" />
1470 <condition var1="tw_use_external_storage" var2="1" />
1471 </conditions>
1472 <text>Use external SD</text>
1473 <image resource="radio_true" />
1474 <action function="togglestorage">external</action>
1475 </object>
1476
1477 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001478 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001479 <font resource="font" color="%text_color%" />
1480 <conditions>
1481 <condition var1="tw_has_dual_storage" var2="1" />
1482 <condition var1="tw_use_external_storage" var2="0" />
1483 </conditions>
1484 <text>Use external SD</text>
1485 <image resource="radio_false" />
1486 <action function="togglestorage">external</action>
1487 </object>
1488
1489 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001490 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001491 <font resource="font" color="%text_color%" />
1492 <conditions>
1493 <condition var1="tw_has_dual_storage" var2="1" />
1494 <condition var1="tw_use_external_storage" var2="1" />
1495 </conditions>
1496 <text>Use internal storage</text>
1497 <image resource="radio_false" />
1498 <action function="togglestorage">internal</action>
1499 </object>
1500
1501 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001502 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001503 <font resource="font" color="%text_color%" />
1504 <conditions>
1505 <condition var1="tw_has_dual_storage" var2="1" />
1506 <condition var1="tw_use_external_storage" var2="0" />
1507 </conditions>
1508 <text>Use internal storage</text>
1509 <image resource="radio_true" />
1510 <action function="togglestorage">internal</action>
1511 </object>
1512
1513 <object type="action">
1514 <touch key="home" />
1515 <action function="page">main</action>
1516 </object>
1517
1518 <object type="action">
1519 <touch key="back" />
1520 <action function="page">main</action>
1521 </object>
1522
1523 <object type="template" name="footer" />
1524 </page>
1525
1526 <page name="backupname1">
1527 <object type="action">
1528 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1529 <action function="set">tw_backup_name=</function>
1530 </object>
1531
1532 <object type="action">
1533 <action function="page">backupname2</function>
1534 </object>
1535 </page>
1536
1537 <page name="backupname2">
1538 <object type="template" name="header" />
1539
1540 <object type="text" color="%text_color%">
1541 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1542 <font resource="font" />
1543 <text>Please Enter a Backup Name</text>
1544 </object>
1545
1546 <object type="input">
1547 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1548 <background color="%input_background_color%" />
1549 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1550 <font resource="font" color="%text_color%" />
1551 <text>%tw_backup_name%</text>
1552 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001553 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001554 <actions>
1555 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1556 <action function="set">tw_existpage=backupname2</action>
1557 <action function="set">tw_notexistpage=backup</action>
1558 <action function="page">filecheck</action>
1559 </actions>
1560 </object>
1561
1562 <object type="text" color="%text_fail_color%">
1563 <condition var1="tw_fileexists" var2="1" />
1564 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1565 <font resource="font" />
1566 <text>A backup with that name already exists!</text>
1567 </object>
1568
1569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001571 <placement x="%col_center_x%" y="%row2_y%" />
1572 <font resource="font" color="%button_text_color%" />
1573 <text>Cancel</text>
1574 <image resource="main_button" />
1575 <actions>
1576 <action function="set">tw_backup_name=(Current Date)</action>
1577 <action function="page">backup</action>
1578 </actions>
1579 </object>
1580
1581 <object type="template" name="keyboardtemplate" />
1582
1583 <object type="action">
1584 <touch key="home" />
1585 <actions>
1586 <action function="set">tw_backup_name=(Current Date)</action>
1587 <action function="page">main</action>
1588 </actions>
1589 </object>
1590
1591 <object type="action">
1592 <touch key="back" />
1593 <actions>
1594 <action function="set">tw_backup_name=(Current Date)</action>
1595 <action function="page">backup</action>
1596 </actions>
1597 </object>
1598
1599 <object type="template" name="footer" />
1600 </page>
1601
1602 <page name="backup_run">
1603 <object type="template" name="header" />
1604
1605 <object type="text" color="%text_color%">
1606 <font resource="font" />
1607 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1608 <text>%tw_operation% %tw_partition%</text>
1609 </object>
1610
1611 <object type="template" name="action_page_console" />
1612
1613 <object type="template" name="progress_bar" />
1614
1615 <object type="action">
1616 <action function="nandroid">backup</action>
1617 </object>
1618
1619 <object type="action">
1620 <condition var1="tw_operation_state" var2="1" />
1621 <actions>
1622 <action function="set">tw_back=backup</action>
1623 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001624 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001625 <action function="page">action_complete</action>
1626 </actions>
1627 </object>
1628 </page>
1629
1630 <page name="restore">
1631 <object type="template" name="header" />
1632
1633 <object type="button">
1634 <placement x="%col1_x%" y="%row1_header_y%" />
1635 <font resource="font" color="%text_color%" />
1636 <conditions>
1637 <condition var1="tw_has_dual_storage" var2="1" />
1638 <condition var1="tw_use_external_storage" var2="1" />
1639 </conditions>
1640 <text>Use external SD</text>
1641 <image resource="radio_true" />
1642 <action function="togglestorage">external</action>
1643 </object>
1644
1645 <object type="button">
1646 <placement x="%col1_x%" y="%row1_header_y%" />
1647 <font resource="font" color="%text_color%" />
1648 <conditions>
1649 <condition var1="tw_has_dual_storage" var2="1" />
1650 <condition var1="tw_use_external_storage" var2="0" />
1651 </conditions>
1652 <text>Use external SD</text>
1653 <image resource="radio_false" />
1654 <action function="togglestorage">external</action>
1655 </object>
1656
1657 <object type="button">
1658 <placement x="%col2_x%" y="%row1_header_y%" />
1659 <font resource="font" color="%text_color%" />
1660 <conditions>
1661 <condition var1="tw_has_dual_storage" var2="1" />
1662 <condition var1="tw_use_external_storage" var2="1" />
1663 </conditions>
1664 <text>Use internal storage</text>
1665 <image resource="radio_false" />
1666 <action function="togglestorage">internal</action>
1667 </object>
1668
1669 <object type="button">
1670 <placement x="%col2_x%" y="%row1_header_y%" />
1671 <font resource="font" color="%text_color%" />
1672 <conditions>
1673 <condition var1="tw_has_dual_storage" var2="1" />
1674 <condition var1="tw_use_external_storage" var2="0" />
1675 </conditions>
1676 <text>Use internal storage</text>
1677 <image resource="radio_true" />
1678 <action function="togglestorage">internal</action>
1679 </object>
1680
1681 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001682 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001683 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1684 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1685 <text>Select Package to Restore:</text>
1686 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1687 <sort name="tw_gui_sort_order" />
1688 <icon folder="folder_icon" file="file_icon" />
1689 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001690 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <filter folders="1" files="0" nav="0" />
1692 <path name="tw_backups_folder" />
1693 <data name="tw_restore" default="" />
1694 <selection name="tw_restore_name" />
1695 </object>
1696
1697 <object type="template" name="sort_options" />
1698
1699 <object type="action">
1700 <condition var1="tw_restore" op="modified" />
1701 <actions>
1702 <action function="readBackup"></action>
1703 <action function="page">restore_select</action>
1704 </actions>
1705 </object>
1706
1707 <object type="action">
1708 <touch key="home" />
1709 <action function="page">main</action>
1710 </object>
1711
1712 <object type="action">
1713 <touch key="back" />
1714 <action function="page">main</action>
1715 </object>
1716
1717 <object type="template" name="footer" />
1718 </page>
1719
1720 <page name="restore_select">
1721 <object type="template" name="header" />
1722
1723 <object type="text">
1724 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1725 <font resource="font" color="%text_color%" />
1726 <text>Restoring: %tw_restore_name%</text>
1727 </object>
1728
1729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001731 <placement x="%col2_x%" y="%row1_y%" />
1732 <font resource="font" color="%button_text_color%" />
1733 <text>Rename Backup</text>
1734 <image resource="main_button" />
1735 <actions>
1736 <action function="set">tw_backup_rename=</action>
1737 <action function="set">tw_fileexists=0</action>
1738 <action function="page">renamebackup</action>
1739 </actions>
1740 </object>
1741
1742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001744 <placement x="%col2_x%" y="%row2_y%" />
1745 <font resource="font" color="%button_text_color%" />
1746 <text>Delete Backup</text>
1747 <image resource="main_button" />
1748 <actions>
1749 <action function="set">tw_back=restore</action>
1750 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001751 <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 -04001752 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1753 <action function="set">tw_text2=This cannot be undone!</action>
1754 <action function="set">tw_action_text1=Deleting Backup...</action>
1755 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1756 <action function="set">tw_slider_text=Swipe to Delete</action>
1757 <action function="page">confirm_action</action>
1758 </actions>
1759 </object>
1760
1761 <object type="slider">
1762 <placement x="%slider_x%" y="%slider_y%" />
1763 <resource base="slider" used="slider-used" touch="slider-touch" />
1764 <action function="page">restore_run</action>
1765 </object>
1766
1767 <object type="text" color="%text_color%">
1768 <font resource="font" />
1769 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1770 <text>Swipe to Restore</text>
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%col1_x%" y="%row2_text_y%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>System</text>
1777 <condition var1="tw_restore_system" op=">=" var2="0" />
1778 <data variable="tw_restore_system" />
1779 <image checked="checkbox_true" unchecked="checkbox_false" />
1780 </object>
1781
1782 <object type="checkbox">
1783 <placement x="%col1_x%" y="%row3_text_y%" />
1784 <font resource="font" color="%text_color%" />
1785 <text>Data</text>
1786 <condition var1="tw_restore_data" op=">=" var2="0" />
1787 <data variable="tw_restore_data" />
1788 <image checked="checkbox_true" unchecked="checkbox_false" />
1789 </object>
1790
1791 <object type="checkbox">
1792 <placement x="%col1_x%" y="%row4_text_y%" />
1793 <font resource="font" color="%text_color%" />
1794 <text>Boot</text>
1795 <condition var1="tw_restore_boot" op=">=" var2="0" />
1796 <data variable="tw_restore_boot" />
1797 <image checked="checkbox_true" unchecked="checkbox_false" />
1798 </object>
1799
1800 <object type="checkbox">
1801 <placement x="%col1_x%" y="%row6_text_y%" />
1802 <font resource="font" color="%text_color%" />
1803 <text>Cache</text>
1804 <condition var1="tw_restore_cache" op=">=" var2="0" />
1805 <data variable="tw_restore_cache" />
1806 <image checked="checkbox_true" unchecked="checkbox_false" />
1807 </object>
1808
1809 <object type="checkbox">
1810 <placement x="%col1_x%" y="%row7_text_y%" />
1811 <font resource="font" color="%text_color%" />
1812 <text>.android_secure</text>
1813 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1814 <data variable="tw_restore_andsec" />
1815 <image checked="checkbox_true" unchecked="checkbox_false" />
1816 </object>
1817
1818 <object type="checkbox">
1819 <placement x="%col1_x%" y="%row8_text_y%" />
1820 <font resource="font" color="%text_color%" />
1821 <text>sd-ext</text>
1822 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1823 <data variable="tw_restore_sdext" />
1824 <image checked="checkbox_true" unchecked="checkbox_false" />
1825 </object>
1826
1827 <object type="checkbox">
1828 <placement x="%col1_x%" y="%row10_text_y%" />
1829 <font resource="font" color="%text_color%" />
1830 <text>%tw_sp1_name%</text>
1831 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1832 <data variable="tw_restore_sp1" />
1833 <image checked="checkbox_true" unchecked="checkbox_false" />
1834 </object>
1835
1836 <object type="checkbox">
1837 <placement x="%col1_x%" y="%row11_text_y%" />
1838 <font resource="font" color="%text_color%" />
1839 <text>%tw_sp2_name%</text>
1840 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1841 <data variable="tw_restore_sp2" />
1842 <image checked="checkbox_true" unchecked="checkbox_false" />
1843 </object>
1844
1845 <object type="checkbox">
1846 <placement x="%col1_x%" y="%row12_text_y%" />
1847 <font resource="font" color="%text_color%" />
1848 <text>%tw_sp3_name%</text>
1849 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1850 <data variable="tw_restore_sp3" />
1851 <image checked="checkbox_true" unchecked="checkbox_false" />
1852 </object>
1853
1854 <object type="checkbox">
1855 <placement x="%col1_x%" y="%row14_text_y%" />
1856 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001857 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001858 <data variable="tw_skip_md5_check" />
1859 <image checked="checkbox_true" unchecked="checkbox_false" />
1860 </object>
1861
1862 <object type="text" color="%text_color%">
1863 <font resource="font" />
1864 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1865 <text>Package Date: %tw_restore_file_date%</text>
1866 </object>
1867
1868 <object type="action">
1869 <touch key="home" />
1870 <action function="page">main</action>
1871 </object>
1872
1873 <object type="action">
1874 <touch key="back" />
1875 <action function="page">restore</action>
1876 </object>
1877
1878 <object type="template" name="footer" />
1879 </page>
1880
1881 <page name="renamebackup">
1882 <object type="template" name="header" />
1883
1884 <object type="text" color="%text_color%">
1885 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1886 <font resource="font" />
1887 <text>Please Enter a New Backup Name</text>
1888 </object>
1889
1890 <object type="input">
1891 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1892 <background color="%input_background_color%" />
1893 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1894 <font resource="font" color="%text_color%" />
1895 <text>%tw_backup_rename%</text>
1896 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001897 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001898 <actions>
1899 <action function="set">tw_back=restore</action>
1900 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001901 <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 -04001902 <action function="set">tw_text1=Rename Backup?</action>
1903 <action function="set">tw_text2=This cannot be undone!</action>
1904 <action function="set">tw_action_text1=Renaming Backup...</action>
1905 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1906 <action function="set">tw_slider_text=Swipe to Rename</action>
1907 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1908 <action function="set">tw_existpage=renamebackup</action>
1909 <action function="set">tw_notexistpage=confirm_action</action>
1910 <action function="page">filecheck</action>
1911 </actions>
1912 </object>
1913
1914 <object type="text" color="%text_fail_color%">
1915 <condition var1="tw_fileexists" var2="1" />
1916 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1917 <font resource="font" />
1918 <text>A backup with that name already exists!</text>
1919 </object>
1920
1921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001922 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001923 <placement x="%col_center_x%" y="%row2_y%" />
1924 <font resource="font" color="%button_text_color%" />
1925 <text>Cancel</text>
1926 <image resource="main_button" />
1927 <action function="page">restore_select</action>
1928 </object>
1929
1930 <object type="template" name="keyboardtemplate" />
1931
1932 <object type="action">
1933 <touch key="home" />
1934 <action function="page">main</action>
1935 </object>
1936
1937 <object type="action">
1938 <touch key="back" />
1939 <action function="page">restore_select</action>
1940 </object>
1941
1942 <object type="template" name="footer" />
1943 </page>
1944
1945 <page name="restore_run">
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_text_y%" placement="5" />
1951 <text>%tw_operation% %tw_partition%</text>
1952 </object>
1953
1954 <object type="template" name="action_page_console" />
1955
1956 <object type="template" name="progress_bar" />
1957
1958 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001959 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001960 <actions>
1961 <action function="set">tw_back=restore_select</action>
1962 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001963 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001964 <action function="page">action_complete</action>
1965 </actions>
1966 </object>
1967
1968 <object type="action">
1969 <action function="nandroid">restore</action>
1970 </object>
1971 </page>
1972
1973 <page name="mount">
1974 <object type="template" name="header" />
1975
1976 <object type="text" color="%text_color%">
1977 <font resource="font" />
1978 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1979 <text>Mount Menu</text>
1980 </object>
1981
1982 <object type="button">
1983 <placement x="%col1_x%" y="%row1_text_y%" />
1984 <font resource="font" color="%text_color%" />
1985 <condition var1="mounted" op="!=" var2="/system" />
1986 <text>Mount System</text>
1987 <image resource="checkbox_false" />
1988 <action function="mount">/system</action>
1989 </object>
1990
1991 <object type="button">
1992 <placement x="%col1_x%" y="%row1_text_y%" />
1993 <font resource="font" color="%text_color%" />
1994 <condition var1="mounted" op="=" var2="/system" />
1995 <text>Unmount System</text>
1996 <image resource="checkbox_true" />
1997 <action function="umount">/system</action>
1998 </object>
1999
2000 <object type="button">
2001 <placement x="%col1_x%" y="%row2_text_y%" />
2002 <font resource="font" color="%text_color%" />
2003 <condition var1="mounted" op="!=" var2="/data" />
2004 <text>Mount Data</text>
2005 <image resource="checkbox_false" />
2006 <action function="mount">/data</action>
2007 </object>
2008
2009 <object type="button">
2010 <placement x="%col1_x%" y="%row2_text_y%" />
2011 <font resource="font" color="%text_color%" />
2012 <condition var1="mounted" op="=" var2="/data" />
2013 <text>Unmount Data</text>
2014 <image resource="checkbox_true" />
2015 <action function="umount">/data</action>
2016 </object>
2017
2018 <object type="button">
2019 <placement x="%col1_x%" y="%row3_text_y%" />
2020 <font resource="font" color="%text_color%" />
2021 <condition var1="mounted" op="!=" var2="/cache" />
2022 <text>Mount Cache</text>
2023 <image resource="checkbox_false" />
2024 <action function="mount">/cache</action>
2025 </object>
2026
2027 <object type="button">
2028 <placement x="%col1_x%" y="%row3_text_y%" />
2029 <font resource="font" color="%text_color%" />
2030 <condition var1="mounted" op="=" var2="/cache" />
2031 <text>Unmount Cache</text>
2032 <image resource="checkbox_true" />
2033 <action function="umount">/cache</action>
2034 </object>
2035
2036 <object type="button">
2037 <placement x="%col1_x%" y="%row4_text_y%" />
2038 <font resource="font" color="%text_color%" />
2039 <conditions>
2040 <condition var1="tw_has_external" var2="1" />
2041 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2042 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002043 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002044 <image resource="checkbox_false" />
2045 <action function="mount">EXTERNAL</action>
2046 </object>
2047
2048 <object type="button">
2049 <placement x="%col1_x%" y="%row4_text_y%" />
2050 <font resource="font" color="%text_color%" />
2051 <conditions>
2052 <condition var1="tw_has_external" var2="1" />
2053 <condition var1="mounted" op="=" var2="EXTERNAL" />
2054 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002055 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <image resource="checkbox_true" />
2057 <action function="umount">EXTERNAL</action>
2058 </object>
2059
2060 <object type="button">
2061 <placement x="%col2_x%" y="%row4_text_y%" />
2062 <font resource="font" color="%text_color%" />
2063 <conditions>
2064 <condition var1="tw_has_internal" var2="1" />
2065 <condition var1="tw_has_data_media" var2="0" />
2066 <condition var1="mounted" op="!=" var2="INTERNAL" />
2067 </conditions>
2068 <text>Mount Internal</text>
2069 <image resource="checkbox_false" />
2070 <action function="mount">INTERNAL</action>
2071 </object>
2072
2073 <object type="button">
2074 <placement x="%col2_x%" y="%row4_text_y%" />
2075 <font resource="font" color="%text_color%" />
2076 <conditions>
2077 <condition var1="tw_has_internal" var2="1" />
2078 <condition var1="tw_has_data_media" var2="0" />
2079 <condition var1="mounted" op="=" var2="INTERNAL" />
2080 </conditions>
2081 <text>Unmount Internal</text>
2082 <image resource="checkbox_true" />
2083 <action function="umount">INTERNAL</action>
2084 </object>
2085
2086 <object type="button">
2087 <conditions>
2088 <condition var1="tw_has_sdext_partition" var2="1" />
2089 <condition var1="mounted" op="!=" var2="/sd-ext" />
2090 </conditions>
2091 <placement x="%col1_x%" y="%row5_text_y%" />
2092 <font resource="font" color="%text_color%" />
2093 <text>Mount SD-Ext</text>
2094 <image resource="checkbox_false" />
2095 <action function="mount">/sd-ext</action>
2096 </object>
2097
2098 <object type="button">
2099 <placement x="%col1_x%" y="%row5_text_y%" />
2100 <font resource="font" color="%text_color%" />
2101 <condition var1="mounted" op="=" var2="/sd-ext" />
2102 <text>Unmount SD-Ext</text>
2103 <image resource="checkbox_true" />
2104 <action function="umount">/sd-ext</action>
2105 </object>
2106
2107 <object type="button">
2108 <conditions>
2109 <condition var1="tw_boot_is_mountable" var2="1" />
2110 <condition var1="mounted" op="!=" var2="/boot" />
2111 </conditions>
2112 <placement x="%col1_x%" y="%row6_text_y%" />
2113 <font resource="font" color="#A0A0A0" />
2114 <text>Mount Boot</text>
2115 <image resource="checkbox_false" />
2116 <action function="mount">/boot</action>
2117 </object>
2118
2119 <object type="button">
2120 <conditions>
2121 <condition var1="tw_boot_is_mountable" var2="1" />
2122 <condition var1="mounted" op="=" var2="/boot" />
2123 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002124 <placement x="%col1_x%" y="%row6_text_y%" />
2125 <font resource="font" color="#A0A0A0" />
2126 <text>Unmount Boot</text>
2127 <image resource="checkbox_true" />
2128 <action function="umount">/boot</action>
2129 </object>
2130
2131 <object type="button">
2132 <placement x="%col1_x%" y="%row8_text_y%" />
2133 <font resource="font" color="%text_color%" />
2134 <conditions>
2135 <condition var1="tw_has_dual_storage" var2="1" />
2136 <condition var1="tw_use_external_storage" var2="1" />
2137 </conditions>
2138 <text>Use external SD</text>
2139 <image resource="radio_true" />
2140 <action function="togglestorage">external</action>
2141 </object>
2142
2143 <object type="button">
2144 <placement x="%col1_x%" y="%row8_text_y%" />
2145 <font resource="font" color="%text_color%" />
2146 <conditions>
2147 <condition var1="tw_has_dual_storage" var2="1" />
2148 <condition var1="tw_use_external_storage" var2="0" />
2149 </conditions>
2150 <text>Use external SD</text>
2151 <image resource="radio_false" />
2152 <action function="togglestorage">external</action>
2153 </object>
2154
2155 <object type="button">
2156 <placement x="%col2_x%" y="%row8_text_y%" />
2157 <font resource="font" color="%text_color%" />
2158 <conditions>
2159 <condition var1="tw_has_dual_storage" var2="1" />
2160 <condition var1="tw_use_external_storage" var2="1" />
2161 </conditions>
2162 <text>Use internal storage</text>
2163 <image resource="radio_false" />
2164 <action function="togglestorage">internal</action>
2165 </object>
2166
2167 <object type="button">
2168 <placement x="%col2_x%" y="%row8_text_y%" />
2169 <font resource="font" color="%text_color%" />
2170 <conditions>
2171 <condition var1="tw_has_dual_storage" var2="1" />
2172 <condition var1="tw_use_external_storage" var2="0" />
2173 </conditions>
2174 <text>Use internal storage</text>
2175 <image resource="radio_true" />
2176 <action function="togglestorage">internal</action>
2177 </object>
2178
2179 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002180 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002181 <condition var1="tw_has_usb_storage" var2="1" />
2182 <placement x="%col1_x%" y="row3_y" />
2183 <font resource="font" color="%button_text_color%" />
2184 <text>Mount USB Storage</text>
2185 <image resource="main_button" />
2186 <action function="page">usb_mount</action>
2187 </object>
2188
Gary Peckffdc6ae2012-11-21 18:02:02 -08002189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002190 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002191 <conditions>
2192 <condition var1="tw_is_encrypted" var2="1" />
2193 <condition var1="tw_is_decrypted" var2="0" />
2194 </conditions>
2195 <placement x="%col2_x%" y="row3_y" />
2196 <font resource="font" color="%button_text_color%" />
2197 <text>Decrypt Data</text>
2198 <image resource="main_button" />
2199 <action function="page">decrypt</action>
2200 </object>
2201
Dees_Troy51a0e822012-09-05 15:24:24 -04002202 <object type="action">
2203 <touch key="home" />
2204 <action function="page">main</action>
2205 </object>
2206
2207 <object type="action">
2208 <touch key="back" />
2209 <action function="page">main</action>
2210 </object>
2211
2212 <object type="template" name="footer" />
2213 </page>
2214
2215 <page name="usb_mount">
2216 <object type="template" name="header" />
2217
2218 <object type="text" color="%text_color%">
2219 <font resource="font" />
2220 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2221 <text>USB Storage Mounted</text>
2222 </object>
2223
2224 <object type="text" color="%text_color%">
2225 <placement x="%col1_x%" y="%row1_text_y%" />
2226 <font resource="font" />
2227 <text>Be sure to safely remove your device</text>
2228 </object>
2229
2230 <object type="text" color="%text_color%">
2231 <placement x="%col1_x%" y="%row2_text_y%" />
2232 <font resource="font" />
2233 <text>from your computer before unmounting!</text>
2234 </object>
2235
2236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002238 <placement x="%col1_x%" y="%row3_y%" />
2239 <font resource="font" color="%button_text_color%" />
2240 <text>Unmount</text>
2241 <image resource="main_button" />
2242 <action function="page">usb_umount</action>
2243 </object>
2244
2245 <object type="action">
2246 <action function="mount">usb</action>
2247 </object>
2248
2249 <object type="template" name="footer" />
2250 </page>
2251
2252 <page name="usb_umount">
2253 <object type="action">
2254 <action function="unmount">usb</action>
2255 </object>
2256
2257 <object type="action">
2258 <action function="page">mount</action>
2259 </object>
2260 </page>
2261
2262 <page name="reboot">
2263 <object type="template" name="header" />
2264
2265 <object type="text" color="%text_color%">
2266 <font resource="font" />
2267 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2268 <text>Reboot Menu</text>
2269 </object>
2270
2271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002273 <condition var1="tw_reboot_system" var2="1" />
2274 <placement x="%col1_x%" y="%row1_y%" />
2275 <font resource="font" color="%button_text_color%" />
2276 <text>System</text>
2277 <image resource="main_button" />
2278 <actions>
2279 <action function="set">tw_back=reboot</action>
2280 <action function="set">tw_action=reboot</action>
2281 <action function="set">tw_action_param=system</action>
2282 <action function="set">tw_has_action2=0</action>
2283 <action function="set">tw_text1=No OS Installed! Are you</action>
2284 <action function="set">tw_text2=sure you wish to reboot?</action>
2285 <action function="set">tw_action_text1=Rebooting...</action>
2286 <action function="set">tw_complete_text1=Rebooting...</action>
2287 <action function="set">tw_slider_text=Swipe to Reboot</action>
2288 <action function="page">rebootcheck</action>
2289 </actions>
2290 </object>
2291
2292 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002293 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002294 <condition var1="tw_reboot_poweroff" var2="1" />
2295 <placement x="%col2_x%" y="%row1_y%" />
2296 <font resource="font" color="%button_text_color%" />
2297 <text>Power Off</text>
2298 <image resource="main_button" />
2299 <actions>
2300 <action function="set">tw_back=reboot</action>
2301 <action function="set">tw_action=reboot</action>
2302 <action function="set">tw_action_param=poweroff</action>
2303 <action function="set">tw_has_action2=0</action>
2304 <action function="set">tw_text1=No OS Installed! Are you</action>
2305 <action function="set">tw_text2=sure you wish to power off?</action>
2306 <action function="set">tw_action_text1=Turning Off...</action>
2307 <action function="set">tw_complete_text1=Turning Off...</action>
2308 <action function="set">tw_slider_text=Swipe to Power Off</action>
2309 <action function="page">rebootcheck</action>
2310 </actions>
2311 </object>
2312
2313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002315 <condition var1="tw_reboot_recovery" var2="1" />
2316 <placement x="%col1_x%" y="%row2_y%" />
2317 <font resource="font" color="%button_text_color%" />
2318 <text>Recovery</text>
2319 <image resource="main_button" />
2320 <actions>
2321 <action function="set">tw_back=reboot</action>
2322 <action function="set">tw_action=reboot</action>
2323 <action function="set">tw_action_param=recovery</action>
2324 <action function="set">tw_has_action2=0</action>
2325 <action function="set">tw_text1=No OS Installed! Are you</action>
2326 <action function="set">tw_text2=sure you wish to reboot?</action>
2327 <action function="set">tw_action_text1=Rebooting...</action>
2328 <action function="set">tw_complete_text1=Rebooting...</action>
2329 <action function="set">tw_slider_text=Swipe to Reboot</action>
2330 <action function="page">rebootcheck</action>
2331 </actions>
2332 </object>
2333
2334 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002335 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002336 <condition var1="tw_reboot_bootloader" var2="1" />
2337 <placement x="%col2_x%" y="%row2_y%" />
2338 <font resource="font" color="%button_text_color%" />
2339 <text>Bootloader</text>
2340 <image resource="main_button" />
2341 <actions>
2342 <action function="set">tw_back=reboot</action>
2343 <action function="set">tw_action=reboot</action>
2344 <action function="set">tw_action_param=bootloader</action>
2345 <action function="set">tw_has_action2=0</action>
2346 <action function="set">tw_text1=No OS Installed! Are you</action>
2347 <action function="set">tw_text2=sure you wish to reboot?</action>
2348 <action function="set">tw_action_text1=Rebooting...</action>
2349 <action function="set">tw_complete_text1=Rebooting...</action>
2350 <action function="set">tw_slider_text=Swipe to Reboot</action>
2351 <action function="page">rebootcheck</action>
2352 </actions>
2353 </object>
2354
2355 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002356 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002357 <condition var1="tw_download_mode" var2="1" />
2358 <placement x="%col1_x%" y="%row3_y%" />
2359 <font resource="font" color="%button_text_color%" />
2360 <text>Download</text>
2361 <image resource="main_button" />
2362 <actions>
2363 <action function="set">tw_back=reboot</action>
2364 <action function="set">tw_action=reboot</action>
2365 <action function="set">tw_action_param=download</action>
2366 <action function="set">tw_has_action2=0</action>
2367 <action function="set">tw_text1=No OS Installed! Are you</action>
2368 <action function="set">tw_text2=sure you wish to reboot?</action>
2369 <action function="set">tw_action_text1=Rebooting...</action>
2370 <action function="set">tw_complete_text1=Rebooting...</action>
2371 <action function="set">tw_slider_text=Swipe to Reboot</action>
2372 <action function="page">rebootcheck</action>
2373 </actions>
2374 </object>
2375
2376 <object type="action">
2377 <touch key="home" />
2378 <action function="page">main</action>
2379 </object>
2380
2381 <object type="action">
2382 <touch key="back" />
2383 <action function="page">main</action>
2384 </object>
2385
2386 <object type="template" name="footer" />
2387 </page>
2388
2389 <page name="settings">
2390 <object type="template" name="header" />
2391
2392 <object type="text" color="%text_color%">
2393 <font resource="font" />
2394 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2395 <text>Settings</text>
2396 </object>
2397
2398 <object type="checkbox">
2399 <placement x="%col1_x%" y="%row1_text_y%" />
2400 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002401 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <data variable="tw_signed_zip_verify" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
2407 <placement x="%col1_x%" y="%row2_text_y%" />
2408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <data variable="tw_rm_rf" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002415 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002417 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <data variable="tw_skip_md5_generate" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002423 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002425 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <data variable="tw_skip_md5_check" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002431 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002433 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <data variable="tw_ignore_image_size" />
2435 <image checked="checkbox_true" unchecked="checkbox_false" />
2436 </object>
2437
2438 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002439 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002441 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <data variable="tw_simulate_actions" />
2443 <image checked="checkbox_true" unchecked="checkbox_false" />
2444 </object>
2445
2446 <object type="checkbox">
2447 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002448 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002449 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002450 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002451 <data variable="tw_simulate_fail" />
2452 <image checked="checkbox_true" unchecked="checkbox_false" />
2453 </object>
2454
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002455 <object type="checkbox">
2456 <placement x="%col1_x%" y="%row8_text_y%" />
2457 <font resource="font" color="%text_color%" />
2458 <text>Use Military Time</text>
2459 <data variable="tw_military_time" />
2460 <image checked="checkbox_true" unchecked="checkbox_false" />
2461 </object>
2462
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <placement x="%col1_x%" y="%row3_y%" />
2466 <font resource="font" color="%button_text_color%" />
2467 <text>Time Zone</text>
2468 <image resource="main_button" />
2469 <action function="page">timezone</action>
2470 </object>
2471
2472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002473 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002474 <placement x="%col2_x%" y="%row3_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>Screen</text>
2477 <image resource="main_button" />
2478 <action function="page">screen</action>
2479 </object>
2480
2481 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <placement x="%col_center_x%" y="%row4_y%" />
2483 <font resource="font" color="%button_text_color%" />
2484 <text>Restore Defaults</text>
2485 <image resource="main_button" />
2486 <action function="restoredefaultsettings"></action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="home" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="action">
2495 <touch key="back" />
2496 <action function="page">main</action>
2497 </object>
2498
2499 <object type="template" name="footer" />
2500 </page>
2501
2502 <page name="timezone">
2503 <object type="template" name="header" />
2504
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002506 <highlight color="%fileselector_highlight_color%" />
2507 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2509 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002510 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002511 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002513 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <data name="tw_time_zone_guisel" />
2515 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2516 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2517 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2518 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2519 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2520 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2521 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2522 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2523 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2524 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2525 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2526 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2527 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2528 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2529 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2530 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2531 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2532 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2533 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2534 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2535 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2536 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2537 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2538 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2539 </object>
2540
2541 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002542 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <font resource="font" color="%text_color%" />
2544 <text>Do you use daylight savings time (DST)?</text>
2545 <data variable="tw_time_zone_guidst" />
2546 <image checked="checkbox_true" unchecked="checkbox_false" />
2547 </object>
2548
2549 <object type="text" color="%text_color%">
2550 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002551 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002557 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <font resource="font" color="%button_text_color%" />
2559 <text>None</text>
2560 <image resource="medium_button" />
2561 <action function="set">tw_time_zone_guioffset=0</action>
2562 </object>
2563
2564 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002565 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002566 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <font resource="font" color="%button_text_color%" />
2568 <text>15</text>
2569 <image resource="medium_button" />
2570 <action function="set">tw_time_zone_guioffset=15</action>
2571 </object>
2572
2573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002574 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002575 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002576 <font resource="font" color="%button_text_color%" />
2577 <text>30</text>
2578 <image resource="medium_button" />
2579 <action function="set">tw_time_zone_guioffset=30</action>
2580 </object>
2581
2582 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002583 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002584 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002585 <font resource="font" color="%button_text_color%" />
2586 <text>45</text>
2587 <image resource="medium_button" />
2588 <action function="set">tw_time_zone_guioffset=45</action>
2589 </object>
2590
2591 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002592 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002593 <placement x="%col_center_x%" y="%tz_set_y%" />
2594 <font resource="font" color="%button_text_color%" />
2595 <text>Set Time Zone</text>
2596 <image resource="main_button" />
2597 <action function="setguitimezone"></action>
2598 </object>
2599
2600 <object type="text" color="%text_color%">
2601 <font resource="font" />
2602 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2603 <text>Current Time Zone: %tw_time_zone%</text>
2604 </object>
2605
2606 <object type="action">
2607 <touch key="home" />
2608 <action function="page">main</action>
2609 </object>
2610
2611 <object type="action">
2612 <touch key="back" />
2613 <action function="page">settings</action>
2614 </object>
2615
2616 <object type="template" name="footer" />
2617 </page>
2618
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <page name="screen">
2620 <object type="template" name="header" />
2621
2622 <object type="text" color="%text_color%">
2623 <font resource="font" />
2624 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2625 <text>Screen Settings</text>
2626 </object>
2627
2628 <object type="text" color="%text_color%">
2629 <font resource="font" />
2630 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2631 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2632 </object>
2633
2634 <object type="button">
2635 <placement x="%col1_medium_x%" y="%row2_y%" />
2636 <font resource="font" color="%button_text_color%" />
2637 <text>None</text>
2638 <image resource="medium_button" />
2639 <action function="set">tw_screen_timeout_secs=0</action>
2640 </object>
2641
2642 <object type="button">
2643 <placement x="%col2_medium_x%" y="%row2_y%" />
2644 <font resource="font" color="%button_text_color%" />
2645 <text>60</text>
2646 <image resource="medium_button" />
2647 <action function="set">tw_screen_timeout_secs=60</action>
2648 </object>
2649
2650 <object type="button">
2651 <placement x="%col3_medium_x%" y="%row2_y%" />
2652 <font resource="font" color="%button_text_color%" />
2653 <text>120</text>
2654 <image resource="medium_button" />
2655 <action function="set">tw_screen_timeout_secs=120</action>
2656 </object>
2657
2658 <object type="button">
2659 <placement x="%col4_medium_x%" y="%row2_y%" />
2660 <font resource="font" color="%button_text_color%" />
2661 <text>180</text>
2662 <image resource="medium_button" />
2663 <action function="set">tw_screen_timeout_secs=180</action>
2664 </object>
2665
2666 <object type="text" color="%text_color%">
2667 <condition var1="tw_has_brightnesss_file" var2="1" />
2668 <font resource="font" />
2669 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2670 <text>Brightness: %tw_brightness_display%</text>
2671 </object>
2672
2673 <object type="button">
2674 <condition var1="tw_has_brightnesss_file" var2="1" />
2675 <placement x="%col1_medium_x%" y="%row4_y%" />
2676 <font resource="font" color="%button_text_color%" />
2677 <text>25%</text>
2678 <image resource="medium_button" />
2679 <actions>
2680 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2681 <action function="set">tw_brightness_display=25%</action>
2682 <action function="set">tw_brightness=%tw_brightness_25%</action>
2683 </actions>
2684 </object>
2685
2686 <object type="button">
2687 <condition var1="tw_has_brightnesss_file" var2="1" />
2688 <placement x="%col2_medium_x%" y="%row4_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>50%</text>
2691 <image resource="medium_button" />
2692 <actions>
2693 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2694 <action function="set">tw_brightness_display=50%</action>
2695 <action function="set">tw_brightness=%tw_brightness_50%</action>
2696 </actions>
2697 </object>
2698
2699 <object type="button">
2700 <condition var1="tw_has_brightnesss_file" var2="1" />
2701 <placement x="%col3_medium_x%" y="%row4_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>75%</text>
2704 <image resource="medium_button" />
2705 <actions>
2706 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2707 <action function="set">tw_brightness_display=75%</action>
2708 <action function="set">tw_brightness=%tw_brightness_75%</action>
2709 </actions>
2710 </object>
2711
2712 <object type="button">
2713 <condition var1="tw_has_brightnesss_file" var2="1" />
2714 <placement x="%col4_medium_x%" y="%row4_y%" />
2715 <font resource="font" color="%button_text_color%" />
2716 <text>100%</text>
2717 <image resource="medium_button" />
2718 <actions>
2719 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2720 <action function="set">tw_brightness_display=100%</action>
2721 <action function="set">tw_brightness=%tw_brightness_100%</action>
2722 </actions>
2723 </object>
2724
2725 <object type="action">
2726 <touch key="home" />
2727 <action function="page">main</action>
2728 </object>
2729
2730 <object type="action">
2731 <touch key="back" />
2732 <action function="page">settings</action>
2733 </object>
2734
2735 <object type="template" name="footer" />
2736 </page>
2737
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <page name="advanced">
2739 <object type="template" name="header" />
2740
2741 <object type="text" color="%text_color%">
2742 <font resource="font" />
2743 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2744 <text>Advanced</text>
2745 </object>
2746
2747 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002748 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002749 <placement x="%col1_x%" y="%row1_y%" />
2750 <font resource="font" color="%button_text_color%" />
2751 <text>Copy Log to SD</text>
2752 <image resource="main_button" />
2753 <actions>
2754 <action function="set">tw_back=advanced</action>
2755 <action function="set">tw_action=copylog</action>
2756 <action function="set">tw_text1=Copy Log to SD Card?</action>
2757 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2758 <action function="set">tw_complete_text1=Log Copy Complete</action>
2759 <action function="set">tw_slider_text=Swipe to Confirm</action>
2760 <action function="page">confirm_action</action>
2761 </actions>
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="%row1_y%" />
2767 <font resource="font" color="%button_text_color%" />
2768 <text>Fix Permissions</text>
2769 <image resource="main_button" />
2770 <actions>
2771 <action function="set">tw_back=advanced</action>
2772 <action function="set">tw_action=fixpermissions</action>
2773 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2776 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002777 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <action function="page">confirm_action</action>
2779 </actions>
2780 </object>
2781
2782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <condition var1="tw_allow_partition_sdcard" var2="1" />
2785 <placement x="%col1_x%" y="%row2_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>Partition SD Card</text>
2788 <image resource="main_button" />
2789 <action function="page">partsdcard</action>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <placement x="%col2_x%" y="%row2_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text>File Manager</text>
2797 <image resource="main_button" />
2798 <action function="page">filemanagerlist</action>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <placement x="%col1_x%" y="%row3_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>Terminal Command</text>
2806 <image resource="main_button" />
2807 <action function="page">terminalfolder</action>
2808 </object>
2809
2810 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002811 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002812 <placement x="%col2_x%" y="%row3_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text>Reload Theme</text>
2815 <image resource="main_button" />
2816 <action function="reload"></action>
2817 </object>
2818
2819 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002820 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002821 <placement x="%col1_x%" y="%row4_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>ADB Sideload</text>
2824 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002825 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002826 </object>
2827
2828 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002829 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002830 <condition var1="tw_show_dumlock" var2="1" />
2831 <placement x="%col2_x%" y="%row4_y%" />
2832 <font resource="font" color="%button_text_color%" />
2833 <text>HTC Dumlock</text>
2834 <image resource="main_button" />
2835 <action function="page">htcdumlock</action>
2836 </object>
2837
2838 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002839 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 <condition var1="tw_has_injecttwrp" var2="1" />
2841 <placement x="%col2_x%" y="%row4_y%" />
2842 <font resource="font" color="%button_text_color%" />
2843 <text>Re-Inject TWRP</text>
2844 <image resource="main_button" />
2845 <actions>
2846 <action function="set">tw_back=advanced</action>
2847 <action function="set">tw_action=reinjecttwrp</action>
2848 <action function="set">tw_text1=Re-Inject TWRP?</action>
2849 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2850 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2851 <action function="set">tw_slider_text=Swipe to Confirm</action>
2852 <action function="page">confirm_action</action>
2853 </actions>
2854 </object>
2855
2856 <object type="action">
2857 <touch key="home" />
2858 <action function="page">main</action>
2859 </object>
2860
2861 <object type="action">
2862 <touch key="back" />
2863 <action function="page">main</action>
2864 </object>
2865
2866 <object type="template" name="footer" />
2867 </page>
2868
2869 <page name="partsdcard">
2870 <object type="template" name="header" />
2871
2872 <object type="text" color="%text_color%">
2873 <font resource="font" />
2874 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2875 <text>Partition SD Card</text>
2876 </object>
2877
2878 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002879 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002880 <placement x="%col1_x%" y="%row1_y%" />
2881 <font resource="font" color="%button_text_color%" />
2882 <text></text>
2883 <image resource="minus_button" />
2884 <action function="addsubtract">tw_sdext_size-128</action>
2885 </object>
2886
2887 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002888 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002889 <placement x="%sd_plus_x%" y="%row1_y%" />
2890 <font resource="font" color="%button_text_color%" />
2891 <text></text>
2892 <image resource="plus_button" />
2893 <action function="addsubtract">tw_sdext_size+128</action>
2894 </object>
2895
2896 <object type="text" color="%text_color%">
2897 <font resource="font" />
2898 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2899 <text>EXT Size: %tw_sdext_size%</text>
2900 </object>
2901
2902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002903 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <placement x="%col1_x%" y="%sdswap_button_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text></text>
2907 <image resource="minus_button" />
2908 <action function="addsubtract">tw_swap_size-32</action>
2909 </object>
2910
2911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002912 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002913 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text></text>
2916 <image resource="plus_button" />
2917 <action function="addsubtract">tw_swap_size+32</action>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2923 <text>Swap Size: %tw_swap_size%</text>
2924 </object>
2925
2926 <object type="text" color="%text_color%">
2927 <font resource="font" />
2928 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2929 <text>File system: %tw_sdpart_file_system%</text>
2930 </object>
2931
2932 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002933 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002934 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2935 <font resource="font" color="%button_text_color%" />
2936 <text>EXT3</text>
2937 <image resource="main_button" />
2938 <action function="set">tw_sdpart_file_system=ext3</action>
2939 </object>
2940
2941 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002942 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002943 <condition var1="tw_sdext_disable_ext4" var2="0" />
2944 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2945 <font resource="font" color="%button_text_color%" />
2946 <text>EXT4</text>
2947 <image resource="main_button" />
2948 <action function="set">tw_sdpart_file_system=ext4</action>
2949 </object>
2950
2951 <object type="text" color="%text_color%">
2952 <font resource="font" />
2953 <placement x="%col1_x%" y="%row12_text_y%" />
2954 <text>You will lose all files on your SD card!</text>
2955 </object>
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%col1_x%" y="%row13_text_y%" />
2960 <text>This action cannot be undone!</text>
2961 </object>
2962
2963 <object type="slider">
2964 <placement x="%slider_x%" y="%slider_y%" />
2965 <resource base="slider" used="slider-used" touch="slider-touch" />
2966 <action function="page">partsdcardaction</action>
2967 <actions>
2968 <action function="set">tw_back=partsdcard</action>
2969 <action function="set">tw_action=partitionsd</action>
2970 <action function="set">tw_has_action2=1</action>
2971 <action function="set">tw_action2=set</action>
2972 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2973 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2974 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002975 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002976 <action function="page">action_page</action>
2977 </actions>
2978 </object>
2979
2980 <object type="text" color="%text_color%">
2981 <font resource="font" />
2982 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2983 <text>Swipe to Partition</text>
2984 </object>
2985
2986 <object type="action">
2987 <touch key="home" />
2988 <action function="page">main</action>
2989 </object>
2990
2991 <object type="action">
2992 <touch key="back" />
2993 <action function="page">advanced</action>
2994 </object>
2995
2996 <object type="template" name="footer" />
2997 </page>
2998
2999 <page name="htcdumlock">
3000 <object type="template" name="header" />
3001
3002 <object type="text" color="%text_color%">
3003 <font resource="font" />
3004 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3005 <text>HTC Dumlock</text>
3006 </object>
3007
3008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003009 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003010 <condition var1="tw_show_dumlock" var2="1" />
3011 <placement x="%col1_x%" y="%row1_y%" />
3012 <font resource="font" color="%button_text_color%" />
3013 <text>Restore Original Boot</text>
3014 <image resource="main_button" />
3015 <actions>
3016 <action function="set">tw_back=htcdumlock</action>
3017 <action function="set">tw_action=htcdumlockrestoreboot</action>
3018 <action function="set">tw_text1=Restore original boot image?</action>
3019 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3020 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3021 <action function="set">tw_slider_text=Swipe to Confirm</action>
3022 <action function="page">confirm_action</action>
3023 </actions>
3024 </object>
3025
3026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003027 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003028 <condition var1="tw_show_dumlock" var2="1" />
3029 <placement x="%col2_x%" y="%row1_y%" />
3030 <font resource="font" color="%button_text_color%" />
3031 <text>Reflash Recovery</text>
3032 <image resource="main_button" />
3033 <actions>
3034 <action function="set">tw_back=htcdumlock</action>
3035 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3036 <action function="set">tw_text1=Reflash recovery to boot?</action>
3037 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3038 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3039 <action function="set">tw_slider_text=Swipe to Confirm</action>
3040 <action function="page">confirm_action</action>
3041 </actions>
3042 </object>
3043
3044 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003045 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003046 <condition var1="tw_show_dumlock" var2="1" />
3047 <placement x="%col1_x%" y="%row2_y%" />
3048 <font resource="font" color="%button_text_color%" />
3049 <text>Install HTC Dumlock</text>
3050 <image resource="main_button" />
3051 <actions>
3052 <action function="set">tw_back=htcdumlock</action>
3053 <action function="set">tw_action=installhtcdumlock</action>
3054 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3055 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3056 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3057 <action function="set">tw_slider_text=Swipe to Confirm</action>
3058 <action function="page">confirm_action</action>
3059 </actions>
3060 </object>
3061
3062 <object type="action">
3063 <touch key="home" />
3064 <action function="page">main</action>
3065 </object>
3066
3067 <object type="action">
3068 <touch key="back" />
3069 <action function="page">advanced</action>
3070 </object>
3071
3072 <object type="template" name="footer" />
3073 </page>
3074
3075 <page name="lock">
3076 <background color="#000000A0" />
3077
3078 <object type="image">
3079 <image resource="unlock-icon" />
3080 <placement x="%lock_x%" y="%lock_y%" />
3081 </object>
3082
3083 <object type="slider">
3084 <placement x="%slider_x%" y="%slider_y%" />
3085 <resource base="slider" used="slider-used" touch="slider-touch" />
3086 <action function="overlay"></action>
3087 </object>
3088
3089 <object type="text" color="%text_color%">
3090 <font resource="font" />
3091 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3092 <text>Swipe to Unlock</text>
3093 </object>
3094 </page>
3095
3096 <page name="filemanagerlist">
3097 <object type="template" name="header" />
3098
3099 <object type="text" color="%text_color%">
3100 <font resource="font" />
3101 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3102 <text>File Manager: Select a File or Folder</text>
3103 </object>
3104
3105 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003106 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003107 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3108 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3109 <text>%tw_file_location1%</text>
3110 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3111 <sort name="tw_gui_sort_order" />
3112 <icon folder="folder_icon" file="file_icon" />
3113 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003114 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <folders="1" files="1" />
3116 <path name="tw_file_location1" default="/" />
3117 <data name="tw_filename1" />
3118 <selection name="tw_selection1" />
3119 </object>
3120
3121 <object type="template" name="sort_options" />
3122
3123 <object type="action">
3124 <actions>
3125 <action function="set">tw_fm_type=File</action>
3126 <action function="set">tw_fm_isfolder=0</action>
3127 </actions>
3128 </object>
3129
3130 <object type="action">
3131 <touch key="home" />
3132 <action function="page">main</action>
3133 </object>
3134
3135 <object type="action">
3136 <touch key="back" />
3137 <action function="page">advanced</action>
3138 </object>
3139
3140 <object type="action">
3141 <condition var1="tw_filename1" op="modified" />
3142 <actions>
3143 <action function="page">filemanageroptions</action>
3144 </actions>
3145 </object>
3146
3147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003148 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003149 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3150 <font resource="font" color="%button_text_color%" />
3151 <text>Select</text>
3152 <image resource="medium_button" />
3153 <actions>
3154 <action function="set">tw_filename1=tw_file_location1</action>
3155 <action function="set">tw_fm_isfolder=1</action>
3156 <action function="set">tw_fm_type=Folder</action>
3157 <action function="page">filemanageroptions</action>
3158 </actions>
3159 </object>
3160
3161 <object type="template" name="footer" />
3162 </page>
3163
3164 <page name="filemanageroptions">
3165 <object type="template" name="header" />
3166
3167 <object type="text" color="%text_color%">
3168 <font resource="font" />
3169 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3170 <text>%tw_fm_type% Selected:</text>
3171 </object>
3172
3173 <object type="text" color="%text_color%">
3174 <font resource="font" />
3175 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3176 <text>%tw_filename1%</text>
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 <condition var1="tw_fm_isfolder" var2="0" />
3182 <placement x="%col1_x%" y="%row2_y%" />
3183 <font resource="font" color="%button_text_color%" />
3184 <text>Copy File</text>
3185 <image resource="main_button" />
3186 <actions>
3187 <action function="set">tw_filemanager_command=cp</action>
3188 <action function="set">tw_fm_text1=Copying</action>
3189 <action function="page">choosedestinationfolder</action>
3190 </actions>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <condition var1="tw_fm_isfolder" var2="1" />
3196 <placement x="%col1_x%" y="%row2_y%" />
3197 <font resource="font" color="%button_text_color%" />
3198 <text>Copy Folder</text>
3199 <image resource="main_button" />
3200 <actions>
3201 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3202 <action function="set">tw_fm_text1=Copying</action>
3203 <action function="page">choosedestinationfolder</action>
3204 </actions>
3205 </object>
3206
3207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003209 <placement x="%col2_x%" y="%row2_y%" />
3210 <font resource="font" color="%button_text_color%" />
3211 <text>Move</text>
3212 <image resource="main_button" />
3213 <actions>
3214 <action function="set">tw_filemanager_command=mv</action>
3215 <action function="set">tw_fm_text1=Moving</action>
3216 <action function="page">choosedestinationfolder</action>
3217 </actions>
3218 </object>
3219
3220 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003221 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003222 <placement x="%col1_x%" y="%row3_y%" />
3223 <font resource="font" color="%button_text_color%" />
3224 <text>chmod 755</text>
3225 <image resource="main_button" />
3226 <actions>
3227 <action function="set">tw_filemanager_command=chmod 755</action>
3228 <action function="set">tw_fm_text1=chmod 755</action>
3229 <action function="set">tw_fm_text2=</action>
3230 <action function="set">tw_fm_text3=</action>
3231 <action function="set">tw_include_text3=0</action>
3232 <action function="set">tw_back=filemanageroptions</action>
3233 <action function="page">filemanagerconfirm</action>
3234 </actions>
3235 </object>
3236
3237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <placement x="%col2_x%" y="%row3_y%" />
3240 <font resource="font" color="%button_text_color%" />
3241 <text>chmod</text>
3242 <image resource="main_button" />
3243 <actions>
3244 <action function="set">tw_filemanager_rename=0000</action>
3245 <action function="set">tw_fm_text2=</action>
3246 <action function="set">tw_fm_text3=</action>
3247 <action function="set">tw_include_text3=0</action>
3248 <action function="set">tw_back=filemanageroptions</action>
3249 <action function="page">filemanagerchmod</action>
3250 </actions>
3251 </object>
3252
3253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003255 <placement x="%col1_x%" y="%row4_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>Delete</text>
3258 <image resource="main_button" />
3259 <actions>
3260 <action function="set">tw_filemanager_command=rm -rf</action>
3261 <action function="set">tw_fm_text1=Deleting</action>
3262 <action function="set">tw_fm_text2=</action>
3263 <action function="set">tw_fm_text3=</action>
3264 <action function="set">tw_include_text3=0</action>
3265 <action function="set">tw_back=filemanageroptions</action>
3266 <action function="page">filemanagerconfirm</action>
3267 </actions>
3268 </object>
3269
3270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003271 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003272 <condition var1="tw_fm_isfolder" var2="0" />
3273 <placement x="%col2_x%" y="%row4_y%" />
3274 <font resource="font" color="%button_text_color%" />
3275 <text>Rename File</text>
3276 <image resource="main_button" />
3277 <actions>
3278 <action function="set">tw_filemanager_rename=tw_selection1</action>
3279 <action function="set">tw_fm_text1=Renaming</action>
3280 <action function="set">tw_filemanager_command=mv</action>
3281 <action function="page">filemanagerrenamefile</action>
3282 </actions>
3283 </object>
3284
3285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003287 <condition var1="tw_fm_isfolder" var2="1" />
3288 <placement x="%col2_x%" y="%row4_y%" />
3289 <font resource="font" color="%button_text_color%" />
3290 <text>Rename Folder</text>
3291 <image resource="main_button" />
3292 <actions>
3293 <action function="set">tw_filemanager_rename=tw_selection1</action>
3294 <action function="set">tw_fm_text1=Renaming</action>
3295 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3296 <action function="page">filemanagerrenamefolder</action>
3297 </actions>
3298 </object>
3299
3300 <object type="action">
3301 <touch key="home" />
3302 <action function="page">main</action>
3303 </object>
3304
3305 <object type="action">
3306 <touch key="back" />
3307 <action function="page">filemanagerlist</action>
3308 </object>
3309
3310 <object type="template" name="footer" />
3311 </page>
3312
3313 <page name="choosedestinationfolder">
3314 <object type="template" name="header" />
3315
3316 <object type="text" color="%text_color%">
3317 <font resource="font" />
3318 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3319 <text>Browse to Destination Folder & Press Select</text>
3320 </object>
3321
3322 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003323 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3325 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3326 <text>%tw_file_location2%</text>
3327 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3328 <sort name="tw_gui_sort_order" />
3329 <icon folder="folder_icon" file="file_icon" />
3330 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003331 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003332 <filter folders="1" files="0" />
3333 <path name="tw_file_location2" default="/" />
3334 <data name="tw_filename2" />
3335 <selection name="tw_selection2" />
3336 </object>
3337
3338 <object type="template" name="sort_options" />
3339
3340 <object type="action">
3341 <touch key="home" />
3342 <action function="page">main</action>
3343 </object>
3344
3345 <object type="action">
3346 <touch key="back" />
3347 <action function="page">filemanageroptions</action>
3348 </object>
3349
3350 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003351 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003352 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3353 <font resource="font" color="%button_text_color%" />
3354 <text>Select</text>
3355 <image resource="medium_button" />
3356 <actions>
3357 <action function="set">tw_fm_text2=to</action>
3358 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3359 <action function="set">tw_include_text3=1</action>
3360 <action function="set">tw_back=filemanageroptions</action>
3361 <action function="page">filemanagerconfirm</action>
3362 </actions>
3363 </object>
3364
3365 <object type="template" name="footer" />
3366 </page>
3367
3368 <page name="filemanagerrenamefile">
3369 <object type="template" name="header" />
3370
3371 <object type="text" color="%text_color%">
3372 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3373 <font resource="font" />
3374 <text>Please Enter a New %tw_fm_type% Name</text>
3375 </object>
3376
3377 <object type="input">
3378 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3379 <background color="%input_background_color%" />
3380 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3381 <font resource="font" color="%text_color%" />
3382 <text>%tw_filemanager_rename%</text>
3383 <data name="tw_filemanager_rename" />
3384 <restrict minlen="1" maxlen="128" />
3385 <actions>
3386 <action function="set">tw_fm_text2=to</action>
3387 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3388 <action function="set">tw_include_text3=1</action>
3389 <action function="set">tw_back=filemanageroptions</action>
3390 <action function="page">filemanagerconfirm</action>
3391 </actions>
3392 </object>
3393
3394 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003395 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003396 <placement x="%col_center_x%" y="%row2_y%" />
3397 <font resource="font" color="%button_text_color%" />
3398 <text>Cancel</text>
3399 <image resource="main_button" />
3400 <action function="page">filemanageroptions</action>
3401 </object>
3402
3403 <object type="template" name="keyboardtemplate" />
3404
3405 <object type="action">
3406 <touch key="home" />
3407 <action function="page">main</action>
3408 </object>
3409
3410 <object type="action">
3411 <touch key="back" />
3412 <action function="page">filemanageroptions</action>
3413 </object>
3414
3415 <object type="template" name="footer" />
3416 </page>
3417
3418 <page name="filemanagerrenamefolder">
3419 <object type="template" name="header" />
3420
3421 <object type="text" color="%text_color%">
3422 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3423 <font resource="font" />
3424 <text>Please Enter a New %tw_fm_type% Name</text>
3425 </object>
3426
3427 <object type="input">
3428 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3429 <background color="%input_background_color%" />
3430 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3431 <font resource="font" color="%text_color%" />
3432 <text>%tw_filemanager_rename%</text>
3433 <data name="tw_filemanager_rename" />
3434 <restrict minlen="1" maxlen="128" />
3435 <actions>
3436 <action function="set">tw_fm_text2=to</action>
3437 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3438 <action function="set">tw_include_text3=1</action>
3439 <action function="set">tw_back=filemanageroptions</action>
3440 <action function="page">filemanagerconfirm</action>
3441 </actions>
3442 </object>
3443
3444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003446 <placement x="%col_center_x%" y="%row2_y%" />
3447 <font resource="font" color="%button_text_color%" />
3448 <text>Cancel</text>
3449 <image resource="main_button" />
3450 <action function="page">filemanageroptions</action>
3451 </object>
3452
3453 <object type="template" name="keyboardtemplate" />
3454
3455 <object type="action">
3456 <touch key="home" />
3457 <action function="page">main</action>
3458 </object>
3459
3460 <object type="action">
3461 <touch key="back" />
3462 <action function="page">filemanageroptions</action>
3463 </object>
3464
3465 <object type="template" name="footer" />
3466 </page>
3467
3468 <page name="filemanagerchmod">
3469 <object type="template" name="header" />
3470
3471 <object type="text" color="%text_color%">
3472 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3473 <font resource="font" />
3474 <text>Please Enter New Permissions</text>
3475 </object>
3476
3477 <object type="input">
3478 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3479 <background color="%input_background_color%" />
3480 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3481 <font resource="font" color="%text_color%" />
3482 <text>%tw_filemanager_rename%</text>
3483 <data name="tw_filemanager_rename" />
3484 <restrict minlen="3" maxlen="4" allow="0123456789" />
3485 <actions>
3486 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3487 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3488 <action function="set">tw_back=filemanageroptions</action>
3489 <action function="page">filemanagerconfirm</action>
3490 </actions>
3491 </object>
3492
3493 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003494 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003495 <placement x="%col_center_x%" y="%row2_y%" />
3496 <font resource="font" color="%button_text_color%" />
3497 <text>Cancel</text>
3498 <image resource="main_button" />
3499 <action function="page">filemanageroptions</action>
3500 </object>
3501
3502 <object type="template" name="keyboardtemplate" />
3503
3504 <object type="action">
3505 <touch key="home" />
3506 <action function="page">main</action>
3507 </object>
3508
3509 <object type="action">
3510 <touch key="back" />
3511 <action function="page">filemanageroptions</action>
3512 </object>
3513
3514 <object type="template" name="footer" />
3515 </page>
3516
3517 <page name="filemanagerconfirm">
3518 <object type="template" name="header" />
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3523 <text>%tw_fm_text1%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3529 <text>%tw_filename1%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3535 <text>%tw_fm_text2%</text>
3536 </object>
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3541 <text>%tw_fm_text3%</text>
3542 </object>
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3547 <text>Press back button to cancel.</text>
3548 </object>
3549
3550 <object type="slider">
3551 <placement x="%slider_x%" y="%slider_y%" />
3552 <resource base="slider" used="slider-used" touch="slider-touch" />
3553 <action function="page">filemanageracction</action>
3554 </object>
3555
3556 <object type="text" color="%text_color%">
3557 <font resource="font" />
3558 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3559 <text>Swipe to Confirm</text>
3560 </object>
3561
3562 <object type="action">
3563 <touch key="back" />
3564 <action function="page">%tw_back%</action>
3565 </object>
3566
3567 <object type="action">
3568 <touch key="home" />
3569 <action function="page">main</action>
3570 </object>
3571
3572 <object type="template" name="footer" />
3573 </page>
3574
3575 <page name="filemanageracction">
3576 <object type="template" name="header" />
3577
3578 <object type="text" color="%text_color%">
3579
3580 <font resource="font" />
3581 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3582 <text>%tw_fm_text1%</text>
3583 </object>
3584
3585 <object type="template" name="action_page_console" />
3586
3587 <object type="template" name="progress_bar" />
3588
3589 <object type="action">
3590 <conditions>
3591 <condition var1="tw_operation_state" var2="1" />
3592 <condition var1="tw_operation_status" var2="0" />
3593 </conditions>
3594 <actions>
3595 <action function="set">tw_back=filemanagerlist</action>
3596 <action function="set">tw_complete_text1=File Operation Complete</action>
3597 <action function="page">action_complete</action>
3598 </actions>
3599 </object>
3600
3601 <object type="action">
3602 <conditions>
3603 <condition var1="tw_operation_state" var2="1" />
3604 <condition var1="tw_operation_status" op="!=" var2="0" />
3605 </conditions>
3606 <actions>
3607 <action function="set">tw_complete_text1=File Operation Complete</action>
3608 <action function="page">action_complete</action>
3609 </actions>
3610 </object>
3611
3612 <object type="action">
3613 <condition var1="tw_include_text3" var2="0" />
3614 <actions>
3615 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3616 </actions>
3617 </object>
3618
3619 <object type="action">
3620 <condition var1="tw_include_text3" var2="1" />
3621 <actions>
3622 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3623 </actions>
3624 </object>
3625 </page>
3626
3627 <page name="decrypt">
3628 <object type="template" name="header" />
3629
3630 <object type="text" color="%text_color%">
3631 <font resource="font" />
3632 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3633 <text>Please Enter Your Password</text>
3634 </object>
3635
3636 <object type="input">
3637 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3638 <background color="%input_background_color%" />
3639 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3640 <font resource="font" color="%text_color%" />
3641 <text>%tw_crypto_display%</text>
3642 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3643 <restrict minlen="1" maxlen="254" />
3644 <actions>
3645 <action function="page">trydecrypt</action>
3646 </actions>
3647 </object>
3648
3649 <object type="text" color="%text_fail_color%">
3650 <condition var1="tw_password_fail" var2="1" />
3651 <font resource="font" />
3652 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3653 <text>Password Failed, Please Try Again</text>
3654 </object>
3655
3656 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003657 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003658 <placement x="%col_center_x%" y="%row2_y%" />
3659 <font resource="font" color="%button_text_color%" />
3660 <text>Cancel</text>
3661 <image resource="main_button" />
3662 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003663 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003664 <action function="page">main</action>
3665 </actions>
3666 </object>
3667
3668 <object type="template" name="keyboardtemplate" />
3669
Dees_Troy51a0e822012-09-05 15:24:24 -04003670 <object type="template" name="footer" />
3671 </page>
3672
3673 <page name="trydecrypt">
3674 <object type="template" name="header" />
3675
3676 <object type="text" color="%text_color%">
3677 <font resource="font" />
3678 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3679 <text>Trying Decryption with Your Password</text>
3680 </object>
3681
3682 <object type="template" name="action_page_console" />
3683
3684 <object type="template" name="progress_bar" />
3685
3686 <object type="action">
3687 <action function="decrypt"></action>
3688 </object>
3689
3690 <object type="action">
3691 <conditions>
3692 <condition var1="tw_operation_state" var2="1" />
3693 <condition var1="tw_operation_status" op="!=" var2="0" />
3694 </conditions>
3695 <actions>
3696 <action function="set">tw_password_fail=1</action>
3697 <action function="page">decrypt</action>
3698 </actions>
3699 </object>
3700
3701 <object type="action">
3702 <conditions>
3703 <condition var1="tw_operation_state" var2="1" />
3704 <condition var1="tw_operation_status" op="=" var2="0" />
3705 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003706 <actions>
3707 <action function="set">tw_page_done=1</action>
3708 <action function="page">main</action>
3709 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003710 </object>
3711 </page>
3712
3713 <page name="terminalfolder">
3714 <object type="template" name="header" />
3715
3716 <object type="text" color="%text_color%">
3717 <font resource="font" />
3718 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3719 <text>Browse to Starting Folder</text>
3720 </object>
3721
3722 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003723 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003724 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3725 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3726 <text>%tw_terminal_location%</text>
3727 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3728 <sort name="tw_gui_sort_order" />
3729 <icon folder="folder_icon" file="file_icon" />
3730 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003731 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003732 <filter folders="1" files="0" />
3733 <path name="tw_terminal_location" default="/" />
3734 <data name="tw_terminal" />
3735 <selection name="tw_terminal_selection" />
3736 </object>
3737
3738 <object type="template" name="sort_options" />
3739
3740 <object type="action">
3741 <touch key="home" />
3742 <action function="page">main</action>
3743 </object>
3744
3745 <object type="action">
3746 <touch key="back" />
3747 <action function="page">advanced</action>
3748 </object>
3749
3750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003752 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3753 <font resource="font" color="%button_text_color%" />
3754 <text>Select</text>
3755 <image resource="medium_button" />
3756 <actions>
3757 <action function="page">terminalcommand</action>
3758 </actions>
3759 </object>
3760
3761 <object type="template" name="footer" />
3762 </page>
3763
3764 <page name="terminalcommand">
3765 <object type="template" name="header" />
3766
3767 <object type="console">
3768 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3769 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3770 <font resource="fixed" />
3771 </object>
3772
3773 <object type="text" color="%text_color%">
3774 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3775 <font resource="font" />
3776 <text>Starting Path: %tw_terminal_location%</text>
3777 </object>
3778
3779 <object type="input">
3780 <condition var1="tw_terminal_state" var2="0" />
3781 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3782 <background color="%input_background_color%" />
3783 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3784 <font resource="font" color="%text_color%" />
3785 <text>%tw_terminal_command%</text>
3786 <data name="tw_terminal_command" />
3787 <restrict minlen="1" />
3788 <action function="terminalcommand">%tw_terminal_command%</action>
3789 </object>
3790
3791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003792 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003793 <condition var1="tw_terminal_state" var2="1" />
3794 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3795 <font resource="font" color="%button_text_color%" />
3796 <text>KILL</text>
3797 <image resource="medium_button" />
3798 <action function="killterminal"></action>
3799 </object>
3800
3801 <object type="template" name="keyboardtemplate" />
3802
3803 <object type="action">
3804 <touch key="home" />
3805 <action function="page">main</action>
3806 </object>
3807
3808 <object type="action">
3809 <touch key="back" />
3810 <action function="page">terminalfolder</action>
3811 </object>
3812 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003813
3814 <page name="sideload">
3815 <object type="template" name="header" />
3816
3817 <object type="text" color="%text_color%">
3818 <font resource="font" />
3819 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3820 <text>ADB Sideload</text>
3821 </object>
3822
3823 <object type="checkbox">
3824 <placement x="%col1_x%" y="%row2_text_y%" />
3825 <font resource="font" color="%text_color%" />
3826 <text>Wipe Dalvik Cache.</text>
3827 <data variable="tw_wipe_dalvik" />
3828 <image checked="checkbox_true" unchecked="checkbox_false" />
3829 </object>
3830
3831 <object type="checkbox">
3832 <placement x="%col1_x%" y="%row3_text_y%" />
3833 <font resource="font" color="%text_color%" />
3834 <text>Wipe Cache.</text>
3835 <data variable="tw_wipe_cache" />
3836 <image checked="checkbox_true" unchecked="checkbox_false" />
3837 </object>
3838
3839 <object type="slider">
3840 <placement x="%slider_x%" y="%slider_y%" />
3841 <resource base="slider" used="slider-used" touch="slider-touch" />
3842 <actions>
3843 <action function="set">tw_back=advanced</action>
3844 <action function="set">tw_action=adbsideload</action>
3845 <action function="set">tw_action_text1=ADB Sideload</action>
3846 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3847 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3848 <action function="set">tw_has_cancel=1</action>
3849 <action function="set">tw_show_reboot=1</action>
3850 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3851 <action function="page">action_page</action>
3852 </actions>
3853 </object>
3854
3855 <object type="text" color="%text_color%">
3856 <font resource="font" />
3857 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3858 <text>Swipe to Start Sideload</text>
3859 </object>
3860
3861 <object type="action">
3862 <touch key="home" />
3863 <action function="page">main</action>
3864 </object>
3865
3866 <object type="action">
3867 <touch key="back" />
3868 <action function="page">advanced</action>
3869 </object>
3870
3871 <object type="template" name="footer" />
3872 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003873
3874 <page name="installsu">
3875 <object type="template" name="header" />
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3880 <text>Install SuperSU?</text>
3881 </object>
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3886 <text>Your device does not appear to be rooted.</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3892 <text>Install SuperSU now?</text>
3893 </object>
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3898 <text>This will root your device.</text>
3899 </object>
3900
3901 <object type="button">
3902 <highlight color="%highlight_color%" />
3903 <placement x="%col_center_x%" y="%row3_y%" />
3904 <font resource="font" color="%button_text_color%" />
3905 <text>Do Not Install</text>
3906 <image resource="main_button" />
3907 <action function="set">tw_page_done=1</action>
3908 </object>
3909
3910 <object type="slider">
3911 <placement x="%slider_x%" y="%slider_y%" />
3912 <resource base="slider" used="slider-used" touch="slider-touch" />
3913 <actions>
3914 <action function="set">tw_action=installsu</action>
3915 <action function="set">tw_action_text1=Installing SuperSU</action>
3916 <action function="set">tw_action_text2=</action>
3917 <action function="page">singleaction_page</action>
3918 </actions>
3919 </object>
3920
3921 <object type="text" color="%text_color%">
3922 <font resource="font" />
3923 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3924 <text>Swipe to Install</text>
3925 </object>
3926 </page>
3927
3928 <page name="fixsu">
3929 <object type="template" name="header" />
3930
3931 <object type="text" color="%text_color%">
3932 <font resource="font" />
3933 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3934 <text>Fix Superuser Permissions?</text>
3935 </object>
3936
3937 <object type="text" color="%text_color%">
3938 <font resource="font" />
3939 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3940 <text>Root permissions appear to be lost.</text>
3941 </object>
3942
3943 <object type="text" color="%text_color%">
3944 <font resource="font" />
3945 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3946 <text>Fix root permissions now?</text>
3947 </object>
3948
3949 <object type="text" color="%text_color%">
3950 <font resource="font" />
3951 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3952 <text>(Fixes permissions on su binary & app)</text>
3953 </object>
3954
3955 <object type="button">
3956 <highlight color="%highlight_color%" />
3957 <placement x="%col_center_x%" y="%row3_y%" />
3958 <font resource="font" color="%button_text_color%" />
3959 <text>Do Not Fix</text>
3960 <image resource="main_button" />
3961 <action function="set">tw_page_done=1</action>
3962 </object>
3963
3964 <object type="slider">
3965 <placement x="%slider_x%" y="%slider_y%" />
3966 <resource base="slider" used="slider-used" touch="slider-touch" />
3967 <actions>
3968 <action function="set">tw_action=fixsu</action>
3969 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3970 <action function="set">tw_action_text2=</action>
3971 <action function="page">singleaction_page</action>
3972 </actions>
3973 </object>
3974
3975 <object type="text" color="%text_color%">
3976 <font resource="font" />
3977 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3978 <text>Swipe to Fix Root</text>
3979 </object>
3980 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003981 </pages>
3982</recovery>