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