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