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