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