blob: c435cf94ef574e9b78c4d8650f6e0a2a5dad4c71 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
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-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
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="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="25" />
Dees_Troyb46a6842012-09-25 11:06:46 -040047 <variable name="col2_x" value="425" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <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="50" />
100 <variable name="home_button_y" value="1226" />
101 <variable name="back_button_x" value="666" />
102 <variable name="back_button_y" value="1226" />
103 <variable name="sort_text_x" value="85" />
104 <variable name="sort_asc_text_y" value="1090" />
105 <variable name="sort_asc_button_y" value="1080" />
106 <variable name="sort_desc_text_y" value="1150" />
107 <variable name="sort_desc_button_y" value="1140" />
108 <variable name="sort_col1_button_x" value="330" />
109 <variable name="sort_col2_button_x" value="430" />
110 <variable name="sort_col3_button_x" value="530" />
111 <variable name="input_width" value="750" />
112 <variable name="input_height" value="50" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="800" />
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="470" />
122 <variable name="console_install_height" value="600" />
123 <variable name="console_installdone_height" value="440" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="800" />
126 <variable name="fileselector_install_height" value="750" />
127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
134 <variable name="fileselector_spacing" value="36"/>
135 <variable name="listbox_x" value="5" />
136 <variable name="listbox_width" value="710" />
137 <variable name="listbox_tz_height" value="540" />
138 <variable name="listbox_background" value="#303030" />
139 <variable name="listbox_spacing" value="16" />
140 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400141 <variable name="sdext_text_x" value="115" />
142 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400144 <variable name="sdswap_text_x" value="115" />
145 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="sdfilesystem_text_y" value="340" />
147 <variable name="sdfilesystem_button_y" value="380" />
148 <variable name="lock_x" value="200" />
149 <variable name="lock_y" value="400" />
150 <variable name="filemanager_select_x" value="320" />
151 <variable name="filemanager_select_y" value="950" />
152 <variable name="backup_name_y" value="550" />
153 <variable name="terminal_console_height" value="600" />
154 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400155 <variable name="terminal_button_y" value="620" />
156 <variable name="row_dst_text_y" value="720" />
157 <variable name="row_offset_text_y" value="800" />
158 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400159 <variable name="exclamation_x" value="200" />
160 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 </variables>
162
163 <templates>
164 <template name="header">
165 <background color="#000000FF" />
166
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="120" y="10" />
175 <text>Team Win Recovery Project 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="120" y="45" />
182 <text>SIMULATING ACTIONS</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <font resource="font" />
187 <placement x="120" y="76" />
188 <text>%tw_time%</text>
189 </object>
190
191 <object type="text" color="%text_color%">
192 <font resource="font" />
193 <placement x="270" y="76" />
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="sort_options">
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
245 <text>Sort Ascending:</text>
246 </object>
247
248 <object type="button">
249 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
250 <font resource="font" color="%button_text_color%" />
251 <text>Name</text>
252 <image resource="sort_button" />
253 <action function="set">tw_gui_sort_order=1</action>
254 </object>
255
256 <object type="button">
257 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text>Date</text>
260 <image resource="sort_button" />
261 <action function="set">tw_gui_sort_order=2</action>
262 </object>
263
264 <object type="button">
265 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
266 <font resource="font" color="%button_text_color%" />
267 <text>Size</text>
268 <image resource="sort_button" />
269 <action function="set">tw_gui_sort_order=3</action>
270 </object>
271
272 <object type="text" color="%text_color%">
273 <font resource="font" />
274 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
275 <text>Sort Descending:</text>
276 </object>
277
278 <object type="button">
279 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
280 <font resource="font" color="%button_text_color%" />
281 <text>Name</text>
282 <image resource="sort_button" />
283 <action function="set">tw_gui_sort_order=-1</action>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
288 <font resource="font" color="%button_text_color%" />
289 <text>Date</text>
290 <image resource="sort_button" />
291 <action function="set">tw_gui_sort_order=-2</action>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <text>Size</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=-3</action>
300 </object>
301 </template>
302
303 <template name="action_page_console">
304 <object type="console">
305 <placement x="0" y="%row3_text_y%" w="800" h="600" />
306 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
307 <font resource="fixed" />
308 </object>
309 </template>
310
311 <template name="footer">
312 <object type="console">
313 <slideout resource="slideout" x="355" y="1220" />
314 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
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="740" />
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="115" width="80" />
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="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
329 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
330 <row4 key01="104:layout3" key02="150:" key03="390: " key04="80:." key05="180:a:action" />
331 </layout1>
332 <layout2>
333 <keysize height="116" width="80" />
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="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
336 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
337 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
338 </layout2>
339 <layout3>
340 <keysize height="115" width="80" />
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="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
344 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
345 </layout3>
346 <layout4>
347 <keysize height="116" width="80" />
348 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
349 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
350 <row3 key01="115:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="108:c:8" />
351 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123: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
Dees_Troyb46a6842012-09-25 11:06:46 -0400421
Dees_Troy51a0e822012-09-05 15:24:24 -0400422 <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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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>
Dees_Troyb46a6842012-09-25 11:06:46 -0400485
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 <object type="button">
487 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -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>
Dees_Troyb46a6842012-09-25 11:06:46 -0400497
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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" />
608 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
609 <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" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400620 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400621 <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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06: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" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400859 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <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_Troycfb63ae2012-09-19 14:30:17 -0400896 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -0400897 <condition var1="tw_has_cancel" var2="1" />
898 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400899 <font resource="font" color="%button_text_color%" />
900 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400901 <image resource="medium_button" />
902 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400903 </object>
904
Dees_Troycfb63ae2012-09-19 14:30:17 -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_Troycfb63ae2012-09-19 14:30:17 -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
Dees_Troy51a0e822012-09-05 15:24:24 -0400930 <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_Troyb46a6842012-09-25 11:06:46 -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
Dees_Troyb46a6842012-09-25 11:06:46 -04001247 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252
Dees_Troyb46a6842012-09-25 11:06:46 -04001253 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001258
Dees_Troyb46a6842012-09-25 11:06:46 -04001259 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001264
1265 <object type="text" color="%text_color%">
1266 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001267 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001268 <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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -04001386 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -04001394 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001395 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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
Dees_Troyb46a6842012-09-25 11:06:46 -04001505 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001515
1516 <object type="template" name="keyboardtemplate" />
1517
Dees_Troyb46a6842012-09-25 11:06:46 -04001518 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001525
Dees_Troyb46a6842012-09-25 11:06:46 -04001526 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001533
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>
Dees_Troyb46a6842012-09-25 11:06:46 -04001603
Dees_Troy51a0e822012-09-05 15:24:24 -04001604 <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>
Dees_Troyb46a6842012-09-25 11:06:46 -04001692
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 <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" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001701 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001702 <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
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 <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_Troyb46a6842012-09-25 11:06:46 -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
Dees_Troyb46a6842012-09-25 11:06:46 -04001794 <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>
Dees_Troy51a0e822012-09-05 15:24:24 -04001799
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_Troyb46a6842012-09-25 11:06:46 -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_Troyb46a6842012-09-25 11:06:46 -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>
Dees_Troyb46a6842012-09-25 11:06:46 -04002055
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <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">
Dees_Troyb46a6842012-09-25 11:06:46 -04002088 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002089 <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">
Dees_Troyb46a6842012-09-25 11:06:46 -04002100 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002101 <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
2120 <object type="action">
2121 <touch key="home" />
2122 <action function="page">main</action>
2123 </object>
2124
2125 <object type="action">
2126 <touch key="back" />
2127 <action function="page">main</action>
2128 </object>
2129
2130 <object type="template" name="footer" />
2131 </page>
2132
2133 <page name="usb_mount">
2134 <object type="template" name="header" />
2135
2136 <object type="text" color="%text_color%">
2137 <font resource="font" />
2138 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2139 <text>USB Storage Mounted</text>
2140 </object>
2141
2142 <object type="text" color="%text_color%">
2143 <placement x="%col1_x%" y="%row1_text_y%" />
2144 <font resource="font" />
2145 <text>Be sure to safely remove your device</text>
2146 </object>
2147
2148 <object type="text" color="%text_color%">
2149 <placement x="%col1_x%" y="%row2_text_y%" />
2150 <font resource="font" />
2151 <text>from your computer before unmounting!</text>
2152 </object>
2153
2154 <object type="button">
2155 <placement x="%col1_x%" y="%row3_y%" />
2156 <font resource="font" color="%button_text_color%" />
2157 <text>Unmount</text>
2158 <image resource="main_button" />
2159 <action function="page">usb_umount</action>
2160 </object>
2161
2162 <object type="action">
2163 <action function="mount">usb</action>
2164 </object>
2165
2166 <object type="template" name="footer" />
2167 </page>
2168
2169 <page name="usb_umount">
2170 <object type="action">
2171 <action function="unmount">usb</action>
2172 </object>
2173
2174 <object type="action">
2175 <action function="page">mount</action>
2176 </object>
2177 </page>
2178
2179 <page name="reboot">
2180 <object type="template" name="header" />
2181
2182 <object type="text" color="%text_color%">
2183 <font resource="font" />
2184 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2185 <text>Reboot Menu</text>
2186 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002187
Dees_Troy51a0e822012-09-05 15:24:24 -04002188 <object type="button">
2189 <condition var1="tw_reboot_system" var2="1" />
2190 <placement x="%col1_x%" y="%row1_y%" />
2191 <font resource="font" color="%button_text_color%" />
2192 <text>System</text>
2193 <image resource="main_button" />
2194 <actions>
2195 <action function="set">tw_back=reboot</action>
2196 <action function="set">tw_action=reboot</action>
2197 <action function="set">tw_action_param=system</action>
2198 <action function="set">tw_has_action2=0</action>
2199 <action function="set">tw_text1=No OS Installed! Are you</action>
2200 <action function="set">tw_text2=sure you wish to reboot?</action>
2201 <action function="set">tw_action_text1=Rebooting...</action>
2202 <action function="set">tw_complete_text1=Rebooting...</action>
2203 <action function="set">tw_slider_text=Swipe to Reboot</action>
2204 <action function="page">rebootcheck</action>
2205 </actions>
2206 </object>
2207
2208 <object type="button">
2209 <condition var1="tw_reboot_poweroff" var2="1" />
2210 <placement x="%col2_x%" y="%row1_y%" />
2211 <font resource="font" color="%button_text_color%" />
2212 <text>Power Off</text>
2213 <image resource="main_button" />
2214 <actions>
2215 <action function="set">tw_back=reboot</action>
2216 <action function="set">tw_action=reboot</action>
2217 <action function="set">tw_action_param=poweroff</action>
2218 <action function="set">tw_has_action2=0</action>
2219 <action function="set">tw_text1=No OS Installed! Are you</action>
2220 <action function="set">tw_text2=sure you wish to power off?</action>
2221 <action function="set">tw_action_text1=Turning Off...</action>
2222 <action function="set">tw_complete_text1=Turning Off...</action>
2223 <action function="set">tw_slider_text=Swipe to Power Off</action>
2224 <action function="page">rebootcheck</action>
2225 </actions>
2226 </object>
2227
2228 <object type="button">
2229 <condition var1="tw_reboot_recovery" var2="1" />
2230 <placement x="%col1_x%" y="%row2_y%" />
2231 <font resource="font" color="%button_text_color%" />
2232 <text>Recovery</text>
2233 <image resource="main_button" />
2234 <actions>
2235 <action function="set">tw_back=reboot</action>
2236 <action function="set">tw_action=reboot</action>
2237 <action function="set">tw_action_param=recovery</action>
2238 <action function="set">tw_has_action2=0</action>
2239 <action function="set">tw_text1=No OS Installed! Are you</action>
2240 <action function="set">tw_text2=sure you wish to reboot?</action>
2241 <action function="set">tw_action_text1=Rebooting...</action>
2242 <action function="set">tw_complete_text1=Rebooting...</action>
2243 <action function="set">tw_slider_text=Swipe to Reboot</action>
2244 <action function="page">rebootcheck</action>
2245 </actions>
2246 </object>
2247
2248 <object type="button">
2249 <condition var1="tw_reboot_bootloader" var2="1" />
2250 <placement x="%col2_x%" y="%row2_y%" />
2251 <font resource="font" color="%button_text_color%" />
2252 <text>Bootloader</text>
2253 <image resource="main_button" />
2254 <actions>
2255 <action function="set">tw_back=reboot</action>
2256 <action function="set">tw_action=reboot</action>
2257 <action function="set">tw_action_param=bootloader</action>
2258 <action function="set">tw_has_action2=0</action>
2259 <action function="set">tw_text1=No OS Installed! Are you</action>
2260 <action function="set">tw_text2=sure you wish to reboot?</action>
2261 <action function="set">tw_action_text1=Rebooting...</action>
2262 <action function="set">tw_complete_text1=Rebooting...</action>
2263 <action function="set">tw_slider_text=Swipe to Reboot</action>
2264 <action function="page">rebootcheck</action>
2265 </actions>
2266 </object>
2267
2268 <object type="button">
2269 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002270 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002271 <font resource="font" color="%button_text_color%" />
2272 <text>Download</text>
2273 <image resource="main_button" />
2274 <actions>
2275 <action function="set">tw_back=reboot</action>
2276 <action function="set">tw_action=reboot</action>
2277 <action function="set">tw_action_param=download</action>
2278 <action function="set">tw_has_action2=0</action>
2279 <action function="set">tw_text1=No OS Installed! Are you</action>
2280 <action function="set">tw_text2=sure you wish to reboot?</action>
2281 <action function="set">tw_action_text1=Rebooting...</action>
2282 <action function="set">tw_complete_text1=Rebooting...</action>
2283 <action function="set">tw_slider_text=Swipe to Reboot</action>
2284 <action function="page">rebootcheck</action>
2285 </actions>
2286 </object>
2287
2288 <object type="action">
2289 <touch key="home" />
2290 <action function="page">main</action>
2291 </object>
2292
2293 <object type="action">
2294 <touch key="back" />
2295 <action function="page">main</action>
2296 </object>
2297
2298 <object type="template" name="footer" />
2299 </page>
2300
2301 <page name="settings">
2302 <object type="template" name="header" />
2303
2304 <object type="text" color="%text_color%">
2305 <font resource="font" />
2306 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2307 <text>Settings</text>
2308 </object>
2309
2310 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002311 <placement x="%col1_x%" y="%row1_text_y%" />
2312 <font resource="font" color="%text_color%" />
2313 <text>Zip file signature verification.</text>
2314 <data variable="tw_signed_zip_verify" />
2315 <image checked="checkbox_true" unchecked="checkbox_false" />
2316 </object>
2317
2318 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <placement x="%col1_x%" y="%row2_text_y%" />
2320 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002321 <text>Force MD5 check on all zips.</text>
2322 <data variable="tw_force_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002323 <image checked="checkbox_true" unchecked="checkbox_false" />
2324 </object>
2325
2326 <object type="checkbox">
2327 <placement x="%col1_x%" y="%row3_text_y%" />
2328 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002329 <text>Use rm -rf instead of formatting.</text>
2330 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <image checked="checkbox_true" unchecked="checkbox_false" />
2332 </object>
2333
2334 <object type="checkbox">
2335 <placement x="%col1_x%" y="%row4_text_y%" />
2336 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002337 <text>Skip MD5 generation during backup.</text>
2338 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002339 <image checked="checkbox_true" unchecked="checkbox_false" />
2340 </object>
2341
2342 <object type="checkbox">
2343 <placement x="%col1_x%" y="%row5_text_y%" />
2344 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002345 <text>Enable MD5 verification of backup files.</text>
2346 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002347 <image checked="checkbox_true" unchecked="checkbox_false" />
2348 </object>
2349
2350 <object type="checkbox">
2351 <placement x="%col1_x%" y="%row6_text_y%" />
2352 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002353 <text>Ignore image size errors during backup.</text>
2354 <data variable="tw_ignore_image_size" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002355 <image checked="checkbox_true" unchecked="checkbox_false" />
2356 </object>
2357
2358 <object type="checkbox">
2359 <placement x="%col1_x%" y="%row7_text_y%" />
2360 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002361 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002362 <data variable="tw_simulate_actions" />
2363 <image checked="checkbox_true" unchecked="checkbox_false" />
2364 </object>
2365
2366 <object type="checkbox">
2367 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002368 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002370 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002371 <data variable="tw_simulate_fail" />
2372 <image checked="checkbox_true" unchecked="checkbox_false" />
2373 </object>
2374
2375 <object type="button">
2376 <placement x="%col1_x%" y="%row3_y%" />
2377 <font resource="font" color="%button_text_color%" />
2378 <text>Time Zone</text>
2379 <image resource="main_button" />
2380 <action function="page">timezone</action>
2381 </object>
2382
2383 <object type="button">
2384 <placement x="%col_center_x%" y="%row4_y%" />
2385 <font resource="font" color="%button_text_color%" />
2386 <text>Restore Defaults</text>
2387 <image resource="main_button" />
2388 <action function="restoredefaultsettings"></action>
2389 </object>
2390
2391 <object type="action">
2392 <touch key="home" />
2393 <action function="page">main</action>
2394 </object>
2395
2396 <object type="action">
2397 <touch key="back" />
2398 <action function="page">main</action>
2399 </object>
2400
2401 <object type="template" name="footer" />
2402 </page>
2403
2404 <page name="timezone">
2405 <object type="template" name="header" />
2406
2407 <object type="text" color="%text_color%">
2408 <font resource="font" />
2409 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2410 <text>Select Time Zone</text>
2411 </object>
2412
2413 <object type="listbox">
2414 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2415 <icon selected="radio_true" unselected="radio_false" />
2416 <background color="%listbox_background%" />
2417 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2418 <data name="tw_time_zone_guisel" />
2419 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2420 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2421 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2422 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2423 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2424 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2425 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2426 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2427 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2428 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2429 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2430 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2431 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2432 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2433 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2434 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2435 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2436 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2437 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2438 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2439 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2440 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2441 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2442 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2443 </object>
2444
2445 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002446 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <font resource="font" color="%text_color%" />
2448 <text>Do you use daylight savings time (DST)?</text>
2449 <data variable="tw_time_zone_guidst" />
2450 <image checked="checkbox_true" unchecked="checkbox_false" />
2451 </object>
2452
2453 <object type="text" color="%text_color%">
2454 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002455 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2457 </object>
2458
2459 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002460 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <font resource="font" color="%button_text_color%" />
2462 <text>None</text>
2463 <image resource="medium_button" />
2464 <action function="set">tw_time_zone_guioffset=0</action>
2465 </object>
2466
2467 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002468 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <font resource="font" color="%button_text_color%" />
2470 <text>15</text>
2471 <image resource="medium_button" />
2472 <action function="set">tw_time_zone_guioffset=15</action>
2473 </object>
2474
2475 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002476 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002477 <font resource="font" color="%button_text_color%" />
2478 <text>30</text>
2479 <image resource="medium_button" />
2480 <action function="set">tw_time_zone_guioffset=30</action>
2481 </object>
2482
2483 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002484 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002485 <font resource="font" color="%button_text_color%" />
2486 <text>45</text>
2487 <image resource="medium_button" />
2488 <action function="set">tw_time_zone_guioffset=45</action>
2489 </object>
2490
2491 <object type="button">
2492 <placement x="%col_center_x%" y="%tz_set_y%" />
2493 <font resource="font" color="%button_text_color%" />
2494 <text>Set Time Zone</text>
2495 <image resource="main_button" />
2496 <action function="setguitimezone"></action>
2497 </object>
2498
2499 <object type="text" color="%text_color%">
2500 <font resource="font" />
2501 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2502 <text>Current Time Zone: %tw_time_zone%</text>
2503 </object>
2504
2505 <object type="action">
2506 <touch key="home" />
2507 <action function="page">main</action>
2508 </object>
2509
2510 <object type="action">
2511 <touch key="back" />
2512 <action function="page">settings</action>
2513 </object>
2514
2515 <object type="template" name="footer" />
2516 </page>
2517
2518 <page name="advanced">
2519 <object type="template" name="header" />
2520
2521 <object type="text" color="%text_color%">
2522 <font resource="font" />
2523 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2524 <text>Advanced</text>
2525 </object>
2526
2527 <object type="button">
2528 <placement x="%col1_x%" y="%row1_y%" />
2529 <font resource="font" color="%button_text_color%" />
2530 <text>Copy Log to SD</text>
2531 <image resource="main_button" />
2532 <actions>
2533 <action function="set">tw_back=advanced</action>
2534 <action function="set">tw_action=copylog</action>
2535 <action function="set">tw_text1=Copy Log to SD Card?</action>
2536 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2537 <action function="set">tw_complete_text1=Log Copy Complete</action>
2538 <action function="set">tw_slider_text=Swipe to Confirm</action>
2539 <action function="page">confirm_action</action>
2540 </actions>
2541 </object>
2542
2543 <object type="button">
2544 <placement x="%col2_x%" y="%row1_y%" />
2545 <font resource="font" color="%button_text_color%" />
2546 <text>Fix Permissions</text>
2547 <image resource="main_button" />
2548 <actions>
2549 <action function="set">tw_back=advanced</action>
2550 <action function="set">tw_action=fixpermissions</action>
2551 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2554 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002555 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002556 <action function="page">confirm_action</action>
2557 </actions>
2558 </object>
2559
2560 <object type="button">
2561 <condition var1="tw_allow_partition_sdcard" var2="1" />
2562 <placement x="%col1_x%" y="%row2_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>Partition SD Card</text>
2565 <image resource="main_button" />
2566 <action function="page">partsdcard</action>
2567 </object>
2568
2569 <object type="button">
2570 <placement x="%col2_x%" y="%row2_y%" />
2571 <font resource="font" color="%button_text_color%" />
2572 <text>File Manager</text>
2573 <image resource="main_button" />
2574 <action function="page">filemanagerlist</action>
2575 </object>
2576
2577 <object type="button">
2578 <placement x="%col1_x%" y="%row3_y%" />
2579 <font resource="font" color="%button_text_color%" />
2580 <text>Terminal Command</text>
2581 <image resource="main_button" />
2582 <action function="page">terminalfolder</action>
2583 </object>
2584
2585 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002586 <placement x="%col2_x%" y="%row3_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>Reload Theme</text>
2589 <image resource="main_button" />
2590 <action function="reload"></action>
2591 </object>
2592
2593 <object type="button">
Dees_Troy43d8b002012-09-17 16:00:01 -04002594 <placement x="%col1_x%" y="%row4_y%" />
2595 <font resource="font" color="%button_text_color%" />
2596 <text>ADB Sideload</text>
2597 <image resource="main_button" />
2598 <actions>
Dees_Troycfb63ae2012-09-19 14:30:17 -04002599 <action function="set">tw_back=advanced</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002600 <action function="set">tw_action=adbsideload</action>
2601 <action function="set">tw_action_text1=ADB Sideload</action>
2602 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2603 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002604 <action function="set">tw_has_cancel=1</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002605 <action function="set">tw_show_reboot=1</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002606 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2607 <action function="page">action_page</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002608 </actions>
2609 </object>
2610
2611 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002612 <condition var1="tw_show_dumlock" var2="1" />
2613 <placement x="%col2_x%" y="%row4_y%" />
2614 <font resource="font" color="%button_text_color%" />
2615 <text>HTC Dumlock</text>
2616 <image resource="main_button" />
2617 <action function="page">htcdumlock</action>
2618 </object>
2619
2620 <object type="button">
2621 <condition var1="tw_has_injecttwrp" var2="1" />
2622 <placement x="%col2_x%" y="%row4_y%" />
2623 <font resource="font" color="%button_text_color%" />
2624 <text>Re-Inject TWRP</text>
2625 <image resource="main_button" />
2626 <actions>
2627 <action function="set">tw_back=advanced</action>
2628 <action function="set">tw_action=reinjecttwrp</action>
2629 <action function="set">tw_text1=Re-Inject TWRP?</action>
2630 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2631 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2632 <action function="set">tw_slider_text=Swipe to Confirm</action>
2633 <action function="page">confirm_action</action>
2634 </actions>
2635 </object>
2636
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <object type="action">
2638 <touch key="home" />
2639 <action function="page">main</action>
2640 </object>
2641
2642 <object type="action">
2643 <touch key="back" />
2644 <action function="page">main</action>
2645 </object>
2646
2647 <object type="template" name="footer" />
2648 </page>
2649
2650 <page name="partsdcard">
2651 <object type="template" name="header" />
2652
2653 <object type="text" color="%text_color%">
2654 <font resource="font" />
2655 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2656 <text>Partition SD Card</text>
2657 </object>
2658
2659 <object type="button">
2660 <placement x="%col1_x%" y="%row1_y%" />
2661 <font resource="font" color="%button_text_color%" />
2662 <text></text>
2663 <image resource="minus_button" />
2664 <action function="addsubtract">tw_sdext_size-128</action>
2665 </object>
2666
2667 <object type="button">
2668 <placement x="%sd_plus_x%" y="%row1_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text></text>
2671 <image resource="plus_button" />
2672 <action function="addsubtract">tw_sdext_size+128</action>
2673 </object>
2674
2675 <object type="text" color="%text_color%">
2676 <font resource="font" />
2677 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2678 <text>EXT Size: %tw_sdext_size%</text>
2679 </object>
2680
2681 <object type="button">
2682 <placement x="%col1_x%" y="%sdswap_button_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text></text>
2685 <image resource="minus_button" />
2686 <action function="addsubtract">tw_swap_size-32</action>
2687 </object>
2688
2689 <object type="button">
2690 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text></text>
2693 <image resource="plus_button" />
2694 <action function="addsubtract">tw_swap_size+32</action>
2695 </object>
2696
2697 <object type="text" color="%text_color%">
2698 <font resource="font" />
2699 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2700 <text>Swap Size: %tw_swap_size%</text>
2701 </object>
2702
2703 <object type="text" color="%text_color%">
2704 <font resource="font" />
2705 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2706 <text>File system: %tw_sdpart_file_system%</text>
2707 </object>
2708
2709 <object type="button">
2710 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2711 <font resource="font" color="%button_text_color%" />
2712 <text>EXT3</text>
2713 <image resource="main_button" />
2714 <action function="set">tw_sdpart_file_system=ext3</action>
2715 </object>
2716
2717 <object type="button">
2718 <condition var1="tw_sdext_disable_ext4" var2="0" />
2719 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2720 <font resource="font" color="%button_text_color%" />
2721 <text>EXT4</text>
2722 <image resource="main_button" />
2723 <action function="set">tw_sdpart_file_system=ext4</action>
2724 </object>
2725
2726 <object type="text" color="%text_color%">
2727 <font resource="font" />
2728 <placement x="%col1_x%" y="%row12_text_y%" />
2729 <text>You will lose all files on your SD card!</text>
2730 </object>
2731
2732 <object type="text" color="%text_color%">
2733 <font resource="font" />
2734 <placement x="%col1_x%" y="%row13_text_y%" />
2735 <text>This action cannot be undone!</text>
2736 </object>
2737
2738 <object type="slider">
2739 <placement x="%slider_x%" y="%slider_y%" />
2740 <resource base="slider" used="slider-used" touch="slider-touch" />
2741 <action function="page">partsdcardaction</action>
2742 <actions>
2743 <action function="set">tw_back=partsdcard</action>
2744 <action function="set">tw_action=partitionsd</action>
2745 <action function="set">tw_has_action2=1</action>
2746 <action function="set">tw_action2=set</action>
2747 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2748 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2749 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002750 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <action function="page">action_page</action>
2752 </actions>
2753 </object>
2754
2755 <object type="text" color="%text_color%">
2756 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002757 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <text>Swipe to Partition</text>
2759 </object>
2760
2761 <object type="action">
2762 <touch key="home" />
2763 <action function="page">main</action>
2764 </object>
2765
2766 <object type="action">
2767 <touch key="back" />
2768 <action function="page">advanced</action>
2769 </object>
2770
2771 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 </page>
2773
2774 <page name="htcdumlock">
2775 <object type="template" name="header" />
2776
2777 <object type="text" color="%text_color%">
2778 <font resource="font" />
2779 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2780 <text>HTC Dumlock</text>
2781 </object>
2782
2783 <object type="button">
2784 <condition var1="tw_show_dumlock" var2="1" />
2785 <placement x="%col1_x%" y="%row1_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>Restore Original Boot</text>
2788 <image resource="main_button" />
2789 <actions>
2790 <action function="set">tw_back=htcdumlock</action>
2791 <action function="set">tw_action=htcdumlockrestoreboot</action>
2792 <action function="set">tw_text1=Restore original boot image?</action>
2793 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2794 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2795 <action function="set">tw_slider_text=Swipe to Confirm</action>
2796 <action function="page">confirm_action</action>
2797 </actions>
2798 </object>
2799
2800 <object type="button">
2801 <condition var1="tw_show_dumlock" var2="1" />
2802 <placement x="%col2_x%" y="%row1_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text>Reflash Recovery</text>
2805 <image resource="main_button" />
2806 <actions>
2807 <action function="set">tw_back=htcdumlock</action>
2808 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2809 <action function="set">tw_text1=Reflash recovery to boot?</action>
2810 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2811 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2812 <action function="set">tw_slider_text=Swipe to Confirm</action>
2813 <action function="page">confirm_action</action>
2814 </actions>
2815 </object>
2816
2817 <object type="button">
2818 <condition var1="tw_show_dumlock" var2="1" />
2819 <placement x="%col1_x%" y="%row2_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text>Install HTC Dumlock</text>
2822 <image resource="main_button" />
2823 <actions>
2824 <action function="set">tw_back=htcdumlock</action>
2825 <action function="set">tw_action=installhtcdumlock</action>
2826 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2827 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2828 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2829 <action function="set">tw_slider_text=Swipe to Confirm</action>
2830 <action function="page">confirm_action</action>
2831 </actions>
2832 </object>
2833
2834 <object type="action">
2835 <touch key="home" />
2836 <action function="page">main</action>
2837 </object>
2838
2839 <object type="action">
2840 <touch key="back" />
2841 <action function="page">advanced</action>
2842 </object>
2843
2844 <object type="template" name="footer" />
2845 </page>
2846
2847 <page name="lock">
2848 <background color="#000000A0" />
2849
2850 <object type="image">
2851 <image resource="unlock-icon" />
2852 <placement x="%lock_x%" y="%lock_y%" />
2853 </object>
2854
2855 <object type="slider">
2856 <placement x="%slider_x%" y="%slider_y%" />
2857 <resource base="slider" used="slider-used" touch="slider-touch" />
2858 <action function="overlay"></action>
2859 </object>
2860
2861 <object type="text" color="%text_color%">
2862 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002863 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002864 <text>Swipe to Unlock</text>
2865 </object>
2866 </page>
2867
2868 <page name="filemanagerlist">
2869 <object type="template" name="header" />
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2874 <text>File Manager: Select a File or Folder</text>
2875 </object>
2876
2877 <object type="fileselector">
2878 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2879 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2880 <text>%tw_file_location1%</text>
2881 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2882 <sort name="tw_gui_sort_order" />
2883 <icon folder="folder_icon" file="file_icon" />
2884 <background color="%fileselector_background%" />
2885 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2886 <folders="1" files="1" />
2887 <path name="tw_file_location1" default="/" />
2888 <data name="tw_filename1" />
2889 <selection name="tw_selection1" />
2890 </object>
2891
2892 <object type="template" name="sort_options" />
2893
2894 <object type="action">
2895 <actions>
2896 <action function="set">tw_fm_type=File</action>
2897 <action function="set">tw_fm_isfolder=0</action>
2898 </actions>
2899 </object>
2900
2901 <object type="action">
2902 <touch key="home" />
2903 <action function="page">main</action>
2904 </object>
2905
2906 <object type="action">
2907 <touch key="back" />
2908 <action function="page">advanced</action>
2909 </object>
2910
2911 <object type="action">
2912 <condition var1="tw_filename1" op="modified" />
2913 <actions>
2914 <action function="page">filemanageroptions</action>
2915 </actions>
2916 </object>
2917
2918 <object type="button">
2919 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2920 <font resource="font" color="%button_text_color%" />
2921 <text>Select</text>
2922 <image resource="medium_button" />
2923 <actions>
2924 <action function="set">tw_filename1=tw_file_location1</action>
2925 <action function="set">tw_fm_isfolder=1</action>
2926 <action function="set">tw_fm_type=Folder</action>
2927 <action function="page">filemanageroptions</action>
2928 </actions>
2929 </object>
2930
2931 <object type="template" name="footer" />
2932 </page>
2933
2934 <page name="filemanageroptions">
2935 <object type="template" name="header" />
2936
2937 <object type="text" color="%text_color%">
2938 <font resource="font" />
2939 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2940 <text>%tw_fm_type% Selected:</text>
2941 </object>
2942
2943 <object type="text" color="%text_color%">
2944 <font resource="font" />
2945 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2946 <text>%tw_filename1%</text>
2947 </object>
2948
2949 <object type="button">
2950 <condition var1="tw_fm_isfolder" var2="0" />
2951 <placement x="%col1_x%" y="%row2_y%" />
2952 <font resource="font" color="%button_text_color%" />
2953 <text>Copy File</text>
2954 <image resource="main_button" />
2955 <actions>
2956 <action function="set">tw_filemanager_command=cp</action>
2957 <action function="set">tw_fm_text1=Copying</action>
2958 <action function="page">choosedestinationfolder</action>
2959 </actions>
2960 </object>
2961
2962 <object type="button">
2963 <condition var1="tw_fm_isfolder" var2="1" />
2964 <placement x="%col1_x%" y="%row2_y%" />
2965 <font resource="font" color="%button_text_color%" />
2966 <text>Copy Folder</text>
2967 <image resource="main_button" />
2968 <actions>
2969 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2970 <action function="set">tw_fm_text1=Copying</action>
2971 <action function="page">choosedestinationfolder</action>
2972 </actions>
2973 </object>
2974
2975 <object type="button">
2976 <placement x="%col2_x%" y="%row2_y%" />
2977 <font resource="font" color="%button_text_color%" />
2978 <text>Move</text>
2979 <image resource="main_button" />
2980 <actions>
2981 <action function="set">tw_filemanager_command=mv</action>
2982 <action function="set">tw_fm_text1=Moving</action>
2983 <action function="page">choosedestinationfolder</action>
2984 </actions>
2985 </object>
2986
2987 <object type="button">
2988 <placement x="%col1_x%" y="%row3_y%" />
2989 <font resource="font" color="%button_text_color%" />
2990 <text>chmod 755</text>
2991 <image resource="main_button" />
2992 <actions>
2993 <action function="set">tw_filemanager_command=chmod 755</action>
2994 <action function="set">tw_fm_text1=chmod 755</action>
2995 <action function="set">tw_fm_text2=</action>
2996 <action function="set">tw_fm_text3=</action>
2997 <action function="set">tw_include_text3=0</action>
2998 <action function="set">tw_back=filemanageroptions</action>
2999 <action function="page">filemanagerconfirm</action>
3000 </actions>
3001 </object>
3002
3003 <object type="button">
3004 <placement x="%col2_x%" y="%row3_y%" />
3005 <font resource="font" color="%button_text_color%" />
3006 <text>chmod</text>
3007 <image resource="main_button" />
3008 <actions>
3009 <action function="set">tw_filemanager_rename=0000</action>
3010 <action function="set">tw_fm_text2=</action>
3011 <action function="set">tw_fm_text3=</action>
3012 <action function="set">tw_include_text3=0</action>
3013 <action function="set">tw_back=filemanageroptions</action>
3014 <action function="page">filemanagerchmod</action>
3015 </actions>
3016 </object>
3017
3018 <object type="button">
3019 <placement x="%col1_x%" y="%row4_y%" />
3020 <font resource="font" color="%button_text_color%" />
3021 <text>Delete</text>
3022 <image resource="main_button" />
3023 <actions>
3024 <action function="set">tw_filemanager_command=rm -rf</action>
3025 <action function="set">tw_fm_text1=Deleting</action>
3026 <action function="set">tw_fm_text2=</action>
3027 <action function="set">tw_fm_text3=</action>
3028 <action function="set">tw_include_text3=0</action>
3029 <action function="set">tw_back=filemanageroptions</action>
3030 <action function="page">filemanagerconfirm</action>
3031 </actions>
3032 </object>
3033
3034 <object type="button">
3035 <condition var1="tw_fm_isfolder" var2="0" />
3036 <placement x="%col2_x%" y="%row4_y%" />
3037 <font resource="font" color="%button_text_color%" />
3038 <text>Rename File</text>
3039 <image resource="main_button" />
3040 <actions>
3041 <action function="set">tw_filemanager_rename=tw_selection1</action>
3042 <action function="set">tw_fm_text1=Renaming</action>
3043 <action function="set">tw_filemanager_command=mv</action>
3044 <action function="page">filemanagerrenamefile</action>
3045 </actions>
3046 </object>
3047
3048 <object type="button">
3049 <condition var1="tw_fm_isfolder" var2="1" />
3050 <placement x="%col2_x%" y="%row4_y%" />
3051 <font resource="font" color="%button_text_color%" />
3052 <text>Rename Folder</text>
3053 <image resource="main_button" />
3054 <actions>
3055 <action function="set">tw_filemanager_rename=tw_selection1</action>
3056 <action function="set">tw_fm_text1=Renaming</action>
3057 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3058 <action function="page">filemanagerrenamefolder</action>
3059 </actions>
3060 </object>
3061
3062 <object type="action">
3063 <touch key="home" />
3064 <action function="page">main</action>
3065 </object>
3066
3067 <object type="action">
3068 <touch key="back" />
3069 <action function="page">filemanagerlist</action>
3070 </object>
3071
3072 <object type="template" name="footer" />
3073 </page>
3074
3075 <page name="choosedestinationfolder">
3076 <object type="template" name="header" />
3077
3078 <object type="text" color="%text_color%">
3079 <font resource="font" />
3080 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3081 <text>Browse to Destination Folder & Press Select</text>
3082 </object>
3083
3084 <object type="fileselector">
3085 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3086 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3087 <text>%tw_file_location2%</text>
3088 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3089 <sort name="tw_gui_sort_order" />
3090 <icon folder="folder_icon" file="file_icon" />
3091 <background color="%fileselector_background%" />
3092 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3093 <filter folders="1" files="0" />
3094 <path name="tw_file_location2" default="/" />
3095 <data name="tw_filename2" />
3096 <selection name="tw_selection2" />
3097 </object>
3098
3099 <object type="template" name="sort_options" />
3100
3101 <object type="action">
3102 <touch key="home" />
3103 <action function="page">main</action>
3104 </object>
3105
3106 <object type="action">
3107 <touch key="back" />
3108 <action function="page">filemanageroptions</action>
3109 </object>
3110
3111 <object type="button">
3112 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3113 <font resource="font" color="%button_text_color%" />
3114 <text>Select</text>
3115 <image resource="medium_button" />
3116 <actions>
3117 <action function="set">tw_fm_text2=to</action>
3118 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3119 <action function="set">tw_include_text3=1</action>
3120 <action function="set">tw_back=filemanageroptions</action>
3121 <action function="page">filemanagerconfirm</action>
3122 </actions>
3123 </object>
3124
3125 <object type="template" name="footer" />
3126 </page>
3127
3128 <page name="filemanagerrenamefile">
3129 <object type="template" name="header" />
3130
3131 <object type="text" color="%text_color%">
3132 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3133 <font resource="font" />
3134 <text>Please Enter a New %tw_fm_type% Name</text>
3135 </object>
3136
3137 <object type="input">
3138 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3139 <background color="%input_background_color%" />
3140 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3141 <font resource="font" color="%text_color%" />
3142 <text>%tw_filemanager_rename%</text>
3143 <data name="tw_filemanager_rename" />
3144 <restrict minlen="1" maxlen="128" />
3145 <actions>
3146 <action function="set">tw_fm_text2=to</action>
3147 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3148 <action function="set">tw_include_text3=1</action>
3149 <action function="set">tw_back=filemanageroptions</action>
3150 <action function="page">filemanagerconfirm</action>
3151 </actions>
3152 </object>
3153
3154 <object type="button">
3155 <placement x="%col_center_x%" y="%row2_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Cancel</text>
3158 <image resource="main_button" />
3159 <action function="page">filemanageroptions</action>
3160 </object>
3161
3162 <object type="template" name="keyboardtemplate" />
3163
3164 <object type="action">
3165 <touch key="home" />
3166 <action function="page">main</action>
3167 </object>
3168
3169 <object type="action">
3170 <touch key="back" />
3171 <action function="page">filemanageroptions</action>
3172 </object>
3173
3174 <object type="template" name="footer" />
3175 </page>
3176
3177 <page name="filemanagerrenamefolder">
3178 <object type="template" name="header" />
3179
3180 <object type="text" color="%text_color%">
3181 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3182 <font resource="font" />
3183 <text>Please Enter a New %tw_fm_type% Name</text>
3184 </object>
3185
3186 <object type="input">
3187 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3188 <background color="%input_background_color%" />
3189 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3190 <font resource="font" color="%text_color%" />
3191 <text>%tw_filemanager_rename%</text>
3192 <data name="tw_filemanager_rename" />
3193 <restrict minlen="1" maxlen="128" />
3194 <actions>
3195 <action function="set">tw_fm_text2=to</action>
3196 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3197 <action function="set">tw_include_text3=1</action>
3198 <action function="set">tw_back=filemanageroptions</action>
3199 <action function="page">filemanagerconfirm</action>
3200 </actions>
3201 </object>
3202
3203 <object type="button">
3204 <placement x="%col_center_x%" y="%row2_y%" />
3205 <font resource="font" color="%button_text_color%" />
3206 <text>Cancel</text>
3207 <image resource="main_button" />
3208 <action function="page">filemanageroptions</action>
3209 </object>
3210
3211 <object type="template" name="keyboardtemplate" />
3212
3213 <object type="action">
3214 <touch key="home" />
3215 <action function="page">main</action>
3216 </object>
3217
3218 <object type="action">
3219 <touch key="back" />
3220 <action function="page">filemanageroptions</action>
3221 </object>
3222
3223 <object type="template" name="footer" />
3224 </page>
3225
3226 <page name="filemanagerchmod">
3227 <object type="template" name="header" />
3228
3229 <object type="text" color="%text_color%">
3230 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3231 <font resource="font" />
3232 <text>Please Enter New Permissions</text>
3233 </object>
3234
3235 <object type="input">
3236 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3237 <background color="%input_background_color%" />
3238 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3239 <font resource="font" color="%text_color%" />
3240 <text>%tw_filemanager_rename%</text>
3241 <data name="tw_filemanager_rename" />
3242 <restrict minlen="3" maxlen="4" allow="0123456789" />
3243 <actions>
3244 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3245 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3246 <action function="set">tw_back=filemanageroptions</action>
3247 <action function="page">filemanagerconfirm</action>
3248 </actions>
3249 </object>
3250
3251 <object type="button">
3252 <placement x="%col_center_x%" y="%row2_y%" />
3253 <font resource="font" color="%button_text_color%" />
3254 <text>Cancel</text>
3255 <image resource="main_button" />
3256 <action function="page">filemanageroptions</action>
3257 </object>
3258
3259 <object type="template" name="keyboardtemplate" />
3260
3261 <object type="action">
3262 <touch key="home" />
3263 <action function="page">main</action>
3264 </object>
3265
3266 <object type="action">
3267 <touch key="back" />
3268 <action function="page">filemanageroptions</action>
3269 </object>
3270
3271 <object type="template" name="footer" />
3272 </page>
3273
3274 <page name="filemanagerconfirm">
3275 <object type="template" name="header" />
3276
3277 <object type="text" color="%text_color%">
3278 <font resource="font" />
3279 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3280 <text>%tw_fm_text1%</text>
3281 </object>
3282
3283 <object type="text" color="%text_color%">
3284 <font resource="font" />
3285 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3286 <text>%tw_filename1%</text>
3287 </object>
3288
3289 <object type="text" color="%text_color%">
3290 <font resource="font" />
3291 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3292 <text>%tw_fm_text2%</text>
3293 </object>
3294
3295 <object type="text" color="%text_color%">
3296 <font resource="font" />
3297 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3298 <text>%tw_fm_text3%</text>
3299 </object>
3300
3301 <object type="text" color="%text_color%">
3302 <font resource="font" />
3303 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3304 <text>Press back button to cancel.</text>
3305 </object>
3306
3307 <object type="slider">
3308 <placement x="%slider_x%" y="%slider_y%" />
3309 <resource base="slider" used="slider-used" touch="slider-touch" />
3310 <action function="page">filemanageracction</action>
3311 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003312
Dees_Troy51a0e822012-09-05 15:24:24 -04003313 <object type="text" color="%text_color%">
3314 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003315 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <text>Swipe to Confirm</text>
3317 </object>
3318
3319 <object type="action">
3320 <touch key="back" />
3321 <action function="page">%tw_back%</action>
3322 </object>
3323
3324 <object type="action">
3325 <touch key="home" />
3326 <action function="page">main</action>
3327 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003328
Dees_Troy51a0e822012-09-05 15:24:24 -04003329 <object type="template" name="footer" />
3330 </page>
3331
3332 <page name="filemanageracction">
3333 <object type="template" name="header" />
3334
3335 <object type="text" color="%text_color%">
3336
3337 <font resource="font" />
3338 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3339 <text>%tw_fm_text1%</text>
3340 </object>
3341
3342 <object type="template" name="action_page_console" />
3343
3344 <object type="template" name="progress_bar" />
3345
3346 <object type="action">
3347 <conditions>
3348 <condition var1="tw_operation_state" var2="1" />
3349 <condition var1="tw_operation_status" var2="0" />
3350 </conditions>
3351 <actions>
3352 <action function="set">tw_back=filemanagerlist</action>
3353 <action function="set">tw_complete_text1=File Operation Complete</action>
3354 <action function="page">action_complete</action>
3355 </actions>
3356 </object>
3357
3358 <object type="action">
3359 <conditions>
3360 <condition var1="tw_operation_state" var2="1" />
3361 <condition var1="tw_operation_status" op="!=" var2="0" />
3362 </conditions>
3363 <actions>
3364 <action function="set">tw_complete_text1=File Operation Complete</action>
3365 <action function="page">action_complete</action>
3366 </actions>
3367 </object>
3368
3369 <object type="action">
3370 <condition var1="tw_include_text3" var2="0" />
3371 <actions>
3372 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3373 </actions>
3374 </object>
3375
3376 <object type="action">
3377 <condition var1="tw_include_text3" var2="1" />
3378 <actions>
3379 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3380 </actions>
3381 </object>
3382 </page>
3383
3384 <page name="decrypt">
3385 <object type="template" name="header" />
3386
3387 <object type="text" color="%text_color%">
3388 <font resource="font" />
3389 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3390 <text>Please Enter Your Password</text>
3391 </object>
3392
3393 <object type="input">
3394 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3395 <background color="%input_background_color%" />
3396 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3397 <font resource="font" color="%text_color%" />
3398 <text>%tw_crypto_display%</text>
3399 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3400 <restrict minlen="1" maxlen="254" />
3401 <actions>
3402 <action function="page">trydecrypt</action>
3403 </actions>
3404 </object>
3405
3406 <object type="text" color="%text_fail_color%">
3407 <condition var1="tw_password_fail" var2="1" />
3408 <font resource="font" />
3409 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3410 <text>Password Failed, Please Try Again</text>
3411 </object>
3412
3413 <object type="button">
3414 <placement x="%col_center_x%" y="%row2_y%" />
3415 <font resource="font" color="%button_text_color%" />
3416 <text>Cancel</text>
3417 <image resource="main_button" />
3418 <actions>
3419 <action function="page">main</action>
3420 </actions>
3421 </object>
3422
3423 <object type="template" name="keyboardtemplate" />
3424
3425 <object type="action">
3426 <touch key="home" />
3427 <actions>
3428 <action function="page">main</action>
3429 </actions>
3430 </object>
3431
3432 <object type="action">
3433 <touch key="back" />
3434 <actions>
3435 <action function="page">main</action>
3436 </actions>
3437 </object>
3438
3439 <object type="template" name="footer" />
3440 </page>
3441
3442 <page name="trydecrypt">
3443 <object type="template" name="header" />
3444
3445 <object type="text" color="%text_color%">
3446 <font resource="font" />
3447 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3448 <text>Trying Decryption with Your Password</text>
3449 </object>
3450
3451 <object type="template" name="action_page_console" />
3452
3453 <object type="template" name="progress_bar" />
3454
3455 <object type="action">
3456 <action function="decrypt"></action>
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>
3464 <actions>
3465 <action function="set">tw_password_fail=1</action>
3466 <action function="page">decrypt</action>
3467 </actions>
3468 </object>
3469
3470 <object type="action">
3471 <conditions>
3472 <condition var1="tw_operation_state" var2="1" />
3473 <condition var1="tw_operation_status" op="=" var2="0" />
3474 </conditions>
3475 <action function="page">main</action>
3476 </object>
3477 </page>
3478
3479 <page name="terminalfolder">
3480 <object type="template" name="header" />
3481
3482 <object type="text" color="%text_color%">
3483 <font resource="font" />
3484 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3485 <text>Browse to Starting Folder</text>
3486 </object>
3487
3488 <object type="fileselector">
3489 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3490 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3491 <text>%tw_terminal_location%</text>
3492 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3493 <sort name="tw_gui_sort_order" />
3494 <icon folder="folder_icon" file="file_icon" />
3495 <background color="%fileselector_background%" />
3496 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3497 <filter folders="1" files="0" />
3498 <path name="tw_terminal_location" default="/" />
3499 <data name="tw_terminal" />
3500 <selection name="tw_terminal_selection" />
3501 </object>
3502
3503 <object type="template" name="sort_options" />
3504
3505 <object type="action">
3506 <touch key="home" />
3507 <action function="page">main</action>
3508 </object>
3509
3510 <object type="action">
3511 <touch key="back" />
3512 <action function="page">advanced</action>
3513 </object>
3514
3515 <object type="button">
3516 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3517 <font resource="font" color="%button_text_color%" />
3518 <text>Select</text>
3519 <image resource="medium_button" />
3520 <actions>
3521 <action function="page">terminalcommand</action>
3522 </actions>
3523 </object>
3524
3525 <object type="template" name="footer" />
3526 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003527
Dees_Troy51a0e822012-09-05 15:24:24 -04003528 <page name="terminalcommand">
3529 <object type="template" name="header" />
3530
3531 <object type="console">
3532 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3533 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3534 <font resource="fixed" />
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3539 <font resource="font" />
3540 <text>Starting Path: %tw_terminal_location%</text>
3541 </object>
3542
3543 <object type="input">
3544 <condition var1="tw_terminal_state" var2="0" />
3545 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3546 <background color="%input_background_color%" />
3547 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3548 <font resource="font" color="%text_color%" />
3549 <text>%tw_terminal_command%</text>
3550 <data name="tw_terminal_command" />
3551 <restrict minlen="1" />
3552 <action function="terminalcommand">%tw_terminal_command%</action>
3553 </object>
3554
3555 <object type="button">
3556 <condition var1="tw_terminal_state" var2="1" />
3557 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3558 <font resource="font" color="%button_text_color%" />
3559 <text>KILL</text>
3560 <image resource="medium_button" />
3561 <action function="killterminal"></action>
3562 </object>
3563
3564 <object type="template" name="keyboardtemplate" />
3565
3566 <object type="action">
3567 <touch key="home" />
3568 <action function="page">main</action>
3569 </object>
3570
3571 <object type="action">
3572 <touch key="back" />
3573 <action function="page">terminalfolder</action>
3574 </object>
3575 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003576 </pages>
3577</recovery>