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