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