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