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