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