blob: 88b36635361382c29266e9d903fa3a6463aa420a [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" />
99 <variable name="home_button_x" value="7" />
100 <variable name="home_button_y" value="460" />
101 <variable name="back_button_x" value="275" />
102 <variable name="back_button_y" value="460" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400103 <variable name="sort_text_x" value="8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="sort_asc_text_y" value="411" />
105 <variable name="sort_asc_button_y" value="411" />
106 <variable name="sort_desc_text_y" value="435" />
107 <variable name="sort_desc_button_y" value="435" />
108 <variable name="sort_col1_button_x" value="120" />
109 <variable name="sort_col2_button_x" value="160" />
110 <variable name="sort_col3_button_x" value="200" />
111 <variable name="input_width" value="307" />
112 <variable name="input_height" value="24" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="2" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="320" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="192" />
122 <variable name="console_install_height" value="264" />
123 <variable name="console_installdone_height" value="180" />
124 <variable name="fileselector_x" value="3" />
125 <variable name="fileselector_width" value="313" />
126 <variable name="fileselector_install_height" value="306" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="2" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="1" />
133 <variable name="fileselector_background" value="#303030" />
134 <variable name="fileselector_spacing" value="12" />
135 <variable name="listbox_x" value="3" />
136 <variable name="listbox_width" value="313" />
137 <variable name="listbox_tz_height" value="168" />
138 <variable name="listbox_background" value="#303030" />
139 <variable name="listbox_spacing" value="12" />
140 <variable name="sd_plus_x" value="187" />
141 <variable name="sdext_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400142 <variable name="sdext_text_y" value="83" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="sdswap_button_y" value="111" />
144 <variable name="sdswap_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400145 <variable name="sdswap_text_y" value="110" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="sdfilesystem_text_y" value="144" />
147 <variable name="sdfilesystem_button_y" value="168" />
148 <variable name="lock_x" value="27" />
149 <variable name="lock_y" value="120" />
150 <variable name="filemanager_select_x" value="243" />
151 <variable name="filemanager_select_y" value="414" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400152 <variable name="backup_name_y" value="218" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="terminal_console_height" value="220" />
154 <variable name="terminal_text_y" value="225" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="terminal_button_y" value="220" />
156 <variable name="row_dst_text_y" value="256" />
157 <variable name="row_offset_text_y" value="275" />
158 <variable name="row_offset_medium_y" value="303" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400159 <variable name="exclamation_x" value="85" />
160 <variable name="exclamation_y" value="165" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 </variables>
162
163 <templates>
164 <template name="header">
Dees_Troyb46a6842012-09-25 11:06:46 -0400165 <background color="#000000FF" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400166
167 <object type="image">
168 <image resource="top_bar" />
169 <placement x="0" y="0" />
170 </object>
171
172 <object type="text" color="%text_color%">
173 <font resource="font" />
174 <placement x="65" y="3" />
175 <text>TeamWin Recovery v%tw_version%</text>
176 </object>
177
178 <object type="text" color="%text_color%">
179 <condition var1="tw_simulate_actions" var2="1" />
180 <font resource="font" />
181 <placement x="65" y="21" />
182 <text>SIMULATING ACTIONS</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <font resource="font" />
187 <placement x="65" y="39" />
188 <text>%tw_time%</text>
189 </object>
190
191 <object type="text" color="%text_color%">
192 <font resource="font" />
193 <placement x="165" y="39" />
194 <conditions>
195 <condition var1="tw_no_battery_percent" var2="0" />
196 <condition var1="tw_battery" op=">" var2="0" />
197 <condition var1="tw_battery" op="<" var2="101" />
198 </conditions>
199 <text>Battery: %tw_battery%</text>
200 </object>
201
202 <object type="button">
203 <placement x="%home_button_x%" y="%home_button_y%" />
204 <font resource="font" color="%button_text_color%" />
205 <text></text>
206 <image resource="home_icon" />
207 <condition var1="tw_busy" var2="0" />
208 <action function="key">home</action>
209 </object>
210
211 <object type="button">
212 <placement x="%back_button_x%" y="%back_button_y%" />
213 <font resource="font" color="%button_text_color%" />
214 <text></text>
215 <image resource="back_icon" />
216 <condition var1="tw_busy" var2="0" />
217 <action function="key">back</action>
218 </object>
219
220 <object type="action">
221 <touch key="power" />
222 <action function="overlay">lock</action>
223 </object>
224 </template>
225
226 <template name="progress_bar">
227 <object type="progressbar">
228 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
229 <resource empty="progress_empty" full="progress_full" />
230 <data name="ui_progress" />
231 </object>
232
233 <object type="animation">
234 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
235 <resource name="progress" />
236 <speed fps="15" render="2" />
237 <loop frame="1" />
238 </object>
239 </template>
240
241 <template name="action_page_console">
242 <object type="console">
243 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
244 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
245 <font resource="fixed" />
246 </object>
247 </template>
248
249 <template name="sort_options">
250 <object type="text" color="%text_color%">
251 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400252 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400253 <text>Sort Ascending:</text>
254 </object>
255
256 <object type="button">
257 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400258 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <text>Name</text>
260 <image resource="sort_button" />
261 <action function="set">tw_gui_sort_order=1</action>
262 </object>
263
264 <object type="button">
265 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400266 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400267 <text>Date</text>
268 <image resource="sort_button" />
269 <action function="set">tw_gui_sort_order=2</action>
270 </object>
271
272 <object type="button">
273 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400274 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400275 <text>Size</text>
276 <image resource="sort_button" />
277 <action function="set">tw_gui_sort_order=3</action>
278 </object>
279
280 <object type="text" color="%text_color%">
281 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400282 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400283 <text>Sort Descending:</text>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400288 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400289 <text>Name</text>
290 <image resource="sort_button" />
291 <action function="set">tw_gui_sort_order=-1</action>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400296 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400297 <text>Date</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=-2</action>
300 </object>
301
302 <object type="button">
303 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400304 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400305 <text>Size</text>
306 <image resource="sort_button" />
307 <action function="set">tw_gui_sort_order=-3</action>
308 </object>
309 </template>
310
311 <template name="footer">
312 <object type="console">
313 <slideout resource="slideout" x="140" y="456" />
314 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
315 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
316 <font resource="fixed" />
317 </object>
318 </template>
319
320 <template name="keyboardtemplate">
321 <object type="keyboard">
322 <placement x="0" y="253" />
323 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy30b962e2012-10-19 20:48:59 -0400324 <highlight color="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400325 <layout1>
326 <keysize height="52" width="32" />
327 <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" />
328 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
329 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
330 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" />
331 </layout1>
332 <layout2>
333 <keysize height="52" width="32" />
334 <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" />
335 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
336 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
337 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" />
338 </layout2>
339 <layout3>
340 <keysize height="52" width="32" />
341 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
342 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
343 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
344 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
345 </layout3>
346 <layout4>
347 <keysize height="52" width="32" />
348 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
349 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
350 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" />
351 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
352 </layout4>
353 </object>
354 </template>
355 </templates>
356
357 <pages>
358 <page name="main">
359 <object type="action">
360 <actions>
361 <action function="set">tw_clear_destination=main2</action>
362 <action function="page">clear_vars</action>
363 </actions>
364 </object>
365 </page>
366
367 <page name="main2">
368 <object type="template" name="header" />
369
370 <object type="button">
371 <placement x="%col1_x%" y="%row1_y%" />
372 <font resource="font" color="%button_text_color%" />
373 <text>Install</text>
374 <image resource="main_button" />
375 <actions>
376 <action function="queueclear"></action>
377 <action function="page">install</action>
378 </actions>
379 </object>
380
381 <object type="button">
382 <placement x="%col2_x%" y="%row1_y%" />
383 <font resource="font" color="%button_text_color%" />
384 <text>Wipe</text>
385 <image resource="main_button" />
386 <action function="page">wipe</action>
387 </object>
388
389 <object type="button">
390 <placement x="%col1_x%" y="%row2_y%" />
391 <font resource="font" color="%button_text_color%" />
392 <text>Backup</text>
393 <image resource="main_button" />
394 <action function="page">backup</action>
395 </object>
396
397 <object type="button">
398 <placement x="%col2_x%" y="%row2_y%" />
399 <font resource="font" color="%button_text_color%" />
400 <text>Restore</text>
401 <image resource="main_button" />
402 <action function="page">restore</action>
403 </object>
404
405 <object type="button">
406 <placement x="%col1_x%" y="%row3_y%" />
407 <font resource="font" color="%button_text_color%" />
408 <text>Mount</text>
409 <image resource="main_button" />
410 <action function="page">mount</action>
411 </object>
412
413 <object type="button">
414 <placement x="%col2_x%" y="%row3_y%" />
415 <font resource="font" color="%button_text_color%" />
416 <text>Settings</text>
417 <image resource="main_button" />
418 <action function="page">settings</action>
419 </object>
420
421
422 <object type="button">
423 <placement x="%col1_x%" y="%row4_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Advanced</text>
426 <image resource="main_button" />
427 <action function="page">advanced</action>
428 </object>
429
430 <object type="button">
431 <placement x="%col2_x%" y="%row4_y%" />
432 <font resource="font" color="%button_text_color%" />
433 <text>Reboot</text>
434 <image resource="main_button" />
435 <action function="page">reboot</action>
436 </object>
437
438 <object type="template" name="footer" />
439 </page>
440
441 <page name="install">
442 <object type="template" name="header" />
443
444 <object type="text" color="%text_color%">
445 <font resource="font" />
446 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
447 <text>Select Zip to Install</text>
448 </object>
449
450 <object type="button">
451 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400452 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400453 <conditions>
454 <condition var1="tw_has_dual_storage" var2="1" />
455 <condition var1="tw_use_external_storage" var2="1" />
456 </conditions>
457 <text>Use external SD</text>
458 <image resource="radio_true" />
459 <action function="togglestorage">external</action>
460 </object>
461
462 <object type="button">
463 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400464 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <conditions>
466 <condition var1="tw_has_dual_storage" var2="1" />
467 <condition var1="tw_use_external_storage" var2="0" />
468 </conditions>
469 <text>Use external SD</text>
470 <image resource="radio_false" />
471 <action function="togglestorage">external</action>
472 </object>
473
474 <object type="button">
475 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400476 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400477 <conditions>
478 <condition var1="tw_has_dual_storage" var2="1" />
479 <condition var1="tw_use_external_storage" var2="1" />
480 </conditions>
481 <text>Use internal storage</text>
482 <image resource="radio_false" />
483 <action function="togglestorage">internal</action>
484 </object>
485
486 <object type="button">
487 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400488 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400489 <conditions>
490 <condition var1="tw_has_dual_storage" var2="1" />
491 <condition var1="tw_use_external_storage" var2="0" />
492 </conditions>
493 <text>Use internal storage</text>
494 <image resource="radio_true" />
495 <action function="togglestorage">internal</action>
496 </object>
497
498 <object type="fileselector">
499 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
501 <text>%tw_zip_location%</text>
502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
503 <sort name="tw_gui_sort_order" />
504 <icon folder="folder_icon" file="file_icon" />
505 <background color="%fileselector_background%" />
506 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
507 <filter extn=".zip" folders="1" files="1" />
508 <path name="tw_zip_location" default="/sdcard" />
509 <data name="tw_filename" />
510 <selection name="tw_file" />
511 </object>
512
513 <object type="template" name="sort_options" />
514
515 <object type="action">
516 <condition var1="tw_filename" op="modified" />
517 <actions>
518 <action function="queuezip"></action>
519 <action function="page">flash_confirm</action>
520 </actions>
521 </object>
522
523 <object type="action">
524 <touch key="back" />
525 <action function="page">main</action>
526 </object>
527
528 <object type="action">
529 <touch key="home" />
530 <action function="page">main</action>
531 </object>
532
533 <object type="template" name="footer" />
534 </page>
535
536 <page name="flash_confirm">
537 <object type="template" name="header" />
538
539 <object type="text" color="%text_color%">
540 <font resource="font" />
541 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
542 <text>This operation may install incompatible</text>
543 </object>
544
545 <object type="text" color="%text_color%">
546 <font resource="font" />
547 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
548 <text>software and render your device unusable.</text>
549 </object>
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
554 <text>Folder:</text>
555 </object>
556
557 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400558 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
560 <text>%tw_zip_location%</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
566 <text>File to flash:</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="%row6_text_y%" placement="5" />
572 <text>%tw_file%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
578 <text>Press back to cancel adding this zip.</text>
579 </object>
580
581 <object type="checkbox">
582 <placement x="%col1_x%" y="%row8_text_y%" />
583 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400584 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <data variable="tw_signed_zip_verify" />
586 <image checked="checkbox_true" unchecked="checkbox_false" />
587 </object>
588
589 <object type="checkbox">
590 <placement x="%col1_x%" y="%row9_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400592 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_force_md5_check" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="checkbox">
598 <condition var1="tw_has_injecttwrp" var2="1" />
599 <placement x="%col1_x%" y="%row10_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400601 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_inject_after_zip" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="text" color="%text_color%">
607 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400608 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <text>File %tw_zip_queue_count% of max of 10</text>
610 </object>
611
612 <object type="slider">
613 <placement x="%slider_x%" y="%slider_y%" placement="5" />
614 <resource base="slider" used="slider-used" touch="slider-touch" />
615 <action function="flash">flash_zip</action>
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
621 <text>Swipe to Confirm Flash</text>
622 </object>
623
624 <object type="button">
625 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
626 <placement x="%col1_x%" y="%row_queue_y%" />
627 <font resource="font" color="%button_text_color%" />
628 <text>Add More Zips</text>
629 <image resource="main_button" />
630 <action function="page">install</action>
631 </object>
632
633 <object type="button">
634 <placement x="%col2_x%" y="%row_queue_y%" />
635 <font resource="font" color="%button_text_color%" />
636 <text>Clear Zip Queue</text>
637 <image resource="main_button" />
638 <actions>
639 <action function="queueclear"></action>
640 <action function="page">install</action>
641 </actions>
642 </object>
643
644 <object type="action">
645 <touch key="back" />
646 <actions>
647 <action function="cancelzip"></action>
648 <action function="page">install</action>
649 </actions>
650 </object>
651
652 <object type="action">
653 <touch key="home" />
654 <action function="page">main</action>
655 </object>
656
657 <object type="template" name="footer" />
658 </page>
659
660 <page name="flash_zip">
661 <object type="template" name="header" />
662
663 <object type="console">
664 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
665 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
666 <font resource="fixed" />
667 </object>
668
669 <object type="text" color="%text_color%">
670 <font resource="font" />
671 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
672 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
673 </object>
674
675 <object type="text" color="%text_color%">
Dees_Troy2ab9ad62012-09-22 08:46:18 -0400676 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400677 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
678 <text>%tw_filename%</text>
679 </object>
680
681 <object type="template" name="progress_bar" />
682
683 <object type="action">
684 <condition var1="tw_operation_state" var2="1" />
685 <action function="page">flash_done</action>
686 </object>
687 </page>
688
689 <page name="flash_done">
690 <object type="template" name="header" />
691
692 <object type="text" color="%text_color%">
693 <font resource="font" />
694 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
695 <text>Zip Install Complete</text>
696 </object>
697
698 <object type="console">
699 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
700 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
701 <font resource="fixed" />
702 </object>
703
704 <object type="button">
705 <placement x="%col1_x%" y="%row4_y%" />
706 <font resource="font" color="%button_text_color%" />
707 <text>Wipe cache/dalvik</text>
708 <image resource="main_button" />
709 <actions>
710 <action function="set">tw_back=flash_done</action>
711 <action function="set">tw_action=wipe</action>
712 <action function="set">tw_action_param=/cache</action>
713 <action function="set">tw_has_action2=1</action>
714 <action function="set">tw_action2=wipe</action>
715 <action function="set">tw_action2_param=dalvik</action>
716 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
717 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
718 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
719 <action function="set">tw_slider_text=Swipe to Wipe</action>
720 <action function="page">confirm_action</action>
721 </actions>
722 </object>
723
724 <object type="button">
725 <placement x="%col2_x%" y="%row4_y%" />
726 <font resource="font" color="%button_text_color%" />
727 <text>Reboot System</text>
728 <image resource="main_button" />
729 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400730 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400731 <action function="set">tw_action=reboot</action>
732 <action function="set">tw_action_param=system</action>
733 <action function="set">tw_has_action2=0</action>
734 <action function="set">tw_text1=No OS Installed! Are you</action>
735 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400736 <action function="set">tw_text3=</action>
737 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400739 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <action function="set">tw_complete_text1=Rebooting...</action>
741 <action function="set">tw_slider_text=Swipe to Reboot</action>
742 <action function="page">rebootcheck</action>
743 </actions>
744 </object>
745
746 <object type="button">
747 <placement x="%col_center_x%" y="%row3_y%" />
748 <font resource="font" color="%button_text_color%" />
749 <text>Home</text>
750 <image resource="main_button" />
751 <actions>
752 <action function="set">tw_clear_destination=main2</action>
753 <action function="page">clear_vars</action>
754 </actions>
755 </object>
756
757 <object type="text" color="%text_fail_color%">
758 <condition var1="tw_operation_status" op="!=" var2="0" />
759 <font resource="font" />
760 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
761 <text>Failed</text>
762 </object>
763
764 <object type="text" color="%text_success_color%">
765 <condition var1="tw_operation_status" var2="0" />
766 <font resource="font" />
767 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
768 <text>Successful</text>
769 </object>
770
771 <object type="action">
772 <touch key="back" />
773 <actions>
774 <action function="set">tw_clear_destination=install</action>
775 <action function="page">clear_vars</action>
776 </actions>
777 </object>
778
779 <object type="action">
780 <touch key="home" />
781 <actions>
782 <action function="set">tw_clear_destination=main2</action>
783 <action function="page">clear_vars</action>
784 </actions>
785 </object>
786 </page>
787
788 <page name="clear_vars">
789 <object type="action">
790 <action function="set">tw_operation_state=0</action>
791 <action function="set">tw_text1=</action>
792 <action function="set">tw_text2=</action>
793 <action function="set">tw_text3=</action>
794 <action function="set">tw_text4=</action>
795 <action function="set">tw_action_text1=</action>
796 <action function="set">tw_action_text2=</action>
797 <action function="set">tw_action_param=</action>
798 <action function="set">tw_has_action2=0</action>
799 <action function="set">tw_action2=</action>
800 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400801 <action function="set">tw_has_cancel=0</action>
802 <action function="set">tw_cancel_action=</action>
803 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400804 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400805 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400806 <action function="page">%tw_clear_destination%</action>
807 </object>
808 </page>
809
810 <page name="confirm_action">
811 <object type="template" name="header" />
812
Dees_Troyce2fe772012-09-28 12:34:33 -0400813 <object type="button">
814 <condition var1="tw_show_exclamation" var2="1" />
815 <placement x="%exclamation_x%" y="%exclamation_y%" />
816 <font resource="font" color="%button_text_color%" />
817 <text></text>
818 <image resource="exclamation" />
819 </object>
820
Dees_Troy51a0e822012-09-05 15:24:24 -0400821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
824 <text>%tw_text1%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
830 <text>%tw_text2%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
836 <text>%tw_text3%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
842 <text>%tw_text4%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400847 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400848 <text>Press back button to cancel.</text>
849 </object>
850
851 <object type="slider">
852 <placement x="%slider_x%" y="%slider_y%" />
853 <resource base="slider" used="slider-used" touch="slider-touch" />
854 <action function="page">action_page</action>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
859 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
860 <text>%tw_slider_text%</text>
861 </object>
862
863 <object type="action">
864 <touch key="back" />
865 <actions>
866 <action function="set">tw_clear_destination=%tw_back%</action>
867 <action function="page">clear_vars</action>
868 </actions>
869 </object>
870
871 <object type="action">
872 <touch key="home" />
873 <action function="page">main</action>
874 </object>
875
876 <object type="template" name="footer" />
877 </page>
878
879 <page name="action_page">
880 <object type="template" name="header" />
881
882 <object type="text" color="%text_color%">
883 <font resource="font" />
884 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
885 <text>%tw_action_text1%</text>
886 </object>
887
888 <object type="text" color="%text_color%">
889 <font resource="font" />
890 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
891 <text>%tw_action_text2%</text>
892 </object>
893
894 <object type="template" name="action_page_console" />
895
Dees_Troybbb21012012-09-20 15:59:46 -0400896 <object type="button">
897 <condition var1="tw_has_cancel" var2="1" />
898 <placement x="%col_center_medium_x%" y="%row4_y%" />
899 <font resource="font" color="%button_text_color%" />
900 <text>Cancel</text>
901 <image resource="medium_button" />
902 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
903 </object>
904
Dees_Troy51a0e822012-09-05 15:24:24 -0400905 <object type="template" name="progress_bar" />
906
907 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400908 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400909 <actions>
910 <action function="page">action_complete</action>
911 </actions>
912 </object>
913
914 <object type="action">
915 <condition var1="tw_has_action2" var2="0" />
916 <actions>
917 <action function="%tw_action%">%tw_action_param%</action>
918 </actions>
919 </object>
920
921 <object type="action">
922 <condition var1="tw_has_action2" var2="1" />
923 <actions>
924 <action function="%tw_action%">%tw_action_param%</action>
925 <action function="%tw_action2%">%tw_action2_param%</action>
926 </actions>
927 </object>
928 </page>
929
930 <page name="action_complete">
931 <object type="template" name="header" />
932
933 <object type="text" color="%text_color%">
934 <font resource="font" />
935 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
936 <text>%tw_complete_text1%</text>
937 </object>
938
939 <object type="text" color="%text_fail_color%">
940 <condition var1="tw_operation_status" op="!=" var2="0" />
941 <font resource="font" />
942 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
943 <text>Failed</text>
944 </object>
945
946 <object type="text" color="%text_success_color%">
947 <condition var1="tw_operation_status" var2="0" />
948 <font resource="font" />
949 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
950 <text>Successful</text>
951 </object>
952
953 <object type="template" name="action_page_console" />
954
955 <object type="button">
Dees_Troya3f81542012-10-08 10:58:53 -0400956 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400957 <placement x="%col_center_x%" y="%row4_y%" />
958 <font resource="font" color="%button_text_color%" />
959 <text>Back</text>
960 <image resource="main_button" />
961 <actions>
962 <action function="set">tw_clear_destination=%tw_back%</action>
963 <action function="page">clear_vars</action>
964 </actions>
965 </object>
966
Dees_Troya3f81542012-10-08 10:58:53 -0400967 <object type="button">
968 <condition var1="tw_show_reboot" var2="1" />
969 <placement x="%col_center_x%" y="%row4_y%" />
970 <font resource="font" color="%button_text_color%" />
971 <text>Reboot System</text>
972 <image resource="main_button" />
973 <actions>
974 <action function="set">tw_back=main2</action>
975 <action function="set">tw_action=reboot</action>
976 <action function="set">tw_action_param=system</action>
977 <action function="set">tw_has_action2=0</action>
978 <action function="set">tw_text1=No OS Installed! Are you</action>
979 <action function="set">tw_text2=sure you wish to reboot?</action>
980 <action function="set">tw_text3=</action>
981 <action function="set">tw_text4=</action>
982 <action function="set">tw_action_text1=Rebooting...</action>
983 <action function="set">tw_action_text2=</action>
984 <action function="set">tw_complete_text1=Rebooting...</action>
985 <action function="set">tw_slider_text=Swipe to Reboot</action>
986 <action function="page">rebootcheck</action>
987 </actions>
988 </object>
989
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <object type="action">
991 <touch key="home" />
992 <actions>
993 <action function="set">tw_clear_destination=main2</action>
994 <action function="page">clear_vars</action>
995 </actions>
996 </object>
997
998 <object type="action">
999 <touch key="back" />
1000 <actions>
1001 <action function="set">tw_clear_destination=%tw_back%</action>
1002 <action function="page">clear_vars</action>
1003 </actions>
1004 </object>
1005 </page>
1006
1007 <page name="filecheck">
1008 <object type="action">
1009 <action function="fileexists">%tw_filecheck%</action>
1010 </object>
1011
1012 <object type="action">
1013 <conditions>
1014 <condition var1="tw_operation_state" var2="1" />
1015 <condition var1="tw_operation_status" var2="0" />
1016 </conditions>
1017 <actions>
1018 <action function="set">tw_fileexists=1</action>
1019 <action function="page">%tw_existpage%</action>
1020 </actions>
1021 </object>
1022
1023 <object type="action">
1024 <conditions>
1025 <condition var1="tw_operation_state" var2="1" />
1026 <condition var1="tw_operation_status" var2="1" />
1027 </conditions>
1028 <actions>
1029 <action function="set">tw_fileexists=0</action>
1030 <action function="page">%tw_notexistpage%</action>
1031 </actions>
1032 </object>
1033 </page>
1034
1035 <page name="rebootcheck">
1036 <object type="action">
1037 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1038 <action function="reboot">%tw_action_param%</action>
1039 </object>
1040
1041 <object type="action">
1042 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1043 <action function="page">confirm_action</action>
1044 </object>
1045 </page>
1046
1047 <page name="wipe">
1048 <object type="template" name="header" />
1049
1050 <object type="text" color="%text_color%">
1051 <font resource="font" />
1052 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1053 <text>Wipe Menu</text>
1054 </object>
1055
1056 <object type="button">
1057 <placement x="%col1_x%" y="%row1_y%" />
1058 <font resource="font" color="%button_text_color%" />
1059 <text>Cache</text>
1060 <image resource="main_button" />
1061 <actions>
1062 <action function="set">tw_back=wipe</action>
1063 <action function="set">tw_action=wipe</action>
1064 <action function="set">tw_action_param=/cache</action>
1065 <action function="set">tw_text1=Wipe Cache?</action>
1066 <action function="set">tw_action_text1=Wiping Cache...</action>
1067 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1068 <action function="set">tw_slider_text=Swipe to Wipe</action>
1069 <action function="page">confirm_action</action>
1070 </actions>
1071 </object>
1072
1073 <object type="button">
1074 <placement x="%col2_x%" y="%row1_y%" />
1075 <font resource="font" color="%button_text_color%" />
1076 <text>Dalvik Cache</text>
1077 <image resource="main_button" />
1078 <actions>
1079 <action function="set">tw_back=wipe</action>
1080 <action function="set">tw_action=wipe</action>
1081 <action function="set">tw_action_param=dalvik</action>
1082 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1083 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1084 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1085 <action function="set">tw_slider_text=Swipe to Wipe</action>
1086 <action function="page">confirm_action</action>
1087 </actions>
1088 </object>
1089
1090 <object type="button">
1091 <placement x="%col1_x%" y="%row2_y%" />
1092 <font resource="font" color="%button_text_color%" />
1093 <text>Factory Reset</text>
1094 <image resource="main_button" />
1095 <actions>
1096 <action function="set">tw_back=wipe</action>
1097 <action function="set">tw_action=wipe</action>
1098 <action function="set">tw_action_param=data</action>
1099 <action function="set">tw_text1=Factory Reset?</action>
1100 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1101 <action function="set">tw_action_text1=Factory Reset...</action>
1102 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1103 <action function="set">tw_slider_text=Swipe to Wipe</action>
1104 <action function="page">confirm_action</action>
1105 </actions>
1106 </object>
1107
1108 <object type="button">
1109 <placement x="%col2_x%" y="%row2_y%" />
1110 <font resource="font" color="%button_text_color%" />
1111 <text>System</text>
1112 <image resource="main_button" />
1113 <actions>
1114 <action function="set">tw_back=wipe</action>
1115 <action function="set">tw_action=wipe</action>
1116 <action function="set">tw_action_param=/system</action>
1117 <action function="set">tw_text1=Wipe System?</action>
1118 <action function="set">tw_text2=This will wipe your ROM</action>
1119 <action function="set">tw_action_text1=Wiping System...</action>
1120 <action function="set">tw_complete_text1=System Wipe Complete</action>
1121 <action function="set">tw_slider_text=Swipe to Wipe</action>
1122 <action function="page">confirm_action</action>
1123 </actions>
1124 </object>
1125
1126 <object type="button">
1127 <condition var1="tw_has_external" var2="1" />
1128 <placement x="%col1_x%" y="%row3_y%" />
1129 <font resource="font" color="%button_text_color%" />
1130 <text>External Storage</text>
1131 <image resource="main_button" />
1132 <actions>
1133 <action function="set">tw_back=wipe</action>
1134 <action function="set">tw_action=wipe</action>
1135 <action function="set">tw_action_param=EXTERNAL</action>
1136 <action function="set">tw_has_action2=1</action>
1137 <action function="set">tw_action2=set</action>
1138 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001139 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001140 <action function="set">tw_action_text1=Wiping External Storage...</action>
1141 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1142 <action function="set">tw_slider_text=Swipe to Wipe</action>
1143 <action function="page">confirm_action</action>
1144 </actions>
1145 </object>
1146
1147 <object type="button">
1148 <condition var1="tw_has_internal" var2="1" />
1149 <placement x="%col2_x%" y="%row3_y%" />
1150 <font resource="font" color="%button_text_color%" />
1151 <text>Internal Storage</text>
1152 <image resource="main_button" />
1153 <actions>
1154 <action function="set">tw_back=wipe</action>
1155 <action function="set">tw_action=wipe</action>
1156 <action function="set">tw_action_param=INTERNAL</action>
1157 <action function="set">tw_has_action2=1</action>
1158 <action function="set">tw_action2=set</action>
1159 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1160 <action function="set">tw_text1=Wipe Internal Storage?</action>
1161 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1162 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1163 <action function="set">tw_slider_text=Swipe to Wipe</action>
1164 <action function="page">confirm_action</action>
1165 </actions>
1166 </object>
1167
1168 <object type="button">
1169 <conditions>
1170 <condition var1="tw_has_internal" var2="1" />
1171 <condition var1="tw_has_data_media" var2="1" />
1172 </conditions>
1173 <placement x="%col1_x%" y="%row4_y%" />
1174 <font resource="font" color="%button_text_color%" />
1175 <text>Format Data</text>
1176 <image resource="main_button" />
1177 <actions>
1178 <action function="set">tw_back=wipe</action>
1179 <action function="set">tw_action=wipe</action>
1180 <action function="set">tw_action_param=DATAMEDIA</action>
1181 <action function="set">tw_has_action2=1</action>
1182 <action function="set">tw_action2=set</action>
1183 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001184 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001185 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001186 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001187 <action function="set">tw_action_text1=Formatting Data...</action>
1188 <action function="set">tw_complete_text1=Data Format Complete</action>
1189 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001190 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001191 <action function="page">confirm_action</action>
1192 </actions>
1193 </object>
1194
1195 <object type="button">
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001196 <condition var1="tw_has_data_media" var2="0" />
1197 <placement x="%col1_x%" y="%row4_y%" />
1198 <font resource="font" color="%button_text_color%" />
1199 <text>Android Secure</text>
1200 <image resource="main_button" />
1201 <actions>
1202 <action function="set">tw_back=wipe</action>
1203 <action function="set">tw_action=wipe</action>
1204 <action function="set">tw_action_param=ANDROIDSECURE</action>
1205 <action function="set">tw_text1=Wipe Android Secure?</action>
1206 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1207 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1208 <action function="set">tw_slider_text=Swipe to Format</action>
1209 <action function="page">confirm_action</action>
1210 </actions>
1211 </object>
1212
1213 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001214 <condition var1="tw_has_sdext_partition" var2="1" />
1215 <placement x="%col2_x%" y="%row4_y%" />
1216 <font resource="font" color="%button_text_color%" />
1217 <text>SD Ext</text>
1218 <image resource="main_button" />
1219 <actions>
1220 <action function="set">tw_back=wipe</action>
1221 <action function="set">tw_action=wipe</action>
1222 <action function="set">tw_action_param=/sd-ext</action>
1223 <action function="set">tw_text1=Wipe SD-Ext?</action>
1224 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1225 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1226 <action function="set">tw_slider_text=Swipe to Wipe</action>
1227 <action function="page">confirm_action</action>
1228 </actions>
1229 </object>
1230
1231 <object type="action">
1232 <touch key="home" />
1233 <action function="page">main</action>
1234 </object>
1235
1236 <object type="action">
1237 <touch key="back" />
1238 <action function="page">main</action>
1239 </object>
1240
1241 <object type="template" name="footer" />
1242 </page>
1243
1244 <page name="backup">
1245 <object type="template" name="header" />
1246
1247 <object type="text" color="%text_color%">
1248 <font resource="font" />
1249 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1250 <text>Backup Name: %tw_backup_name%</text>
1251 </object>
1252
1253 <object type="text" color="%text_color%">
1254 <placement x="%col1_x%" y="%row1_text_y%" />
1255 <font resource="font" />
1256 <text>Backup Device</text>
1257 </object>
1258
1259 <object type="slider">
1260 <placement x="%slider_x%" y="slider_y" />
1261 <resource base="slider" used="slider-used" touch="slider-touch" />
1262 <action function="page">backup_run</action>
1263 </object>
1264
1265 <object type="text" color="%text_color%">
1266 <font resource="font" />
1267 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1268 <text>Swipe to Back Up</text>
1269 </object>
1270
1271 <object type="button">
1272 <placement x="%col2_x%" y="%row1_y%" />
1273 <font resource="font" color="%button_text_color%" />
1274 <text>Refresh Sizes</text>
1275 <image resource="main_button" />
1276 <action function="refreshsizes"></action>
1277 </object>
1278
1279 <object type="button">
1280 <placement x="%col2_x%" y="%backup_name_y%" />
1281 <font resource="font" color="%button_text_color%" />
1282 <text>Set Backup Name</text>
1283 <image resource="main_button" />
1284 <actions>
1285 <action function="set">tw_fileexists=0</action>
1286 <action function="page">backupname1</action>
1287 </actions>
1288 </object>
1289
1290 <object type="checkbox">
1291 <placement x="%col1_x%" y="%row2_text_y%" />
1292 <font resource="font" color="%text_color%" />
1293 <text>System (%tw_backup_system_size% MB)</text>
1294 <data variable="tw_backup_system" />
1295 <image checked="checkbox_true" unchecked="checkbox_false" />
1296 </object>
1297
1298 <object type="checkbox">
1299 <placement x="%col1_x%" y="%row3_text_y%" />
1300 <font resource="font" color="%text_color%" />
1301 <text>Data (%tw_backup_data_size% MB)</text>
1302 <data variable="tw_backup_data" />
1303 <image checked="checkbox_true" unchecked="checkbox_false" />
1304 </object>
1305
1306 <object type="checkbox">
1307 <condition var1="tw_has_boot_partition" var2="1" />
1308 <placement x="%col1_x%" y="%row4_text_y%" />
1309 <font resource="font" color="%text_color%" />
1310 <text>Boot (%tw_backup_boot_size% MB)</text>
1311 <data variable="tw_backup_boot" />
1312 <image checked="checkbox_true" unchecked="checkbox_false" />
1313 </object>
1314
1315 <object type="checkbox">
1316 <condition var1="tw_has_recovery_partition" var2="1" />
1317 <placement x="%col1_x%" y="%row5_text_y%" />
1318 <font resource="font" color="%text_color%" />
1319 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1320 <data variable="tw_backup_recovery" />
1321 <image checked="checkbox_true" unchecked="checkbox_false" />
1322 </object>
1323
1324 <object type="checkbox">
1325 <placement x="%col1_x%" y="%row6_text_y%" />
1326 <font resource="font" color="%text_color%" />
1327 <text>Cache (%tw_backup_cache_size% MB)</text>
1328 <data variable="tw_backup_cache" />
1329 <image checked="checkbox_true" unchecked="checkbox_false" />
1330 </object>
1331
1332 <object type="checkbox">
1333 <condition var1="tw_has_android_secure" var2="1" />
1334 <placement x="%col1_x%" y="%row7_text_y%" />
1335 <font resource="font" color="%text_color%" />
1336 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1337 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1338 <data variable="tw_backup_andsec" />
1339 <image checked="checkbox_true" unchecked="checkbox_false" />
1340 </object>
1341
1342 <object type="checkbox">
1343 <condition var1="tw_has_sdext_partition" var2="1" />
1344 <placement x="%col1_x%" y="%row8_text_y%" />
1345 <font resource="font" color="%text_color%" />
1346 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1347 <condition var1="fileexists" var2="/sd-ext" />
1348 <data variable="tw_backup_sdext" />
1349 <image checked="checkbox_true" unchecked="checkbox_false" />
1350 </object>
1351
1352 <object type="checkbox">
1353 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001354 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001355 <font resource="font" color="%text_color%" />
1356 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1357 <data variable="tw_backup_sp1" />
1358 <image checked="checkbox_true" unchecked="checkbox_false" />
1359 </object>
1360
1361 <object type="checkbox">
1362 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001363 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001364 <font resource="font" color="%text_color%" />
1365 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1366 <data variable="tw_backup_sp2" />
1367 <image checked="checkbox_true" unchecked="checkbox_false" />
1368 </object>
1369
1370 <object type="checkbox">
1371 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001372 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001373 <font resource="font" color="%text_color%" />
1374 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1375 <data variable="tw_backup_sp3" />
1376 <image checked="checkbox_true" unchecked="checkbox_false" />
1377 </object>
1378
1379 <object type="text" color="%text_color%">
1380 <font resource="font" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001381 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001382 <text>Free Space: %tw_storage_free_size% MB</text>
1383 </object>
1384
1385 <object type="checkbox">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001386 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001388 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001389 <data variable="tw_use_compression" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001394 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001395 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001396 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001397 <data variable="tw_skip_md5_generate" />
1398 <image checked="checkbox_true" unchecked="checkbox_false" />
1399 </object>
1400
1401 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001402 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001403 <font resource="font" color="%text_color%" />
1404 <conditions>
1405 <condition var1="tw_has_dual_storage" var2="1" />
1406 <condition var1="tw_use_external_storage" var2="1" />
1407 </conditions>
1408 <text>Use external SD</text>
1409 <image resource="radio_true" />
1410 <action function="togglestorage">external</action>
1411 </object>
1412
1413 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001414 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001415 <font resource="font" color="%text_color%" />
1416 <conditions>
1417 <condition var1="tw_has_dual_storage" var2="1" />
1418 <condition var1="tw_use_external_storage" var2="0" />
1419 </conditions>
1420 <text>Use external SD</text>
1421 <image resource="radio_false" />
1422 <action function="togglestorage">external</action>
1423 </object>
1424
1425 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001426 <placement x="%col2_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 internal storage</text>
1433 <image resource="radio_false" />
1434 <action function="togglestorage">internal</action>
1435 </object>
1436
1437 <object type="button">
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001438 <placement x="%col2_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 internal storage</text>
1445 <image resource="radio_true" />
1446 <action function="togglestorage">internal</action>
1447 </object>
1448
1449 <object type="action">
1450 <touch key="home" />
1451 <action function="page">main</action>
1452 </object>
1453
1454 <object type="action">
1455 <touch key="back" />
1456 <action function="page">main</action>
1457 </object>
1458
1459 <object type="template" name="footer" />
1460 </page>
1461
1462 <page name="backupname1">
1463 <object type="action">
1464 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1465 <action function="set">tw_backup_name=</function>
1466 </object>
1467
1468 <object type="action">
1469 <action function="page">backupname2</function>
1470 </object>
1471 </page>
1472
1473 <page name="backupname2">
1474 <object type="template" name="header" />
1475
1476 <object type="text" color="%text_color%">
1477 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1478 <font resource="font" />
1479 <text>Please Enter a Backup Name</text>
1480 </object>
1481
1482 <object type="input">
1483 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1484 <background color="%input_background_color%" />
1485 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1486 <font resource="font" color="%text_color%" />
1487 <text>%tw_backup_name%</text>
1488 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001489 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001490 <actions>
1491 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1492 <action function="set">tw_existpage=backupname2</action>
1493 <action function="set">tw_notexistpage=backup</action>
1494 <action function="page">filecheck</action>
1495 </actions>
1496 </object>
1497
1498 <object type="text" color="%text_fail_color%">
1499 <condition var1="tw_fileexists" var2="1" />
1500 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1501 <font resource="font" />
1502 <text>A backup with that name already exists!</text>
1503 </object>
1504
1505 <object type="button">
1506 <placement x="%col_center_x%" y="%row2_y%" />
1507 <font resource="font" color="%button_text_color%" />
1508 <text>Cancel</text>
1509 <image resource="main_button" />
1510 <actions>
1511 <action function="set">tw_backup_name=(Current Date)</action>
1512 <action function="page">backup</action>
1513 </actions>
1514 </object>
1515
1516 <object type="template" name="keyboardtemplate" />
1517
1518 <object type="action">
1519 <touch key="home" />
1520 <actions>
1521 <action function="set">tw_backup_name=(Current Date)</action>
1522 <action function="page">main</action>
1523 </actions>
1524 </object>
1525
1526 <object type="action">
1527 <touch key="back" />
1528 <actions>
1529 <action function="set">tw_backup_name=(Current Date)</action>
1530 <action function="page">backup</action>
1531 </actions>
1532 </object>
1533
1534 <object type="template" name="footer" />
1535 </page>
1536
1537 <page name="backup_run">
1538 <object type="template" name="header" />
1539
1540 <object type="text" color="%text_color%">
1541 <font resource="font" />
1542 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1543 <text>%tw_operation% %tw_partition%</text>
1544 </object>
1545
1546 <object type="template" name="action_page_console" />
1547
1548 <object type="template" name="progress_bar" />
1549
1550 <object type="action">
1551 <action function="nandroid">backup</action>
1552 </object>
1553
1554 <object type="action">
1555 <condition var1="tw_operation_state" var2="1" />
1556 <actions>
1557 <action function="set">tw_back=backup</action>
1558 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001559 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001560 <action function="page">action_complete</action>
1561 </actions>
1562 </object>
1563 </page>
1564
1565 <page name="restore">
1566 <object type="template" name="header" />
1567
1568 <object type="button">
1569 <placement x="%col1_x%" y="%row1_header_y%" />
1570 <font resource="font" color="%text_color%" />
1571 <conditions>
1572 <condition var1="tw_has_dual_storage" var2="1" />
1573 <condition var1="tw_use_external_storage" var2="1" />
1574 </conditions>
1575 <text>Use external SD</text>
1576 <image resource="radio_true" />
1577 <action function="togglestorage">external</action>
1578 </object>
1579
1580 <object type="button">
1581 <placement x="%col1_x%" y="%row1_header_y%" />
1582 <font resource="font" color="%text_color%" />
1583 <conditions>
1584 <condition var1="tw_has_dual_storage" var2="1" />
1585 <condition var1="tw_use_external_storage" var2="0" />
1586 </conditions>
1587 <text>Use external SD</text>
1588 <image resource="radio_false" />
1589 <action function="togglestorage">external</action>
1590 </object>
1591
1592 <object type="button">
1593 <placement x="%col2_x%" y="%row1_header_y%" />
1594 <font resource="font" color="%text_color%" />
1595 <conditions>
1596 <condition var1="tw_has_dual_storage" var2="1" />
1597 <condition var1="tw_use_external_storage" var2="1" />
1598 </conditions>
1599 <text>Use internal storage</text>
1600 <image resource="radio_false" />
1601 <action function="togglestorage">internal</action>
1602 </object>
1603
1604 <object type="button">
1605 <placement x="%col2_x%" y="%row1_header_y%" />
1606 <font resource="font" color="%text_color%" />
1607 <conditions>
1608 <condition var1="tw_has_dual_storage" var2="1" />
1609 <condition var1="tw_use_external_storage" var2="0" />
1610 </conditions>
1611 <text>Use internal storage</text>
1612 <image resource="radio_true" />
1613 <action function="togglestorage">internal</action>
1614 </object>
1615
1616 <object type="fileselector">
1617 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1618 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1619 <text>Select Package to Restore:</text>
1620 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1621 <sort name="tw_gui_sort_order" />
1622 <icon folder="folder_icon" file="file_icon" />
1623 <background color="%fileselector_background%" />
1624 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1625 <filter folders="1" files="0" nav="0" />
1626 <path name="tw_backups_folder" />
1627 <data name="tw_restore" default="" />
1628 <selection name="tw_restore_name" />
1629 </object>
1630
1631 <object type="template" name="sort_options" />
1632
1633 <object type="action">
1634 <condition var1="tw_restore" op="modified" />
1635 <actions>
1636 <action function="readBackup"></action>
1637 <action function="page">restore_select</action>
1638 </actions>
1639 </object>
1640
1641 <object type="action">
1642 <touch key="home" />
1643 <action function="page">main</action>
1644 </object>
1645
1646 <object type="action">
1647 <touch key="back" />
1648 <action function="page">main</action>
1649 </object>
1650
1651 <object type="template" name="footer" />
1652 </page>
1653
1654 <page name="restore_select">
1655 <object type="template" name="header" />
1656
1657 <object type="text">
1658 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1659 <font resource="font" color="%text_color%" />
1660 <text>Restoring: %tw_restore_name%</text>
1661 </object>
1662
1663 <object type="button">
1664 <placement x="%col2_x%" y="%row1_y%" />
1665 <font resource="font" color="%button_text_color%" />
1666 <text>Rename Backup</text>
1667 <image resource="main_button" />
1668 <actions>
1669 <action function="set">tw_backup_rename=</action>
1670 <action function="set">tw_fileexists=0</action>
1671 <action function="page">renamebackup</action>
1672 </actions>
1673 </object>
1674
1675 <object type="button">
1676 <placement x="%col2_x%" y="%row2_y%" />
1677 <font resource="font" color="%button_text_color%" />
1678 <text>Delete Backup</text>
1679 <image resource="main_button" />
1680 <actions>
1681 <action function="set">tw_back=restore</action>
1682 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001683 <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 -04001684 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1685 <action function="set">tw_text2=This cannot be undone!</action>
1686 <action function="set">tw_action_text1=Deleting Backup...</action>
1687 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1688 <action function="set">tw_slider_text=Swipe to Delete</action>
1689 <action function="page">confirm_action</action>
1690 </actions>
1691 </object>
1692
1693 <object type="slider">
1694 <placement x="%slider_x%" y="%slider_y%" />
1695 <resource base="slider" used="slider-used" touch="slider-touch" />
1696 <action function="page">restore_run</action>
1697 </object>
1698
1699 <object type="text" color="%text_color%">
1700 <font resource="font" />
1701 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1702 <text>Swipe to Restore</text>
1703 </object>
1704
1705 <object type="checkbox">
1706 <placement x="%col1_x%" y="%row2_text_y%" />
1707 <font resource="font" color="%text_color%" />
1708 <text>System</text>
1709 <condition var1="tw_restore_system" op=">=" var2="0" />
1710 <data variable="tw_restore_system" />
1711 <image checked="checkbox_true" unchecked="checkbox_false" />
1712 </object>
1713
1714 <object type="checkbox">
1715 <placement x="%col1_x%" y="%row3_text_y%" />
1716 <font resource="font" color="%text_color%" />
1717 <text>Data</text>
1718 <condition var1="tw_restore_data" op=">=" var2="0" />
1719 <data variable="tw_restore_data" />
1720 <image checked="checkbox_true" unchecked="checkbox_false" />
1721 </object>
1722
1723 <object type="checkbox">
1724 <placement x="%col1_x%" y="%row4_text_y%" />
1725 <font resource="font" color="%text_color%" />
1726 <text>Boot</text>
1727 <condition var1="tw_restore_boot" op=">=" var2="0" />
1728 <data variable="tw_restore_boot" />
1729 <image checked="checkbox_true" unchecked="checkbox_false" />
1730 </object>
1731
1732 <object type="checkbox">
1733 <placement x="%col1_x%" y="%row6_text_y%" />
1734 <font resource="font" color="%text_color%" />
1735 <text>Cache</text>
1736 <condition var1="tw_restore_cache" op=">=" var2="0" />
1737 <data variable="tw_restore_cache" />
1738 <image checked="checkbox_true" unchecked="checkbox_false" />
1739 </object>
1740
1741 <object type="checkbox">
1742 <placement x="%col1_x%" y="%row7_text_y%" />
1743 <font resource="font" color="%text_color%" />
1744 <text>.android_secure</text>
1745 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1746 <data variable="tw_restore_andsec" />
1747 <image checked="checkbox_true" unchecked="checkbox_false" />
1748 </object>
1749
1750 <object type="checkbox">
1751 <placement x="%col1_x%" y="%row8_text_y%" />
1752 <font resource="font" color="%text_color%" />
1753 <text>sd-ext</text>
1754 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1755 <data variable="tw_restore_sdext" />
1756 <image checked="checkbox_true" unchecked="checkbox_false" />
1757 </object>
1758
1759 <object type="checkbox">
1760 <placement x="%col1_x%" y="%row10_text_y%" />
1761 <font resource="font" color="%text_color%" />
1762 <text>%tw_sp1_name%</text>
1763 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1764 <data variable="tw_restore_sp1" />
1765 <image checked="checkbox_true" unchecked="checkbox_false" />
1766 </object>
1767
1768 <object type="checkbox">
1769 <placement x="%col1_x%" y="%row11_text_y%" />
1770 <font resource="font" color="%text_color%" />
1771 <text>%tw_sp2_name%</text>
1772 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1773 <data variable="tw_restore_sp2" />
1774 <image checked="checkbox_true" unchecked="checkbox_false" />
1775 </object>
1776
1777 <object type="checkbox">
1778 <placement x="%col1_x%" y="%row12_text_y%" />
1779 <font resource="font" color="%text_color%" />
1780 <text>%tw_sp3_name%</text>
1781 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1782 <data variable="tw_restore_sp3" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
1784 </object>
1785
1786 <object type="checkbox">
1787 <placement x="%col1_x%" y="%row14_text_y%" />
1788 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001789 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001790 <data variable="tw_skip_md5_check" />
1791 <image checked="checkbox_true" unchecked="checkbox_false" />
1792 </object>
1793
1794 <object type="text" color="%text_color%">
1795 <font resource="font" />
1796 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1797 <text>Package Date: %tw_restore_file_date%</text>
1798 </object>
1799
1800 <object type="action">
1801 <touch key="home" />
1802 <action function="page">main</action>
1803 </object>
1804
1805 <object type="action">
1806 <touch key="back" />
1807 <action function="page">restore</action>
1808 </object>
1809
1810 <object type="template" name="footer" />
1811 </page>
1812
1813 <page name="renamebackup">
1814 <object type="template" name="header" />
1815
1816 <object type="text" color="%text_color%">
1817 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1818 <font resource="font" />
1819 <text>Please Enter a New Backup Name</text>
1820 </object>
1821
1822 <object type="input">
1823 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1824 <background color="%input_background_color%" />
1825 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1826 <font resource="font" color="%text_color%" />
1827 <text>%tw_backup_rename%</text>
1828 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001829 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001830 <actions>
1831 <action function="set">tw_back=restore</action>
1832 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001833 <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 -04001834 <action function="set">tw_text1=Rename Backup?</action>
1835 <action function="set">tw_text2=This cannot be undone!</action>
1836 <action function="set">tw_action_text1=Renaming Backup...</action>
1837 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1838 <action function="set">tw_slider_text=Swipe to Rename</action>
1839 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1840 <action function="set">tw_existpage=renamebackup</action>
1841 <action function="set">tw_notexistpage=confirm_action</action>
1842 <action function="page">filecheck</action>
1843 </actions>
1844 </object>
1845
1846 <object type="text" color="%text_fail_color%">
1847 <condition var1="tw_fileexists" var2="1" />
1848 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1849 <font resource="font" />
1850 <text>A backup with that name already exists!</text>
1851 </object>
1852
1853 <object type="button">
1854 <placement x="%col_center_x%" y="%row2_y%" />
1855 <font resource="font" color="%button_text_color%" />
1856 <text>Cancel</text>
1857 <image resource="main_button" />
1858 <action function="page">restore_select</action>
1859 </object>
1860
1861 <object type="template" name="keyboardtemplate" />
1862
1863 <object type="action">
1864 <touch key="home" />
1865 <action function="page">main</action>
1866 </object>
1867
1868 <object type="action">
1869 <touch key="back" />
1870 <action function="page">restore_select</action>
1871 </object>
1872
1873 <object type="template" name="footer" />
1874 </page>
1875
1876 <page name="restore_run">
1877 <object type="template" name="header" />
1878
1879 <object type="text" color="%text_color%">
1880 <font resource="font" />
1881 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1882 <text>%tw_operation% %tw_partition%</text>
1883 </object>
1884
1885 <object type="template" name="action_page_console" />
1886
1887 <object type="template" name="progress_bar" />
1888
1889 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001890 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001891 <actions>
1892 <action function="set">tw_back=restore_select</action>
1893 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001894 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001895 <action function="page">action_complete</action>
1896 </actions>
1897 </object>
1898
1899 <object type="action">
1900 <action function="nandroid">restore</action>
1901 </object>
1902 </page>
1903
1904 <page name="mount">
1905 <object type="template" name="header" />
1906
1907 <object type="text" color="%text_color%">
1908 <font resource="font" />
1909 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1910 <text>Mount Menu</text>
1911 </object>
1912
1913 <object type="button">
1914 <placement x="%col1_x%" y="%row1_text_y%" />
1915 <font resource="font" color="%text_color%" />
1916 <condition var1="mounted" op="!=" var2="/system" />
1917 <text>Mount System</text>
1918 <image resource="checkbox_false" />
1919 <action function="mount">/system</action>
1920 </object>
1921
1922 <object type="button">
1923 <placement x="%col1_x%" y="%row1_text_y%" />
1924 <font resource="font" color="%text_color%" />
1925 <condition var1="mounted" op="=" var2="/system" />
1926 <text>Unmount System</text>
1927 <image resource="checkbox_true" />
1928 <action function="umount">/system</action>
1929 </object>
1930
1931 <object type="button">
1932 <placement x="%col1_x%" y="%row2_text_y%" />
1933 <font resource="font" color="%text_color%" />
1934 <condition var1="mounted" op="!=" var2="/data" />
1935 <text>Mount Data</text>
1936 <image resource="checkbox_false" />
1937 <action function="mount">/data</action>
1938 </object>
1939
1940 <object type="button">
1941 <placement x="%col1_x%" y="%row2_text_y%" />
1942 <font resource="font" color="%text_color%" />
1943 <condition var1="mounted" op="=" var2="/data" />
1944 <text>Unmount Data</text>
1945 <image resource="checkbox_true" />
1946 <action function="umount">/data</action>
1947 </object>
1948
1949 <object type="button">
1950 <placement x="%col1_x%" y="%row3_text_y%" />
1951 <font resource="font" color="%text_color%" />
1952 <condition var1="mounted" op="!=" var2="/cache" />
1953 <text>Mount Cache</text>
1954 <image resource="checkbox_false" />
1955 <action function="mount">/cache</action>
1956 </object>
1957
1958 <object type="button">
1959 <placement x="%col1_x%" y="%row3_text_y%" />
1960 <font resource="font" color="%text_color%" />
1961 <condition var1="mounted" op="=" var2="/cache" />
1962 <text>Unmount Cache</text>
1963 <image resource="checkbox_true" />
1964 <action function="umount">/cache</action>
1965 </object>
1966
1967 <object type="button">
1968 <placement x="%col1_x%" y="%row4_text_y%" />
1969 <font resource="font" color="%text_color%" />
1970 <conditions>
1971 <condition var1="tw_has_external" var2="1" />
1972 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1973 </conditions>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001974 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001975 <image resource="checkbox_false" />
1976 <action function="mount">EXTERNAL</action>
1977 </object>
1978
1979 <object type="button">
1980 <placement x="%col1_x%" y="%row4_text_y%" />
1981 <font resource="font" color="%text_color%" />
1982 <conditions>
1983 <condition var1="tw_has_external" var2="1" />
1984 <condition var1="mounted" op="=" var2="EXTERNAL" />
1985 </conditions>
Dees_Troy2ab9ad62012-09-22 08:46:18 -04001986 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001987 <image resource="checkbox_true" />
1988 <action function="umount">EXTERNAL</action>
1989 </object>
1990
1991 <object type="button">
1992 <placement x="%col2_x%" y="%row4_text_y%" />
1993 <font resource="font" color="%text_color%" />
1994 <conditions>
1995 <condition var1="tw_has_internal" var2="1" />
1996 <condition var1="tw_has_data_media" var2="0" />
1997 <condition var1="mounted" op="!=" var2="INTERNAL" />
1998 </conditions>
1999 <text>Mount Internal</text>
2000 <image resource="checkbox_false" />
2001 <action function="mount">INTERNAL</action>
2002 </object>
2003
2004 <object type="button">
2005 <placement x="%col2_x%" y="%row4_text_y%" />
2006 <font resource="font" color="%text_color%" />
2007 <conditions>
2008 <condition var1="tw_has_internal" var2="1" />
2009 <condition var1="tw_has_data_media" var2="0" />
2010 <condition var1="mounted" op="=" var2="INTERNAL" />
2011 </conditions>
2012 <text>Unmount Internal</text>
2013 <image resource="checkbox_true" />
2014 <action function="umount">INTERNAL</action>
2015 </object>
2016
2017 <object type="button">
2018 <conditions>
2019 <condition var1="tw_has_sdext_partition" var2="1" />
2020 <condition var1="mounted" op="!=" var2="/sd-ext" />
2021 </conditions>
2022 <placement x="%col1_x%" y="%row5_text_y%" />
2023 <font resource="font" color="%text_color%" />
2024 <text>Mount SD-Ext</text>
2025 <image resource="checkbox_false" />
2026 <action function="mount">/sd-ext</action>
2027 </object>
2028
2029 <object type="button">
2030 <placement x="%col1_x%" y="%row5_text_y%" />
2031 <font resource="font" color="%text_color%" />
2032 <condition var1="mounted" op="=" var2="/sd-ext" />
2033 <text>Unmount SD-Ext</text>
2034 <image resource="checkbox_true" />
2035 <action function="umount">/sd-ext</action>
2036 </object>
2037
2038 <object type="button">
2039 <conditions>
2040 <condition var1="tw_boot_is_mountable" var2="1" />
2041 <condition var1="mounted" op="!=" var2="/boot" />
2042 </conditions>
2043 <placement x="%col1_x%" y="%row6_text_y%" />
2044 <font resource="font" color="#A0A0A0" />
2045 <text>Mount Boot</text>
2046 <image resource="checkbox_false" />
2047 <action function="mount">/boot</action>
2048 </object>
2049
2050 <object type="button">
2051 <conditions>
2052 <condition var1="tw_boot_is_mountable" var2="1" />
2053 <condition var1="mounted" op="=" var2="/boot" />
2054 </conditions>
2055
2056 <placement x="%col1_x%" y="%row6_text_y%" />
2057 <font resource="font" color="#A0A0A0" />
2058 <text>Unmount Boot</text>
2059 <image resource="checkbox_true" />
2060 <action function="umount">/boot</action>
2061 </object>
2062
2063 <object type="button">
2064 <placement x="%col1_x%" y="%row8_text_y%" />
2065 <font resource="font" color="%text_color%" />
2066 <conditions>
2067 <condition var1="tw_has_dual_storage" var2="1" />
2068 <condition var1="tw_use_external_storage" var2="1" />
2069 </conditions>
2070 <text>Use external SD</text>
2071 <image resource="radio_true" />
2072 <action function="togglestorage">external</action>
2073 </object>
2074
2075 <object type="button">
2076 <placement x="%col1_x%" y="%row8_text_y%" />
2077 <font resource="font" color="%text_color%" />
2078 <conditions>
2079 <condition var1="tw_has_dual_storage" var2="1" />
2080 <condition var1="tw_use_external_storage" var2="0" />
2081 </conditions>
2082 <text>Use external SD</text>
2083 <image resource="radio_false" />
2084 <action function="togglestorage">external</action>
2085 </object>
2086
2087 <object type="button">
2088 <placement x="%col2_x%" y="%row8_text_y%" />
2089 <font resource="font" color="%text_color%" />
2090 <conditions>
2091 <condition var1="tw_has_dual_storage" var2="1" />
2092 <condition var1="tw_use_external_storage" var2="1" />
2093 </conditions>
2094 <text>Use internal storage</text>
2095 <image resource="radio_false" />
2096 <action function="togglestorage">internal</action>
2097 </object>
2098
2099 <object type="button">
2100 <placement x="%col2_x%" y="%row8_text_y%" />
2101 <font resource="font" color="%text_color%" />
2102 <conditions>
2103 <condition var1="tw_has_dual_storage" var2="1" />
2104 <condition var1="tw_use_external_storage" var2="0" />
2105 </conditions>
2106 <text>Use internal storage</text>
2107 <image resource="radio_true" />
2108 <action function="togglestorage">internal</action>
2109 </object>
2110
2111 <object type="button">
2112 <condition var1="tw_has_usb_storage" var2="1" />
2113 <placement x="%col1_x%" y="row3_y" />
2114 <font resource="font" color="%button_text_color%" />
2115 <text>Mount USB Storage</text>
2116 <image resource="main_button" />
2117 <action function="page">usb_mount</action>
2118 </object>
2119
Gary Peckffdc6ae2012-11-21 18:02:02 -08002120 <object type="button">
2121 <conditions>
2122 <condition var1="tw_is_encrypted" var2="1" />
2123 <condition var1="tw_is_decrypted" var2="0" />
2124 </conditions>
2125 <placement x="%col2_x%" y="row3_y" />
2126 <font resource="font" color="%button_text_color%" />
2127 <text>Decrypt Data</text>
2128 <image resource="main_button" />
2129 <action function="page">decrypt</action>
2130 </object>
2131
Dees_Troy51a0e822012-09-05 15:24:24 -04002132 <object type="action">
2133 <touch key="home" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="action">
2138 <touch key="back" />
2139 <action function="page">main</action>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
2145 <page name="usb_mount">
2146 <object type="template" name="header" />
2147
2148 <object type="text" color="%text_color%">
2149 <font resource="font" />
2150 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2151 <text>USB Storage Mounted</text>
2152 </object>
2153
2154 <object type="text" color="%text_color%">
2155 <placement x="%col1_x%" y="%row1_text_y%" />
2156 <font resource="font" />
2157 <text>Be sure to safely remove your device</text>
2158 </object>
2159
2160 <object type="text" color="%text_color%">
2161 <placement x="%col1_x%" y="%row2_text_y%" />
2162 <font resource="font" />
2163 <text>from your computer before unmounting!</text>
2164 </object>
2165
2166 <object type="button">
2167 <placement x="%col1_x%" y="%row3_y%" />
2168 <font resource="font" color="%button_text_color%" />
2169 <text>Unmount</text>
2170 <image resource="main_button" />
2171 <action function="page">usb_umount</action>
2172 </object>
2173
2174 <object type="action">
2175 <action function="mount">usb</action>
2176 </object>
2177
2178 <object type="template" name="footer" />
2179 </page>
2180
2181 <page name="usb_umount">
2182 <object type="action">
2183 <action function="unmount">usb</action>
2184 </object>
2185
2186 <object type="action">
2187 <action function="page">mount</action>
2188 </object>
2189 </page>
2190
2191 <page name="reboot">
2192 <object type="template" name="header" />
2193
2194 <object type="text" color="%text_color%">
2195 <font resource="font" />
2196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2197 <text>Reboot Menu</text>
2198 </object>
2199
2200 <object type="button">
2201 <condition var1="tw_reboot_system" var2="1" />
2202 <placement x="%col1_x%" y="%row1_y%" />
2203 <font resource="font" color="%button_text_color%" />
2204 <text>System</text>
2205 <image resource="main_button" />
2206 <actions>
2207 <action function="set">tw_back=reboot</action>
2208 <action function="set">tw_action=reboot</action>
2209 <action function="set">tw_action_param=system</action>
2210 <action function="set">tw_has_action2=0</action>
2211 <action function="set">tw_text1=No OS Installed! Are you</action>
2212 <action function="set">tw_text2=sure you wish to reboot?</action>
2213 <action function="set">tw_action_text1=Rebooting...</action>
2214 <action function="set">tw_complete_text1=Rebooting...</action>
2215 <action function="set">tw_slider_text=Swipe to Reboot</action>
2216 <action function="page">rebootcheck</action>
2217 </actions>
2218 </object>
2219
2220 <object type="button">
2221 <condition var1="tw_reboot_poweroff" var2="1" />
2222 <placement x="%col2_x%" y="%row1_y%" />
2223 <font resource="font" color="%button_text_color%" />
2224 <text>Power Off</text>
2225 <image resource="main_button" />
2226 <actions>
2227 <action function="set">tw_back=reboot</action>
2228 <action function="set">tw_action=reboot</action>
2229 <action function="set">tw_action_param=poweroff</action>
2230 <action function="set">tw_has_action2=0</action>
2231 <action function="set">tw_text1=No OS Installed! Are you</action>
2232 <action function="set">tw_text2=sure you wish to power off?</action>
2233 <action function="set">tw_action_text1=Turning Off...</action>
2234 <action function="set">tw_complete_text1=Turning Off...</action>
2235 <action function="set">tw_slider_text=Swipe to Power Off</action>
2236 <action function="page">rebootcheck</action>
2237 </actions>
2238 </object>
2239
2240 <object type="button">
2241 <condition var1="tw_reboot_recovery" var2="1" />
2242 <placement x="%col1_x%" y="%row2_y%" />
2243 <font resource="font" color="%button_text_color%" />
2244 <text>Recovery</text>
2245 <image resource="main_button" />
2246 <actions>
2247 <action function="set">tw_back=reboot</action>
2248 <action function="set">tw_action=reboot</action>
2249 <action function="set">tw_action_param=recovery</action>
2250 <action function="set">tw_has_action2=0</action>
2251 <action function="set">tw_text1=No OS Installed! Are you</action>
2252 <action function="set">tw_text2=sure you wish to reboot?</action>
2253 <action function="set">tw_action_text1=Rebooting...</action>
2254 <action function="set">tw_complete_text1=Rebooting...</action>
2255 <action function="set">tw_slider_text=Swipe to Reboot</action>
2256 <action function="page">rebootcheck</action>
2257 </actions>
2258 </object>
2259
2260 <object type="button">
2261 <condition var1="tw_reboot_bootloader" var2="1" />
2262 <placement x="%col2_x%" y="%row2_y%" />
2263 <font resource="font" color="%button_text_color%" />
2264 <text>Bootloader</text>
2265 <image resource="main_button" />
2266 <actions>
2267 <action function="set">tw_back=reboot</action>
2268 <action function="set">tw_action=reboot</action>
2269 <action function="set">tw_action_param=bootloader</action>
2270 <action function="set">tw_has_action2=0</action>
2271 <action function="set">tw_text1=No OS Installed! Are you</action>
2272 <action function="set">tw_text2=sure you wish to reboot?</action>
2273 <action function="set">tw_action_text1=Rebooting...</action>
2274 <action function="set">tw_complete_text1=Rebooting...</action>
2275 <action function="set">tw_slider_text=Swipe to Reboot</action>
2276 <action function="page">rebootcheck</action>
2277 </actions>
2278 </object>
2279
2280 <object type="button">
2281 <condition var1="tw_download_mode" var2="1" />
2282 <placement x="%col1_x%" y="%row3_y%" />
2283 <font resource="font" color="%button_text_color%" />
2284 <text>Download</text>
2285 <image resource="main_button" />
2286 <actions>
2287 <action function="set">tw_back=reboot</action>
2288 <action function="set">tw_action=reboot</action>
2289 <action function="set">tw_action_param=download</action>
2290 <action function="set">tw_has_action2=0</action>
2291 <action function="set">tw_text1=No OS Installed! Are you</action>
2292 <action function="set">tw_text2=sure you wish to reboot?</action>
2293 <action function="set">tw_action_text1=Rebooting...</action>
2294 <action function="set">tw_complete_text1=Rebooting...</action>
2295 <action function="set">tw_slider_text=Swipe to Reboot</action>
2296 <action function="page">rebootcheck</action>
2297 </actions>
2298 </object>
2299
2300 <object type="action">
2301 <touch key="home" />
2302 <action function="page">main</action>
2303 </object>
2304
2305 <object type="action">
2306 <touch key="back" />
2307 <action function="page">main</action>
2308 </object>
2309
2310 <object type="template" name="footer" />
2311 </page>
2312
2313 <page name="settings">
2314 <object type="template" name="header" />
2315
2316 <object type="text" color="%text_color%">
2317 <font resource="font" />
2318 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2319 <text>Settings</text>
2320 </object>
2321
2322 <object type="checkbox">
2323 <placement x="%col1_x%" y="%row1_text_y%" />
2324 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002325 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002326 <data variable="tw_signed_zip_verify" />
2327 <image checked="checkbox_true" unchecked="checkbox_false" />
2328 </object>
2329
2330 <object type="checkbox">
2331 <placement x="%col1_x%" y="%row2_text_y%" />
2332 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002333 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002334 <data variable="tw_force_md5_check" />
2335 <image checked="checkbox_true" unchecked="checkbox_false" />
2336 </object>
2337
2338 <object type="checkbox">
2339 <placement x="%col1_x%" y="%row3_text_y%" />
2340 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002341 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002342 <data variable="tw_rm_rf" />
2343 <image checked="checkbox_true" unchecked="checkbox_false" />
2344 </object>
2345
2346 <object type="checkbox">
2347 <placement x="%col1_x%" y="%row4_text_y%" />
2348 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002349 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002350 <data variable="tw_skip_md5_generate" />
2351 <image checked="checkbox_true" unchecked="checkbox_false" />
2352 </object>
2353
2354 <object type="checkbox">
2355 <placement x="%col1_x%" y="%row5_text_y%" />
2356 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002357 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <data variable="tw_skip_md5_check" />
2359 <image checked="checkbox_true" unchecked="checkbox_false" />
2360 </object>
2361
2362 <object type="checkbox">
2363 <placement x="%col1_x%" y="%row6_text_y%" />
2364 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002365 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <data variable="tw_ignore_image_size" />
2367 <image checked="checkbox_true" unchecked="checkbox_false" />
2368 </object>
2369
2370 <object type="checkbox">
2371 <placement x="%col1_x%" y="%row7_text_y%" />
2372 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002373 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <data variable="tw_simulate_actions" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
2379 <condition var1="tw_simulate_actions" var2="1" />
2380 <placement x="%col1_x%" y="%row8_text_y%" />
2381 <font resource="font" color="%text_color%" />
Dees_Troy2ab9ad62012-09-22 08:46:18 -04002382 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <data variable="tw_simulate_fail" />
2384 <image checked="checkbox_true" unchecked="checkbox_false" />
2385 </object>
2386
2387 <object type="button">
2388 <placement x="%col1_x%" y="%row3_y%" />
2389 <font resource="font" color="%button_text_color%" />
2390 <text>Time Zone</text>
2391 <image resource="main_button" />
2392 <action function="page">timezone</action>
2393 </object>
2394
2395 <object type="button">
2396 <placement x="%col_center_x%" y="%row4_y%" />
2397 <font resource="font" color="%button_text_color%" />
2398 <text>Restore Defaults</text>
2399 <image resource="main_button" />
2400 <action function="restoredefaultsettings"></action>
2401 </object>
2402
2403 <object type="action">
2404 <touch key="home" />
2405 <action function="page">main</action>
2406 </object>
2407
2408 <object type="action">
2409 <touch key="back" />
2410 <action function="page">main</action>
2411 </object>
2412
2413 <object type="template" name="footer" />
2414 </page>
2415
2416 <page name="timezone">
2417 <object type="template" name="header" />
2418
2419 <object type="text" color="%text_color%">
2420 <font resource="font" />
2421 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2422 <text>Select Time Zone</text>
2423 </object>
2424
2425 <object type="listbox">
2426 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2427 <icon selected="radio_true" unselected="radio_false" />
2428 <background color="%listbox_background%" />
2429 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2430 <data name="tw_time_zone_guisel" />
2431 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2432 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2433 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2434 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2435 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2436 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2437 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2438 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2439 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2440 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2441 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2442 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2443 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2444 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2445 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2446 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2447 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2448 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2449 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2450 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2451 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2452 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2453 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2454 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2455 </object>
2456
2457 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002458 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <font resource="font" color="%text_color%" />
2460 <text>Do you use daylight savings time (DST)?</text>
2461 <data variable="tw_time_zone_guidst" />
2462 <image checked="checkbox_true" unchecked="checkbox_false" />
2463 </object>
2464
2465 <object type="text" color="%text_color%">
2466 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002467 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002468 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2469 </object>
2470
2471 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002472 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <font resource="font" color="%button_text_color%" />
2474 <text>None</text>
2475 <image resource="medium_button" />
2476 <action function="set">tw_time_zone_guioffset=0</action>
2477 </object>
2478
2479 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002480 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <font resource="font" color="%button_text_color%" />
2482 <text>15</text>
2483 <image resource="medium_button" />
2484 <action function="set">tw_time_zone_guioffset=15</action>
2485 </object>
2486
2487 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002488 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002489 <font resource="font" color="%button_text_color%" />
2490 <text>30</text>
2491 <image resource="medium_button" />
2492 <action function="set">tw_time_zone_guioffset=30</action>
2493 </object>
2494
2495 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002496 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <font resource="font" color="%button_text_color%" />
2498 <text>45</text>
2499 <image resource="medium_button" />
2500 <action function="set">tw_time_zone_guioffset=45</action>
2501 </object>
2502
2503 <object type="button">
2504 <placement x="%col_center_x%" y="%tz_set_y%" />
2505 <font resource="font" color="%button_text_color%" />
2506 <text>Set Time Zone</text>
2507 <image resource="main_button" />
2508 <action function="setguitimezone"></action>
2509 </object>
2510
2511 <object type="text" color="%text_color%">
2512 <font resource="font" />
2513 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2514 <text>Current Time Zone: %tw_time_zone%</text>
2515 </object>
2516
2517 <object type="action">
2518 <touch key="home" />
2519 <action function="page">main</action>
2520 </object>
2521
2522 <object type="action">
2523 <touch key="back" />
2524 <action function="page">settings</action>
2525 </object>
2526
2527 <object type="template" name="footer" />
2528 </page>
2529
2530 <page name="advanced">
2531 <object type="template" name="header" />
2532
2533 <object type="text" color="%text_color%">
2534 <font resource="font" />
2535 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2536 <text>Advanced</text>
2537 </object>
2538
2539 <object type="button">
2540 <placement x="%col1_x%" y="%row1_y%" />
2541 <font resource="font" color="%button_text_color%" />
2542 <text>Copy Log to SD</text>
2543 <image resource="main_button" />
2544 <actions>
2545 <action function="set">tw_back=advanced</action>
2546 <action function="set">tw_action=copylog</action>
2547 <action function="set">tw_text1=Copy Log to SD Card?</action>
2548 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2549 <action function="set">tw_complete_text1=Log Copy Complete</action>
2550 <action function="set">tw_slider_text=Swipe to Confirm</action>
2551 <action function="page">confirm_action</action>
2552 </actions>
2553 </object>
2554
2555 <object type="button">
2556 <placement x="%col2_x%" y="%row1_y%" />
2557 <font resource="font" color="%button_text_color%" />
2558 <text>Fix Permissions</text>
2559 <image resource="main_button" />
2560 <actions>
2561 <action function="set">tw_back=advanced</action>
2562 <action function="set">tw_action=fixpermissions</action>
2563 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002564 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2566 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002567 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <action function="page">confirm_action</action>
2569 </actions>
2570 </object>
2571
2572 <object type="button">
2573 <condition var1="tw_allow_partition_sdcard" var2="1" />
2574 <placement x="%col1_x%" y="%row2_y%" />
2575 <font resource="font" color="%button_text_color%" />
2576 <text>Partition SD Card</text>
2577 <image resource="main_button" />
2578 <action function="page">partsdcard</action>
2579 </object>
2580
2581 <object type="button">
2582 <placement x="%col2_x%" y="%row2_y%" />
2583 <font resource="font" color="%button_text_color%" />
2584 <text>File Manager</text>
2585 <image resource="main_button" />
2586 <action function="page">filemanagerlist</action>
2587 </object>
2588
2589 <object type="button">
2590 <placement x="%col1_x%" y="%row3_y%" />
2591 <font resource="font" color="%button_text_color%" />
2592 <text>Terminal Command</text>
2593 <image resource="main_button" />
2594 <action function="page">terminalfolder</action>
2595 </object>
2596
2597 <object type="button">
Dees_Troybbb21012012-09-20 15:59:46 -04002598 <placement x="%col2_x%" y="%row3_y%" />
2599 <font resource="font" color="%button_text_color%" />
2600 <text>Reload Theme</text>
2601 <image resource="main_button" />
2602 <action function="reload"></action>
2603 </object>
2604
2605 <object type="button">
2606 <placement x="%col1_x%" y="%row4_y%" />
2607 <font resource="font" color="%button_text_color%" />
2608 <text>ADB Sideload</text>
2609 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002610 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002611 </object>
2612
2613 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002614 <condition var1="tw_show_dumlock" var2="1" />
2615 <placement x="%col2_x%" y="%row4_y%" />
2616 <font resource="font" color="%button_text_color%" />
2617 <text>HTC Dumlock</text>
2618 <image resource="main_button" />
2619 <action function="page">htcdumlock</action>
2620 </object>
2621
2622 <object type="button">
2623 <condition var1="tw_has_injecttwrp" var2="1" />
2624 <placement x="%col2_x%" y="%row4_y%" />
2625 <font resource="font" color="%button_text_color%" />
2626 <text>Re-Inject TWRP</text>
2627 <image resource="main_button" />
2628 <actions>
2629 <action function="set">tw_back=advanced</action>
2630 <action function="set">tw_action=reinjecttwrp</action>
2631 <action function="set">tw_text1=Re-Inject TWRP?</action>
2632 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2633 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2634 <action function="set">tw_slider_text=Swipe to Confirm</action>
2635 <action function="page">confirm_action</action>
2636 </actions>
2637 </object>
2638
2639 <object type="action">
2640 <touch key="home" />
2641 <action function="page">main</action>
2642 </object>
2643
2644 <object type="action">
2645 <touch key="back" />
2646 <action function="page">main</action>
2647 </object>
2648
2649 <object type="template" name="footer" />
2650 </page>
2651
2652 <page name="partsdcard">
2653 <object type="template" name="header" />
2654
2655 <object type="text" color="%text_color%">
2656 <font resource="font" />
2657 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2658 <text>Partition SD Card</text>
2659 </object>
2660
2661 <object type="button">
2662 <placement x="%col1_x%" y="%row1_y%" />
2663 <font resource="font" color="%button_text_color%" />
2664 <text></text>
2665 <image resource="minus_button" />
2666 <action function="addsubtract">tw_sdext_size-128</action>
2667 </object>
2668
2669 <object type="button">
2670 <placement x="%sd_plus_x%" y="%row1_y%" />
2671 <font resource="font" color="%button_text_color%" />
2672 <text></text>
2673 <image resource="plus_button" />
2674 <action function="addsubtract">tw_sdext_size+128</action>
2675 </object>
2676
2677 <object type="text" color="%text_color%">
2678 <font resource="font" />
2679 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2680 <text>EXT Size: %tw_sdext_size%</text>
2681 </object>
2682
2683 <object type="button">
2684 <placement x="%col1_x%" y="%sdswap_button_y%" />
2685 <font resource="font" color="%button_text_color%" />
2686 <text></text>
2687 <image resource="minus_button" />
2688 <action function="addsubtract">tw_swap_size-32</action>
2689 </object>
2690
2691 <object type="button">
2692 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text></text>
2695 <image resource="plus_button" />
2696 <action function="addsubtract">tw_swap_size+32</action>
2697 </object>
2698
2699 <object type="text" color="%text_color%">
2700 <font resource="font" />
2701 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2702 <text>Swap Size: %tw_swap_size%</text>
2703 </object>
2704
2705 <object type="text" color="%text_color%">
2706 <font resource="font" />
2707 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2708 <text>File system: %tw_sdpart_file_system%</text>
2709 </object>
2710
2711 <object type="button">
2712 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2713 <font resource="font" color="%button_text_color%" />
2714 <text>EXT3</text>
2715 <image resource="main_button" />
2716 <action function="set">tw_sdpart_file_system=ext3</action>
2717 </object>
2718
2719 <object type="button">
2720 <condition var1="tw_sdext_disable_ext4" var2="0" />
2721 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2722 <font resource="font" color="%button_text_color%" />
2723 <text>EXT4</text>
2724 <image resource="main_button" />
2725 <action function="set">tw_sdpart_file_system=ext4</action>
2726 </object>
2727
2728 <object type="text" color="%text_color%">
2729 <font resource="font" />
2730 <placement x="%col1_x%" y="%row12_text_y%" />
2731 <text>You will lose all files on your SD card!</text>
2732 </object>
2733
2734 <object type="text" color="%text_color%">
2735 <font resource="font" />
2736 <placement x="%col1_x%" y="%row13_text_y%" />
2737 <text>This action cannot be undone!</text>
2738 </object>
2739
2740 <object type="slider">
2741 <placement x="%slider_x%" y="%slider_y%" />
2742 <resource base="slider" used="slider-used" touch="slider-touch" />
2743 <action function="page">partsdcardaction</action>
2744 <actions>
2745 <action function="set">tw_back=partsdcard</action>
2746 <action function="set">tw_action=partitionsd</action>
2747 <action function="set">tw_has_action2=1</action>
2748 <action function="set">tw_action2=set</action>
2749 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2750 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2751 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002752 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <action function="page">action_page</action>
2754 </actions>
2755 </object>
2756
2757 <object type="text" color="%text_color%">
2758 <font resource="font" />
2759 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2760 <text>Swipe to Partition</text>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="home" />
2765 <action function="page">main</action>
2766 </object>
2767
2768 <object type="action">
2769 <touch key="back" />
2770 <action function="page">advanced</action>
2771 </object>
2772
2773 <object type="template" name="footer" />
2774 </page>
2775
2776 <page name="htcdumlock">
2777 <object type="template" name="header" />
2778
2779 <object type="text" color="%text_color%">
2780 <font resource="font" />
2781 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2782 <text>HTC Dumlock</text>
2783 </object>
2784
2785 <object type="button">
2786 <condition var1="tw_show_dumlock" var2="1" />
2787 <placement x="%col1_x%" y="%row1_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Restore Original Boot</text>
2790 <image resource="main_button" />
2791 <actions>
2792 <action function="set">tw_back=htcdumlock</action>
2793 <action function="set">tw_action=htcdumlockrestoreboot</action>
2794 <action function="set">tw_text1=Restore original boot image?</action>
2795 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2796 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2797 <action function="set">tw_slider_text=Swipe to Confirm</action>
2798 <action function="page">confirm_action</action>
2799 </actions>
2800 </object>
2801
2802 <object type="button">
2803 <condition var1="tw_show_dumlock" var2="1" />
2804 <placement x="%col2_x%" y="%row1_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Reflash Recovery</text>
2807 <image resource="main_button" />
2808 <actions>
2809 <action function="set">tw_back=htcdumlock</action>
2810 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2811 <action function="set">tw_text1=Reflash recovery to boot?</action>
2812 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2813 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2814 <action function="set">tw_slider_text=Swipe to Confirm</action>
2815 <action function="page">confirm_action</action>
2816 </actions>
2817 </object>
2818
2819 <object type="button">
2820 <condition var1="tw_show_dumlock" var2="1" />
2821 <placement x="%col1_x%" y="%row2_y%" />
2822 <font resource="font" color="%button_text_color%" />
2823 <text>Install HTC Dumlock</text>
2824 <image resource="main_button" />
2825 <actions>
2826 <action function="set">tw_back=htcdumlock</action>
2827 <action function="set">tw_action=installhtcdumlock</action>
2828 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2829 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2830 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2831 <action function="set">tw_slider_text=Swipe to Confirm</action>
2832 <action function="page">confirm_action</action>
2833 </actions>
2834 </object>
2835
2836 <object type="action">
2837 <touch key="home" />
2838 <action function="page">main</action>
2839 </object>
2840
2841 <object type="action">
2842 <touch key="back" />
2843 <action function="page">advanced</action>
2844 </object>
2845
2846 <object type="template" name="footer" />
2847 </page>
2848
2849 <page name="lock">
2850 <background color="#000000A0" />
2851
2852 <object type="image">
2853 <image resource="unlock-icon" />
2854 <placement x="%lock_x%" y="%lock_y%" />
2855 </object>
2856
2857 <object type="slider">
2858 <placement x="%slider_x%" y="%slider_y%" />
2859 <resource base="slider" used="slider-used" touch="slider-touch" />
2860 <action function="overlay"></action>
2861 </object>
2862
2863 <object type="text" color="%text_color%">
2864 <font resource="font" />
2865 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2866 <text>Swipe to Unlock</text>
2867 </object>
2868 </page>
2869
2870 <page name="filemanagerlist">
2871 <object type="template" name="header" />
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2876 <text>File Manager: Select a File or Folder</text>
2877 </object>
2878
2879 <object type="fileselector">
2880 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2881 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2882 <text>%tw_file_location1%</text>
2883 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2884 <sort name="tw_gui_sort_order" />
2885 <icon folder="folder_icon" file="file_icon" />
2886 <background color="%fileselector_background%" />
2887 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2888 <folders="1" files="1" />
2889 <path name="tw_file_location1" default="/" />
2890 <data name="tw_filename1" />
2891 <selection name="tw_selection1" />
2892 </object>
2893
2894 <object type="template" name="sort_options" />
2895
2896 <object type="action">
2897 <actions>
2898 <action function="set">tw_fm_type=File</action>
2899 <action function="set">tw_fm_isfolder=0</action>
2900 </actions>
2901 </object>
2902
2903 <object type="action">
2904 <touch key="home" />
2905 <action function="page">main</action>
2906 </object>
2907
2908 <object type="action">
2909 <touch key="back" />
2910 <action function="page">advanced</action>
2911 </object>
2912
2913 <object type="action">
2914 <condition var1="tw_filename1" op="modified" />
2915 <actions>
2916 <action function="page">filemanageroptions</action>
2917 </actions>
2918 </object>
2919
2920 <object type="button">
2921 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2922 <font resource="font" color="%button_text_color%" />
2923 <text>Select</text>
2924 <image resource="medium_button" />
2925 <actions>
2926 <action function="set">tw_filename1=tw_file_location1</action>
2927 <action function="set">tw_fm_isfolder=1</action>
2928 <action function="set">tw_fm_type=Folder</action>
2929 <action function="page">filemanageroptions</action>
2930 </actions>
2931 </object>
2932
2933 <object type="template" name="footer" />
2934 </page>
2935
2936 <page name="filemanageroptions">
2937 <object type="template" name="header" />
2938
2939 <object type="text" color="%text_color%">
2940 <font resource="font" />
2941 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2942 <text>%tw_fm_type% Selected:</text>
2943 </object>
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2948 <text>%tw_filename1%</text>
2949 </object>
2950
2951 <object type="button">
2952 <condition var1="tw_fm_isfolder" var2="0" />
2953 <placement x="%col1_x%" y="%row2_y%" />
2954 <font resource="font" color="%button_text_color%" />
2955 <text>Copy File</text>
2956 <image resource="main_button" />
2957 <actions>
2958 <action function="set">tw_filemanager_command=cp</action>
2959 <action function="set">tw_fm_text1=Copying</action>
2960 <action function="page">choosedestinationfolder</action>
2961 </actions>
2962 </object>
2963
2964 <object type="button">
2965 <condition var1="tw_fm_isfolder" var2="1" />
2966 <placement x="%col1_x%" y="%row2_y%" />
2967 <font resource="font" color="%button_text_color%" />
2968 <text>Copy Folder</text>
2969 <image resource="main_button" />
2970 <actions>
2971 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2972 <action function="set">tw_fm_text1=Copying</action>
2973 <action function="page">choosedestinationfolder</action>
2974 </actions>
2975 </object>
2976
2977 <object type="button">
2978 <placement x="%col2_x%" y="%row2_y%" />
2979 <font resource="font" color="%button_text_color%" />
2980 <text>Move</text>
2981 <image resource="main_button" />
2982 <actions>
2983 <action function="set">tw_filemanager_command=mv</action>
2984 <action function="set">tw_fm_text1=Moving</action>
2985 <action function="page">choosedestinationfolder</action>
2986 </actions>
2987 </object>
2988
2989 <object type="button">
2990 <placement x="%col1_x%" y="%row3_y%" />
2991 <font resource="font" color="%button_text_color%" />
2992 <text>chmod 755</text>
2993 <image resource="main_button" />
2994 <actions>
2995 <action function="set">tw_filemanager_command=chmod 755</action>
2996 <action function="set">tw_fm_text1=chmod 755</action>
2997 <action function="set">tw_fm_text2=</action>
2998 <action function="set">tw_fm_text3=</action>
2999 <action function="set">tw_include_text3=0</action>
3000 <action function="set">tw_back=filemanageroptions</action>
3001 <action function="page">filemanagerconfirm</action>
3002 </actions>
3003 </object>
3004
3005 <object type="button">
3006 <placement x="%col2_x%" y="%row3_y%" />
3007 <font resource="font" color="%button_text_color%" />
3008 <text>chmod</text>
3009 <image resource="main_button" />
3010 <actions>
3011 <action function="set">tw_filemanager_rename=0000</action>
3012 <action function="set">tw_fm_text2=</action>
3013 <action function="set">tw_fm_text3=</action>
3014 <action function="set">tw_include_text3=0</action>
3015 <action function="set">tw_back=filemanageroptions</action>
3016 <action function="page">filemanagerchmod</action>
3017 </actions>
3018 </object>
3019
3020 <object type="button">
3021 <placement x="%col1_x%" y="%row4_y%" />
3022 <font resource="font" color="%button_text_color%" />
3023 <text>Delete</text>
3024 <image resource="main_button" />
3025 <actions>
3026 <action function="set">tw_filemanager_command=rm -rf</action>
3027 <action function="set">tw_fm_text1=Deleting</action>
3028 <action function="set">tw_fm_text2=</action>
3029 <action function="set">tw_fm_text3=</action>
3030 <action function="set">tw_include_text3=0</action>
3031 <action function="set">tw_back=filemanageroptions</action>
3032 <action function="page">filemanagerconfirm</action>
3033 </actions>
3034 </object>
3035
3036 <object type="button">
3037 <condition var1="tw_fm_isfolder" var2="0" />
3038 <placement x="%col2_x%" y="%row4_y%" />
3039 <font resource="font" color="%button_text_color%" />
3040 <text>Rename File</text>
3041 <image resource="main_button" />
3042 <actions>
3043 <action function="set">tw_filemanager_rename=tw_selection1</action>
3044 <action function="set">tw_fm_text1=Renaming</action>
3045 <action function="set">tw_filemanager_command=mv</action>
3046 <action function="page">filemanagerrenamefile</action>
3047 </actions>
3048 </object>
3049
3050 <object type="button">
3051 <condition var1="tw_fm_isfolder" var2="1" />
3052 <placement x="%col2_x%" y="%row4_y%" />
3053 <font resource="font" color="%button_text_color%" />
3054 <text>Rename Folder</text>
3055 <image resource="main_button" />
3056 <actions>
3057 <action function="set">tw_filemanager_rename=tw_selection1</action>
3058 <action function="set">tw_fm_text1=Renaming</action>
3059 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3060 <action function="page">filemanagerrenamefolder</action>
3061 </actions>
3062 </object>
3063
3064 <object type="action">
3065 <touch key="home" />
3066 <action function="page">main</action>
3067 </object>
3068
3069 <object type="action">
3070 <touch key="back" />
3071 <action function="page">filemanagerlist</action>
3072 </object>
3073
3074 <object type="template" name="footer" />
3075 </page>
3076
3077 <page name="choosedestinationfolder">
3078 <object type="template" name="header" />
3079
3080 <object type="text" color="%text_color%">
3081 <font resource="font" />
3082 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3083 <text>Browse to Destination Folder & Press Select</text>
3084 </object>
3085
3086 <object type="fileselector">
3087 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3088 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3089 <text>%tw_file_location2%</text>
3090 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3091 <sort name="tw_gui_sort_order" />
3092 <icon folder="folder_icon" file="file_icon" />
3093 <background color="%fileselector_background%" />
3094 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3095 <filter folders="1" files="0" />
3096 <path name="tw_file_location2" default="/" />
3097 <data name="tw_filename2" />
3098 <selection name="tw_selection2" />
3099 </object>
3100
3101 <object type="template" name="sort_options" />
3102
3103 <object type="action">
3104 <touch key="home" />
3105 <action function="page">main</action>
3106 </object>
3107
3108 <object type="action">
3109 <touch key="back" />
3110 <action function="page">filemanageroptions</action>
3111 </object>
3112
3113 <object type="button">
3114 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3115 <font resource="font" color="%button_text_color%" />
3116 <text>Select</text>
3117 <image resource="medium_button" />
3118 <actions>
3119 <action function="set">tw_fm_text2=to</action>
3120 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3121 <action function="set">tw_include_text3=1</action>
3122 <action function="set">tw_back=filemanageroptions</action>
3123 <action function="page">filemanagerconfirm</action>
3124 </actions>
3125 </object>
3126
3127 <object type="template" name="footer" />
3128 </page>
3129
3130 <page name="filemanagerrenamefile">
3131 <object type="template" name="header" />
3132
3133 <object type="text" color="%text_color%">
3134 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3135 <font resource="font" />
3136 <text>Please Enter a New %tw_fm_type% Name</text>
3137 </object>
3138
3139 <object type="input">
3140 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3141 <background color="%input_background_color%" />
3142 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3143 <font resource="font" color="%text_color%" />
3144 <text>%tw_filemanager_rename%</text>
3145 <data name="tw_filemanager_rename" />
3146 <restrict minlen="1" maxlen="128" />
3147 <actions>
3148 <action function="set">tw_fm_text2=to</action>
3149 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3150 <action function="set">tw_include_text3=1</action>
3151 <action function="set">tw_back=filemanageroptions</action>
3152 <action function="page">filemanagerconfirm</action>
3153 </actions>
3154 </object>
3155
3156 <object type="button">
3157 <placement x="%col_center_x%" y="%row2_y%" />
3158 <font resource="font" color="%button_text_color%" />
3159 <text>Cancel</text>
3160 <image resource="main_button" />
3161 <action function="page">filemanageroptions</action>
3162 </object>
3163
3164 <object type="template" name="keyboardtemplate" />
3165
3166 <object type="action">
3167 <touch key="home" />
3168 <action function="page">main</action>
3169 </object>
3170
3171 <object type="action">
3172 <touch key="back" />
3173 <action function="page">filemanageroptions</action>
3174 </object>
3175
3176 <object type="template" name="footer" />
3177 </page>
3178
3179 <page name="filemanagerrenamefolder">
3180 <object type="template" name="header" />
3181
3182 <object type="text" color="%text_color%">
3183 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3184 <font resource="font" />
3185 <text>Please Enter a New %tw_fm_type% Name</text>
3186 </object>
3187
3188 <object type="input">
3189 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3190 <background color="%input_background_color%" />
3191 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3192 <font resource="font" color="%text_color%" />
3193 <text>%tw_filemanager_rename%</text>
3194 <data name="tw_filemanager_rename" />
3195 <restrict minlen="1" maxlen="128" />
3196 <actions>
3197 <action function="set">tw_fm_text2=to</action>
3198 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3199 <action function="set">tw_include_text3=1</action>
3200 <action function="set">tw_back=filemanageroptions</action>
3201 <action function="page">filemanagerconfirm</action>
3202 </actions>
3203 </object>
3204
3205 <object type="button">
3206 <placement x="%col_center_x%" y="%row2_y%" />
3207 <font resource="font" color="%button_text_color%" />
3208 <text>Cancel</text>
3209 <image resource="main_button" />
3210 <action function="page">filemanageroptions</action>
3211 </object>
3212
3213 <object type="template" name="keyboardtemplate" />
3214
3215 <object type="action">
3216 <touch key="home" />
3217 <action function="page">main</action>
3218 </object>
3219
3220 <object type="action">
3221 <touch key="back" />
3222 <action function="page">filemanageroptions</action>
3223 </object>
3224
3225 <object type="template" name="footer" />
3226 </page>
3227
3228 <page name="filemanagerchmod">
3229 <object type="template" name="header" />
3230
3231 <object type="text" color="%text_color%">
3232 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3233 <font resource="font" />
3234 <text>Please Enter New Permissions</text>
3235 </object>
3236
3237 <object type="input">
3238 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3239 <background color="%input_background_color%" />
3240 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3241 <font resource="font" color="%text_color%" />
3242 <text>%tw_filemanager_rename%</text>
3243 <data name="tw_filemanager_rename" />
3244 <restrict minlen="3" maxlen="4" allow="0123456789" />
3245 <actions>
3246 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3247 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3248 <action function="set">tw_back=filemanageroptions</action>
3249 <action function="page">filemanagerconfirm</action>
3250 </actions>
3251 </object>
3252
3253 <object type="button">
3254 <placement x="%col_center_x%" y="%row2_y%" />
3255 <font resource="font" color="%button_text_color%" />
3256 <text>Cancel</text>
3257 <image resource="main_button" />
3258 <action function="page">filemanageroptions</action>
3259 </object>
3260
3261 <object type="template" name="keyboardtemplate" />
3262
3263 <object type="action">
3264 <touch key="home" />
3265 <action function="page">main</action>
3266 </object>
3267
3268 <object type="action">
3269 <touch key="back" />
3270 <action function="page">filemanageroptions</action>
3271 </object>
3272
3273 <object type="template" name="footer" />
3274 </page>
3275
3276 <page name="filemanagerconfirm">
3277 <object type="template" name="header" />
3278
3279 <object type="text" color="%text_color%">
3280 <font resource="font" />
3281 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3282 <text>%tw_fm_text1%</text>
3283 </object>
3284
3285 <object type="text" color="%text_color%">
3286 <font resource="font" />
3287 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3288 <text>%tw_filename1%</text>
3289 </object>
3290
3291 <object type="text" color="%text_color%">
3292 <font resource="font" />
3293 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3294 <text>%tw_fm_text2%</text>
3295 </object>
3296
3297 <object type="text" color="%text_color%">
3298 <font resource="font" />
3299 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3300 <text>%tw_fm_text3%</text>
3301 </object>
3302
3303 <object type="text" color="%text_color%">
3304 <font resource="font" />
3305 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3306 <text>Press back button to cancel.</text>
3307 </object>
3308
3309 <object type="slider">
3310 <placement x="%slider_x%" y="%slider_y%" />
3311 <resource base="slider" used="slider-used" touch="slider-touch" />
3312 <action function="page">filemanageracction</action>
3313 </object>
3314
3315 <object type="text" color="%text_color%">
3316 <font resource="font" />
3317 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3318 <text>Swipe to Confirm</text>
3319 </object>
3320
3321 <object type="action">
3322 <touch key="back" />
3323 <action function="page">%tw_back%</action>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="home" />
3328 <action function="page">main</action>
3329 </object>
3330
3331 <object type="template" name="footer" />
3332 </page>
3333
3334 <page name="filemanageracction">
3335 <object type="template" name="header" />
3336
3337 <object type="text" color="%text_color%">
3338
3339 <font resource="font" />
3340 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3341 <text>%tw_fm_text1%</text>
3342 </object>
3343
3344 <object type="template" name="action_page_console" />
3345
3346 <object type="template" name="progress_bar" />
3347
3348 <object type="action">
3349 <conditions>
3350 <condition var1="tw_operation_state" var2="1" />
3351 <condition var1="tw_operation_status" var2="0" />
3352 </conditions>
3353 <actions>
3354 <action function="set">tw_back=filemanagerlist</action>
3355 <action function="set">tw_complete_text1=File Operation Complete</action>
3356 <action function="page">action_complete</action>
3357 </actions>
3358 </object>
3359
3360 <object type="action">
3361 <conditions>
3362 <condition var1="tw_operation_state" var2="1" />
3363 <condition var1="tw_operation_status" op="!=" var2="0" />
3364 </conditions>
3365 <actions>
3366 <action function="set">tw_complete_text1=File Operation Complete</action>
3367 <action function="page">action_complete</action>
3368 </actions>
3369 </object>
3370
3371 <object type="action">
3372 <condition var1="tw_include_text3" var2="0" />
3373 <actions>
3374 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3375 </actions>
3376 </object>
3377
3378 <object type="action">
3379 <condition var1="tw_include_text3" var2="1" />
3380 <actions>
3381 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3382 </actions>
3383 </object>
3384 </page>
3385
3386 <page name="decrypt">
3387 <object type="template" name="header" />
3388
3389 <object type="text" color="%text_color%">
3390 <font resource="font" />
3391 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3392 <text>Please Enter Your Password</text>
3393 </object>
3394
3395 <object type="input">
3396 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3397 <background color="%input_background_color%" />
3398 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3399 <font resource="font" color="%text_color%" />
3400 <text>%tw_crypto_display%</text>
3401 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3402 <restrict minlen="1" maxlen="254" />
3403 <actions>
3404 <action function="page">trydecrypt</action>
3405 </actions>
3406 </object>
3407
3408 <object type="text" color="%text_fail_color%">
3409 <condition var1="tw_password_fail" var2="1" />
3410 <font resource="font" />
3411 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3412 <text>Password Failed, Please Try Again</text>
3413 </object>
3414
3415 <object type="button">
3416 <placement x="%col_center_x%" y="%row2_y%" />
3417 <font resource="font" color="%button_text_color%" />
3418 <text>Cancel</text>
3419 <image resource="main_button" />
3420 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003421 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003422 <action function="page">main</action>
3423 </actions>
3424 </object>
3425
3426 <object type="template" name="keyboardtemplate" />
3427
Dees_Troy51a0e822012-09-05 15:24:24 -04003428 <object type="template" name="footer" />
3429 </page>
3430
3431 <page name="trydecrypt">
3432 <object type="template" name="header" />
3433
3434 <object type="text" color="%text_color%">
3435 <font resource="font" />
3436 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3437 <text>Trying Decryption with Your Password</text>
3438 </object>
3439
3440 <object type="template" name="action_page_console" />
3441
3442 <object type="template" name="progress_bar" />
3443
3444 <object type="action">
3445 <action function="decrypt"></action>
3446 </object>
3447
3448 <object type="action">
3449 <conditions>
3450 <condition var1="tw_operation_state" var2="1" />
3451 <condition var1="tw_operation_status" op="!=" var2="0" />
3452 </conditions>
3453 <actions>
3454 <action function="set">tw_password_fail=1</action>
3455 <action function="page">decrypt</action>
3456 </actions>
3457 </object>
3458
3459 <object type="action">
3460 <conditions>
3461 <condition var1="tw_operation_state" var2="1" />
3462 <condition var1="tw_operation_status" op="=" var2="0" />
3463 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003464 <actions>
3465 <action function="set">tw_page_done=1</action>
3466 <action function="page">main</action>
3467 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 </object>
3469 </page>
3470
3471 <page name="terminalfolder">
3472 <object type="template" name="header" />
3473
3474 <object type="text" color="%text_color%">
3475 <font resource="font" />
3476 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3477 <text>Browse to Starting Folder</text>
3478 </object>
3479
3480 <object type="fileselector">
3481 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3482 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3483 <text>%tw_terminal_location%</text>
3484 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3485 <sort name="tw_gui_sort_order" />
3486 <icon folder="folder_icon" file="file_icon" />
3487 <background color="%fileselector_background%" />
3488 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3489 <filter folders="1" files="0" />
3490 <path name="tw_terminal_location" default="/" />
3491 <data name="tw_terminal" />
3492 <selection name="tw_terminal_selection" />
3493 </object>
3494
3495 <object type="template" name="sort_options" />
3496
3497 <object type="action">
3498 <touch key="home" />
3499 <action function="page">main</action>
3500 </object>
3501
3502 <object type="action">
3503 <touch key="back" />
3504 <action function="page">advanced</action>
3505 </object>
3506
3507 <object type="button">
3508 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3509 <font resource="font" color="%button_text_color%" />
3510 <text>Select</text>
3511 <image resource="medium_button" />
3512 <actions>
3513 <action function="page">terminalcommand</action>
3514 </actions>
3515 </object>
3516
3517 <object type="template" name="footer" />
3518 </page>
3519
3520 <page name="terminalcommand">
3521 <object type="template" name="header" />
3522
3523 <object type="console">
3524 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3525 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3526 <font resource="fixed" />
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3531 <font resource="font" />
3532 <text>Starting Path: %tw_terminal_location%</text>
3533 </object>
3534
3535 <object type="input">
3536 <condition var1="tw_terminal_state" var2="0" />
3537 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3538 <background color="%input_background_color%" />
3539 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3540 <font resource="font" color="%text_color%" />
3541 <text>%tw_terminal_command%</text>
3542 <data name="tw_terminal_command" />
3543 <restrict minlen="1" />
3544 <action function="terminalcommand">%tw_terminal_command%</action>
3545 </object>
3546
3547 <object type="button">
3548 <condition var1="tw_terminal_state" var2="1" />
3549 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3550 <font resource="font" color="%button_text_color%" />
3551 <text>KILL</text>
3552 <image resource="medium_button" />
3553 <action function="killterminal"></action>
3554 </object>
3555
3556 <object type="template" name="keyboardtemplate" />
3557
3558 <object type="action">
3559 <touch key="home" />
3560 <action function="page">main</action>
3561 </object>
3562
3563 <object type="action">
3564 <touch key="back" />
3565 <action function="page">terminalfolder</action>
3566 </object>
3567 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003568
3569 <page name="sideload">
3570 <object type="template" name="header" />
3571
3572 <object type="text" color="%text_color%">
3573 <font resource="font" />
3574 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3575 <text>ADB Sideload</text>
3576 </object>
3577
3578 <object type="checkbox">
3579 <placement x="%col1_x%" y="%row2_text_y%" />
3580 <font resource="font" color="%text_color%" />
3581 <text>Wipe Dalvik Cache.</text>
3582 <data variable="tw_wipe_dalvik" />
3583 <image checked="checkbox_true" unchecked="checkbox_false" />
3584 </object>
3585
3586 <object type="checkbox">
3587 <placement x="%col1_x%" y="%row3_text_y%" />
3588 <font resource="font" color="%text_color%" />
3589 <text>Wipe Cache.</text>
3590 <data variable="tw_wipe_cache" />
3591 <image checked="checkbox_true" unchecked="checkbox_false" />
3592 </object>
3593
3594 <object type="slider">
3595 <placement x="%slider_x%" y="%slider_y%" />
3596 <resource base="slider" used="slider-used" touch="slider-touch" />
3597 <actions>
3598 <action function="set">tw_back=advanced</action>
3599 <action function="set">tw_action=adbsideload</action>
3600 <action function="set">tw_action_text1=ADB Sideload</action>
3601 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3602 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3603 <action function="set">tw_has_cancel=1</action>
3604 <action function="set">tw_show_reboot=1</action>
3605 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3606 <action function="page">action_page</action>
3607 </actions>
3608 </object>
3609
3610 <object type="text" color="%text_color%">
3611 <font resource="font" />
3612 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3613 <text>Swipe to Start Sideload</text>
3614 </object>
3615
3616 <object type="action">
3617 <touch key="home" />
3618 <action function="page">main</action>
3619 </object>
3620
3621 <object type="action">
3622 <touch key="back" />
3623 <action function="page">advanced</action>
3624 </object>
3625
3626 <object type="template" name="footer" />
3627 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 </pages>
3629</recovery>