blob: dade88206b4797dca792d32f1ac104420915623c [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">
1170 <condition var1="tw_has_sdext_partition" var2="1" />
1171 <placement x="%col2_x%" y="%row4_y%" />
1172 <font resource="font" color="%button_text_color%" />
1173 <text>SD Ext</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=/sd-ext</action>
1179 <action function="set">tw_text1=Wipe SD-Ext?</action>
1180 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1181 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1182 <action function="set">tw_slider_text=Swipe to Wipe</action>
1183 <action function="page">confirm_action</action>
1184 </actions>
1185 </object>
1186
1187 <object type="action">
1188 <touch key="home" />
1189 <action function="page">main</action>
1190 </object>
1191
1192 <object type="action">
1193 <touch key="back" />
1194 <action function="page">main</action>
1195 </object>
1196
1197 <object type="template" name="footer" />
1198 </page>
1199
1200 <page name="backup">
1201 <object type="template" name="header" />
1202
1203 <object type="text" color="%text_color%">
1204 <font resource="font" />
1205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1206 <text>Backup Name: %tw_backup_name%</text>
1207 </object>
1208
1209 <object type="text" color="%text_color%">
1210 <placement x="%col1_x%" y="%row1_text_y%" />
1211 <font resource="font" />
1212 <text>Backup Device</text>
1213 </object>
1214
1215 <object type="slider">
1216 <placement x="%slider_x%" y="slider_y" />
1217 <resource base="slider" used="slider-used" touch="slider-touch" />
1218 <action function="page">backup_run</action>
1219 </object>
1220
1221 <object type="text" color="%text_color%">
1222 <font resource="font" />
1223 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1224 <text>Swipe to Back Up</text>
1225 </object>
1226
1227 <object type="button">
1228 <placement x="%col2_x%" y="%row1_y%" />
1229 <font resource="font" color="%button_text_color%" />
1230 <text>Refresh Sizes</text>
1231 <image resource="main_button" />
1232 <action function="refreshsizes"></action>
1233 </object>
1234
1235 <object type="button">
1236 <placement x="%col2_x%" y="%backup_name_y%" />
1237 <font resource="font" color="%button_text_color%" />
1238 <text>Set Backup Name</text>
1239 <image resource="main_button" />
1240 <actions>
1241 <action function="set">tw_fileexists=0</action>
1242 <action function="page">backupname1</action>
1243 </actions>
1244 </object>
1245
1246 <object type="checkbox">
1247 <placement x="%col1_x%" y="%row2_text_y%" />
1248 <font resource="font" color="%text_color%" />
1249 <text>System (%tw_backup_system_size% MB)</text>
1250 <data variable="tw_backup_system" />
1251 <image checked="checkbox_true" unchecked="checkbox_false" />
1252 </object>
1253
1254 <object type="checkbox">
1255 <placement x="%col1_x%" y="%row3_text_y%" />
1256 <font resource="font" color="%text_color%" />
1257 <text>Data (%tw_backup_data_size% MB)</text>
1258 <data variable="tw_backup_data" />
1259 <image checked="checkbox_true" unchecked="checkbox_false" />
1260 </object>
1261
1262 <object type="checkbox">
1263 <condition var1="tw_has_boot_partition" var2="1" />
1264 <placement x="%col1_x%" y="%row4_text_y%" />
1265 <font resource="font" color="%text_color%" />
1266 <text>Boot (%tw_backup_boot_size% MB)</text>
1267 <data variable="tw_backup_boot" />
1268 <image checked="checkbox_true" unchecked="checkbox_false" />
1269 </object>
1270
1271 <object type="checkbox">
1272 <condition var1="tw_has_recovery_partition" var2="1" />
1273 <placement x="%col1_x%" y="%row5_text_y%" />
1274 <font resource="font" color="%text_color%" />
1275 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1276 <data variable="tw_backup_recovery" />
1277 <image checked="checkbox_true" unchecked="checkbox_false" />
1278 </object>
1279
1280 <object type="checkbox">
1281 <placement x="%col1_x%" y="%row6_text_y%" />
1282 <font resource="font" color="%text_color%" />
1283 <text>Cache (%tw_backup_cache_size% MB)</text>
1284 <data variable="tw_backup_cache" />
1285 <image checked="checkbox_true" unchecked="checkbox_false" />
1286 </object>
1287
1288 <object type="checkbox">
1289 <condition var1="tw_has_android_secure" var2="1" />
1290 <placement x="%col1_x%" y="%row7_text_y%" />
1291 <font resource="font" color="%text_color%" />
1292 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1293 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1294 <data variable="tw_backup_andsec" />
1295 <image checked="checkbox_true" unchecked="checkbox_false" />
1296 </object>
1297
1298 <object type="checkbox">
1299 <condition var1="tw_has_sdext_partition" var2="1" />
1300 <placement x="%col1_x%" y="%row8_text_y%" />
1301 <font resource="font" color="%text_color%" />
1302 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1303 <condition var1="fileexists" var2="/sd-ext" />
1304 <data variable="tw_backup_sdext" />
1305 <image checked="checkbox_true" unchecked="checkbox_false" />
1306 </object>
1307
1308 <object type="checkbox">
1309 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001310 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001311 <font resource="font" color="%text_color%" />
1312 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1313 <data variable="tw_backup_sp1" />
1314 <image checked="checkbox_true" unchecked="checkbox_false" />
1315 </object>
1316
1317 <object type="checkbox">
1318 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001319 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001320 <font resource="font" color="%text_color%" />
1321 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1322 <data variable="tw_backup_sp2" />
1323 <image checked="checkbox_true" unchecked="checkbox_false" />
1324 </object>
1325
1326 <object type="checkbox">
1327 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001328 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001329 <font resource="font" color="%text_color%" />
1330 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1331 <data variable="tw_backup_sp3" />
1332 <image checked="checkbox_true" unchecked="checkbox_false" />
1333 </object>
1334
1335 <object type="text" color="%text_color%">
1336 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001337 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 <text>Free Space: %tw_storage_free_size% MB</text>
1339 </object>
1340
1341 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001342 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001343 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001344 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001345 <data variable="tw_use_compression" />
1346 <image checked="checkbox_true" unchecked="checkbox_false" />
1347 </object>
1348
1349 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001350 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001351 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001352 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001353 <data variable="tw_skip_md5_generate" />
1354 <image checked="checkbox_true" unchecked="checkbox_false" />
1355 </object>
1356
1357 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001358 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001359 <font resource="font" color="%text_color%" />
1360 <conditions>
1361 <condition var1="tw_has_dual_storage" var2="1" />
1362 <condition var1="tw_use_external_storage" var2="1" />
1363 </conditions>
1364 <text>Use external SD</text>
1365 <image resource="radio_true" />
1366 <action function="togglestorage">external</action>
1367 </object>
1368
1369 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001370 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001371 <font resource="font" color="%text_color%" />
1372 <conditions>
1373 <condition var1="tw_has_dual_storage" var2="1" />
1374 <condition var1="tw_use_external_storage" var2="0" />
1375 </conditions>
1376 <text>Use external SD</text>
1377 <image resource="radio_false" />
1378 <action function="togglestorage">external</action>
1379 </object>
1380
1381 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001382 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001383 <font resource="font" color="%text_color%" />
1384 <conditions>
1385 <condition var1="tw_has_dual_storage" var2="1" />
1386 <condition var1="tw_use_external_storage" var2="1" />
1387 </conditions>
1388 <text>Use internal storage</text>
1389 <image resource="radio_false" />
1390 <action function="togglestorage">internal</action>
1391 </object>
1392
1393 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001394 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001395 <font resource="font" color="%text_color%" />
1396 <conditions>
1397 <condition var1="tw_has_dual_storage" var2="1" />
1398 <condition var1="tw_use_external_storage" var2="0" />
1399 </conditions>
1400 <text>Use internal storage</text>
1401 <image resource="radio_true" />
1402 <action function="togglestorage">internal</action>
1403 </object>
1404
1405 <object type="action">
1406 <touch key="home" />
1407 <action function="page">main</action>
1408 </object>
1409
1410 <object type="action">
1411 <touch key="back" />
1412 <action function="page">main</action>
1413 </object>
1414
1415 <object type="template" name="footer" />
1416 </page>
1417
1418 <page name="backupname1">
1419 <object type="action">
1420 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1421 <action function="set">tw_backup_name=</function>
1422 </object>
1423
1424 <object type="action">
1425 <action function="page">backupname2</function>
1426 </object>
1427 </page>
1428
1429 <page name="backupname2">
1430 <object type="template" name="header" />
1431
1432 <object type="text" color="%text_color%">
1433 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1434 <font resource="font" />
1435 <text>Please Enter a Backup Name</text>
1436 </object>
1437
1438 <object type="input">
1439 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1440 <background color="%input_background_color%" />
1441 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1442 <font resource="font" color="%text_color%" />
1443 <text>%tw_backup_name%</text>
1444 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001445 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 <actions>
1447 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1448 <action function="set">tw_existpage=backupname2</action>
1449 <action function="set">tw_notexistpage=backup</action>
1450 <action function="page">filecheck</action>
1451 </actions>
1452 </object>
1453
1454 <object type="text" color="%text_fail_color%">
1455 <condition var1="tw_fileexists" var2="1" />
1456 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1457 <font resource="font" />
1458 <text>A backup with that name already exists!</text>
1459 </object>
1460
1461 <object type="button">
1462 <placement x="%col_center_x%" y="%row2_y%" />
1463 <font resource="font" color="%button_text_color%" />
1464 <text>Cancel</text>
1465 <image resource="main_button" />
1466 <actions>
1467 <action function="set">tw_backup_name=(Current Date)</action>
1468 <action function="page">backup</action>
1469 </actions>
1470 </object>
1471
1472 <object type="template" name="keyboardtemplate" />
1473
1474 <object type="action">
1475 <touch key="home" />
1476 <actions>
1477 <action function="set">tw_backup_name=(Current Date)</action>
1478 <action function="page">main</action>
1479 </actions>
1480 </object>
1481
1482 <object type="action">
1483 <touch key="back" />
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="footer" />
1491 </page>
1492
1493 <page name="backup_run">
1494 <object type="template" name="header" />
1495
1496 <object type="text" color="%text_color%">
1497 <font resource="font" />
1498 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1499 <text>%tw_operation% %tw_partition%</text>
1500 </object>
1501
1502 <object type="template" name="action_page_console" />
1503
1504 <object type="template" name="progress_bar" />
1505
1506 <object type="action">
1507 <action function="nandroid">backup</action>
1508 </object>
1509
1510 <object type="action">
1511 <condition var1="tw_operation_state" var2="1" />
1512 <actions>
1513 <action function="set">tw_back=backup</action>
1514 <action function="set">tw_complete_text1=Backup Complete</action>
1515 <action function="page">action_complete</action>
1516 </actions>
1517 </object>
1518 </page>
1519
1520 <page name="restore">
1521 <object type="template" name="header" />
1522
1523 <object type="button">
1524 <placement x="%col1_x%" y="%row1_header_y%" />
1525 <font resource="font" color="%text_color%" />
1526 <conditions>
1527 <condition var1="tw_has_dual_storage" var2="1" />
1528 <condition var1="tw_use_external_storage" var2="1" />
1529 </conditions>
1530 <text>Use external SD</text>
1531 <image resource="radio_true" />
1532 <action function="togglestorage">external</action>
1533 </object>
1534
1535 <object type="button">
1536 <placement x="%col1_x%" y="%row1_header_y%" />
1537 <font resource="font" color="%text_color%" />
1538 <conditions>
1539 <condition var1="tw_has_dual_storage" var2="1" />
1540 <condition var1="tw_use_external_storage" var2="0" />
1541 </conditions>
1542 <text>Use external SD</text>
1543 <image resource="radio_false" />
1544 <action function="togglestorage">external</action>
1545 </object>
1546
1547 <object type="button">
1548 <placement x="%col2_x%" y="%row1_header_y%" />
1549 <font resource="font" color="%text_color%" />
1550 <conditions>
1551 <condition var1="tw_has_dual_storage" var2="1" />
1552 <condition var1="tw_use_external_storage" var2="1" />
1553 </conditions>
1554 <text>Use internal storage</text>
1555 <image resource="radio_false" />
1556 <action function="togglestorage">internal</action>
1557 </object>
1558
1559 <object type="button">
1560 <placement x="%col2_x%" y="%row1_header_y%" />
1561 <font resource="font" color="%text_color%" />
1562 <conditions>
1563 <condition var1="tw_has_dual_storage" var2="1" />
1564 <condition var1="tw_use_external_storage" var2="0" />
1565 </conditions>
1566 <text>Use internal storage</text>
1567 <image resource="radio_true" />
1568 <action function="togglestorage">internal</action>
1569 </object>
1570
1571 <object type="fileselector">
1572 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1573 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1574 <text>Select Package to Restore:</text>
1575 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1576 <sort name="tw_gui_sort_order" />
1577 <icon folder="folder_icon" file="file_icon" />
1578 <background color="%fileselector_background%" />
1579 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1580 <filter folders="1" files="0" nav="0" />
1581 <path name="tw_backups_folder" />
1582 <data name="tw_restore" default="" />
1583 <selection name="tw_restore_name" />
1584 </object>
1585
1586 <object type="template" name="sort_options" />
1587
1588 <object type="action">
1589 <condition var1="tw_restore" op="modified" />
1590 <actions>
1591 <action function="readBackup"></action>
1592 <action function="page">restore_select</action>
1593 </actions>
1594 </object>
1595
1596 <object type="action">
1597 <touch key="home" />
1598 <action function="page">main</action>
1599 </object>
1600
1601 <object type="action">
1602 <touch key="back" />
1603 <action function="page">main</action>
1604 </object>
1605
1606 <object type="template" name="footer" />
1607 </page>
1608
1609 <page name="restore_select">
1610 <object type="template" name="header" />
1611
1612 <object type="text">
1613 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1614 <font resource="font" color="%text_color%" />
1615 <text>Restoring: %tw_restore_name%</text>
1616 </object>
1617
1618 <object type="button">
1619 <placement x="%col2_x%" y="%row1_y%" />
1620 <font resource="font" color="%button_text_color%" />
1621 <text>Rename Backup</text>
1622 <image resource="main_button" />
1623 <actions>
1624 <action function="set">tw_backup_rename=</action>
1625 <action function="set">tw_fileexists=0</action>
1626 <action function="page">renamebackup</action>
1627 </actions>
1628 </object>
1629
1630 <object type="button">
1631 <placement x="%col2_x%" y="%row2_y%" />
1632 <font resource="font" color="%button_text_color%" />
1633 <text>Delete Backup</text>
1634 <image resource="main_button" />
1635 <actions>
1636 <action function="set">tw_back=restore</action>
1637 <action function="set">tw_action=cmd</action>
1638 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action>
1639 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1640 <action function="set">tw_text2=This cannot be undone!</action>
1641 <action function="set">tw_action_text1=Deleting Backup...</action>
1642 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1643 <action function="set">tw_slider_text=Swipe to Delete</action>
1644 <action function="page">confirm_action</action>
1645 </actions>
1646 </object>
1647
1648 <object type="slider">
1649 <placement x="%slider_x%" y="%slider_y%" />
1650 <resource base="slider" used="slider-used" touch="slider-touch" />
1651 <action function="page">restore_run</action>
1652 </object>
1653
1654 <object type="text" color="%text_color%">
1655 <font resource="font" />
1656 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1657 <text>Swipe to Restore</text>
1658 </object>
1659
1660 <object type="checkbox">
1661 <placement x="%col1_x%" y="%row2_text_y%" />
1662 <font resource="font" color="%text_color%" />
1663 <text>System</text>
1664 <condition var1="tw_restore_system" op=">=" var2="0" />
1665 <data variable="tw_restore_system" />
1666 <image checked="checkbox_true" unchecked="checkbox_false" />
1667 </object>
1668
1669 <object type="checkbox">
1670 <placement x="%col1_x%" y="%row3_text_y%" />
1671 <font resource="font" color="%text_color%" />
1672 <text>Data</text>
1673 <condition var1="tw_restore_data" op=">=" var2="0" />
1674 <data variable="tw_restore_data" />
1675 <image checked="checkbox_true" unchecked="checkbox_false" />
1676 </object>
1677
1678 <object type="checkbox">
1679 <placement x="%col1_x%" y="%row4_text_y%" />
1680 <font resource="font" color="%text_color%" />
1681 <text>Boot</text>
1682 <condition var1="tw_restore_boot" op=">=" var2="0" />
1683 <data variable="tw_restore_boot" />
1684 <image checked="checkbox_true" unchecked="checkbox_false" />
1685 </object>
1686
1687 <object type="checkbox">
1688 <placement x="%col1_x%" y="%row6_text_y%" />
1689 <font resource="font" color="%text_color%" />
1690 <text>Cache</text>
1691 <condition var1="tw_restore_cache" op=">=" var2="0" />
1692 <data variable="tw_restore_cache" />
1693 <image checked="checkbox_true" unchecked="checkbox_false" />
1694 </object>
1695
1696 <object type="checkbox">
1697 <placement x="%col1_x%" y="%row7_text_y%" />
1698 <font resource="font" color="%text_color%" />
1699 <text>.android_secure</text>
1700 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1701 <data variable="tw_restore_andsec" />
1702 <image checked="checkbox_true" unchecked="checkbox_false" />
1703 </object>
1704
1705 <object type="checkbox">
1706 <placement x="%col1_x%" y="%row8_text_y%" />
1707 <font resource="font" color="%text_color%" />
1708 <text>sd-ext</text>
1709 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1710 <data variable="tw_restore_sdext" />
1711 <image checked="checkbox_true" unchecked="checkbox_false" />
1712 </object>
1713
1714 <object type="checkbox">
1715 <placement x="%col1_x%" y="%row10_text_y%" />
1716 <font resource="font" color="%text_color%" />
1717 <text>%tw_sp1_name%</text>
1718 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1719 <data variable="tw_restore_sp1" />
1720 <image checked="checkbox_true" unchecked="checkbox_false" />
1721 </object>
1722
1723 <object type="checkbox">
1724 <placement x="%col1_x%" y="%row11_text_y%" />
1725 <font resource="font" color="%text_color%" />
1726 <text>%tw_sp2_name%</text>
1727 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1728 <data variable="tw_restore_sp2" />
1729 <image checked="checkbox_true" unchecked="checkbox_false" />
1730 </object>
1731
1732 <object type="checkbox">
1733 <placement x="%col1_x%" y="%row12_text_y%" />
1734 <font resource="font" color="%text_color%" />
1735 <text>%tw_sp3_name%</text>
1736 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1737 <data variable="tw_restore_sp3" />
1738 <image checked="checkbox_true" unchecked="checkbox_false" />
1739 </object>
1740
1741 <object type="checkbox">
1742 <placement x="%col1_x%" y="%row14_text_y%" />
1743 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001744 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <data variable="tw_skip_md5_check" />
1746 <image checked="checkbox_true" unchecked="checkbox_false" />
1747 </object>
1748
1749 <object type="text" color="%text_color%">
1750 <font resource="font" />
1751 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1752 <text>Package Date: %tw_restore_file_date%</text>
1753 </object>
1754
1755 <object type="action">
1756 <touch key="home" />
1757 <action function="page">main</action>
1758 </object>
1759
1760 <object type="action">
1761 <touch key="back" />
1762 <action function="page">restore</action>
1763 </object>
1764
1765 <object type="template" name="footer" />
1766 </page>
1767
1768 <page name="renamebackup">
1769 <object type="template" name="header" />
1770
1771 <object type="text" color="%text_color%">
1772 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1773 <font resource="font" />
1774 <text>Please Enter a New Backup Name</text>
1775 </object>
1776
1777 <object type="input">
1778 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1779 <background color="%input_background_color%" />
1780 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1781 <font resource="font" color="%text_color%" />
1782 <text>%tw_backup_rename%</text>
1783 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001784 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001785 <actions>
1786 <action function="set">tw_back=restore</action>
1787 <action function="set">tw_action=cmd</action>
1788 <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
1789 <action function="set">tw_text1=Rename Backup?</action>
1790 <action function="set">tw_text2=This cannot be undone!</action>
1791 <action function="set">tw_action_text1=Renaming Backup...</action>
1792 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1793 <action function="set">tw_slider_text=Swipe to Rename</action>
1794 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1795 <action function="set">tw_existpage=renamebackup</action>
1796 <action function="set">tw_notexistpage=confirm_action</action>
1797 <action function="page">filecheck</action>
1798 </actions>
1799 </object>
1800
1801 <object type="text" color="%text_fail_color%">
1802 <condition var1="tw_fileexists" var2="1" />
1803 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1804 <font resource="font" />
1805 <text>A backup with that name already exists!</text>
1806 </object>
1807
1808 <object type="button">
1809 <placement x="%col_center_x%" y="%row2_y%" />
1810 <font resource="font" color="%button_text_color%" />
1811 <text>Cancel</text>
1812 <image resource="main_button" />
1813 <action function="page">restore_select</action>
1814 </object>
1815
1816 <object type="template" name="keyboardtemplate" />
1817
1818 <object type="action">
1819 <touch key="home" />
1820 <action function="page">main</action>
1821 </object>
1822
1823 <object type="action">
1824 <touch key="back" />
1825 <action function="page">restore_select</action>
1826 </object>
1827
1828 <object type="template" name="footer" />
1829 </page>
1830
1831 <page name="restore_run">
1832 <object type="template" name="header" />
1833
1834 <object type="text" color="%text_color%">
1835 <font resource="font" />
1836 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1837 <text>%tw_operation% %tw_partition%</text>
1838 </object>
1839
1840 <object type="template" name="action_page_console" />
1841
1842 <object type="template" name="progress_bar" />
1843
1844 <object type="action">
1845 <conditions>
1846 <condition var1="tw_operation_state" var2="1" />
1847 <condition var1="tw_operation_status" var2="0" />
1848 </conditions>
1849 <actions>
1850 <action function="set">tw_back=restore_select</action>
1851 <action function="set">tw_complete_text1=Restore Complete</action>
1852 <action function="page">action_complete</action>
1853 </actions>
1854 </object>
1855
1856 <object type="action">
1857 <conditions>
1858 <condition var1="tw_operation_state" var2="1" />
1859 <condition var1="tw_operation_status" var2="1" />
1860 </conditions>
1861 <actions>
1862 <action function="set">tw_back=restore_select</action>
1863 <action function="set">tw_complete_text1=Restore Complete</action>
1864 <action function="page">action_complete</action>
1865 </actions>
1866 </object>
1867
1868 <object type="action">
1869 <action function="nandroid">restore</action>
1870 </object>
1871 </page>
1872
1873 <page name="mount">
1874 <object type="template" name="header" />
1875
1876 <object type="text" color="%text_color%">
1877 <font resource="font" />
1878 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1879 <text>Mount Menu</text>
1880 </object>
1881
1882 <object type="button">
1883 <placement x="%col1_x%" y="%row1_text_y%" />
1884 <font resource="font" color="%text_color%" />
1885 <condition var1="mounted" op="!=" var2="/system" />
1886 <text>Mount System</text>
1887 <image resource="checkbox_false" />
1888 <action function="mount">/system</action>
1889 </object>
1890
1891 <object type="button">
1892 <placement x="%col1_x%" y="%row1_text_y%" />
1893 <font resource="font" color="%text_color%" />
1894 <condition var1="mounted" op="=" var2="/system" />
1895 <text>Unmount System</text>
1896 <image resource="checkbox_true" />
1897 <action function="umount">/system</action>
1898 </object>
1899
1900 <object type="button">
1901 <placement x="%col1_x%" y="%row2_text_y%" />
1902 <font resource="font" color="%text_color%" />
1903 <condition var1="mounted" op="!=" var2="/data" />
1904 <text>Mount Data</text>
1905 <image resource="checkbox_false" />
1906 <action function="mount">/data</action>
1907 </object>
1908
1909 <object type="button">
1910 <placement x="%col1_x%" y="%row2_text_y%" />
1911 <font resource="font" color="%text_color%" />
1912 <condition var1="mounted" op="=" var2="/data" />
1913 <text>Unmount Data</text>
1914 <image resource="checkbox_true" />
1915 <action function="umount">/data</action>
1916 </object>
1917
1918 <object type="button">
1919 <placement x="%col1_x%" y="%row3_text_y%" />
1920 <font resource="font" color="%text_color%" />
1921 <condition var1="mounted" op="!=" var2="/cache" />
1922 <text>Mount Cache</text>
1923 <image resource="checkbox_false" />
1924 <action function="mount">/cache</action>
1925 </object>
1926
1927 <object type="button">
1928 <placement x="%col1_x%" y="%row3_text_y%" />
1929 <font resource="font" color="%text_color%" />
1930 <condition var1="mounted" op="=" var2="/cache" />
1931 <text>Unmount Cache</text>
1932 <image resource="checkbox_true" />
1933 <action function="umount">/cache</action>
1934 </object>
1935
1936 <object type="button">
1937 <placement x="%col1_x%" y="%row4_text_y%" />
1938 <font resource="font" color="%text_color%" />
1939 <conditions>
1940 <condition var1="tw_has_external" var2="1" />
1941 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1942 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001943 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001944 <image resource="checkbox_false" />
1945 <action function="mount">EXTERNAL</action>
1946 </object>
1947
1948 <object type="button">
1949 <placement x="%col1_x%" y="%row4_text_y%" />
1950 <font resource="font" color="%text_color%" />
1951 <conditions>
1952 <condition var1="tw_has_external" var2="1" />
1953 <condition var1="mounted" op="=" var2="EXTERNAL" />
1954 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001955 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001956 <image resource="checkbox_true" />
1957 <action function="umount">EXTERNAL</action>
1958 </object>
1959
1960 <object type="button">
1961 <placement x="%col2_x%" y="%row4_text_y%" />
1962 <font resource="font" color="%text_color%" />
1963 <conditions>
1964 <condition var1="tw_has_internal" var2="1" />
1965 <condition var1="tw_has_data_media" var2="0" />
1966 <condition var1="mounted" op="!=" var2="INTERNAL" />
1967 </conditions>
1968 <text>Mount Internal</text>
1969 <image resource="checkbox_false" />
1970 <action function="mount">INTERNAL</action>
1971 </object>
1972
1973 <object type="button">
1974 <placement x="%col2_x%" y="%row4_text_y%" />
1975 <font resource="font" color="%text_color%" />
1976 <conditions>
1977 <condition var1="tw_has_internal" var2="1" />
1978 <condition var1="tw_has_data_media" var2="0" />
1979 <condition var1="mounted" op="=" var2="INTERNAL" />
1980 </conditions>
1981 <text>Unmount Internal</text>
1982 <image resource="checkbox_true" />
1983 <action function="umount">INTERNAL</action>
1984 </object>
1985
1986 <object type="button">
1987 <conditions>
1988 <condition var1="tw_has_sdext_partition" var2="1" />
1989 <condition var1="mounted" op="!=" var2="/sd-ext" />
1990 </conditions>
1991 <placement x="%col1_x%" y="%row5_text_y%" />
1992 <font resource="font" color="%text_color%" />
1993 <text>Mount SD-Ext</text>
1994 <image resource="checkbox_false" />
1995 <action function="mount">/sd-ext</action>
1996 </object>
1997
1998 <object type="button">
1999 <placement x="%col1_x%" y="%row5_text_y%" />
2000 <font resource="font" color="%text_color%" />
2001 <condition var1="mounted" op="=" var2="/sd-ext" />
2002 <text>Unmount SD-Ext</text>
2003 <image resource="checkbox_true" />
2004 <action function="umount">/sd-ext</action>
2005 </object>
2006
2007 <object type="button">
2008 <conditions>
2009 <condition var1="tw_boot_is_mountable" var2="1" />
2010 <condition var1="mounted" op="!=" var2="/boot" />
2011 </conditions>
2012 <placement x="%col1_x%" y="%row6_text_y%" />
2013 <font resource="font" color="#A0A0A0" />
2014 <text>Mount Boot</text>
2015 <image resource="checkbox_false" />
2016 <action function="mount">/boot</action>
2017 </object>
2018
2019 <object type="button">
2020 <conditions>
2021 <condition var1="tw_boot_is_mountable" var2="1" />
2022 <condition var1="mounted" op="=" var2="/boot" />
2023 </conditions>
2024
2025 <placement x="%col1_x%" y="%row6_text_y%" />
2026 <font resource="font" color="#A0A0A0" />
2027 <text>Unmount Boot</text>
2028 <image resource="checkbox_true" />
2029 <action function="umount">/boot</action>
2030 </object>
2031
2032 <object type="button">
2033 <placement x="%col1_x%" y="%row8_text_y%" />
2034 <font resource="font" color="%text_color%" />
2035 <conditions>
2036 <condition var1="tw_has_dual_storage" var2="1" />
2037 <condition var1="tw_use_external_storage" var2="1" />
2038 </conditions>
2039 <text>Use external SD</text>
2040 <image resource="radio_true" />
2041 <action function="togglestorage">external</action>
2042 </object>
2043
2044 <object type="button">
2045 <placement x="%col1_x%" y="%row8_text_y%" />
2046 <font resource="font" color="%text_color%" />
2047 <conditions>
2048 <condition var1="tw_has_dual_storage" var2="1" />
2049 <condition var1="tw_use_external_storage" var2="0" />
2050 </conditions>
2051 <text>Use external SD</text>
2052 <image resource="radio_false" />
2053 <action function="togglestorage">external</action>
2054 </object>
2055
2056 <object type="button">
2057 <placement x="%col2_x%" y="%row8_text_y%" />
2058 <font resource="font" color="%text_color%" />
2059 <conditions>
2060 <condition var1="tw_has_dual_storage" var2="1" />
2061 <condition var1="tw_use_external_storage" var2="1" />
2062 </conditions>
2063 <text>Use internal storage</text>
2064 <image resource="radio_false" />
2065 <action function="togglestorage">internal</action>
2066 </object>
2067
2068 <object type="button">
2069 <placement x="%col2_x%" y="%row8_text_y%" />
2070 <font resource="font" color="%text_color%" />
2071 <conditions>
2072 <condition var1="tw_has_dual_storage" var2="1" />
2073 <condition var1="tw_use_external_storage" var2="0" />
2074 </conditions>
2075 <text>Use internal storage</text>
2076 <image resource="radio_true" />
2077 <action function="togglestorage">internal</action>
2078 </object>
2079
2080 <object type="button">
2081 <condition var1="tw_has_usb_storage" var2="1" />
2082 <placement x="%col1_x%" y="row3_y" />
2083 <font resource="font" color="%button_text_color%" />
2084 <text>Mount USB Storage</text>
2085 <image resource="main_button" />
2086 <action function="page">usb_mount</action>
2087 </object>
2088
2089 <object type="action">
2090 <touch key="home" />
2091 <action function="page">main</action>
2092 </object>
2093
2094 <object type="action">
2095 <touch key="back" />
2096 <action function="page">main</action>
2097 </object>
2098
2099 <object type="template" name="footer" />
2100 </page>
2101
2102 <page name="usb_mount">
2103 <object type="template" name="header" />
2104
2105 <object type="text" color="%text_color%">
2106 <font resource="font" />
2107 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2108 <text>USB Storage Mounted</text>
2109 </object>
2110
2111 <object type="text" color="%text_color%">
2112 <placement x="%col1_x%" y="%row1_text_y%" />
2113 <font resource="font" />
2114 <text>Be sure to safely remove your device</text>
2115 </object>
2116
2117 <object type="text" color="%text_color%">
2118 <placement x="%col1_x%" y="%row2_text_y%" />
2119 <font resource="font" />
2120 <text>from your computer before unmounting!</text>
2121 </object>
2122
2123 <object type="button">
2124 <placement x="%col1_x%" y="%row3_y%" />
2125 <font resource="font" color="%button_text_color%" />
2126 <text>Unmount</text>
2127 <image resource="main_button" />
2128 <action function="page">usb_umount</action>
2129 </object>
2130
2131 <object type="action">
2132 <action function="mount">usb</action>
2133 </object>
2134
2135 <object type="template" name="footer" />
2136 </page>
2137
2138 <page name="usb_umount">
2139 <object type="action">
2140 <action function="unmount">usb</action>
2141 </object>
2142
2143 <object type="action">
2144 <action function="page">mount</action>
2145 </object>
2146 </page>
2147
2148 <page name="reboot">
2149 <object type="template" name="header" />
2150
2151 <object type="text" color="%text_color%">
2152 <font resource="font" />
2153 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2154 <text>Reboot Menu</text>
2155 </object>
2156
2157 <object type="button">
2158 <condition var1="tw_reboot_system" var2="1" />
2159 <placement x="%col1_x%" y="%row1_y%" />
2160 <font resource="font" color="%button_text_color%" />
2161 <text>System</text>
2162 <image resource="main_button" />
2163 <actions>
2164 <action function="set">tw_back=reboot</action>
2165 <action function="set">tw_action=reboot</action>
2166 <action function="set">tw_action_param=system</action>
2167 <action function="set">tw_has_action2=0</action>
2168 <action function="set">tw_text1=No OS Installed! Are you</action>
2169 <action function="set">tw_text2=sure you wish to reboot?</action>
2170 <action function="set">tw_action_text1=Rebooting...</action>
2171 <action function="set">tw_complete_text1=Rebooting...</action>
2172 <action function="set">tw_slider_text=Swipe to Reboot</action>
2173 <action function="page">rebootcheck</action>
2174 </actions>
2175 </object>
2176
2177 <object type="button">
2178 <condition var1="tw_reboot_poweroff" var2="1" />
2179 <placement x="%col2_x%" y="%row1_y%" />
2180 <font resource="font" color="%button_text_color%" />
2181 <text>Power Off</text>
2182 <image resource="main_button" />
2183 <actions>
2184 <action function="set">tw_back=reboot</action>
2185 <action function="set">tw_action=reboot</action>
2186 <action function="set">tw_action_param=poweroff</action>
2187 <action function="set">tw_has_action2=0</action>
2188 <action function="set">tw_text1=No OS Installed! Are you</action>
2189 <action function="set">tw_text2=sure you wish to power off?</action>
2190 <action function="set">tw_action_text1=Turning Off...</action>
2191 <action function="set">tw_complete_text1=Turning Off...</action>
2192 <action function="set">tw_slider_text=Swipe to Power Off</action>
2193 <action function="page">rebootcheck</action>
2194 </actions>
2195 </object>
2196
2197 <object type="button">
2198 <condition var1="tw_reboot_recovery" var2="1" />
2199 <placement x="%col1_x%" y="%row2_y%" />
2200 <font resource="font" color="%button_text_color%" />
2201 <text>Recovery</text>
2202 <image resource="main_button" />
2203 <actions>
2204 <action function="set">tw_back=reboot</action>
2205 <action function="set">tw_action=reboot</action>
2206 <action function="set">tw_action_param=recovery</action>
2207 <action function="set">tw_has_action2=0</action>
2208 <action function="set">tw_text1=No OS Installed! Are you</action>
2209 <action function="set">tw_text2=sure you wish to reboot?</action>
2210 <action function="set">tw_action_text1=Rebooting...</action>
2211 <action function="set">tw_complete_text1=Rebooting...</action>
2212 <action function="set">tw_slider_text=Swipe to Reboot</action>
2213 <action function="page">rebootcheck</action>
2214 </actions>
2215 </object>
2216
2217 <object type="button">
2218 <condition var1="tw_reboot_bootloader" var2="1" />
2219 <placement x="%col2_x%" y="%row2_y%" />
2220 <font resource="font" color="%button_text_color%" />
2221 <text>Bootloader</text>
2222 <image resource="main_button" />
2223 <actions>
2224 <action function="set">tw_back=reboot</action>
2225 <action function="set">tw_action=reboot</action>
2226 <action function="set">tw_action_param=bootloader</action>
2227 <action function="set">tw_has_action2=0</action>
2228 <action function="set">tw_text1=No OS Installed! Are you</action>
2229 <action function="set">tw_text2=sure you wish to reboot?</action>
2230 <action function="set">tw_action_text1=Rebooting...</action>
2231 <action function="set">tw_complete_text1=Rebooting...</action>
2232 <action function="set">tw_slider_text=Swipe to Reboot</action>
2233 <action function="page">rebootcheck</action>
2234 </actions>
2235 </object>
2236
2237 <object type="button">
2238 <condition var1="tw_download_mode" var2="1" />
2239 <placement x="%col1_x%" y="%row3_y%" />
2240 <font resource="font" color="%button_text_color%" />
2241 <text>Download</text>
2242 <image resource="main_button" />
2243 <actions>
2244 <action function="set">tw_back=reboot</action>
2245 <action function="set">tw_action=reboot</action>
2246 <action function="set">tw_action_param=download</action>
2247 <action function="set">tw_has_action2=0</action>
2248 <action function="set">tw_text1=No OS Installed! Are you</action>
2249 <action function="set">tw_text2=sure you wish to reboot?</action>
2250 <action function="set">tw_action_text1=Rebooting...</action>
2251 <action function="set">tw_complete_text1=Rebooting...</action>
2252 <action function="set">tw_slider_text=Swipe to Reboot</action>
2253 <action function="page">rebootcheck</action>
2254 </actions>
2255 </object>
2256
2257 <object type="action">
2258 <touch key="home" />
2259 <action function="page">main</action>
2260 </object>
2261
2262 <object type="action">
2263 <touch key="back" />
2264 <action function="page">main</action>
2265 </object>
2266
2267 <object type="template" name="footer" />
2268 </page>
2269
2270 <page name="settings">
2271 <object type="template" name="header" />
2272
2273 <object type="text" color="%text_color%">
2274 <font resource="font" />
2275 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2276 <text>Settings</text>
2277 </object>
2278
2279 <object type="checkbox">
2280 <placement x="%col1_x%" y="%row1_text_y%" />
2281 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002282 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 <data variable="tw_signed_zip_verify" />
2284 <image checked="checkbox_true" unchecked="checkbox_false" />
2285 </object>
2286
2287 <object type="checkbox">
2288 <placement x="%col1_x%" y="%row2_text_y%" />
2289 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002290 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <data variable="tw_force_md5_check" />
2292 <image checked="checkbox_true" unchecked="checkbox_false" />
2293 </object>
2294
2295 <object type="checkbox">
2296 <placement x="%col1_x%" y="%row3_text_y%" />
2297 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002298 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002299 <data variable="tw_rm_rf" />
2300 <image checked="checkbox_true" unchecked="checkbox_false" />
2301 </object>
2302
2303 <object type="checkbox">
2304 <placement x="%col1_x%" y="%row4_text_y%" />
2305 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002306 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002307 <data variable="tw_skip_md5_generate" />
2308 <image checked="checkbox_true" unchecked="checkbox_false" />
2309 </object>
2310
2311 <object type="checkbox">
2312 <placement x="%col1_x%" y="%row5_text_y%" />
2313 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002314 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002315 <data variable="tw_skip_md5_check" />
2316 <image checked="checkbox_true" unchecked="checkbox_false" />
2317 </object>
2318
2319 <object type="checkbox">
2320 <placement x="%col1_x%" y="%row6_text_y%" />
2321 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002322 <text>Ignore image size errors during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002323 <data variable="tw_ignore_image_size" />
2324 <image checked="checkbox_true" unchecked="checkbox_false" />
2325 </object>
2326
2327 <object type="checkbox">
2328 <placement x="%col1_x%" y="%row7_text_y%" />
2329 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002330 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <data variable="tw_simulate_actions" />
2332 <image checked="checkbox_true" unchecked="checkbox_false" />
2333 </object>
2334
2335 <object type="checkbox">
2336 <condition var1="tw_simulate_actions" var2="1" />
2337 <placement x="%col1_x%" y="%row8_text_y%" />
2338 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002339 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002340 <data variable="tw_simulate_fail" />
2341 <image checked="checkbox_true" unchecked="checkbox_false" />
2342 </object>
2343
2344 <object type="button">
2345 <placement x="%col1_x%" y="%row3_y%" />
2346 <font resource="font" color="%button_text_color%" />
2347 <text>Time Zone</text>
2348 <image resource="main_button" />
2349 <action function="page">timezone</action>
2350 </object>
2351
2352 <object type="button">
2353 <placement x="%col_center_x%" y="%row4_y%" />
2354 <font resource="font" color="%button_text_color%" />
2355 <text>Restore Defaults</text>
2356 <image resource="main_button" />
2357 <action function="restoredefaultsettings"></action>
2358 </object>
2359
2360 <object type="action">
2361 <touch key="home" />
2362 <action function="page">main</action>
2363 </object>
2364
2365 <object type="action">
2366 <touch key="back" />
2367 <action function="page">main</action>
2368 </object>
2369
2370 <object type="template" name="footer" />
2371 </page>
2372
2373 <page name="timezone">
2374 <object type="template" name="header" />
2375
2376 <object type="text" color="%text_color%">
2377 <font resource="font" />
2378 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2379 <text>Select Time Zone</text>
2380 </object>
2381
2382 <object type="listbox">
2383 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2384 <icon selected="radio_true" unselected="radio_false" />
2385 <background color="%listbox_background%" />
2386 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2387 <data name="tw_time_zone_guisel" />
2388 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2389 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2390 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2391 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2392 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2393 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2394 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2395 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2396 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2397 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2398 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2399 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2400 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2401 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2402 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2403 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2404 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2405 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2406 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2407 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2408 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2409 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2410 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2411 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2412 </object>
2413
2414 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002415 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
2417 <text>Do you use daylight savings time (DST)?</text>
2418 <data variable="tw_time_zone_guidst" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="text" color="%text_color%">
2423 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002424 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2426 </object>
2427
2428 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002429 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <font resource="font" color="%button_text_color%" />
2431 <text>None</text>
2432 <image resource="medium_button" />
2433 <action function="set">tw_time_zone_guioffset=0</action>
2434 </object>
2435
2436 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002437 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <font resource="font" color="%button_text_color%" />
2439 <text>15</text>
2440 <image resource="medium_button" />
2441 <action function="set">tw_time_zone_guioffset=15</action>
2442 </object>
2443
2444 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002445 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <font resource="font" color="%button_text_color%" />
2447 <text>30</text>
2448 <image resource="medium_button" />
2449 <action function="set">tw_time_zone_guioffset=30</action>
2450 </object>
2451
2452 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002453 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%button_text_color%" />
2455 <text>45</text>
2456 <image resource="medium_button" />
2457 <action function="set">tw_time_zone_guioffset=45</action>
2458 </object>
2459
2460 <object type="button">
2461 <placement x="%col_center_x%" y="%tz_set_y%" />
2462 <font resource="font" color="%button_text_color%" />
2463 <text>Set Time Zone</text>
2464 <image resource="main_button" />
2465 <action function="setguitimezone"></action>
2466 </object>
2467
2468 <object type="text" color="%text_color%">
2469 <font resource="font" />
2470 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2471 <text>Current Time Zone: %tw_time_zone%</text>
2472 </object>
2473
2474 <object type="action">
2475 <touch key="home" />
2476 <action function="page">main</action>
2477 </object>
2478
2479 <object type="action">
2480 <touch key="back" />
2481 <action function="page">settings</action>
2482 </object>
2483
2484 <object type="template" name="footer" />
2485 </page>
2486
2487 <page name="advanced">
2488 <object type="template" name="header" />
2489
2490 <object type="text" color="%text_color%">
2491 <font resource="font" />
2492 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2493 <text>Advanced</text>
2494 </object>
2495
2496 <object type="button">
2497 <placement x="%col1_x%" y="%row1_y%" />
2498 <font resource="font" color="%button_text_color%" />
2499 <text>Copy Log to SD</text>
2500 <image resource="main_button" />
2501 <actions>
2502 <action function="set">tw_back=advanced</action>
2503 <action function="set">tw_action=copylog</action>
2504 <action function="set">tw_text1=Copy Log to SD Card?</action>
2505 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2506 <action function="set">tw_complete_text1=Log Copy Complete</action>
2507 <action function="set">tw_slider_text=Swipe to Confirm</action>
2508 <action function="page">confirm_action</action>
2509 </actions>
2510 </object>
2511
2512 <object type="button">
2513 <placement x="%col2_x%" y="%row1_y%" />
2514 <font resource="font" color="%button_text_color%" />
2515 <text>Fix Permissions</text>
2516 <image resource="main_button" />
2517 <actions>
2518 <action function="set">tw_back=advanced</action>
2519 <action function="set">tw_action=fixpermissions</action>
2520 <action function="set">tw_text1=Fix Permissions?</action>
2521 <action function="set">tw_text2=This will take a few minutes.</action>
2522 <action function="set">tw_action_text1=Fixing Permissions...</action>
2523 <action function="set">tw_action_text2=This will take a few minutes.</action>
2524 <action function="set">tw_complete_text1=Fix Permissions 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 <condition var1="tw_allow_partition_sdcard" var2="1" />
2532 <placement x="%col1_x%" y="%row2_y%" />
2533 <font resource="font" color="%button_text_color%" />
2534 <text>Partition SD Card</text>
2535 <image resource="main_button" />
2536 <action function="page">partsdcard</action>
2537 </object>
2538
2539 <object type="button">
2540 <placement x="%col2_x%" y="%row2_y%" />
2541 <font resource="font" color="%button_text_color%" />
2542 <text>File Manager</text>
2543 <image resource="main_button" />
2544 <action function="page">filemanagerlist</action>
2545 </object>
2546
2547 <object type="button">
2548 <placement x="%col1_x%" y="%row3_y%" />
2549 <font resource="font" color="%button_text_color%" />
2550 <text>Terminal Command</text>
2551 <image resource="main_button" />
2552 <action function="page">terminalfolder</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troybbb21012012-09-20 15:59:46 -04002556 <placement x="%col2_x%" y="%row3_y%" />
2557 <font resource="font" color="%button_text_color%" />
2558 <text>Reload Theme</text>
2559 <image resource="main_button" />
2560 <action function="reload"></action>
2561 </object>
2562
2563 <object type="button">
2564 <placement x="%col1_x%" y="%row4_y%" />
2565 <font resource="font" color="%button_text_color%" />
2566 <text>ADB Sideload</text>
2567 <image resource="main_button" />
2568 <actions>
2569 <action function="set">tw_back=advanced</action>
2570 <action function="set">tw_action=adbsideload</action>
2571 <action function="set">tw_action_text1=ADB Sideload</action>
2572 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2573 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
2574 <action function="set">tw_has_cancel=1</action>
2575 <action function="set">tw_cancel_action=adbsideloadcancel</action>
2576 <action function="page">action_page</action>
2577 </actions>
2578 </object>
2579
2580 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002581 <condition var1="tw_show_dumlock" var2="1" />
2582 <placement x="%col2_x%" y="%row4_y%" />
2583 <font resource="font" color="%button_text_color%" />
2584 <text>HTC Dumlock</text>
2585 <image resource="main_button" />
2586 <action function="page">htcdumlock</action>
2587 </object>
2588
2589 <object type="button">
2590 <condition var1="tw_has_injecttwrp" var2="1" />
2591 <placement x="%col2_x%" y="%row4_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>Re-Inject TWRP</text>
2594 <image resource="main_button" />
2595 <actions>
2596 <action function="set">tw_back=advanced</action>
2597 <action function="set">tw_action=reinjecttwrp</action>
2598 <action function="set">tw_text1=Re-Inject TWRP?</action>
2599 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2600 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2601 <action function="set">tw_slider_text=Swipe to Confirm</action>
2602 <action function="page">confirm_action</action>
2603 </actions>
2604 </object>
2605
2606 <object type="action">
2607 <touch key="home" />
2608 <action function="page">main</action>
2609 </object>
2610
2611 <object type="action">
2612 <touch key="back" />
2613 <action function="page">main</action>
2614 </object>
2615
2616 <object type="template" name="footer" />
2617 </page>
2618
2619 <page name="partsdcard">
2620 <object type="template" name="header" />
2621
2622 <object type="text" color="%text_color%">
2623 <font resource="font" />
2624 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2625 <text>Partition SD Card</text>
2626 </object>
2627
2628 <object type="button">
2629 <placement x="%col1_x%" y="%row1_y%" />
2630 <font resource="font" color="%button_text_color%" />
2631 <text></text>
2632 <image resource="minus_button" />
2633 <action function="addsubtract">tw_sdext_size-128</action>
2634 </object>
2635
2636 <object type="button">
2637 <placement x="%sd_plus_x%" y="%row1_y%" />
2638 <font resource="font" color="%button_text_color%" />
2639 <text></text>
2640 <image resource="plus_button" />
2641 <action function="addsubtract">tw_sdext_size+128</action>
2642 </object>
2643
2644 <object type="text" color="%text_color%">
2645 <font resource="font" />
2646 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2647 <text>EXT Size: %tw_sdext_size%</text>
2648 </object>
2649
2650 <object type="button">
2651 <placement x="%col1_x%" y="%sdswap_button_y%" />
2652 <font resource="font" color="%button_text_color%" />
2653 <text></text>
2654 <image resource="minus_button" />
2655 <action function="addsubtract">tw_swap_size-32</action>
2656 </object>
2657
2658 <object type="button">
2659 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2660 <font resource="font" color="%button_text_color%" />
2661 <text></text>
2662 <image resource="plus_button" />
2663 <action function="addsubtract">tw_swap_size+32</action>
2664 </object>
2665
2666 <object type="text" color="%text_color%">
2667 <font resource="font" />
2668 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2669 <text>Swap Size: %tw_swap_size%</text>
2670 </object>
2671
2672 <object type="text" color="%text_color%">
2673 <font resource="font" />
2674 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2675 <text>File system: %tw_sdpart_file_system%</text>
2676 </object>
2677
2678 <object type="button">
2679 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2680 <font resource="font" color="%button_text_color%" />
2681 <text>EXT3</text>
2682 <image resource="main_button" />
2683 <action function="set">tw_sdpart_file_system=ext3</action>
2684 </object>
2685
2686 <object type="button">
2687 <condition var1="tw_sdext_disable_ext4" var2="0" />
2688 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>EXT4</text>
2691 <image resource="main_button" />
2692 <action function="set">tw_sdpart_file_system=ext4</action>
2693 </object>
2694
2695 <object type="text" color="%text_color%">
2696 <font resource="font" />
2697 <placement x="%col1_x%" y="%row12_text_y%" />
2698 <text>You will lose all files on your SD card!</text>
2699 </object>
2700
2701 <object type="text" color="%text_color%">
2702 <font resource="font" />
2703 <placement x="%col1_x%" y="%row13_text_y%" />
2704 <text>This action cannot be undone!</text>
2705 </object>
2706
2707 <object type="slider">
2708 <placement x="%slider_x%" y="%slider_y%" />
2709 <resource base="slider" used="slider-used" touch="slider-touch" />
2710 <action function="page">partsdcardaction</action>
2711 <actions>
2712 <action function="set">tw_back=partsdcard</action>
2713 <action function="set">tw_action=partitionsd</action>
2714 <action function="set">tw_has_action2=1</action>
2715 <action function="set">tw_action2=set</action>
2716 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2717 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2718 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002719 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <action function="page">action_page</action>
2721 </actions>
2722 </object>
2723
2724 <object type="text" color="%text_color%">
2725 <font resource="font" />
2726 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2727 <text>Swipe to Partition</text>
2728 </object>
2729
2730 <object type="action">
2731 <touch key="home" />
2732 <action function="page">main</action>
2733 </object>
2734
2735 <object type="action">
2736 <touch key="back" />
2737 <action function="page">advanced</action>
2738 </object>
2739
2740 <object type="template" name="footer" />
2741 </page>
2742
2743 <page name="htcdumlock">
2744 <object type="template" name="header" />
2745
2746 <object type="text" color="%text_color%">
2747 <font resource="font" />
2748 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2749 <text>HTC Dumlock</text>
2750 </object>
2751
2752 <object type="button">
2753 <condition var1="tw_show_dumlock" var2="1" />
2754 <placement x="%col1_x%" y="%row1_y%" />
2755 <font resource="font" color="%button_text_color%" />
2756 <text>Restore Original Boot</text>
2757 <image resource="main_button" />
2758 <actions>
2759 <action function="set">tw_back=htcdumlock</action>
2760 <action function="set">tw_action=htcdumlockrestoreboot</action>
2761 <action function="set">tw_text1=Restore original boot image?</action>
2762 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2763 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2764 <action function="set">tw_slider_text=Swipe to Confirm</action>
2765 <action function="page">confirm_action</action>
2766 </actions>
2767 </object>
2768
2769 <object type="button">
2770 <condition var1="tw_show_dumlock" var2="1" />
2771 <placement x="%col2_x%" y="%row1_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Reflash Recovery</text>
2774 <image resource="main_button" />
2775 <actions>
2776 <action function="set">tw_back=htcdumlock</action>
2777 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2778 <action function="set">tw_text1=Reflash recovery to boot?</action>
2779 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2780 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2781 <action function="set">tw_slider_text=Swipe to Confirm</action>
2782 <action function="page">confirm_action</action>
2783 </actions>
2784 </object>
2785
2786 <object type="button">
2787 <condition var1="tw_show_dumlock" var2="1" />
2788 <placement x="%col1_x%" y="%row2_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>Install HTC Dumlock</text>
2791 <image resource="main_button" />
2792 <actions>
2793 <action function="set">tw_back=htcdumlock</action>
2794 <action function="set">tw_action=installhtcdumlock</action>
2795 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2796 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2797 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2798 <action function="set">tw_slider_text=Swipe to Confirm</action>
2799 <action function="page">confirm_action</action>
2800 </actions>
2801 </object>
2802
2803 <object type="action">
2804 <touch key="home" />
2805 <action function="page">main</action>
2806 </object>
2807
2808 <object type="action">
2809 <touch key="back" />
2810 <action function="page">advanced</action>
2811 </object>
2812
2813 <object type="template" name="footer" />
2814 </page>
2815
2816 <page name="lock">
2817 <background color="#000000A0" />
2818
2819 <object type="image">
2820 <image resource="unlock-icon" />
2821 <placement x="%lock_x%" y="%lock_y%" />
2822 </object>
2823
2824 <object type="slider">
2825 <placement x="%slider_x%" y="%slider_y%" />
2826 <resource base="slider" used="slider-used" touch="slider-touch" />
2827 <action function="overlay"></action>
2828 </object>
2829
2830 <object type="text" color="%text_color%">
2831 <font resource="font" />
2832 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2833 <text>Swipe to Unlock</text>
2834 </object>
2835 </page>
2836
2837 <page name="filemanagerlist">
2838 <object type="template" name="header" />
2839
2840 <object type="text" color="%text_color%">
2841 <font resource="font" />
2842 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2843 <text>File Manager: Select a File or Folder</text>
2844 </object>
2845
2846 <object type="fileselector">
2847 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2848 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2849 <text>%tw_file_location1%</text>
2850 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2851 <sort name="tw_gui_sort_order" />
2852 <icon folder="folder_icon" file="file_icon" />
2853 <background color="%fileselector_background%" />
2854 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2855 <folders="1" files="1" />
2856 <path name="tw_file_location1" default="/" />
2857 <data name="tw_filename1" />
2858 <selection name="tw_selection1" />
2859 </object>
2860
2861 <object type="template" name="sort_options" />
2862
2863 <object type="action">
2864 <actions>
2865 <action function="set">tw_fm_type=File</action>
2866 <action function="set">tw_fm_isfolder=0</action>
2867 </actions>
2868 </object>
2869
2870 <object type="action">
2871 <touch key="home" />
2872 <action function="page">main</action>
2873 </object>
2874
2875 <object type="action">
2876 <touch key="back" />
2877 <action function="page">advanced</action>
2878 </object>
2879
2880 <object type="action">
2881 <condition var1="tw_filename1" op="modified" />
2882 <actions>
2883 <action function="page">filemanageroptions</action>
2884 </actions>
2885 </object>
2886
2887 <object type="button">
2888 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2889 <font resource="font" color="%button_text_color%" />
2890 <text>Select</text>
2891 <image resource="medium_button" />
2892 <actions>
2893 <action function="set">tw_filename1=tw_file_location1</action>
2894 <action function="set">tw_fm_isfolder=1</action>
2895 <action function="set">tw_fm_type=Folder</action>
2896 <action function="page">filemanageroptions</action>
2897 </actions>
2898 </object>
2899
2900 <object type="template" name="footer" />
2901 </page>
2902
2903 <page name="filemanageroptions">
2904 <object type="template" name="header" />
2905
2906 <object type="text" color="%text_color%">
2907 <font resource="font" />
2908 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2909 <text>%tw_fm_type% Selected:</text>
2910 </object>
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2915 <text>%tw_filename1%</text>
2916 </object>
2917
2918 <object type="button">
2919 <condition var1="tw_fm_isfolder" var2="0" />
2920 <placement x="%col1_x%" y="%row2_y%" />
2921 <font resource="font" color="%button_text_color%" />
2922 <text>Copy File</text>
2923 <image resource="main_button" />
2924 <actions>
2925 <action function="set">tw_filemanager_command=cp</action>
2926 <action function="set">tw_fm_text1=Copying</action>
2927 <action function="page">choosedestinationfolder</action>
2928 </actions>
2929 </object>
2930
2931 <object type="button">
2932 <condition var1="tw_fm_isfolder" var2="1" />
2933 <placement x="%col1_x%" y="%row2_y%" />
2934 <font resource="font" color="%button_text_color%" />
2935 <text>Copy Folder</text>
2936 <image resource="main_button" />
2937 <actions>
2938 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2939 <action function="set">tw_fm_text1=Copying</action>
2940 <action function="page">choosedestinationfolder</action>
2941 </actions>
2942 </object>
2943
2944 <object type="button">
2945 <placement x="%col2_x%" y="%row2_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>Move</text>
2948 <image resource="main_button" />
2949 <actions>
2950 <action function="set">tw_filemanager_command=mv</action>
2951 <action function="set">tw_fm_text1=Moving</action>
2952 <action function="page">choosedestinationfolder</action>
2953 </actions>
2954 </object>
2955
2956 <object type="button">
2957 <placement x="%col1_x%" y="%row3_y%" />
2958 <font resource="font" color="%button_text_color%" />
2959 <text>chmod 755</text>
2960 <image resource="main_button" />
2961 <actions>
2962 <action function="set">tw_filemanager_command=chmod 755</action>
2963 <action function="set">tw_fm_text1=chmod 755</action>
2964 <action function="set">tw_fm_text2=</action>
2965 <action function="set">tw_fm_text3=</action>
2966 <action function="set">tw_include_text3=0</action>
2967 <action function="set">tw_back=filemanageroptions</action>
2968 <action function="page">filemanagerconfirm</action>
2969 </actions>
2970 </object>
2971
2972 <object type="button">
2973 <placement x="%col2_x%" y="%row3_y%" />
2974 <font resource="font" color="%button_text_color%" />
2975 <text>chmod</text>
2976 <image resource="main_button" />
2977 <actions>
2978 <action function="set">tw_filemanager_rename=0000</action>
2979 <action function="set">tw_fm_text2=</action>
2980 <action function="set">tw_fm_text3=</action>
2981 <action function="set">tw_include_text3=0</action>
2982 <action function="set">tw_back=filemanageroptions</action>
2983 <action function="page">filemanagerchmod</action>
2984 </actions>
2985 </object>
2986
2987 <object type="button">
2988 <placement x="%col1_x%" y="%row4_y%" />
2989 <font resource="font" color="%button_text_color%" />
2990 <text>Delete</text>
2991 <image resource="main_button" />
2992 <actions>
2993 <action function="set">tw_filemanager_command=rm -rf</action>
2994 <action function="set">tw_fm_text1=Deleting</action>
2995 <action function="set">tw_fm_text2=</action>
2996 <action function="set">tw_fm_text3=</action>
2997 <action function="set">tw_include_text3=0</action>
2998 <action function="set">tw_back=filemanageroptions</action>
2999 <action function="page">filemanagerconfirm</action>
3000 </actions>
3001 </object>
3002
3003 <object type="button">
3004 <condition var1="tw_fm_isfolder" var2="0" />
3005 <placement x="%col2_x%" y="%row4_y%" />
3006 <font resource="font" color="%button_text_color%" />
3007 <text>Rename File</text>
3008 <image resource="main_button" />
3009 <actions>
3010 <action function="set">tw_filemanager_rename=tw_selection1</action>
3011 <action function="set">tw_fm_text1=Renaming</action>
3012 <action function="set">tw_filemanager_command=mv</action>
3013 <action function="page">filemanagerrenamefile</action>
3014 </actions>
3015 </object>
3016
3017 <object type="button">
3018 <condition var1="tw_fm_isfolder" var2="1" />
3019 <placement x="%col2_x%" y="%row4_y%" />
3020 <font resource="font" color="%button_text_color%" />
3021 <text>Rename Folder</text>
3022 <image resource="main_button" />
3023 <actions>
3024 <action function="set">tw_filemanager_rename=tw_selection1</action>
3025 <action function="set">tw_fm_text1=Renaming</action>
3026 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3027 <action function="page">filemanagerrenamefolder</action>
3028 </actions>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="home" />
3033 <action function="page">main</action>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="back" />
3038 <action function="page">filemanagerlist</action>
3039 </object>
3040
3041 <object type="template" name="footer" />
3042 </page>
3043
3044 <page name="choosedestinationfolder">
3045 <object type="template" name="header" />
3046
3047 <object type="text" color="%text_color%">
3048 <font resource="font" />
3049 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3050 <text>Browse to Destination Folder & Press Select</text>
3051 </object>
3052
3053 <object type="fileselector">
3054 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3055 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3056 <text>%tw_file_location2%</text>
3057 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3058 <sort name="tw_gui_sort_order" />
3059 <icon folder="folder_icon" file="file_icon" />
3060 <background color="%fileselector_background%" />
3061 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3062 <filter folders="1" files="0" />
3063 <path name="tw_file_location2" default="/" />
3064 <data name="tw_filename2" />
3065 <selection name="tw_selection2" />
3066 </object>
3067
3068 <object type="template" name="sort_options" />
3069
3070 <object type="action">
3071 <touch key="home" />
3072 <action function="page">main</action>
3073 </object>
3074
3075 <object type="action">
3076 <touch key="back" />
3077 <action function="page">filemanageroptions</action>
3078 </object>
3079
3080 <object type="button">
3081 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3082 <font resource="font" color="%button_text_color%" />
3083 <text>Select</text>
3084 <image resource="medium_button" />
3085 <actions>
3086 <action function="set">tw_fm_text2=to</action>
3087 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3088 <action function="set">tw_include_text3=1</action>
3089 <action function="set">tw_back=filemanageroptions</action>
3090 <action function="page">filemanagerconfirm</action>
3091 </actions>
3092 </object>
3093
3094 <object type="template" name="footer" />
3095 </page>
3096
3097 <page name="filemanagerrenamefile">
3098 <object type="template" name="header" />
3099
3100 <object type="text" color="%text_color%">
3101 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3102 <font resource="font" />
3103 <text>Please Enter a New %tw_fm_type% Name</text>
3104 </object>
3105
3106 <object type="input">
3107 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3108 <background color="%input_background_color%" />
3109 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3110 <font resource="font" color="%text_color%" />
3111 <text>%tw_filemanager_rename%</text>
3112 <data name="tw_filemanager_rename" />
3113 <restrict minlen="1" maxlen="128" />
3114 <actions>
3115 <action function="set">tw_fm_text2=to</action>
3116 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3117 <action function="set">tw_include_text3=1</action>
3118 <action function="set">tw_back=filemanageroptions</action>
3119 <action function="page">filemanagerconfirm</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
3124 <placement x="%col_center_x%" y="%row2_y%" />
3125 <font resource="font" color="%button_text_color%" />
3126 <text>Cancel</text>
3127 <image resource="main_button" />
3128 <action function="page">filemanageroptions</action>
3129 </object>
3130
3131 <object type="template" name="keyboardtemplate" />
3132
3133 <object type="action">
3134 <touch key="home" />
3135 <action function="page">main</action>
3136 </object>
3137
3138 <object type="action">
3139 <touch key="back" />
3140 <action function="page">filemanageroptions</action>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanagerrenamefolder">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3151 <font resource="font" />
3152 <text>Please Enter a New %tw_fm_type% Name</text>
3153 </object>
3154
3155 <object type="input">
3156 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3157 <background color="%input_background_color%" />
3158 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3159 <font resource="font" color="%text_color%" />
3160 <text>%tw_filemanager_rename%</text>
3161 <data name="tw_filemanager_rename" />
3162 <restrict minlen="1" maxlen="128" />
3163 <actions>
3164 <action function="set">tw_fm_text2=to</action>
3165 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3166 <action function="set">tw_include_text3=1</action>
3167 <action function="set">tw_back=filemanageroptions</action>
3168 <action function="page">filemanagerconfirm</action>
3169 </actions>
3170 </object>
3171
3172 <object type="button">
3173 <placement x="%col_center_x%" y="%row2_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Cancel</text>
3176 <image resource="main_button" />
3177 <action function="page">filemanageroptions</action>
3178 </object>
3179
3180 <object type="template" name="keyboardtemplate" />
3181
3182 <object type="action">
3183 <touch key="home" />
3184 <action function="page">main</action>
3185 </object>
3186
3187 <object type="action">
3188 <touch key="back" />
3189 <action function="page">filemanageroptions</action>
3190 </object>
3191
3192 <object type="template" name="footer" />
3193 </page>
3194
3195 <page name="filemanagerchmod">
3196 <object type="template" name="header" />
3197
3198 <object type="text" color="%text_color%">
3199 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3200 <font resource="font" />
3201 <text>Please Enter New Permissions</text>
3202 </object>
3203
3204 <object type="input">
3205 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3206 <background color="%input_background_color%" />
3207 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3208 <font resource="font" color="%text_color%" />
3209 <text>%tw_filemanager_rename%</text>
3210 <data name="tw_filemanager_rename" />
3211 <restrict minlen="3" maxlen="4" allow="0123456789" />
3212 <actions>
3213 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3214 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3215 <action function="set">tw_back=filemanageroptions</action>
3216 <action function="page">filemanagerconfirm</action>
3217 </actions>
3218 </object>
3219
3220 <object type="button">
3221 <placement x="%col_center_x%" y="%row2_y%" />
3222 <font resource="font" color="%button_text_color%" />
3223 <text>Cancel</text>
3224 <image resource="main_button" />
3225 <action function="page">filemanageroptions</action>
3226 </object>
3227
3228 <object type="template" name="keyboardtemplate" />
3229
3230 <object type="action">
3231 <touch key="home" />
3232 <action function="page">main</action>
3233 </object>
3234
3235 <object type="action">
3236 <touch key="back" />
3237 <action function="page">filemanageroptions</action>
3238 </object>
3239
3240 <object type="template" name="footer" />
3241 </page>
3242
3243 <page name="filemanagerconfirm">
3244 <object type="template" name="header" />
3245
3246 <object type="text" color="%text_color%">
3247 <font resource="font" />
3248 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3249 <text>%tw_fm_text1%</text>
3250 </object>
3251
3252 <object type="text" color="%text_color%">
3253 <font resource="font" />
3254 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3255 <text>%tw_filename1%</text>
3256 </object>
3257
3258 <object type="text" color="%text_color%">
3259 <font resource="font" />
3260 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3261 <text>%tw_fm_text2%</text>
3262 </object>
3263
3264 <object type="text" color="%text_color%">
3265 <font resource="font" />
3266 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3267 <text>%tw_fm_text3%</text>
3268 </object>
3269
3270 <object type="text" color="%text_color%">
3271 <font resource="font" />
3272 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3273 <text>Press back button to cancel.</text>
3274 </object>
3275
3276 <object type="slider">
3277 <placement x="%slider_x%" y="%slider_y%" />
3278 <resource base="slider" used="slider-used" touch="slider-touch" />
3279 <action function="page">filemanageracction</action>
3280 </object>
3281
3282 <object type="text" color="%text_color%">
3283 <font resource="font" />
3284 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3285 <text>Swipe to Confirm</text>
3286 </object>
3287
3288 <object type="action">
3289 <touch key="back" />
3290 <action function="page">%tw_back%</action>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="home" />
3295 <action function="page">main</action>
3296 </object>
3297
3298 <object type="template" name="footer" />
3299 </page>
3300
3301 <page name="filemanageracction">
3302 <object type="template" name="header" />
3303
3304 <object type="text" color="%text_color%">
3305
3306 <font resource="font" />
3307 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3308 <text>%tw_fm_text1%</text>
3309 </object>
3310
3311 <object type="template" name="action_page_console" />
3312
3313 <object type="template" name="progress_bar" />
3314
3315 <object type="action">
3316 <conditions>
3317 <condition var1="tw_operation_state" var2="1" />
3318 <condition var1="tw_operation_status" var2="0" />
3319 </conditions>
3320 <actions>
3321 <action function="set">tw_back=filemanagerlist</action>
3322 <action function="set">tw_complete_text1=File Operation Complete</action>
3323 <action function="page">action_complete</action>
3324 </actions>
3325 </object>
3326
3327 <object type="action">
3328 <conditions>
3329 <condition var1="tw_operation_state" var2="1" />
3330 <condition var1="tw_operation_status" op="!=" var2="0" />
3331 </conditions>
3332 <actions>
3333 <action function="set">tw_complete_text1=File Operation Complete</action>
3334 <action function="page">action_complete</action>
3335 </actions>
3336 </object>
3337
3338 <object type="action">
3339 <condition var1="tw_include_text3" var2="0" />
3340 <actions>
3341 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3342 </actions>
3343 </object>
3344
3345 <object type="action">
3346 <condition var1="tw_include_text3" var2="1" />
3347 <actions>
3348 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3349 </actions>
3350 </object>
3351 </page>
3352
3353 <page name="decrypt">
3354 <object type="template" name="header" />
3355
3356 <object type="text" color="%text_color%">
3357 <font resource="font" />
3358 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3359 <text>Please Enter Your Password</text>
3360 </object>
3361
3362 <object type="input">
3363 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3364 <background color="%input_background_color%" />
3365 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3366 <font resource="font" color="%text_color%" />
3367 <text>%tw_crypto_display%</text>
3368 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3369 <restrict minlen="1" maxlen="254" />
3370 <actions>
3371 <action function="page">trydecrypt</action>
3372 </actions>
3373 </object>
3374
3375 <object type="text" color="%text_fail_color%">
3376 <condition var1="tw_password_fail" var2="1" />
3377 <font resource="font" />
3378 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3379 <text>Password Failed, Please Try Again</text>
3380 </object>
3381
3382 <object type="button">
3383 <placement x="%col_center_x%" y="%row2_y%" />
3384 <font resource="font" color="%button_text_color%" />
3385 <text>Cancel</text>
3386 <image resource="main_button" />
3387 <actions>
3388 <action function="page">main</action>
3389 </actions>
3390 </object>
3391
3392 <object type="template" name="keyboardtemplate" />
3393
3394 <object type="action">
3395 <touch key="home" />
3396 <actions>
3397 <action function="page">main</action>
3398 </actions>
3399 </object>
3400
3401 <object type="action">
3402 <touch key="back" />
3403 <actions>
3404 <action function="page">main</action>
3405 </actions>
3406 </object>
3407
3408 <object type="template" name="footer" />
3409 </page>
3410
3411 <page name="trydecrypt">
3412 <object type="template" name="header" />
3413
3414 <object type="text" color="%text_color%">
3415 <font resource="font" />
3416 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3417 <text>Trying Decryption with Your Password</text>
3418 </object>
3419
3420 <object type="template" name="action_page_console" />
3421
3422 <object type="template" name="progress_bar" />
3423
3424 <object type="action">
3425 <action function="decrypt"></action>
3426 </object>
3427
3428 <object type="action">
3429 <conditions>
3430 <condition var1="tw_operation_state" var2="1" />
3431 <condition var1="tw_operation_status" op="!=" var2="0" />
3432 </conditions>
3433 <actions>
3434 <action function="set">tw_password_fail=1</action>
3435 <action function="page">decrypt</action>
3436 </actions>
3437 </object>
3438
3439 <object type="action">
3440 <conditions>
3441 <condition var1="tw_operation_state" var2="1" />
3442 <condition var1="tw_operation_status" op="=" var2="0" />
3443 </conditions>
3444 <action function="page">main</action>
3445 </object>
3446 </page>
3447
3448 <page name="terminalfolder">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3454 <text>Browse to Starting Folder</text>
3455 </object>
3456
3457 <object type="fileselector">
3458 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3459 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3460 <text>%tw_terminal_location%</text>
3461 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3462 <sort name="tw_gui_sort_order" />
3463 <icon folder="folder_icon" file="file_icon" />
3464 <background color="%fileselector_background%" />
3465 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3466 <filter folders="1" files="0" />
3467 <path name="tw_terminal_location" default="/" />
3468 <data name="tw_terminal" />
3469 <selection name="tw_terminal_selection" />
3470 </object>
3471
3472 <object type="template" name="sort_options" />
3473
3474 <object type="action">
3475 <touch key="home" />
3476 <action function="page">main</action>
3477 </object>
3478
3479 <object type="action">
3480 <touch key="back" />
3481 <action function="page">advanced</action>
3482 </object>
3483
3484 <object type="button">
3485 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3486 <font resource="font" color="%button_text_color%" />
3487 <text>Select</text>
3488 <image resource="medium_button" />
3489 <actions>
3490 <action function="page">terminalcommand</action>
3491 </actions>
3492 </object>
3493
3494 <object type="template" name="footer" />
3495 </page>
3496
3497 <page name="terminalcommand">
3498 <object type="template" name="header" />
3499
3500 <object type="console">
3501 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3502 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3503 <font resource="fixed" />
3504 </object>
3505
3506 <object type="text" color="%text_color%">
3507 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3508 <font resource="font" />
3509 <text>Starting Path: %tw_terminal_location%</text>
3510 </object>
3511
3512 <object type="input">
3513 <condition var1="tw_terminal_state" var2="0" />
3514 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3515 <background color="%input_background_color%" />
3516 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3517 <font resource="font" color="%text_color%" />
3518 <text>%tw_terminal_command%</text>
3519 <data name="tw_terminal_command" />
3520 <restrict minlen="1" />
3521 <action function="terminalcommand">%tw_terminal_command%</action>
3522 </object>
3523
3524 <object type="button">
3525 <condition var1="tw_terminal_state" var2="1" />
3526 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3527 <font resource="font" color="%button_text_color%" />
3528 <text>KILL</text>
3529 <image resource="medium_button" />
3530 <action function="killterminal"></action>
3531 </object>
3532
3533 <object type="template" name="keyboardtemplate" />
3534
3535 <object type="action">
3536 <touch key="home" />
3537 <action function="page">main</action>
3538 </object>
3539
3540 <object type="action">
3541 <touch key="back" />
3542 <action function="page">terminalfolder</action>
3543 </object>
3544 </page>
3545 </pages>
3546</recovery>