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