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