blob: 44cd78232c196b90fb9bea79645583177a48f6e7 [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_Troy82111022013-02-21 21:13:09 +00002433 <text>Use Military Time.</text>
2434 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <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
2455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <placement x="%col1_x%" y="%row3_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>Time Zone</text>
2460 <image resource="main_button" />
2461 <action function="page">timezone</action>
2462 </object>
2463
2464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002465 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002466 <placement x="%col2_x%" y="%row3_y%" />
2467 <font resource="font" color="%button_text_color%" />
2468 <text>Screen</text>
2469 <image resource="main_button" />
2470 <action function="page">screen</action>
2471 </object>
2472
2473 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <placement x="%col_center_x%" y="%row4_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>Restore Defaults</text>
2477 <image resource="main_button" />
2478 <action function="restoredefaultsettings"></action>
2479 </object>
2480
2481 <object type="action">
2482 <touch key="home" />
2483 <action function="page">main</action>
2484 </object>
2485
2486 <object type="action">
2487 <touch key="back" />
2488 <action function="page">main</action>
2489 </object>
2490
2491 <object type="template" name="footer" />
2492 </page>
2493
2494 <page name="timezone">
2495 <object type="template" name="header" />
2496
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <highlight color="%fileselector_highlight_color%" />
2499 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2501 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002503 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002505 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 <data name="tw_time_zone_guisel" />
2507 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2508 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2509 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2510 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2511 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2512 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2513 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2514 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2515 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2516 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2517 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2518 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2519 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2520 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2521 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2522 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2523 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2524 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2525 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2526 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2527 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2528 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2529 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2530 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2531 </object>
2532
2533 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002534 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <font resource="font" color="%text_color%" />
2536 <text>Do you use daylight savings time (DST)?</text>
2537 <data variable="tw_time_zone_guidst" />
2538 <image checked="checkbox_true" unchecked="checkbox_false" />
2539 </object>
2540
2541 <object type="text" color="%text_color%">
2542 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002543 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2545 </object>
2546
2547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002548 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002549 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <font resource="font" color="%button_text_color%" />
2551 <text>None</text>
2552 <image resource="medium_button" />
2553 <action function="set">tw_time_zone_guioffset=0</action>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002558 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <font resource="font" color="%button_text_color%" />
2560 <text>15</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=15</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002567 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <font resource="font" color="%button_text_color%" />
2569 <text>30</text>
2570 <image resource="medium_button" />
2571 <action function="set">tw_time_zone_guioffset=30</action>
2572 </object>
2573
2574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002575 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002576 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <font resource="font" color="%button_text_color%" />
2578 <text>45</text>
2579 <image resource="medium_button" />
2580 <action function="set">tw_time_zone_guioffset=45</action>
2581 </object>
2582
2583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002585 <placement x="%col_center_x%" y="%tz_set_y%" />
2586 <font resource="font" color="%button_text_color%" />
2587 <text>Set Time Zone</text>
2588 <image resource="main_button" />
2589 <action function="setguitimezone"></action>
2590 </object>
2591
2592 <object type="text" color="%text_color%">
2593 <font resource="font" />
2594 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2595 <text>Current Time Zone: %tw_time_zone%</text>
2596 </object>
2597
2598 <object type="action">
2599 <touch key="home" />
2600 <action function="page">main</action>
2601 </object>
2602
2603 <object type="action">
2604 <touch key="back" />
2605 <action function="page">settings</action>
2606 </object>
2607
2608 <object type="template" name="footer" />
2609 </page>
2610
Dees_Troy2f9117a2013-02-17 19:52:09 -06002611 <page name="screen">
2612 <object type="template" name="header" />
2613
2614 <object type="text" color="%text_color%">
2615 <font resource="font" />
2616 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2617 <text>Screen Settings</text>
2618 </object>
2619
2620 <object type="text" color="%text_color%">
2621 <font resource="font" />
2622 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2623 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2624 </object>
2625
2626 <object type="button">
2627 <placement x="%col1_medium_x%" y="%row2_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>None</text>
2630 <image resource="medium_button" />
2631 <action function="set">tw_screen_timeout_secs=0</action>
2632 </object>
2633
2634 <object type="button">
2635 <placement x="%col2_medium_x%" y="%row2_y%" />
2636 <font resource="font" color="%button_text_color%" />
2637 <text>60</text>
2638 <image resource="medium_button" />
2639 <action function="set">tw_screen_timeout_secs=60</action>
2640 </object>
2641
2642 <object type="button">
2643 <placement x="%col3_medium_x%" y="%row2_y%" />
2644 <font resource="font" color="%button_text_color%" />
2645 <text>120</text>
2646 <image resource="medium_button" />
2647 <action function="set">tw_screen_timeout_secs=120</action>
2648 </object>
2649
2650 <object type="button">
2651 <placement x="%col4_medium_x%" y="%row2_y%" />
2652 <font resource="font" color="%button_text_color%" />
2653 <text>180</text>
2654 <image resource="medium_button" />
2655 <action function="set">tw_screen_timeout_secs=180</action>
2656 </object>
2657
2658 <object type="text" color="%text_color%">
2659 <condition var1="tw_has_brightnesss_file" var2="1" />
2660 <font resource="font" />
2661 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2662 <text>Brightness: %tw_brightness_display%</text>
2663 </object>
2664
2665 <object type="button">
2666 <condition var1="tw_has_brightnesss_file" var2="1" />
2667 <placement x="%col1_medium_x%" y="%row4_y%" />
2668 <font resource="font" color="%button_text_color%" />
2669 <text>25%</text>
2670 <image resource="medium_button" />
2671 <actions>
2672 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2673 <action function="set">tw_brightness_display=25%</action>
2674 <action function="set">tw_brightness=%tw_brightness_25%</action>
2675 </actions>
2676 </object>
2677
2678 <object type="button">
2679 <condition var1="tw_has_brightnesss_file" var2="1" />
2680 <placement x="%col2_medium_x%" y="%row4_y%" />
2681 <font resource="font" color="%button_text_color%" />
2682 <text>50%</text>
2683 <image resource="medium_button" />
2684 <actions>
2685 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2686 <action function="set">tw_brightness_display=50%</action>
2687 <action function="set">tw_brightness=%tw_brightness_50%</action>
2688 </actions>
2689 </object>
2690
2691 <object type="button">
2692 <condition var1="tw_has_brightnesss_file" var2="1" />
2693 <placement x="%col3_medium_x%" y="%row4_y%" />
2694 <font resource="font" color="%button_text_color%" />
2695 <text>75%</text>
2696 <image resource="medium_button" />
2697 <actions>
2698 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2699 <action function="set">tw_brightness_display=75%</action>
2700 <action function="set">tw_brightness=%tw_brightness_75%</action>
2701 </actions>
2702 </object>
2703
2704 <object type="button">
2705 <condition var1="tw_has_brightnesss_file" var2="1" />
2706 <placement x="%col4_medium_x%" y="%row4_y%" />
2707 <font resource="font" color="%button_text_color%" />
2708 <text>100%</text>
2709 <image resource="medium_button" />
2710 <actions>
2711 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2712 <action function="set">tw_brightness_display=100%</action>
2713 <action function="set">tw_brightness=%tw_brightness_100%</action>
2714 </actions>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="home" />
2719 <action function="page">main</action>
2720 </object>
2721
2722 <object type="action">
2723 <touch key="back" />
2724 <action function="page">settings</action>
2725 </object>
2726
2727 <object type="template" name="footer" />
2728 </page>
2729
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <page name="advanced">
2731 <object type="template" name="header" />
2732
2733 <object type="text" color="%text_color%">
2734 <font resource="font" />
2735 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2736 <text>Advanced</text>
2737 </object>
2738
2739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002741 <placement x="%col1_x%" y="%row1_y%" />
2742 <font resource="font" color="%button_text_color%" />
2743 <text>Copy Log to SD</text>
2744 <image resource="main_button" />
2745 <actions>
2746 <action function="set">tw_back=advanced</action>
2747 <action function="set">tw_action=copylog</action>
2748 <action function="set">tw_text1=Copy Log to SD Card?</action>
2749 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2750 <action function="set">tw_complete_text1=Log Copy Complete</action>
2751 <action function="set">tw_slider_text=Swipe to Confirm</action>
2752 <action function="page">confirm_action</action>
2753 </actions>
2754 </object>
2755
2756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <placement x="%col2_x%" y="%row1_y%" />
2759 <font resource="font" color="%button_text_color%" />
2760 <text>Fix Permissions</text>
2761 <image resource="main_button" />
2762 <actions>
2763 <action function="set">tw_back=advanced</action>
2764 <action function="set">tw_action=fixpermissions</action>
2765 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2768 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002769 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <action function="page">confirm_action</action>
2771 </actions>
2772 </object>
2773
2774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <condition var1="tw_allow_partition_sdcard" var2="1" />
2777 <placement x="%col1_x%" y="%row2_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>Partition SD Card</text>
2780 <image resource="main_button" />
2781 <action function="page">partsdcard</action>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <placement x="%col2_x%" y="%row2_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>File Manager</text>
2789 <image resource="main_button" />
2790 <action function="page">filemanagerlist</action>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <placement x="%col1_x%" y="%row3_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Terminal Command</text>
2798 <image resource="main_button" />
2799 <action function="page">terminalfolder</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002804 <placement x="%col2_x%" y="%row3_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Reload Theme</text>
2807 <image resource="main_button" />
2808 <action function="reload"></action>
2809 </object>
2810
2811 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002812 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002813 <placement x="%col1_x%" y="%row4_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>ADB Sideload</text>
2816 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002817 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <condition var1="tw_show_dumlock" var2="1" />
2823 <placement x="%col2_x%" y="%row4_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>HTC Dumlock</text>
2826 <image resource="main_button" />
2827 <action function="page">htcdumlock</action>
2828 </object>
2829
2830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002831 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <condition var1="tw_has_injecttwrp" var2="1" />
2833 <placement x="%col2_x%" y="%row4_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text>Re-Inject TWRP</text>
2836 <image resource="main_button" />
2837 <actions>
2838 <action function="set">tw_back=advanced</action>
2839 <action function="set">tw_action=reinjecttwrp</action>
2840 <action function="set">tw_text1=Re-Inject TWRP?</action>
2841 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2842 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2843 <action function="set">tw_slider_text=Swipe to Confirm</action>
2844 <action function="page">confirm_action</action>
2845 </actions>
2846 </object>
2847
2848 <object type="action">
2849 <touch key="home" />
2850 <action function="page">main</action>
2851 </object>
2852
2853 <object type="action">
2854 <touch key="back" />
2855 <action function="page">main</action>
2856 </object>
2857
2858 <object type="template" name="footer" />
2859 </page>
2860
2861 <page name="partsdcard">
2862 <object type="template" name="header" />
2863
2864 <object type="text" color="%text_color%">
2865 <font resource="font" />
2866 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2867 <text>Partition SD Card</text>
2868 </object>
2869
2870 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002871 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002872 <placement x="%col1_x%" y="%row1_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text></text>
2875 <image resource="minus_button" />
2876 <action function="addsubtract">tw_sdext_size-128</action>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <placement x="%sd_plus_x%" y="%row1_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="plus_button" />
2885 <action function="addsubtract">tw_sdext_size+128</action>
2886 </object>
2887
2888 <object type="text" color="%text_color%">
2889 <font resource="font" />
2890 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2891 <text>EXT Size: %tw_sdext_size%</text>
2892 </object>
2893
2894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002895 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002896 <placement x="%col1_x%" y="%sdswap_button_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text></text>
2899 <image resource="minus_button" />
2900 <action function="addsubtract">tw_swap_size-32</action>
2901 </object>
2902
2903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002904 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002905 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text></text>
2908 <image resource="plus_button" />
2909 <action function="addsubtract">tw_swap_size+32</action>
2910 </object>
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2915 <text>Swap Size: %tw_swap_size%</text>
2916 </object>
2917
2918 <object type="text" color="%text_color%">
2919 <font resource="font" />
2920 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2921 <text>File system: %tw_sdpart_file_system%</text>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002926 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2927 <font resource="font" color="%button_text_color%" />
2928 <text>EXT3</text>
2929 <image resource="main_button" />
2930 <action function="set">tw_sdpart_file_system=ext3</action>
2931 </object>
2932
2933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002934 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002935 <condition var1="tw_sdext_disable_ext4" var2="0" />
2936 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2937 <font resource="font" color="%button_text_color%" />
2938 <text>EXT4</text>
2939 <image resource="main_button" />
2940 <action function="set">tw_sdpart_file_system=ext4</action>
2941 </object>
2942
2943 <object type="text" color="%text_color%">
2944 <font resource="font" />
2945 <placement x="%col1_x%" y="%row12_text_y%" />
2946 <text>You will lose all files on your SD card!</text>
2947 </object>
2948
2949 <object type="text" color="%text_color%">
2950 <font resource="font" />
2951 <placement x="%col1_x%" y="%row13_text_y%" />
2952 <text>This action cannot be undone!</text>
2953 </object>
2954
2955 <object type="slider">
2956 <placement x="%slider_x%" y="%slider_y%" />
2957 <resource base="slider" used="slider-used" touch="slider-touch" />
2958 <action function="page">partsdcardaction</action>
2959 <actions>
2960 <action function="set">tw_back=partsdcard</action>
2961 <action function="set">tw_action=partitionsd</action>
2962 <action function="set">tw_has_action2=1</action>
2963 <action function="set">tw_action2=set</action>
2964 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2965 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2966 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002967 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002968 <action function="page">action_page</action>
2969 </actions>
2970 </object>
2971
2972 <object type="text" color="%text_color%">
2973 <font resource="font" />
2974 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2975 <text>Swipe to Partition</text>
2976 </object>
2977
2978 <object type="action">
2979 <touch key="home" />
2980 <action function="page">main</action>
2981 </object>
2982
2983 <object type="action">
2984 <touch key="back" />
2985 <action function="page">advanced</action>
2986 </object>
2987
2988 <object type="template" name="footer" />
2989 </page>
2990
2991 <page name="htcdumlock">
2992 <object type="template" name="header" />
2993
2994 <object type="text" color="%text_color%">
2995 <font resource="font" />
2996 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2997 <text>HTC Dumlock</text>
2998 </object>
2999
3000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003001 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003002 <condition var1="tw_show_dumlock" var2="1" />
3003 <placement x="%col1_x%" y="%row1_y%" />
3004 <font resource="font" color="%button_text_color%" />
3005 <text>Restore Original Boot</text>
3006 <image resource="main_button" />
3007 <actions>
3008 <action function="set">tw_back=htcdumlock</action>
3009 <action function="set">tw_action=htcdumlockrestoreboot</action>
3010 <action function="set">tw_text1=Restore original boot image?</action>
3011 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3012 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3013 <action function="set">tw_slider_text=Swipe to Confirm</action>
3014 <action function="page">confirm_action</action>
3015 </actions>
3016 </object>
3017
3018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003019 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003020 <condition var1="tw_show_dumlock" var2="1" />
3021 <placement x="%col2_x%" y="%row1_y%" />
3022 <font resource="font" color="%button_text_color%" />
3023 <text>Reflash Recovery</text>
3024 <image resource="main_button" />
3025 <actions>
3026 <action function="set">tw_back=htcdumlock</action>
3027 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3028 <action function="set">tw_text1=Reflash recovery to boot?</action>
3029 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3030 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3031 <action function="set">tw_slider_text=Swipe to Confirm</action>
3032 <action function="page">confirm_action</action>
3033 </actions>
3034 </object>
3035
3036 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003037 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003038 <condition var1="tw_show_dumlock" var2="1" />
3039 <placement x="%col1_x%" y="%row2_y%" />
3040 <font resource="font" color="%button_text_color%" />
3041 <text>Install HTC Dumlock</text>
3042 <image resource="main_button" />
3043 <actions>
3044 <action function="set">tw_back=htcdumlock</action>
3045 <action function="set">tw_action=installhtcdumlock</action>
3046 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3047 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3048 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3049 <action function="set">tw_slider_text=Swipe to Confirm</action>
3050 <action function="page">confirm_action</action>
3051 </actions>
3052 </object>
3053
3054 <object type="action">
3055 <touch key="home" />
3056 <action function="page">main</action>
3057 </object>
3058
3059 <object type="action">
3060 <touch key="back" />
3061 <action function="page">advanced</action>
3062 </object>
3063
3064 <object type="template" name="footer" />
3065 </page>
3066
3067 <page name="lock">
3068 <background color="#000000A0" />
3069
3070 <object type="image">
3071 <image resource="unlock-icon" />
3072 <placement x="%lock_x%" y="%lock_y%" />
3073 </object>
3074
3075 <object type="slider">
3076 <placement x="%slider_x%" y="%slider_y%" />
3077 <resource base="slider" used="slider-used" touch="slider-touch" />
3078 <action function="overlay"></action>
3079 </object>
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3084 <text>Swipe to Unlock</text>
3085 </object>
3086 </page>
3087
3088 <page name="filemanagerlist">
3089 <object type="template" name="header" />
3090
3091 <object type="text" color="%text_color%">
3092 <font resource="font" />
3093 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3094 <text>File Manager: Select a File or Folder</text>
3095 </object>
3096
3097 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003098 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003099 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3100 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3101 <text>%tw_file_location1%</text>
3102 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3103 <sort name="tw_gui_sort_order" />
3104 <icon folder="folder_icon" file="file_icon" />
3105 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003106 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003107 <folders="1" files="1" />
3108 <path name="tw_file_location1" default="/" />
3109 <data name="tw_filename1" />
3110 <selection name="tw_selection1" />
3111 </object>
3112
3113 <object type="template" name="sort_options" />
3114
3115 <object type="action">
3116 <actions>
3117 <action function="set">tw_fm_type=File</action>
3118 <action function="set">tw_fm_isfolder=0</action>
3119 </actions>
3120 </object>
3121
3122 <object type="action">
3123 <touch key="home" />
3124 <action function="page">main</action>
3125 </object>
3126
3127 <object type="action">
3128 <touch key="back" />
3129 <action function="page">advanced</action>
3130 </object>
3131
3132 <object type="action">
3133 <condition var1="tw_filename1" op="modified" />
3134 <actions>
3135 <action function="page">filemanageroptions</action>
3136 </actions>
3137 </object>
3138
3139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003140 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003141 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3142 <font resource="font" color="%button_text_color%" />
3143 <text>Select</text>
3144 <image resource="medium_button" />
3145 <actions>
3146 <action function="set">tw_filename1=tw_file_location1</action>
3147 <action function="set">tw_fm_isfolder=1</action>
3148 <action function="set">tw_fm_type=Folder</action>
3149 <action function="page">filemanageroptions</action>
3150 </actions>
3151 </object>
3152
3153 <object type="template" name="footer" />
3154 </page>
3155
3156 <page name="filemanageroptions">
3157 <object type="template" name="header" />
3158
3159 <object type="text" color="%text_color%">
3160 <font resource="font" />
3161 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3162 <text>%tw_fm_type% Selected:</text>
3163 </object>
3164
3165 <object type="text" color="%text_color%">
3166 <font resource="font" />
3167 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3168 <text>%tw_filename1%</text>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003173 <condition var1="tw_fm_isfolder" var2="0" />
3174 <placement x="%col1_x%" y="%row2_y%" />
3175 <font resource="font" color="%button_text_color%" />
3176 <text>Copy File</text>
3177 <image resource="main_button" />
3178 <actions>
3179 <action function="set">tw_filemanager_command=cp</action>
3180 <action function="set">tw_fm_text1=Copying</action>
3181 <action function="page">choosedestinationfolder</action>
3182 </actions>
3183 </object>
3184
3185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <condition var1="tw_fm_isfolder" var2="1" />
3188 <placement x="%col1_x%" y="%row2_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text>Copy Folder</text>
3191 <image resource="main_button" />
3192 <actions>
3193 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3194 <action function="set">tw_fm_text1=Copying</action>
3195 <action function="page">choosedestinationfolder</action>
3196 </actions>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <placement x="%col2_x%" y="%row2_y%" />
3202 <font resource="font" color="%button_text_color%" />
3203 <text>Move</text>
3204 <image resource="main_button" />
3205 <actions>
3206 <action function="set">tw_filemanager_command=mv</action>
3207 <action function="set">tw_fm_text1=Moving</action>
3208 <action function="page">choosedestinationfolder</action>
3209 </actions>
3210 </object>
3211
3212 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003213 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003214 <placement x="%col1_x%" y="%row3_y%" />
3215 <font resource="font" color="%button_text_color%" />
3216 <text>chmod 755</text>
3217 <image resource="main_button" />
3218 <actions>
3219 <action function="set">tw_filemanager_command=chmod 755</action>
3220 <action function="set">tw_fm_text1=chmod 755</action>
3221 <action function="set">tw_fm_text2=</action>
3222 <action function="set">tw_fm_text3=</action>
3223 <action function="set">tw_include_text3=0</action>
3224 <action function="set">tw_back=filemanageroptions</action>
3225 <action function="page">filemanagerconfirm</action>
3226 </actions>
3227 </object>
3228
3229 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003230 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003231 <placement x="%col2_x%" y="%row3_y%" />
3232 <font resource="font" color="%button_text_color%" />
3233 <text>chmod</text>
3234 <image resource="main_button" />
3235 <actions>
3236 <action function="set">tw_filemanager_rename=0000</action>
3237 <action function="set">tw_fm_text2=</action>
3238 <action function="set">tw_fm_text3=</action>
3239 <action function="set">tw_include_text3=0</action>
3240 <action function="set">tw_back=filemanageroptions</action>
3241 <action function="page">filemanagerchmod</action>
3242 </actions>
3243 </object>
3244
3245 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003246 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003247 <placement x="%col1_x%" y="%row4_y%" />
3248 <font resource="font" color="%button_text_color%" />
3249 <text>Delete</text>
3250 <image resource="main_button" />
3251 <actions>
3252 <action function="set">tw_filemanager_command=rm -rf</action>
3253 <action function="set">tw_fm_text1=Deleting</action>
3254 <action function="set">tw_fm_text2=</action>
3255 <action function="set">tw_fm_text3=</action>
3256 <action function="set">tw_include_text3=0</action>
3257 <action function="set">tw_back=filemanageroptions</action>
3258 <action function="page">filemanagerconfirm</action>
3259 </actions>
3260 </object>
3261
3262 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003263 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003264 <condition var1="tw_fm_isfolder" var2="0" />
3265 <placement x="%col2_x%" y="%row4_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text>Rename File</text>
3268 <image resource="main_button" />
3269 <actions>
3270 <action function="set">tw_filemanager_rename=tw_selection1</action>
3271 <action function="set">tw_fm_text1=Renaming</action>
3272 <action function="set">tw_filemanager_command=mv</action>
3273 <action function="page">filemanagerrenamefile</action>
3274 </actions>
3275 </object>
3276
3277 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003278 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003279 <condition var1="tw_fm_isfolder" var2="1" />
3280 <placement x="%col2_x%" y="%row4_y%" />
3281 <font resource="font" color="%button_text_color%" />
3282 <text>Rename Folder</text>
3283 <image resource="main_button" />
3284 <actions>
3285 <action function="set">tw_filemanager_rename=tw_selection1</action>
3286 <action function="set">tw_fm_text1=Renaming</action>
3287 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3288 <action function="page">filemanagerrenamefolder</action>
3289 </actions>
3290 </object>
3291
3292 <object type="action">
3293 <touch key="home" />
3294 <action function="page">main</action>
3295 </object>
3296
3297 <object type="action">
3298 <touch key="back" />
3299 <action function="page">filemanagerlist</action>
3300 </object>
3301
3302 <object type="template" name="footer" />
3303 </page>
3304
3305 <page name="choosedestinationfolder">
3306 <object type="template" name="header" />
3307
3308 <object type="text" color="%text_color%">
3309 <font resource="font" />
3310 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3311 <text>Browse to Destination Folder & Press Select</text>
3312 </object>
3313
3314 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003315 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3317 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3318 <text>%tw_file_location2%</text>
3319 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3320 <sort name="tw_gui_sort_order" />
3321 <icon folder="folder_icon" file="file_icon" />
3322 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003323 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <filter folders="1" files="0" />
3325 <path name="tw_file_location2" default="/" />
3326 <data name="tw_filename2" />
3327 <selection name="tw_selection2" />
3328 </object>
3329
3330 <object type="template" name="sort_options" />
3331
3332 <object type="action">
3333 <touch key="home" />
3334 <action function="page">main</action>
3335 </object>
3336
3337 <object type="action">
3338 <touch key="back" />
3339 <action function="page">filemanageroptions</action>
3340 </object>
3341
3342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003344 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3345 <font resource="font" color="%button_text_color%" />
3346 <text>Select</text>
3347 <image resource="medium_button" />
3348 <actions>
3349 <action function="set">tw_fm_text2=to</action>
3350 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3351 <action function="set">tw_include_text3=1</action>
3352 <action function="set">tw_back=filemanageroptions</action>
3353 <action function="page">filemanagerconfirm</action>
3354 </actions>
3355 </object>
3356
3357 <object type="template" name="footer" />
3358 </page>
3359
3360 <page name="filemanagerrenamefile">
3361 <object type="template" name="header" />
3362
3363 <object type="text" color="%text_color%">
3364 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3365 <font resource="font" />
3366 <text>Please Enter a New %tw_fm_type% Name</text>
3367 </object>
3368
3369 <object type="input">
3370 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3371 <background color="%input_background_color%" />
3372 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3373 <font resource="font" color="%text_color%" />
3374 <text>%tw_filemanager_rename%</text>
3375 <data name="tw_filemanager_rename" />
3376 <restrict minlen="1" maxlen="128" />
3377 <actions>
3378 <action function="set">tw_fm_text2=to</action>
3379 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3380 <action function="set">tw_include_text3=1</action>
3381 <action function="set">tw_back=filemanageroptions</action>
3382 <action function="page">filemanagerconfirm</action>
3383 </actions>
3384 </object>
3385
3386 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003387 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003388 <placement x="%col_center_x%" y="%row2_y%" />
3389 <font resource="font" color="%button_text_color%" />
3390 <text>Cancel</text>
3391 <image resource="main_button" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="keyboardtemplate" />
3396
3397 <object type="action">
3398 <touch key="home" />
3399 <action function="page">main</action>
3400 </object>
3401
3402 <object type="action">
3403 <touch key="back" />
3404 <action function="page">filemanageroptions</action>
3405 </object>
3406
3407 <object type="template" name="footer" />
3408 </page>
3409
3410 <page name="filemanagerrenamefolder">
3411 <object type="template" name="header" />
3412
3413 <object type="text" color="%text_color%">
3414 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3415 <font resource="font" />
3416 <text>Please Enter a New %tw_fm_type% Name</text>
3417 </object>
3418
3419 <object type="input">
3420 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3421 <background color="%input_background_color%" />
3422 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3423 <font resource="font" color="%text_color%" />
3424 <text>%tw_filemanager_rename%</text>
3425 <data name="tw_filemanager_rename" />
3426 <restrict minlen="1" maxlen="128" />
3427 <actions>
3428 <action function="set">tw_fm_text2=to</action>
3429 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3430 <action function="set">tw_include_text3=1</action>
3431 <action function="set">tw_back=filemanageroptions</action>
3432 <action function="page">filemanagerconfirm</action>
3433 </actions>
3434 </object>
3435
3436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003437 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003438 <placement x="%col_center_x%" y="%row2_y%" />
3439 <font resource="font" color="%button_text_color%" />
3440 <text>Cancel</text>
3441 <image resource="main_button" />
3442 <action function="page">filemanageroptions</action>
3443 </object>
3444
3445 <object type="template" name="keyboardtemplate" />
3446
3447 <object type="action">
3448 <touch key="home" />
3449 <action function="page">main</action>
3450 </object>
3451
3452 <object type="action">
3453 <touch key="back" />
3454 <action function="page">filemanageroptions</action>
3455 </object>
3456
3457 <object type="template" name="footer" />
3458 </page>
3459
3460 <page name="filemanagerchmod">
3461 <object type="template" name="header" />
3462
3463 <object type="text" color="%text_color%">
3464 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3465 <font resource="font" />
3466 <text>Please Enter New Permissions</text>
3467 </object>
3468
3469 <object type="input">
3470 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3471 <background color="%input_background_color%" />
3472 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3473 <font resource="font" color="%text_color%" />
3474 <text>%tw_filemanager_rename%</text>
3475 <data name="tw_filemanager_rename" />
3476 <restrict minlen="3" maxlen="4" allow="0123456789" />
3477 <actions>
3478 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3479 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3480 <action function="set">tw_back=filemanageroptions</action>
3481 <action function="page">filemanagerconfirm</action>
3482 </actions>
3483 </object>
3484
3485 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003486 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003487 <placement x="%col_center_x%" y="%row2_y%" />
3488 <font resource="font" color="%button_text_color%" />
3489 <text>Cancel</text>
3490 <image resource="main_button" />
3491 <action function="page">filemanageroptions</action>
3492 </object>
3493
3494 <object type="template" name="keyboardtemplate" />
3495
3496 <object type="action">
3497 <touch key="home" />
3498 <action function="page">main</action>
3499 </object>
3500
3501 <object type="action">
3502 <touch key="back" />
3503 <action function="page">filemanageroptions</action>
3504 </object>
3505
3506 <object type="template" name="footer" />
3507 </page>
3508
3509 <page name="filemanagerconfirm">
3510 <object type="template" name="header" />
3511
3512 <object type="text" color="%text_color%">
3513 <font resource="font" />
3514 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3515 <text>%tw_fm_text1%</text>
3516 </object>
3517
3518 <object type="text" color="%text_color%">
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3521 <text>%tw_filename1%</text>
3522 </object>
3523
3524 <object type="text" color="%text_color%">
3525 <font resource="font" />
3526 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3527 <text>%tw_fm_text2%</text>
3528 </object>
3529
3530 <object type="text" color="%text_color%">
3531 <font resource="font" />
3532 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3533 <text>%tw_fm_text3%</text>
3534 </object>
3535
3536 <object type="text" color="%text_color%">
3537 <font resource="font" />
3538 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3539 <text>Press back button to cancel.</text>
3540 </object>
3541
3542 <object type="slider">
3543 <placement x="%slider_x%" y="%slider_y%" />
3544 <resource base="slider" used="slider-used" touch="slider-touch" />
3545 <action function="page">filemanageracction</action>
3546 </object>
3547
3548 <object type="text" color="%text_color%">
3549 <font resource="font" />
3550 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3551 <text>Swipe to Confirm</text>
3552 </object>
3553
3554 <object type="action">
3555 <touch key="back" />
3556 <action function="page">%tw_back%</action>
3557 </object>
3558
3559 <object type="action">
3560 <touch key="home" />
3561 <action function="page">main</action>
3562 </object>
3563
3564 <object type="template" name="footer" />
3565 </page>
3566
3567 <page name="filemanageracction">
3568 <object type="template" name="header" />
3569
3570 <object type="text" color="%text_color%">
3571
3572 <font resource="font" />
3573 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3574 <text>%tw_fm_text1%</text>
3575 </object>
3576
3577 <object type="template" name="action_page_console" />
3578
3579 <object type="template" name="progress_bar" />
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" var2="0" />
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_back=filemanagerlist</action>
3588 <action function="set">tw_complete_text1=File Operation Complete</action>
3589 <action function="page">action_complete</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <conditions>
3595 <condition var1="tw_operation_state" var2="1" />
3596 <condition var1="tw_operation_status" op="!=" var2="0" />
3597 </conditions>
3598 <actions>
3599 <action function="set">tw_complete_text1=File Operation Complete</action>
3600 <action function="page">action_complete</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <condition var1="tw_include_text3" var2="0" />
3606 <actions>
3607 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3608 </actions>
3609 </object>
3610
3611 <object type="action">
3612 <condition var1="tw_include_text3" var2="1" />
3613 <actions>
3614 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3615 </actions>
3616 </object>
3617 </page>
3618
3619 <page name="decrypt">
3620 <object type="template" name="header" />
3621
3622 <object type="text" color="%text_color%">
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3625 <text>Please Enter Your Password</text>
3626 </object>
3627
3628 <object type="input">
3629 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3630 <background color="%input_background_color%" />
3631 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3632 <font resource="font" color="%text_color%" />
3633 <text>%tw_crypto_display%</text>
3634 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3635 <restrict minlen="1" maxlen="254" />
3636 <actions>
3637 <action function="page">trydecrypt</action>
3638 </actions>
3639 </object>
3640
3641 <object type="text" color="%text_fail_color%">
3642 <condition var1="tw_password_fail" var2="1" />
3643 <font resource="font" />
3644 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3645 <text>Password Failed, Please Try Again</text>
3646 </object>
3647
3648 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003649 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003650 <placement x="%col_center_x%" y="%row2_y%" />
3651 <font resource="font" color="%button_text_color%" />
3652 <text>Cancel</text>
3653 <image resource="main_button" />
3654 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003655 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003656 <action function="page">main</action>
3657 </actions>
3658 </object>
3659
3660 <object type="template" name="keyboardtemplate" />
3661
Dees_Troy51a0e822012-09-05 15:24:24 -04003662 <object type="template" name="footer" />
3663 </page>
3664
3665 <page name="trydecrypt">
3666 <object type="template" name="header" />
3667
3668 <object type="text" color="%text_color%">
3669 <font resource="font" />
3670 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3671 <text>Trying Decryption with Your Password</text>
3672 </object>
3673
3674 <object type="template" name="action_page_console" />
3675
3676 <object type="template" name="progress_bar" />
3677
3678 <object type="action">
3679 <action function="decrypt"></action>
3680 </object>
3681
3682 <object type="action">
3683 <conditions>
3684 <condition var1="tw_operation_state" var2="1" />
3685 <condition var1="tw_operation_status" op="!=" var2="0" />
3686 </conditions>
3687 <actions>
3688 <action function="set">tw_password_fail=1</action>
3689 <action function="page">decrypt</action>
3690 </actions>
3691 </object>
3692
3693 <object type="action">
3694 <conditions>
3695 <condition var1="tw_operation_state" var2="1" />
3696 <condition var1="tw_operation_status" op="=" var2="0" />
3697 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003698 <actions>
3699 <action function="set">tw_page_done=1</action>
3700 <action function="page">main</action>
3701 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003702 </object>
3703 </page>
3704
3705 <page name="terminalfolder">
3706 <object type="template" name="header" />
3707
3708 <object type="text" color="%text_color%">
3709 <font resource="font" />
3710 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3711 <text>Browse to Starting Folder</text>
3712 </object>
3713
3714 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003715 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3717 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3718 <text>%tw_terminal_location%</text>
3719 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3720 <sort name="tw_gui_sort_order" />
3721 <icon folder="folder_icon" file="file_icon" />
3722 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003723 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003724 <filter folders="1" files="0" />
3725 <path name="tw_terminal_location" default="/" />
3726 <data name="tw_terminal" />
3727 <selection name="tw_terminal_selection" />
3728 </object>
3729
3730 <object type="template" name="sort_options" />
3731
3732 <object type="action">
3733 <touch key="home" />
3734 <action function="page">main</action>
3735 </object>
3736
3737 <object type="action">
3738 <touch key="back" />
3739 <action function="page">advanced</action>
3740 </object>
3741
3742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003744 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3745 <font resource="font" color="%button_text_color%" />
3746 <text>Select</text>
3747 <image resource="medium_button" />
3748 <actions>
3749 <action function="page">terminalcommand</action>
3750 </actions>
3751 </object>
3752
3753 <object type="template" name="footer" />
3754 </page>
3755
3756 <page name="terminalcommand">
3757 <object type="template" name="header" />
3758
3759 <object type="console">
3760 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3761 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3762 <font resource="fixed" />
3763 </object>
3764
3765 <object type="text" color="%text_color%">
3766 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3767 <font resource="font" />
3768 <text>Starting Path: %tw_terminal_location%</text>
3769 </object>
3770
3771 <object type="input">
3772 <condition var1="tw_terminal_state" var2="0" />
3773 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3774 <background color="%input_background_color%" />
3775 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3776 <font resource="font" color="%text_color%" />
3777 <text>%tw_terminal_command%</text>
3778 <data name="tw_terminal_command" />
3779 <restrict minlen="1" />
3780 <action function="terminalcommand">%tw_terminal_command%</action>
3781 </object>
3782
3783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003785 <condition var1="tw_terminal_state" var2="1" />
3786 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3787 <font resource="font" color="%button_text_color%" />
3788 <text>KILL</text>
3789 <image resource="medium_button" />
3790 <action function="killterminal"></action>
3791 </object>
3792
3793 <object type="template" name="keyboardtemplate" />
3794
3795 <object type="action">
3796 <touch key="home" />
3797 <action function="page">main</action>
3798 </object>
3799
3800 <object type="action">
3801 <touch key="back" />
3802 <action function="page">terminalfolder</action>
3803 </object>
3804 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003805
3806 <page name="sideload">
3807 <object type="template" name="header" />
3808
3809 <object type="text" color="%text_color%">
3810 <font resource="font" />
3811 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3812 <text>ADB Sideload</text>
3813 </object>
3814
3815 <object type="checkbox">
3816 <placement x="%col1_x%" y="%row2_text_y%" />
3817 <font resource="font" color="%text_color%" />
3818 <text>Wipe Dalvik Cache.</text>
3819 <data variable="tw_wipe_dalvik" />
3820 <image checked="checkbox_true" unchecked="checkbox_false" />
3821 </object>
3822
3823 <object type="checkbox">
3824 <placement x="%col1_x%" y="%row3_text_y%" />
3825 <font resource="font" color="%text_color%" />
3826 <text>Wipe Cache.</text>
3827 <data variable="tw_wipe_cache" />
3828 <image checked="checkbox_true" unchecked="checkbox_false" />
3829 </object>
3830
3831 <object type="slider">
3832 <placement x="%slider_x%" y="%slider_y%" />
3833 <resource base="slider" used="slider-used" touch="slider-touch" />
3834 <actions>
3835 <action function="set">tw_back=advanced</action>
3836 <action function="set">tw_action=adbsideload</action>
3837 <action function="set">tw_action_text1=ADB Sideload</action>
3838 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3839 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3840 <action function="set">tw_has_cancel=1</action>
3841 <action function="set">tw_show_reboot=1</action>
3842 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3843 <action function="page">action_page</action>
3844 </actions>
3845 </object>
3846
3847 <object type="text" color="%text_color%">
3848 <font resource="font" />
3849 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3850 <text>Swipe to Start Sideload</text>
3851 </object>
3852
3853 <object type="action">
3854 <touch key="home" />
3855 <action function="page">main</action>
3856 </object>
3857
3858 <object type="action">
3859 <touch key="back" />
3860 <action function="page">advanced</action>
3861 </object>
3862
3863 <object type="template" name="footer" />
3864 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003865
3866 <page name="installsu">
3867 <object type="template" name="header" />
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3872 <text>Install SuperSU?</text>
3873 </object>
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3878 <text>Your device does not appear to be rooted.</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3884 <text>Install SuperSU now?</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3890 <text>This will root your device.</text>
3891 </object>
3892
3893 <object type="button">
3894 <highlight color="%highlight_color%" />
3895 <placement x="%col_center_x%" y="%row3_y%" />
3896 <font resource="font" color="%button_text_color%" />
3897 <text>Do Not Install</text>
3898 <image resource="main_button" />
3899 <action function="set">tw_page_done=1</action>
3900 </object>
3901
3902 <object type="slider">
3903 <placement x="%slider_x%" y="%slider_y%" />
3904 <resource base="slider" used="slider-used" touch="slider-touch" />
3905 <actions>
3906 <action function="set">tw_action=installsu</action>
3907 <action function="set">tw_action_text1=Installing SuperSU</action>
3908 <action function="set">tw_action_text2=</action>
3909 <action function="page">singleaction_page</action>
3910 </actions>
3911 </object>
3912
3913 <object type="text" color="%text_color%">
3914 <font resource="font" />
3915 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3916 <text>Swipe to Install</text>
3917 </object>
3918 </page>
3919
3920 <page name="fixsu">
3921 <object type="template" name="header" />
3922
3923 <object type="text" color="%text_color%">
3924 <font resource="font" />
3925 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3926 <text>Fix Superuser Permissions?</text>
3927 </object>
3928
3929 <object type="text" color="%text_color%">
3930 <font resource="font" />
3931 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3932 <text>Root permissions appear to be lost.</text>
3933 </object>
3934
3935 <object type="text" color="%text_color%">
3936 <font resource="font" />
3937 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3938 <text>Fix root permissions now?</text>
3939 </object>
3940
3941 <object type="text" color="%text_color%">
3942 <font resource="font" />
3943 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3944 <text>(Fixes permissions on su binary & app)</text>
3945 </object>
3946
3947 <object type="button">
3948 <highlight color="%highlight_color%" />
3949 <placement x="%col_center_x%" y="%row3_y%" />
3950 <font resource="font" color="%button_text_color%" />
3951 <text>Do Not Fix</text>
3952 <image resource="main_button" />
3953 <action function="set">tw_page_done=1</action>
3954 </object>
3955
3956 <object type="slider">
3957 <placement x="%slider_x%" y="%slider_y%" />
3958 <resource base="slider" used="slider-used" touch="slider-touch" />
3959 <actions>
3960 <action function="set">tw_action=fixsu</action>
3961 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3962 <action function="set">tw_action_text2=</action>
3963 <action function="page">singleaction_page</action>
3964 </actions>
3965 </object>
3966
3967 <object type="text" color="%text_color%">
3968 <font resource="font" />
3969 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3970 <text>Swipe to Fix Root</text>
3971 </object>
3972 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003973 </pages>
3974</recovery>