blob: 874dcaa16b5386e92a47ee765e7c11408093f39f [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1920" height="1200" />
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-30" />
14 <resource name="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040044 <resource name="exclamation" type="image" filename="exclamation400" />
Dees_Troy51a0e822012-09-05 15:24:24 -040045 </resources>
46
47 <variables>
48 <variable name="col1_x" value="210" />
49 <variable name="col2_x" value="590" />
50 <variable name="col3_x" value="970" />
51 <variable name="col4_x" value="1350" />
52 <variable name="row1_y" value="220" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060053 <variable name="row2_y" value="680" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="col_center_x" value="780" />
55 <variable name="center_x" value="960" />
56 <variable name="screen_width" value="1920" />
57 <variable name="screen_height" value="1200" />
58 <variable name="col_progressbar_x" value="771" />
59 <variable name="row_progressbar_y" value="1100" />
60 <variable name="col1_medium_x" value="570" />
61 <variable name="col2_medium_x" value="770" />
62 <variable name="col3_medium_x" value="970" />
63 <variable name="col4_medium_x" value="1170" />
64 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060065 <variable name="row2_medium_y" value="365" />
Dees_Troy51a0e822012-09-05 15:24:24 -040066 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060067 <variable name="row4_medium_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040068 <variable name="row5_medium_y" value="700" />
69 <variable name="row1_text_y" value="90" />
70 <variable name="row2_text_y" value="140" />
71 <variable name="row3_text_y" value="190" />
72 <variable name="row4_text_y" value="240" />
73 <variable name="row5_text_y" value="290" />
74 <variable name="row6_text_y" value="340" />
75 <variable name="row7_text_y" value="390" />
76 <variable name="row8_text_y" value="440" />
77 <variable name="row9_text_y" value="490" />
78 <variable name="row10_text_y" value="540" />
79 <variable name="row11_text_y" value="590" />
80 <variable name="row12_text_y" value="640" />
81 <variable name="row13_text_y" value="690" />
82 <variable name="row14_text_y" value="740" />
83 <variable name="row15_text_y" value="790" />
84 <variable name="row16_text_y" value="840" />
85 <variable name="row17_text_y" value="890" />
86 <variable name="row18_text_y" value="940" />
87 <variable name="row_offsetmedium_y" value="775" />
88 <variable name="home_button_x" value="1620" />
89 <variable name="home_button_y" value="5" />
90 <variable name="back_button_x" value="1720" />
91 <variable name="back_button_y" value="5" />
92 <variable name="console_button_x" value="1820" />
93 <variable name="console_button_y" value="5" />
94 <variable name="nandcheck_col1" value="328" />
95 <variable name="nandcheck_col2" value="800" />
96 <variable name="nandcheck_row1" value="200" />
97 <variable name="nandcheck_row2" value="275" />
98 <variable name="nandcheck_row3" value="350" />
99 <variable name="nandcheck_row4" value="425" />
100 <variable name="nandcheck_row5" value="500" />
101 <variable name="nandcheck_row6" value="575" />
102 <variable name="nandcheck_row7" value="650" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#A0A0A0" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600107 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400108 <variable name="slider_x" value="630" />
109 <variable name="slider_y" value="1000" />
110 <variable name="slider_text_y" value="1075" />
111 <variable name="sort_text_x" value="400" />
112 <variable name="sort_asc_text_y" value="1045" />
113 <variable name="sort_asc_button_y" value="1040" />
114 <variable name="sort_desc_text_y" value="1105" />
115 <variable name="sort_desc_button_y" value="1100" />
116 <variable name="sort_col1_button_x" value="670" />
117 <variable name="sort_col2_button_x" value="770" />
118 <variable name="sort_col3_button_x" value="870" />
119 <variable name="col1_sdext_x" value="720" />
120 <variable name="col2_sdext_x" value="1100" />
121 <variable name="row1_sdext_y" value="180" />
122 <variable name="row2_sdext_y" value="265" />
123 <variable name="row_extsize_y" value="175" />
124 <variable name="row_swapsize_y" value="260" />
125 <variable name="input_x" value="50" />
126 <variable name="input_width" value="1820" />
127 <variable name="input_height" value="50" />
128 <variable name="input_background_color" value="#303030" />
129 <variable name="input_cursor_color" value="#33B5E5" />
130 <variable name="input_cursor_width" value="3" />
131 <variable name="console_x" value="50" />
132 <variable name="console_width" value="1820" />
133 <variable name="console_foreground" value="#A0A0A0" />
134 <variable name="console_background" value="#303030" />
135 <variable name="console_scroll" value="#303030" />
136 <variable name="console_action_height" value="320" />
137 <variable name="console_install_height" value="440" />
138 <variable name="console_installdone_height" value="300" />
139 <variable name="fileselector_folder_x" value="50" />
140 <variable name="fileselector_folder_width" value="610" />
141 <variable name="fileselector_folderonly_width" value="800" />
142 <variable name="fileselector_file_x" value="700" />
143 <variable name="fileselector_file_width" value="1170" />
144 <variable name="fileselector_install_y" value="190" />
145 <variable name="fileselector_install_height" value="800" />
146 <variable name="fileselector_header_background" value="#202020" />
147 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
148 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
149 <variable name="fileselector_header_separatorheight" value="3" />
150 <variable name="fileselector_separatorcolor" value="#505050" />
151 <variable name="fileselector_separatorheight" value="2" />
152 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600153 <variable name="fileselector_highlight_color" value="#505050" />
154 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="fileselector_spacing" value="18" />
156 <variable name="zipstorage_text_y" value="130" />
157 <variable name="listbox_x" value="560" />
158 <variable name="listbox_y" value="150" />
159 <variable name="listbox_width" value="800" />
160 <variable name="listbox_tz_height" value="400" />
161 <variable name="listbox_background" value="#303030" />
162 <variable name="listbox_spacing" value="18" />
163 <variable name="sd_plus_x" value="408" />
164 <variable name="lock_x" value="660" />
165 <variable name="lock_y" value="300" />
166 <variable name="filemanager_select_x" value="1500" />
167 <variable name="filemanager_select_y" value="980" />
168 <variable name="backup_name_text_y" value="440" />
169 <variable name="backup_name_button_y" value="390" />
170 <variable name="col_right_x" value="1870" />
171 <variable name="cancel_button_y" value="240" />
172 <variable name="terminal_console_y" value="0" />
173 <variable name="terminal_console_height" value="610" />
174 <variable name="terminal_text_y" value="624" />
175 <variable name="terminal_button_y" value="615" />
176 <variable name="terminal_input_width" value="1550" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400177 <variable name="exclamation_x" value="760" />
178 <variable name="exclamation_y" value="260" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400179 </variables>
180
181 <templates>
182 <template name="header">
183 <background color="#000000FF" />
184
185 <object type="image">
186 <image resource="side" />
187 <placement x="0" y="0" />
188 </object>
189
190 <object type="image">
191 <image resource="side" />
192 <placement x="1875" y="0" />
193 </object>
194
195 <object type="image">
196 <image resource="base" />
197 <placement x="0" y="0" />
198 </object>
199
200 <object type="image">
201 <image resource="bottom" />
202 <placement x="1" y="1155" />
203 </object>
204
205 <object type="image">
206 <image resource="large_black" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="250" y="5" />
213 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="40" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery Level: %tw_battery%</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="600" y="40" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <condition var1="tw_simulate_actions" var2="1" />
235 <font resource="font" />
236 <placement x="850" y="40" />
237 <text>SIMULATING ACTIONS</text>
238 </object>
239
240 <object type="button">
241 <placement x="%home_button_x%" y="%home_button_y%" />
242 <font resource="font" color="%button_text_color%" />
243 <text></text>
244 <image resource="home_icon" />
245 <condition var1="tw_busy" var2="0" />
246 <action function="key">home</action>
247 </object>
248
249 <object type="button">
250 <placement x="%back_button_x%" y="%back_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text></text>
253 <image resource="back_icon" />
254 <condition var1="tw_busy" var2="0" />
255 <action function="key">back</action>
256 </object>
257
258 <object type="action">
259 <touch key="power" />
260 <action function="overlay">lock</action>
261 </object>
262 </template>
263
264 <template name="progress_bar">
265 <object type="progressbar">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
267 <resource empty="progress_empty" full="progress_full" />
268 <data name="ui_progress" />
269 </object>
270
271 <object type="animation">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource name="progress" />
274 <speed fps="15" render="6" />
275 <loop frame="1" />
276 </object>
277 </template>
278
279 <template name="sort_options">
280 <object type="text" color="%text_color%">
281 <font resource="font" />
282 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
283 <text>Sort Ascending:</text>
284 </object>
285
286 <object type="button">
287 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
288 <font resource="font" 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_asc_button_y%" />
296 <font resource="font" 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_asc_button_y%" />
304 <font resource="font" 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
310 <object type="text" color="%text_color%">
311 <font resource="font" />
312 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
313 <text>Sort Descending:</text>
314 </object>
315
316 <object type="button">
317 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Name</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=-1</action>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-2</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
334 <font resource="font" color="%button_text_color%" />
335 <text>Size</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-3</action>
338 </object>
339 </template>
340
341 <template name="flash_zip_console">
342 <object type="console">
343 <placement x="%console_x%" y="140" w="%console_width%" h="700" />
344 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
345 <font resource="fixed" />
346 </object>
347 </template>
348
349 <template name="action_page_console">
350 <object type="console">
351 <placement x="%console_x%" y="400" w="%console_width%" h="600" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="footer">
358 <object type="console">
359 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
360 <placement x="%console_x%" y="150" w="%console_width%" h="1000" />
361 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
362 <font resource="fixed" />
363 </object>
364 </template>
365
366 <template name="keyboardtemplate">
367 <object type="keyboard">
368 <placement x="0" y="684" />
369 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <layout1>
372 <keysize height="129" width="159" />
373 <row1 key01="153:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="177:c:8" />
374 <row2 key01="213:layout3" key02="156:a" key03="156:s" key04="156:d" key05="156:f" key06="156:g" key07="156:h" key08="156:j" key09="k" key10="156:l" key11="303:action" />
375 <row3 key01="269:layout2" key02="154:z" key03="154:x" key04="154:c" key05="154:v" key06="154:b" key07="154:n" key08="154:m" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout2" />
376 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
377 </layout1>
378 <layout2>
379 <keysize height="129" width="159" />
380 <row1 key01="153:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="177:c:8" />
381 <row2 key01="213:layout3" key02="156:A" key03="156:S" key04="156:D" key05="156:F" key06="156:G" key07="156:H" key08="156:J" key09="156:K" key10="156:L" key11="303:action" />
382 <row3 key01="269:layout1" key02="154:Z" key03="154:X" key04="154:C" key05="154:V" key06="154:B" key07="154:N" key08="154:M" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout1" />
383 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
384 </layout2>
385 <layout3>
386 <keysize height="129" width="159" />
387 <row1 key01="153:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="177:c:8" />
388 <row2 key01="213:layout1" key02="156:#" key03="156:$" key04="156:%" key05="156:&" key06="156:*" key07="156:-" key08="156:+" key09="156:(" key10="156:)" key11="303:action" />
389 <row3 key01="269:layout4" key02="154:<" key03="154:>" key04="154:=" key05="154:'" key06="154:;" key07="154:," key08="154:." key09="154:!" key10="154:?" key11="265:layout4" />
390 <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" />
391 </layout3>
392 <layout4>
393 <keysize height="129" width="159" />
394 <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" />
395 <row2 key01="213:layout1" key02="156:" key03="156:" key04="156:" key05="156:" key06="156:^" key07="156:" key08="156:" key09="156:{" key10="156:}" key11="303:action" />
396 <row3 key01="269:layout3" key02="154:\" key03="154:" key04="154:" key05="154:" key06="154:" key07="154:[" key08="154:]" key09="154:!" key10="154:?" key11="265:layout3" />
397 <row4 key01="600:" key02="720: " />
398 </layout4>
399 </object>
400 </template>
401 </templates>
402
403 <pages>
404 <page name="main">
405 <object type="action">
406 <actions>
407 <action function="set">tw_clear_destination=main2</action>
408 <action function="page">clear_vars</action>
409 </actions>
410 </object>
411 </page>
412
413 <page name="main2">
414 <object type="template" name="header" />
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Install</text>
421 <image resource="main_button" />
422 <actions>
423 <action function="queueclear"></action>
424 <action function="page">install</action>
425 </actions>
426 </object>
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="%col2_x%" y="%row1_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Backup</text>
433 <image resource="main_button" />
434 <action function="page">backup</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="%col3_x%" y="%row1_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Restore</text>
442 <image resource="main_button" />
443 <action function="page">restore</action>
444 </object>
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col4_x%" y="%row1_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Wipe</text>
451 <image resource="main_button" />
452 <action function="page">wipe</action>
453 </object>
454
455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400457 <placement x="%col1_x%" y="%row2_y%" />
458 <font resource="font" color="%button_text_color%" />
459 <text>Mount</text>
460 <image resource="main_button" />
461 <action function="page">mount</action>
462 </object>
463
464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400466 <placement x="%col2_x%" y="%row2_y%" />
467 <font resource="font" color="%button_text_color%" />
468 <text>Settings</text>
469 <image resource="main_button" />
470 <action function="page">settings</action>
471 </object>
472
473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400475 <placement x="%col3_x%" y="%row2_y%" />
476 <font resource="font" color="%button_text_color%" />
477 <text>Advanced</text>
478 <image resource="main_button" />
479 <action function="page">advanced</action>
480 </object>
481
482 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600483 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400484 <placement x="%col4_x%" y="%row2_y%" />
485 <font resource="font" color="%button_text_color%" />
486 <text>Reboot</text>
487 <image resource="main_button" />
488 <action function="page">reboot</action>
489 </object>
490
491 <object type="template" name="footer" />
492 </page>
493
494 <page name="install">
495 <object type="template" name="header" />
496
497 <object type="text" color="%text_color%">
498 <font resource="font" />
499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
500 <text>Select Zip to Install</text>
501 </object>
502
503 <object type="button">
504 <placement x="%col2_x%" y="%zipstorage_text_y%" />
505 <font resource="font" color="%text_color%" />
506 <conditions>
507 <condition var1="tw_has_dual_storage" var2="1" />
508 <condition var1="tw_use_external_storage" var2="1" />
509 </conditions>
510 <text>Using external SD</text>
511 <image resource="radio_true" />
512 <action function="togglestorage">external</action>
513 </object>
514
515 <object type="button">
516 <placement x="%col2_x%" y="%zipstorage_text_y%" />
517 <font resource="font" color="%text_color%" />
518 <conditions>
519 <condition var1="tw_has_dual_storage" var2="1" />
520 <condition var1="tw_use_external_storage" var2="0" />
521 </conditions>
522 <text>Using external SD</text>
523 <image resource="radio_false" />
524 <action function="togglestorage">external</action>
525 </object>
526
527 <object type="button">
528 <placement x="%col3_x%" y="%zipstorage_text_y%" />
529 <font resource="font" color="%text_color%" />
530 <conditions>
531 <condition var1="tw_has_dual_storage" var2="1" />
532 <condition var1="tw_use_external_storage" var2="1" />
533 </conditions>
534 <text>Using internal storage</text>
535 <image resource="radio_false" />
536 <action function="togglestorage">internal</action>
537 </object>
538
539 <object type="button">
540 <placement x="%col3_x%" y="%zipstorage_text_y%" />
541 <font resource="font" color="%text_color%" />
542 <conditions>
543 <condition var1="tw_has_dual_storage" var2="1" />
544 <condition var1="tw_use_external_storage" var2="0" />
545 </conditions>
546 <text>Using internal storage</text>
547 <image resource="radio_true" />
548 <action function="togglestorage">internal</action>
549 </object>
550
551 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600552 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400553 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
554 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
555 <text>Folders:</text>
556 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
557 <sort name="tw_gui_sort_order" />
558 <icon folder="folder_icon" file="file_icon" />
559 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <filter folders="1" files="0" />
562 <path name="tw_zip_location" default="/sdcard" />
563 <data name="select" />
564 </object>
565
566 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600567 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
569 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
570 <text>%tw_zip_location%</text>
571 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
572 <sort name="tw_gui_sort_order" />
573 <icon folder="folder_icon" file="file_icon" />
574 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600575 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <filter extn=".zip" folders="0" files="1" />
577 <path name="tw_zip_location" />
578 <data name="tw_filename" />
579 <selection name="tw_file" />
580 </object>
581
582 <object type="template" name="sort_options" />
583
584 <object type="action">
585 <condition var1="tw_filename" op="modified" />
586 <actions>
587 <action function="queuezip"></action>
588 <action function="page">flash_confirm</action>
589 </actions>
590 </object>
591
592 <object type="action">
593 <touch key="back" />
594 <action function="page">main</action>
595 </object>
596
597 <object type="action">
598 <touch key="home" />
599 <action function="page">main</action>
600 </object>
601
602 <object type="template" name="footer" />
603 </page>
604
605 <page name="flash_confirm">
606 <object type="template" name="header" />
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
611 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
617 <text>Folder:</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
623 <text>%tw_zip_location%</text>
624 </object>
625
626 <object type="text" color="%text_color%">
627 <font resource="font" />
628 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
629 <text>File to flash:</text>
630 </object>
631
632 <object type="text" color="%text_color%">
633 <font resource="font" />
634 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
635 <text>%tw_file%</text>
636 </object>
637
638 <object type="text" color="%text_color%">
639 <font resource="font" />
640 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
641 <text>Press back to cancel adding this zip.</text>
642 </object>
643
644 <object type="checkbox">
645 <placement x="%col2_x%" y="%row7_text_y%" />
646 <font resource="font" color="%text_color%" />
647 <text>Zip file signature verification?</text>
648 <data variable="tw_signed_zip_verify" />
649 <image checked="checkbox_true" unchecked="checkbox_false" />
650 </object>
651
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <object type="text" color="%text_color%">
653 <font resource="font" />
654 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
655 <text>File %tw_zip_queue_count% of max of 10</text>
656 </object>
657
658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
661 <placement x="%col2_x%" y="%row5_medium_y%" />
662 <font resource="font" color="%button_text_color%" />
663 <text>Add More Zips</text>
664 <image resource="mediumwide_button" />
665 <action function="page">install</action>
666 </object>
667
668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400670 <placement x="%col3_x%" y="%row5_medium_y%" />
671 <font resource="font" color="%button_text_color%" />
672 <text>Clear Queue</text>
673 <image resource="mediumwide_button" />
674 <actions>
675 <action function="queueclear"></action>
676 <action function="page">install</action>
677 </actions>
678 </object>
679
680 <object type="slider">
681 <placement x="%slider_x%" y="%slider_y%" />
682 <resource base="slider" used="slider-used" touch="slider-touch" />
683 <action function="flash">flash_zip</action>
684 </object>
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
689 <text>Swipe to Confirm Flash</text>
690 </object>
691
692 <object type="action">
693 <touch key="back" />
694 <actions>
695 <action function="cancelzip"></action>
696 <action function="page">install</action>
697 </actions>
698 </object>
699
700 <object type="action">
701 <touch key="home" />
702 <action function="page">main</action>
703 </object>
704
705 <object type="template" name="footer" />
706 </page>
707
708 <page name="flash_zip">
709 <object type="template" name="header" />
710
711 <object type="template" name="flash_zip_console" />
712
713 <object type="text" color="%text_color%">
714 <font resource="font" />
715 <placement x="%col1_x%" y="%row16_text_y%" />
716 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
717 </object>
718
719 <object type="text" color="%text_color%">
720 <font resource="font" />
721 <placement x="%col1_x%" y="%row17_text_y%" />
722 <text>%tw_filename%</text>
723 </object>
724
725 <object type="template" name="progress_bar" />
726
727 <object type="action">
728 <condition var1="tw_operation_state" var2="1" />
729 <action function="page">flash_done</action>
730 </object>
731 </page>
732
733 <page name="flash_done">
734 <object type="template" name="header" />
735
736 <object type="template" name="flash_zip_console" />
737
738 <object type="text" color="%text_fail_color%">
739 <condition var1="tw_operation_status" op="!=" var2="0" />
740 <font resource="font" />
741 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
742 <text>Failed</text>
743 </object>
744
745 <object type="text" color="%text_success_color%">
746 <condition var1="tw_operation_status" var2="0" />
747 <font resource="font" />
748 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
749 <text>Successful</text>
750 </object>
751
752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <placement x="%col1_x%" y="%slider_y%" />
755 <font resource="font" color="%button_text_color%" />
756 <text>Wipe Cache/Dalvik</text>
757 <image resource="main_button" />
758 <actions>
759 <action function="set">tw_back=flash_done</action>
760 <action function="set">tw_action=wipe</action>
761 <action function="set">tw_action_param=/cache</action>
762 <action function="set">tw_has_action2=1</action>
763 <action function="set">tw_action2=wipe</action>
764 <action function="set">tw_action2_param=dalvik</action>
765 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
766 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
767 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
768 <action function="set">tw_slider_text=Swipe to Wipe</action>
769 <action function="page">confirm_action</action>
770 </actions>
771 </object>
772
773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400775 <condition var1="tw_reboot_system" var2="1" />
776 <placement x="%col4_x%" y="%slider_y%" />
777 <font resource="font" color="%button_text_color%" />
778 <text>Reboot System</text>
779 <image resource="main_button" />
780 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400781 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400782 <action function="set">tw_action=reboot</action>
783 <action function="set">tw_action_param=system</action>
784 <action function="set">tw_has_action2=0</action>
785 <action function="set">tw_text1=No OS Installed! Are you</action>
786 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400787 <action function="set">tw_text3=</action>
788 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400789 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400790 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400791 <action function="set">tw_complete_text1=Rebooting...</action>
792 <action function="set">tw_slider_text=Swipe to Reboot</action>
793 <action function="page">rebootcheck</action>
794 </actions>
795 </object>
796
797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400799 <placement x="%col_center_x%" y="%slider_y%" />
800 <font resource="font" color="%button_text_color%" />
801 <text>Home</text>
802 <image resource="main_button" />
803 <actions>
804 <action function="set">tw_clear_destination=main2</action>
805 <action function="page">clear_vars</action>
806 </actions>
807 </object>
808
809 <object type="action">
810 <touch key="back" />
811 <actions>
812 <action function="set">tw_clear_destination=install</action>
813 <action function="page">clear_vars</action>
814 </actions>
815 </object>
816
817 <object type="action">
818 <touch key="home" />
819 <actions>
820 <action function="set">tw_clear_destination=main2</action>
821 <action function="page">clear_vars</action>
822 </actions>
823 </object>
824 </page>
825
826 <page name="clear_vars">
827 <object type="action">
828 <action function="set">tw_operation_state=0</action>
829 <action function="set">tw_text1=</action>
830 <action function="set">tw_text2=</action>
831 <action function="set">tw_text3=</action>
832 <action function="set">tw_text4=</action>
833 <action function="set">tw_action_text1=</action>
834 <action function="set">tw_action_text2=</action>
835 <action function="set">tw_action_param=</action>
836 <action function="set">tw_has_action2=0</action>
837 <action function="set">tw_action2=</action>
838 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400839 <action function="set">tw_has_cancel=0</action>
840 <action function="set">tw_cancel_action=</action>
841 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400842 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400843 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400844 <action function="page">%tw_clear_destination%</action>
845 </object>
846 </page>
847
848 <page name="confirm_action">
849 <object type="template" name="header" />
850
Dees_Troyce2fe772012-09-28 12:34:33 -0400851 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600852 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400853 <condition var1="tw_show_exclamation" var2="1" />
854 <placement x="%exclamation_x%" y="%exclamation_y%" />
855 <font resource="font" color="%button_text_color%" />
856 <text></text>
857 <image resource="exclamation" />
858 </object>
859
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
863 <text>%tw_text1%</text>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
869 <text>%tw_text2%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
875 <text>%tw_text3%</text>
876 </object>
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
880 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
881 <text>%tw_text4%</text>
882 </object>
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400886 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400887 <text>Press back button to cancel.</text>
888 </object>
889
890 <object type="slider">
891 <placement x="%slider_x%" y="%slider_y%" />
892 <resource base="slider" used="slider-used" touch="slider-touch" />
893 <action function="page">action_page</action>
894 </object>
895
896 <object type="text" color="%text_color%">
897 <font resource="font" />
898 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
899 <text>%tw_slider_text%</text>
900 </object>
901
902 <object type="action">
903 <touch key="back" />
904 <actions>
905 <action function="set">tw_clear_destination=%tw_back%</action>
906 <action function="page">clear_vars</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <touch key="home" />
912 <action function="page">main</action>
913 </object>
914
915 <object type="template" name="footer" />
916 </page>
917
918 <page name="action_page">
919 <object type="template" name="header" />
920
921 <object type="text" color="%text_color%">
922 <font resource="font" />
923 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
924 <text>%tw_action_text1%</text>
925 </object>
926
927 <object type="text" color="%text_color%">
928 <font resource="font" />
929 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
930 <text>%tw_action_text2%</text>
931 </object>
932
933 <object type="template" name="action_page_console" />
934
Dees_Troy2691f9d2012-09-24 11:15:49 -0400935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600936 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400937 <condition var1="tw_has_cancel" var2="1" />
938 <placement x="%col4_x%" y="%slider_y%" />
939 <font resource="font" color="%button_text_color%" />
940 <text>Cancel</text>
941 <image resource="main_button" />
942 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
943 </object>
944
Dees_Troy51a0e822012-09-05 15:24:24 -0400945 <object type="template" name="progress_bar" />
946
947 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400948 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400949 <actions>
950 <action function="page">action_complete</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="0" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 </actions>
959 </object>
960
961 <object type="action">
962 <condition var1="tw_has_action2" var2="1" />
963 <actions>
964 <action function="%tw_action%">%tw_action_param%</action>
965 <action function="%tw_action2%">%tw_action2_param%</action>
966 </actions>
967 </object>
968 </page>
969
970 <page name="action_complete">
971 <object type="template" name="header" />
972
973 <object type="text" color="%text_color%">
974 <font resource="font" />
975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
976 <text>%tw_complete_text1%</text>
977 </object>
978
979 <object type="text" color="%text_fail_color%">
980 <condition var1="tw_operation_status" op="!=" var2="0" />
981 <font resource="font" />
982 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
983 <text>Failed</text>
984 </object>
985
986 <object type="text" color="%text_success_color%">
987 <condition var1="tw_operation_status" var2="0" />
988 <font resource="font" />
989 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
990 <text>Successful</text>
991 </object>
992
993 <object type="template" name="action_page_console" />
994
995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600996 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400997 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400998 <placement x="%col_center_x%" y="%slider_y%" />
999 <font resource="font" color="%button_text_color%" />
1000 <text>Back</text>
1001 <image resource="main_button" />
1002 <actions>
1003 <action function="set">tw_clear_destination=%tw_back%</action>
1004 <action function="page">clear_vars</action>
1005 </actions>
1006 </object>
1007
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001009 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <condition var1="tw_show_reboot" var2="1" />
1011 <placement x="%col_center_x%" y="%slider_y%" />
1012 <font resource="font" color="%button_text_color%" />
1013 <text>Reboot System</text>
1014 <image resource="main_button" />
1015 <actions>
1016 <action function="set">tw_back=main2</action>
1017 <action function="set">tw_action=reboot</action>
1018 <action function="set">tw_action_param=system</action>
1019 <action function="set">tw_has_action2=0</action>
1020 <action function="set">tw_text1=No OS Installed! Are you</action>
1021 <action function="set">tw_text2=sure you wish to reboot?</action>
1022 <action function="set">tw_text3=</action>
1023 <action function="set">tw_text4=</action>
1024 <action function="set">tw_action_text1=Rebooting...</action>
1025 <action function="set">tw_action_text2=</action>
1026 <action function="set">tw_complete_text1=Rebooting...</action>
1027 <action function="set">tw_slider_text=Swipe to Reboot</action>
1028 <action function="page">rebootcheck</action>
1029 </actions>
1030 </object>
1031
Dees_Troy51a0e822012-09-05 15:24:24 -04001032 <object type="action">
1033 <touch key="home" />
1034 <actions>
1035 <action function="set">tw_clear_destination=main2</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039
1040 <object type="action">
1041 <touch key="back" />
1042 <actions>
1043 <action function="set">tw_clear_destination=%tw_back%</action>
1044 <action function="page">clear_vars</action>
1045 </actions>
1046 </object>
1047 </page>
1048
1049 <page name="filecheck">
1050 <object type="action">
1051 <action function="fileexists">%tw_filecheck%</action>
1052 </object>
1053
1054 <object type="action">
1055 <conditions>
1056 <condition var1="tw_operation_state" var2="1" />
1057 <condition var1="tw_operation_status" var2="0" />
1058 </conditions>
1059 <actions>
1060 <action function="set">tw_fileexists=1</action>
1061 <action function="page">%tw_existpage%</action>
1062 </actions>
1063 </object>
1064
1065 <object type="action">
1066 <conditions>
1067 <condition var1="tw_operation_state" var2="1" />
1068 <condition var1="tw_operation_status" var2="1" />
1069 </conditions>
1070 <actions>
1071 <action function="set">tw_fileexists=0</action>
1072 <action function="page">%tw_notexistpage%</action>
1073 </actions>
1074 </object>
1075 </page>
1076
1077 <page name="rebootcheck">
1078 <object type="action">
1079 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1080 <action function="reboot">%tw_action_param%</action>
1081 </object>
1082
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1085 <action function="page">confirm_action</action>
1086 </object>
1087 </page>
1088
1089 <page name="reboot">
1090 <object type="template" name="header" />
1091
1092 <object type="text" color="%text_color%">
1093 <font resource="font" />
1094 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1095 <text>Reboot Menu</text>
1096 </object>
1097
1098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001099 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001100 <condition var1="tw_reboot_system" var2="1" />
1101 <placement x="%col1_x%" y="%row1_y%" />
1102 <font resource="font" color="%button_text_color%" />
1103 <text>System</text>
1104 <image resource="main_button" />
1105 <actions>
1106 <action function="set">tw_back=reboot</action>
1107 <action function="set">tw_action=reboot</action>
1108 <action function="set">tw_action_param=system</action>
1109 <action function="set">tw_has_action2=0</action>
1110 <action function="set">tw_text1=No OS Installed! Are you</action>
1111 <action function="set">tw_text2=sure you wish to reboot?</action>
1112 <action function="set">tw_action_text1=Rebooting...</action>
1113 <action function="set">tw_complete_text1=Rebooting...</action>
1114 <action function="set">tw_slider_text=Swipe to Reboot</action>
1115 <action function="page">rebootcheck</action>
1116 </actions>
1117 </object>
1118
1119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001121 <condition var1="tw_reboot_poweroff" var2="1" />
1122 <placement x="%col2_x%" y="%row1_y%" />
1123 <font resource="font" color="%button_text_color%" />
1124 <text>Power Off</text>
1125 <image resource="main_button" />
1126 <actions>
1127 <action function="set">tw_back=reboot</action>
1128 <action function="set">tw_action=reboot</action>
1129 <action function="set">tw_action_param=poweroff</action>
1130 <action function="set">tw_has_action2=0</action>
1131 <action function="set">tw_text1=No OS Installed! Are you</action>
1132 <action function="set">tw_text2=sure you wish to power off?</action>
1133 <action function="set">tw_action_text1=Turning Off...</action>
1134 <action function="set">tw_complete_text1=Turning Off...</action>
1135 <action function="set">tw_slider_text=Swipe to Power Off</action>
1136 <action function="page">rebootcheck</action>
1137 </actions>
1138 </object>
1139
1140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 <condition var1="tw_reboot_recovery" var2="1" />
1143 <placement x="%col1_x%" y="%row2_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>Recovery</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=reboot</action>
1149 <action function="set">tw_action=reboot</action>
1150 <action function="set">tw_action_param=recovery</action>
1151 <action function="set">tw_has_action2=0</action>
1152 <action function="set">tw_text1=No OS Installed! Are you</action>
1153 <action function="set">tw_text2=sure you wish to reboot?</action>
1154 <action function="set">tw_action_text1=Rebooting...</action>
1155 <action function="set">tw_complete_text1=Rebooting...</action>
1156 <action function="set">tw_slider_text=Swipe to Reboot</action>
1157 <action function="page">rebootcheck</action>
1158 </actions>
1159 </object>
1160
1161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <condition var1="tw_reboot_bootloader" var2="1" />
1164 <placement x="%col2_x%" y="%row2_y%" />
1165 <font resource="font" color="%button_text_color%" />
1166 <text>Bootloader</text>
1167 <image resource="main_button" />
1168 <actions>
1169 <action function="set">tw_back=reboot</action>
1170 <action function="set">tw_action=reboot</action>
1171 <action function="set">tw_action_param=bootloader</action>
1172 <action function="set">tw_has_action2=0</action>
1173 <action function="set">tw_text1=No OS Installed! Are you</action>
1174 <action function="set">tw_text2=sure you wish to reboot?</action>
1175 <action function="set">tw_action_text1=Rebooting...</action>
1176 <action function="set">tw_complete_text1=Rebooting...</action>
1177 <action function="set">tw_slider_text=Swipe to Reboot</action>
1178 <action function="page">rebootcheck</action>
1179 </actions>
1180 </object>
1181
1182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001183 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001184 <condition var1="tw_download_mode" var2="1" />
1185 <placement x="%col3_x%" y="%row2_y%" />
1186 <font resource="font" color="%button_text_color%" />
1187 <text>Download</text>
1188 <image resource="main_button" />
1189 <actions>
1190 <action function="set">tw_back=reboot</action>
1191 <action function="set">tw_action=reboot</action>
1192 <action function="set">tw_action_param=download</action>
1193 <action function="set">tw_has_action2=0</action>
1194 <action function="set">tw_text1=No OS Installed! Are you</action>
1195 <action function="set">tw_text2=sure you wish to reboot?</action>
1196 <action function="set">tw_action_text1=Rebooting...</action>
1197 <action function="set">tw_complete_text1=Rebooting...</action>
1198 <action function="set">tw_slider_text=Swipe to Reboot</action>
1199 <action function="page">rebootcheck</action>
1200 </actions>
1201 </object>
1202
1203 <object type="action">
1204 <touch key="home" />
1205 <action function="page">main</action>
1206 </object>
1207
1208 <object type="action">
1209 <touch key="back" />
1210 <action function="page">main</action>
1211 </object>
1212
1213 <object type="template" name="footer" />
1214 </page>
1215
1216 <page name="mount">
1217 <object type="template" name="header" />
1218
1219 <object type="text" color="%text_color%">
1220 <font resource="font" />
1221 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1222 <text>Mount Menu</text>
1223 </object>
1224
1225 <object type="button">
1226 <condition var1="tw_has_usb_storage" var2="1" />
1227 <placement x="%col1_x%" y="%row1_y%" />
1228 <font resource="font" color="%button_text_color%" />
1229 <text>Mount USB Storage</text>
1230 <image resource="main_button" />
1231 <action function="page">usb_mount</action>
1232 </object>
1233
1234 <object type="button">
1235 <placement x="%col1_x%" y="%row7_text_y%" />
1236 <font resource="font" color="%text_color%" />
1237 <condition var1="mounted" op="!=" var2="/system" />
1238 <text>Mount System</text>
1239 <image resource="checkbox_false" />
1240 <action function="mount">/system</action>
1241 </object>
1242
1243 <object type="button">
1244 <placement x="%col1_x%" y="%row7_text_y%" />
1245 <font resource="font" color="%text_color%" />
1246 <condition var1="mounted" op="=" var2="/system" />
1247 <text>Unmount System</text>
1248 <image resource="checkbox_true" />
1249 <action function="umount">/system</action>
1250 </object>
1251
1252 <object type="button">
1253 <placement x="%col1_x%" y="%row8_text_y%" />
1254 <font resource="font" color="%text_color%" />
1255 <condition var1="mounted" op="!=" var2="/data" />
1256 <text>Mount Data</text>
1257 <image resource="checkbox_false" />
1258 <action function="mount">/data</action>
1259 </object>
1260
1261 <object type="button">
1262 <placement x="%col1_x%" y="%row8_text_y%" />
1263 <font resource="font" color="%text_color%" />
1264 <condition var1="mounted" op="=" var2="/data" />
1265 <text>Unmount Data</text>
1266 <image resource="checkbox_true" />
1267 <action function="umount">/data</action>
1268 </object>
1269
1270 <object type="button">
1271 <placement x="%col1_x%" y="%row9_text_y%" />
1272 <font resource="font" color="%text_color%" />
1273 <condition var1="mounted" op="!=" var2="/cache" />
1274 <text>Mount Cache</text>
1275 <image resource="checkbox_false" />
1276 <action function="mount">/cache</action>
1277 </object>
1278
1279 <object type="button">
1280 <placement x="%col1_x%" y="%row9_text_y%" />
1281 <font resource="font" color="%text_color%" />
1282 <condition var1="mounted" op="=" var2="/cache" />
1283 <text>Unmount Cache</text>
1284 <image resource="checkbox_true" />
1285 <action function="umount">/cache</action>
1286 </object>
1287
1288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001290 <placement x="%col1_x%" y="%row10_text_y%" />
1291 <font resource="font" color="%text_color%" />
1292 <conditions>
1293 <condition var1="tw_has_external" var2="1" />
1294 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1295 </conditions>
1296 <text>Mount SDCard</text>
1297 <image resource="checkbox_false" />
1298 <action function="mount">EXTERNAL</action>
1299 </object>
1300
1301 <object type="button">
1302 <placement x="%col1_x%" y="%row10_text_y%" />
1303 <font resource="font" color="%text_color%" />
1304 <conditions>
1305 <condition var1="tw_has_external" var2="1" />
1306 <condition var1="mounted" op="=" var2="EXTERNAL" />
1307 </conditions>
1308 <text>Unmount SDCard</text>
1309 <image resource="checkbox_true" />
1310 <action function="umount">EXTERNAL</action>
1311 </object>
1312
1313 <object type="button">
1314 <placement x="%col2_x%" y="%row10_text_y%" />
1315 <font resource="font" color="%text_color%" />
1316 <conditions>
1317 <condition var1="tw_has_internal" var2="1" />
1318 <condition var1="tw_has_data_media" var2="0" />
1319 <condition var1="mounted" op="!=" var2="INTERNAL" />
1320 </conditions>
1321 <text>Mount Internal Storage</text>
1322 <image resource="checkbox_false" />
1323 <action function="mount">INTERNAL</action>
1324 </object>
1325
1326 <object type="button">
1327 <placement x="%col2_x%" y="%row10_text_y%" />
1328 <font resource="font" color="%text_color%" />
1329 <conditions>
1330 <condition var1="tw_has_internal" var2="1" />
1331 <condition var1="tw_has_data_media" var2="0" />
1332 <condition var1="mounted" op="=" var2="INTERNAL" />
1333 </conditions>
1334 <text>Unmount Internal Storage</text>
1335 <image resource="checkbox_true" />
1336 <action function="umount">INTERNAL</action>
1337 </object>
1338
1339 <object type="button">
1340 <conditions>
1341 <condition var1="tw_has_sdext_partition" var2="1" />
1342 <condition var1="mounted" op="!=" var2="/sd-ext" />
1343 </conditions>
1344 <placement x="%col1_x%" y="%row11_text_y%" />
1345 <font resource="font" color="%text_color%" />
1346 <text>Mount SD-Ext</text>
1347 <image resource="checkbox_false" />
1348 <action function="mount">/sd-ext</action>
1349 </object>
1350
1351 <object type="button">
1352 <placement x="%col1_x%" y="%row11_text_y%" />
1353 <font resource="font" color="%text_color%" />
1354 <condition var1="mounted" op="=" var2="/sd-ext" />
1355 <text>Unmount SD-Ext</text>
1356 <image resource="checkbox_true" />
1357 <action function="umount">/sd-ext</action>
1358 </object>
1359
1360 <object type="button">
1361 <conditions>
1362 <condition var1="tw_boot_is_mountable" var2="1" />
1363 <condition var1="mounted" op="!=" var2="/boot" />
1364 </conditions>
1365 <placement x="%col1_x%" y="%row12_text_y%" />
1366 <font resource="font" color="%text_color%" />
1367 <text>Mount Boot</text>
1368 <image resource="checkbox_false" />
1369 <action function="mount">/boot</action>
1370 </object>
1371
1372 <object type="button">
1373 <conditions>
1374 <condition var1="tw_boot_is_mountable" var2="1" />
1375 <condition var1="mounted" op="=" var2="/boot" />
1376 </conditions>
1377 <placement x="%col1_x%" y="%row12_text_y%" />
1378 <font resource="font" color="%text_color%" />
1379 <text>Unmount Boot</text>
1380 <image resource="checkbox_true" />
1381 <action function="umount">/boot</action>
1382 </object>
1383
1384 <object type="button">
1385 <placement x="%col1_x%" y="%row13_text_y%" />
1386 <font resource="font" color="%text_color%" />
1387 <conditions>
1388 <condition var1="tw_has_dual_storage" var2="1" />
1389 <condition var1="tw_use_external_storage" var2="1" />
1390 </conditions>
1391 <text>Using external SD</text>
1392 <image resource="radio_true" />
1393 <action function="togglestorage">external</action>
1394 </object>
1395
1396 <object type="button">
1397 <placement x="%col1_x%" y="%row13_text_y%" />
1398 <font resource="font" color="%text_color%" />
1399 <conditions>
1400 <condition var1="tw_has_dual_storage" var2="1" />
1401 <condition var1="tw_use_external_storage" var2="0" />
1402 </conditions>
1403 <text>Using external SD</text>
1404 <image resource="radio_false" />
1405 <action function="togglestorage">external</action>
1406 </object>
1407
1408 <object type="button">
1409 <placement x="%col2_x%" y="%row13_text_y%" />
1410 <font resource="font" color="%text_color%" />
1411 <conditions>
1412 <condition var1="tw_has_dual_storage" var2="1" />
1413 <condition var1="tw_use_external_storage" var2="1" />
1414 </conditions>
1415 <text>Using internal storage</text>
1416 <image resource="radio_false" />
1417 <action function="togglestorage">internal</action>
1418 </object>
1419
1420 <object type="button">
1421 <placement x="%col2_x%" y="%row13_text_y%" />
1422 <font resource="font" color="%text_color%" />
1423 <conditions>
1424 <condition var1="tw_has_dual_storage" var2="1" />
1425 <condition var1="tw_use_external_storage" var2="0" />
1426 </conditions>
1427 <text>Using internal storage</text>
1428 <image resource="radio_true" />
1429 <action function="togglestorage">internal</action>
1430 </object>
1431
1432 <object type="action">
1433 <touch key="home" />
1434 <action function="page">main</action>
1435 </object>
1436
1437 <object type="action">
1438 <touch key="back" />
1439 <action function="page">main</action>
1440 </object>
1441
1442 <object type="template" name="footer" />
1443 </page>
1444
1445 <page name="usb_mount">
1446 <object type="template" name="header" />
1447
1448 <object type="text" color="%text_color%">
1449 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1450 <font resource="font" />
1451 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1452 </object>
1453
1454 <object type="text" color="%text_color%">
1455 <placement x="%col1_x%" y="%row2_text_y%" />
1456 <font resource="font" />
1457 <text></text>
1458 </object>
1459
1460 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001461 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001462 <placement x="%col_center_x%" y="%row1_y%" />
1463 <font resource="font" color="%button_text_color%" />
1464 <text>Unmount</text>
1465 <image resource="main_button" />
1466 <action function="page">usb_umount</action>
1467 </object>
1468
1469 <object type="action">
1470 <action function="mount">usb</action>
1471 </object>
1472
1473 <object type="template" name="footer" />
1474 </page>
1475
1476 <page name="usb_umount">
1477 <object type="action">
1478 <action function="unmount">usb</action>
1479 </object>
1480
1481 <object type="action">
1482 <action function="page">mount</action>
1483 </object>
1484
1485 <object type="template" name="footer" />
1486 </page>
1487
1488 <page name="wipe">
1489 <object type="template" name="header" />
1490
1491 <object type="text" color="%text_color%">
1492 <font resource="font" />
1493 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1494 <text>Wipe Menu</text>
1495 </object>
1496
1497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001498 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001499 <placement x="%col1_x%" y="%row1_y%" />
1500 <font resource="font" color="%button_text_color%" />
1501 <text>Cache</text>
1502 <image resource="main_button" />
1503 <actions>
1504 <action function="set">tw_back=wipe</action>
1505 <action function="set">tw_action=wipe</action>
1506 <action function="set">tw_action_param=/cache</action>
1507 <action function="set">tw_text1=Wipe Cache?</action>
1508 <action function="set">tw_action_text1=Wiping Cache...</action>
1509 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1510 <action function="set">tw_slider_text=Swipe to Wipe</action>
1511 <action function="page">confirm_action</action>
1512 </actions>
1513 </object>
1514
1515 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001516 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001517 <placement x="%col2_x%" y="%row1_y%" />
1518 <font resource="font" color="%button_text_color%" />
1519 <text>Dalvik Cache</text>
1520 <image resource="main_button" />
1521 <actions>
1522 <action function="set">tw_back=wipe</action>
1523 <action function="set">tw_action=wipe</action>
1524 <action function="set">tw_action_param=dalvik</action>
1525 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1526 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1527 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1528 <action function="set">tw_slider_text=Swipe to Wipe</action>
1529 <action function="page">confirm_action</action>
1530 </actions>
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="%col3_x%" y="%row1_y%" />
1536 <font resource="font" color="%button_text_color%" />
1537 <text>Factory Reset</text>
1538 <image resource="main_button" />
1539 <actions>
1540 <action function="set">tw_back=wipe</action>
1541 <action function="set">tw_action=wipe</action>
1542 <action function="set">tw_action_param=data</action>
1543 <action function="set">tw_text1=Factory Reset?</action>
1544 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1545 <action function="set">tw_action_text1=Factory Reset...</action>
1546 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1547 <action function="set">tw_slider_text=Swipe to Wipe</action>
1548 <action function="page">confirm_action</action>
1549 </actions>
1550 </object>
1551
1552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001553 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001554 <placement x="%col4_x%" y="%row1_y%" />
1555 <font resource="font" color="%button_text_color%" />
1556 <text>System</text>
1557 <image resource="main_button" />
1558 <actions>
1559 <action function="set">tw_back=wipe</action>
1560 <action function="set">tw_action=wipe</action>
1561 <action function="set">tw_action_param=/system</action>
1562 <action function="set">tw_text1=Wipe System?</action>
1563 <action function="set">tw_text2=This will wipe your ROM</action>
1564 <action function="set">tw_action_text1=Wiping System...</action>
1565 <action function="set">tw_complete_text1=System Wipe Complete</action>
1566 <action function="set">tw_slider_text=Swipe to Wipe</action>
1567 <action function="page">confirm_action</action>
1568 </actions>
1569 </object>
1570
1571 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001572 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001573 <condition var1="tw_has_external" var2="1" />
1574 <placement x="%col1_x%" y="%row2_y%" />
1575 <font resource="font" color="%button_text_color%" />
1576 <text>External Storage</text>
1577 <image resource="main_button" />
1578 <actions>
1579 <action function="set">tw_back=wipe</action>
1580 <action function="set">tw_action=wipe</action>
1581 <action function="set">tw_action_param=EXTERNAL</action>
1582 <action function="set">tw_has_action2=1</action>
1583 <action function="set">tw_action2=set</action>
1584 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1585 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1586 <action function="set">tw_action_text1=Wiping External Storage...</action>
1587 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1588 <action function="set">tw_slider_text=Swipe to Wipe</action>
1589 <action function="page">confirm_action</action>
1590 </actions>
1591 </object>
1592
1593 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001594 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001595 <condition var1="tw_has_internal" var2="1" />
1596 <placement x="%col2_x%" y="%row2_y%" />
1597 <font resource="font" color="%button_text_color%" />
1598 <text>Internal Storage</text>
1599 <image resource="main_button" />
1600 <actions>
1601 <action function="set">tw_back=wipe</action>
1602 <action function="set">tw_action=wipe</action>
1603 <action function="set">tw_action_param=INTERNAL</action>
1604 <action function="set">tw_has_action2=1</action>
1605 <action function="set">tw_action2=set</action>
1606 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1607 <action function="set">tw_text1=Wipe Internal Storage?</action>
1608 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1609 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1610 <action function="set">tw_slider_text=Swipe to Wipe</action>
1611 <action function="page">confirm_action</action>
1612 </actions>
1613 </object>
1614
1615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001617 <conditions>
1618 <condition var1="tw_has_internal" var2="1" />
1619 <condition var1="tw_has_data_media" var2="1" />
1620 </conditions>
1621 <placement x="%col3_x%" y="%row2_y%" />
1622 <font resource="font" color="%button_text_color%" />
1623 <text>Format Data</text>
1624 <image resource="main_button" />
1625 <actions>
1626 <action function="set">tw_back=wipe</action>
1627 <action function="set">tw_action=wipe</action>
1628 <action function="set">tw_action_param=DATAMEDIA</action>
1629 <action function="set">tw_has_action2=1</action>
1630 <action function="set">tw_action2=set</action>
1631 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1632 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1633 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001634 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001635 <action function="set">tw_action_text1=Formatting Data...</action>
1636 <action function="set">tw_complete_text1=Data Format Complete</action>
1637 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001638 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001639 <action function="page">confirm_action</action>
1640 </actions>
1641 </object>
1642
1643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001644 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001645 <condition var1="tw_has_data_media" var2="0" />
1646 <placement x="%col3_x%" y="%row2_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Android Secure</text>
1649 <image resource="main_button" />
1650 <actions>
1651 <action function="set">tw_back=wipe</action>
1652 <action function="set">tw_action=wipe</action>
1653 <action function="set">tw_action_param=ANDROIDSECURE</action>
1654 <action function="set">tw_text1=Wipe Android Secure?</action>
1655 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1656 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1657 <action function="set">tw_slider_text=Swipe to Format</action>
1658 <action function="page">confirm_action</action>
1659 </actions>
1660 </object>
1661
1662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001663 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001664 <condition var1="tw_has_sdext_partition" var2="1" />
1665 <placement x="%col4_x%" y="%row2_y%" />
1666 <font resource="font" color="%button_text_color%" />
1667 <text>SD Ext</text>
1668 <image resource="main_button" />
1669 <actions>
1670 <action function="set">tw_back=wipe</action>
1671 <action function="set">tw_action=wipe</action>
1672 <action function="set">tw_action_param=/sd-ext</action>
1673 <action function="set">tw_text1=Wipe SD-Ext?</action>
1674 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1675 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1676 <action function="set">tw_slider_text=Swipe to Wipe</action>
1677 <action function="page">confirm_action</action>
1678 </actions>
1679 </object>
1680
1681 <object type="action">
1682 <touch key="home" />
1683 <action function="page">main</action>
1684 </object>
1685
1686 <object type="action">
1687 <touch key="back" />
1688 <action function="page">main</action>
1689 </object>
1690
1691 <object type="template" name="footer" />
1692 </page>
1693
1694 <page name="backup">
1695 <object type="template" name="header" />
1696
1697 <object type="text" color="%text_color%">
1698 <font resource="font" />
1699 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1700 <text>Back Up Device</text>
1701 </object>
1702
1703 <object type="text" color="%text_color%">
1704 <font resource="font" />
1705 <placement x="%col1_x%" y="%row2_text_y%" placement="0" />
1706 <text>Free Space: %tw_storage_free_size% MB</text>
1707 </object>
1708
1709 <object type="text" color="%text_color%">
1710 <font resource="font" />
1711 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1712 <text>Backup Name: %tw_backup_name%</text>
1713 </object>
1714
1715 <object type="checkbox">
1716 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
1717 <font resource="font" color="%text_color%" />
1718 <text>System (%tw_backup_system_size% MB)</text>
1719 <data variable="tw_backup_system" />
1720 <image checked="checkbox_true" unchecked="checkbox_false" />
1721 </object>
1722
1723 <object type="checkbox">
1724 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
1725 <font resource="font" color="%text_color%" />
1726 <text>Data (%tw_backup_data_size% MB)</text>
1727 <data variable="tw_backup_data" />
1728 <image checked="checkbox_true" unchecked="checkbox_false" />
1729 </object>
1730
1731 <object type="checkbox">
1732 <condition var1="tw_has_boot_partition" var2="1" />
1733 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
1734 <font resource="font" color="%text_color%" />
1735 <text>Boot (%tw_backup_boot_size% MB)</text>
1736 <data variable="tw_backup_boot" />
1737 <image checked="checkbox_true" unchecked="checkbox_false" />
1738 </object>
1739
1740 <object type="checkbox">
1741 <condition var1="tw_has_recovery_partition" var2="1" />
1742 <placement x="%nandcheck_col1%" y="%nandcheck_row4%" />
1743 <font resource="font" color="%text_color%" />
1744 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1745 <data variable="tw_backup_recovery" />
1746 <image checked="checkbox_true" unchecked="checkbox_false" />
1747 </object>
1748
1749 <object type="checkbox">
1750 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
1751 <font resource="font" color="%text_color%" />
1752 <text>Cache (%tw_backup_cache_size% MB)</text>
1753 <data variable="tw_backup_cache" />
1754 <image checked="checkbox_true" unchecked="checkbox_false" />
1755 </object>
1756
1757 <object type="checkbox">
1758 <condition var1="tw_has_android_secure" var2="1" />
1759 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
1760 <font resource="font" color="%text_color%" />
1761 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1762 <data variable="tw_backup_andsec" />
1763 <image checked="checkbox_true" unchecked="checkbox_false" />
1764 </object>
1765
1766 <object type="checkbox">
1767 <condition var1="tw_has_sdext_partition" var2="1" />
1768 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
1769 <font resource="font" color="%text_color%" />
1770 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1771 <data variable="tw_backup_sdext" />
1772 <image checked="checkbox_true" unchecked="checkbox_false" />
1773 </object>
1774
1775 <object type="checkbox">
1776 <condition var1="tw_sp1_name" op=">" var2="" />
1777 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
1778 <font resource="font" color="%text_color%" />
1779 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1780 <data variable="tw_backup_sp1" />
1781 <image checked="checkbox_true" unchecked="checkbox_false" />
1782 </object>
1783
1784 <object type="checkbox">
1785 <condition var1="tw_sp2_name" op=">" var2="" />
1786 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
1787 <font resource="font" color="%text_color%" />
1788 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1789 <data variable="tw_backup_sp2" />
1790 <image checked="checkbox_true" unchecked="checkbox_false" />
1791 </object>
1792
1793 <object type="checkbox">
1794 <condition var1="tw_sp3_name" op=">" var2="" />
1795 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
1796 <font resource="font" color="%text_color%" />
1797 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1798 <data variable="tw_backup_sp3" />
1799 <image checked="checkbox_true" unchecked="checkbox_false" />
1800 </object>
1801
1802 <object type="checkbox">
1803 <placement x="%col1_x%" y="%nandcheck_row6%" />
1804 <font resource="font" color="%text_color%" />
1805 <text>Enable Compression (Requires more time)</text>
1806 <data variable="tw_use_compression" />
1807 <image checked="checkbox_true" unchecked="checkbox_false" />
1808 </object>
1809
1810 <object type="checkbox">
1811 <placement x="%col3_x%" y="%nandcheck_row6%" />
1812 <font resource="font" color="%text_color%" />
1813 <text>Skip MD5 generation on backups</text>
1814 <data variable="tw_skip_md5_generate" />
1815 <image checked="checkbox_true" unchecked="checkbox_false" />
1816 </object>
1817
1818 <object type="button">
1819 <placement x="%col2_x%" y="%nandcheck_row7%" />
1820 <font resource="font" color="%text_color%" />
1821 <conditions>
1822 <condition var1="tw_has_dual_storage" var2="1" />
1823 <condition var1="tw_use_external_storage" var2="1" />
1824 </conditions>
1825 <text>Using external SD</text>
1826 <image resource="radio_true" />
1827 <action function="togglestorage">external</action>
1828 </object>
1829
1830 <object type="button">
1831 <placement x="%col2_x%" y="%nandcheck_row7%" />
1832 <font resource="font" color="%text_color%" />
1833 <conditions>
1834 <condition var1="tw_has_dual_storage" var2="1" />
1835 <condition var1="tw_use_external_storage" var2="0" />
1836 </conditions>
1837 <text>Using external SD</text>
1838 <image resource="radio_false" />
1839 <action function="togglestorage">external</action>
1840 </object>
1841
1842 <object type="button">
1843 <placement x="%col3_x%" y="%nandcheck_row7%" />
1844 <font resource="font" color="%text_color%" />
1845 <conditions>
1846 <condition var1="tw_has_dual_storage" var2="1" />
1847 <condition var1="tw_use_external_storage" var2="1" />
1848 </conditions>
1849 <text>Using internal storage</text>
1850 <image resource="radio_false" />
1851 <action function="togglestorage">internal</action>
1852 </object>
1853
1854 <object type="button">
1855 <placement x="%col3_x%" y="%nandcheck_row7%" />
1856 <font resource="font" color="%text_color%" />
1857 <conditions>
1858 <condition var1="tw_has_dual_storage" var2="1" />
1859 <condition var1="tw_use_external_storage" var2="0" />
1860 </conditions>
1861 <text>Using internal storage</text>
1862 <image resource="radio_true" />
1863 <action function="togglestorage">internal</action>
1864 </object>
1865
1866 <object type="slider">
1867 <placement x="%slider_x%" y="%slider_y%" />
1868 <resource base="slider" used="slider-used" touch="slider-touch" />
1869 <actions>
1870 <action function="set">tw_operation_state=0</action>
1871 <action function="page">backup_run</action>
1872 </actions>
1873 </object>
1874
1875 <object type="text" color="%text_color%">
1876 <font resource="font" />
1877 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1878 <text>Swipe to Back Up</text>
1879 </object>
1880
1881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001883 <placement x="%col4_x%" y="%row1_y%" />
1884 <font resource="font" color="%button_text_color%" />
1885 <text>Refresh Sizes</text>
1886 <image resource="main_button" />
1887 <action function="refreshsizes"></action>
1888 </object>
1889
1890 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001891 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001892 <placement x="%col4_x%" y="%backup_name_button_y%" />
1893 <font resource="font" color="%button_text_color%" />
1894 <text>Set Backup Name</text>
1895 <image resource="main_button" />
1896 <actions>
1897 <action function="set">tw_fileexists=0</action>
1898 <action function="page">backupname1</action>
1899 </actions>
1900 </object>
1901
1902 <object type="action">
1903 <touch key="home" />
1904 <action function="page">main</action>
1905 </object>
1906
1907 <object type="action">
1908 <touch key="back" />
1909 <action function="page">main</action>
1910 </object>
1911
1912 <object type="template" name="footer" />
1913 </page>
1914
1915 <page name="backupname1">
1916 <object type="action">
1917 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1918 <action function="set">tw_backup_name=</function>
1919 </object>
1920
1921 <object type="action">
1922 <action function="page">backupname2</function>
1923 </object>
1924 </page>
1925
1926 <page name="backupname2">
1927 <object type="template" name="header" />
1928
1929 <object type="text" color="%text_color%">
1930 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1931 <font resource="font" />
1932 <text>Please Enter a Backup Name</text>
1933 </object>
1934
1935 <object type="input">
1936 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1937 <background color="%input_background_color%" />
1938 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1939 <font resource="font" color="%text_color%" />
1940 <text>%tw_backup_name%</text>
1941 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001942 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001943 <actions>
1944 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1945 <action function="set">tw_existpage=backupname2</action>
1946 <action function="set">tw_notexistpage=backup</action>
1947 <action function="page">filecheck</action>
1948 </actions>
1949 </object>
1950
1951 <object type="text" color="%text_fail_color%">
1952 <condition var1="tw_fileexists" var2="1" />
1953 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1954 <font resource="font" />
1955 <text>A backup with that name already exists!</text>
1956 </object>
1957
1958 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001959 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001960 <placement x="%col_center_x%" y="%cancel_button_y%" />
1961 <font resource="font" color="%button_text_color%" />
1962 <text>Cancel / Clear</text>
1963 <image resource="main_button" />
1964 <actions>
1965 <action function="set">tw_backup_name=(Current Date)</action>
1966 <action function="page">backup</action>
1967 </actions>
1968 </object>
1969
1970 <object type="template" name="keyboardtemplate" />
1971
1972 <object type="action">
1973 <touch key="home" />
1974 <actions>
1975 <action function="set">tw_backup_name=(Current Date)</action>
1976 <action function="page">main</action>
1977 </actions>
1978 </object>
1979
1980 <object type="action">
1981 <touch key="back" />
1982 <actions>
1983 <action function="set">tw_backup_name=(Current Date)</action>
1984 <action function="page">backup</action>
1985 </actions>
1986 </object>
1987
1988 <object type="template" name="footer" />
1989 </page>
1990
1991 <page name="backup_run">
1992 <object type="template" name="header" />
1993
1994 <object type="text" color="%text_color%">
1995 <font resource="font" />
1996 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1997 <text>%tw_operation% %tw_partition%</text>
1998 </object>
1999
2000 <object type="template" name="action_page_console" />
2001
2002 <object type="template" name="progress_bar" />
2003
2004 <object type="action">
2005 <action function="nandroid">backup</action>
2006 </object>
2007
2008 <object type="action">
2009 <condition var1="tw_operation_state" var2="1" />
2010 <actions>
2011 <action function="set">tw_back=backup</action>
2012 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002013 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002014 <action function="page">action_complete</action>
2015 </actions>
2016 </object>
2017
2018 <object type="template" name="footer" />
2019 </page>
2020
2021 <page name="restore">
2022 <object type="template" name="header" />
2023
2024 <object type="button">
2025 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2026 <font resource="font" color="%text_color%" />
2027 <conditions>
2028 <condition var1="tw_has_dual_storage" var2="1" />
2029 <condition var1="tw_use_external_storage" var2="1" />
2030 </conditions>
2031 <text>Using external SD</text>
2032 <image resource="radio_true" />
2033 <action function="togglestorage">external</action>
2034 </object>
2035
2036 <object type="button">
2037 <placement x="%col2_x%" y="%zipstorage_text_y%" />
2038 <font resource="font" color="%text_color%" />
2039 <conditions>
2040 <condition var1="tw_has_dual_storage" var2="1" />
2041 <condition var1="tw_use_external_storage" var2="0" />
2042 </conditions>
2043 <text>Using external SD</text>
2044 <image resource="radio_false" />
2045 <action function="togglestorage">external</action>
2046 </object>
2047
2048 <object type="button">
2049 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2050 <font resource="font" color="%text_color%" />
2051 <conditions>
2052 <condition var1="tw_has_dual_storage" var2="1" />
2053 <condition var1="tw_use_external_storage" var2="1" />
2054 </conditions>
2055 <text>Using internal storage</text>
2056 <image resource="radio_false" />
2057 <action function="togglestorage">internal</action>
2058 </object>
2059
2060 <object type="button">
2061 <placement x="%col3_x%" y="%zipstorage_text_y%" />
2062 <font resource="font" color="%text_color%" />
2063 <conditions>
2064 <condition var1="tw_has_dual_storage" var2="1" />
2065 <condition var1="tw_use_external_storage" var2="0" />
2066 </conditions>
2067 <text>Using internal storage</text>
2068 <image resource="radio_true" />
2069 <action function="togglestorage">internal</action>
2070 </object>
2071
2072 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002073 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002074 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2076 <text>Select Package to Restore:</text>
2077 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2078 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002079 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002080 <icon folder="folder_icon" file="file_icon" />
2081 <background color="%fileselector_background%" />
2082 <filter folders="1" files="0" nav="0" />
2083 <path name="tw_backups_folder" />
2084 <data name="tw_restore" default="" />
2085 <selection name="tw_restore_name" />
2086 </object>
2087
2088 <object type="template" name="sort_options" />
2089
2090 <object type="action">
2091 <condition var1="tw_restore" op="modified" />
2092 <actions>
2093 <action function="readBackup"></action>
2094 <action function="page">restore_select</action>
2095 </actions>
2096 </object>
2097
Gary Peckffdc6ae2012-11-21 18:02:02 -08002098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002099 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002100 <conditions>
2101 <condition var1="tw_is_encrypted" var2="1" />
2102 <condition var1="tw_is_decrypted" var2="0" />
2103 </conditions>
2104 <placement x="%col2_x%" y="row3_y" />
2105 <font resource="font" color="%button_text_color%" />
2106 <text>Decrypt Data</text>
2107 <image resource="main_button" />
2108 <action function="page">decrypt</action>
2109 </object>
2110
Dees_Troy51a0e822012-09-05 15:24:24 -04002111 <object type="action">
2112 <touch key="home" />
2113 <action function="page">main</action>
2114 </object>
2115
2116 <object type="action">
2117 <touch key="back" />
2118 <action function="page">main</action>
2119 </object>
2120
2121 <object type="template" name="footer" />
2122 </page>
2123
2124 <page name="restore_select">
2125 <object type="template" name="header" />
2126
2127 <object type="text" color="%text_color%">
2128 <font resource="font" />
2129 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2130 <text>Package to Restore: %tw_restore_name%</text>
2131 </object>
2132
2133 <object type="text" color="%text_color%">
2134 <font resource="font" />
2135 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2136 <text>Package Date: %tw_restore_file_date%</text>
2137 </object>
2138
2139 <object type="checkbox">
2140 <placement x="%nandcheck_col1%" y="%nandcheck_row1%" />
2141 <font resource="font" color="%text_color%" />
2142 <text>System</text>
2143 <condition var1="tw_restore_system" op=">=" var2="0" />
2144 <data variable="tw_restore_system" />
2145 <image checked="checkbox_true" unchecked="checkbox_false" />
2146 </object>
2147
2148 <object type="checkbox">
2149 <placement x="%nandcheck_col1%" y="%nandcheck_row2%" />
2150 <font resource="font" color="%text_color%" />
2151 <text>Data</text>
2152 <condition var1="tw_restore_data" op=">=" var2="0" />
2153 <data variable="tw_restore_data" />
2154 <image checked="checkbox_true" unchecked="checkbox_false" />
2155 </object>
2156
2157 <object type="checkbox">
2158 <placement x="%nandcheck_col1%" y="%nandcheck_row3%" />
2159 <font resource="font" color="%text_color%" />
2160 <text>Boot</text>
2161 <condition var1="tw_restore_boot" op=">=" var2="0" />
2162 <data variable="tw_restore_boot" />
2163 <image checked="checkbox_true" unchecked="checkbox_false" />
2164 </object>
2165
2166 <object type="checkbox">
2167 <placement x="%nandcheck_col1%" y="%nandcheck_row5%" />
2168 <font resource="font" color="%text_color%" />
2169 <text>Cache</text>
2170 <condition var1="tw_restore_cache" op=">=" var2="0" />
2171 <data variable="tw_restore_cache" />
2172 <image checked="checkbox_true" unchecked="checkbox_false" />
2173 </object>
2174
2175 <object type="checkbox">
2176 <placement x="%nandcheck_col2%" y="%nandcheck_row1%" />
2177 <font resource="font" color="%text_color%" />
2178 <text>.android_secure</text>
2179 <condition var1="tw_restore_andsec" op=">=" var2="0" />
2180 <data variable="tw_restore_andsec" />
2181 <image checked="checkbox_true" unchecked="checkbox_false" />
2182 </object>
2183
2184 <object type="checkbox">
2185 <placement x="%nandcheck_col2%" y="%nandcheck_row2%" />
2186 <font resource="font" color="%text_color%" />
2187 <text>sd-ext</text>
2188 <condition var1="tw_restore_sdext" op=">=" var2="0" />
2189 <data variable="tw_restore_sdext" />
2190 <image checked="checkbox_true" unchecked="checkbox_false" />
2191 </object>
2192
2193 <object type="checkbox">
2194 <placement x="%nandcheck_col2%" y="%nandcheck_row3%" />
2195 <font resource="font" color="%text_color%" />
2196 <text>%tw_sp1_name%</text>
2197 <condition var1="tw_restore_sp1" op=">=" var2="0" />
2198 <data variable="tw_restore_sp1" />
2199 <image checked="checkbox_true" unchecked="checkbox_false" />
2200 </object>
2201
2202 <object type="checkbox">
2203 <placement x="%nandcheck_col2%" y="%nandcheck_row4%" />
2204 <font resource="font" color="%text_color%" />
2205 <text>%tw_sp2_name%</text>
2206 <condition var1="tw_restore_sp2" op=">=" var2="0" />
2207 <data variable="tw_restore_sp2" />
2208 <image checked="checkbox_true" unchecked="checkbox_false" />
2209 </object>
2210
2211 <object type="checkbox">
2212 <placement x="%nandcheck_col2%" y="%nandcheck_row5%" />
2213 <font resource="font" color="%text_color%" />
2214 <text>%tw_sp3_name%</text>
2215 <condition var1="tw_restore_sp3" op=">=" var2="0" />
2216 <data variable="tw_restore_sp3" />
2217 <image checked="checkbox_true" unchecked="checkbox_false" />
2218 </object>
2219
2220 <object type="checkbox">
2221 <placement x="%col1_x%" y="%nandcheck_row6%" />
2222 <font resource="font" color="%text_color%" />
2223 <text>Enable MD5 checking of backup files</text>
2224 <data variable="tw_skip_md5_check" />
2225 <image checked="checkbox_true" unchecked="checkbox_false" />
2226 </object>
2227
2228 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002229 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002230 <placement x="%col4_x%" y="%row1_y%" />
2231 <font resource="font" color="%button_text_color%" />
2232 <text>Rename Backup</text>
2233 <image resource="main_button" />
2234 <actions>
2235 <action function="set">tw_backup_rename=</action>
2236 <action function="set">tw_fileexists=0</action>
2237 <action function="page">renamebackup</action>
2238 </actions>
2239 </object>
2240
2241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002243 <placement x="%col4_x%" y="%backup_name_button_y%" />
2244 <font resource="font" color="%button_text_color%" />
2245 <text>Delete Backup</text>
2246 <image resource="main_button" />
2247 <actions>
2248 <action function="set">tw_back=restore</action>
2249 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002250 <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 -04002251 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2252 <action function="set">tw_text2=This cannot be undone!</action>
2253 <action function="set">tw_action_text1=Deleting Backup...</action>
2254 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2255 <action function="set">tw_slider_text=Swipe to Delete</action>
2256 <action function="page">confirm_action</action>
2257 </actions>
2258 </object>
2259
2260 <object type="slider">
2261 <placement x="%slider_x%" y="%slider_y%" />
2262 <resource base="slider" used="slider-used" touch="slider-touch" />
2263 <action function="page">restore_run</action>
2264 </object>
2265
2266 <object type="text" color="%text_color%">
2267 <font resource="font" />
2268 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2269 <text>Swipe to Restore</text>
2270 </object>
2271
2272 <object type="action">
2273 <touch key="home" />
2274 <action function="page">main</action>
2275 </object>
2276
2277 <object type="action">
2278 <touch key="back" />
2279 <action function="page">restore</action>
2280 </object>
2281
2282 <object type="template" name="footer" />
2283 </page>
2284
2285 <page name="renamebackup">
2286 <object type="template" name="header" />
2287
2288 <object type="text" color="%text_color%">
2289 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2290 <font resource="font" />
2291 <text>Please Enter a New Backup Name</text>
2292 </object>
2293
2294 <object type="input">
2295 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2296 <background color="%input_background_color%" />
2297 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2298 <font resource="font" color="%text_color%" />
2299 <text>%tw_backup_rename%</text>
2300 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002301 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002302 <actions>
2303 <action function="set">tw_back=restore</action>
2304 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002305 <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 -04002306 <action function="set">tw_text1=Rename Backup?</action>
2307 <action function="set">tw_text2=This cannot be undone!</action>
2308 <action function="set">tw_action_text1=Renaming Backup...</action>
2309 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2310 <action function="set">tw_slider_text=Swipe to Rename</action>
2311 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2312 <action function="set">tw_existpage=renamebackup</action>
2313 <action function="set">tw_notexistpage=confirm_action</action>
2314 <action function="page">filecheck</action>
2315 </actions>
2316 </object>
2317
2318 <object type="text" color="%text_fail_color%">
2319 <condition var1="tw_fileexists" var2="1" />
2320 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2321 <font resource="font" />
2322 <text>A backup with that name already exists!</text>
2323 </object>
2324
2325 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002326 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002327 <placement x="%col_center_x%" y="%cancel_button_y%" />
2328 <font resource="font" color="%button_text_color%" />
2329 <text>Cancel</text>
2330 <image resource="main_button" />
2331 <action function="page">restore_select</action>
2332 </object>
2333
2334 <object type="template" name="keyboardtemplate" />
2335
2336 <object type="action">
2337 <touch key="home" />
2338 <action function="page">main</action>
2339 </object>
2340
2341 <object type="action">
2342 <touch key="back" />
2343 <action function="page">restore_select</action>
2344 </object>
2345
2346 <object type="template" name="footer" />
2347 </page>
2348
2349 <page name="restore_run">
2350 <object type="template" name="header" />
2351
2352 <object type="text" color="%text_color%">
2353 <font resource="font" />
2354 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2355 <text>%tw_operation% %tw_partition%</text>
2356 </object>
2357
2358 <object type="template" name="action_page_console" />
2359
2360 <object type="template" name="progress_bar" />
2361
2362 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002363 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002364 <actions>
2365 <action function="set">tw_back=restore_select</action>
2366 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002367 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002368 <action function="page">action_complete</action>
2369 </actions>
2370 </object>
2371
2372 <object type="action">
2373 <action function="nandroid">restore</action>
2374 </object>
2375 </page>
2376
2377 <page name="settings">
2378 <object type="template" name="header" />
2379
2380 <object type="text" color="%text_color%">
2381 <font resource="font" />
2382 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2383 <text>Settings</text>
2384 </object>
2385
2386 <object type="checkbox">
2387 <placement x="%col1_x%" y="%row2_text_y%" />
2388 <font resource="font" color="%text_color%" />
2389 <text>Zip file signature verification?</text>
2390 <data variable="tw_signed_zip_verify" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
2395 <placement x="%col1_x%" y="%row3_text_y%" />
2396 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <text>Use rm -rf instead of formatting?</text>
2398 <data variable="tw_rm_rf" />
2399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
2405 <text>Skip MD5 generation on backups</text>
2406 <data variable="tw_skip_md5_generate" />
2407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002411 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <font resource="font" color="%text_color%" />
2413 <text>Enable MD5 checking of backup files</text>
2414 <data variable="tw_skip_md5_check" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002419 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <font resource="font" color="%text_color%" />
2421 <text>Ignore image size errors during backup</text>
2422 <data variable="tw_ignore_image_size" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002427 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002428 <font resource="font" color="%text_color%" />
2429 <text>Simulate most actions for theme testing</text>
2430 <data variable="tw_simulate_actions" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="checkbox">
2435 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002436 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <font resource="font" color="%text_color%" />
2438 <text>Simulate failure for actions</text>
2439 <data variable="tw_simulate_fail" />
2440 <image checked="checkbox_true" unchecked="checkbox_false" />
2441 </object>
2442
2443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002445 <placement x="%col1_x%" y="%row2_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Time Zone</text>
2448 <image resource="main_button" />
2449 <action function="page">timezone</action>
2450 </object>
2451
2452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002453 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002454 <placement x="%col4_x%" y="%row2_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Screen</text>
2457 <image resource="main_button" />
2458 <action function="page">screen</action>
2459 </object>
2460
2461 <object type="button">
2462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <placement x="%col_center_x%" y="%slider_y%" />
2464 <font resource="font" color="%button_text_color%" />
2465 <text>Restore Defaults</text>
2466 <image resource="main_button" />
2467 <action function="restoredefaultsettings"></action>
2468 </object>
2469
2470 <object type="action">
2471 <touch key="home" />
2472 <action function="page">main</action>
2473 </object>
2474
2475 <object type="action">
2476 <touch key="back" />
2477 <action function="page">main</action>
2478 </object>
2479
2480 <object type="template" name="footer" />
2481 </page>
2482
2483 <page name="timezone">
2484 <object type="template" name="header" />
2485
2486 <object type="text" color="%text_color%">
2487 <font resource="font" />
2488 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2489 <text>Select Time Zone</text>
2490 </object>
2491
2492 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002493 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2496 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002500 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <data name="tw_time_zone_guisel" />
2502 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2503 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2504 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2505 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2506 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2507 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2508 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2509 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2510 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2511 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2512 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2513 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2514 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2515 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2516 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2517 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2518 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2519 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2520 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2521 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2522 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2523 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2524 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2525 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2526 </object>
2527
2528 <object type="checkbox">
2529 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2530 <font resource="font" color="%text_color%" />
2531 <text>Do you use daylight savings time (DST)?</text>
2532 <data variable="tw_time_zone_guidst" />
2533 <image checked="checkbox_true" unchecked="checkbox_false" />
2534 </object>
2535
2536 <object type="text" color="%text_color%">
2537 <font resource="font" />
2538 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2539 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2540 </object>
2541
2542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2545 <font resource="font" color="%button_text_color%" />
2546 <text>0</text>
2547 <image resource="medium_button" />
2548 <action function="set">tw_time_zone_guioffset=0</action>
2549 </object>
2550
2551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002552 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>15</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_time_zone_guioffset=15</action>
2558 </object>
2559
2560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002562 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>30</text>
2565 <image resource="medium_button" />
2566 <action function="set">tw_time_zone_guioffset=30</action>
2567 </object>
2568
2569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>45</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=45</action>
2576 </object>
2577
2578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002579 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002580 <placement x="%col4_x%" y="%row2_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>Set Time Zone</text>
2583 <image resource="main_button" />
2584 <action function="setguitimezone"></action>
2585 </object>
2586
2587 <object type="text" color="%text_color%">
2588 <font resource="font" />
2589 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2590 <text>Current Time Zone: %tw_time_zone%</text>
2591 </object>
2592
2593 <object type="action">
2594 <touch key="home" />
2595 <action function="page">main</action>
2596 </object>
2597
2598 <object type="action">
2599 <touch key="back" />
2600 <action function="page">settings</action>
2601 </object>
2602
2603 <object type="template" name="footer" />
2604 </page>
2605
Dees_Troy2f9117a2013-02-17 19:52:09 -06002606 <page name="screen">
2607 <object type="template" name="header" />
2608
2609 <object type="text" color="%text_color%">
2610 <font resource="font" />
2611 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2612 <text>Screen Settings</text>
2613 </object>
2614
2615 <object type="text" color="%text_color%">
2616 <font resource="font" />
2617 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2618 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2619 </object>
2620
2621 <object type="button">
2622 <placement x="%col1_medium_x%" y="%row2_medium_y%" />
2623 <font resource="font" color="%button_text_color%" />
2624 <text>None</text>
2625 <image resource="medium_button" />
2626 <action function="set">tw_screen_timeout_secs=0</action>
2627 </object>
2628
2629 <object type="button">
2630 <placement x="%col2_medium_x%" y="%row2_medium_y%" />
2631 <font resource="font" color="%button_text_color%" />
2632 <text>60</text>
2633 <image resource="medium_button" />
2634 <action function="set">tw_screen_timeout_secs=60</action>
2635 </object>
2636
2637 <object type="button">
2638 <placement x="%col3_medium_x%" y="%row2_medium_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>120</text>
2641 <image resource="medium_button" />
2642 <action function="set">tw_screen_timeout_secs=120</action>
2643 </object>
2644
2645 <object type="button">
2646 <placement x="%col4_medium_x%" y="%row2_medium_y%" />
2647 <font resource="font" color="%button_text_color%" />
2648 <text>180</text>
2649 <image resource="medium_button" />
2650 <action function="set">tw_screen_timeout_secs=180</action>
2651 </object>
2652
2653 <object type="text" color="%text_color%">
2654 <condition var1="tw_has_brightnesss_file" var2="1" />
2655 <font resource="font" />
2656 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2657 <text>Brightness: %tw_brightness_display%</text>
2658 </object>
2659
2660 <object type="button">
2661 <condition var1="tw_has_brightnesss_file" var2="1" />
2662 <placement x="%col1_medium_x%" y="%row4_medium_y%" />
2663 <font resource="font" color="%button_text_color%" />
2664 <text>25%</text>
2665 <image resource="medium_button" />
2666 <actions>
2667 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2668 <action function="set">tw_brightness_display=25%</action>
2669 <action function="set">tw_brightness=%tw_brightness_25%</action>
2670 </actions>
2671 </object>
2672
2673 <object type="button">
2674 <condition var1="tw_has_brightnesss_file" var2="1" />
2675 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2676 <font resource="font" color="%button_text_color%" />
2677 <text>50%</text>
2678 <image resource="medium_button" />
2679 <actions>
2680 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2681 <action function="set">tw_brightness_display=50%</action>
2682 <action function="set">tw_brightness=%tw_brightness_50%</action>
2683 </actions>
2684 </object>
2685
2686 <object type="button">
2687 <condition var1="tw_has_brightnesss_file" var2="1" />
2688 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>75%</text>
2691 <image resource="medium_button" />
2692 <actions>
2693 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2694 <action function="set">tw_brightness_display=75%</action>
2695 <action function="set">tw_brightness=%tw_brightness_75%</action>
2696 </actions>
2697 </object>
2698
2699 <object type="button">
2700 <condition var1="tw_has_brightnesss_file" var2="1" />
2701 <placement x="%col4_medium_x%" y="%row4_medium_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>100%</text>
2704 <image resource="medium_button" />
2705 <actions>
2706 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2707 <action function="set">tw_brightness_display=100%</action>
2708 <action function="set">tw_brightness=%tw_brightness_100%</action>
2709 </actions>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="home" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="back" />
2719 <action function="page">settings</action>
2720 </object>
2721
2722 <object type="template" name="footer" />
2723 </page>
2724
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <page name="advanced">
2726 <object type="template" name="header" />
2727
2728 <object type="text" color="%text_color%">
2729 <font resource="font" />
2730 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2731 <text>Advanced</text>
2732 </object>
2733
2734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <placement x="%col1_x%" y="%row1_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Copy Log to SD</text>
2739 <image resource="main_button" />
2740 <actions>
2741 <action function="set">tw_back=advanced</action>
2742 <action function="set">tw_action=copylog</action>
2743 <action function="set">tw_text1=Copy Log to SD Card?</action>
2744 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2745 <action function="set">tw_complete_text1=Log Copy Complete</action>
2746 <action function="set">tw_slider_text=Swipe to Confirm</action>
2747 <action function="page">confirm_action</action>
2748 </actions>
2749 </object>
2750
2751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <placement x="%col2_x%" y="%row1_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text>Fix Permissions</text>
2756 <image resource="main_button" />
2757 <actions>
2758 <action function="set">tw_back=advanced</action>
2759 <action function="set">tw_action=fixpermissions</action>
2760 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2763 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002764 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <action function="page">confirm_action</action>
2766 </actions>
2767 </object>
2768
2769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%col3_x%" y="%row1_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Terminal Command</text>
2774 <image resource="main_button" />
2775 <action function="page">terminalfolder</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002780 <placement x="%col4_x%" y="%row1_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>ADB Sideload</text>
2783 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002784 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <condition var1="tw_allow_partition_sdcard" var2="1" />
2790 <placement x="%col1_x%" y="%row2_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text>Partition SD Card</text>
2793 <image resource="main_button" />
2794 <action function="page">partsdcard</action>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <placement x="%col2_x%" y="%row2_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>File Manager</text>
2802 <image resource="main_button" />
2803 <action function="page">filemanagerlist</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002808 <placement x="%col3_x%" y="%row2_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>Reload Theme</text>
2811 <image resource="main_button" />
2812 <action function="reload"></action>
2813 </object>
2814
2815 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002816 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002817 <condition var1="tw_show_dumlock" var2="1" />
2818 <placement x="%col4_x%" y="%row2_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>HTC Dumlock</text>
2821 <image resource="main_button" />
2822 <action function="page">htcdumlock</action>
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">main</action>
2833 </object>
2834
2835 <object type="template" name="footer" />
2836 </page>
2837
2838 <page name="partsdcard">
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_text_y%" placement="5" />
2844 <text>Partition SD Card</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 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2850 <font resource="font" color="%button_text_color%" />
2851 <text></text>
2852 <image resource="minus_button" />
2853 <action function="addsubtract">tw_sdext_size-128</action>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text></text>
2861 <image resource="plus_button" />
2862 <action function="addsubtract">tw_sdext_size+128</action>
2863 </object>
2864
2865 <object type="text" color="%text_color%">
2866 <font resource="font" />
2867 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2868 <text>EXT Size: %tw_sdext_size%</text>
2869 </object>
2870
2871 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002872 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002873 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2874 <font resource="font" color="%button_text_color%" />
2875 <text></text>
2876 <image resource="minus_button" />
2877 <action function="addsubtract">tw_swap_size-32</action>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="plus_button" />
2886 <action function="addsubtract">tw_swap_size+32</action>
2887 </object>
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2892 <text>Swap Size: %tw_swap_size%</text>
2893 </object>
2894
2895 <object type="text" color="%text_color%">
2896 <font resource="font" />
2897 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2898 <text>File system: %tw_sdpart_file_system%</text>
2899 </object>
2900
2901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text>EXT3</text>
2906 <image resource="medium_button" />
2907 <action function="set">tw_sdpart_file_system=ext3</action>
2908 </object>
2909
2910 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002911 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002912 <condition var1="tw_sdext_disable_ext4" var2="0" />
2913 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>EXT4</text>
2916 <image resource="medium_button" />
2917 <action function="set">tw_sdpart_file_system=ext4</action>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2923 <text>You will lose all files on your SD card!</text>
2924 </object>
2925
2926 <object type="text" color="%text_color%">
2927 <font resource="font" />
2928 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2929 <text>This action cannot be undone!</text>
2930 </object>
2931
2932 <object type="slider">
2933 <placement x="%slider_x%" y="%slider_y%" />
2934 <resource base="slider" used="slider-used" touch="slider-touch" />
2935 <actions>
2936 <action function="set">tw_back=partsdcard</action>
2937 <action function="set">tw_action=partitionsd</action>
2938 <action function="set">tw_has_action2=1</action>
2939 <action function="set">tw_action2=set</action>
2940 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2941 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2942 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002943 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <action function="page">action_page</action>
2945 </actions>
2946 </object>
2947
2948 <object type="text" color="%text_color%">
2949 <font resource="font" />
2950 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2951 <text>Swipe to Confirm Partition</text>
2952 </object>
2953
2954 <object type="action">
2955 <touch key="home" />
2956 <action function="page">main</action>
2957 </object>
2958
2959 <object type="action">
2960 <touch key="back" />
2961 <action function="page">advanced</action>
2962 </object>
2963
2964 <object type="template" name="footer" />
2965 </page>
2966
2967
2968 <page name="htcdumlock">
2969 <object type="template" name="header" />
2970
2971 <object type="text" color="%text_color%">
2972 <font resource="font" />
2973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2974 <text>HTC Dumlock</text>
2975 </object>
2976
2977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <condition var1="tw_show_dumlock" var2="1" />
2980 <placement x="%col1_x%" y="%row1_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Restore Original Boot</text>
2983 <image resource="main_button" />
2984 <actions>
2985 <action function="set">tw_back=htcdumlock</action>
2986 <action function="set">tw_action=htcdumlockrestoreboot</action>
2987 <action function="set">tw_text1=Restore original boot image?</action>
2988 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2989 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2990 <action function="set">tw_slider_text=Swipe to Confirm</action>
2991 <action function="page">confirm_action</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002996 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <condition var1="tw_show_dumlock" var2="1" />
2998 <placement x="%col2_x%" y="%row1_y%" />
2999 <font resource="font" color="%button_text_color%" />
3000 <text>Reflash Recovery->Boot</text>
3001 <image resource="main_button" />
3002 <actions>
3003 <action function="set">tw_back=htcdumlock</action>
3004 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3005 <action function="set">tw_text1=Reflash recovery to boot?</action>
3006 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3007 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3008 <action function="set">tw_slider_text=Swipe to Confirm</action>
3009 <action function="page">confirm_action</action>
3010 </actions>
3011 </object>
3012
3013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003014 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003015 <condition var1="tw_show_dumlock" var2="1" />
3016 <placement x="%col1_x%" y="%row2_y%" />
3017 <font resource="font" color="%button_text_color%" />
3018 <text>Install HTC Dumlock</text>
3019 <image resource="main_button" />
3020 <actions>
3021 <action function="set">tw_back=htcdumlock</action>
3022 <action function="set">tw_action=installhtcdumlock</action>
3023 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3024 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3025 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3026 <action function="set">tw_slider_text=Swipe to Confirm</action>
3027 <action function="page">confirm_action</action>
3028 </actions>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="home" />
3033 <action function="page">main</action>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="back" />
3038 <action function="page">advanced</action>
3039 </object>
3040
3041 <object type="template" name="footer" />
3042 </page>
3043
3044 <page name="lock">
3045 <background color="#000000A0" />
3046
3047 <object type="image">
3048 <image resource="unlock-icon" />
3049 <placement x="%lock_x%" y="%lock_y%" />
3050 </object>
3051
3052 <object type="slider">
3053 <placement x="%slider_x%" y="%slider_y%" />
3054 <resource base="slider" used="slider-used" touch="slider-touch" />
3055 <action function="overlay"></action>
3056 </object>
3057
3058 <object type="text" color="%text_color%">
3059 <font resource="font" />
3060 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3061 <text>Swipe to Unlock</text>
3062 </object>
3063 </page>
3064
3065
3066 <page name="filemanagerlist">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3072 <text>File Manager: Select a File or Folder</text>
3073 </object>
3074
3075 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003076 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3078 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3079 <text>Folders:</text>
3080 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3081 <sort name="tw_gui_sort_order" />
3082 <icon folder="folder_icon" file="file_icon" />
3083 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003084 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003085 <filter folders="1" files="0" />
3086 <path name="tw_file_location1" default="/sdcard" />
3087 <data name="select" />
3088 <selection name="tw_selection1" />
3089 </object>
3090
3091 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003092 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003093 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3094 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3095 <text>%tw_file_location1%</text>
3096 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3097 <sort name="tw_gui_sort_order" />
3098 <icon folder="folder_icon" file="file_icon" />
3099 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003100 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <filter folders="0" files="1" />
3102 <path name="tw_file_location1" default="/" />
3103 <data name="tw_filename1" />
3104 <selection name="tw_selection1" />
3105 </object>
3106
3107 <object type="template" name="sort_options" />
3108
3109 <object type="action">
3110 <actions>
3111 <action function="set">tw_fm_type=File</action>
3112 <action function="set">tw_fm_isfolder=0</action>
3113 </actions>
3114 </object>
3115
3116 <object type="action">
3117 <touch key="home" />
3118 <action function="page">main</action>
3119 </object>
3120
3121 <object type="action">
3122 <touch key="back" />
3123 <action function="page">advanced</action>
3124 </object>
3125
3126 <object type="action">
3127 <condition var1="tw_filename1" op="modified" />
3128 <actions>
3129 <action function="page">filemanageroptions</action>
3130 </actions>
3131 </object>
3132
3133 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003134 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003135 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3136 <font resource="font" color="%button_text_color%" />
3137 <text>Select Folder</text>
3138 <image resource="main_button" />
3139 <actions>
3140 <action function="set">tw_filename1=tw_file_location1</action>
3141 <action function="set">tw_fm_isfolder=1</action>
3142 <action function="set">tw_fm_type=Folder</action>
3143 <action function="page">filemanageroptions</action>
3144 </actions>
3145 </object>
3146
3147 <object type="template" name="footer" />
3148 </page>
3149
3150 <page name="filemanageroptions">
3151 <object type="template" name="header" />
3152
3153 <object type="text" color="%text_color%">
3154 <font resource="font" />
3155 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3156 <text>%tw_fm_type% Selected:</text>
3157 </object>
3158
3159 <object type="text" color="%text_color%">
3160 <font resource="font" />
3161 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3162 <text>%tw_filename1%</text>
3163 </object>
3164
3165 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003166 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003167 <condition var1="tw_fm_isfolder" var2="0" />
3168 <placement x="%col1_x%" y="%row2_y%" />
3169 <font resource="font" color="%button_text_color%" />
3170 <text>Copy File</text>
3171 <image resource="main_button" />
3172 <actions>
3173 <action function="set">tw_filemanager_command=cp</action>
3174 <action function="set">tw_fm_text1=Copying</action>
3175 <action function="page">choosedestinationfolder</action>
3176 </actions>
3177 </object>
3178
3179 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003180 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003181 <condition var1="tw_fm_isfolder" var2="1" />
3182 <placement x="%col1_x%" y="%row2_y%" />
3183 <font resource="font" color="%button_text_color%" />
3184 <text>Copy Folder</text>
3185 <image resource="main_button" />
3186 <actions>
3187 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3188 <action function="set">tw_fm_text1=Copying</action>
3189 <action function="page">choosedestinationfolder</action>
3190 </actions>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <placement x="%col2_x%" y="%row2_y%" />
3196 <font resource="font" color="%button_text_color%" />
3197 <text>Move</text>
3198 <image resource="main_button" />
3199 <actions>
3200 <action function="set">tw_filemanager_command=mv</action>
3201 <action function="set">tw_fm_text1=Moving</action>
3202 <action function="page">choosedestinationfolder</action>
3203 </actions>
3204 </object>
3205
3206 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003207 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003208 <placement x="%col3_x%" y="%row2_y%" />
3209 <font resource="font" color="%button_text_color%" />
3210 <text>chmod 755</text>
3211 <image resource="main_button" />
3212 <actions>
3213 <action function="set">tw_filemanager_command=chmod 755</action>
3214 <action function="set">tw_fm_text1=chmod 755</action>
3215 <action function="set">tw_fm_text2=</action>
3216 <action function="set">tw_fm_text3=</action>
3217 <action function="set">tw_include_text3=0</action>
3218 <action function="set">tw_back=filemanageroptions</action>
3219 <action function="page">filemanagerconfirm</action>
3220 </actions>
3221 </object>
3222
3223 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003224 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003225 <placement x="%col4_x%" y="%row2_y%" />
3226 <font resource="font" color="%button_text_color%" />
3227 <text>chmod</text>
3228 <image resource="main_button" />
3229 <actions>
3230 <action function="set">tw_filemanager_rename=0000</action>
3231 <action function="set">tw_fm_text2=</action>
3232 <action function="set">tw_fm_text3=</action>
3233 <action function="set">tw_include_text3=0</action>
3234 <action function="set">tw_back=filemanageroptions</action>
3235 <action function="page">filemanagerchmod</action>
3236 </actions>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col1_x%" y="%row1_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>Delete</text>
3244 <image resource="main_button" />
3245 <actions>
3246 <action function="set">tw_filemanager_command=rm -rf</action>
3247 <action function="set">tw_fm_text1=Deleting</action>
3248 <action function="set">tw_fm_text2=</action>
3249 <action function="set">tw_fm_text3=</action>
3250 <action function="set">tw_include_text3=0</action>
3251 <action function="set">tw_back=filemanageroptions</action>
3252 <action function="page">filemanagerconfirm</action>
3253 </actions>
3254 </object>
3255
3256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003258 <condition var1="tw_fm_isfolder" var2="0" />
3259 <placement x="%col4_x%" y="%row1_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>Rename File</text>
3262 <image resource="main_button" />
3263 <actions>
3264 <action function="set">tw_filemanager_rename=tw_selection1</action>
3265 <action function="set">tw_fm_text1=Renaming</action>
3266 <action function="set">tw_filemanager_command=mv</action>
3267 <action function="page">filemanagerrenamefile</action>
3268 </actions>
3269 </object>
3270
3271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003273 <condition var1="tw_fm_isfolder" var2="1" />
3274 <placement x="%col4_x%" y="%row1_y%" />
3275 <font resource="font" color="%button_text_color%" />
3276 <text>Rename Folder</text>
3277 <image resource="main_button" />
3278 <actions>
3279 <action function="set">tw_filemanager_rename=tw_selection1</action>
3280 <action function="set">tw_fm_text1=Renaming</action>
3281 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3282 <action function="page">filemanagerrenamefolder</action>
3283 </actions>
3284 </object>
3285
3286 <object type="action">
3287 <touch key="home" />
3288 <action function="page">main</action>
3289 </object>
3290
3291 <object type="action">
3292 <touch key="back" />
3293 <action function="page">filemanagerlist</action>
3294 </object>
3295
3296 <object type="template" name="footer" />
3297 </page>
3298
3299 <page name="choosedestinationfolder">
3300 <object type="template" name="header" />
3301
3302 <object type="text" color="%text_color%">
3303 <font resource="font" />
3304 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3305 <text>Browse to Destination Folder & Press Select</text>
3306 </object>
3307
3308 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003309 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003310 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3311 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3312 <text>%tw_file_location2%</text>
3313 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3314 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003315 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <icon folder="folder_icon" file="file_icon" />
3317 <background color="%fileselector_background%" />
3318 <filter folders="1" files="0" />
3319 <path name="tw_file_location2" default="/sdcard" />
3320 <data name="tw_filename2" />
3321 </object>
3322
3323 <object type="template" name="sort_options" />
3324
3325 <object type="action">
3326 <touch key="home" />
3327 <action function="page">main</action>
3328 </object>
3329
3330 <object type="action">
3331 <touch key="back" />
3332 <action function="page">filemanageroptions</action>
3333 </object>
3334
3335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3338 <font resource="font" color="%button_text_color%" />
3339 <text>Select Folder</text>
3340 <image resource="main_button" />
3341 <actions>
3342 <action function="set">tw_fm_text2=to</action>
3343 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3344 <action function="set">tw_include_text3=1</action>
3345 <action function="set">tw_back=filemanageroptions</action>
3346 <action function="page">filemanagerconfirm</action>
3347 </actions>
3348 </object>
3349
3350 <object type="template" name="footer" />
3351 </page>
3352
3353 <page name="filemanagerrenamefile">
3354 <object type="template" name="header" />
3355
3356 <object type="text" color="%text_color%">
3357 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3358 <font resource="font" />
3359 <text>Please Enter a New %tw_fm_type% Name</text>
3360 </object>
3361
3362 <object type="input">
3363 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3364 <background color="%input_background_color%" />
3365 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3366 <font resource="font" color="%text_color%" />
3367 <text>%tw_filemanager_rename%</text>
3368 <data name="tw_filemanager_rename" />
3369 <restrict minlen="1" maxlen="128" />
3370 <actions>
3371 <action function="set">tw_fm_text2=to</action>
3372 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3373 <action function="set">tw_include_text3=1</action>
3374 <action function="set">tw_back=filemanageroptions</action>
3375 <action function="page">filemanagerconfirm</action>
3376 </actions>
3377 </object>
3378
3379 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003380 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003381 <placement x="%col_center_x%" y="%cancel_button_y%" />
3382 <font resource="font" color="%button_text_color%" />
3383 <text>Cancel</text>
3384 <image resource="main_button" />
3385 <action function="page">filemanageroptions</action>
3386 </object>
3387
3388 <object type="template" name="keyboardtemplate" />
3389
3390 <object type="action">
3391 <touch key="home" />
3392 <action function="page">main</action>
3393 </object>
3394
3395 <object type="action">
3396 <touch key="back" />
3397 <action function="page">filemanageroptions</action>
3398 </object>
3399
3400 <object type="template" name="footer" />
3401 </page>
3402
3403 <page name="filemanagerrenamefolder">
3404 <object type="template" name="header" />
3405
3406 <object type="text" color="%text_color%">
3407 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3408 <font resource="font" />
3409 <text>Please Enter a New %tw_fm_type% Name</text>
3410 </object>
3411
3412 <object type="input">
3413 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3414 <background color="%input_background_color%" />
3415 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3416 <font resource="font" color="%text_color%" />
3417 <text>%tw_filemanager_rename%</text>
3418 <data name="tw_filemanager_rename" />
3419 <restrict minlen="1" maxlen="128" />
3420 <actions>
3421 <action function="set">tw_fm_text2=to</action>
3422 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3423 <action function="set">tw_include_text3=1</action>
3424 <action function="set">tw_back=filemanageroptions</action>
3425 <action function="page">filemanagerconfirm</action>
3426 </actions>
3427 </object>
3428
3429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003431 <placement x="%col_center_x%" y="%cancel_button_y%" />
3432 <font resource="font" color="%button_text_color%" />
3433 <text>Cancel</text>
3434 <image resource="main_button" />
3435 <action function="page">filemanageroptions</action>
3436 </object>
3437
3438 <object type="template" name="keyboardtemplate" />
3439
3440 <object type="action">
3441 <touch key="home" />
3442 <action function="page">main</action>
3443 </object>
3444
3445 <object type="action">
3446 <touch key="back" />
3447 <action function="page">filemanageroptions</action>
3448 </object>
3449
3450 <object type="template" name="footer" />
3451 </page>
3452
3453 <page name="filemanagerchmod">
3454 <object type="template" name="header" />
3455
3456 <object type="text" color="%text_color%">
3457 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3458 <font resource="font" />
3459 <text>Please Enter New Permissions</text>
3460 </object>
3461
3462 <object type="input">
3463 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3464 <background color="%input_background_color%" />
3465 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3466 <font resource="font" color="%text_color%" />
3467 <text>%tw_filemanager_rename%</text>
3468 <data name="tw_filemanager_rename" />
3469 <restrict minlen="3" maxlen="4" allow="0123456789" />
3470 <actions>
3471 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3472 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3473 <action function="set">tw_back=filemanageroptions</action>
3474 <action function="page">filemanagerconfirm</action>
3475 </actions>
3476 </object>
3477
3478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003479 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003480 <placement x="%col_center_x%" y="%cancel_button_y%" />
3481 <font resource="font" color="%button_text_color%" />
3482 <text>Cancel</text>
3483 <image resource="main_button" />
3484 <action function="page">filemanageroptions</action>
3485 </object>
3486
3487 <object type="template" name="keyboardtemplate" />
3488
3489 <object type="action">
3490 <touch key="home" />
3491 <action function="page">main</action>
3492 </object>
3493
3494 <object type="action">
3495 <touch key="back" />
3496 <action function="page">filemanageroptions</action>
3497 </object>
3498
3499 <object type="template" name="footer" />
3500 </page>
3501
3502 <page name="filemanagerconfirm">
3503 <object type="template" name="header" />
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3508 <text>%tw_fm_text1%</text>
3509 </object>
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3514 <text>%tw_filename1%</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3520 <text>%tw_fm_text2%</text>
3521 </object>
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3526 <text>%tw_fm_text3%</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3532 <text>Press back button to cancel.</text>
3533 </object>
3534
3535 <object type="slider">
3536 <placement x="%slider_x%" y="%slider_y%" />
3537 <resource base="slider" used="slider-used" touch="slider-touch" />
3538 <action function="page">filemanageracction</action>
3539 </object>
3540
3541 <object type="text" color="%text_color%">
3542 <font resource="font" />
3543 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3544 <text>Swipe to Confirm</text>
3545 </object>
3546
3547 <object type="action">
3548 <touch key="back" />
3549 <action function="page">%tw_back%</action>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="home" />
3554 <action function="page">main</action>
3555 </object>
3556
3557 <object type="template" name="footer" />
3558 </page>
3559
3560 <page name="filemanageracction">
3561 <object type="template" name="header" />
3562
3563 <object type="text" color="%text_color%">
3564 <font resource="font" />
3565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3566 <text>%tw_fm_text1%</text>
3567 </object>
3568
3569 <object type="template" name="action_page_console" />
3570
3571 <object type="template" name="progress_bar" />
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_back=filemanagerlist</action>
3580 <action function="set">tw_complete_text1=File Operation Complete</action>
3581 <action function="page">action_complete</action>
3582 </actions>
3583 </object>
3584
3585 <object type="action">
3586 <conditions>
3587 <condition var1="tw_operation_state" var2="1" />
3588 <condition var1="tw_operation_status" op="!=" var2="0" />
3589 </conditions>
3590 <actions>
3591 <action function="set">tw_complete_text1=File Operation Complete</action>
3592 <action function="page">action_complete</action>
3593 </actions>
3594 </object>
3595
3596 <object type="action">
3597 <condition var1="tw_include_text3" var2="0" />
3598 <actions>
3599 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3600 </actions>
3601 </object>
3602
3603 <object type="action">
3604 <condition var1="tw_include_text3" var2="1" />
3605 <actions>
3606 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3607 </actions>
3608 </object>
3609 </page>
3610
3611 <page name="decrypt">
3612 <object type="template" name="header" />
3613
3614 <object type="text" color="%text_color%">
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3617 <text>Please Enter Your Password</text>
3618 </object>
3619
3620 <object type="input">
3621 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3622 <background color="%input_background_color%" />
3623 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3624 <font resource="font" color="%text_color%" />
3625 <text>%tw_crypto_display%</text>
3626 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3627 <restrict minlen="1" maxlen="254" />
3628 <actions>
3629 <action function="page">trydecrypt</action>
3630 </actions>
3631 </object>
3632
3633 <object type="text" color="%text_fail_color%">
3634 <condition var1="tw_password_fail" var2="1" />
3635 <font resource="font" />
3636 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3637 <text>Password Failed, Please Try Again</text>
3638 </object>
3639
3640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <placement x="%col_center_x%" y="%cancel_button_y%" />
3643 <font resource="font" color="%button_text_color%" />
3644 <text>Cancel</text>
3645 <image resource="main_button" />
3646 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003647 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003648 <action function="page">main</action>
3649 </actions>
3650 </object>
3651
3652 <object type="template" name="keyboardtemplate" />
3653
Dees_Troy51a0e822012-09-05 15:24:24 -04003654 <object type="template" name="footer" />
3655 </page>
3656
3657 <page name="trydecrypt">
3658 <object type="template" name="header" />
3659
3660 <object type="text" color="%text_color%">
3661 <font resource="font" />
3662 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3663 <text>Trying Decryption with Your Password</text>
3664 </object>
3665
3666 <object type="template" name="action_page_console" />
3667
3668 <object type="template" name="progress_bar" />
3669
3670 <object type="action">
3671 <action function="decrypt"></action>
3672 </object>
3673
3674 <object type="action">
3675 <conditions>
3676 <condition var1="tw_operation_state" var2="1" />
3677 <condition var1="tw_operation_status" op="!=" var2="0" />
3678 </conditions>
3679 <actions>
3680 <action function="set">tw_password_fail=1</action>
3681 <action function="page">decrypt</action>
3682 </actions>
3683 </object>
3684
3685 <object type="action">
3686 <conditions>
3687 <condition var1="tw_operation_state" var2="1" />
3688 <condition var1="tw_operation_status" op="=" var2="0" />
3689 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003690 <actions>
3691 <action function="set">tw_page_done=1</action>
3692 <action function="page">main</action>
3693 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003694 </object>
3695 </page>
3696
3697 <page name="terminalfolder">
3698 <object type="template" name="header" />
3699
3700 <object type="text" color="%text_color%">
3701 <font resource="font" />
3702 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3703 <text>Browse to Starting Folder</text>
3704 </object>
3705
3706 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003707 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003708 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3709 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3710 <text>%tw_terminal_location%</text>
3711 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3712 <sort name="tw_gui_sort_order" />
3713 <icon folder="folder_icon" file="file_icon" />
3714 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003715 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 <filter folders="1" files="0" />
3717 <path name="tw_terminal_location" default="/" />
3718 <data name="tw_terminal" />
3719 <selection name="tw_terminal_selection" />
3720 </object>
3721
3722 <object type="template" name="sort_options" />
3723
3724 <object type="action">
3725 <touch key="home" />
3726 <action function="page">main</action>
3727 </object>
3728
3729 <object type="action">
3730 <touch key="back" />
3731 <action function="page">advanced</action>
3732 </object>
3733
3734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003736 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3737 <font resource="font" color="%button_text_color%" />
3738 <text>Select Folder</text>
3739 <image resource="main_button" />
3740 <actions>
3741 <action function="page">terminalcommand</action>
3742 </actions>
3743 </object>
3744
3745 <object type="template" name="footer" />
3746 </page>
3747
3748 <page name="terminalcommand">
3749 <background color="#000000FF" />
3750
3751 <object type="console">
3752 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3753 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3754 <font resource="fixed" />
3755 </object>
3756
3757 <object type="text" color="%text_color%">
3758 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3759 <font resource="font" />
3760 <text>Starting Path: %tw_terminal_location%</text>
3761 </object>
3762
3763 <object type="input">
3764 <condition var1="tw_terminal_state" var2="0" />
3765 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3766 <background color="%input_background_color%" />
3767 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3768 <font resource="font" color="%text_color%" />
3769 <text>%tw_terminal_command%</text>
3770 <data name="tw_terminal_command" />
3771 <restrict minlen="1" />
3772 <action function="terminalcommand">%tw_terminal_command%</action>
3773 </object>
3774
3775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003777 <condition var1="tw_terminal_state" var2="1" />
3778 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3779 <font resource="font" color="%button_text_color%" />
3780 <text>KILL</text>
3781 <image resource="medium_button" />
3782 <action function="killterminal"></action>
3783 </object>
3784
3785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003787 <placement x="%home_button_x%" y="%terminal_button_y%" />
3788 <font resource="font" color="%button_text_color%" />
3789 <text></text>
3790 <image resource="home_icon" />
3791 <condition var1="tw_busy" var2="0" />
3792 <action function="key">home</action>
3793 </object>
3794
3795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003796 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003797 <placement x="%back_button_x%" y="%terminal_button_y%" />
3798 <font resource="font" color="%button_text_color%" />
3799 <text></text>
3800 <image resource="back_icon" />
3801 <condition var1="tw_busy" var2="0" />
3802 <action function="key">back</action>
3803 </object>
3804
3805 <object type="action">
3806 <touch key="power" />
3807 <action function="overlay">lock</action>
3808 </object>
3809
3810 <object type="template" name="keyboardtemplate" />
3811
3812 <object type="action">
3813 <touch key="home" />
3814 <action function="page">main</action>
3815 </object>
3816
3817 <object type="action">
3818 <touch key="back" />
3819 <action function="page">terminalfolder</action>
3820 </object>
3821 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003822
3823 <page name="sideload">
3824 <object type="template" name="header" />
3825
3826 <object type="text" color="%text_color%">
3827 <font resource="font" />
3828 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3829 <text>ADB Sideload</text>
3830 </object>
3831
3832 <object type="checkbox">
3833 <placement x="%col1_x%" y="%row3_text_y%" />
3834 <font resource="font" color="%text_color%" />
3835 <text>Wipe Dalvik Cache.</text>
3836 <data variable="tw_wipe_dalvik" />
3837 <image checked="checkbox_true" unchecked="checkbox_false" />
3838 </object>
3839
3840 <object type="checkbox">
3841 <placement x="%col1_x%" y="%row4_text_y%" />
3842 <font resource="font" color="%text_color%" />
3843 <text>Wipe Cache.</text>
3844 <data variable="tw_wipe_cache" />
3845 <image checked="checkbox_true" unchecked="checkbox_false" />
3846 </object>
3847
3848 <object type="slider">
3849 <placement x="%slider_x%" y="%slider_y%" />
3850 <resource base="slider" used="slider-used" touch="slider-touch" />
3851 <actions>
3852 <action function="set">tw_back=advanced</action>
3853 <action function="set">tw_action=adbsideload</action>
3854 <action function="set">tw_action_text1=ADB Sideload</action>
3855 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3856 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3857 <action function="set">tw_has_cancel=1</action>
3858 <action function="set">tw_show_reboot=1</action>
3859 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3860 <action function="page">action_page</action>
3861 </actions>
3862 </object>
3863
3864 <object type="text" color="%text_color%">
3865 <font resource="font" />
3866 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3867 <text>Swipe to Start Sideload</text>
3868 </object>
3869
3870 <object type="action">
3871 <touch key="home" />
3872 <action function="page">main</action>
3873 </object>
3874
3875 <object type="action">
3876 <touch key="back" />
3877 <action function="page">advanced</action>
3878 </object>
3879
3880 <object type="template" name="footer" />
3881 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003882 </pages>
3883</recovery>