blob: 1615ee9c12eb7a4623e42c48a80f3229a9556a20 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1024" height="600" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
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" />
44 </resources>
45
46 <variables>
47 <variable name="col1_x" value="23" />
48 <variable name="col2_x" value="269" />
49 <variable name="col3_x" value="515" />
50 <variable name="col4_x" value="761" />
51 <variable name="row1_y" value="127" />
52 <variable name="row2_y" value="388" />
53 <variable name="col_center_x" value="392" />
54 <variable name="center_x" value="512" />
55 <variable name="screen_width" value="1024" />
56 <variable name="screen_height" value="600" />
57 <variable name="col_progressbar_x" value="386" />
58 <variable name="row_progressbar_y" value="540" />
59 <variable name="col1_medium_x" value="257" />
60 <variable name="col2_medium_x" value="387" />
61 <variable name="col3_medium_x" value="517" />
62 <variable name="col4_medium_x" value="647" />
63 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row2_medium_y" value="200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040065 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060066 <variable name="row4_medium_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040067 <variable name="row5_medium_y" value="405" />
68 <variable name="row1_text_y" value="58" />
69 <variable name="row2_text_y" value="105" />
70 <variable name="row3_text_y" value="140" />
71 <variable name="row4_text_y" value="170" />
72 <variable name="row5_text_y" value="200" />
73 <variable name="row6_text_y" value="230" />
74 <variable name="row7_text_y" value="260" />
75 <variable name="row8_text_y" value="290" />
76 <variable name="row9_text_y" value="320" />
77 <variable name="row10_text_y" value="350" />
78 <variable name="row11_text_y" value="380" />
79 <variable name="row12_text_y" value="410" />
80 <variable name="row13_text_y" value="440" />
81 <variable name="row14_text_y" value="470" />
82 <variable name="row15_text_y" value="500" />
83 <variable name="row16_text_y" value="530" />
84 <variable name="row17_text_y" value="560" />
85 <variable name="row18_text_y" value="590" />
86 <variable name="row_offsetmedium_y" value="465" />
87 <variable name="home_button_x" value="813" />
88 <variable name="home_button_y" value="5" />
89 <variable name="back_button_x" value="883" />
90 <variable name="back_button_y" value="5" />
91 <variable name="console_button_x" value="953" />
92 <variable name="console_button_y" value="5" />
93 <variable name="nandcheck_col1" value="150" />
94 <variable name="nandcheck_col2" value="450" />
95 <variable name="nandcheck_row1" value="150" />
96 <variable name="nandcheck_row2" value="195" />
97 <variable name="nandcheck_row3" value="240" />
98 <variable name="nandcheck_row4" value="285" />
99 <variable name="nandcheck_row5" value="330" />
100 <variable name="nandcheck_row6" value="375" />
101 <variable name="nandcheck_row7" value="410" />
102 <variable name="button_text_color" value="#AAAAAA" />
103 <variable name="text_color" value="#A0A0A0" />
104 <variable name="text_success_color" value="#33B5E5" />
105 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600106 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400107 <variable name="slider_x" value="307" />
108 <variable name="slider_y" value="470" />
109 <variable name="slider_text_y" value="520" />
110 <variable name="sort_text_x" value="270" />
111 <variable name="sort_asc_text_y" value="510" />
112 <variable name="sort_asc_button_y" value="505" />
113 <variable name="sort_desc_text_y" value="545" />
114 <variable name="sort_desc_button_y" value="542" />
115 <variable name="sort_col1_button_x" value="440" />
116 <variable name="sort_col2_button_x" value="510" />
117 <variable name="sort_col3_button_x" value="580" />
118 <variable name="col1_sdext_x" value="370" />
119 <variable name="col2_sdext_x" value="600" />
120 <variable name="row1_sdext_y" value="115" />
121 <variable name="row2_sdext_y" value="180" />
122 <variable name="row_extsize_y" value="115" />
123 <variable name="row_swapsize_y" value="180" />
124 <variable name="input_x" value="28" />
125 <variable name="input_width" value="944" />
126 <variable name="input_height" value="30" />
127 <variable name="input_background_color" value="#303030" />
128 <variable name="input_cursor_color" value="#33B5E5" />
129 <variable name="input_cursor_width" value="3" />
130 <variable name="console_x" value="25" />
131 <variable name="console_width" value="974" />
132 <variable name="console_foreground" value="#A0A0A0" />
133 <variable name="console_background" value="#303030" />
134 <variable name="console_scroll" value="#303030" />
135 <variable name="console_action_height" value="320" />
136 <variable name="console_install_height" value="440" />
137 <variable name="console_installdone_height" value="300" />
138 <variable name="fileselector_folder_x" value="28" />
139 <variable name="fileselector_folder_width" value="282" />
140 <variable name="fileselector_folderonly_width" value="460" />
141 <variable name="fileselector_file_x" value="317" />
142 <variable name="fileselector_file_width" value="682" />
143 <variable name="fileselector_install_y" value="120" />
144 <variable name="fileselector_install_height" value="382" />
145 <variable name="fileselector_header_background" value="#202020" />
146 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
147 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
148 <variable name="fileselector_header_separatorheight" value="3" />
149 <variable name="fileselector_separatorcolor" value="#505050" />
150 <variable name="fileselector_separatorheight" value="2" />
151 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600152 <variable name="fileselector_highlight_color" value="#505050" />
153 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400154 <variable name="fileselector_spacing" value="18" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500155 <variable name="fastscroll_linecolor" value="#808080" />
156 <variable name="fastscroll_rectcolor" value="#808080" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100157 <variable name="fastscroll_w" value="32" />
158 <variable name="fastscroll_linew" value="2" />
159 <variable name="fastscroll_rectw" value="24" />
160 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="zipstorage_text_y" value="88" />
162 <variable name="listbox_x" value="269" />
163 <variable name="listbox_y" value="90" />
164 <variable name="listbox_width" value="460" />
165 <variable name="listbox_tz_height" value="290" />
166 <variable name="listbox_background" value="#303030" />
167 <variable name="listbox_spacing" value="18" />
168 <variable name="sd_plus_x" value="280" />
169 <variable name="lock_x" value="312" />
170 <variable name="lock_y" value="184" />
171 <variable name="filemanager_select_x" value="761" />
172 <variable name="filemanager_select_y" value="495" />
173 <variable name="backup_name_text_y" value="440" />
174 <variable name="backup_name_button_y" value="240" />
175 <variable name="col_right_x" value="996" />
176 <variable name="cancel_button_y" value="220" />
177 <variable name="terminal_console_y" value="0" />
178 <variable name="terminal_console_height" value="300" />
179 <variable name="terminal_text_y" value="307" />
180 <variable name="terminal_button_y" value="298" />
181 <variable name="terminal_input_width" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="button_fill_color" value="#303030" />
183 <variable name="button_fill_full_width" value="512" />
184 <variable name="button_fill_main_width" value="486" />
185 <variable name="button_fill_main_height" value="150" />
186 <variable name="button_fill_half_height" value="75" />
187 <variable name="button_fill_quarter_height" value="30" />
188 <variable name="button_full_center_x" value="256" />
189 <variable name="backup_list_x" value="23" />
190 <variable name="backup_list_y" value="105" />
191 <variable name="backup_list_width" value="486" />
192 <variable name="backup_list_height" value="360" />
193 <variable name="backup_storage_y" value="250" />
194 <variable name="restore_list_y" value="140" />
195 <variable name="restore_list_height" value="320" />
196 <variable name="mount_list_height" value="400" />
197 <variable name="mount_storage_row" value="500" />
198 <variable name="wipe_list_height" value="300" />
199 <variable name="wipe_button_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400200 </variables>
201
202 <templates>
203 <template name="header">
204 <background color="#000000FF" />
205
206 <object type="image">
207 <image resource="side" />
208 <placement x="0" y="0" />
209 </object>
210
211 <object type="image">
212 <image resource="side" />
213 <placement x="994" y="0" />
214 </object>
215
216 <object type="image">
217 <image resource="base" />
218 <placement x="0" y="0" />
219 </object>
220
221 <object type="image">
222 <image resource="bottom" />
223 <placement x="1" y="570" />
224 </object>
225
226 <object type="image">
227 <image resource="large_black" />
228 <placement x="0" y="0" />
229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
233 <placement x="250" y="5" />
234 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
235 </object>
236
237 <object type="text" color="%text_color%">
238 <font resource="font" />
239 <placement x="250" y="30" />
240 <conditions>
241 <condition var1="tw_no_battery_percent" var2="0" />
242 <condition var1="tw_battery" op=">" var2="0" />
243 <condition var1="tw_battery" op="<" var2="101" />
244 </conditions>
245 <text>Battery Level: %tw_battery%</text>
246 </object>
247
248 <object type="text" color="%text_color%">
249 <font resource="font" />
250 <placement x="450" y="30" />
251 <text>%tw_time%</text>
252 </object>
253
254 <object type="text" color="%text_color%">
255 <condition var1="tw_simulate_actions" var2="1" />
256 <font resource="font" />
257 <placement x="550" y="30" />
258 <text>SIMULATING ACTIONS</text>
259 </object>
260
261 <object type="button">
262 <placement x="%home_button_x%" y="%home_button_y%" />
263 <font resource="font" color="%button_text_color%" />
264 <text></text>
265 <image resource="home_icon" />
266 <condition var1="tw_busy" var2="0" />
267 <action function="key">home</action>
268 </object>
269
270 <object type="button">
271 <placement x="%back_button_x%" y="%back_button_y%" />
272 <font resource="font" color="%button_text_color%" />
273 <text></text>
274 <image resource="back_icon" />
275 <condition var1="tw_busy" var2="0" />
276 <action function="key">back</action>
277 </object>
278
279 <object type="action">
280 <touch key="power" />
281 <action function="overlay">lock</action>
282 </object>
283 </template>
284
285 <template name="progress_bar">
286 <object type="progressbar">
287 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
288 <resource empty="progress_empty" full="progress_full" />
289 <data name="ui_progress" />
290 </object>
291
292 <object type="animation">
293 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
294 <resource name="progress" />
295 <speed fps="15" render="2" />
296 <loop frame="1" />
297 </object>
298 </template>
299
300 <template name="sort_options">
301 <object type="text" color="%text_color%">
302 <font resource="font" />
303 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
304 <text>Sort Ascending:</text>
305 </object>
306
307 <object type="button">
308 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
309 <font resource="font" color="%button_text_color%" />
310 <text>Name</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=1</action>
313 </object>
314
315 <object type="button">
316 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
317 <font resource="font" color="%button_text_color%" />
318 <text>Date</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=2</action>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
325 <font resource="font" color="%button_text_color%" />
326 <text>Size</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=3</action>
329 </object>
330
331 <object type="text" color="%text_color%">
332 <font resource="font" />
333 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
334 <text>Sort Descending:</text>
335 </object>
336
337 <object type="button">
338 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
339 <font resource="font" color="%button_text_color%" />
340 <text>Name</text>
341 <image resource="sort_button" />
342 <action function="set">tw_gui_sort_order=-1</action>
343 </object>
344
345 <object type="button">
346 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Date</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-2</action>
351 </object>
352
353 <object type="button">
354 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
355 <font resource="font" color="%button_text_color%" />
356 <text>Size</text>
357 <image resource="sort_button" />
358 <action function="set">tw_gui_sort_order=-3</action>
359 </object>
360 </template>
361
362 <template name="flash_zip_console">
363 <object type="console">
364 <placement x="%console_x%" y="85" w="%console_width%" h="340" />
365 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
366 <font resource="fixed" />
367 </object>
368 </template>
369
370 <template name="action_page_console">
371 <object type="console">
372 <placement x="%console_x%" y="200" w="%console_width%" h="265" />
373 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
374 <font resource="fixed" />
375 </object>
376 </template>
377
378 <template name="footer">
379 <object type="console">
380 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
381 <placement x="%console_x%" y="75" w="%console_width%" h="497" />
382 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
383 <font resource="fixed" />
384 </object>
385 </template>
386
387 <template name="keyboardtemplate">
388 <object type="keyboard">
389 <placement x="0" y="341" />
390 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600391 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400392 <layout1>
393 <keysize height="65" width="92" />
394 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="104:c:8" />
395 <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" />
396 <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
397 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
398 </layout1>
399 <layout2>
400 <keysize height="65" width="92" />
401 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="104:c:8" />
402 <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" />
403 <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
404 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
405 </layout2>
406 <layout3>
407 <keysize height="65" width="92" />
408 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" />
409 <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" />
410 <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" />
411 <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" />
412 </layout3>
413 <layout4>
414 <keysize height="65" width="92" />
415 <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" />
416 <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" />
417 <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" />
418 <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " />
419 </layout4>
420 </object>
421 </template>
422 </templates>
423
424 <pages>
425 <page name="main">
426 <object type="action">
427 <actions>
428 <action function="set">tw_clear_destination=main2</action>
429 <action function="page">clear_vars</action>
430 </actions>
431 </object>
432 </page>
433
434 <page name="main2">
435 <object type="template" name="header" />
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="%col1_x%" y="%row1_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Install</text>
442 <image resource="main_button" />
443 <actions>
444 <action function="queueclear"></action>
445 <action function="page">install</action>
446 </actions>
447 </object>
448
449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600450 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400451 <placement x="%col2_x%" y="%row1_y%" />
452 <font resource="font" color="%button_text_color%" />
453 <text>Backup</text>
454 <image resource="main_button" />
455 <action function="page">backup</action>
456 </object>
457
458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400460 <placement x="%col3_x%" y="%row1_y%" />
461 <font resource="font" color="%button_text_color%" />
462 <text>Restore</text>
463 <image resource="main_button" />
464 <action function="page">restore</action>
465 </object>
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col4_x%" y="%row1_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Wipe</text>
472 <image resource="main_button" />
473 <action function="page">wipe</action>
474 </object>
475
476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400478 <placement x="%col1_x%" y="%row2_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Mount</text>
481 <image resource="main_button" />
482 <action function="page">mount</action>
483 </object>
484
485 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600486 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400487 <placement x="%col2_x%" y="%row2_y%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Settings</text>
490 <image resource="main_button" />
491 <action function="page">settings</action>
492 </object>
493
494 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600495 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400496 <placement x="%col3_x%" y="%row2_y%" />
497 <font resource="font" color="%button_text_color%" />
498 <text>Advanced</text>
499 <image resource="main_button" />
500 <action function="page">advanced</action>
501 </object>
502
503 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600504 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400505 <placement x="%col4_x%" y="%row2_y%" />
506 <font resource="font" color="%button_text_color%" />
507 <text>Reboot</text>
508 <image resource="main_button" />
509 <action function="page">reboot</action>
510 </object>
511
512 <object type="template" name="footer" />
513 </page>
514
515 <page name="install">
516 <object type="template" name="header" />
517
518 <object type="text" color="%text_color%">
519 <font resource="font" />
520 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
521 <text>Select Zip to Install</text>
522 </object>
523
524 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500525 <highlight color="%highlight_color%" />
526 <fill color="%button_fill_color%" />
527 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
528 <font resource="font" color="%button_text_color%" />
529 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
530 <actions>
531 <action function="set">tw_back=install</action>
532 <action function="page">selectstorage</action>
533 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400534 </object>
535
536 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600537 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400538 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
539 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100540 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400541 <text>Folders:</text>
542 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
543 <sort name="tw_gui_sort_order" />
544 <icon folder="folder_icon" file="file_icon" />
545 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600546 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400547 <filter folders="1" files="0" />
548 <path name="tw_zip_location" default="/sdcard" />
549 <data name="select" />
550 </object>
551
552 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600553 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400554 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
555 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100556 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400557 <text>%tw_zip_location%</text>
558 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
559 <sort name="tw_gui_sort_order" />
560 <icon folder="folder_icon" file="file_icon" />
561 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600562 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400563 <filter extn=".zip" folders="0" files="1" />
564 <path name="tw_zip_location" />
565 <data name="tw_filename" />
566 <selection name="tw_file" />
567 </object>
568
569 <object type="template" name="sort_options" />
570
571 <object type="action">
572 <condition var1="tw_filename" op="modified" />
573 <actions>
574 <action function="queuezip"></action>
575 <action function="page">flash_confirm</action>
576 </actions>
577 </object>
578
579 <object type="action">
580 <touch key="back" />
581 <action function="page">main</action>
582 </object>
583
584 <object type="action">
585 <touch key="home" />
586 <action function="page">main</action>
587 </object>
588
589 <object type="template" name="footer" />
590 </page>
591
592 <page name="flash_confirm">
593 <object type="template" name="header" />
594
595 <object type="text" color="%text_color%">
596 <font resource="font" />
597 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
598 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
599 </object>
600
601 <object type="text" color="%text_color%">
602 <font resource="font" />
603 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
604 <text>Folder:</text>
605 </object>
606
607 <object type="text" color="%text_color%">
608 <font resource="font" />
609 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
610 <text>%tw_zip_location%</text>
611 </object>
612
613 <object type="text" color="%text_color%">
614 <font resource="font" />
615 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
616 <text>File to flash:</text>
617 </object>
618
619 <object type="text" color="%text_color%">
620 <font resource="font" />
621 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
622 <text>%tw_file%</text>
623 </object>
624
625 <object type="text" color="%text_color%">
626 <font resource="font" />
627 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
628 <text>Press back to cancel adding this zip.</text>
629 </object>
630
631 <object type="checkbox">
632 <placement x="%col2_x%" y="%row7_text_y%" />
633 <font resource="font" color="%text_color%" />
634 <text>Zip file signature verification?</text>
635 <data variable="tw_signed_zip_verify" />
636 <image checked="checkbox_true" unchecked="checkbox_false" />
637 </object>
638
Dees_Troy51a0e822012-09-05 15:24:24 -0400639 <object type="text" color="%text_color%">
640 <font resource="font" />
641 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
642 <text>File %tw_zip_queue_count% of max of 10</text>
643 </object>
644
645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
648 <placement x="%col2_x%" y="%row5_medium_y%" />
649 <font resource="font" color="%button_text_color%" />
650 <text>Add More Zips</text>
651 <image resource="mediumwide_button" />
652 <action function="page">install</action>
653 </object>
654
655 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600656 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400657 <placement x="%col3_x%" y="%row5_medium_y%" />
658 <font resource="font" color="%button_text_color%" />
659 <text>Clear Queue</text>
660 <image resource="mediumwide_button" />
661 <actions>
662 <action function="queueclear"></action>
663 <action function="page">install</action>
664 </actions>
665 </object>
666
667 <object type="slider">
668 <placement x="%slider_x%" y="%slider_y%" />
669 <resource base="slider" used="slider-used" touch="slider-touch" />
670 <action function="flash">flash_zip</action>
671 </object>
672
673 <object type="text" color="%text_color%">
674 <font resource="font" />
675 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
676 <text>Swipe to Confirm Flash</text>
677 </object>
678
679 <object type="action">
680 <touch key="back" />
681 <actions>
682 <action function="cancelzip"></action>
683 <action function="page">install</action>
684 </actions>
685 </object>
686
687 <object type="action">
688 <touch key="home" />
689 <action function="page">main</action>
690 </object>
691
692 <object type="template" name="footer" />
693 </page>
694
695 <page name="flash_zip">
696 <object type="template" name="header" />
697
698 <object type="template" name="flash_zip_console" />
699
700 <object type="text" color="%text_color%">
701 <font resource="font" />
702 <placement x="%col1_x%" y="%row16_text_y%" />
703 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
704 </object>
705
706 <object type="text" color="%text_color%">
707 <font resource="font" />
708 <placement x="%col1_x%" y="%row17_text_y%" />
709 <text>%tw_filename%</text>
710 </object>
711
712 <object type="template" name="progress_bar" />
713
714 <object type="action">
715 <condition var1="tw_operation_state" var2="1" />
716 <action function="page">flash_done</action>
717 </object>
718 </page>
719
720 <page name="flash_done">
721 <object type="template" name="header" />
722
723 <object type="template" name="flash_zip_console" />
724
725 <object type="text" color="%text_fail_color%">
726 <condition var1="tw_operation_status" op="!=" var2="0" />
727 <font resource="font" />
728 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
729 <text>Failed</text>
730 </object>
731
732 <object type="text" color="%text_success_color%">
733 <condition var1="tw_operation_status" var2="0" />
734 <font resource="font" />
735 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
736 <text>Successful</text>
737 </object>
738
739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400741 <placement x="%col1_x%" y="%slider_y%" />
742 <font resource="font" color="%button_text_color%" />
743 <text>Wipe Cache/Dalvik</text>
744 <image resource="main_button" />
745 <actions>
746 <action function="set">tw_back=flash_done</action>
747 <action function="set">tw_action=wipe</action>
748 <action function="set">tw_action_param=/cache</action>
749 <action function="set">tw_has_action2=1</action>
750 <action function="set">tw_action2=wipe</action>
751 <action function="set">tw_action2_param=dalvik</action>
752 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
753 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
754 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
755 <action function="set">tw_slider_text=Swipe to Wipe</action>
756 <action function="page">confirm_action</action>
757 </actions>
758 </object>
759
760 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600761 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <condition var1="tw_reboot_system" var2="1" />
763 <placement x="%col4_x%" y="%slider_y%" />
764 <font resource="font" color="%button_text_color%" />
765 <text>Reboot System</text>
766 <image resource="main_button" />
767 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400768 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400769 <action function="set">tw_action=reboot</action>
770 <action function="set">tw_action_param=system</action>
771 <action function="set">tw_has_action2=0</action>
772 <action function="set">tw_text1=No OS Installed! Are you</action>
773 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400774 <action function="set">tw_text3=</action>
775 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400776 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400777 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400778 <action function="set">tw_complete_text1=Rebooting...</action>
779 <action function="set">tw_slider_text=Swipe to Reboot</action>
780 <action function="page">rebootcheck</action>
781 </actions>
782 </object>
783
784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400786 <placement x="%col_center_x%" y="%slider_y%" />
787 <font resource="font" color="%button_text_color%" />
788 <text>Home</text>
789 <image resource="main_button" />
790 <actions>
791 <action function="set">tw_clear_destination=main2</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795
796 <object type="action">
797 <touch key="back" />
798 <actions>
799 <action function="set">tw_clear_destination=install</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </object>
803
804 <object type="action">
805 <touch key="home" />
806 <actions>
807 <action function="set">tw_clear_destination=main2</action>
808 <action function="page">clear_vars</action>
809 </actions>
810 </object>
811 </page>
812
813 <page name="clear_vars">
814 <object type="action">
815 <action function="set">tw_operation_state=0</action>
816 <action function="set">tw_text1=</action>
817 <action function="set">tw_text2=</action>
818 <action function="set">tw_text3=</action>
819 <action function="set">tw_text4=</action>
820 <action function="set">tw_action_text1=</action>
821 <action function="set">tw_action_text2=</action>
822 <action function="set">tw_action_param=</action>
823 <action function="set">tw_has_action2=0</action>
824 <action function="set">tw_action2=</action>
825 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400826 <action function="set">tw_has_cancel=0</action>
827 <action function="set">tw_cancel_action=</action>
828 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400830 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400831 <action function="page">%tw_clear_destination%</action>
832 </object>
833 </page>
834
835 <page name="confirm_action">
836 <object type="template" name="header" />
837
838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
841 <text>%tw_text1%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
846 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
847 <text>%tw_text2%</text>
848 </object>
849
850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
853 <text>%tw_text3%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
858 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
859 <text>%tw_text4%</text>
860 </object>
861
862 <object type="text" color="%text_color%">
863 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400864 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400865 <text>Press back button to cancel.</text>
866 </object>
867
868 <object type="slider">
869 <placement x="%slider_x%" y="%slider_y%" />
870 <resource base="slider" used="slider-used" touch="slider-touch" />
871 <action function="page">action_page</action>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
877 <text>%tw_slider_text%</text>
878 </object>
879
880 <object type="action">
881 <touch key="back" />
882 <actions>
883 <action function="set">tw_clear_destination=%tw_back%</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </object>
887
888 <object type="action">
889 <touch key="home" />
890 <action function="page">main</action>
891 </object>
892
893 <object type="template" name="footer" />
894 </page>
895
896 <page name="action_page">
897 <object type="template" name="header" />
898
899 <object type="text" color="%text_color%">
900 <font resource="font" />
901 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
902 <text>%tw_action_text1%</text>
903 </object>
904
905 <object type="text" color="%text_color%">
906 <font resource="font" />
907 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
908 <text>%tw_action_text2%</text>
909 </object>
910
911 <object type="template" name="action_page_console" />
912
Dees_Troy2691f9d2012-09-24 11:15:49 -0400913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600914 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400915 <condition var1="tw_has_cancel" var2="1" />
916 <placement x="%col4_x%" y="%slider_y%" />
917 <font resource="font" color="%button_text_color%" />
918 <text>Cancel</text>
919 <image resource="main_button" />
920 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
921 </object>
922
Dees_Troy51a0e822012-09-05 15:24:24 -0400923 <object type="template" name="progress_bar" />
924
925 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400926 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400927 <actions>
928 <action function="page">action_complete</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="0" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 </actions>
937 </object>
938
939 <object type="action">
940 <condition var1="tw_has_action2" var2="1" />
941 <actions>
942 <action function="%tw_action%">%tw_action_param%</action>
943 <action function="%tw_action2%">%tw_action2_param%</action>
944 </actions>
945 </object>
946 </page>
947
Dees_Troy6ef66352013-02-21 08:26:57 -0600948 <page name="singleaction_page">
949 <object type="template" name="header" />
950
951 <object type="text" color="%text_color%">
952 <font resource="font" />
953 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
954 <text>%tw_action_text1%</text>
955 </object>
956
957 <object type="text" color="%text_color%">
958 <font resource="font" />
959 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
960 <text>%tw_action_text2%</text>
961 </object>
962
963 <object type="template" name="action_page_console" />
964
965 <object type="template" name="progress_bar" />
966
967 <object type="action">
968 <condition var1="tw_operation_state" var2="1" />
969 <actions>
970 <action function="set">tw_page_done=1</action>
971 </actions>
972 </object>
973
974 <object type="action">
975 <condition var1="tw_has_action2" var2="0" />
976 <actions>
977 <action function="%tw_action%">%tw_action_param%</action>
978 </actions>
979 </object>
980
981 <object type="action">
982 <condition var1="tw_has_action2" var2="1" />
983 <actions>
984 <action function="%tw_action%">%tw_action_param%</action>
985 <action function="%tw_action2%">%tw_action2_param%</action>
986 </actions>
987 </object>
988 </page>
989
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <page name="action_complete">
991 <object type="template" name="header" />
992
993 <object type="text" color="%text_color%">
994 <font resource="font" />
995 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
996 <text>%tw_complete_text1%</text>
997 </object>
998
999 <object type="text" color="%text_fail_color%">
1000 <condition var1="tw_operation_status" op="!=" var2="0" />
1001 <font resource="font" />
1002 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1003 <text>Failed</text>
1004 </object>
1005
1006 <object type="text" color="%text_success_color%">
1007 <condition var1="tw_operation_status" var2="0" />
1008 <font resource="font" />
1009 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1010 <text>Successful</text>
1011 </object>
1012
1013 <object type="template" name="action_page_console" />
1014
1015 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001016 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001017 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001018 <placement x="%col_center_x%" y="%slider_y%" />
1019 <font resource="font" color="%button_text_color%" />
1020 <text>Back</text>
1021 <image resource="main_button" />
1022 <actions>
1023 <action function="set">tw_clear_destination=%tw_back%</action>
1024 <action function="page">clear_vars</action>
1025 </actions>
1026 </object>
1027
Dees_Troya3f81542012-10-08 10:58:53 -04001028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001029 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001030 <condition var1="tw_show_reboot" var2="1" />
1031 <placement x="%col_center_x%" y="%slider_y%" />
1032 <font resource="font" color="%button_text_color%" />
1033 <text>Reboot System</text>
1034 <image resource="main_button" />
1035 <actions>
1036 <action function="set">tw_back=main2</action>
1037 <action function="set">tw_action=reboot</action>
1038 <action function="set">tw_action_param=system</action>
1039 <action function="set">tw_has_action2=0</action>
1040 <action function="set">tw_text1=No OS Installed! Are you</action>
1041 <action function="set">tw_text2=sure you wish to reboot?</action>
1042 <action function="set">tw_text3=</action>
1043 <action function="set">tw_text4=</action>
1044 <action function="set">tw_action_text1=Rebooting...</action>
1045 <action function="set">tw_action_text2=</action>
1046 <action function="set">tw_complete_text1=Rebooting...</action>
1047 <action function="set">tw_slider_text=Swipe to Reboot</action>
1048 <action function="page">rebootcheck</action>
1049 </actions>
1050 </object>
1051
Dees_Troy51a0e822012-09-05 15:24:24 -04001052 <object type="action">
1053 <touch key="home" />
1054 <actions>
1055 <action function="set">tw_clear_destination=main2</action>
1056 <action function="page">clear_vars</action>
1057 </actions>
1058 </object>
1059
1060 <object type="action">
1061 <touch key="back" />
1062 <actions>
1063 <action function="set">tw_clear_destination=%tw_back%</action>
1064 <action function="page">clear_vars</action>
1065 </actions>
1066 </object>
1067 </page>
1068
1069 <page name="filecheck">
1070 <object type="action">
1071 <action function="fileexists">%tw_filecheck%</action>
1072 </object>
1073
1074 <object type="action">
1075 <conditions>
1076 <condition var1="tw_operation_state" var2="1" />
1077 <condition var1="tw_operation_status" var2="0" />
1078 </conditions>
1079 <actions>
1080 <action function="set">tw_fileexists=1</action>
1081 <action function="page">%tw_existpage%</action>
1082 </actions>
1083 </object>
1084
1085 <object type="action">
1086 <conditions>
1087 <condition var1="tw_operation_state" var2="1" />
1088 <condition var1="tw_operation_status" var2="1" />
1089 </conditions>
1090 <actions>
1091 <action function="set">tw_fileexists=0</action>
1092 <action function="page">%tw_notexistpage%</action>
1093 </actions>
1094 </object>
1095 </page>
1096
1097 <page name="rebootcheck">
1098 <object type="action">
1099 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1100 <action function="reboot">%tw_action_param%</action>
1101 </object>
1102
1103 <object type="action">
1104 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1105 <action function="page">confirm_action</action>
1106 </object>
1107 </page>
1108
1109 <page name="reboot">
1110 <object type="template" name="header" />
1111
1112 <object type="text" color="%text_color%">
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1115 <text>Reboot Menu</text>
1116 </object>
1117
1118 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001119 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001120 <condition var1="tw_reboot_system" var2="1" />
1121 <placement x="%col1_x%" y="%row1_y%" />
1122 <font resource="font" color="%button_text_color%" />
1123 <text>System</text>
1124 <image resource="main_button" />
1125 <actions>
1126 <action function="set">tw_back=reboot</action>
1127 <action function="set">tw_action=reboot</action>
1128 <action function="set">tw_action_param=system</action>
1129 <action function="set">tw_has_action2=0</action>
1130 <action function="set">tw_text1=No OS Installed! Are you</action>
1131 <action function="set">tw_text2=sure you wish to reboot?</action>
1132 <action function="set">tw_action_text1=Rebooting...</action>
1133 <action function="set">tw_complete_text1=Rebooting...</action>
1134 <action function="set">tw_slider_text=Swipe to Reboot</action>
1135 <action function="page">rebootcheck</action>
1136 </actions>
1137 </object>
1138
1139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001140 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 <condition var1="tw_reboot_poweroff" var2="1" />
1142 <placement x="%col2_x%" y="%row1_y%" />
1143 <font resource="font" color="%button_text_color%" />
1144 <text>Power Off</text>
1145 <image resource="main_button" />
1146 <actions>
1147 <action function="set">tw_back=reboot</action>
1148 <action function="set">tw_action=reboot</action>
1149 <action function="set">tw_action_param=poweroff</action>
1150 <action function="set">tw_has_action2=0</action>
1151 <action function="set">tw_text1=No OS Installed! Are you</action>
1152 <action function="set">tw_text2=sure you wish to power off?</action>
1153 <action function="set">tw_action_text1=Turning Off...</action>
1154 <action function="set">tw_complete_text1=Turning Off...</action>
1155 <action function="set">tw_slider_text=Swipe to Power Off</action>
1156 <action function="page">rebootcheck</action>
1157 </actions>
1158 </object>
1159
1160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001161 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 <condition var1="tw_reboot_recovery" var2="1" />
1163 <placement x="%col1_x%" y="%row2_y%" />
1164 <font resource="font" color="%button_text_color%" />
1165 <text>Recovery</text>
1166 <image resource="main_button" />
1167 <actions>
1168 <action function="set">tw_back=reboot</action>
1169 <action function="set">tw_action=reboot</action>
1170 <action function="set">tw_action_param=recovery</action>
1171 <action function="set">tw_has_action2=0</action>
1172 <action function="set">tw_text1=No OS Installed! Are you</action>
1173 <action function="set">tw_text2=sure you wish to reboot?</action>
1174 <action function="set">tw_action_text1=Rebooting...</action>
1175 <action function="set">tw_complete_text1=Rebooting...</action>
1176 <action function="set">tw_slider_text=Swipe to Reboot</action>
1177 <action function="page">rebootcheck</action>
1178 </actions>
1179 </object>
1180
1181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001183 <condition var1="tw_reboot_bootloader" var2="1" />
1184 <placement x="%col2_x%" y="%row2_y%" />
1185 <font resource="font" color="%button_text_color%" />
1186 <text>Bootloader</text>
1187 <image resource="main_button" />
1188 <actions>
1189 <action function="set">tw_back=reboot</action>
1190 <action function="set">tw_action=reboot</action>
1191 <action function="set">tw_action_param=bootloader</action>
1192 <action function="set">tw_has_action2=0</action>
1193 <action function="set">tw_text1=No OS Installed! Are you</action>
1194 <action function="set">tw_text2=sure you wish to reboot?</action>
1195 <action function="set">tw_action_text1=Rebooting...</action>
1196 <action function="set">tw_complete_text1=Rebooting...</action>
1197 <action function="set">tw_slider_text=Swipe to Reboot</action>
1198 <action function="page">rebootcheck</action>
1199 </actions>
1200 </object>
1201
1202 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001203 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001204 <condition var1="tw_download_mode" var2="1" />
1205 <placement x="%col3_x%" y="%row2_y%" />
1206 <font resource="font" color="%button_text_color%" />
1207 <text>Download</text>
1208 <image resource="main_button" />
1209 <actions>
1210 <action function="set">tw_back=reboot</action>
1211 <action function="set">tw_action=reboot</action>
1212 <action function="set">tw_action_param=download</action>
1213 <action function="set">tw_has_action2=0</action>
1214 <action function="set">tw_text1=No OS Installed! Are you</action>
1215 <action function="set">tw_text2=sure you wish to reboot?</action>
1216 <action function="set">tw_action_text1=Rebooting...</action>
1217 <action function="set">tw_complete_text1=Rebooting...</action>
1218 <action function="set">tw_slider_text=Swipe to Reboot</action>
1219 <action function="page">rebootcheck</action>
1220 </actions>
1221 </object>
1222
1223 <object type="action">
1224 <touch key="home" />
1225 <action function="page">main</action>
1226 </object>
1227
1228 <object type="action">
1229 <touch key="back" />
1230 <action function="page">main</action>
1231 </object>
1232
1233 <object type="template" name="footer" />
1234 </page>
1235
Dees_Troya13d74f2013-03-24 08:54:55 -05001236 <page name="selectstorage">
1237 <object type="template" name="header" />
1238
1239 <object type="partitionlist">
1240 <highlight color="%fileselector_highlight_color%" />
1241 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1242 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1243 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1244 <text>Select Storage:</text>
1245 <icon selected="radio_true" unselected="radio_false" />
1246 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1247 <background color="%listbox_background%" />
1248 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1249 <data name="tw_storage_path" />
1250 <listtype name="storage" />
1251 </object>
1252
1253 <object type="action">
1254 <touch key="home" />
1255 <action function="page">main</action>
1256 </object>
1257
1258 <object type="action">
1259 <touch key="back" />
1260 <actions>
1261 <action function="page">%tw_back%</action>
1262 </actions>
1263 </object>
1264
1265 <object type="template" name="footer" />
1266 </page>
1267
Dees_Troy51a0e822012-09-05 15:24:24 -04001268 <page name="mount">
1269 <object type="template" name="header" />
1270
1271 <object type="text" color="%text_color%">
1272 <font resource="font" />
1273 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1274 <text>Mount Menu</text>
1275 </object>
1276
Dees_Troya13d74f2013-03-24 08:54:55 -05001277 <object type="partitionlist">
1278 <highlight color="%fileselector_highlight_color%" />
1279 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1280 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1281 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1282 <text>Select Partitions to Mount:</text>
1283 <icon selected="checkbox_true" unselected="checkbox_false" />
1284 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1285 <background color="%listbox_background%" />
1286 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1287 <listtype name="mount" />
1288 </object>
1289
1290 <object type="button">
1291 <highlight color="%highlight_color%" />
1292 <conditions>
1293 <condition var1="tw_is_encrypted" var2="1" />
1294 <condition var1="tw_is_decrypted" var2="0" />
1295 </conditions>
1296 <placement x="%col3_x%" y="row1_y" />
1297 <font resource="font" color="%button_text_color%" />
1298 <text>Decrypt Data</text>
1299 <image resource="main_button" />
1300 <action function="page">decrypt</action>
1301 </object>
1302
Dees_Troy51a0e822012-09-05 15:24:24 -04001303 <object type="button">
1304 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001305 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001306 <font resource="font" color="%button_text_color%" />
1307 <text>Mount USB Storage</text>
1308 <image resource="main_button" />
1309 <action function="page">usb_mount</action>
1310 </object>
1311
1312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001313 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001314 <fill color="%button_fill_color%" />
1315 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1316 <font resource="font" color="%button_text_color%" />
1317 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1318 <actions>
1319 <action function="set">tw_back=mount</action>
1320 <action function="page">selectstorage</action>
1321 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001322 </object>
1323
1324 <object type="action">
1325 <touch key="home" />
1326 <action function="page">main</action>
1327 </object>
1328
1329 <object type="action">
1330 <touch key="back" />
1331 <action function="page">main</action>
1332 </object>
1333
1334 <object type="template" name="footer" />
1335 </page>
1336
1337 <page name="usb_mount">
1338 <object type="template" name="header" />
1339
1340 <object type="text" color="%text_color%">
1341 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1342 <font resource="font" />
1343 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1344 </object>
1345
1346 <object type="text" color="%text_color%">
1347 <placement x="%col1_x%" y="%row2_text_y%" />
1348 <font resource="font" />
1349 <text></text>
1350 </object>
1351
1352 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001353 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001354 <placement x="%col_center_x%" y="%row1_y%" />
1355 <font resource="font" color="%button_text_color%" />
1356 <text>Unmount</text>
1357 <image resource="main_button" />
1358 <action function="page">usb_umount</action>
1359 </object>
1360
1361 <object type="action">
1362 <action function="mount">usb</action>
1363 </object>
1364
1365 <object type="template" name="footer" />
1366 </page>
1367
1368 <page name="usb_umount">
1369 <object type="action">
1370 <action function="unmount">usb</action>
1371 </object>
1372
1373 <object type="action">
1374 <action function="page">mount</action>
1375 </object>
1376
1377 <object type="template" name="footer" />
1378 </page>
1379
1380 <page name="wipe">
1381 <object type="template" name="header" />
1382
1383 <object type="text" color="%text_color%">
1384 <font resource="font" />
1385 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001386 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1387 </object>
1388
1389 <object type="text" color="%text_color%">
1390 <condition var1="tw_has_data_media" var2="0" />
1391 <font resource="font" />
1392 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1393 <text>.android_secure</text>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
1397 <condition var1="tw_has_data_media" var2="1" />
1398 <font resource="font" />
1399 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1400 <text>(not including internal storage)</text>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <condition var1="tw_has_sdext_partition" var2="1" />
1405 <font resource="font" />
1406 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1407 <text>SD-EXT</text>
1408 </object>
1409
1410 <object type="text" color="%text_color%">
1411 <font resource="font" />
1412 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1413 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001414 </object>
1415
1416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001417 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001418 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001420 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001422 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001423 </object>
1424
1425 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <conditions>
1427 <condition var1="tw_has_internal" var2="1" />
1428 <condition var1="tw_has_data_media" var2="1" />
1429 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001430 <highlight color="%highlight_color%" />
1431 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <font resource="font" color="%button_text_color%" />
1433 <text>Format Data</text>
1434 <image resource="main_button" />
1435 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001436 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 </actions>
1438 </object>
1439
Dees_Troya13d74f2013-03-24 08:54:55 -05001440 <object type="text" color="%text_color%">
1441 <font resource="font" />
1442 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1443 <text>Press back button to cancel.</text>
1444 </object>
1445
1446 <object type="slider">
1447 <placement x="%slider_x%" y="%slider_y%" />
1448 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001449 <actions>
1450 <action function="set">tw_back=wipe</action>
1451 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001452 <action function="set">tw_action_param=data</action>
1453 <action function="set">tw_action_text1=Factory Reset...</action>
1454 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1455 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001456 </actions>
1457 </object>
1458
Dees_Troya13d74f2013-03-24 08:54:55 -05001459 <object type="text" color="%text_color%">
1460 <font resource="font" />
1461 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1462 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 </object>
1464
1465 <object type="action">
1466 <touch key="home" />
1467 <action function="page">main</action>
1468 </object>
1469
1470 <object type="action">
1471 <touch key="back" />
1472 <action function="page">main</action>
1473 </object>
1474
1475 <object type="template" name="footer" />
1476 </page>
1477
Dees_Troya13d74f2013-03-24 08:54:55 -05001478 <page name="advancedwipe">
1479 <object type="template" name="header" />
1480
1481 <object type="partitionlist">
1482 <highlight color="%fileselector_highlight_color%" />
1483 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1484 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1485 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1486 <text>Select Partitions to Wipe:</text>
1487 <icon selected="checkbox_true" unselected="checkbox_false" />
1488 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1489 <background color="%listbox_background%" />
1490 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1491 <data name="tw_wipe_list" />
1492 <listtype name="wipe" />
1493 </object>
1494
1495 <object type="slider">
1496 <placement x="%slider_x%" y="%slider_y%" />
1497 <resource base="slider" used="slider-used" touch="slider-touch" />
1498 <actions>
1499 <action function="set">tw_back=advancedwipe</action>
1500 <action function="set">tw_action=wipe</action>
1501 <action function="set">tw_action_param=LIST</action>
1502 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1503 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1504 <action function="set">tw_complete_text1=Wipe Complete</action>
1505 <action function="page">action_page</action>
1506 </actions>
1507 </object>
1508
1509 <object type="text" color="%text_color%">
1510 <font resource="font" />
1511 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1512 <text>Swipe to Wipe</text>
1513 </object>
1514
1515 <object type="action">
1516 <touch key="home" />
1517 <action function="page">main</action>
1518 </object>
1519
1520 <object type="action">
1521 <touch key="back" />
1522 <action function="page">wipe</action>
1523 </object>
1524
1525 <object type="template" name="footer" />
1526 </page>
1527
1528 <page name="formatdata">
1529 <object type="template" name="header" />
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1534 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1535 </object>
1536
1537 <object type="text" color="%text_color%">
1538 <font resource="font" />
1539 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1540 <text>videos, media, and removes encryption on internal storage.</text>
1541 </object>
1542
1543 <object type="text" color="%text_color%">
1544 <font resource="font" />
1545 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1546 <text>This cannot be undone. Press back to cancel.</text>
1547 </object>
1548
1549 <object type="text" color="%text_color%">
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1552 <text>Type yes to continue.</text>
1553 </object>
1554
1555 <object type="input">
1556 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1557 <background color="%input_background_color%" />
1558 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1559 <font resource="font" color="%text_color%" />
1560 <text>%tw_confirm_formatdata%</text>
1561 <data name="tw_confirm_formatdata" />
1562 <restrict minlen="3" maxlen="3" allow="yes" />
1563 <action function="page">formatdata_confirm</action>
1564 </object>
1565
1566 <object type="template" name="keyboardtemplate" />
1567
1568 <object type="action">
1569 <touch key="home" />
1570 <action function="page">main</action>
1571 </object>
1572
1573 <object type="action">
1574 <touch key="back" />
1575 <action function="page">wipe</action>
1576 </object>
1577
1578 <object type="template" name="footer" />
1579 </page>
1580
1581 <page name="formatdata_confirm">
1582 <object type="action">
1583 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1584 <actions>
1585 <action function="set">tw_back=formatdata</action>
1586 <action function="set">tw_action=wipe</action>
1587 <action function="set">tw_action_param=DATAMEDIA</action>
1588 <action function="set">tw_action_text1=Formatting Data...</action>
1589 <action function="set">tw_complete_text1=Data Format Complete</action>
1590 <action function="page">action_page</action>
1591 </actions>
1592 </object>
1593
1594 <object type="action">
1595 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1596 <action function="page">formatdata</function>
1597 </object>
1598 </page>
1599
Dees_Troy51a0e822012-09-05 15:24:24 -04001600 <page name="backup">
1601 <object type="template" name="header" />
1602
1603 <object type="text" color="%text_color%">
1604 <font resource="font" />
1605 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1606 <text>Back Up Device</text>
1607 </object>
1608
Dees_Troya13d74f2013-03-24 08:54:55 -05001609 <object type="partitionlist">
1610 <highlight color="%fileselector_highlight_color%" />
1611 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1612 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1613 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1614 <text>Select Partitions to Back Up:</text>
1615 <icon selected="checkbox_true" unselected="checkbox_false" />
1616 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1617 <background color="%listbox_background%" />
1618 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1619 <data name="tw_backup_list" />
1620 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001621 </object>
1622
1623 <object type="text" color="%text_color%">
1624 <font resource="font" />
1625 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1626 <text>Backup Name: %tw_backup_name%</text>
1627 </object>
1628
Dees_Troya13d74f2013-03-24 08:54:55 -05001629 <object type="button">
1630 <highlight color="%highlight_color%" />
1631 <placement x="%col3_x%" y="%row1_y%" />
1632 <font resource="font" color="%button_text_color%" />
1633 <text>Refresh Sizes</text>
1634 <image resource="main_button" />
1635 <action function="refreshsizes"></action>
1636 </object>
1637
1638 <object type="button">
1639 <highlight color="%highlight_color%" />
1640 <placement x="%col4_x%" y="%row1_y%" />
1641 <font resource="font" color="%button_text_color%" />
1642 <text>Set Backup Name</text>
1643 <image resource="main_button" />
1644 <actions>
1645 <action function="set">tw_fileexists=0</action>
1646 <action function="page">backupname1</action>
1647 </actions>
1648 </object>
1649
1650 <object type="button">
1651 <highlight color="%highlight_color%" />
1652 <fill color="%button_fill_color%" />
1653 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1654 <font resource="font" color="%button_text_color%" />
1655 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1656 <actions>
1657 <action function="set">tw_back=backup</action>
1658 <action function="page">selectstorage</action>
1659 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001660 </object>
1661
1662 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001663 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001664 <font resource="font" color="%text_color%" />
1665 <text>Enable Compression (Requires more time)</text>
1666 <data variable="tw_use_compression" />
1667 <image checked="checkbox_true" unchecked="checkbox_false" />
1668 </object>
1669
1670 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001671 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001672 <font resource="font" color="%text_color%" />
1673 <text>Skip MD5 generation on backups</text>
1674 <data variable="tw_skip_md5_generate" />
1675 <image checked="checkbox_true" unchecked="checkbox_false" />
1676 </object>
1677
Dees_Troy51a0e822012-09-05 15:24:24 -04001678 <object type="slider">
1679 <placement x="%slider_x%" y="%slider_y%" />
1680 <resource base="slider" used="slider-used" touch="slider-touch" />
1681 <actions>
1682 <action function="set">tw_operation_state=0</action>
1683 <action function="page">backup_run</action>
1684 </actions>
1685 </object>
1686
1687 <object type="text" color="%text_color%">
1688 <font resource="font" />
1689 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1690 <text>Swipe to Back Up</text>
1691 </object>
1692
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 <object type="action">
1694 <touch key="home" />
1695 <action function="page">main</action>
1696 </object>
1697
1698 <object type="action">
1699 <touch key="back" />
1700 <action function="page">main</action>
1701 </object>
1702
1703 <object type="template" name="footer" />
1704 </page>
1705
1706 <page name="backupname1">
1707 <object type="action">
1708 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1709 <action function="set">tw_backup_name=</function>
1710 </object>
1711
1712 <object type="action">
1713 <action function="page">backupname2</function>
1714 </object>
1715 </page>
1716
1717 <page name="backupname2">
1718 <object type="template" name="header" />
1719
1720 <object type="text" color="%text_color%">
1721 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1722 <font resource="font" />
1723 <text>Please Enter a Backup Name</text>
1724 </object>
1725
1726 <object type="input">
1727 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1728 <background color="%input_background_color%" />
1729 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1730 <font resource="font" color="%text_color%" />
1731 <text>%tw_backup_name%</text>
1732 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001733 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001734 <actions>
1735 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1736 <action function="set">tw_existpage=backupname2</action>
1737 <action function="set">tw_notexistpage=backup</action>
1738 <action function="page">filecheck</action>
1739 </actions>
1740 </object>
1741
1742 <object type="text" color="%text_fail_color%">
1743 <condition var1="tw_fileexists" var2="1" />
1744 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1745 <font resource="font" />
1746 <text>A backup with that name already exists!</text>
1747 </object>
1748
1749 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001750 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001751 <placement x="%col_center_x%" y="%cancel_button_y%" />
1752 <font resource="font" color="%button_text_color%" />
1753 <text>Cancel / Clear</text>
1754 <image resource="main_button" />
1755 <actions>
1756 <action function="set">tw_backup_name=(Current Date)</action>
1757 <action function="page">backup</action>
1758 </actions>
1759 </object>
1760
1761 <object type="template" name="keyboardtemplate" />
1762
1763 <object type="action">
1764 <touch key="home" />
1765 <actions>
1766 <action function="set">tw_backup_name=(Current Date)</action>
1767 <action function="page">main</action>
1768 </actions>
1769 </object>
1770
1771 <object type="action">
1772 <touch key="back" />
1773 <actions>
1774 <action function="set">tw_backup_name=(Current Date)</action>
1775 <action function="page">backup</action>
1776 </actions>
1777 </object>
1778
1779 <object type="template" name="footer" />
1780 </page>
1781
1782 <page name="backup_run">
1783 <object type="template" name="header" />
1784
1785 <object type="text" color="%text_color%">
1786 <font resource="font" />
1787 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1788 <text>%tw_operation% %tw_partition%</text>
1789 </object>
1790
1791 <object type="template" name="action_page_console" />
1792
1793 <object type="template" name="progress_bar" />
1794
1795 <object type="action">
1796 <action function="nandroid">backup</action>
1797 </object>
1798
1799 <object type="action">
1800 <condition var1="tw_operation_state" var2="1" />
1801 <actions>
1802 <action function="set">tw_back=backup</action>
1803 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001804 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001805 <action function="page">action_complete</action>
1806 </actions>
1807 </object>
1808
1809 <object type="template" name="footer" />
1810 </page>
1811
1812 <page name="restore">
1813 <object type="template" name="header" />
1814
1815 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001816 <highlight color="%highlight_color%" />
1817 <fill color="%button_fill_color%" />
1818 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1819 <font resource="font" color="%button_text_color%" />
1820 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1821 <actions>
1822 <action function="set">tw_back=restore</action>
1823 <action function="page">selectstorage</action>
1824 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001825 </object>
1826
1827 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001828 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001829 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1830 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001831 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001832 <text>Select Package to Restore:</text>
1833 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1834 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001835 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001836 <icon folder="folder_icon" file="file_icon" />
1837 <background color="%fileselector_background%" />
1838 <filter folders="1" files="0" nav="0" />
1839 <path name="tw_backups_folder" />
1840 <data name="tw_restore" default="" />
1841 <selection name="tw_restore_name" />
1842 </object>
1843
1844 <object type="template" name="sort_options" />
1845
1846 <object type="action">
1847 <condition var1="tw_restore" op="modified" />
1848 <actions>
1849 <action function="readBackup"></action>
1850 <action function="page">restore_select</action>
1851 </actions>
1852 </object>
1853
1854 <object type="action">
1855 <touch key="home" />
1856 <action function="page">main</action>
1857 </object>
1858
1859 <object type="action">
1860 <touch key="back" />
1861 <action function="page">main</action>
1862 </object>
1863
1864 <object type="template" name="footer" />
1865 </page>
1866
1867 <page name="restore_select">
1868 <object type="template" name="header" />
1869
1870 <object type="text" color="%text_color%">
1871 <font resource="font" />
1872 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1873 <text>Package to Restore: %tw_restore_name%</text>
1874 </object>
1875
1876 <object type="text" color="%text_color%">
1877 <font resource="font" />
1878 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1879 <text>Package Date: %tw_restore_file_date%</text>
1880 </object>
1881
Dees_Troya13d74f2013-03-24 08:54:55 -05001882 <object type="partitionlist">
1883 <highlight color="%fileselector_highlight_color%" />
1884 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
1885 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1886 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1887 <text>Select Partitions to Restore:</text>
1888 <icon selected="checkbox_true" unselected="checkbox_false" />
1889 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1890 <background color="%listbox_background%" />
1891 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1892 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1893 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001894 </object>
1895
1896 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001897 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001898 <font resource="font" color="%text_color%" />
1899 <text>Enable MD5 checking of backup files</text>
1900 <data variable="tw_skip_md5_check" />
1901 <image checked="checkbox_true" unchecked="checkbox_false" />
1902 </object>
1903
1904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001905 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001906 <placement x="%col4_x%" y="%row1_y%" />
1907 <font resource="font" color="%button_text_color%" />
1908 <text>Rename Backup</text>
1909 <image resource="main_button" />
1910 <actions>
1911 <action function="set">tw_backup_rename=</action>
1912 <action function="set">tw_fileexists=0</action>
1913 <action function="page">renamebackup</action>
1914 </actions>
1915 </object>
1916
1917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001918 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001919 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001920 <font resource="font" color="%button_text_color%" />
1921 <text>Delete Backup</text>
1922 <image resource="main_button" />
1923 <actions>
1924 <action function="set">tw_back=restore</action>
1925 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001926 <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 -04001927 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1928 <action function="set">tw_text2=This cannot be undone!</action>
1929 <action function="set">tw_action_text1=Deleting Backup...</action>
1930 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1931 <action function="set">tw_slider_text=Swipe to Delete</action>
1932 <action function="page">confirm_action</action>
1933 </actions>
1934 </object>
1935
1936 <object type="slider">
1937 <placement x="%slider_x%" y="%slider_y%" />
1938 <resource base="slider" used="slider-used" touch="slider-touch" />
1939 <action function="page">restore_run</action>
1940 </object>
1941
1942 <object type="text" color="%text_color%">
1943 <font resource="font" />
1944 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1945 <text>Swipe to Restore</text>
1946 </object>
1947
1948 <object type="action">
1949 <touch key="home" />
1950 <action function="page">main</action>
1951 </object>
1952
1953 <object type="action">
1954 <touch key="back" />
1955 <action function="page">restore</action>
1956 </object>
1957
1958 <object type="template" name="footer" />
1959 </page>
1960
1961 <page name="renamebackup">
1962 <object type="template" name="header" />
1963
1964 <object type="text" color="%text_color%">
1965 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1966 <font resource="font" />
1967 <text>Please Enter a New Backup Name</text>
1968 </object>
1969
1970 <object type="input">
1971 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1972 <background color="%input_background_color%" />
1973 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1974 <font resource="font" color="%text_color%" />
1975 <text>%tw_backup_rename%</text>
1976 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001977 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <actions>
1979 <action function="set">tw_back=restore</action>
1980 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001981 <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 -04001982 <action function="set">tw_text1=Rename Backup?</action>
1983 <action function="set">tw_text2=This cannot be undone!</action>
1984 <action function="set">tw_action_text1=Renaming Backup...</action>
1985 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1986 <action function="set">tw_slider_text=Swipe to Rename</action>
1987 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1988 <action function="set">tw_existpage=renamebackup</action>
1989 <action function="set">tw_notexistpage=confirm_action</action>
1990 <action function="page">filecheck</action>
1991 </actions>
1992 </object>
1993
1994 <object type="text" color="%text_fail_color%">
1995 <condition var1="tw_fileexists" var2="1" />
1996 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1997 <font resource="font" />
1998 <text>A backup with that name already exists!</text>
1999 </object>
2000
2001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002002 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002003 <placement x="%col_center_x%" y="%cancel_button_y%" />
2004 <font resource="font" color="%button_text_color%" />
2005 <text>Cancel</text>
2006 <image resource="main_button" />
2007 <action function="page">restore_select</action>
2008 </object>
2009
2010 <object type="template" name="keyboardtemplate" />
2011
2012 <object type="action">
2013 <touch key="home" />
2014 <action function="page">main</action>
2015 </object>
2016
2017 <object type="action">
2018 <touch key="back" />
2019 <action function="page">restore_select</action>
2020 </object>
2021
2022 <object type="template" name="footer" />
2023 </page>
2024
2025 <page name="restore_run">
2026 <object type="template" name="header" />
2027
2028 <object type="text" color="%text_color%">
2029 <font resource="font" />
2030 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2031 <text>%tw_operation% %tw_partition%</text>
2032 </object>
2033
2034 <object type="template" name="action_page_console" />
2035
2036 <object type="template" name="progress_bar" />
2037
2038 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002039 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002040 <actions>
2041 <action function="set">tw_back=restore_select</action>
2042 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002043 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002044 <action function="page">action_complete</action>
2045 </actions>
2046 </object>
2047
2048 <object type="action">
2049 <action function="nandroid">restore</action>
2050 </object>
2051 </page>
2052
2053 <page name="settings">
2054 <object type="template" name="header" />
2055
2056 <object type="text" color="%text_color%">
2057 <font resource="font" />
2058 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2059 <text>Settings</text>
2060 </object>
2061
2062 <object type="checkbox">
2063 <placement x="%col1_x%" y="%row2_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <text>Zip file signature verification?</text>
2066 <data variable="tw_signed_zip_verify" />
2067 <image checked="checkbox_true" unchecked="checkbox_false" />
2068 </object>
2069
2070 <object type="checkbox">
2071 <placement x="%col1_x%" y="%row3_text_y%" />
2072 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002073 <text>Use rm -rf instead of formatting?</text>
2074 <data variable="tw_rm_rf" />
2075 <image checked="checkbox_true" unchecked="checkbox_false" />
2076 </object>
2077
2078 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002079 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002080 <font resource="font" color="%text_color%" />
2081 <text>Skip MD5 generation on backups</text>
2082 <data variable="tw_skip_md5_generate" />
2083 <image checked="checkbox_true" unchecked="checkbox_false" />
2084 </object>
2085
2086 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002087 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002088 <font resource="font" color="%text_color%" />
2089 <text>Enable MD5 checking of backup files</text>
2090 <data variable="tw_skip_md5_check" />
2091 <image checked="checkbox_true" unchecked="checkbox_false" />
2092 </object>
2093
2094 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002095 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002097 <text>Use Military Time</text>
2098 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002099 <image checked="checkbox_true" unchecked="checkbox_false" />
2100 </object>
2101
2102 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002103 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 <font resource="font" color="%text_color%" />
2105 <text>Simulate most actions for theme testing</text>
2106 <data variable="tw_simulate_actions" />
2107 <image checked="checkbox_true" unchecked="checkbox_false" />
2108 </object>
2109
2110 <object type="checkbox">
2111 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002112 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002113 <font resource="font" color="%text_color%" />
2114 <text>Simulate failure for actions</text>
2115 <data variable="tw_simulate_fail" />
2116 <image checked="checkbox_true" unchecked="checkbox_false" />
2117 </object>
2118
2119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002121 <placement x="%col1_x%" y="%row2_y%" />
2122 <font resource="font" color="%button_text_color%" />
2123 <text>Time Zone</text>
2124 <image resource="main_button" />
2125 <action function="page">timezone</action>
2126 </object>
2127
2128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002129 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002130 <placement x="%col4_x%" y="%row2_y%" />
2131 <font resource="font" color="%button_text_color%" />
2132 <text>Screen</text>
2133 <image resource="main_button" />
2134 <action function="page">screen</action>
2135 </object>
2136
2137 <object type="button">
2138 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 <placement x="%col_center_x%" y="%slider_y%" />
2140 <font resource="font" color="%button_text_color%" />
2141 <text>Restore Defaults</text>
2142 <image resource="main_button" />
2143 <action function="restoredefaultsettings"></action>
2144 </object>
2145
2146 <object type="action">
2147 <touch key="home" />
2148 <action function="page">main</action>
2149 </object>
2150
2151 <object type="action">
2152 <touch key="back" />
2153 <action function="page">main</action>
2154 </object>
2155
2156 <object type="template" name="footer" />
2157 </page>
2158
2159 <page name="timezone">
2160 <object type="template" name="header" />
2161
2162 <object type="text" color="%text_color%">
2163 <font resource="font" />
2164 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2165 <text>Select Time Zone</text>
2166 </object>
2167
2168 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002169 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002170 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002171 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002172 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002173 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002174 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002175 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002176 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002177 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002178 <data name="tw_time_zone_guisel" />
2179 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2180 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2181 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2182 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2183 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2184 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2185 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2186 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2187 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2188 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2189 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2190 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2191 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2192 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2193 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2194 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2195 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2196 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2197 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2198 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2199 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2200 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2201 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2202 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2203 </object>
2204
2205 <object type="checkbox">
2206 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2207 <font resource="font" color="%text_color%" />
2208 <text>Do you use daylight savings time (DST)?</text>
2209 <data variable="tw_time_zone_guidst" />
2210 <image checked="checkbox_true" unchecked="checkbox_false" />
2211 </object>
2212
2213 <object type="text" color="%text_color%">
2214 <font resource="font" />
2215 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2216 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2217 </object>
2218
2219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002221 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2222 <font resource="font" color="%button_text_color%" />
2223 <text>0</text>
2224 <image resource="medium_button" />
2225 <action function="set">tw_time_zone_guioffset=0</action>
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="%col2_medium_x%" y="%row_offsetmedium_y%" />
2231 <font resource="font" color="%button_text_color%" />
2232 <text>15</text>
2233 <image resource="medium_button" />
2234 <action function="set">tw_time_zone_guioffset=15</action>
2235 </object>
2236
2237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002239 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2240 <font resource="font" color="%button_text_color%" />
2241 <text>30</text>
2242 <image resource="medium_button" />
2243 <action function="set">tw_time_zone_guioffset=30</action>
2244 </object>
2245
2246 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002247 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002248 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2249 <font resource="font" color="%button_text_color%" />
2250 <text>45</text>
2251 <image resource="medium_button" />
2252 <action function="set">tw_time_zone_guioffset=45</action>
2253 </object>
2254
2255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002257 <placement x="%col4_x%" y="%row2_y%" />
2258 <font resource="font" color="%button_text_color%" />
2259 <text>Set Time Zone</text>
2260 <image resource="main_button" />
2261 <action function="setguitimezone"></action>
2262 </object>
2263
2264 <object type="text" color="%text_color%">
2265 <font resource="font" />
2266 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2267 <text>Current Time Zone: %tw_time_zone%</text>
2268 </object>
2269
2270 <object type="action">
2271 <touch key="home" />
2272 <action function="page">main</action>
2273 </object>
2274
2275 <object type="action">
2276 <touch key="back" />
2277 <action function="page">settings</action>
2278 </object>
2279
2280 <object type="template" name="footer" />
2281 </page>
2282
Dees_Troy2f9117a2013-02-17 19:52:09 -06002283 <page name="screen">
2284 <object type="template" name="header" />
2285
2286 <object type="text" color="%text_color%">
2287 <font resource="font" />
2288 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2289 <text>Screen Settings</text>
2290 </object>
2291
2292 <object type="text" color="%text_color%">
2293 <font resource="font" />
2294 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2295 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2296 </object>
2297
2298 <object type="button">
2299 <placement x="%col1_medium_x%" y="%row2_medium_y%" />
2300 <font resource="font" color="%button_text_color%" />
2301 <text>None</text>
2302 <image resource="medium_button" />
2303 <action function="set">tw_screen_timeout_secs=0</action>
2304 </object>
2305
2306 <object type="button">
2307 <placement x="%col2_medium_x%" y="%row2_medium_y%" />
2308 <font resource="font" color="%button_text_color%" />
2309 <text>60</text>
2310 <image resource="medium_button" />
2311 <action function="set">tw_screen_timeout_secs=60</action>
2312 </object>
2313
2314 <object type="button">
2315 <placement x="%col3_medium_x%" y="%row2_medium_y%" />
2316 <font resource="font" color="%button_text_color%" />
2317 <text>120</text>
2318 <image resource="medium_button" />
2319 <action function="set">tw_screen_timeout_secs=120</action>
2320 </object>
2321
2322 <object type="button">
2323 <placement x="%col4_medium_x%" y="%row2_medium_y%" />
2324 <font resource="font" color="%button_text_color%" />
2325 <text>180</text>
2326 <image resource="medium_button" />
2327 <action function="set">tw_screen_timeout_secs=180</action>
2328 </object>
2329
2330 <object type="text" color="%text_color%">
2331 <condition var1="tw_has_brightnesss_file" var2="1" />
2332 <font resource="font" />
2333 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2334 <text>Brightness: %tw_brightness_display%</text>
2335 </object>
2336
2337 <object type="button">
2338 <condition var1="tw_has_brightnesss_file" var2="1" />
2339 <placement x="%col1_medium_x%" y="%row4_medium_y%" />
2340 <font resource="font" color="%button_text_color%" />
2341 <text>25%</text>
2342 <image resource="medium_button" />
2343 <actions>
2344 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2345 <action function="set">tw_brightness_display=25%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002346 <action function="set">tw_brightness=%tw_brightness_25%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002347 </actions>
2348 </object>
2349
2350 <object type="button">
2351 <condition var1="tw_has_brightnesss_file" var2="1" />
2352 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2353 <font resource="font" color="%button_text_color%" />
2354 <text>50%</text>
2355 <image resource="medium_button" />
2356 <actions>
2357 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2358 <action function="set">tw_brightness_display=50%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002359 <action function="set">tw_brightness=%tw_brightness_50%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002360 </actions>
2361 </object>
2362
2363 <object type="button">
2364 <condition var1="tw_has_brightnesss_file" var2="1" />
2365 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2366 <font resource="font" color="%button_text_color%" />
2367 <text>75%</text>
2368 <image resource="medium_button" />
2369 <actions>
2370 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2371 <action function="set">tw_brightness_display=75%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002372 <action function="set">tw_brightness=%tw_brightness_75%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002373 </actions>
2374 </object>
2375
2376 <object type="button">
2377 <condition var1="tw_has_brightnesss_file" var2="1" />
2378 <placement x="%col4_medium_x%" y="%row4_medium_y%" />
2379 <font resource="font" color="%button_text_color%" />
2380 <text>100%</text>
2381 <image resource="medium_button" />
2382 <actions>
2383 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2384 <action function="set">tw_brightness_display=100%</action>
Dees_Troy6ef66352013-02-21 08:26:57 -06002385 <action function="set">tw_brightness=%tw_brightness_100%</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002386 </actions>
2387 </object>
2388
2389 <object type="action">
2390 <touch key="home" />
2391 <action function="page">main</action>
2392 </object>
2393
2394 <object type="action">
2395 <touch key="back" />
2396 <action function="page">settings</action>
2397 </object>
2398
2399 <object type="template" name="footer" />
2400 </page>
2401
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <page name="advanced">
2403 <object type="template" name="header" />
2404
2405 <object type="text" color="%text_color%">
2406 <font resource="font" />
2407 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2408 <text>Advanced</text>
2409 </object>
2410
2411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <placement x="%col1_x%" y="%row1_y%" />
2414 <font resource="font" color="%button_text_color%" />
2415 <text>Copy Log to SD</text>
2416 <image resource="main_button" />
2417 <actions>
2418 <action function="set">tw_back=advanced</action>
2419 <action function="set">tw_action=copylog</action>
2420 <action function="set">tw_text1=Copy Log to SD Card?</action>
2421 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2422 <action function="set">tw_complete_text1=Log Copy Complete</action>
2423 <action function="set">tw_slider_text=Swipe to Confirm</action>
2424 <action function="page">confirm_action</action>
2425 </actions>
2426 </object>
2427
2428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <placement x="%col2_x%" y="%row1_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Fix Permissions</text>
2433 <image resource="main_button" />
2434 <actions>
2435 <action function="set">tw_back=advanced</action>
2436 <action function="set">tw_action=fixpermissions</action>
2437 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2440 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002441 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <action function="page">confirm_action</action>
2443 </actions>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <placement x="%col3_x%" y="%row1_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>Terminal Command</text>
2451 <image resource="main_button" />
2452 <action function="page">terminalfolder</action>
2453 </object>
2454
2455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002456 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002457 <placement x="%col4_x%" y="%row1_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>ADB Sideload</text>
2460 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002461 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002462 </object>
2463
2464 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002465 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002466 <condition var1="tw_allow_partition_sdcard" var2="1" />
2467 <placement x="%col1_x%" y="%row2_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Partition SD Card</text>
2470 <image resource="main_button" />
2471 <action function="page">partsdcard</action>
2472 </object>
2473
2474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <placement x="%col2_x%" y="%row2_y%" />
2477 <font resource="font" color="%button_text_color%" />
2478 <text>File Manager</text>
2479 <image resource="main_button" />
2480 <action function="page">filemanagerlist</action>
2481 </object>
2482
2483 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002484 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002485 <placement x="%col3_x%" y="%row2_y%" />
2486 <font resource="font" color="%button_text_color%" />
2487 <text>Reload Theme</text>
2488 <image resource="main_button" />
2489 <action function="reload"></action>
2490 </object>
2491
2492 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002493 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <condition var1="tw_show_dumlock" var2="1" />
2495 <placement x="%col4_x%" y="%row2_y%" />
2496 <font resource="font" color="%button_text_color%" />
2497 <text>HTC Dumlock</text>
2498 <image resource="main_button" />
2499 <action function="page">htcdumlock</action>
2500 </object>
2501
2502 <object type="action">
2503 <touch key="home" />
2504 <action function="page">main</action>
2505 </object>
2506
2507 <object type="action">
2508 <touch key="back" />
2509 <action function="page">main</action>
2510 </object>
2511
2512 <object type="template" name="footer" />
2513 </page>
2514
2515 <page name="partsdcard">
2516 <object type="template" name="header" />
2517
2518 <object type="text" color="%text_color%">
2519 <font resource="font" />
2520 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2521 <text>Partition SD Card</text>
2522 </object>
2523
2524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002525 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2527 <font resource="font" color="%button_text_color%" />
2528 <text></text>
2529 <image resource="minus_button" />
2530 <action function="addsubtract">tw_sdext_size-128</action>
2531 </object>
2532
2533 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002534 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2536 <font resource="font" color="%button_text_color%" />
2537 <text></text>
2538 <image resource="plus_button" />
2539 <action function="addsubtract">tw_sdext_size+128</action>
2540 </object>
2541
2542 <object type="text" color="%text_color%">
2543 <font resource="font" />
2544 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2545 <text>EXT Size: %tw_sdext_size%</text>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text></text>
2553 <image resource="minus_button" />
2554 <action function="addsubtract">tw_swap_size-32</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text></text>
2562 <image resource="plus_button" />
2563 <action function="addsubtract">tw_swap_size+32</action>
2564 </object>
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2569 <text>Swap Size: %tw_swap_size%</text>
2570 </object>
2571
2572 <object type="text" color="%text_color%">
2573 <font resource="font" />
2574 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2575 <text>File system: %tw_sdpart_file_system%</text>
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="%col2_medium_x%" y="%row4_medium_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>EXT3</text>
2583 <image resource="medium_button" />
2584 <action function="set">tw_sdpart_file_system=ext3</action>
2585 </object>
2586
2587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002589 <condition var1="tw_sdext_disable_ext4" var2="0" />
2590 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2591 <font resource="font" color="%button_text_color%" />
2592 <text>EXT4</text>
2593 <image resource="medium_button" />
2594 <action function="set">tw_sdpart_file_system=ext4</action>
2595 </object>
2596
2597 <object type="text" color="%text_color%">
2598 <font resource="font" />
2599 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2600 <text>You will lose all files on your SD card!</text>
2601 </object>
2602
2603 <object type="text" color="%text_color%">
2604 <font resource="font" />
2605 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2606 <text>This action cannot be undone!</text>
2607 </object>
2608
2609 <object type="slider">
2610 <placement x="%slider_x%" y="%slider_y%" />
2611 <resource base="slider" used="slider-used" touch="slider-touch" />
2612 <actions>
2613 <action function="set">tw_back=partsdcard</action>
2614 <action function="set">tw_action=partitionsd</action>
2615 <action function="set">tw_has_action2=1</action>
2616 <action function="set">tw_action2=set</action>
2617 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2618 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2619 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002620 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <action function="page">action_page</action>
2622 </actions>
2623 </object>
2624
2625 <object type="text" color="%text_color%">
2626 <font resource="font" />
2627 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2628 <text>Swipe to Confirm Partition</text>
2629 </object>
2630
2631 <object type="action">
2632 <touch key="home" />
2633 <action function="page">main</action>
2634 </object>
2635
2636 <object type="action">
2637 <touch key="back" />
2638 <action function="page">advanced</action>
2639 </object>
2640
2641 <object type="template" name="footer" />
2642 </page>
2643
2644
2645 <page name="htcdumlock">
2646 <object type="template" name="header" />
2647
2648 <object type="text" color="%text_color%">
2649 <font resource="font" />
2650 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2651 <text>HTC Dumlock</text>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <condition var1="tw_show_dumlock" var2="1" />
2657 <placement x="%col1_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Restore Original Boot</text>
2660 <image resource="main_button" />
2661 <actions>
2662 <action function="set">tw_back=htcdumlock</action>
2663 <action function="set">tw_action=htcdumlockrestoreboot</action>
2664 <action function="set">tw_text1=Restore original boot image?</action>
2665 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2666 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2667 <action function="set">tw_slider_text=Swipe to Confirm</action>
2668 <action function="page">confirm_action</action>
2669 </actions>
2670 </object>
2671
2672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002673 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002674 <condition var1="tw_show_dumlock" var2="1" />
2675 <placement x="%col2_x%" y="%row1_y%" />
2676 <font resource="font" color="%button_text_color%" />
2677 <text>Reflash Recovery->Boot</text>
2678 <image resource="main_button" />
2679 <actions>
2680 <action function="set">tw_back=htcdumlock</action>
2681 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2682 <action function="set">tw_text1=Reflash recovery to boot?</action>
2683 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2684 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2685 <action function="set">tw_slider_text=Swipe to Confirm</action>
2686 <action function="page">confirm_action</action>
2687 </actions>
2688 </object>
2689
2690 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002691 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002692 <condition var1="tw_show_dumlock" var2="1" />
2693 <placement x="%col1_x%" y="%row2_y%" />
2694 <font resource="font" color="%button_text_color%" />
2695 <text>Install HTC Dumlock</text>
2696 <image resource="main_button" />
2697 <actions>
2698 <action function="set">tw_back=htcdumlock</action>
2699 <action function="set">tw_action=installhtcdumlock</action>
2700 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2701 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2702 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2703 <action function="set">tw_slider_text=Swipe to Confirm</action>
2704 <action function="page">confirm_action</action>
2705 </actions>
2706 </object>
2707
2708 <object type="action">
2709 <touch key="home" />
2710 <action function="page">main</action>
2711 </object>
2712
2713 <object type="action">
2714 <touch key="back" />
2715 <action function="page">advanced</action>
2716 </object>
2717
2718 <object type="template" name="footer" />
2719 </page>
2720
2721 <page name="lock">
2722 <background color="#000000A0" />
2723
2724 <object type="image">
2725 <image resource="unlock-icon" />
2726 <placement x="%lock_x%" y="%lock_y%" />
2727 </object>
2728
2729 <object type="slider">
2730 <placement x="%slider_x%" y="%slider_y%" />
2731 <resource base="slider" used="slider-used" touch="slider-touch" />
2732 <action function="overlay"></action>
2733 </object>
2734
2735 <object type="text" color="%text_color%">
2736 <font resource="font" />
2737 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2738 <text>Swipe to Unlock</text>
2739 </object>
2740 </page>
2741
2742
2743 <page name="filemanagerlist">
2744 <object type="template" name="header" />
2745
2746 <object type="text" color="%text_color%">
2747 <font resource="font" />
2748 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2749 <text>File Manager: Select a File or Folder</text>
2750 </object>
2751
2752 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002753 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2755 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002756 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <text>Folders:</text>
2758 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2759 <sort name="tw_gui_sort_order" />
2760 <icon folder="folder_icon" file="file_icon" />
2761 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002762 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <filter folders="1" files="0" />
2764 <path name="tw_file_location1" default="/sdcard" />
2765 <data name="select" />
2766 <selection name="tw_selection1" />
2767 </object>
2768
2769 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002770 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2772 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002773 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <text>%tw_file_location1%</text>
2775 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2776 <sort name="tw_gui_sort_order" />
2777 <icon folder="folder_icon" file="file_icon" />
2778 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002779 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <filter folders="0" files="1" />
2781 <path name="tw_file_location1" default="/" />
2782 <data name="tw_filename1" />
2783 <selection name="tw_selection1" />
2784 </object>
2785
2786 <object type="template" name="sort_options" />
2787
2788 <object type="action">
2789 <actions>
2790 <action function="set">tw_fm_type=File</action>
2791 <action function="set">tw_fm_isfolder=0</action>
2792 </actions>
2793 </object>
2794
2795 <object type="action">
2796 <touch key="home" />
2797 <action function="page">main</action>
2798 </object>
2799
2800 <object type="action">
2801 <touch key="back" />
2802 <action function="page">advanced</action>
2803 </object>
2804
2805 <object type="action">
2806 <condition var1="tw_filename1" op="modified" />
2807 <actions>
2808 <action function="page">filemanageroptions</action>
2809 </actions>
2810 </object>
2811
2812 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002813 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002814 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>Select Folder</text>
2817 <image resource="main_button" />
2818 <actions>
2819 <action function="set">tw_filename1=tw_file_location1</action>
2820 <action function="set">tw_fm_isfolder=1</action>
2821 <action function="set">tw_fm_type=Folder</action>
2822 <action function="page">filemanageroptions</action>
2823 </actions>
2824 </object>
2825
2826 <object type="template" name="footer" />
2827 </page>
2828
2829 <page name="filemanageroptions">
2830 <object type="template" name="header" />
2831
2832 <object type="text" color="%text_color%">
2833 <font resource="font" />
2834 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2835 <text>%tw_fm_type% Selected:</text>
2836 </object>
2837
2838 <object type="text" color="%text_color%">
2839 <font resource="font" />
2840 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2841 <text>%tw_filename1%</text>
2842 </object>
2843
2844 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002845 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002846 <condition var1="tw_fm_isfolder" var2="0" />
2847 <placement x="%col1_x%" y="%row2_y%" />
2848 <font resource="font" color="%button_text_color%" />
2849 <text>Copy File</text>
2850 <image resource="main_button" />
2851 <actions>
2852 <action function="set">tw_filemanager_command=cp</action>
2853 <action function="set">tw_fm_text1=Copying</action>
2854 <action function="page">choosedestinationfolder</action>
2855 </actions>
2856 </object>
2857
2858 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002859 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002860 <condition var1="tw_fm_isfolder" var2="1" />
2861 <placement x="%col1_x%" y="%row2_y%" />
2862 <font resource="font" color="%button_text_color%" />
2863 <text>Copy Folder</text>
2864 <image resource="main_button" />
2865 <actions>
2866 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2867 <action function="set">tw_fm_text1=Copying</action>
2868 <action function="page">choosedestinationfolder</action>
2869 </actions>
2870 </object>
2871
2872 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002873 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002874 <placement x="%col2_x%" y="%row2_y%" />
2875 <font resource="font" color="%button_text_color%" />
2876 <text>Move</text>
2877 <image resource="main_button" />
2878 <actions>
2879 <action function="set">tw_filemanager_command=mv</action>
2880 <action function="set">tw_fm_text1=Moving</action>
2881 <action function="page">choosedestinationfolder</action>
2882 </actions>
2883 </object>
2884
2885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002886 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <placement x="%col3_x%" y="%row2_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text>chmod 755</text>
2890 <image resource="main_button" />
2891 <actions>
2892 <action function="set">tw_filemanager_command=chmod 755</action>
2893 <action function="set">tw_fm_text1=chmod 755</action>
2894 <action function="set">tw_fm_text2=</action>
2895 <action function="set">tw_fm_text3=</action>
2896 <action function="set">tw_include_text3=0</action>
2897 <action function="set">tw_back=filemanageroptions</action>
2898 <action function="page">filemanagerconfirm</action>
2899 </actions>
2900 </object>
2901
2902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002903 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <placement x="%col4_x%" y="%row2_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text>chmod</text>
2907 <image resource="main_button" />
2908 <actions>
2909 <action function="set">tw_filemanager_rename=0000</action>
2910 <action function="set">tw_fm_text2=</action>
2911 <action function="set">tw_fm_text3=</action>
2912 <action function="set">tw_include_text3=0</action>
2913 <action function="set">tw_back=filemanageroptions</action>
2914 <action function="page">filemanagerchmod</action>
2915 </actions>
2916 </object>
2917
2918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002919 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <placement x="%col1_x%" y="%row1_y%" />
2921 <font resource="font" color="%button_text_color%" />
2922 <text>Delete</text>
2923 <image resource="main_button" />
2924 <actions>
2925 <action function="set">tw_filemanager_command=rm -rf</action>
2926 <action function="set">tw_fm_text1=Deleting</action>
2927 <action function="set">tw_fm_text2=</action>
2928 <action function="set">tw_fm_text3=</action>
2929 <action function="set">tw_include_text3=0</action>
2930 <action function="set">tw_back=filemanageroptions</action>
2931 <action function="page">filemanagerconfirm</action>
2932 </actions>
2933 </object>
2934
2935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <condition var1="tw_fm_isfolder" var2="0" />
2938 <placement x="%col4_x%" y="%row1_y%" />
2939 <font resource="font" color="%button_text_color%" />
2940 <text>Rename File</text>
2941 <image resource="main_button" />
2942 <actions>
2943 <action function="set">tw_filemanager_rename=tw_selection1</action>
2944 <action function="set">tw_fm_text1=Renaming</action>
2945 <action function="set">tw_filemanager_command=mv</action>
2946 <action function="page">filemanagerrenamefile</action>
2947 </actions>
2948 </object>
2949
2950 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002951 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <condition var1="tw_fm_isfolder" var2="1" />
2953 <placement x="%col4_x%" y="%row1_y%" />
2954 <font resource="font" color="%button_text_color%" />
2955 <text>Rename Folder</text>
2956 <image resource="main_button" />
2957 <actions>
2958 <action function="set">tw_filemanager_rename=tw_selection1</action>
2959 <action function="set">tw_fm_text1=Renaming</action>
2960 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2961 <action function="page">filemanagerrenamefolder</action>
2962 </actions>
2963 </object>
2964
2965 <object type="action">
2966 <touch key="home" />
2967 <action function="page">main</action>
2968 </object>
2969
2970 <object type="action">
2971 <touch key="back" />
2972 <action function="page">filemanagerlist</action>
2973 </object>
2974
2975 <object type="template" name="footer" />
2976 </page>
2977
2978 <page name="choosedestinationfolder">
2979 <object type="template" name="header" />
2980
2981 <object type="text" color="%text_color%">
2982 <font resource="font" />
2983 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2984 <text>Browse to Destination Folder & Press Select</text>
2985 </object>
2986
2987 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002988 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2990 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002991 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002992 <text>%tw_file_location2%</text>
2993 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2994 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002995 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002996 <icon folder="folder_icon" file="file_icon" />
2997 <background color="%fileselector_background%" />
2998 <filter folders="1" files="0" />
2999 <path name="tw_file_location2" default="/sdcard" />
3000 <data name="tw_filename2" />
3001 </object>
3002
3003 <object type="template" name="sort_options" />
3004
3005 <object type="action">
3006 <touch key="home" />
3007 <action function="page">main</action>
3008 </object>
3009
3010 <object type="action">
3011 <touch key="back" />
3012 <action function="page">filemanageroptions</action>
3013 </object>
3014
3015 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003016 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003017 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3018 <font resource="font" color="%button_text_color%" />
3019 <text>Select Folder</text>
3020 <image resource="main_button" />
3021 <actions>
3022 <action function="set">tw_fm_text2=to</action>
3023 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3024 <action function="set">tw_include_text3=1</action>
3025 <action function="set">tw_back=filemanageroptions</action>
3026 <action function="page">filemanagerconfirm</action>
3027 </actions>
3028 </object>
3029
3030 <object type="template" name="footer" />
3031 </page>
3032
3033 <page name="filemanagerrenamefile">
3034 <object type="template" name="header" />
3035
3036 <object type="text" color="%text_color%">
3037 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3038 <font resource="font" />
3039 <text>Please Enter a New %tw_fm_type% Name</text>
3040 </object>
3041
3042 <object type="input">
3043 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3044 <background color="%input_background_color%" />
3045 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3046 <font resource="font" color="%text_color%" />
3047 <text>%tw_filemanager_rename%</text>
3048 <data name="tw_filemanager_rename" />
3049 <restrict minlen="1" maxlen="128" />
3050 <actions>
3051 <action function="set">tw_fm_text2=to</action>
3052 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3053 <action function="set">tw_include_text3=1</action>
3054 <action function="set">tw_back=filemanageroptions</action>
3055 <action function="page">filemanagerconfirm</action>
3056 </actions>
3057 </object>
3058
3059 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003060 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003061 <placement x="%col_center_x%" y="%cancel_button_y%" />
3062 <font resource="font" color="%button_text_color%" />
3063 <text>Cancel</text>
3064 <image resource="main_button" />
3065 <action function="page">filemanageroptions</action>
3066 </object>
3067
3068 <object type="template" name="keyboardtemplate" />
3069
3070 <object type="action">
3071 <touch key="home" />
3072 <action function="page">main</action>
3073 </object>
3074
3075 <object type="action">
3076 <touch key="back" />
3077 <action function="page">filemanageroptions</action>
3078 </object>
3079
3080 <object type="template" name="footer" />
3081 </page>
3082
3083 <page name="filemanagerrenamefolder">
3084 <object type="template" name="header" />
3085
3086 <object type="text" color="%text_color%">
3087 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3088 <font resource="font" />
3089 <text>Please Enter a New %tw_fm_type% Name</text>
3090 </object>
3091
3092 <object type="input">
3093 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3094 <background color="%input_background_color%" />
3095 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3096 <font resource="font" color="%text_color%" />
3097 <text>%tw_filemanager_rename%</text>
3098 <data name="tw_filemanager_rename" />
3099 <restrict minlen="1" maxlen="128" />
3100 <actions>
3101 <action function="set">tw_fm_text2=to</action>
3102 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3103 <action function="set">tw_include_text3=1</action>
3104 <action function="set">tw_back=filemanageroptions</action>
3105 <action function="page">filemanagerconfirm</action>
3106 </actions>
3107 </object>
3108
3109 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003110 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003111 <placement x="%col_center_x%" y="%cancel_button_y%" />
3112 <font resource="font" color="%button_text_color%" />
3113 <text>Cancel</text>
3114 <image resource="main_button" />
3115 <action function="page">filemanageroptions</action>
3116 </object>
3117
3118 <object type="template" name="keyboardtemplate" />
3119
3120 <object type="action">
3121 <touch key="home" />
3122 <action function="page">main</action>
3123 </object>
3124
3125 <object type="action">
3126 <touch key="back" />
3127 <action function="page">filemanageroptions</action>
3128 </object>
3129
3130 <object type="template" name="footer" />
3131 </page>
3132
3133 <page name="filemanagerchmod">
3134 <object type="template" name="header" />
3135
3136 <object type="text" color="%text_color%">
3137 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3138 <font resource="font" />
3139 <text>Please Enter New Permissions</text>
3140 </object>
3141
3142 <object type="input">
3143 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3144 <background color="%input_background_color%" />
3145 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3146 <font resource="font" color="%text_color%" />
3147 <text>%tw_filemanager_rename%</text>
3148 <data name="tw_filemanager_rename" />
3149 <restrict minlen="3" maxlen="4" allow="0123456789" />
3150 <actions>
3151 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3152 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3153 <action function="set">tw_back=filemanageroptions</action>
3154 <action function="page">filemanagerconfirm</action>
3155 </actions>
3156 </object>
3157
3158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003160 <placement x="%col_center_x%" y="%cancel_button_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Cancel</text>
3163 <image resource="main_button" />
3164 <action function="page">filemanageroptions</action>
3165 </object>
3166
3167 <object type="template" name="keyboardtemplate" />
3168
3169 <object type="action">
3170 <touch key="home" />
3171 <action function="page">main</action>
3172 </object>
3173
3174 <object type="action">
3175 <touch key="back" />
3176 <action function="page">filemanageroptions</action>
3177 </object>
3178
3179 <object type="template" name="footer" />
3180 </page>
3181
3182 <page name="filemanagerconfirm">
3183 <object type="template" name="header" />
3184
3185 <object type="text" color="%text_color%">
3186 <font resource="font" />
3187 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3188 <text>%tw_fm_text1%</text>
3189 </object>
3190
3191 <object type="text" color="%text_color%">
3192 <font resource="font" />
3193 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3194 <text>%tw_filename1%</text>
3195 </object>
3196
3197 <object type="text" color="%text_color%">
3198 <font resource="font" />
3199 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3200 <text>%tw_fm_text2%</text>
3201 </object>
3202
3203 <object type="text" color="%text_color%">
3204 <font resource="font" />
3205 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3206 <text>%tw_fm_text3%</text>
3207 </object>
3208
3209 <object type="text" color="%text_color%">
3210 <font resource="font" />
3211 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3212 <text>Press back button to cancel.</text>
3213 </object>
3214
3215 <object type="slider">
3216 <placement x="%slider_x%" y="%slider_y%" />
3217 <resource base="slider" used="slider-used" touch="slider-touch" />
3218 <action function="page">filemanageracction</action>
3219 </object>
3220
3221 <object type="text" color="%text_color%">
3222 <font resource="font" />
3223 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3224 <text>Swipe to Confirm</text>
3225 </object>
3226
3227 <object type="action">
3228 <touch key="back" />
3229 <action function="page">%tw_back%</action>
3230 </object>
3231
3232 <object type="action">
3233 <touch key="home" />
3234 <action function="page">main</action>
3235 </object>
3236
3237 <object type="template" name="footer" />
3238 </page>
3239
3240 <page name="filemanageracction">
3241 <object type="template" name="header" />
3242
3243 <object type="text" color="%text_color%">
3244 <font resource="font" />
3245 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3246 <text>%tw_fm_text1%</text>
3247 </object>
3248
3249 <object type="template" name="action_page_console" />
3250
3251 <object type="template" name="progress_bar" />
3252
3253 <object type="action">
3254 <conditions>
3255 <condition var1="tw_operation_state" var2="1" />
3256 <condition var1="tw_operation_status" var2="0" />
3257 </conditions>
3258 <actions>
3259 <action function="set">tw_back=filemanagerlist</action>
3260 <action function="set">tw_complete_text1=File Operation Complete</action>
3261 <action function="page">action_complete</action>
3262 </actions>
3263 </object>
3264
3265 <object type="action">
3266 <conditions>
3267 <condition var1="tw_operation_state" var2="1" />
3268 <condition var1="tw_operation_status" op="!=" var2="0" />
3269 </conditions>
3270 <actions>
3271 <action function="set">tw_complete_text1=File Operation Complete</action>
3272 <action function="page">action_complete</action>
3273 </actions>
3274 </object>
3275
3276 <object type="action">
3277 <condition var1="tw_include_text3" var2="0" />
3278 <actions>
3279 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3280 </actions>
3281 </object>
3282
3283 <object type="action">
3284 <condition var1="tw_include_text3" var2="1" />
3285 <actions>
3286 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3287 </actions>
3288 </object>
3289 </page>
3290
3291 <page name="decrypt">
3292 <object type="template" name="header" />
3293
3294 <object type="text" color="%text_color%">
3295 <font resource="font" />
3296 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3297 <text>Please Enter Your Password</text>
3298 </object>
3299
3300 <object type="input">
3301 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3302 <background color="%input_background_color%" />
3303 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3304 <font resource="font" color="%text_color%" />
3305 <text>%tw_crypto_display%</text>
3306 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3307 <restrict minlen="1" maxlen="254" />
3308 <actions>
3309 <action function="page">trydecrypt</action>
3310 </actions>
3311 </object>
3312
3313 <object type="text" color="%text_fail_color%">
3314 <condition var1="tw_password_fail" var2="1" />
3315 <font resource="font" />
3316 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3317 <text>Password Failed, Please Try Again</text>
3318 </object>
3319
3320 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003321 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003322 <placement x="%col_center_x%" y="%cancel_button_y%" />
3323 <font resource="font" color="%button_text_color%" />
3324 <text>Cancel</text>
3325 <image resource="main_button" />
3326 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003327 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003328 <action function="page">main</action>
3329 </actions>
3330 </object>
3331
3332 <object type="template" name="keyboardtemplate" />
3333
Dees_Troy51a0e822012-09-05 15:24:24 -04003334 <object type="template" name="footer" />
3335 </page>
3336
3337 <page name="trydecrypt">
3338 <object type="template" name="header" />
3339
3340 <object type="text" color="%text_color%">
3341 <font resource="font" />
3342 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3343 <text>Trying Decryption with Your Password</text>
3344 </object>
3345
3346 <object type="template" name="action_page_console" />
3347
3348 <object type="template" name="progress_bar" />
3349
3350 <object type="action">
3351 <action function="decrypt"></action>
3352 </object>
3353
3354 <object type="action">
3355 <conditions>
3356 <condition var1="tw_operation_state" var2="1" />
3357 <condition var1="tw_operation_status" op="!=" var2="0" />
3358 </conditions>
3359 <actions>
3360 <action function="set">tw_password_fail=1</action>
3361 <action function="page">decrypt</action>
3362 </actions>
3363 </object>
3364
3365 <object type="action">
3366 <conditions>
3367 <condition var1="tw_operation_state" var2="1" />
3368 <condition var1="tw_operation_status" op="=" var2="0" />
3369 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003370 <actions>
3371 <action function="set">tw_page_done=1</action>
3372 <action function="page">main</action>
3373 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003374 </object>
3375 </page>
3376
3377 <page name="terminalfolder">
3378 <object type="template" name="header" />
3379
3380 <object type="text" color="%text_color%">
3381 <font resource="font" />
3382 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3383 <text>Browse to Starting Folder</text>
3384 </object>
3385
3386 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003387 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003388 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3389 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003390 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003391 <text>%tw_terminal_location%</text>
3392 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3393 <sort name="tw_gui_sort_order" />
3394 <icon folder="folder_icon" file="file_icon" />
3395 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003396 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003397 <filter folders="1" files="0" />
3398 <path name="tw_terminal_location" default="/" />
3399 <data name="tw_terminal" />
3400 <selection name="tw_terminal_selection" />
3401 </object>
3402
3403 <object type="template" name="sort_options" />
3404
3405 <object type="action">
3406 <touch key="home" />
3407 <action function="page">main</action>
3408 </object>
3409
3410 <object type="action">
3411 <touch key="back" />
3412 <action function="page">advanced</action>
3413 </object>
3414
3415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003417 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3418 <font resource="font" color="%button_text_color%" />
3419 <text>Select Folder</text>
3420 <image resource="main_button" />
3421 <actions>
3422 <action function="page">terminalcommand</action>
3423 </actions>
3424 </object>
3425
3426 <object type="template" name="footer" />
3427 </page>
3428
3429 <page name="terminalcommand">
3430 <background color="#000000FF" />
3431
3432 <object type="console">
3433 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3434 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3435 <font resource="fixed" />
3436 </object>
3437
3438 <object type="text" color="%text_color%">
3439 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3440 <font resource="font" />
3441 <text>Starting Path: %tw_terminal_location%</text>
3442 </object>
3443
3444 <object type="input">
3445 <condition var1="tw_terminal_state" var2="0" />
3446 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3447 <background color="%input_background_color%" />
3448 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3449 <font resource="font" color="%text_color%" />
3450 <text>%tw_terminal_command%</text>
3451 <data name="tw_terminal_command" />
3452 <restrict minlen="1" />
3453 <action function="terminalcommand">%tw_terminal_command%</action>
3454 </object>
3455
3456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003458 <condition var1="tw_terminal_state" var2="1" />
3459 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3460 <font resource="font" color="%button_text_color%" />
3461 <text>KILL</text>
3462 <image resource="medium_button" />
3463 <action function="killterminal"></action>
3464 </object>
3465
3466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 <placement x="%home_button_x%" y="%terminal_button_y%" />
3469 <font resource="font" color="%button_text_color%" />
3470 <text></text>
3471 <image resource="home_icon" />
3472 <condition var1="tw_busy" var2="0" />
3473 <action function="key">home</action>
3474 </object>
3475
3476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003478 <placement x="%back_button_x%" y="%terminal_button_y%" />
3479 <font resource="font" color="%button_text_color%" />
3480 <text></text>
3481 <image resource="back_icon" />
3482 <condition var1="tw_busy" var2="0" />
3483 <action function="key">back</action>
3484 </object>
3485
3486 <object type="action">
3487 <touch key="power" />
3488 <action function="overlay">lock</action>
3489 </object>
3490
3491 <object type="template" name="keyboardtemplate" />
3492
3493 <object type="action">
3494 <touch key="home" />
3495 <action function="page">main</action>
3496 </object>
3497
3498 <object type="action">
3499 <touch key="back" />
3500 <action function="page">terminalfolder</action>
3501 </object>
3502 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003503
3504 <page name="sideload">
3505 <object type="template" name="header" />
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3510 <text>ADB Sideload</text>
3511 </object>
3512
3513 <object type="checkbox">
3514 <placement x="%col1_x%" y="%row3_text_y%" />
3515 <font resource="font" color="%text_color%" />
3516 <text>Wipe Dalvik Cache.</text>
3517 <data variable="tw_wipe_dalvik" />
3518 <image checked="checkbox_true" unchecked="checkbox_false" />
3519 </object>
3520
3521 <object type="checkbox">
3522 <placement x="%col1_x%" y="%row4_text_y%" />
3523 <font resource="font" color="%text_color%" />
3524 <text>Wipe Cache.</text>
3525 <data variable="tw_wipe_cache" />
3526 <image checked="checkbox_true" unchecked="checkbox_false" />
3527 </object>
3528
3529 <object type="slider">
3530 <placement x="%slider_x%" y="%slider_y%" />
3531 <resource base="slider" used="slider-used" touch="slider-touch" />
3532 <actions>
3533 <action function="set">tw_back=advanced</action>
3534 <action function="set">tw_action=adbsideload</action>
3535 <action function="set">tw_action_text1=ADB Sideload</action>
3536 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3537 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3538 <action function="set">tw_has_cancel=1</action>
3539 <action function="set">tw_show_reboot=1</action>
3540 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3541 <action function="page">action_page</action>
3542 </actions>
3543 </object>
3544
3545 <object type="text" color="%text_color%">
3546 <font resource="font" />
3547 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3548 <text>Swipe to Start Sideload</text>
3549 </object>
3550
3551 <object type="action">
3552 <touch key="home" />
3553 <action function="page">main</action>
3554 </object>
3555
3556 <object type="action">
3557 <touch key="back" />
3558 <action function="page">advanced</action>
3559 </object>
3560
3561 <object type="template" name="footer" />
3562 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003563
3564 <page name="installsu">
3565 <object type="template" name="header" />
3566
3567 <object type="text" color="%text_color%">
3568 <font resource="font" />
3569 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3570 <text>Install SuperSU?</text>
3571 </object>
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3576 <text>Your device does not appear to be rooted.</text>
3577 </object>
3578
3579 <object type="text" color="%text_color%">
3580 <font resource="font" />
3581 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3582 <text>Install SuperSU now? This will root your device.</text>
3583 </object>
3584
3585 <object type="button">
3586 <highlight color="%highlight_color%" />
3587 <placement x="%col_center_x%" y="%row2_medium_y%" />
3588 <font resource="font" color="%button_text_color%" />
3589 <text>Do Not Install</text>
3590 <image resource="main_button" />
3591 <action function="set">tw_page_done=1</action>
3592 </object>
3593
3594 <object type="slider">
3595 <placement x="%slider_x%" y="%slider_y%" />
3596 <resource base="slider" used="slider-used" touch="slider-touch" />
3597 <actions>
3598 <action function="set">tw_action=installsu</action>
3599 <action function="set">tw_action_text1=Installing SuperSU</action>
3600 <action function="set">tw_action_text2=</action>
3601 <action function="page">singleaction_page</action>
3602 </actions>
3603 </object>
3604
3605 <object type="text" color="%text_color%">
3606 <font resource="font" />
3607 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3608 <text>Swipe to Install</text>
3609 </object>
3610 </page>
3611
3612 <page name="fixsu">
3613 <object type="template" name="header" />
3614
3615 <object type="text" color="%text_color%">
3616 <font resource="font" />
3617 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3618 <text>Fix Superuser Permissions?</text>
3619 </object>
3620
3621 <object type="text" color="%text_color%">
3622 <font resource="font" />
3623 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3624 <text>Root permissions appear to be lost.</text>
3625 </object>
3626
3627 <object type="text" color="%text_color%">
3628 <font resource="font" />
3629 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3630 <text>Fix root permissions now?</text>
3631 </object>
3632
3633 <object type="text" color="%text_color%">
3634 <font resource="font" />
3635 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3636 <text>(Fixes permissions on su binary & app)</text>
3637 </object>
3638
3639 <object type="button">
3640 <highlight color="%highlight_color%" />
3641 <placement x="%col_center_x%" y="%row2_medium_y%" />
3642 <font resource="font" color="%button_text_color%" />
3643 <text>Do Not Fix</text>
3644 <image resource="main_button" />
3645 <action function="set">tw_page_done=1</action>
3646 </object>
3647
3648 <object type="slider">
3649 <placement x="%slider_x%" y="%slider_y%" />
3650 <resource base="slider" used="slider-used" touch="slider-touch" />
3651 <actions>
3652 <action function="set">tw_action=fixsu</action>
3653 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3654 <action function="set">tw_action_text2=</action>
3655 <action function="page">singleaction_page</action>
3656 </actions>
3657 </object>
3658
3659 <object type="text" color="%text_color%">
3660 <font resource="font" />
3661 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3662 <text>Swipe to Fix Root</text>
3663 </object>
3664 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003665 </pages>
3666</recovery>