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