blob: 5de1e7e33d8499b2714469584bbf913eca7bed9d [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="320" height="480" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-16" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-14" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-14" />
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="exclamation150" />
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="8" />
47 <variable name="col2_x" value="162" />
48 <variable name="col_center_x" value="85" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="122" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="160" />
51 <variable name="row1_y" value="84" />
52 <variable name="row2_y" value="174" />
53 <variable name="row3_y" value="270" />
54 <variable name="row4_y" value="366" />
55 <variable name="row_queue_y" value="306" />
56 <variable name="row1_header_y" value="64" />
57 <variable name="row1_text_y" value="85" />
58 <variable name="row2_text_y" value="104" />
59 <variable name="row3_text_y" value="123" />
60 <variable name="row4_text_y" value="142" />
61 <variable name="row5_text_y" value="161" />
62 <variable name="row6_text_y" value="180" />
63 <variable name="row7_text_y" value="199" />
64 <variable name="row8_text_y" value="218" />
65 <variable name="row9_text_y" value="237" />
66 <variable name="row10_text_y" value="256" />
67 <variable name="row11_text_y" value="275" />
Dees_Troyb46a6842012-09-25 11:06:46 -040068 <variable name="row12_text_y" value="294" />
69 <variable name="row13_text_y" value="313" />
70 <variable name="row14_text_y" value="332" />
71 <variable name="row15_text_y" value="351" />
72 <variable name="row16_text_y" value="370" />
73 <variable name="row17_text_y" value="389" />
74 <variable name="row18_text_y" value="408" />
Dees_Troy51a0e822012-09-05 15:24:24 -040075 <variable name="zip_status_y" value="350" />
76 <variable name="tz_selected_y" value="66" />
77 <variable name="tz_set_y" value="348" />
78 <variable name="tz_current_y" value="438" />
79 <variable name="col_progressbar_x" value="32" />
80 <variable name="row_progressbar_y" value="432" />
81 <variable name="col1_medium_x" value="7" />
82 <variable name="col2_medium_x" value="83" />
83 <variable name="col3_medium_x" value="160" />
84 <variable name="col4_medium_x" value="237" />
85 <variable name="row1_medium_y" value="78" />
86 <variable name="row2_medium_y" value="123" />
87 <variable name="row3_medium_y" value="168" />
88 <variable name="row4_medium_y" value="213" />
89 <variable name="row5_medium_y" value="258" />
90 <variable name="row6_medium_y" value="303" />
91 <variable name="row7_medium_y" value="348" />
92 <variable name="slider_x" value="39" />
93 <variable name="slider_y" value="400" />
94 <variable name="slider_text_y" value="425" />
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="7" />
101 <variable name="home_button_y" value="460" />
102 <variable name="back_button_x" value="275" />
103 <variable name="back_button_y" value="460" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400104 <variable name="sort_text_x" value="8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400105 <variable name="sort_asc_text_y" value="411" />
106 <variable name="sort_asc_button_y" value="411" />
107 <variable name="sort_desc_text_y" value="435" />
108 <variable name="sort_desc_button_y" value="435" />
109 <variable name="sort_col1_button_x" value="120" />
110 <variable name="sort_col2_button_x" value="160" />
111 <variable name="sort_col3_button_x" value="200" />
112 <variable name="input_width" value="307" />
113 <variable name="input_height" value="24" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="2" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="320" />
119 <variable name="console_foreground" value="#A0A0A0" />
120 <variable name="console_background" value="#303030" />
121 <variable name="console_scroll" value="#303030" />
122 <variable name="console_action_height" value="192" />
123 <variable name="console_install_height" value="264" />
124 <variable name="console_installdone_height" value="180" />
125 <variable name="fileselector_x" value="3" />
126 <variable name="fileselector_width" value="313" />
127 <variable name="fileselector_install_height" value="306" />
128 <variable name="fileselector_header_background" value="#202020" />
129 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
130 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
131 <variable name="fileselector_header_separatorheight" value="2" />
132 <variable name="fileselector_separatorcolor" value="#505050" />
133 <variable name="fileselector_separatorheight" value="1" />
134 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600135 <variable name="fileselector_highlight_color" value="#505050" />
136 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400137 <variable name="fileselector_spacing" value="12" />
138 <variable name="listbox_x" value="3" />
139 <variable name="listbox_width" value="313" />
Dees_Troyeead9852013-02-15 14:31:06 -0600140 <variable name="listbox_tz_height" value="189" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="listbox_background" value="#303030" />
142 <variable name="listbox_spacing" value="12" />
143 <variable name="sd_plus_x" value="187" />
144 <variable name="sdext_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400145 <variable name="sdext_text_y" value="83" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="sdswap_button_y" value="111" />
147 <variable name="sdswap_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400148 <variable name="sdswap_text_y" value="110" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400149 <variable name="sdfilesystem_text_y" value="144" />
150 <variable name="sdfilesystem_button_y" value="168" />
151 <variable name="lock_x" value="27" />
152 <variable name="lock_y" value="120" />
153 <variable name="filemanager_select_x" value="243" />
154 <variable name="filemanager_select_y" value="414" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="backup_name_y" value="218" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="terminal_console_height" value="220" />
157 <variable name="terminal_text_y" value="225" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="terminal_button_y" value="220" />
159 <variable name="row_dst_text_y" value="256" />
160 <variable name="row_offset_text_y" value="275" />
161 <variable name="row_offset_medium_y" value="303" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400162 <variable name="exclamation_x" value="85" />
163 <variable name="exclamation_y" value="165" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400164 </variables>
165
166 <templates>
167 <template name="header">
Dees_Troyb46a6842012-09-25 11:06:46 -0400168 <background color="#000000FF" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400169
170 <object type="image">
171 <image resource="top_bar" />
172 <placement x="0" y="0" />
173 </object>
174
175 <object type="text" color="%text_color%">
176 <font resource="font" />
177 <placement x="65" y="3" />
178 <text>TeamWin Recovery v%tw_version%</text>
179 </object>
180
181 <object type="text" color="%text_color%">
182 <condition var1="tw_simulate_actions" var2="1" />
183 <font resource="font" />
184 <placement x="65" y="21" />
185 <text>SIMULATING ACTIONS</text>
186 </object>
187
188 <object type="text" color="%text_color%">
189 <font resource="font" />
190 <placement x="65" y="39" />
191 <text>%tw_time%</text>
192 </object>
193
194 <object type="text" color="%text_color%">
195 <font resource="font" />
196 <placement x="165" y="39" />
197 <conditions>
198 <condition var1="tw_no_battery_percent" var2="0" />
199 <condition var1="tw_battery" op=">" var2="0" />
200 <condition var1="tw_battery" op="<" var2="101" />
201 </conditions>
202 <text>Battery: %tw_battery%</text>
203 </object>
204
205 <object type="button">
206 <placement x="%home_button_x%" y="%home_button_y%" />
207 <font resource="font" color="%button_text_color%" />
208 <text></text>
209 <image resource="home_icon" />
210 <condition var1="tw_busy" var2="0" />
211 <action function="key">home</action>
212 </object>
213
214 <object type="button">
215 <placement x="%back_button_x%" y="%back_button_y%" />
216 <font resource="font" color="%button_text_color%" />
217 <text></text>
218 <image resource="back_icon" />
219 <condition var1="tw_busy" var2="0" />
220 <action function="key">back</action>
221 </object>
222
223 <object type="action">
224 <touch key="power" />
225 <action function="overlay">lock</action>
226 </object>
227 </template>
228
229 <template name="progress_bar">
230 <object type="progressbar">
231 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
232 <resource empty="progress_empty" full="progress_full" />
233 <data name="ui_progress" />
234 </object>
235
236 <object type="animation">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource name="progress" />
239 <speed fps="15" render="2" />
240 <loop frame="1" />
241 </object>
242 </template>
243
244 <template name="action_page_console">
245 <object type="console">
246 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
247 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
248 <font resource="fixed" />
249 </object>
250 </template>
251
252 <template name="sort_options">
253 <object type="text" color="%text_color%">
254 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400255 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400256 <text>Sort Ascending:</text>
257 </object>
258
259 <object type="button">
260 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400261 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400262 <text>Name</text>
263 <image resource="sort_button" />
264 <action function="set">tw_gui_sort_order=1</action>
265 </object>
266
267 <object type="button">
268 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400269 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400270 <text>Date</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=2</action>
273 </object>
274
275 <object type="button">
276 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400277 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400278 <text>Size</text>
279 <image resource="sort_button" />
280 <action function="set">tw_gui_sort_order=3</action>
281 </object>
282
283 <object type="text" color="%text_color%">
284 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400285 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400286 <text>Sort Descending:</text>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400291 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=-1</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400299 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400300 <text>Date</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=-2</action>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400307 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400308 <text>Size</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=-3</action>
311 </object>
312 </template>
313
314 <template name="footer">
315 <object type="console">
316 <slideout resource="slideout" x="140" y="456" />
317 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
318 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
319 <font resource="fixed" />
320 </object>
321 </template>
322
323 <template name="keyboardtemplate">
324 <object type="keyboard">
325 <placement x="0" y="253" />
326 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600327 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400328 <layout1>
329 <keysize height="52" width="32" />
330 <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" />
331 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
332 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
333 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" />
334 </layout1>
335 <layout2>
336 <keysize height="52" width="32" />
337 <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" />
338 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
339 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
340 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" />
341 </layout2>
342 <layout3>
343 <keysize height="52" width="32" />
344 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
345 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
346 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
347 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
348 </layout3>
349 <layout4>
350 <keysize height="52" width="32" />
351 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
352 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
353 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" />
354 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
355 </layout4>
356 </object>
357 </template>
358 </templates>
359
360 <pages>
361 <page name="main">
362 <object type="action">
363 <actions>
364 <action function="set">tw_clear_destination=main2</action>
365 <action function="page">clear_vars</action>
366 </actions>
367 </object>
368 </page>
369
370 <page name="main2">
371 <object type="template" name="header" />
372
373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400375 <placement x="%col1_x%" y="%row1_y%" />
376 <font resource="font" color="%button_text_color%" />
377 <text>Install</text>
378 <image resource="main_button" />
379 <actions>
380 <action function="queueclear"></action>
381 <action function="page">install</action>
382 </actions>
383 </object>
384
385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <placement x="%col2_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Wipe</text>
390 <image resource="main_button" />
391 <action function="page">wipe</action>
392 </object>
393
394 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600395 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400396 <placement x="%col1_x%" y="%row2_y%" />
397 <font resource="font" color="%button_text_color%" />
398 <text>Backup</text>
399 <image resource="main_button" />
400 <action function="page">backup</action>
401 </object>
402
403 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600404 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400405 <placement x="%col2_x%" y="%row2_y%" />
406 <font resource="font" color="%button_text_color%" />
407 <text>Restore</text>
408 <image resource="main_button" />
409 <action function="page">restore</action>
410 </object>
411
412 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600413 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400414 <placement x="%col1_x%" y="%row3_y%" />
415 <font resource="font" color="%button_text_color%" />
416 <text>Mount</text>
417 <image resource="main_button" />
418 <action function="page">mount</action>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row3_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Settings</text>
426 <image resource="main_button" />
427 <action function="page">settings</action>
428 </object>
429
430
431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col1_x%" y="%row4_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Advanced</text>
436 <image resource="main_button" />
437 <action function="page">advanced</action>
438 </object>
439
440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400442 <placement x="%col2_x%" y="%row4_y%" />
443 <font resource="font" color="%button_text_color%" />
444 <text>Reboot</text>
445 <image resource="main_button" />
446 <action function="page">reboot</action>
447 </object>
448
449 <object type="template" name="footer" />
450 </page>
451
452 <page name="install">
453 <object type="template" name="header" />
454
455 <object type="text" color="%text_color%">
456 <font resource="font" />
457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
458 <text>Select Zip to Install</text>
459 </object>
460
461 <object type="button">
462 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400463 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <conditions>
465 <condition var1="tw_has_dual_storage" var2="1" />
466 <condition var1="tw_use_external_storage" var2="1" />
467 </conditions>
468 <text>Use external SD</text>
469 <image resource="radio_true" />
470 <action function="togglestorage">external</action>
471 </object>
472
473 <object type="button">
474 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400475 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <conditions>
477 <condition var1="tw_has_dual_storage" var2="1" />
478 <condition var1="tw_use_external_storage" var2="0" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_false" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400487 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <conditions>
489 <condition var1="tw_has_dual_storage" var2="1" />
490 <condition var1="tw_use_external_storage" var2="1" />
491 </conditions>
492 <text>Use internal storage</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">internal</action>
495 </object>
496
497 <object type="button">
498 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400499 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <conditions>
501 <condition var1="tw_has_dual_storage" var2="1" />
502 <condition var1="tw_use_external_storage" var2="0" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_true" />
506 <action function="togglestorage">internal</action>
507 </object>
508
509 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600510 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400511 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
513 <text>%tw_zip_location%</text>
514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
515 <sort name="tw_gui_sort_order" />
516 <icon folder="folder_icon" file="file_icon" />
517 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600518 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400519 <filter extn=".zip" folders="1" files="1" />
520 <path name="tw_zip_location" default="/sdcard" />
521 <data name="tw_filename" />
522 <selection name="tw_file" />
523 </object>
524
525 <object type="template" name="sort_options" />
526
527 <object type="action">
528 <condition var1="tw_filename" op="modified" />
529 <actions>
530 <action function="queuezip"></action>
531 <action function="page">flash_confirm</action>
532 </actions>
533 </object>
534
535 <object type="action">
536 <touch key="back" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="action">
541 <touch key="home" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="template" name="footer" />
546 </page>
547
548 <page name="flash_confirm">
549 <object type="template" name="header" />
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
554 <text>This operation may install incompatible</text>
555 </object>
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
560 <text>software and render your device unusable.</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
566 <text>Folder:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
572 <text>%tw_zip_location%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
578 <text>File to flash:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
584 <text>%tw_file%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
590 <text>Press back to cancel adding this zip.</text>
591 </object>
592
593 <object type="checkbox">
594 <placement x="%col1_x%" y="%row8_text_y%" />
595 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400596 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <data variable="tw_signed_zip_verify" />
598 <image checked="checkbox_true" unchecked="checkbox_false" />
599 </object>
600
601 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <condition var1="tw_has_injecttwrp" var2="1" />
603 <placement x="%col1_x%" y="%row10_text_y%" />
604 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400605 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400606 <data variable="tw_inject_after_zip" />
607 <image checked="checkbox_true" unchecked="checkbox_false" />
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400612 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <text>File %tw_zip_queue_count% of max of 10</text>
614 </object>
615
616 <object type="slider">
617 <placement x="%slider_x%" y="%slider_y%" placement="5" />
618 <resource base="slider" used="slider-used" touch="slider-touch" />
619 <action function="flash">flash_zip</action>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
625 <text>Swipe to Confirm Flash</text>
626 </object>
627
628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
631 <placement x="%col1_x%" y="%row_queue_y%" />
632 <font resource="font" color="%button_text_color%" />
633 <text>Add More Zips</text>
634 <image resource="main_button" />
635 <action function="page">install</action>
636 </object>
637
638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <placement x="%col2_x%" y="%row_queue_y%" />
641 <font resource="font" color="%button_text_color%" />
642 <text>Clear Zip Queue</text>
643 <image resource="main_button" />
644 <actions>
645 <action function="queueclear"></action>
646 <action function="page">install</action>
647 </actions>
648 </object>
649
650 <object type="action">
651 <touch key="back" />
652 <actions>
653 <action function="cancelzip"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="home" />
660 <action function="page">main</action>
661 </object>
662
663 <object type="template" name="footer" />
664 </page>
665
666 <page name="flash_zip">
667 <object type="template" name="header" />
668
669 <object type="console">
670 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
671 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
672 <font resource="fixed" />
673 </object>
674
675 <object type="text" color="%text_color%">
676 <font resource="font" />
677 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
678 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
679 </object>
680
681 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400682 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400683 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
684 <text>%tw_filename%</text>
685 </object>
686
687 <object type="template" name="progress_bar" />
688
689 <object type="action">
690 <condition var1="tw_operation_state" var2="1" />
691 <action function="page">flash_done</action>
692 </object>
693 </page>
694
695 <page name="flash_done">
696 <object type="template" name="header" />
697
698 <object type="text" color="%text_color%">
699 <font resource="font" />
700 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
701 <text>Zip Install Complete</text>
702 </object>
703
704 <object type="console">
705 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
706 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
707 <font resource="fixed" />
708 </object>
709
710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400712 <placement x="%col1_x%" y="%row4_y%" />
713 <font resource="font" color="%button_text_color%" />
714 <text>Wipe cache/dalvik</text>
715 <image resource="main_button" />
716 <actions>
717 <action function="set">tw_back=flash_done</action>
718 <action function="set">tw_action=wipe</action>
719 <action function="set">tw_action_param=/cache</action>
720 <action function="set">tw_has_action2=1</action>
721 <action function="set">tw_action2=wipe</action>
722 <action function="set">tw_action2_param=dalvik</action>
723 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
724 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
725 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
726 <action function="set">tw_slider_text=Swipe to Wipe</action>
727 <action function="page">confirm_action</action>
728 </actions>
729 </object>
730
731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <placement x="%col2_x%" y="%row4_y%" />
734 <font resource="font" color="%button_text_color%" />
735 <text>Reboot System</text>
736 <image resource="main_button" />
737 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400738 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <action function="set">tw_action=reboot</action>
740 <action function="set">tw_action_param=system</action>
741 <action function="set">tw_has_action2=0</action>
742 <action function="set">tw_text1=No OS Installed! Are you</action>
743 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_text3=</action>
745 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400747 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <action function="set">tw_complete_text1=Rebooting...</action>
749 <action function="set">tw_slider_text=Swipe to Reboot</action>
750 <action function="page">rebootcheck</action>
751 </actions>
752 </object>
753
754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <placement x="%col_center_x%" y="%row3_y%" />
757 <font resource="font" color="%button_text_color%" />
758 <text>Home</text>
759 <image resource="main_button" />
760 <actions>
761 <action function="set">tw_clear_destination=main2</action>
762 <action function="page">clear_vars</action>
763 </actions>
764 </object>
765
766 <object type="text" color="%text_fail_color%">
767 <condition var1="tw_operation_status" op="!=" var2="0" />
768 <font resource="font" />
769 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
770 <text>Failed</text>
771 </object>
772
773 <object type="text" color="%text_success_color%">
774 <condition var1="tw_operation_status" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Successful</text>
778 </object>
779
780 <object type="action">
781 <touch key="back" />
782 <actions>
783 <action function="set">tw_clear_destination=install</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </object>
787
788 <object type="action">
789 <touch key="home" />
790 <actions>
791 <action function="set">tw_clear_destination=main2</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795 </page>
796
797 <page name="clear_vars">
798 <object type="action">
799 <action function="set">tw_operation_state=0</action>
800 <action function="set">tw_text1=</action>
801 <action function="set">tw_text2=</action>
802 <action function="set">tw_text3=</action>
803 <action function="set">tw_text4=</action>
804 <action function="set">tw_action_text1=</action>
805 <action function="set">tw_action_text2=</action>
806 <action function="set">tw_action_param=</action>
807 <action function="set">tw_has_action2=0</action>
808 <action function="set">tw_action2=</action>
809 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400810 <action function="set">tw_has_cancel=0</action>
811 <action function="set">tw_cancel_action=</action>
812 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400813 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400814 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400815 <action function="page">%tw_clear_destination%</action>
816 </object>
817 </page>
818
819 <page name="confirm_action">
820 <object type="template" name="header" />
821
Dees_Troyce2fe772012-09-28 12:34:33 -0400822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600823 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400824 <condition var1="tw_show_exclamation" var2="1" />
825 <placement x="%exclamation_x%" y="%exclamation_y%" />
826 <font resource="font" color="%button_text_color%" />
827 <text></text>
828 <image resource="exclamation" />
829 </object>
830
Dees_Troy51a0e822012-09-05 15:24:24 -0400831 <object type="text" color="%text_color%">
832 <font resource="font" />
833 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
834 <text>%tw_text1%</text>
835 </object>
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
840 <text>%tw_text2%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
846 <text>%tw_text3%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
852 <text>%tw_text4%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400857 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400858 <text>Press back button to cancel.</text>
859 </object>
860
861 <object type="slider">
862 <placement x="%slider_x%" y="%slider_y%" />
863 <resource base="slider" used="slider-used" touch="slider-touch" />
864 <action function="page">action_page</action>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
869 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
870 <text>%tw_slider_text%</text>
871 </object>
872
873 <object type="action">
874 <touch key="back" />
875 <actions>
876 <action function="set">tw_clear_destination=%tw_back%</action>
877 <action function="page">clear_vars</action>
878 </actions>
879 </object>
880
881 <object type="action">
882 <touch key="home" />
883 <action function="page">main</action>
884 </object>
885
886 <object type="template" name="footer" />
887 </page>
888
889 <page name="action_page">
890 <object type="template" name="header" />
891
892 <object type="text" color="%text_color%">
893 <font resource="font" />
894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
895 <text>%tw_action_text1%</text>
896 </object>
897
898 <object type="text" color="%text_color%">
899 <font resource="font" />
900 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
901 <text>%tw_action_text2%</text>
902 </object>
903
904 <object type="template" name="action_page_console" />
905
Dees_Troybbb21012012-09-20 15:59:46 -0400906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600907 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400908 <condition var1="tw_has_cancel" var2="1" />
909 <placement x="%col_center_medium_x%" y="%row4_y%" />
910 <font resource="font" color="%button_text_color%" />
911 <text>Cancel</text>
912 <image resource="medium_button" />
913 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
914 </object>
915
Dees_Troy51a0e822012-09-05 15:24:24 -0400916 <object type="template" name="progress_bar" />
917
918 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400919 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400920 <actions>
921 <action function="page">action_complete</action>
922 </actions>
923 </object>
924
925 <object type="action">
926 <condition var1="tw_has_action2" var2="0" />
927 <actions>
928 <action function="%tw_action%">%tw_action_param%</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="1" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 <action function="%tw_action2%">%tw_action2_param%</action>
937 </actions>
938 </object>
939 </page>
940
941 <page name="action_complete">
942 <object type="template" name="header" />
943
944 <object type="text" color="%text_color%">
945 <font resource="font" />
946 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
947 <text>%tw_complete_text1%</text>
948 </object>
949
950 <object type="text" color="%text_fail_color%">
951 <condition var1="tw_operation_status" op="!=" var2="0" />
952 <font resource="font" />
953 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
954 <text>Failed</text>
955 </object>
956
957 <object type="text" color="%text_success_color%">
958 <condition var1="tw_operation_status" var2="0" />
959 <font resource="font" />
960 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
961 <text>Successful</text>
962 </object>
963
964 <object type="template" name="action_page_console" />
965
966 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600967 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400968 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400969 <placement x="%col_center_x%" y="%row4_y%" />
970 <font resource="font" color="%button_text_color%" />
971 <text>Back</text>
972 <image resource="main_button" />
973 <actions>
974 <action function="set">tw_clear_destination=%tw_back%</action>
975 <action function="page">clear_vars</action>
976 </actions>
977 </object>
978
Dees_Troya3f81542012-10-08 10:58:53 -0400979 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600980 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400981 <condition var1="tw_show_reboot" var2="1" />
982 <placement x="%col_center_x%" y="%row4_y%" />
983 <font resource="font" color="%button_text_color%" />
984 <text>Reboot System</text>
985 <image resource="main_button" />
986 <actions>
987 <action function="set">tw_back=main2</action>
988 <action function="set">tw_action=reboot</action>
989 <action function="set">tw_action_param=system</action>
990 <action function="set">tw_has_action2=0</action>
991 <action function="set">tw_text1=No OS Installed! Are you</action>
992 <action function="set">tw_text2=sure you wish to reboot?</action>
993 <action function="set">tw_text3=</action>
994 <action function="set">tw_text4=</action>
995 <action function="set">tw_action_text1=Rebooting...</action>
996 <action function="set">tw_action_text2=</action>
997 <action function="set">tw_complete_text1=Rebooting...</action>
998 <action function="set">tw_slider_text=Swipe to Reboot</action>
999 <action function="page">rebootcheck</action>
1000 </actions>
1001 </object>
1002
Dees_Troy51a0e822012-09-05 15:24:24 -04001003 <object type="action">
1004 <touch key="home" />
1005 <actions>
1006 <action function="set">tw_clear_destination=main2</action>
1007 <action function="page">clear_vars</action>
1008 </actions>
1009 </object>
1010
1011 <object type="action">
1012 <touch key="back" />
1013 <actions>
1014 <action function="set">tw_clear_destination=%tw_back%</action>
1015 <action function="page">clear_vars</action>
1016 </actions>
1017 </object>
1018 </page>
1019
1020 <page name="filecheck">
1021 <object type="action">
1022 <action function="fileexists">%tw_filecheck%</action>
1023 </object>
1024
1025 <object type="action">
1026 <conditions>
1027 <condition var1="tw_operation_state" var2="1" />
1028 <condition var1="tw_operation_status" var2="0" />
1029 </conditions>
1030 <actions>
1031 <action function="set">tw_fileexists=1</action>
1032 <action function="page">%tw_existpage%</action>
1033 </actions>
1034 </object>
1035
1036 <object type="action">
1037 <conditions>
1038 <condition var1="tw_operation_state" var2="1" />
1039 <condition var1="tw_operation_status" var2="1" />
1040 </conditions>
1041 <actions>
1042 <action function="set">tw_fileexists=0</action>
1043 <action function="page">%tw_notexistpage%</action>
1044 </actions>
1045 </object>
1046 </page>
1047
1048 <page name="rebootcheck">
1049 <object type="action">
1050 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1051 <action function="reboot">%tw_action_param%</action>
1052 </object>
1053
1054 <object type="action">
1055 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1056 <action function="page">confirm_action</action>
1057 </object>
1058 </page>
1059
1060 <page name="wipe">
1061 <object type="template" name="header" />
1062
1063 <object type="text" color="%text_color%">
1064 <font resource="font" />
1065 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1066 <text>Wipe Menu</text>
1067 </object>
1068
1069 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001070 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001071 <placement x="%col1_x%" y="%row1_y%" />
1072 <font resource="font" color="%button_text_color%" />
1073 <text>Cache</text>
1074 <image resource="main_button" />
1075 <actions>
1076 <action function="set">tw_back=wipe</action>
1077 <action function="set">tw_action=wipe</action>
1078 <action function="set">tw_action_param=/cache</action>
1079 <action function="set">tw_text1=Wipe Cache?</action>
1080 <action function="set">tw_action_text1=Wiping Cache...</action>
1081 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1082 <action function="set">tw_slider_text=Swipe to Wipe</action>
1083 <action function="page">confirm_action</action>
1084 </actions>
1085 </object>
1086
1087 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001088 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001089 <placement x="%col2_x%" y="%row1_y%" />
1090 <font resource="font" color="%button_text_color%" />
1091 <text>Dalvik Cache</text>
1092 <image resource="main_button" />
1093 <actions>
1094 <action function="set">tw_back=wipe</action>
1095 <action function="set">tw_action=wipe</action>
1096 <action function="set">tw_action_param=dalvik</action>
1097 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1098 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1099 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1100 <action function="set">tw_slider_text=Swipe to Wipe</action>
1101 <action function="page">confirm_action</action>
1102 </actions>
1103 </object>
1104
1105 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001106 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001107 <placement x="%col1_x%" y="%row2_y%" />
1108 <font resource="font" color="%button_text_color%" />
1109 <text>Factory Reset</text>
1110 <image resource="main_button" />
1111 <actions>
1112 <action function="set">tw_back=wipe</action>
1113 <action function="set">tw_action=wipe</action>
1114 <action function="set">tw_action_param=data</action>
1115 <action function="set">tw_text1=Factory Reset?</action>
1116 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1117 <action function="set">tw_action_text1=Factory Reset...</action>
1118 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1119 <action function="set">tw_slider_text=Swipe to Wipe</action>
1120 <action function="page">confirm_action</action>
1121 </actions>
1122 </object>
1123
1124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001126 <placement x="%col2_x%" y="%row2_y%" />
1127 <font resource="font" color="%button_text_color%" />
1128 <text>System</text>
1129 <image resource="main_button" />
1130 <actions>
1131 <action function="set">tw_back=wipe</action>
1132 <action function="set">tw_action=wipe</action>
1133 <action function="set">tw_action_param=/system</action>
1134 <action function="set">tw_text1=Wipe System?</action>
1135 <action function="set">tw_text2=This will wipe your ROM</action>
1136 <action function="set">tw_action_text1=Wiping System...</action>
1137 <action function="set">tw_complete_text1=System Wipe Complete</action>
1138 <action function="set">tw_slider_text=Swipe to Wipe</action>
1139 <action function="page">confirm_action</action>
1140 </actions>
1141 </object>
1142
1143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001145 <condition var1="tw_has_external" var2="1" />
1146 <placement x="%col1_x%" y="%row3_y%" />
1147 <font resource="font" color="%button_text_color%" />
1148 <text>External Storage</text>
1149 <image resource="main_button" />
1150 <actions>
1151 <action function="set">tw_back=wipe</action>
1152 <action function="set">tw_action=wipe</action>
1153 <action function="set">tw_action_param=EXTERNAL</action>
1154 <action function="set">tw_has_action2=1</action>
1155 <action function="set">tw_action2=set</action>
1156 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001157 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <action function="set">tw_action_text1=Wiping External Storage...</action>
1159 <action function="set">tw_complete_text1=External Storage Wipe 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 <condition var1="tw_has_internal" var2="1" />
1168 <placement x="%col2_x%" y="%row3_y%" />
1169 <font resource="font" color="%button_text_color%" />
1170 <text>Internal Storage</text>
1171 <image resource="main_button" />
1172 <actions>
1173 <action function="set">tw_back=wipe</action>
1174 <action function="set">tw_action=wipe</action>
1175 <action function="set">tw_action_param=INTERNAL</action>
1176 <action function="set">tw_has_action2=1</action>
1177 <action function="set">tw_action2=set</action>
1178 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1179 <action function="set">tw_text1=Wipe Internal Storage?</action>
1180 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1181 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1182 <action function="set">tw_slider_text=Swipe to Wipe</action>
1183 <action function="page">confirm_action</action>
1184 </actions>
1185 </object>
1186
1187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001189 <conditions>
1190 <condition var1="tw_has_internal" var2="1" />
1191 <condition var1="tw_has_data_media" var2="1" />
1192 </conditions>
1193 <placement x="%col1_x%" y="%row4_y%" />
1194 <font resource="font" color="%button_text_color%" />
1195 <text>Format Data</text>
1196 <image resource="main_button" />
1197 <actions>
1198 <action function="set">tw_back=wipe</action>
1199 <action function="set">tw_action=wipe</action>
1200 <action function="set">tw_action_param=DATAMEDIA</action>
1201 <action function="set">tw_has_action2=1</action>
1202 <action function="set">tw_action2=set</action>
1203 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001204 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001205 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001206 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001207 <action function="set">tw_action_text1=Formatting Data...</action>
1208 <action function="set">tw_complete_text1=Data Format Complete</action>
1209 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001210 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001211 <action function="page">confirm_action</action>
1212 </actions>
1213 </object>
1214
1215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001216 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001217 <condition var1="tw_has_data_media" var2="0" />
1218 <placement x="%col1_x%" y="%row4_y%" />
1219 <font resource="font" color="%button_text_color%" />
1220 <text>Android Secure</text>
1221 <image resource="main_button" />
1222 <actions>
1223 <action function="set">tw_back=wipe</action>
1224 <action function="set">tw_action=wipe</action>
1225 <action function="set">tw_action_param=ANDROIDSECURE</action>
1226 <action function="set">tw_text1=Wipe Android Secure?</action>
1227 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1228 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1229 <action function="set">tw_slider_text=Swipe to Format</action>
1230 <action function="page">confirm_action</action>
1231 </actions>
1232 </object>
1233
1234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001236 <condition var1="tw_has_sdext_partition" var2="1" />
1237 <placement x="%col2_x%" y="%row4_y%" />
1238 <font resource="font" color="%button_text_color%" />
1239 <text>SD Ext</text>
1240 <image resource="main_button" />
1241 <actions>
1242 <action function="set">tw_back=wipe</action>
1243 <action function="set">tw_action=wipe</action>
1244 <action function="set">tw_action_param=/sd-ext</action>
1245 <action function="set">tw_text1=Wipe SD-Ext?</action>
1246 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1247 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1248 <action function="set">tw_slider_text=Swipe to Wipe</action>
1249 <action function="page">confirm_action</action>
1250 </actions>
1251 </object>
1252
1253 <object type="action">
1254 <touch key="home" />
1255 <action function="page">main</action>
1256 </object>
1257
1258 <object type="action">
1259 <touch key="back" />
1260 <action function="page">main</action>
1261 </object>
1262
1263 <object type="template" name="footer" />
1264 </page>
1265
1266 <page name="backup">
1267 <object type="template" name="header" />
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1272 <text>Backup Name: %tw_backup_name%</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <placement x="%col1_x%" y="%row1_text_y%" />
1277 <font resource="font" />
1278 <text>Backup Device</text>
1279 </object>
1280
1281 <object type="slider">
1282 <placement x="%slider_x%" y="slider_y" />
1283 <resource base="slider" used="slider-used" touch="slider-touch" />
1284 <action function="page">backup_run</action>
1285 </object>
1286
1287 <object type="text" color="%text_color%">
1288 <font resource="font" />
1289 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1290 <text>Swipe to Back Up</text>
1291 </object>
1292
1293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001295 <placement x="%col2_x%" y="%row1_y%" />
1296 <font resource="font" color="%button_text_color%" />
1297 <text>Refresh Sizes</text>
1298 <image resource="main_button" />
1299 <action function="refreshsizes"></action>
1300 </object>
1301
1302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001304 <placement x="%col2_x%" y="%backup_name_y%" />
1305 <font resource="font" color="%button_text_color%" />
1306 <text>Set Backup Name</text>
1307 <image resource="main_button" />
1308 <actions>
1309 <action function="set">tw_fileexists=0</action>
1310 <action function="page">backupname1</action>
1311 </actions>
1312 </object>
1313
1314 <object type="checkbox">
1315 <placement x="%col1_x%" y="%row2_text_y%" />
1316 <font resource="font" color="%text_color%" />
1317 <text>System (%tw_backup_system_size% MB)</text>
1318 <data variable="tw_backup_system" />
1319 <image checked="checkbox_true" unchecked="checkbox_false" />
1320 </object>
1321
1322 <object type="checkbox">
1323 <placement x="%col1_x%" y="%row3_text_y%" />
1324 <font resource="font" color="%text_color%" />
1325 <text>Data (%tw_backup_data_size% MB)</text>
1326 <data variable="tw_backup_data" />
1327 <image checked="checkbox_true" unchecked="checkbox_false" />
1328 </object>
1329
1330 <object type="checkbox">
1331 <condition var1="tw_has_boot_partition" var2="1" />
1332 <placement x="%col1_x%" y="%row4_text_y%" />
1333 <font resource="font" color="%text_color%" />
1334 <text>Boot (%tw_backup_boot_size% MB)</text>
1335 <data variable="tw_backup_boot" />
1336 <image checked="checkbox_true" unchecked="checkbox_false" />
1337 </object>
1338
1339 <object type="checkbox">
1340 <condition var1="tw_has_recovery_partition" var2="1" />
1341 <placement x="%col1_x%" y="%row5_text_y%" />
1342 <font resource="font" color="%text_color%" />
1343 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1344 <data variable="tw_backup_recovery" />
1345 <image checked="checkbox_true" unchecked="checkbox_false" />
1346 </object>
1347
1348 <object type="checkbox">
1349 <placement x="%col1_x%" y="%row6_text_y%" />
1350 <font resource="font" color="%text_color%" />
1351 <text>Cache (%tw_backup_cache_size% MB)</text>
1352 <data variable="tw_backup_cache" />
1353 <image checked="checkbox_true" unchecked="checkbox_false" />
1354 </object>
1355
1356 <object type="checkbox">
1357 <condition var1="tw_has_android_secure" var2="1" />
1358 <placement x="%col1_x%" y="%row7_text_y%" />
1359 <font resource="font" color="%text_color%" />
1360 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1361 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1362 <data variable="tw_backup_andsec" />
1363 <image checked="checkbox_true" unchecked="checkbox_false" />
1364 </object>
1365
1366 <object type="checkbox">
1367 <condition var1="tw_has_sdext_partition" var2="1" />
1368 <placement x="%col1_x%" y="%row8_text_y%" />
1369 <font resource="font" color="%text_color%" />
1370 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1371 <condition var1="fileexists" var2="/sd-ext" />
1372 <data variable="tw_backup_sdext" />
1373 <image checked="checkbox_true" unchecked="checkbox_false" />
1374 </object>
1375
1376 <object type="checkbox">
1377 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001378 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001379 <font resource="font" color="%text_color%" />
1380 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1381 <data variable="tw_backup_sp1" />
1382 <image checked="checkbox_true" unchecked="checkbox_false" />
1383 </object>
1384
1385 <object type="checkbox">
1386 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001387 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001388 <font resource="font" color="%text_color%" />
1389 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1390 <data variable="tw_backup_sp2" />
1391 <image checked="checkbox_true" unchecked="checkbox_false" />
1392 </object>
1393
1394 <object type="checkbox">
1395 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001396 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001397 <font resource="font" color="%text_color%" />
1398 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1399 <data variable="tw_backup_sp3" />
1400 <image checked="checkbox_true" unchecked="checkbox_false" />
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001405 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001406 <text>Free Space: %tw_storage_free_size% MB</text>
1407 </object>
1408
1409 <object type="checkbox">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001410 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001411 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001412 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001413 <data variable="tw_use_compression" />
1414 <image checked="checkbox_true" unchecked="checkbox_false" />
1415 </object>
1416
1417 <object type="checkbox">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001418 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001420 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 <data variable="tw_skip_md5_generate" />
1422 <image checked="checkbox_true" unchecked="checkbox_false" />
1423 </object>
1424
1425 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001426 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 <font resource="font" color="%text_color%" />
1428 <conditions>
1429 <condition var1="tw_has_dual_storage" var2="1" />
1430 <condition var1="tw_use_external_storage" var2="1" />
1431 </conditions>
1432 <text>Use external SD</text>
1433 <image resource="radio_true" />
1434 <action function="togglestorage">external</action>
1435 </object>
1436
1437 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001438 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <font resource="font" color="%text_color%" />
1440 <conditions>
1441 <condition var1="tw_has_dual_storage" var2="1" />
1442 <condition var1="tw_use_external_storage" var2="0" />
1443 </conditions>
1444 <text>Use external SD</text>
1445 <image resource="radio_false" />
1446 <action function="togglestorage">external</action>
1447 </object>
1448
1449 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001450 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <font resource="font" color="%text_color%" />
1452 <conditions>
1453 <condition var1="tw_has_dual_storage" var2="1" />
1454 <condition var1="tw_use_external_storage" var2="1" />
1455 </conditions>
1456 <text>Use internal storage</text>
1457 <image resource="radio_false" />
1458 <action function="togglestorage">internal</action>
1459 </object>
1460
1461 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001462 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 <font resource="font" color="%text_color%" />
1464 <conditions>
1465 <condition var1="tw_has_dual_storage" var2="1" />
1466 <condition var1="tw_use_external_storage" var2="0" />
1467 </conditions>
1468 <text>Use internal storage</text>
1469 <image resource="radio_true" />
1470 <action function="togglestorage">internal</action>
1471 </object>
1472
1473 <object type="action">
1474 <touch key="home" />
1475 <action function="page">main</action>
1476 </object>
1477
1478 <object type="action">
1479 <touch key="back" />
1480 <action function="page">main</action>
1481 </object>
1482
1483 <object type="template" name="footer" />
1484 </page>
1485
1486 <page name="backupname1">
1487 <object type="action">
1488 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1489 <action function="set">tw_backup_name=</function>
1490 </object>
1491
1492 <object type="action">
1493 <action function="page">backupname2</function>
1494 </object>
1495 </page>
1496
1497 <page name="backupname2">
1498 <object type="template" name="header" />
1499
1500 <object type="text" color="%text_color%">
1501 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1502 <font resource="font" />
1503 <text>Please Enter a Backup Name</text>
1504 </object>
1505
1506 <object type="input">
1507 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1508 <background color="%input_background_color%" />
1509 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1510 <font resource="font" color="%text_color%" />
1511 <text>%tw_backup_name%</text>
1512 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001513 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001514 <actions>
1515 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1516 <action function="set">tw_existpage=backupname2</action>
1517 <action function="set">tw_notexistpage=backup</action>
1518 <action function="page">filecheck</action>
1519 </actions>
1520 </object>
1521
1522 <object type="text" color="%text_fail_color%">
1523 <condition var1="tw_fileexists" var2="1" />
1524 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1525 <font resource="font" />
1526 <text>A backup with that name already exists!</text>
1527 </object>
1528
1529 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001530 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001531 <placement x="%col_center_x%" y="%row2_y%" />
1532 <font resource="font" color="%button_text_color%" />
1533 <text>Cancel</text>
1534 <image resource="main_button" />
1535 <actions>
1536 <action function="set">tw_backup_name=(Current Date)</action>
1537 <action function="page">backup</action>
1538 </actions>
1539 </object>
1540
1541 <object type="template" name="keyboardtemplate" />
1542
1543 <object type="action">
1544 <touch key="home" />
1545 <actions>
1546 <action function="set">tw_backup_name=(Current Date)</action>
1547 <action function="page">main</action>
1548 </actions>
1549 </object>
1550
1551 <object type="action">
1552 <touch key="back" />
1553 <actions>
1554 <action function="set">tw_backup_name=(Current Date)</action>
1555 <action function="page">backup</action>
1556 </actions>
1557 </object>
1558
1559 <object type="template" name="footer" />
1560 </page>
1561
1562 <page name="backup_run">
1563 <object type="template" name="header" />
1564
1565 <object type="text" color="%text_color%">
1566 <font resource="font" />
1567 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1568 <text>%tw_operation% %tw_partition%</text>
1569 </object>
1570
1571 <object type="template" name="action_page_console" />
1572
1573 <object type="template" name="progress_bar" />
1574
1575 <object type="action">
1576 <action function="nandroid">backup</action>
1577 </object>
1578
1579 <object type="action">
1580 <condition var1="tw_operation_state" var2="1" />
1581 <actions>
1582 <action function="set">tw_back=backup</action>
1583 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001584 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001585 <action function="page">action_complete</action>
1586 </actions>
1587 </object>
1588 </page>
1589
1590 <page name="restore">
1591 <object type="template" name="header" />
1592
1593 <object type="button">
1594 <placement x="%col1_x%" y="%row1_header_y%" />
1595 <font resource="font" color="%text_color%" />
1596 <conditions>
1597 <condition var1="tw_has_dual_storage" var2="1" />
1598 <condition var1="tw_use_external_storage" var2="1" />
1599 </conditions>
1600 <text>Use external SD</text>
1601 <image resource="radio_true" />
1602 <action function="togglestorage">external</action>
1603 </object>
1604
1605 <object type="button">
1606 <placement x="%col1_x%" y="%row1_header_y%" />
1607 <font resource="font" color="%text_color%" />
1608 <conditions>
1609 <condition var1="tw_has_dual_storage" var2="1" />
1610 <condition var1="tw_use_external_storage" var2="0" />
1611 </conditions>
1612 <text>Use external SD</text>
1613 <image resource="radio_false" />
1614 <action function="togglestorage">external</action>
1615 </object>
1616
1617 <object type="button">
1618 <placement x="%col2_x%" y="%row1_header_y%" />
1619 <font resource="font" color="%text_color%" />
1620 <conditions>
1621 <condition var1="tw_has_dual_storage" var2="1" />
1622 <condition var1="tw_use_external_storage" var2="1" />
1623 </conditions>
1624 <text>Use internal storage</text>
1625 <image resource="radio_false" />
1626 <action function="togglestorage">internal</action>
1627 </object>
1628
1629 <object type="button">
1630 <placement x="%col2_x%" y="%row1_header_y%" />
1631 <font resource="font" color="%text_color%" />
1632 <conditions>
1633 <condition var1="tw_has_dual_storage" var2="1" />
1634 <condition var1="tw_use_external_storage" var2="0" />
1635 </conditions>
1636 <text>Use internal storage</text>
1637 <image resource="radio_true" />
1638 <action function="togglestorage">internal</action>
1639 </object>
1640
1641 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001642 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001643 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1644 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1645 <text>Select Package to Restore:</text>
1646 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1647 <sort name="tw_gui_sort_order" />
1648 <icon folder="folder_icon" file="file_icon" />
1649 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001650 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001651 <filter folders="1" files="0" nav="0" />
1652 <path name="tw_backups_folder" />
1653 <data name="tw_restore" default="" />
1654 <selection name="tw_restore_name" />
1655 </object>
1656
1657 <object type="template" name="sort_options" />
1658
1659 <object type="action">
1660 <condition var1="tw_restore" op="modified" />
1661 <actions>
1662 <action function="readBackup"></action>
1663 <action function="page">restore_select</action>
1664 </actions>
1665 </object>
1666
1667 <object type="action">
1668 <touch key="home" />
1669 <action function="page">main</action>
1670 </object>
1671
1672 <object type="action">
1673 <touch key="back" />
1674 <action function="page">main</action>
1675 </object>
1676
1677 <object type="template" name="footer" />
1678 </page>
1679
1680 <page name="restore_select">
1681 <object type="template" name="header" />
1682
1683 <object type="text">
1684 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1685 <font resource="font" color="%text_color%" />
1686 <text>Restoring: %tw_restore_name%</text>
1687 </object>
1688
1689 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001690 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <placement x="%col2_x%" y="%row1_y%" />
1692 <font resource="font" color="%button_text_color%" />
1693 <text>Rename Backup</text>
1694 <image resource="main_button" />
1695 <actions>
1696 <action function="set">tw_backup_rename=</action>
1697 <action function="set">tw_fileexists=0</action>
1698 <action function="page">renamebackup</action>
1699 </actions>
1700 </object>
1701
1702 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001703 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001704 <placement x="%col2_x%" y="%row2_y%" />
1705 <font resource="font" color="%button_text_color%" />
1706 <text>Delete Backup</text>
1707 <image resource="main_button" />
1708 <actions>
1709 <action function="set">tw_back=restore</action>
1710 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001711 <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 -04001712 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1713 <action function="set">tw_text2=This cannot be undone!</action>
1714 <action function="set">tw_action_text1=Deleting Backup...</action>
1715 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1716 <action function="set">tw_slider_text=Swipe to Delete</action>
1717 <action function="page">confirm_action</action>
1718 </actions>
1719 </object>
1720
1721 <object type="slider">
1722 <placement x="%slider_x%" y="%slider_y%" />
1723 <resource base="slider" used="slider-used" touch="slider-touch" />
1724 <action function="page">restore_run</action>
1725 </object>
1726
1727 <object type="text" color="%text_color%">
1728 <font resource="font" />
1729 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1730 <text>Swipe to Restore</text>
1731 </object>
1732
1733 <object type="checkbox">
1734 <placement x="%col1_x%" y="%row2_text_y%" />
1735 <font resource="font" color="%text_color%" />
1736 <text>System</text>
1737 <condition var1="tw_restore_system" op=">=" var2="0" />
1738 <data variable="tw_restore_system" />
1739 <image checked="checkbox_true" unchecked="checkbox_false" />
1740 </object>
1741
1742 <object type="checkbox">
1743 <placement x="%col1_x%" y="%row3_text_y%" />
1744 <font resource="font" color="%text_color%" />
1745 <text>Data</text>
1746 <condition var1="tw_restore_data" op=">=" var2="0" />
1747 <data variable="tw_restore_data" />
1748 <image checked="checkbox_true" unchecked="checkbox_false" />
1749 </object>
1750
1751 <object type="checkbox">
1752 <placement x="%col1_x%" y="%row4_text_y%" />
1753 <font resource="font" color="%text_color%" />
1754 <text>Boot</text>
1755 <condition var1="tw_restore_boot" op=">=" var2="0" />
1756 <data variable="tw_restore_boot" />
1757 <image checked="checkbox_true" unchecked="checkbox_false" />
1758 </object>
1759
1760 <object type="checkbox">
1761 <placement x="%col1_x%" y="%row6_text_y%" />
1762 <font resource="font" color="%text_color%" />
1763 <text>Cache</text>
1764 <condition var1="tw_restore_cache" op=">=" var2="0" />
1765 <data variable="tw_restore_cache" />
1766 <image checked="checkbox_true" unchecked="checkbox_false" />
1767 </object>
1768
1769 <object type="checkbox">
1770 <placement x="%col1_x%" y="%row7_text_y%" />
1771 <font resource="font" color="%text_color%" />
1772 <text>.android_secure</text>
1773 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1774 <data variable="tw_restore_andsec" />
1775 <image checked="checkbox_true" unchecked="checkbox_false" />
1776 </object>
1777
1778 <object type="checkbox">
1779 <placement x="%col1_x%" y="%row8_text_y%" />
1780 <font resource="font" color="%text_color%" />
1781 <text>sd-ext</text>
1782 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1783 <data variable="tw_restore_sdext" />
1784 <image checked="checkbox_true" unchecked="checkbox_false" />
1785 </object>
1786
1787 <object type="checkbox">
1788 <placement x="%col1_x%" y="%row10_text_y%" />
1789 <font resource="font" color="%text_color%" />
1790 <text>%tw_sp1_name%</text>
1791 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1792 <data variable="tw_restore_sp1" />
1793 <image checked="checkbox_true" unchecked="checkbox_false" />
1794 </object>
1795
1796 <object type="checkbox">
1797 <placement x="%col1_x%" y="%row11_text_y%" />
1798 <font resource="font" color="%text_color%" />
1799 <text>%tw_sp2_name%</text>
1800 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1801 <data variable="tw_restore_sp2" />
1802 <image checked="checkbox_true" unchecked="checkbox_false" />
1803 </object>
1804
1805 <object type="checkbox">
1806 <placement x="%col1_x%" y="%row12_text_y%" />
1807 <font resource="font" color="%text_color%" />
1808 <text>%tw_sp3_name%</text>
1809 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1810 <data variable="tw_restore_sp3" />
1811 <image checked="checkbox_true" unchecked="checkbox_false" />
1812 </object>
1813
1814 <object type="checkbox">
1815 <placement x="%col1_x%" y="%row14_text_y%" />
1816 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001817 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001818 <data variable="tw_skip_md5_check" />
1819 <image checked="checkbox_true" unchecked="checkbox_false" />
1820 </object>
1821
1822 <object type="text" color="%text_color%">
1823 <font resource="font" />
1824 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1825 <text>Package Date: %tw_restore_file_date%</text>
1826 </object>
1827
1828 <object type="action">
1829 <touch key="home" />
1830 <action function="page">main</action>
1831 </object>
1832
1833 <object type="action">
1834 <touch key="back" />
1835 <action function="page">restore</action>
1836 </object>
1837
1838 <object type="template" name="footer" />
1839 </page>
1840
1841 <page name="renamebackup">
1842 <object type="template" name="header" />
1843
1844 <object type="text" color="%text_color%">
1845 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1846 <font resource="font" />
1847 <text>Please Enter a New Backup Name</text>
1848 </object>
1849
1850 <object type="input">
1851 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1852 <background color="%input_background_color%" />
1853 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1854 <font resource="font" color="%text_color%" />
1855 <text>%tw_backup_rename%</text>
1856 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001857 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001858 <actions>
1859 <action function="set">tw_back=restore</action>
1860 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001861 <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 -04001862 <action function="set">tw_text1=Rename Backup?</action>
1863 <action function="set">tw_text2=This cannot be undone!</action>
1864 <action function="set">tw_action_text1=Renaming Backup...</action>
1865 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1866 <action function="set">tw_slider_text=Swipe to Rename</action>
1867 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1868 <action function="set">tw_existpage=renamebackup</action>
1869 <action function="set">tw_notexistpage=confirm_action</action>
1870 <action function="page">filecheck</action>
1871 </actions>
1872 </object>
1873
1874 <object type="text" color="%text_fail_color%">
1875 <condition var1="tw_fileexists" var2="1" />
1876 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1877 <font resource="font" />
1878 <text>A backup with that name already exists!</text>
1879 </object>
1880
1881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001883 <placement x="%col_center_x%" y="%row2_y%" />
1884 <font resource="font" color="%button_text_color%" />
1885 <text>Cancel</text>
1886 <image resource="main_button" />
1887 <action function="page">restore_select</action>
1888 </object>
1889
1890 <object type="template" name="keyboardtemplate" />
1891
1892 <object type="action">
1893 <touch key="home" />
1894 <action function="page">main</action>
1895 </object>
1896
1897 <object type="action">
1898 <touch key="back" />
1899 <action function="page">restore_select</action>
1900 </object>
1901
1902 <object type="template" name="footer" />
1903 </page>
1904
1905 <page name="restore_run">
1906 <object type="template" name="header" />
1907
1908 <object type="text" color="%text_color%">
1909 <font resource="font" />
1910 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1911 <text>%tw_operation% %tw_partition%</text>
1912 </object>
1913
1914 <object type="template" name="action_page_console" />
1915
1916 <object type="template" name="progress_bar" />
1917
1918 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001919 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001920 <actions>
1921 <action function="set">tw_back=restore_select</action>
1922 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001923 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001924 <action function="page">action_complete</action>
1925 </actions>
1926 </object>
1927
1928 <object type="action">
1929 <action function="nandroid">restore</action>
1930 </object>
1931 </page>
1932
1933 <page name="mount">
1934 <object type="template" name="header" />
1935
1936 <object type="text" color="%text_color%">
1937 <font resource="font" />
1938 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1939 <text>Mount Menu</text>
1940 </object>
1941
1942 <object type="button">
1943 <placement x="%col1_x%" y="%row1_text_y%" />
1944 <font resource="font" color="%text_color%" />
1945 <condition var1="mounted" op="!=" var2="/system" />
1946 <text>Mount System</text>
1947 <image resource="checkbox_false" />
1948 <action function="mount">/system</action>
1949 </object>
1950
1951 <object type="button">
1952 <placement x="%col1_x%" y="%row1_text_y%" />
1953 <font resource="font" color="%text_color%" />
1954 <condition var1="mounted" op="=" var2="/system" />
1955 <text>Unmount System</text>
1956 <image resource="checkbox_true" />
1957 <action function="umount">/system</action>
1958 </object>
1959
1960 <object type="button">
1961 <placement x="%col1_x%" y="%row2_text_y%" />
1962 <font resource="font" color="%text_color%" />
1963 <condition var1="mounted" op="!=" var2="/data" />
1964 <text>Mount Data</text>
1965 <image resource="checkbox_false" />
1966 <action function="mount">/data</action>
1967 </object>
1968
1969 <object type="button">
1970 <placement x="%col1_x%" y="%row2_text_y%" />
1971 <font resource="font" color="%text_color%" />
1972 <condition var1="mounted" op="=" var2="/data" />
1973 <text>Unmount Data</text>
1974 <image resource="checkbox_true" />
1975 <action function="umount">/data</action>
1976 </object>
1977
1978 <object type="button">
1979 <placement x="%col1_x%" y="%row3_text_y%" />
1980 <font resource="font" color="%text_color%" />
1981 <condition var1="mounted" op="!=" var2="/cache" />
1982 <text>Mount Cache</text>
1983 <image resource="checkbox_false" />
1984 <action function="mount">/cache</action>
1985 </object>
1986
1987 <object type="button">
1988 <placement x="%col1_x%" y="%row3_text_y%" />
1989 <font resource="font" color="%text_color%" />
1990 <condition var1="mounted" op="=" var2="/cache" />
1991 <text>Unmount Cache</text>
1992 <image resource="checkbox_true" />
1993 <action function="umount">/cache</action>
1994 </object>
1995
1996 <object type="button">
1997 <placement x="%col1_x%" y="%row4_text_y%" />
1998 <font resource="font" color="%text_color%" />
1999 <conditions>
2000 <condition var1="tw_has_external" var2="1" />
2001 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2002 </conditions>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002003 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002004 <image resource="checkbox_false" />
2005 <action function="mount">EXTERNAL</action>
2006 </object>
2007
2008 <object type="button">
2009 <placement x="%col1_x%" y="%row4_text_y%" />
2010 <font resource="font" color="%text_color%" />
2011 <conditions>
2012 <condition var1="tw_has_external" var2="1" />
2013 <condition var1="mounted" op="=" var2="EXTERNAL" />
2014 </conditions>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002015 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002016 <image resource="checkbox_true" />
2017 <action function="umount">EXTERNAL</action>
2018 </object>
2019
2020 <object type="button">
2021 <placement x="%col2_x%" y="%row4_text_y%" />
2022 <font resource="font" color="%text_color%" />
2023 <conditions>
2024 <condition var1="tw_has_internal" var2="1" />
2025 <condition var1="tw_has_data_media" var2="0" />
2026 <condition var1="mounted" op="!=" var2="INTERNAL" />
2027 </conditions>
2028 <text>Mount Internal</text>
2029 <image resource="checkbox_false" />
2030 <action function="mount">INTERNAL</action>
2031 </object>
2032
2033 <object type="button">
2034 <placement x="%col2_x%" y="%row4_text_y%" />
2035 <font resource="font" color="%text_color%" />
2036 <conditions>
2037 <condition var1="tw_has_internal" var2="1" />
2038 <condition var1="tw_has_data_media" var2="0" />
2039 <condition var1="mounted" op="=" var2="INTERNAL" />
2040 </conditions>
2041 <text>Unmount Internal</text>
2042 <image resource="checkbox_true" />
2043 <action function="umount">INTERNAL</action>
2044 </object>
2045
2046 <object type="button">
2047 <conditions>
2048 <condition var1="tw_has_sdext_partition" var2="1" />
2049 <condition var1="mounted" op="!=" var2="/sd-ext" />
2050 </conditions>
2051 <placement x="%col1_x%" y="%row5_text_y%" />
2052 <font resource="font" color="%text_color%" />
2053 <text>Mount SD-Ext</text>
2054 <image resource="checkbox_false" />
2055 <action function="mount">/sd-ext</action>
2056 </object>
2057
2058 <object type="button">
2059 <placement x="%col1_x%" y="%row5_text_y%" />
2060 <font resource="font" color="%text_color%" />
2061 <condition var1="mounted" op="=" var2="/sd-ext" />
2062 <text>Unmount SD-Ext</text>
2063 <image resource="checkbox_true" />
2064 <action function="umount">/sd-ext</action>
2065 </object>
2066
2067 <object type="button">
2068 <conditions>
2069 <condition var1="tw_boot_is_mountable" var2="1" />
2070 <condition var1="mounted" op="!=" var2="/boot" />
2071 </conditions>
2072 <placement x="%col1_x%" y="%row6_text_y%" />
2073 <font resource="font" color="#A0A0A0" />
2074 <text>Mount Boot</text>
2075 <image resource="checkbox_false" />
2076 <action function="mount">/boot</action>
2077 </object>
2078
2079 <object type="button">
2080 <conditions>
2081 <condition var1="tw_boot_is_mountable" var2="1" />
2082 <condition var1="mounted" op="=" var2="/boot" />
2083 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002084 <placement x="%col1_x%" y="%row6_text_y%" />
2085 <font resource="font" color="#A0A0A0" />
2086 <text>Unmount Boot</text>
2087 <image resource="checkbox_true" />
2088 <action function="umount">/boot</action>
2089 </object>
2090
2091 <object type="button">
2092 <placement x="%col1_x%" y="%row8_text_y%" />
2093 <font resource="font" color="%text_color%" />
2094 <conditions>
2095 <condition var1="tw_has_dual_storage" var2="1" />
2096 <condition var1="tw_use_external_storage" var2="1" />
2097 </conditions>
2098 <text>Use external SD</text>
2099 <image resource="radio_true" />
2100 <action function="togglestorage">external</action>
2101 </object>
2102
2103 <object type="button">
2104 <placement x="%col1_x%" y="%row8_text_y%" />
2105 <font resource="font" color="%text_color%" />
2106 <conditions>
2107 <condition var1="tw_has_dual_storage" var2="1" />
2108 <condition var1="tw_use_external_storage" var2="0" />
2109 </conditions>
2110 <text>Use external SD</text>
2111 <image resource="radio_false" />
2112 <action function="togglestorage">external</action>
2113 </object>
2114
2115 <object type="button">
2116 <placement x="%col2_x%" y="%row8_text_y%" />
2117 <font resource="font" color="%text_color%" />
2118 <conditions>
2119 <condition var1="tw_has_dual_storage" var2="1" />
2120 <condition var1="tw_use_external_storage" var2="1" />
2121 </conditions>
2122 <text>Use internal storage</text>
2123 <image resource="radio_false" />
2124 <action function="togglestorage">internal</action>
2125 </object>
2126
2127 <object type="button">
2128 <placement x="%col2_x%" y="%row8_text_y%" />
2129 <font resource="font" color="%text_color%" />
2130 <conditions>
2131 <condition var1="tw_has_dual_storage" var2="1" />
2132 <condition var1="tw_use_external_storage" var2="0" />
2133 </conditions>
2134 <text>Use internal storage</text>
2135 <image resource="radio_true" />
2136 <action function="togglestorage">internal</action>
2137 </object>
2138
2139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002140 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002141 <condition var1="tw_has_usb_storage" var2="1" />
2142 <placement x="%col1_x%" y="row3_y" />
2143 <font resource="font" color="%button_text_color%" />
2144 <text>Mount USB Storage</text>
2145 <image resource="main_button" />
2146 <action function="page">usb_mount</action>
2147 </object>
2148
Gary Peckffdc6ae2012-11-21 18:02:02 -08002149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002150 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002151 <conditions>
2152 <condition var1="tw_is_encrypted" var2="1" />
2153 <condition var1="tw_is_decrypted" var2="0" />
2154 </conditions>
2155 <placement x="%col2_x%" y="row3_y" />
2156 <font resource="font" color="%button_text_color%" />
2157 <text>Decrypt Data</text>
2158 <image resource="main_button" />
2159 <action function="page">decrypt</action>
2160 </object>
2161
Dees_Troy51a0e822012-09-05 15:24:24 -04002162 <object type="action">
2163 <touch key="home" />
2164 <action function="page">main</action>
2165 </object>
2166
2167 <object type="action">
2168 <touch key="back" />
2169 <action function="page">main</action>
2170 </object>
2171
2172 <object type="template" name="footer" />
2173 </page>
2174
2175 <page name="usb_mount">
2176 <object type="template" name="header" />
2177
2178 <object type="text" color="%text_color%">
2179 <font resource="font" />
2180 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2181 <text>USB Storage Mounted</text>
2182 </object>
2183
2184 <object type="text" color="%text_color%">
2185 <placement x="%col1_x%" y="%row1_text_y%" />
2186 <font resource="font" />
2187 <text>Be sure to safely remove your device</text>
2188 </object>
2189
2190 <object type="text" color="%text_color%">
2191 <placement x="%col1_x%" y="%row2_text_y%" />
2192 <font resource="font" />
2193 <text>from your computer before unmounting!</text>
2194 </object>
2195
2196 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002197 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002198 <placement x="%col1_x%" y="%row3_y%" />
2199 <font resource="font" color="%button_text_color%" />
2200 <text>Unmount</text>
2201 <image resource="main_button" />
2202 <action function="page">usb_umount</action>
2203 </object>
2204
2205 <object type="action">
2206 <action function="mount">usb</action>
2207 </object>
2208
2209 <object type="template" name="footer" />
2210 </page>
2211
2212 <page name="usb_umount">
2213 <object type="action">
2214 <action function="unmount">usb</action>
2215 </object>
2216
2217 <object type="action">
2218 <action function="page">mount</action>
2219 </object>
2220 </page>
2221
2222 <page name="reboot">
2223 <object type="template" name="header" />
2224
2225 <object type="text" color="%text_color%">
2226 <font resource="font" />
2227 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2228 <text>Reboot Menu</text>
2229 </object>
2230
2231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002233 <condition var1="tw_reboot_system" var2="1" />
2234 <placement x="%col1_x%" y="%row1_y%" />
2235 <font resource="font" color="%button_text_color%" />
2236 <text>System</text>
2237 <image resource="main_button" />
2238 <actions>
2239 <action function="set">tw_back=reboot</action>
2240 <action function="set">tw_action=reboot</action>
2241 <action function="set">tw_action_param=system</action>
2242 <action function="set">tw_has_action2=0</action>
2243 <action function="set">tw_text1=No OS Installed! Are you</action>
2244 <action function="set">tw_text2=sure you wish to reboot?</action>
2245 <action function="set">tw_action_text1=Rebooting...</action>
2246 <action function="set">tw_complete_text1=Rebooting...</action>
2247 <action function="set">tw_slider_text=Swipe to Reboot</action>
2248 <action function="page">rebootcheck</action>
2249 </actions>
2250 </object>
2251
2252 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002253 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002254 <condition var1="tw_reboot_poweroff" var2="1" />
2255 <placement x="%col2_x%" y="%row1_y%" />
2256 <font resource="font" color="%button_text_color%" />
2257 <text>Power Off</text>
2258 <image resource="main_button" />
2259 <actions>
2260 <action function="set">tw_back=reboot</action>
2261 <action function="set">tw_action=reboot</action>
2262 <action function="set">tw_action_param=poweroff</action>
2263 <action function="set">tw_has_action2=0</action>
2264 <action function="set">tw_text1=No OS Installed! Are you</action>
2265 <action function="set">tw_text2=sure you wish to power off?</action>
2266 <action function="set">tw_action_text1=Turning Off...</action>
2267 <action function="set">tw_complete_text1=Turning Off...</action>
2268 <action function="set">tw_slider_text=Swipe to Power Off</action>
2269 <action function="page">rebootcheck</action>
2270 </actions>
2271 </object>
2272
2273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002275 <condition var1="tw_reboot_recovery" var2="1" />
2276 <placement x="%col1_x%" y="%row2_y%" />
2277 <font resource="font" color="%button_text_color%" />
2278 <text>Recovery</text>
2279 <image resource="main_button" />
2280 <actions>
2281 <action function="set">tw_back=reboot</action>
2282 <action function="set">tw_action=reboot</action>
2283 <action function="set">tw_action_param=recovery</action>
2284 <action function="set">tw_has_action2=0</action>
2285 <action function="set">tw_text1=No OS Installed! Are you</action>
2286 <action function="set">tw_text2=sure you wish to reboot?</action>
2287 <action function="set">tw_action_text1=Rebooting...</action>
2288 <action function="set">tw_complete_text1=Rebooting...</action>
2289 <action function="set">tw_slider_text=Swipe to Reboot</action>
2290 <action function="page">rebootcheck</action>
2291 </actions>
2292 </object>
2293
2294 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002295 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002296 <condition var1="tw_reboot_bootloader" var2="1" />
2297 <placement x="%col2_x%" y="%row2_y%" />
2298 <font resource="font" color="%button_text_color%" />
2299 <text>Bootloader</text>
2300 <image resource="main_button" />
2301 <actions>
2302 <action function="set">tw_back=reboot</action>
2303 <action function="set">tw_action=reboot</action>
2304 <action function="set">tw_action_param=bootloader</action>
2305 <action function="set">tw_has_action2=0</action>
2306 <action function="set">tw_text1=No OS Installed! Are you</action>
2307 <action function="set">tw_text2=sure you wish to reboot?</action>
2308 <action function="set">tw_action_text1=Rebooting...</action>
2309 <action function="set">tw_complete_text1=Rebooting...</action>
2310 <action function="set">tw_slider_text=Swipe to Reboot</action>
2311 <action function="page">rebootcheck</action>
2312 </actions>
2313 </object>
2314
2315 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002316 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002317 <condition var1="tw_download_mode" var2="1" />
2318 <placement x="%col1_x%" y="%row3_y%" />
2319 <font resource="font" color="%button_text_color%" />
2320 <text>Download</text>
2321 <image resource="main_button" />
2322 <actions>
2323 <action function="set">tw_back=reboot</action>
2324 <action function="set">tw_action=reboot</action>
2325 <action function="set">tw_action_param=download</action>
2326 <action function="set">tw_has_action2=0</action>
2327 <action function="set">tw_text1=No OS Installed! Are you</action>
2328 <action function="set">tw_text2=sure you wish to reboot?</action>
2329 <action function="set">tw_action_text1=Rebooting...</action>
2330 <action function="set">tw_complete_text1=Rebooting...</action>
2331 <action function="set">tw_slider_text=Swipe to Reboot</action>
2332 <action function="page">rebootcheck</action>
2333 </actions>
2334 </object>
2335
2336 <object type="action">
2337 <touch key="home" />
2338 <action function="page">main</action>
2339 </object>
2340
2341 <object type="action">
2342 <touch key="back" />
2343 <action function="page">main</action>
2344 </object>
2345
2346 <object type="template" name="footer" />
2347 </page>
2348
2349 <page name="settings">
2350 <object type="template" name="header" />
2351
2352 <object type="text" color="%text_color%">
2353 <font resource="font" />
2354 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2355 <text>Settings</text>
2356 </object>
2357
2358 <object type="checkbox">
2359 <placement x="%col1_x%" y="%row1_text_y%" />
2360 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002361 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002362 <data variable="tw_signed_zip_verify" />
2363 <image checked="checkbox_true" unchecked="checkbox_false" />
2364 </object>
2365
2366 <object type="checkbox">
2367 <placement x="%col1_x%" y="%row2_text_y%" />
2368 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002369 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002370 <data variable="tw_rm_rf" />
2371 <image checked="checkbox_true" unchecked="checkbox_false" />
2372 </object>
2373
2374 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002375 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002377 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002378 <data variable="tw_skip_md5_generate" />
2379 <image checked="checkbox_true" unchecked="checkbox_false" />
2380 </object>
2381
2382 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002383 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002385 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <data variable="tw_skip_md5_check" />
2387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002391 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002393 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <data variable="tw_ignore_image_size" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002399 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002401 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <data variable="tw_simulate_actions" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
2407 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002408 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002410 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <data variable="tw_simulate_fail" />
2412 <image checked="checkbox_true" unchecked="checkbox_false" />
2413 </object>
2414
2415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <placement x="%col1_x%" y="%row3_y%" />
2418 <font resource="font" color="%button_text_color%" />
2419 <text>Time Zone</text>
2420 <image resource="main_button" />
2421 <action function="page">timezone</action>
2422 </object>
2423
2424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002425 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002426 <placement x="%col2_x%" y="%row3_y%" />
2427 <font resource="font" color="%button_text_color%" />
2428 <text>Screen</text>
2429 <image resource="main_button" />
2430 <action function="page">screen</action>
2431 </object>
2432
2433 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <placement x="%col_center_x%" y="%row4_y%" />
2435 <font resource="font" color="%button_text_color%" />
2436 <text>Restore Defaults</text>
2437 <image resource="main_button" />
2438 <action function="restoredefaultsettings"></action>
2439 </object>
2440
2441 <object type="action">
2442 <touch key="home" />
2443 <action function="page">main</action>
2444 </object>
2445
2446 <object type="action">
2447 <touch key="back" />
2448 <action function="page">main</action>
2449 </object>
2450
2451 <object type="template" name="footer" />
2452 </page>
2453
2454 <page name="timezone">
2455 <object type="template" name="header" />
2456
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002458 <highlight color="%fileselector_highlight_color%" />
2459 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2460 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2461 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002463 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002464 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002465 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002466 <data name="tw_time_zone_guisel" />
2467 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2468 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2469 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2470 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2471 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2472 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2473 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2474 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2475 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2476 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2477 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2478 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2479 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2480 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2481 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2482 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2483 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2484 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2485 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2486 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2487 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2488 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2489 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2490 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2491 </object>
2492
2493 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002494 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <font resource="font" color="%text_color%" />
2496 <text>Do you use daylight savings time (DST)?</text>
2497 <data variable="tw_time_zone_guidst" />
2498 <image checked="checkbox_true" unchecked="checkbox_false" />
2499 </object>
2500
2501 <object type="text" color="%text_color%">
2502 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002503 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2505 </object>
2506
2507 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002508 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002509 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002510 <font resource="font" color="%button_text_color%" />
2511 <text>None</text>
2512 <image resource="medium_button" />
2513 <action function="set">tw_time_zone_guioffset=0</action>
2514 </object>
2515
2516 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002517 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002518 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 <font resource="font" color="%button_text_color%" />
2520 <text>15</text>
2521 <image resource="medium_button" />
2522 <action function="set">tw_time_zone_guioffset=15</action>
2523 </object>
2524
2525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002526 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002527 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <font resource="font" color="%button_text_color%" />
2529 <text>30</text>
2530 <image resource="medium_button" />
2531 <action function="set">tw_time_zone_guioffset=30</action>
2532 </object>
2533
2534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002535 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002536 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <font resource="font" color="%button_text_color%" />
2538 <text>45</text>
2539 <image resource="medium_button" />
2540 <action function="set">tw_time_zone_guioffset=45</action>
2541 </object>
2542
2543 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002544 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <placement x="%col_center_x%" y="%tz_set_y%" />
2546 <font resource="font" color="%button_text_color%" />
2547 <text>Set Time Zone</text>
2548 <image resource="main_button" />
2549 <action function="setguitimezone"></action>
2550 </object>
2551
2552 <object type="text" color="%text_color%">
2553 <font resource="font" />
2554 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2555 <text>Current Time Zone: %tw_time_zone%</text>
2556 </object>
2557
2558 <object type="action">
2559 <touch key="home" />
2560 <action function="page">main</action>
2561 </object>
2562
2563 <object type="action">
2564 <touch key="back" />
2565 <action function="page">settings</action>
2566 </object>
2567
2568 <object type="template" name="footer" />
2569 </page>
2570
Dees_Troy2f9117a2013-02-17 19:52:09 -06002571 <page name="screen">
2572 <object type="template" name="header" />
2573
2574 <object type="text" color="%text_color%">
2575 <font resource="font" />
2576 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2577 <text>Screen Settings</text>
2578 </object>
2579
2580 <object type="text" color="%text_color%">
2581 <font resource="font" />
2582 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2583 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2584 </object>
2585
2586 <object type="button">
2587 <placement x="%col1_medium_x%" y="%row2_y%" />
2588 <font resource="font" color="%button_text_color%" />
2589 <text>None</text>
2590 <image resource="medium_button" />
2591 <action function="set">tw_screen_timeout_secs=0</action>
2592 </object>
2593
2594 <object type="button">
2595 <placement x="%col2_medium_x%" y="%row2_y%" />
2596 <font resource="font" color="%button_text_color%" />
2597 <text>60</text>
2598 <image resource="medium_button" />
2599 <action function="set">tw_screen_timeout_secs=60</action>
2600 </object>
2601
2602 <object type="button">
2603 <placement x="%col3_medium_x%" y="%row2_y%" />
2604 <font resource="font" color="%button_text_color%" />
2605 <text>120</text>
2606 <image resource="medium_button" />
2607 <action function="set">tw_screen_timeout_secs=120</action>
2608 </object>
2609
2610 <object type="button">
2611 <placement x="%col4_medium_x%" y="%row2_y%" />
2612 <font resource="font" color="%button_text_color%" />
2613 <text>180</text>
2614 <image resource="medium_button" />
2615 <action function="set">tw_screen_timeout_secs=180</action>
2616 </object>
2617
2618 <object type="text" color="%text_color%">
2619 <condition var1="tw_has_brightnesss_file" var2="1" />
2620 <font resource="font" />
2621 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2622 <text>Brightness: %tw_brightness_display%</text>
2623 </object>
2624
2625 <object type="button">
2626 <condition var1="tw_has_brightnesss_file" var2="1" />
2627 <placement x="%col1_medium_x%" y="%row4_y%" />
2628 <font resource="font" color="%button_text_color%" />
2629 <text>25%</text>
2630 <image resource="medium_button" />
2631 <actions>
2632 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2633 <action function="set">tw_brightness_display=25%</action>
2634 <action function="set">tw_brightness=%tw_brightness_25%</action>
2635 </actions>
2636 </object>
2637
2638 <object type="button">
2639 <condition var1="tw_has_brightnesss_file" var2="1" />
2640 <placement x="%col2_medium_x%" y="%row4_y%" />
2641 <font resource="font" color="%button_text_color%" />
2642 <text>50%</text>
2643 <image resource="medium_button" />
2644 <actions>
2645 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2646 <action function="set">tw_brightness_display=50%</action>
2647 <action function="set">tw_brightness=%tw_brightness_50%</action>
2648 </actions>
2649 </object>
2650
2651 <object type="button">
2652 <condition var1="tw_has_brightnesss_file" var2="1" />
2653 <placement x="%col3_medium_x%" y="%row4_y%" />
2654 <font resource="font" color="%button_text_color%" />
2655 <text>75%</text>
2656 <image resource="medium_button" />
2657 <actions>
2658 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2659 <action function="set">tw_brightness_display=75%</action>
2660 <action function="set">tw_brightness=%tw_brightness_75%</action>
2661 </actions>
2662 </object>
2663
2664 <object type="button">
2665 <condition var1="tw_has_brightnesss_file" var2="1" />
2666 <placement x="%col4_medium_x%" y="%row4_y%" />
2667 <font resource="font" color="%button_text_color%" />
2668 <text>100%</text>
2669 <image resource="medium_button" />
2670 <actions>
2671 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2672 <action function="set">tw_brightness_display=100%</action>
2673 <action function="set">tw_brightness=%tw_brightness_100%</action>
2674 </actions>
2675 </object>
2676
2677 <object type="action">
2678 <touch key="home" />
2679 <action function="page">main</action>
2680 </object>
2681
2682 <object type="action">
2683 <touch key="back" />
2684 <action function="page">settings</action>
2685 </object>
2686
2687 <object type="template" name="footer" />
2688 </page>
2689
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <page name="advanced">
2691 <object type="template" name="header" />
2692
2693 <object type="text" color="%text_color%">
2694 <font resource="font" />
2695 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2696 <text>Advanced</text>
2697 </object>
2698
2699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002701 <placement x="%col1_x%" y="%row1_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>Copy Log to SD</text>
2704 <image resource="main_button" />
2705 <actions>
2706 <action function="set">tw_back=advanced</action>
2707 <action function="set">tw_action=copylog</action>
2708 <action function="set">tw_text1=Copy Log to SD Card?</action>
2709 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2710 <action function="set">tw_complete_text1=Log Copy Complete</action>
2711 <action function="set">tw_slider_text=Swipe to Confirm</action>
2712 <action function="page">confirm_action</action>
2713 </actions>
2714 </object>
2715
2716 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002717 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002718 <placement x="%col2_x%" y="%row1_y%" />
2719 <font resource="font" color="%button_text_color%" />
2720 <text>Fix Permissions</text>
2721 <image resource="main_button" />
2722 <actions>
2723 <action function="set">tw_back=advanced</action>
2724 <action function="set">tw_action=fixpermissions</action>
2725 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002727 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2728 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002729 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <action function="page">confirm_action</action>
2731 </actions>
2732 </object>
2733
2734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <condition var1="tw_allow_partition_sdcard" var2="1" />
2737 <placement x="%col1_x%" y="%row2_y%" />
2738 <font resource="font" color="%button_text_color%" />
2739 <text>Partition SD Card</text>
2740 <image resource="main_button" />
2741 <action function="page">partsdcard</action>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <placement x="%col2_x%" y="%row2_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text>File Manager</text>
2749 <image resource="main_button" />
2750 <action function="page">filemanagerlist</action>
2751 </object>
2752
2753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <placement x="%col1_x%" y="%row3_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>Terminal Command</text>
2758 <image resource="main_button" />
2759 <action function="page">terminalfolder</action>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002764 <placement x="%col2_x%" y="%row3_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>Reload Theme</text>
2767 <image resource="main_button" />
2768 <action function="reload"></action>
2769 </object>
2770
2771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002772 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002773 <placement x="%col1_x%" y="%row4_y%" />
2774 <font resource="font" color="%button_text_color%" />
2775 <text>ADB Sideload</text>
2776 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002777 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <condition var1="tw_show_dumlock" var2="1" />
2783 <placement x="%col2_x%" y="%row4_y%" />
2784 <font resource="font" color="%button_text_color%" />
2785 <text>HTC Dumlock</text>
2786 <image resource="main_button" />
2787 <action function="page">htcdumlock</action>
2788 </object>
2789
2790 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002791 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002792 <condition var1="tw_has_injecttwrp" var2="1" />
2793 <placement x="%col2_x%" y="%row4_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>Re-Inject TWRP</text>
2796 <image resource="main_button" />
2797 <actions>
2798 <action function="set">tw_back=advanced</action>
2799 <action function="set">tw_action=reinjecttwrp</action>
2800 <action function="set">tw_text1=Re-Inject TWRP?</action>
2801 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2802 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2803 <action function="set">tw_slider_text=Swipe to Confirm</action>
2804 <action function="page">confirm_action</action>
2805 </actions>
2806 </object>
2807
2808 <object type="action">
2809 <touch key="home" />
2810 <action function="page">main</action>
2811 </object>
2812
2813 <object type="action">
2814 <touch key="back" />
2815 <action function="page">main</action>
2816 </object>
2817
2818 <object type="template" name="footer" />
2819 </page>
2820
2821 <page name="partsdcard">
2822 <object type="template" name="header" />
2823
2824 <object type="text" color="%text_color%">
2825 <font resource="font" />
2826 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2827 <text>Partition SD Card</text>
2828 </object>
2829
2830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002831 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <placement x="%col1_x%" y="%row1_y%" />
2833 <font resource="font" color="%button_text_color%" />
2834 <text></text>
2835 <image resource="minus_button" />
2836 <action function="addsubtract">tw_sdext_size-128</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 <placement x="%sd_plus_x%" y="%row1_y%" />
2842 <font resource="font" color="%button_text_color%" />
2843 <text></text>
2844 <image resource="plus_button" />
2845 <action function="addsubtract">tw_sdext_size+128</action>
2846 </object>
2847
2848 <object type="text" color="%text_color%">
2849 <font resource="font" />
2850 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2851 <text>EXT Size: %tw_sdext_size%</text>
2852 </object>
2853
2854 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002855 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002856 <placement x="%col1_x%" y="%sdswap_button_y%" />
2857 <font resource="font" color="%button_text_color%" />
2858 <text></text>
2859 <image resource="minus_button" />
2860 <action function="addsubtract">tw_swap_size-32</action>
2861 </object>
2862
2863 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002864 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2866 <font resource="font" color="%button_text_color%" />
2867 <text></text>
2868 <image resource="plus_button" />
2869 <action function="addsubtract">tw_swap_size+32</action>
2870 </object>
2871
2872 <object type="text" color="%text_color%">
2873 <font resource="font" />
2874 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2875 <text>Swap Size: %tw_swap_size%</text>
2876 </object>
2877
2878 <object type="text" color="%text_color%">
2879 <font resource="font" />
2880 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2881 <text>File system: %tw_sdpart_file_system%</text>
2882 </object>
2883
2884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002885 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2887 <font resource="font" color="%button_text_color%" />
2888 <text>EXT3</text>
2889 <image resource="main_button" />
2890 <action function="set">tw_sdpart_file_system=ext3</action>
2891 </object>
2892
2893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002894 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002895 <condition var1="tw_sdext_disable_ext4" var2="0" />
2896 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text>EXT4</text>
2899 <image resource="main_button" />
2900 <action function="set">tw_sdpart_file_system=ext4</action>
2901 </object>
2902
2903 <object type="text" color="%text_color%">
2904 <font resource="font" />
2905 <placement x="%col1_x%" y="%row12_text_y%" />
2906 <text>You will lose all files on your SD card!</text>
2907 </object>
2908
2909 <object type="text" color="%text_color%">
2910 <font resource="font" />
2911 <placement x="%col1_x%" y="%row13_text_y%" />
2912 <text>This action cannot be undone!</text>
2913 </object>
2914
2915 <object type="slider">
2916 <placement x="%slider_x%" y="%slider_y%" />
2917 <resource base="slider" used="slider-used" touch="slider-touch" />
2918 <action function="page">partsdcardaction</action>
2919 <actions>
2920 <action function="set">tw_back=partsdcard</action>
2921 <action function="set">tw_action=partitionsd</action>
2922 <action function="set">tw_has_action2=1</action>
2923 <action function="set">tw_action2=set</action>
2924 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2925 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2926 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002927 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002928 <action function="page">action_page</action>
2929 </actions>
2930 </object>
2931
2932 <object type="text" color="%text_color%">
2933 <font resource="font" />
2934 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2935 <text>Swipe to Partition</text>
2936 </object>
2937
2938 <object type="action">
2939 <touch key="home" />
2940 <action function="page">main</action>
2941 </object>
2942
2943 <object type="action">
2944 <touch key="back" />
2945 <action function="page">advanced</action>
2946 </object>
2947
2948 <object type="template" name="footer" />
2949 </page>
2950
2951 <page name="htcdumlock">
2952 <object type="template" name="header" />
2953
2954 <object type="text" color="%text_color%">
2955 <font resource="font" />
2956 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2957 <text>HTC Dumlock</text>
2958 </object>
2959
2960 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002961 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <condition var1="tw_show_dumlock" var2="1" />
2963 <placement x="%col1_x%" y="%row1_y%" />
2964 <font resource="font" color="%button_text_color%" />
2965 <text>Restore Original Boot</text>
2966 <image resource="main_button" />
2967 <actions>
2968 <action function="set">tw_back=htcdumlock</action>
2969 <action function="set">tw_action=htcdumlockrestoreboot</action>
2970 <action function="set">tw_text1=Restore original boot image?</action>
2971 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2972 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2973 <action function="set">tw_slider_text=Swipe to Confirm</action>
2974 <action function="page">confirm_action</action>
2975 </actions>
2976 </object>
2977
2978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002979 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002980 <condition var1="tw_show_dumlock" var2="1" />
2981 <placement x="%col2_x%" y="%row1_y%" />
2982 <font resource="font" color="%button_text_color%" />
2983 <text>Reflash Recovery</text>
2984 <image resource="main_button" />
2985 <actions>
2986 <action function="set">tw_back=htcdumlock</action>
2987 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2988 <action function="set">tw_text1=Reflash recovery to boot?</action>
2989 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2990 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2991 <action function="set">tw_slider_text=Swipe to Confirm</action>
2992 <action function="page">confirm_action</action>
2993 </actions>
2994 </object>
2995
2996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002997 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002998 <condition var1="tw_show_dumlock" var2="1" />
2999 <placement x="%col1_x%" y="%row2_y%" />
3000 <font resource="font" color="%button_text_color%" />
3001 <text>Install HTC Dumlock</text>
3002 <image resource="main_button" />
3003 <actions>
3004 <action function="set">tw_back=htcdumlock</action>
3005 <action function="set">tw_action=installhtcdumlock</action>
3006 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3007 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3008 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3009 <action function="set">tw_slider_text=Swipe to Confirm</action>
3010 <action function="page">confirm_action</action>
3011 </actions>
3012 </object>
3013
3014 <object type="action">
3015 <touch key="home" />
3016 <action function="page">main</action>
3017 </object>
3018
3019 <object type="action">
3020 <touch key="back" />
3021 <action function="page">advanced</action>
3022 </object>
3023
3024 <object type="template" name="footer" />
3025 </page>
3026
3027 <page name="lock">
3028 <background color="#000000A0" />
3029
3030 <object type="image">
3031 <image resource="unlock-icon" />
3032 <placement x="%lock_x%" y="%lock_y%" />
3033 </object>
3034
3035 <object type="slider">
3036 <placement x="%slider_x%" y="%slider_y%" />
3037 <resource base="slider" used="slider-used" touch="slider-touch" />
3038 <action function="overlay"></action>
3039 </object>
3040
3041 <object type="text" color="%text_color%">
3042 <font resource="font" />
3043 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3044 <text>Swipe to Unlock</text>
3045 </object>
3046 </page>
3047
3048 <page name="filemanagerlist">
3049 <object type="template" name="header" />
3050
3051 <object type="text" color="%text_color%">
3052 <font resource="font" />
3053 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3054 <text>File Manager: Select a File or Folder</text>
3055 </object>
3056
3057 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003058 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003059 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3060 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3061 <text>%tw_file_location1%</text>
3062 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3063 <sort name="tw_gui_sort_order" />
3064 <icon folder="folder_icon" file="file_icon" />
3065 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003066 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003067 <folders="1" files="1" />
3068 <path name="tw_file_location1" default="/" />
3069 <data name="tw_filename1" />
3070 <selection name="tw_selection1" />
3071 </object>
3072
3073 <object type="template" name="sort_options" />
3074
3075 <object type="action">
3076 <actions>
3077 <action function="set">tw_fm_type=File</action>
3078 <action function="set">tw_fm_isfolder=0</action>
3079 </actions>
3080 </object>
3081
3082 <object type="action">
3083 <touch key="home" />
3084 <action function="page">main</action>
3085 </object>
3086
3087 <object type="action">
3088 <touch key="back" />
3089 <action function="page">advanced</action>
3090 </object>
3091
3092 <object type="action">
3093 <condition var1="tw_filename1" op="modified" />
3094 <actions>
3095 <action function="page">filemanageroptions</action>
3096 </actions>
3097 </object>
3098
3099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003100 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3102 <font resource="font" color="%button_text_color%" />
3103 <text>Select</text>
3104 <image resource="medium_button" />
3105 <actions>
3106 <action function="set">tw_filename1=tw_file_location1</action>
3107 <action function="set">tw_fm_isfolder=1</action>
3108 <action function="set">tw_fm_type=Folder</action>
3109 <action function="page">filemanageroptions</action>
3110 </actions>
3111 </object>
3112
3113 <object type="template" name="footer" />
3114 </page>
3115
3116 <page name="filemanageroptions">
3117 <object type="template" name="header" />
3118
3119 <object type="text" color="%text_color%">
3120 <font resource="font" />
3121 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3122 <text>%tw_fm_type% Selected:</text>
3123 </object>
3124
3125 <object type="text" color="%text_color%">
3126 <font resource="font" />
3127 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3128 <text>%tw_filename1%</text>
3129 </object>
3130
3131 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003132 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003133 <condition var1="tw_fm_isfolder" var2="0" />
3134 <placement x="%col1_x%" y="%row2_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>Copy File</text>
3137 <image resource="main_button" />
3138 <actions>
3139 <action function="set">tw_filemanager_command=cp</action>
3140 <action function="set">tw_fm_text1=Copying</action>
3141 <action function="page">choosedestinationfolder</action>
3142 </actions>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <condition var1="tw_fm_isfolder" var2="1" />
3148 <placement x="%col1_x%" y="%row2_y%" />
3149 <font resource="font" color="%button_text_color%" />
3150 <text>Copy Folder</text>
3151 <image resource="main_button" />
3152 <actions>
3153 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3154 <action function="set">tw_fm_text1=Copying</action>
3155 <action function="page">choosedestinationfolder</action>
3156 </actions>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <placement x="%col2_x%" y="%row2_y%" />
3162 <font resource="font" color="%button_text_color%" />
3163 <text>Move</text>
3164 <image resource="main_button" />
3165 <actions>
3166 <action function="set">tw_filemanager_command=mv</action>
3167 <action function="set">tw_fm_text1=Moving</action>
3168 <action function="page">choosedestinationfolder</action>
3169 </actions>
3170 </object>
3171
3172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003173 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003174 <placement x="%col1_x%" y="%row3_y%" />
3175 <font resource="font" color="%button_text_color%" />
3176 <text>chmod 755</text>
3177 <image resource="main_button" />
3178 <actions>
3179 <action function="set">tw_filemanager_command=chmod 755</action>
3180 <action function="set">tw_fm_text1=chmod 755</action>
3181 <action function="set">tw_fm_text2=</action>
3182 <action function="set">tw_fm_text3=</action>
3183 <action function="set">tw_include_text3=0</action>
3184 <action function="set">tw_back=filemanageroptions</action>
3185 <action function="page">filemanagerconfirm</action>
3186 </actions>
3187 </object>
3188
3189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003191 <placement x="%col2_x%" y="%row3_y%" />
3192 <font resource="font" color="%button_text_color%" />
3193 <text>chmod</text>
3194 <image resource="main_button" />
3195 <actions>
3196 <action function="set">tw_filemanager_rename=0000</action>
3197 <action function="set">tw_fm_text2=</action>
3198 <action function="set">tw_fm_text3=</action>
3199 <action function="set">tw_include_text3=0</action>
3200 <action function="set">tw_back=filemanageroptions</action>
3201 <action function="page">filemanagerchmod</action>
3202 </actions>
3203 </object>
3204
3205 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003206 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003207 <placement x="%col1_x%" y="%row4_y%" />
3208 <font resource="font" color="%button_text_color%" />
3209 <text>Delete</text>
3210 <image resource="main_button" />
3211 <actions>
3212 <action function="set">tw_filemanager_command=rm -rf</action>
3213 <action function="set">tw_fm_text1=Deleting</action>
3214 <action function="set">tw_fm_text2=</action>
3215 <action function="set">tw_fm_text3=</action>
3216 <action function="set">tw_include_text3=0</action>
3217 <action function="set">tw_back=filemanageroptions</action>
3218 <action function="page">filemanagerconfirm</action>
3219 </actions>
3220 </object>
3221
3222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003224 <condition var1="tw_fm_isfolder" var2="0" />
3225 <placement x="%col2_x%" y="%row4_y%" />
3226 <font resource="font" color="%button_text_color%" />
3227 <text>Rename File</text>
3228 <image resource="main_button" />
3229 <actions>
3230 <action function="set">tw_filemanager_rename=tw_selection1</action>
3231 <action function="set">tw_fm_text1=Renaming</action>
3232 <action function="set">tw_filemanager_command=mv</action>
3233 <action function="page">filemanagerrenamefile</action>
3234 </actions>
3235 </object>
3236
3237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <condition var1="tw_fm_isfolder" var2="1" />
3240 <placement x="%col2_x%" y="%row4_y%" />
3241 <font resource="font" color="%button_text_color%" />
3242 <text>Rename Folder</text>
3243 <image resource="main_button" />
3244 <actions>
3245 <action function="set">tw_filemanager_rename=tw_selection1</action>
3246 <action function="set">tw_fm_text1=Renaming</action>
3247 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3248 <action function="page">filemanagerrenamefolder</action>
3249 </actions>
3250 </object>
3251
3252 <object type="action">
3253 <touch key="home" />
3254 <action function="page">main</action>
3255 </object>
3256
3257 <object type="action">
3258 <touch key="back" />
3259 <action function="page">filemanagerlist</action>
3260 </object>
3261
3262 <object type="template" name="footer" />
3263 </page>
3264
3265 <page name="choosedestinationfolder">
3266 <object type="template" name="header" />
3267
3268 <object type="text" color="%text_color%">
3269 <font resource="font" />
3270 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3271 <text>Browse to Destination Folder & Press Select</text>
3272 </object>
3273
3274 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003275 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003276 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3277 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3278 <text>%tw_file_location2%</text>
3279 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3280 <sort name="tw_gui_sort_order" />
3281 <icon folder="folder_icon" file="file_icon" />
3282 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003283 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003284 <filter folders="1" files="0" />
3285 <path name="tw_file_location2" default="/" />
3286 <data name="tw_filename2" />
3287 <selection name="tw_selection2" />
3288 </object>
3289
3290 <object type="template" name="sort_options" />
3291
3292 <object type="action">
3293 <touch key="home" />
3294 <action function="page">main</action>
3295 </object>
3296
3297 <object type="action">
3298 <touch key="back" />
3299 <action function="page">filemanageroptions</action>
3300 </object>
3301
3302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3305 <font resource="font" color="%button_text_color%" />
3306 <text>Select</text>
3307 <image resource="medium_button" />
3308 <actions>
3309 <action function="set">tw_fm_text2=to</action>
3310 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3311 <action function="set">tw_include_text3=1</action>
3312 <action function="set">tw_back=filemanageroptions</action>
3313 <action function="page">filemanagerconfirm</action>
3314 </actions>
3315 </object>
3316
3317 <object type="template" name="footer" />
3318 </page>
3319
3320 <page name="filemanagerrenamefile">
3321 <object type="template" name="header" />
3322
3323 <object type="text" color="%text_color%">
3324 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3325 <font resource="font" />
3326 <text>Please Enter a New %tw_fm_type% Name</text>
3327 </object>
3328
3329 <object type="input">
3330 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3331 <background color="%input_background_color%" />
3332 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3333 <font resource="font" color="%text_color%" />
3334 <text>%tw_filemanager_rename%</text>
3335 <data name="tw_filemanager_rename" />
3336 <restrict minlen="1" maxlen="128" />
3337 <actions>
3338 <action function="set">tw_fm_text2=to</action>
3339 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3340 <action function="set">tw_include_text3=1</action>
3341 <action function="set">tw_back=filemanageroptions</action>
3342 <action function="page">filemanagerconfirm</action>
3343 </actions>
3344 </object>
3345
3346 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003347 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003348 <placement x="%col_center_x%" y="%row2_y%" />
3349 <font resource="font" color="%button_text_color%" />
3350 <text>Cancel</text>
3351 <image resource="main_button" />
3352 <action function="page">filemanageroptions</action>
3353 </object>
3354
3355 <object type="template" name="keyboardtemplate" />
3356
3357 <object type="action">
3358 <touch key="home" />
3359 <action function="page">main</action>
3360 </object>
3361
3362 <object type="action">
3363 <touch key="back" />
3364 <action function="page">filemanageroptions</action>
3365 </object>
3366
3367 <object type="template" name="footer" />
3368 </page>
3369
3370 <page name="filemanagerrenamefolder">
3371 <object type="template" name="header" />
3372
3373 <object type="text" color="%text_color%">
3374 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3375 <font resource="font" />
3376 <text>Please Enter a New %tw_fm_type% Name</text>
3377 </object>
3378
3379 <object type="input">
3380 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3381 <background color="%input_background_color%" />
3382 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3383 <font resource="font" color="%text_color%" />
3384 <text>%tw_filemanager_rename%</text>
3385 <data name="tw_filemanager_rename" />
3386 <restrict minlen="1" maxlen="128" />
3387 <actions>
3388 <action function="set">tw_fm_text2=to</action>
3389 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3390 <action function="set">tw_include_text3=1</action>
3391 <action function="set">tw_back=filemanageroptions</action>
3392 <action function="page">filemanagerconfirm</action>
3393 </actions>
3394 </object>
3395
3396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003398 <placement x="%col_center_x%" y="%row2_y%" />
3399 <font resource="font" color="%button_text_color%" />
3400 <text>Cancel</text>
3401 <image resource="main_button" />
3402 <action function="page">filemanageroptions</action>
3403 </object>
3404
3405 <object type="template" name="keyboardtemplate" />
3406
3407 <object type="action">
3408 <touch key="home" />
3409 <action function="page">main</action>
3410 </object>
3411
3412 <object type="action">
3413 <touch key="back" />
3414 <action function="page">filemanageroptions</action>
3415 </object>
3416
3417 <object type="template" name="footer" />
3418 </page>
3419
3420 <page name="filemanagerchmod">
3421 <object type="template" name="header" />
3422
3423 <object type="text" color="%text_color%">
3424 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3425 <font resource="font" />
3426 <text>Please Enter New Permissions</text>
3427 </object>
3428
3429 <object type="input">
3430 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3431 <background color="%input_background_color%" />
3432 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3433 <font resource="font" color="%text_color%" />
3434 <text>%tw_filemanager_rename%</text>
3435 <data name="tw_filemanager_rename" />
3436 <restrict minlen="3" maxlen="4" allow="0123456789" />
3437 <actions>
3438 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3439 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</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="filemanagerconfirm">
3470 <object type="template" name="header" />
3471
3472 <object type="text" color="%text_color%">
3473 <font resource="font" />
3474 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3475 <text>%tw_fm_text1%</text>
3476 </object>
3477
3478 <object type="text" color="%text_color%">
3479 <font resource="font" />
3480 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3481 <text>%tw_filename1%</text>
3482 </object>
3483
3484 <object type="text" color="%text_color%">
3485 <font resource="font" />
3486 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3487 <text>%tw_fm_text2%</text>
3488 </object>
3489
3490 <object type="text" color="%text_color%">
3491 <font resource="font" />
3492 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3493 <text>%tw_fm_text3%</text>
3494 </object>
3495
3496 <object type="text" color="%text_color%">
3497 <font resource="font" />
3498 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3499 <text>Press back button to cancel.</text>
3500 </object>
3501
3502 <object type="slider">
3503 <placement x="%slider_x%" y="%slider_y%" />
3504 <resource base="slider" used="slider-used" touch="slider-touch" />
3505 <action function="page">filemanageracction</action>
3506 </object>
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3511 <text>Swipe to Confirm</text>
3512 </object>
3513
3514 <object type="action">
3515 <touch key="back" />
3516 <action function="page">%tw_back%</action>
3517 </object>
3518
3519 <object type="action">
3520 <touch key="home" />
3521 <action function="page">main</action>
3522 </object>
3523
3524 <object type="template" name="footer" />
3525 </page>
3526
3527 <page name="filemanageracction">
3528 <object type="template" name="header" />
3529
3530 <object type="text" color="%text_color%">
3531
3532 <font resource="font" />
3533 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3534 <text>%tw_fm_text1%</text>
3535 </object>
3536
3537 <object type="template" name="action_page_console" />
3538
3539 <object type="template" name="progress_bar" />
3540
3541 <object type="action">
3542 <conditions>
3543 <condition var1="tw_operation_state" var2="1" />
3544 <condition var1="tw_operation_status" var2="0" />
3545 </conditions>
3546 <actions>
3547 <action function="set">tw_back=filemanagerlist</action>
3548 <action function="set">tw_complete_text1=File Operation Complete</action>
3549 <action function="page">action_complete</action>
3550 </actions>
3551 </object>
3552
3553 <object type="action">
3554 <conditions>
3555 <condition var1="tw_operation_state" var2="1" />
3556 <condition var1="tw_operation_status" op="!=" var2="0" />
3557 </conditions>
3558 <actions>
3559 <action function="set">tw_complete_text1=File Operation Complete</action>
3560 <action function="page">action_complete</action>
3561 </actions>
3562 </object>
3563
3564 <object type="action">
3565 <condition var1="tw_include_text3" var2="0" />
3566 <actions>
3567 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3568 </actions>
3569 </object>
3570
3571 <object type="action">
3572 <condition var1="tw_include_text3" var2="1" />
3573 <actions>
3574 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3575 </actions>
3576 </object>
3577 </page>
3578
3579 <page name="decrypt">
3580 <object type="template" name="header" />
3581
3582 <object type="text" color="%text_color%">
3583 <font resource="font" />
3584 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3585 <text>Please Enter Your Password</text>
3586 </object>
3587
3588 <object type="input">
3589 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3590 <background color="%input_background_color%" />
3591 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3592 <font resource="font" color="%text_color%" />
3593 <text>%tw_crypto_display%</text>
3594 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3595 <restrict minlen="1" maxlen="254" />
3596 <actions>
3597 <action function="page">trydecrypt</action>
3598 </actions>
3599 </object>
3600
3601 <object type="text" color="%text_fail_color%">
3602 <condition var1="tw_password_fail" var2="1" />
3603 <font resource="font" />
3604 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3605 <text>Password Failed, Please Try Again</text>
3606 </object>
3607
3608 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003609 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003610 <placement x="%col_center_x%" y="%row2_y%" />
3611 <font resource="font" color="%button_text_color%" />
3612 <text>Cancel</text>
3613 <image resource="main_button" />
3614 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003615 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003616 <action function="page">main</action>
3617 </actions>
3618 </object>
3619
3620 <object type="template" name="keyboardtemplate" />
3621
Dees_Troy51a0e822012-09-05 15:24:24 -04003622 <object type="template" name="footer" />
3623 </page>
3624
3625 <page name="trydecrypt">
3626 <object type="template" name="header" />
3627
3628 <object type="text" color="%text_color%">
3629 <font resource="font" />
3630 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3631 <text>Trying Decryption with Your Password</text>
3632 </object>
3633
3634 <object type="template" name="action_page_console" />
3635
3636 <object type="template" name="progress_bar" />
3637
3638 <object type="action">
3639 <action function="decrypt"></action>
3640 </object>
3641
3642 <object type="action">
3643 <conditions>
3644 <condition var1="tw_operation_state" var2="1" />
3645 <condition var1="tw_operation_status" op="!=" var2="0" />
3646 </conditions>
3647 <actions>
3648 <action function="set">tw_password_fail=1</action>
3649 <action function="page">decrypt</action>
3650 </actions>
3651 </object>
3652
3653 <object type="action">
3654 <conditions>
3655 <condition var1="tw_operation_state" var2="1" />
3656 <condition var1="tw_operation_status" op="=" var2="0" />
3657 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003658 <actions>
3659 <action function="set">tw_page_done=1</action>
3660 <action function="page">main</action>
3661 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003662 </object>
3663 </page>
3664
3665 <page name="terminalfolder">
3666 <object type="template" name="header" />
3667
3668 <object type="text" color="%text_color%">
3669 <font resource="font" />
3670 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3671 <text>Browse to Starting Folder</text>
3672 </object>
3673
3674 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003675 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003676 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3677 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3678 <text>%tw_terminal_location%</text>
3679 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3680 <sort name="tw_gui_sort_order" />
3681 <icon folder="folder_icon" file="file_icon" />
3682 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003683 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003684 <filter folders="1" files="0" />
3685 <path name="tw_terminal_location" default="/" />
3686 <data name="tw_terminal" />
3687 <selection name="tw_terminal_selection" />
3688 </object>
3689
3690 <object type="template" name="sort_options" />
3691
3692 <object type="action">
3693 <touch key="home" />
3694 <action function="page">main</action>
3695 </object>
3696
3697 <object type="action">
3698 <touch key="back" />
3699 <action function="page">advanced</action>
3700 </object>
3701
3702 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003703 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3705 <font resource="font" color="%button_text_color%" />
3706 <text>Select</text>
3707 <image resource="medium_button" />
3708 <actions>
3709 <action function="page">terminalcommand</action>
3710 </actions>
3711 </object>
3712
3713 <object type="template" name="footer" />
3714 </page>
3715
3716 <page name="terminalcommand">
3717 <object type="template" name="header" />
3718
3719 <object type="console">
3720 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3721 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3722 <font resource="fixed" />
3723 </object>
3724
3725 <object type="text" color="%text_color%">
3726 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3727 <font resource="font" />
3728 <text>Starting Path: %tw_terminal_location%</text>
3729 </object>
3730
3731 <object type="input">
3732 <condition var1="tw_terminal_state" var2="0" />
3733 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3734 <background color="%input_background_color%" />
3735 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3736 <font resource="font" color="%text_color%" />
3737 <text>%tw_terminal_command%</text>
3738 <data name="tw_terminal_command" />
3739 <restrict minlen="1" />
3740 <action function="terminalcommand">%tw_terminal_command%</action>
3741 </object>
3742
3743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 <condition var1="tw_terminal_state" var2="1" />
3746 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3747 <font resource="font" color="%button_text_color%" />
3748 <text>KILL</text>
3749 <image resource="medium_button" />
3750 <action function="killterminal"></action>
3751 </object>
3752
3753 <object type="template" name="keyboardtemplate" />
3754
3755 <object type="action">
3756 <touch key="home" />
3757 <action function="page">main</action>
3758 </object>
3759
3760 <object type="action">
3761 <touch key="back" />
3762 <action function="page">terminalfolder</action>
3763 </object>
3764 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003765
3766 <page name="sideload">
3767 <object type="template" name="header" />
3768
3769 <object type="text" color="%text_color%">
3770 <font resource="font" />
3771 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3772 <text>ADB Sideload</text>
3773 </object>
3774
3775 <object type="checkbox">
3776 <placement x="%col1_x%" y="%row2_text_y%" />
3777 <font resource="font" color="%text_color%" />
3778 <text>Wipe Dalvik Cache.</text>
3779 <data variable="tw_wipe_dalvik" />
3780 <image checked="checkbox_true" unchecked="checkbox_false" />
3781 </object>
3782
3783 <object type="checkbox">
3784 <placement x="%col1_x%" y="%row3_text_y%" />
3785 <font resource="font" color="%text_color%" />
3786 <text>Wipe Cache.</text>
3787 <data variable="tw_wipe_cache" />
3788 <image checked="checkbox_true" unchecked="checkbox_false" />
3789 </object>
3790
3791 <object type="slider">
3792 <placement x="%slider_x%" y="%slider_y%" />
3793 <resource base="slider" used="slider-used" touch="slider-touch" />
3794 <actions>
3795 <action function="set">tw_back=advanced</action>
3796 <action function="set">tw_action=adbsideload</action>
3797 <action function="set">tw_action_text1=ADB Sideload</action>
3798 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3799 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3800 <action function="set">tw_has_cancel=1</action>
3801 <action function="set">tw_show_reboot=1</action>
3802 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3803 <action function="page">action_page</action>
3804 </actions>
3805 </object>
3806
3807 <object type="text" color="%text_color%">
3808 <font resource="font" />
3809 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3810 <text>Swipe to Start Sideload</text>
3811 </object>
3812
3813 <object type="action">
3814 <touch key="home" />
3815 <action function="page">main</action>
3816 </object>
3817
3818 <object type="action">
3819 <touch key="back" />
3820 <action function="page">advanced</action>
3821 </object>
3822
3823 <object type="template" name="footer" />
3824 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003825 </pages>
3826</recovery>