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