blob: 3ffa79dee1d64f1a4f42c8cc9c2b9c3ea6f11a5a [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1280" height="800" />
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="151" />
48 <variable name="col2_x" value="397" />
49 <variable name="col3_x" value="643" />
50 <variable name="col4_x" value="889" />
51 <variable name="row1_y" value="127" />
52 <variable name="row2_y" value="388" />
53 <variable name="col_center_x" value="520" />
54 <variable name="center_x" value="640" />
55 <variable name="screen_width" value="1280" />
56 <variable name="screen_height" value="800" />
57 <variable name="col_progressbar_x" value="514" />
58 <variable name="row_progressbar_y" value="700" />
59 <variable name="col1_medium_x" value="385" />
60 <variable name="col2_medium_x" value="515" />
61 <variable name="col3_medium_x" value="645" />
62 <variable name="col4_medium_x" value="775" />
63 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row2_medium_y" value="245" />
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="450" />
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="1069" />
88 <variable name="home_button_y" value="5" />
89 <variable name="back_button_x" value="1139" />
90 <variable name="back_button_y" value="5" />
91 <variable name="console_button_x" value="1209" />
92 <variable name="console_button_y" value="5" />
93 <variable name="nandcheck_col1" value="328" />
94 <variable name="nandcheck_col2" value="600" />
95 <variable name="nandcheck_row1" value="150" />
96 <variable name="nandcheck_row2" value="200" />
97 <variable name="nandcheck_row3" value="250" />
98 <variable name="nandcheck_row4" value="300" />
99 <variable name="nandcheck_row5" value="350" />
100 <variable name="nandcheck_row6" value="400" />
101 <variable name="nandcheck_row7" value="450" />
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="435" />
108 <variable name="slider_y" value="600" />
109 <variable name="slider_text_y" value="650" />
110 <variable name="sort_text_x" value="398" />
111 <variable name="sort_asc_text_y" value="655" />
112 <variable name="sort_asc_button_y" value="650" />
113 <variable name="sort_desc_text_y" value="700" />
114 <variable name="sort_desc_button_y" value="695" />
115 <variable name="sort_col1_button_x" value="568" />
116 <variable name="sort_col2_button_x" value="638" />
117 <variable name="sort_col3_button_x" value="708" />
118 <variable name="col1_sdext_x" value="508" />
119 <variable name="col2_sdext_x" value="718" />
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="1200" />
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="1230" />
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="410" />
140 <variable name="fileselector_folderonly_width" value="588" />
141 <variable name="fileselector_file_x" value="445" />
142 <variable name="fileselector_file_width" value="810" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500143 <variable name="fileselector_install_y" value="130" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="fileselector_install_height" value="510" />
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" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100155 <variable name="fastscroll_linecolor" value="#808080" />
156 <variable name="fastscroll_rectcolor" value="#808080" />
157 <variable name="fastscroll_w" value="40" />
158 <variable name="fastscroll_linew" value="2" />
159 <variable name="fastscroll_rectw" value="30" />
160 <variable name="fastscroll_recth" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="zipstorage_text_y" value="88" />
162 <variable name="listbox_x" value="397" />
163 <variable name="listbox_y" value="90" />
164 <variable name="listbox_width" value="588" />
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="408" />
169 <variable name="lock_x" value="440" />
170 <variable name="lock_y" value="184" />
171 <variable name="filemanager_select_x" value="1017" />
172 <variable name="filemanager_select_y" value="620" />
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="1252" />
176 <variable name="cancel_button_y" value="240" />
177 <variable name="terminal_console_y" value="0" />
178 <variable name="terminal_console_height" value="362" />
179 <variable name="terminal_text_y" value="368" />
180 <variable name="terminal_button_y" value="358" />
181 <variable name="terminal_input_width" value="1031" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="button_fill_color" value="#303030" />
183 <variable name="button_fill_full_width" value="640" />
184 <variable name="button_fill_main_width" value="609" />
185 <variable name="button_fill_main_height" value="160" />
186 <variable name="button_fill_half_height" value="80" />
187 <variable name="button_fill_quarter_height" value="40" />
188 <variable name="button_full_center_x" value="320" />
189 <variable name="backup_list_x" value="28" />
190 <variable name="backup_list_y" value="105" />
191 <variable name="backup_list_width" value="609" />
192 <variable name="backup_list_height" value="440" />
193 <variable name="backup_storage_y" value="270" />
194 <variable name="restore_list_y" value="140" />
195 <variable name="restore_list_height" value="400" />
196 <variable name="mount_list_height" value="600" />
197 <variable name="mount_storage_row" value="550" />
198 <variable name="wipe_list_height" value="420" />
199 <variable name="wipe_button_y" value="250" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="320" />
201 <variable name="slidervalue_w" value="640" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="2" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="15" />
207 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400208 </variables>
209
210 <templates>
211 <template name="header">
212 <background color="#000000FF" />
213
214 <object type="image">
215 <image resource="side" />
216 <placement x="0" y="0" />
217 </object>
218
219 <object type="image">
220 <image resource="side" />
221 <placement x="1250" y="0" />
222 </object>
223
224 <object type="image">
225 <image resource="base" />
226 <placement x="0" y="0" />
227 </object>
228
229 <object type="image">
230 <image resource="bottom" />
231 <placement x="1" y="770" />
232 </object>
233
234 <object type="image">
235 <image resource="large_black" />
236 <placement x="0" y="0" />
237 </object>
238
239 <object type="text" color="%text_color%">
240 <font resource="font" />
241 <placement x="250" y="5" />
242 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
243 </object>
244
245 <object type="text" color="%text_color%">
246 <font resource="font" />
247 <placement x="250" y="30" />
248 <conditions>
249 <condition var1="tw_no_battery_percent" var2="0" />
250 <condition var1="tw_battery" op=">" var2="0" />
251 <condition var1="tw_battery" op="<" var2="101" />
252 </conditions>
253 <text>Battery Level: %tw_battery%</text>
254 </object>
255
256 <object type="text" color="%text_color%">
257 <font resource="font" />
258 <placement x="450" y="30" />
259 <text>%tw_time%</text>
260 </object>
261
262 <object type="text" color="%text_color%">
263 <condition var1="tw_simulate_actions" var2="1" />
264 <font resource="font" />
265 <placement x="550" y="30" />
266 <text>SIMULATING ACTIONS</text>
267 </object>
268
269 <object type="button">
270 <placement x="%home_button_x%" y="%home_button_y%" />
271 <font resource="font" color="%button_text_color%" />
272 <text></text>
273 <image resource="home_icon" />
274 <condition var1="tw_busy" var2="0" />
275 <action function="key">home</action>
276 </object>
277
278 <object type="button">
279 <placement x="%back_button_x%" y="%back_button_y%" />
280 <font resource="font" color="%button_text_color%" />
281 <text></text>
282 <image resource="back_icon" />
283 <condition var1="tw_busy" var2="0" />
284 <action function="key">back</action>
285 </object>
286
287 <object type="action">
288 <touch key="power" />
289 <action function="overlay">lock</action>
290 </object>
291 </template>
292
293 <template name="progress_bar">
294 <object type="progressbar">
295 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
296 <resource empty="progress_empty" full="progress_full" />
297 <data name="ui_progress" />
298 </object>
299
300 <object type="animation">
301 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
302 <resource name="progress" />
303 <speed fps="15" render="2" />
304 <loop frame="1" />
305 </object>
306 </template>
307
308 <template name="sort_options">
309 <object type="text" color="%text_color%">
310 <font resource="font" />
311 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
312 <text>Sort Ascending:</text>
313 </object>
314
315 <object type="button">
316 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
317 <font resource="font" color="%button_text_color%" />
318 <text>Name</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=1</action>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
325 <font resource="font" color="%button_text_color%" />
326 <text>Date</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=2</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Size</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=3</action>
337 </object>
338
339 <object type="text" color="%text_color%">
340 <font resource="font" />
341 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
342 <text>Sort Descending:</text>
343 </object>
344
345 <object type="button">
346 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Name</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-1</action>
351 </object>
352
353 <object type="button">
354 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
355 <font resource="font" color="%button_text_color%" />
356 <text>Date</text>
357 <image resource="sort_button" />
358 <action function="set">tw_gui_sort_order=-2</action>
359 </object>
360
361 <object type="button">
362 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
363 <font resource="font" color="%button_text_color%" />
364 <text>Size</text>
365 <image resource="sort_button" />
366 <action function="set">tw_gui_sort_order=-3</action>
367 </object>
368 </template>
369
370 <template name="flash_zip_console">
371 <object type="console">
372 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
373 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
374 <font resource="fixed" />
375 </object>
376 </template>
377
378 <template name="action_page_console">
379 <object type="console">
380 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
381 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
382 <font resource="fixed" />
383 </object>
384 </template>
385
386 <template name="footer">
387 <object type="console">
388 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
389 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
390 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
391 <font resource="fixed" />
392 </object>
393 </template>
394
395 <template name="keyboardtemplate">
396 <object type="keyboard">
397 <placement x="0" y="438" />
398 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600399 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400400 <layout1>
401 <keysize height="91" width="106" />
402 <row1 key01="102:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="118:c:8" />
403 <row2 key01="142:layout3" key02="104:a" key03="104:s" key04="104:d" key05="104:f" key06="104:g" key07="104:h" key08="104:j" key09="104:k" key10="104:l" key11="202:action" />
404 <row3 key01="176:layout2" key02="103:z" key03="103:x" key04="103:c" key05="103:v" key06="103:b" key07="103:n" key08="103:m" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout2" />
405 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
406 </layout1>
407 <layout2>
408 <keysize height="90" width="106" />
409 <row1 key01="102:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="118:c:8" />
410 <row2 key01="142:layout3" key02="104:A" key03="104:S" key04="104:D" key05="104:F" key06="104:G" key07="104:H" key08="104:J" key09="104:K" key10="104:L" key11="202:action" />
411 <row3 key01="176:layout1" key02="103:Z" key03="103:X" key04="103:C" key05="103:V" key06="103:B" key07="103:N" key08="103:M" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout1" />
412 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
413 </layout2>
414 <layout3>
415 <keysize height="90" width="106" />
416 <row1 key01="102:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="118:c:8" />
417 <row2 key01="142:layout1" key02="104:#" key03="104:$" key04="104:%" key05="104:&" key06="104:*" key07="104:-" key08="104:+" key09="104:(" key10="104:)" key11="202:action" />
418 <row3 key01="176:layout4" key02="103:<" key03="103:>" key04="103:=" key05="103:'" key06="103:;" key07="103:," key08="103:." key09="103:!" key10="103:?" key11="177:layout4" />
419 <row4 key01="190:" key02="/" key03="104:@" key04="480: " key05="102:c:34" key06="_" />
420 </layout3>
421 <layout4>
422 <keysize height="91" width="106" />
423 <row1 key01="102:" key02="~" key03="`" key04="|" key05="106:" key06="106:" key07="106:" key08="106:" key09="106:" key10="106:" key11="106:" key12="118:c:8" />
424 <row2 key01="142:layout1" key02="104:" key03="104:" key04="104:" key05="104:" key06="104:^" key07="104:" key08="104:" key09="104:{" key10="104:}" key11="202:action" />
425 <row3 key01="176:layout3" key02="103:\" key03="103:" key04="103:" key05="103:" key06="103:" key07="103:[" key08="103:]" key09="103:!" key10="103:?" key11="177:layout3" />
426 <row4 key01="400:" key02="480: " />
427 </layout4>
428 </object>
429 </template>
430 </templates>
431
432 <pages>
433 <page name="main">
434 <object type="action">
435 <actions>
436 <action function="set">tw_clear_destination=main2</action>
437 <action function="page">clear_vars</action>
438 </actions>
439 </object>
440 </page>
441
442 <page name="main2">
443 <object type="template" name="header" />
444
445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400447 <placement x="%col1_x%" y="%row1_y%" />
448 <font resource="font" color="%button_text_color%" />
449 <text>Install</text>
450 <image resource="main_button" />
451 <actions>
452 <action function="queueclear"></action>
453 <action function="page">install</action>
454 </actions>
455 </object>
456
457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400459 <placement x="%col2_x%" y="%row1_y%" />
460 <font resource="font" color="%button_text_color%" />
461 <text>Backup</text>
462 <image resource="main_button" />
463 <action function="page">backup</action>
464 </object>
465
466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <placement x="%col3_x%" y="%row1_y%" />
469 <font resource="font" color="%button_text_color%" />
470 <text>Restore</text>
471 <image resource="main_button" />
472 <action function="page">restore</action>
473 </object>
474
475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400477 <placement x="%col4_x%" y="%row1_y%" />
478 <font resource="font" color="%button_text_color%" />
479 <text>Wipe</text>
480 <image resource="main_button" />
481 <action function="page">wipe</action>
482 </object>
483
484 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600485 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 <placement x="%col1_x%" y="%row2_y%" />
487 <font resource="font" color="%button_text_color%" />
488 <text>Mount</text>
489 <image resource="main_button" />
490 <action function="page">mount</action>
491 </object>
492
493 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600494 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400495 <placement x="%col2_x%" y="%row2_y%" />
496 <font resource="font" color="%button_text_color%" />
497 <text>Settings</text>
498 <image resource="main_button" />
499 <action function="page">settings</action>
500 </object>
501
502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600503 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400504 <placement x="%col3_x%" y="%row2_y%" />
505 <font resource="font" color="%button_text_color%" />
506 <text>Advanced</text>
507 <image resource="main_button" />
508 <action function="page">advanced</action>
509 </object>
510
511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400513 <placement x="%col4_x%" y="%row2_y%" />
514 <font resource="font" color="%button_text_color%" />
515 <text>Reboot</text>
516 <image resource="main_button" />
517 <action function="page">reboot</action>
518 </object>
519
520 <object type="template" name="footer" />
521 </page>
522
523 <page name="install">
524 <object type="template" name="header" />
525
526 <object type="text" color="%text_color%">
527 <font resource="font" />
528 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
529 <text>Select Zip to Install</text>
530 </object>
531
532 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500533 <highlight color="%highlight_color%" />
534 <fill color="%button_fill_color%" />
535 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
536 <font resource="font" color="%button_text_color%" />
537 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
538 <actions>
539 <action function="set">tw_back=install</action>
540 <action function="page">selectstorage</action>
541 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400542 </object>
543
544 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600545 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400546 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
547 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100548 <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 -0400549 <text>Folders:</text>
550 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
551 <sort name="tw_gui_sort_order" />
552 <icon folder="folder_icon" file="file_icon" />
553 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600554 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400555 <filter folders="1" files="0" />
556 <path name="tw_zip_location" default="/sdcard" />
557 <data name="select" />
558 </object>
559
560 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600561 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400562 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
563 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100564 <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 -0400565 <text>%tw_zip_location%</text>
566 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
567 <sort name="tw_gui_sort_order" />
568 <icon folder="folder_icon" file="file_icon" />
569 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600570 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <filter extn=".zip" folders="0" files="1" />
572 <path name="tw_zip_location" />
573 <data name="tw_filename" />
574 <selection name="tw_file" />
575 </object>
576
577 <object type="template" name="sort_options" />
578
579 <object type="action">
580 <condition var1="tw_filename" op="modified" />
581 <actions>
582 <action function="queuezip"></action>
583 <action function="page">flash_confirm</action>
584 </actions>
585 </object>
586
587 <object type="action">
588 <touch key="back" />
589 <action function="page">main</action>
590 </object>
591
592 <object type="action">
593 <touch key="home" />
594 <action function="page">main</action>
595 </object>
596
597 <object type="template" name="footer" />
598 </page>
599
600 <page name="flash_confirm">
601 <object type="template" name="header" />
602
603 <object type="text" color="%text_color%">
604 <font resource="font" />
605 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
606 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
611 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
612 <text>Folder:</text>
613 </object>
614
615 <object type="text" color="%text_color%">
616 <font resource="font" />
617 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
618 <text>%tw_zip_location%</text>
619 </object>
620
621 <object type="text" color="%text_color%">
622 <font resource="font" />
623 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
624 <text>File to flash:</text>
625 </object>
626
627 <object type="text" color="%text_color%">
628 <font resource="font" />
629 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
630 <text>%tw_file%</text>
631 </object>
632
633 <object type="text" color="%text_color%">
634 <font resource="font" />
635 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
636 <text>Press back to cancel adding this zip.</text>
637 </object>
638
639 <object type="checkbox">
640 <placement x="%col2_x%" y="%row7_text_y%" />
641 <font resource="font" color="%text_color%" />
642 <text>Zip file signature verification?</text>
643 <data variable="tw_signed_zip_verify" />
644 <image checked="checkbox_true" unchecked="checkbox_false" />
645 </object>
646
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <object type="text" color="%text_color%">
648 <font resource="font" />
649 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
650 <text>File %tw_zip_queue_count% of max of 10</text>
651 </object>
652
653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600654 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400655 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
656 <placement x="%col2_x%" y="%row5_medium_y%" />
657 <font resource="font" color="%button_text_color%" />
658 <text>Add More Zips</text>
659 <image resource="mediumwide_button" />
660 <action function="page">install</action>
661 </object>
662
663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600664 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400665 <placement x="%col3_x%" y="%row5_medium_y%" />
666 <font resource="font" color="%button_text_color%" />
667 <text>Clear Queue</text>
668 <image resource="mediumwide_button" />
669 <actions>
670 <action function="queueclear"></action>
671 <action function="page">install</action>
672 </actions>
673 </object>
674
675 <object type="slider">
676 <placement x="%slider_x%" y="%slider_y%" />
677 <resource base="slider" used="slider-used" touch="slider-touch" />
678 <action function="flash">flash_zip</action>
679 </object>
680
681 <object type="text" color="%text_color%">
682 <font resource="font" />
683 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
684 <text>Swipe to Confirm Flash</text>
685 </object>
686
687 <object type="action">
688 <touch key="back" />
689 <actions>
690 <action function="cancelzip"></action>
691 <action function="page">install</action>
692 </actions>
693 </object>
694
695 <object type="action">
696 <touch key="home" />
697 <action function="page">main</action>
698 </object>
699
700 <object type="template" name="footer" />
701 </page>
702
703 <page name="flash_zip">
704 <object type="template" name="header" />
705
706 <object type="template" name="flash_zip_console" />
707
708 <object type="text" color="%text_color%">
709 <font resource="font" />
710 <placement x="%col1_x%" y="%row16_text_y%" />
711 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
712 </object>
713
714 <object type="text" color="%text_color%">
715 <font resource="font" />
716 <placement x="%col1_x%" y="%row17_text_y%" />
717 <text>%tw_filename%</text>
718 </object>
719
720 <object type="template" name="progress_bar" />
721
722 <object type="action">
723 <condition var1="tw_operation_state" var2="1" />
724 <action function="page">flash_done</action>
725 </object>
726 </page>
727
728 <page name="flash_done">
729 <object type="template" name="header" />
730
731 <object type="template" name="flash_zip_console" />
732
733 <object type="text" color="%text_fail_color%">
734 <condition var1="tw_operation_status" op="!=" var2="0" />
735 <font resource="font" />
736 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
737 <text>Failed</text>
738 </object>
739
740 <object type="text" color="%text_success_color%">
741 <condition var1="tw_operation_status" var2="0" />
742 <font resource="font" />
743 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
744 <text>Successful</text>
745 </object>
746
747 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600748 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400749 <placement x="%col1_x%" y="%slider_y%" />
750 <font resource="font" color="%button_text_color%" />
751 <text>Wipe Cache/Dalvik</text>
752 <image resource="main_button" />
753 <actions>
754 <action function="set">tw_back=flash_done</action>
755 <action function="set">tw_action=wipe</action>
756 <action function="set">tw_action_param=/cache</action>
757 <action function="set">tw_has_action2=1</action>
758 <action function="set">tw_action2=wipe</action>
759 <action function="set">tw_action2_param=dalvik</action>
760 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
761 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
762 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
763 <action function="set">tw_slider_text=Swipe to Wipe</action>
764 <action function="page">confirm_action</action>
765 </actions>
766 </object>
767
768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400770 <condition var1="tw_reboot_system" var2="1" />
771 <placement x="%col4_x%" y="%slider_y%" />
772 <font resource="font" color="%button_text_color%" />
773 <text>Reboot System</text>
774 <image resource="main_button" />
775 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400776 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400777 <action function="set">tw_action=reboot</action>
778 <action function="set">tw_action_param=system</action>
779 <action function="set">tw_has_action2=0</action>
780 <action function="set">tw_text1=No OS Installed! Are you</action>
781 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400782 <action function="set">tw_text3=</action>
783 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400784 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400785 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400786 <action function="set">tw_complete_text1=Rebooting...</action>
787 <action function="set">tw_slider_text=Swipe to Reboot</action>
788 <action function="page">rebootcheck</action>
789 </actions>
790 </object>
791
792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400794 <placement x="%col_center_x%" y="%slider_y%" />
795 <font resource="font" color="%button_text_color%" />
796 <text>Home</text>
797 <image resource="main_button" />
798 <actions>
799 <action function="set">tw_clear_destination=main2</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </object>
803
804 <object type="action">
805 <touch key="back" />
806 <actions>
807 <action function="set">tw_clear_destination=install</action>
808 <action function="page">clear_vars</action>
809 </actions>
810 </object>
811
812 <object type="action">
813 <touch key="home" />
814 <actions>
815 <action function="set">tw_clear_destination=main2</action>
816 <action function="page">clear_vars</action>
817 </actions>
818 </object>
819 </page>
820
821 <page name="clear_vars">
822 <object type="action">
823 <action function="set">tw_operation_state=0</action>
824 <action function="set">tw_text1=</action>
825 <action function="set">tw_text2=</action>
826 <action function="set">tw_text3=</action>
827 <action function="set">tw_text4=</action>
828 <action function="set">tw_action_text1=</action>
829 <action function="set">tw_action_text2=</action>
830 <action function="set">tw_action_param=</action>
831 <action function="set">tw_has_action2=0</action>
832 <action function="set">tw_action2=</action>
833 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400834 <action function="set">tw_has_cancel=0</action>
835 <action function="set">tw_cancel_action=</action>
836 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400838 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400839 <action function="page">%tw_clear_destination%</action>
840 </object>
841 </page>
842
843 <page name="confirm_action">
844 <object type="template" name="header" />
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
848 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
849 <text>%tw_text1%</text>
850 </object>
851
852 <object type="text" color="%text_color%">
853 <font resource="font" />
854 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
855 <text>%tw_text2%</text>
856 </object>
857
858 <object type="text" color="%text_color%">
859 <font resource="font" />
860 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
861 <text>%tw_text3%</text>
862 </object>
863
864 <object type="text" color="%text_color%">
865 <font resource="font" />
866 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
867 <text>%tw_text4%</text>
868 </object>
869
870 <object type="text" color="%text_color%">
871 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400872 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400873 <text>Press back button to cancel.</text>
874 </object>
875
876 <object type="slider">
877 <placement x="%slider_x%" y="%slider_y%" />
878 <resource base="slider" used="slider-used" touch="slider-touch" />
879 <action function="page">action_page</action>
880 </object>
881
882 <object type="text" color="%text_color%">
883 <font resource="font" />
884 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
885 <text>%tw_slider_text%</text>
886 </object>
887
888 <object type="action">
889 <touch key="back" />
890 <actions>
891 <action function="set">tw_clear_destination=%tw_back%</action>
892 <action function="page">clear_vars</action>
893 </actions>
894 </object>
895
896 <object type="action">
897 <touch key="home" />
898 <action function="page">main</action>
899 </object>
900
901 <object type="template" name="footer" />
902 </page>
903
904 <page name="action_page">
905 <object type="template" name="header" />
906
907 <object type="text" color="%text_color%">
908 <font resource="font" />
909 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
910 <text>%tw_action_text1%</text>
911 </object>
912
913 <object type="text" color="%text_color%">
914 <font resource="font" />
915 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
916 <text>%tw_action_text2%</text>
917 </object>
918
919 <object type="template" name="action_page_console" />
920
Dees_Troy2691f9d2012-09-24 11:15:49 -0400921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600922 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400923 <condition var1="tw_has_cancel" var2="1" />
924 <placement x="%col4_x%" y="%slider_y%" />
925 <font resource="font" color="%button_text_color%" />
926 <text>Cancel</text>
927 <image resource="main_button" />
928 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
929 </object>
930
Dees_Troy51a0e822012-09-05 15:24:24 -0400931 <object type="template" name="progress_bar" />
932
933 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400934 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400935 <actions>
936 <action function="page">action_complete</action>
937 </actions>
938 </object>
939
940 <object type="action">
941 <condition var1="tw_has_action2" var2="0" />
942 <actions>
943 <action function="%tw_action%">%tw_action_param%</action>
944 </actions>
945 </object>
946
947 <object type="action">
948 <condition var1="tw_has_action2" var2="1" />
949 <actions>
950 <action function="%tw_action%">%tw_action_param%</action>
951 <action function="%tw_action2%">%tw_action2_param%</action>
952 </actions>
953 </object>
954 </page>
955
Dees_Troy6ef66352013-02-21 08:26:57 -0600956 <page name="singleaction_page">
957 <object type="template" name="header" />
958
959 <object type="text" color="%text_color%">
960 <font resource="font" />
961 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
962 <text>%tw_action_text1%</text>
963 </object>
964
965 <object type="text" color="%text_color%">
966 <font resource="font" />
967 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
968 <text>%tw_action_text2%</text>
969 </object>
970
971 <object type="template" name="action_page_console" />
972
973 <object type="template" name="progress_bar" />
974
975 <object type="action">
976 <condition var1="tw_operation_state" var2="1" />
977 <actions>
978 <action function="set">tw_page_done=1</action>
979 </actions>
980 </object>
981
982 <object type="action">
983 <condition var1="tw_has_action2" var2="0" />
984 <actions>
985 <action function="%tw_action%">%tw_action_param%</action>
986 </actions>
987 </object>
988
989 <object type="action">
990 <condition var1="tw_has_action2" var2="1" />
991 <actions>
992 <action function="%tw_action%">%tw_action_param%</action>
993 <action function="%tw_action2%">%tw_action2_param%</action>
994 </actions>
995 </object>
996 </page>
997
Dees_Troy51a0e822012-09-05 15:24:24 -0400998 <page name="action_complete">
999 <object type="template" name="header" />
1000
1001 <object type="text" color="%text_color%">
1002 <font resource="font" />
1003 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1004 <text>%tw_complete_text1%</text>
1005 </object>
1006
1007 <object type="text" color="%text_fail_color%">
1008 <condition var1="tw_operation_status" op="!=" var2="0" />
1009 <font resource="font" />
1010 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1011 <text>Failed</text>
1012 </object>
1013
1014 <object type="text" color="%text_success_color%">
1015 <condition var1="tw_operation_status" var2="0" />
1016 <font resource="font" />
1017 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1018 <text>Successful</text>
1019 </object>
1020
1021 <object type="template" name="action_page_console" />
1022
1023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001024 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001025 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001026 <placement x="%col_center_x%" y="%slider_y%" />
1027 <font resource="font" color="%button_text_color%" />
1028 <text>Back</text>
1029 <image resource="main_button" />
1030 <actions>
1031 <action function="set">tw_clear_destination=%tw_back%</action>
1032 <action function="page">clear_vars</action>
1033 </actions>
1034 </object>
1035
Dees_Troya3f81542012-10-08 10:58:53 -04001036 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001037 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001038 <condition var1="tw_show_reboot" var2="1" />
1039 <placement x="%col_center_x%" y="%slider_y%" />
1040 <font resource="font" color="%button_text_color%" />
1041 <text>Reboot System</text>
1042 <image resource="main_button" />
1043 <actions>
1044 <action function="set">tw_back=main2</action>
1045 <action function="set">tw_action=reboot</action>
1046 <action function="set">tw_action_param=system</action>
1047 <action function="set">tw_has_action2=0</action>
1048 <action function="set">tw_text1=No OS Installed! Are you</action>
1049 <action function="set">tw_text2=sure you wish to reboot?</action>
1050 <action function="set">tw_text3=</action>
1051 <action function="set">tw_text4=</action>
1052 <action function="set">tw_action_text1=Rebooting...</action>
1053 <action function="set">tw_action_text2=</action>
1054 <action function="set">tw_complete_text1=Rebooting...</action>
1055 <action function="set">tw_slider_text=Swipe to Reboot</action>
1056 <action function="page">rebootcheck</action>
1057 </actions>
1058 </object>
1059
Dees_Troy51a0e822012-09-05 15:24:24 -04001060 <object type="action">
1061 <touch key="home" />
1062 <actions>
1063 <action function="set">tw_clear_destination=main2</action>
1064 <action function="page">clear_vars</action>
1065 </actions>
1066 </object>
1067
1068 <object type="action">
1069 <touch key="back" />
1070 <actions>
1071 <action function="set">tw_clear_destination=%tw_back%</action>
1072 <action function="page">clear_vars</action>
1073 </actions>
1074 </object>
1075 </page>
1076
1077 <page name="filecheck">
1078 <object type="action">
1079 <action function="fileexists">%tw_filecheck%</action>
1080 </object>
1081
1082 <object type="action">
1083 <conditions>
1084 <condition var1="tw_operation_state" var2="1" />
1085 <condition var1="tw_operation_status" var2="0" />
1086 </conditions>
1087 <actions>
1088 <action function="set">tw_fileexists=1</action>
1089 <action function="page">%tw_existpage%</action>
1090 </actions>
1091 </object>
1092
1093 <object type="action">
1094 <conditions>
1095 <condition var1="tw_operation_state" var2="1" />
1096 <condition var1="tw_operation_status" var2="1" />
1097 </conditions>
1098 <actions>
1099 <action function="set">tw_fileexists=0</action>
1100 <action function="page">%tw_notexistpage%</action>
1101 </actions>
1102 </object>
1103 </page>
1104
1105 <page name="rebootcheck">
1106 <object type="action">
1107 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1108 <action function="reboot">%tw_action_param%</action>
1109 </object>
1110
1111 <object type="action">
1112 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1113 <action function="page">confirm_action</action>
1114 </object>
1115 </page>
1116
1117 <page name="reboot">
1118 <object type="template" name="header" />
1119
1120 <object type="text" color="%text_color%">
1121 <font resource="font" />
1122 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1123 <text>Reboot Menu</text>
1124 </object>
1125
1126 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001127 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001128 <condition var1="tw_reboot_system" var2="1" />
1129 <placement x="%col1_x%" y="%row1_y%" />
1130 <font resource="font" color="%button_text_color%" />
1131 <text>System</text>
1132 <image resource="main_button" />
1133 <actions>
1134 <action function="set">tw_back=reboot</action>
1135 <action function="set">tw_action=reboot</action>
1136 <action function="set">tw_action_param=system</action>
1137 <action function="set">tw_has_action2=0</action>
1138 <action function="set">tw_text1=No OS Installed! Are you</action>
1139 <action function="set">tw_text2=sure you wish to reboot?</action>
1140 <action function="set">tw_action_text1=Rebooting...</action>
1141 <action function="set">tw_complete_text1=Rebooting...</action>
1142 <action function="set">tw_slider_text=Swipe to Reboot</action>
1143 <action function="page">rebootcheck</action>
1144 </actions>
1145 </object>
1146
1147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001148 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 <condition var1="tw_reboot_poweroff" var2="1" />
1150 <placement x="%col2_x%" y="%row1_y%" />
1151 <font resource="font" color="%button_text_color%" />
1152 <text>Power Off</text>
1153 <image resource="main_button" />
1154 <actions>
1155 <action function="set">tw_back=reboot</action>
1156 <action function="set">tw_action=reboot</action>
1157 <action function="set">tw_action_param=poweroff</action>
1158 <action function="set">tw_has_action2=0</action>
1159 <action function="set">tw_text1=No OS Installed! Are you</action>
1160 <action function="set">tw_text2=sure you wish to power off?</action>
1161 <action function="set">tw_action_text1=Turning Off...</action>
1162 <action function="set">tw_complete_text1=Turning Off...</action>
1163 <action function="set">tw_slider_text=Swipe to Power Off</action>
1164 <action function="page">rebootcheck</action>
1165 </actions>
1166 </object>
1167
1168 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001169 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001170 <condition var1="tw_reboot_recovery" var2="1" />
1171 <placement x="%col1_x%" y="%row2_y%" />
1172 <font resource="font" color="%button_text_color%" />
1173 <text>Recovery</text>
1174 <image resource="main_button" />
1175 <actions>
1176 <action function="set">tw_back=reboot</action>
1177 <action function="set">tw_action=reboot</action>
1178 <action function="set">tw_action_param=recovery</action>
1179 <action function="set">tw_has_action2=0</action>
1180 <action function="set">tw_text1=No OS Installed! Are you</action>
1181 <action function="set">tw_text2=sure you wish to reboot?</action>
1182 <action function="set">tw_action_text1=Rebooting...</action>
1183 <action function="set">tw_complete_text1=Rebooting...</action>
1184 <action function="set">tw_slider_text=Swipe to Reboot</action>
1185 <action function="page">rebootcheck</action>
1186 </actions>
1187 </object>
1188
1189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001191 <condition var1="tw_reboot_bootloader" var2="1" />
1192 <placement x="%col2_x%" y="%row2_y%" />
1193 <font resource="font" color="%button_text_color%" />
1194 <text>Bootloader</text>
1195 <image resource="main_button" />
1196 <actions>
1197 <action function="set">tw_back=reboot</action>
1198 <action function="set">tw_action=reboot</action>
1199 <action function="set">tw_action_param=bootloader</action>
1200 <action function="set">tw_has_action2=0</action>
1201 <action function="set">tw_text1=No OS Installed! Are you</action>
1202 <action function="set">tw_text2=sure you wish to reboot?</action>
1203 <action function="set">tw_action_text1=Rebooting...</action>
1204 <action function="set">tw_complete_text1=Rebooting...</action>
1205 <action function="set">tw_slider_text=Swipe to Reboot</action>
1206 <action function="page">rebootcheck</action>
1207 </actions>
1208 </object>
1209
1210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001211 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <condition var1="tw_download_mode" var2="1" />
1213 <placement x="%col3_x%" y="%row2_y%" />
1214 <font resource="font" color="%button_text_color%" />
1215 <text>Download</text>
1216 <image resource="main_button" />
1217 <actions>
1218 <action function="set">tw_back=reboot</action>
1219 <action function="set">tw_action=reboot</action>
1220 <action function="set">tw_action_param=download</action>
1221 <action function="set">tw_has_action2=0</action>
1222 <action function="set">tw_text1=No OS Installed! Are you</action>
1223 <action function="set">tw_text2=sure you wish to reboot?</action>
1224 <action function="set">tw_action_text1=Rebooting...</action>
1225 <action function="set">tw_complete_text1=Rebooting...</action>
1226 <action function="set">tw_slider_text=Swipe to Reboot</action>
1227 <action function="page">rebootcheck</action>
1228 </actions>
1229 </object>
1230
1231 <object type="action">
1232 <touch key="home" />
1233 <action function="page">main</action>
1234 </object>
1235
1236 <object type="action">
1237 <touch key="back" />
1238 <action function="page">main</action>
1239 </object>
1240
1241 <object type="template" name="footer" />
1242 </page>
1243
Dees_Troya13d74f2013-03-24 08:54:55 -05001244 <page name="selectstorage">
1245 <object type="template" name="header" />
1246
1247 <object type="partitionlist">
1248 <highlight color="%fileselector_highlight_color%" />
1249 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1250 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1251 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1252 <text>Select Storage:</text>
1253 <icon selected="radio_true" unselected="radio_false" />
1254 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1255 <background color="%listbox_background%" />
1256 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1257 <data name="tw_storage_path" />
1258 <listtype name="storage" />
1259 </object>
1260
1261 <object type="action">
1262 <touch key="home" />
1263 <action function="page">main</action>
1264 </object>
1265
1266 <object type="action">
1267 <touch key="back" />
1268 <actions>
1269 <action function="page">%tw_back%</action>
1270 </actions>
1271 </object>
1272
1273 <object type="template" name="footer" />
1274 </page>
1275
Dees_Troy51a0e822012-09-05 15:24:24 -04001276 <page name="mount">
1277 <object type="template" name="header" />
1278
1279 <object type="text" color="%text_color%">
1280 <font resource="font" />
1281 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1282 <text>Mount Menu</text>
1283 </object>
1284
Dees_Troya13d74f2013-03-24 08:54:55 -05001285 <object type="partitionlist">
1286 <highlight color="%fileselector_highlight_color%" />
1287 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1288 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1289 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1290 <text>Select Partitions to Mount:</text>
1291 <icon selected="checkbox_true" unselected="checkbox_false" />
1292 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1293 <background color="%listbox_background%" />
1294 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1295 <listtype name="mount" />
1296 </object>
1297
1298 <object type="button">
1299 <highlight color="%highlight_color%" />
1300 <conditions>
1301 <condition var1="tw_is_encrypted" var2="1" />
1302 <condition var1="tw_is_decrypted" var2="0" />
1303 </conditions>
1304 <placement x="%col3_x%" y="row1_y" />
1305 <font resource="font" color="%button_text_color%" />
1306 <text>Decrypt Data</text>
1307 <image resource="main_button" />
1308 <action function="page">decrypt</action>
1309 </object>
1310
Dees_Troy51a0e822012-09-05 15:24:24 -04001311 <object type="button">
1312 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001313 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001314 <font resource="font" color="%button_text_color%" />
1315 <text>Mount USB Storage</text>
1316 <image resource="main_button" />
1317 <action function="page">usb_mount</action>
1318 </object>
1319
1320 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001321 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001322 <fill color="%button_fill_color%" />
1323 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1324 <font resource="font" color="%button_text_color%" />
1325 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1326 <actions>
1327 <action function="set">tw_back=mount</action>
1328 <action function="page">selectstorage</action>
1329 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001330 </object>
1331
1332 <object type="action">
1333 <touch key="home" />
1334 <action function="page">main</action>
1335 </object>
1336
1337 <object type="action">
1338 <touch key="back" />
1339 <action function="page">main</action>
1340 </object>
1341
1342 <object type="template" name="footer" />
1343 </page>
1344
1345 <page name="usb_mount">
1346 <object type="template" name="header" />
1347
1348 <object type="text" color="%text_color%">
1349 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1350 <font resource="font" />
1351 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1352 </object>
1353
1354 <object type="text" color="%text_color%">
1355 <placement x="%col1_x%" y="%row2_text_y%" />
1356 <font resource="font" />
1357 <text></text>
1358 </object>
1359
1360 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001361 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001362 <placement x="%col_center_x%" y="%row1_y%" />
1363 <font resource="font" color="%button_text_color%" />
1364 <text>Unmount</text>
1365 <image resource="main_button" />
1366 <action function="page">usb_umount</action>
1367 </object>
1368
1369 <object type="action">
1370 <action function="mount">usb</action>
1371 </object>
1372
1373 <object type="template" name="footer" />
1374 </page>
1375
1376 <page name="usb_umount">
1377 <object type="action">
1378 <action function="unmount">usb</action>
1379 </object>
1380
1381 <object type="action">
1382 <action function="page">mount</action>
1383 </object>
1384
1385 <object type="template" name="footer" />
1386 </page>
1387
1388 <page name="wipe">
1389 <object type="template" name="header" />
1390
1391 <object type="text" color="%text_color%">
1392 <font resource="font" />
1393 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001394 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1395 </object>
1396
1397 <object type="text" color="%text_color%">
1398 <condition var1="tw_has_data_media" var2="0" />
1399 <font resource="font" />
1400 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1401 <text>.android_secure</text>
1402 </object>
1403
1404 <object type="text" color="%text_color%">
1405 <condition var1="tw_has_data_media" var2="1" />
1406 <font resource="font" />
1407 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1408 <text>(not including internal storage)</text>
1409 </object>
1410
1411 <object type="text" color="%text_color%">
1412 <condition var1="tw_has_sdext_partition" var2="1" />
1413 <font resource="font" />
1414 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1415 <text>SD-EXT</text>
1416 </object>
1417
1418 <object type="text" color="%text_color%">
1419 <font resource="font" />
1420 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1421 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001422 </object>
1423
1424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001425 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001426 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001428 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001430 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 </object>
1432
1433 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <conditions>
1435 <condition var1="tw_has_internal" var2="1" />
1436 <condition var1="tw_has_data_media" var2="1" />
1437 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001438 <highlight color="%highlight_color%" />
1439 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001440 <font resource="font" color="%button_text_color%" />
1441 <text>Format Data</text>
1442 <image resource="main_button" />
1443 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001444 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001445 </actions>
1446 </object>
1447
Dees_Troya13d74f2013-03-24 08:54:55 -05001448 <object type="text" color="%text_color%">
1449 <font resource="font" />
1450 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1451 <text>Press back button to cancel.</text>
1452 </object>
1453
1454 <object type="slider">
1455 <placement x="%slider_x%" y="%slider_y%" />
1456 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001457 <actions>
1458 <action function="set">tw_back=wipe</action>
1459 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001460 <action function="set">tw_action_param=data</action>
1461 <action function="set">tw_action_text1=Factory Reset...</action>
1462 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1463 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001464 </actions>
1465 </object>
1466
Dees_Troya13d74f2013-03-24 08:54:55 -05001467 <object type="text" color="%text_color%">
1468 <font resource="font" />
1469 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1470 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001471 </object>
1472
1473 <object type="action">
1474 <touch key="home" />
1475 <action function="page">main</action>
1476 </object>
1477
1478 <object type="action">
1479 <touch key="back" />
1480 <action function="page">main</action>
1481 </object>
1482
1483 <object type="template" name="footer" />
1484 </page>
1485
Dees_Troya13d74f2013-03-24 08:54:55 -05001486 <page name="advancedwipe">
1487 <object type="template" name="header" />
1488
1489 <object type="partitionlist">
1490 <highlight color="%fileselector_highlight_color%" />
1491 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1492 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1493 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1494 <text>Select Partitions to Wipe:</text>
1495 <icon selected="checkbox_true" unselected="checkbox_false" />
1496 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1497 <background color="%listbox_background%" />
1498 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1499 <data name="tw_wipe_list" />
1500 <listtype name="wipe" />
1501 </object>
1502
1503 <object type="slider">
1504 <placement x="%slider_x%" y="%slider_y%" />
1505 <resource base="slider" used="slider-used" touch="slider-touch" />
1506 <actions>
1507 <action function="set">tw_back=advancedwipe</action>
1508 <action function="set">tw_action=wipe</action>
1509 <action function="set">tw_action_param=LIST</action>
1510 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1511 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1512 <action function="set">tw_complete_text1=Wipe Complete</action>
1513 <action function="page">action_page</action>
1514 </actions>
1515 </object>
1516
1517 <object type="text" color="%text_color%">
1518 <font resource="font" />
1519 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1520 <text>Swipe to Wipe</text>
1521 </object>
1522
1523 <object type="action">
1524 <touch key="home" />
1525 <action function="page">main</action>
1526 </object>
1527
1528 <object type="action">
1529 <touch key="back" />
1530 <action function="page">wipe</action>
1531 </object>
1532
1533 <object type="template" name="footer" />
1534 </page>
1535
1536 <page name="formatdata">
1537 <object type="template" name="header" />
1538
1539 <object type="text" color="%text_color%">
1540 <font resource="font" />
1541 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1542 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1543 </object>
1544
1545 <object type="text" color="%text_color%">
1546 <font resource="font" />
1547 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1548 <text>videos, media, and removes encryption on internal storage.</text>
1549 </object>
1550
1551 <object type="text" color="%text_color%">
1552 <font resource="font" />
1553 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1554 <text>This cannot be undone. Press back to cancel.</text>
1555 </object>
1556
1557 <object type="text" color="%text_color%">
1558 <font resource="font" />
1559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1560 <text>Type yes to continue.</text>
1561 </object>
1562
1563 <object type="input">
1564 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1565 <background color="%input_background_color%" />
1566 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1567 <font resource="font" color="%text_color%" />
1568 <text>%tw_confirm_formatdata%</text>
1569 <data name="tw_confirm_formatdata" />
1570 <restrict minlen="3" maxlen="3" allow="yes" />
1571 <action function="page">formatdata_confirm</action>
1572 </object>
1573
1574 <object type="template" name="keyboardtemplate" />
1575
1576 <object type="action">
1577 <touch key="home" />
1578 <action function="page">main</action>
1579 </object>
1580
1581 <object type="action">
1582 <touch key="back" />
1583 <action function="page">wipe</action>
1584 </object>
1585
1586 <object type="template" name="footer" />
1587 </page>
1588
1589 <page name="formatdata_confirm">
1590 <object type="action">
1591 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1592 <actions>
1593 <action function="set">tw_back=formatdata</action>
1594 <action function="set">tw_action=wipe</action>
1595 <action function="set">tw_action_param=DATAMEDIA</action>
1596 <action function="set">tw_action_text1=Formatting Data...</action>
1597 <action function="set">tw_complete_text1=Data Format Complete</action>
1598 <action function="page">action_page</action>
1599 </actions>
1600 </object>
1601
1602 <object type="action">
1603 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1604 <action function="page">formatdata</function>
1605 </object>
1606 </page>
1607
Dees_Troy51a0e822012-09-05 15:24:24 -04001608 <page name="backup">
1609 <object type="template" name="header" />
1610
1611 <object type="text" color="%text_color%">
1612 <font resource="font" />
1613 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1614 <text>Back Up Device</text>
1615 </object>
1616
Dees_Troya13d74f2013-03-24 08:54:55 -05001617 <object type="partitionlist">
1618 <highlight color="%fileselector_highlight_color%" />
1619 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1620 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1621 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1622 <text>Select Partitions to Back Up:</text>
1623 <icon selected="checkbox_true" unselected="checkbox_false" />
1624 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1625 <background color="%listbox_background%" />
1626 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1627 <data name="tw_backup_list" />
1628 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001629 </object>
1630
1631 <object type="text" color="%text_color%">
1632 <font resource="font" />
1633 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1634 <text>Backup Name: %tw_backup_name%</text>
1635 </object>
1636
Dees_Troya13d74f2013-03-24 08:54:55 -05001637 <object type="button">
1638 <highlight color="%highlight_color%" />
1639 <placement x="%col3_x%" y="%row1_y%" />
1640 <font resource="font" color="%button_text_color%" />
1641 <text>Refresh Sizes</text>
1642 <image resource="main_button" />
1643 <action function="refreshsizes"></action>
1644 </object>
1645
1646 <object type="button">
1647 <highlight color="%highlight_color%" />
1648 <placement x="%col4_x%" y="%row1_y%" />
1649 <font resource="font" color="%button_text_color%" />
1650 <text>Set Backup Name</text>
1651 <image resource="main_button" />
1652 <actions>
1653 <action function="set">tw_fileexists=0</action>
1654 <action function="page">backupname1</action>
1655 </actions>
1656 </object>
1657
1658 <object type="button">
1659 <highlight color="%highlight_color%" />
1660 <fill color="%button_fill_color%" />
1661 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1662 <font resource="font" color="%button_text_color%" />
1663 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1664 <actions>
1665 <action function="set">tw_back=backup</action>
1666 <action function="page">selectstorage</action>
1667 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001668 </object>
1669
1670 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001671 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001672 <font resource="font" color="%text_color%" />
1673 <text>Enable Compression (Requires more time)</text>
1674 <data variable="tw_use_compression" />
1675 <image checked="checkbox_true" unchecked="checkbox_false" />
1676 </object>
1677
1678 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001679 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001680 <font resource="font" color="%text_color%" />
1681 <text>Skip MD5 generation on backups</text>
1682 <data variable="tw_skip_md5_generate" />
1683 <image checked="checkbox_true" unchecked="checkbox_false" />
1684 </object>
1685
Dees_Troy51a0e822012-09-05 15:24:24 -04001686 <object type="slider">
1687 <placement x="%slider_x%" y="%slider_y%" />
1688 <resource base="slider" used="slider-used" touch="slider-touch" />
1689 <actions>
1690 <action function="set">tw_operation_state=0</action>
1691 <action function="page">backup_run</action>
1692 </actions>
1693 </object>
1694
1695 <object type="text" color="%text_color%">
1696 <font resource="font" />
1697 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1698 <text>Swipe to Back Up</text>
1699 </object>
1700
Dees_Troy51a0e822012-09-05 15:24:24 -04001701 <object type="action">
1702 <touch key="home" />
1703 <action function="page">main</action>
1704 </object>
1705
1706 <object type="action">
1707 <touch key="back" />
1708 <action function="page">main</action>
1709 </object>
1710
1711 <object type="template" name="footer" />
1712 </page>
1713
1714 <page name="backupname1">
1715 <object type="action">
1716 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1717 <action function="set">tw_backup_name=</function>
1718 </object>
1719
1720 <object type="action">
1721 <action function="page">backupname2</function>
1722 </object>
1723 </page>
1724
1725 <page name="backupname2">
1726 <object type="template" name="header" />
1727
1728 <object type="text" color="%text_color%">
1729 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1730 <font resource="font" />
1731 <text>Please Enter a Backup Name</text>
1732 </object>
1733
1734 <object type="input">
1735 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1736 <background color="%input_background_color%" />
1737 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1738 <font resource="font" color="%text_color%" />
1739 <text>%tw_backup_name%</text>
1740 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001741 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001742 <actions>
1743 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1744 <action function="set">tw_existpage=backupname2</action>
1745 <action function="set">tw_notexistpage=backup</action>
1746 <action function="page">filecheck</action>
1747 </actions>
1748 </object>
1749
1750 <object type="text" color="%text_fail_color%">
1751 <condition var1="tw_fileexists" var2="1" />
1752 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1753 <font resource="font" />
1754 <text>A backup with that name already exists!</text>
1755 </object>
1756
1757 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001758 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001759 <placement x="%col_center_x%" y="%cancel_button_y%" />
1760 <font resource="font" color="%button_text_color%" />
1761 <text>Cancel / Clear</text>
1762 <image resource="main_button" />
1763 <actions>
1764 <action function="set">tw_backup_name=(Current Date)</action>
1765 <action function="page">backup</action>
1766 </actions>
1767 </object>
1768
1769 <object type="template" name="keyboardtemplate" />
1770
1771 <object type="action">
1772 <touch key="home" />
1773 <actions>
1774 <action function="set">tw_backup_name=(Current Date)</action>
1775 <action function="page">main</action>
1776 </actions>
1777 </object>
1778
1779 <object type="action">
1780 <touch key="back" />
1781 <actions>
1782 <action function="set">tw_backup_name=(Current Date)</action>
1783 <action function="page">backup</action>
1784 </actions>
1785 </object>
1786
1787 <object type="template" name="footer" />
1788 </page>
1789
1790 <page name="backup_run">
1791 <object type="template" name="header" />
1792
1793 <object type="text" color="%text_color%">
1794 <font resource="font" />
1795 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1796 <text>%tw_operation% %tw_partition%</text>
1797 </object>
1798
1799 <object type="template" name="action_page_console" />
1800
1801 <object type="template" name="progress_bar" />
1802
1803 <object type="action">
1804 <action function="nandroid">backup</action>
1805 </object>
1806
1807 <object type="action">
1808 <condition var1="tw_operation_state" var2="1" />
1809 <actions>
1810 <action function="set">tw_back=backup</action>
1811 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001812 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001813 <action function="page">action_complete</action>
1814 </actions>
1815 </object>
1816
1817 <object type="template" name="footer" />
1818 </page>
1819
1820 <page name="restore">
1821 <object type="template" name="header" />
1822
1823 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001824 <highlight color="%highlight_color%" />
1825 <fill color="%button_fill_color%" />
1826 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1827 <font resource="font" color="%button_text_color%" />
1828 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1829 <actions>
1830 <action function="set">tw_back=restore</action>
1831 <action function="page">selectstorage</action>
1832 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001833 </object>
1834
1835 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001836 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001837 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1838 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001839 <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 -04001840 <text>Select Package to Restore:</text>
1841 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1842 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001843 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001844 <icon folder="folder_icon" file="file_icon" />
1845 <background color="%fileselector_background%" />
1846 <filter folders="1" files="0" nav="0" />
1847 <path name="tw_backups_folder" />
1848 <data name="tw_restore" default="" />
1849 <selection name="tw_restore_name" />
1850 </object>
1851
1852 <object type="template" name="sort_options" />
1853
1854 <object type="action">
1855 <condition var1="tw_restore" op="modified" />
1856 <actions>
1857 <action function="readBackup"></action>
1858 <action function="page">restore_select</action>
1859 </actions>
1860 </object>
1861
1862 <object type="action">
1863 <touch key="home" />
1864 <action function="page">main</action>
1865 </object>
1866
1867 <object type="action">
1868 <touch key="back" />
1869 <action function="page">main</action>
1870 </object>
1871
1872 <object type="template" name="footer" />
1873 </page>
1874
1875 <page name="restore_select">
1876 <object type="template" name="header" />
1877
1878 <object type="text" color="%text_color%">
1879 <font resource="font" />
1880 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1881 <text>Package to Restore: %tw_restore_name%</text>
1882 </object>
1883
1884 <object type="text" color="%text_color%">
1885 <font resource="font" />
1886 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1887 <text>Package Date: %tw_restore_file_date%</text>
1888 </object>
1889
Dees_Troya13d74f2013-03-24 08:54:55 -05001890 <object type="partitionlist">
1891 <highlight color="%fileselector_highlight_color%" />
1892 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
1893 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1894 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1895 <text>Select Partitions to Restore:</text>
1896 <icon selected="checkbox_true" unselected="checkbox_false" />
1897 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1898 <background color="%listbox_background%" />
1899 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1900 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1901 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001902 </object>
1903
1904 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001905 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001906 <font resource="font" color="%text_color%" />
1907 <text>Enable MD5 checking of backup files</text>
1908 <data variable="tw_skip_md5_check" />
1909 <image checked="checkbox_true" unchecked="checkbox_false" />
1910 </object>
1911
1912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 <placement x="%col4_x%" y="%row1_y%" />
1915 <font resource="font" color="%button_text_color%" />
1916 <text>Rename Backup</text>
1917 <image resource="main_button" />
1918 <actions>
1919 <action function="set">tw_backup_rename=</action>
1920 <action function="set">tw_fileexists=0</action>
1921 <action function="page">renamebackup</action>
1922 </actions>
1923 </object>
1924
1925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001926 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001927 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <font resource="font" color="%button_text_color%" />
1929 <text>Delete Backup</text>
1930 <image resource="main_button" />
1931 <actions>
1932 <action function="set">tw_back=restore</action>
1933 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001934 <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 -04001935 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1936 <action function="set">tw_text2=This cannot be undone!</action>
1937 <action function="set">tw_action_text1=Deleting Backup...</action>
1938 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1939 <action function="set">tw_slider_text=Swipe to Delete</action>
1940 <action function="page">confirm_action</action>
1941 </actions>
1942 </object>
1943
1944 <object type="slider">
1945 <placement x="%slider_x%" y="%slider_y%" />
1946 <resource base="slider" used="slider-used" touch="slider-touch" />
1947 <action function="page">restore_run</action>
1948 </object>
1949
1950 <object type="text" color="%text_color%">
1951 <font resource="font" />
1952 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1953 <text>Swipe to Restore</text>
1954 </object>
1955
1956 <object type="action">
1957 <touch key="home" />
1958 <action function="page">main</action>
1959 </object>
1960
1961 <object type="action">
1962 <touch key="back" />
1963 <action function="page">restore</action>
1964 </object>
1965
1966 <object type="template" name="footer" />
1967 </page>
1968
1969 <page name="renamebackup">
1970 <object type="template" name="header" />
1971
1972 <object type="text" color="%text_color%">
1973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1974 <font resource="font" />
1975 <text>Please Enter a New Backup Name</text>
1976 </object>
1977
1978 <object type="input">
1979 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1980 <background color="%input_background_color%" />
1981 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1982 <font resource="font" color="%text_color%" />
1983 <text>%tw_backup_rename%</text>
1984 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001985 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001986 <actions>
1987 <action function="set">tw_back=restore</action>
1988 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001989 <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 -04001990 <action function="set">tw_text1=Rename Backup?</action>
1991 <action function="set">tw_text2=This cannot be undone!</action>
1992 <action function="set">tw_action_text1=Renaming Backup...</action>
1993 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1994 <action function="set">tw_slider_text=Swipe to Rename</action>
1995 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1996 <action function="set">tw_existpage=renamebackup</action>
1997 <action function="set">tw_notexistpage=confirm_action</action>
1998 <action function="page">filecheck</action>
1999 </actions>
2000 </object>
2001
2002 <object type="text" color="%text_fail_color%">
2003 <condition var1="tw_fileexists" var2="1" />
2004 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2005 <font resource="font" />
2006 <text>A backup with that name already exists!</text>
2007 </object>
2008
2009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002010 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002011 <placement x="%col_center_x%" y="%cancel_button_y%" />
2012 <font resource="font" color="%button_text_color%" />
2013 <text>Cancel</text>
2014 <image resource="main_button" />
2015 <action function="page">restore_select</action>
2016 </object>
2017
2018 <object type="template" name="keyboardtemplate" />
2019
2020 <object type="action">
2021 <touch key="home" />
2022 <action function="page">main</action>
2023 </object>
2024
2025 <object type="action">
2026 <touch key="back" />
2027 <action function="page">restore_select</action>
2028 </object>
2029
2030 <object type="template" name="footer" />
2031 </page>
2032
2033 <page name="restore_run">
2034 <object type="template" name="header" />
2035
2036 <object type="text" color="%text_color%">
2037 <font resource="font" />
2038 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2039 <text>%tw_operation% %tw_partition%</text>
2040 </object>
2041
2042 <object type="template" name="action_page_console" />
2043
2044 <object type="template" name="progress_bar" />
2045
2046 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002047 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002048 <actions>
2049 <action function="set">tw_back=restore_select</action>
2050 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002051 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002052 <action function="page">action_complete</action>
2053 </actions>
2054 </object>
2055
2056 <object type="action">
2057 <action function="nandroid">restore</action>
2058 </object>
2059 </page>
2060
2061 <page name="settings">
2062 <object type="template" name="header" />
2063
2064 <object type="text" color="%text_color%">
2065 <font resource="font" />
2066 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2067 <text>Settings</text>
2068 </object>
2069
2070 <object type="checkbox">
2071 <placement x="%col1_x%" y="%row2_text_y%" />
2072 <font resource="font" color="%text_color%" />
2073 <text>Zip file signature verification?</text>
2074 <data variable="tw_signed_zip_verify" />
2075 <image checked="checkbox_true" unchecked="checkbox_false" />
2076 </object>
2077
2078 <object type="checkbox">
2079 <placement x="%col1_x%" y="%row3_text_y%" />
2080 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <text>Use rm -rf instead of formatting?</text>
2082 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002088 <font resource="font" color="%text_color%" />
2089 <text>Skip MD5 generation on backups</text>
2090 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 <font resource="font" color="%text_color%" />
2097 <text>Enable MD5 checking of backup files</text>
2098 <data variable="tw_skip_md5_check" />
2099 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002105 <text>Use Military Time</text>
2106 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002107 <image checked="checkbox_true" unchecked="checkbox_false" />
2108 </object>
2109
2110 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002111 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002112 <font resource="font" color="%text_color%" />
2113 <text>Simulate most actions for theme testing</text>
2114 <data variable="tw_simulate_actions" />
2115 <image checked="checkbox_true" unchecked="checkbox_false" />
2116 </object>
2117
2118 <object type="checkbox">
2119 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002120 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002121 <font resource="font" color="%text_color%" />
2122 <text>Simulate failure for actions</text>
2123 <data variable="tw_simulate_fail" />
2124 <image checked="checkbox_true" unchecked="checkbox_false" />
2125 </object>
2126
2127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 <placement x="%col1_x%" y="%row2_y%" />
2130 <font resource="font" color="%button_text_color%" />
2131 <text>Time Zone</text>
2132 <image resource="main_button" />
2133 <action function="page">timezone</action>
2134 </object>
2135
2136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002137 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002138 <placement x="%col4_x%" y="%row2_y%" />
2139 <font resource="font" color="%button_text_color%" />
2140 <text>Screen</text>
2141 <image resource="main_button" />
2142 <action function="page">screen</action>
2143 </object>
2144
2145 <object type="button">
2146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002147 <placement x="%col_center_x%" y="%slider_y%" />
2148 <font resource="font" color="%button_text_color%" />
2149 <text>Restore Defaults</text>
2150 <image resource="main_button" />
2151 <action function="restoredefaultsettings"></action>
2152 </object>
2153
2154 <object type="action">
2155 <touch key="home" />
2156 <action function="page">main</action>
2157 </object>
2158
2159 <object type="action">
2160 <touch key="back" />
2161 <action function="page">main</action>
2162 </object>
2163
2164 <object type="template" name="footer" />
2165 </page>
2166
2167 <page name="timezone">
2168 <object type="template" name="header" />
2169
2170 <object type="text" color="%text_color%">
2171 <font resource="font" />
2172 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2173 <text>Select Time Zone</text>
2174 </object>
2175
2176 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002177 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002178 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002179 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002180 <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 -06002181 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002182 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002183 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002184 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002185 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002186 <data name="tw_time_zone_guisel" />
2187 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2188 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2189 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2190 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2191 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2192 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2193 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2194 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2195 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2196 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2197 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2198 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2199 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2200 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2201 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2202 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2203 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2204 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2205 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2206 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2207 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2208 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2209 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2210 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2211 </object>
2212
2213 <object type="checkbox">
2214 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2215 <font resource="font" color="%text_color%" />
2216 <text>Do you use daylight savings time (DST)?</text>
2217 <data variable="tw_time_zone_guidst" />
2218 <image checked="checkbox_true" unchecked="checkbox_false" />
2219 </object>
2220
2221 <object type="text" color="%text_color%">
2222 <font resource="font" />
2223 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2224 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2225 </object>
2226
2227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002229 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2230 <font resource="font" color="%button_text_color%" />
2231 <text>0</text>
2232 <image resource="medium_button" />
2233 <action function="set">tw_time_zone_guioffset=0</action>
2234 </object>
2235
2236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002238 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2239 <font resource="font" color="%button_text_color%" />
2240 <text>15</text>
2241 <image resource="medium_button" />
2242 <action function="set">tw_time_zone_guioffset=15</action>
2243 </object>
2244
2245 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002246 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002247 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2248 <font resource="font" color="%button_text_color%" />
2249 <text>30</text>
2250 <image resource="medium_button" />
2251 <action function="set">tw_time_zone_guioffset=30</action>
2252 </object>
2253
2254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002256 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2257 <font resource="font" color="%button_text_color%" />
2258 <text>45</text>
2259 <image resource="medium_button" />
2260 <action function="set">tw_time_zone_guioffset=45</action>
2261 </object>
2262
2263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002265 <placement x="%col4_x%" y="%row2_y%" />
2266 <font resource="font" color="%button_text_color%" />
2267 <text>Set Time Zone</text>
2268 <image resource="main_button" />
2269 <action function="setguitimezone"></action>
2270 </object>
2271
2272 <object type="text" color="%text_color%">
2273 <font resource="font" />
2274 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2275 <text>Current Time Zone: %tw_time_zone%</text>
2276 </object>
2277
2278 <object type="action">
2279 <touch key="home" />
2280 <action function="page">main</action>
2281 </object>
2282
2283 <object type="action">
2284 <touch key="back" />
2285 <action function="page">settings</action>
2286 </object>
2287
2288 <object type="template" name="footer" />
2289 </page>
2290
Dees_Troy2f9117a2013-02-17 19:52:09 -06002291 <page name="screen">
2292 <object type="template" name="header" />
2293
2294 <object type="text" color="%text_color%">
2295 <font resource="font" />
2296 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2297 <text>Screen Settings</text>
2298 </object>
2299
Dees_Troy2f9117a2013-02-17 19:52:09 -06002300 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002301 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2302 <font resource="font" color="%text_color%" />
2303 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2304 <text>Enable screen timeout.</text>
2305 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002306 <action function="set">tw_screen_timeout_secs=60</action>
2307 </object>
2308
2309 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002310 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2311 <font resource="font" color="%text_color%" />
2312 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2313 <text>Enable screen timeout.</text>
2314 <image resource="checkbox_true" />
2315 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002316 </object>
2317
Vojtech Bocek85932342013-04-01 22:11:33 +02002318 <object type="slidervalue">
2319 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2320 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2321 <font resource="font" color="%text_color%" />
2322 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2323 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2324 <text>Screen timeout in seconds:</text>
2325 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002326 </object>
2327
Vojtech Bocek85932342013-04-01 22:11:33 +02002328 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002329 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002330 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2331 <font resource="font" color="%text_color%" />
2332 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2333 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2334 <text>Brightness: %tw_brightness_pct%%</text>
2335 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002336 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002337 <action function="set">tw_brightness=%tw_brightness_max%</action>
2338 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2339 <action function="compute">tw_brightness/100</action>
2340 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002341 </actions>
2342 </object>
2343
2344 <object type="action">
2345 <touch key="home" />
2346 <action function="page">main</action>
2347 </object>
2348
2349 <object type="action">
2350 <touch key="back" />
2351 <action function="page">settings</action>
2352 </object>
2353
2354 <object type="template" name="footer" />
2355 </page>
2356
Dees_Troy51a0e822012-09-05 15:24:24 -04002357 <page name="advanced">
2358 <object type="template" name="header" />
2359
2360 <object type="text" color="%text_color%">
2361 <font resource="font" />
2362 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2363 <text>Advanced</text>
2364 </object>
2365
2366 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002367 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002368 <placement x="%col1_x%" y="%row1_y%" />
2369 <font resource="font" color="%button_text_color%" />
2370 <text>Copy Log to SD</text>
2371 <image resource="main_button" />
2372 <actions>
2373 <action function="set">tw_back=advanced</action>
2374 <action function="set">tw_action=copylog</action>
2375 <action function="set">tw_text1=Copy Log to SD Card?</action>
2376 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2377 <action function="set">tw_complete_text1=Log Copy Complete</action>
2378 <action function="set">tw_slider_text=Swipe to Confirm</action>
2379 <action function="page">confirm_action</action>
2380 </actions>
2381 </object>
2382
2383 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002384 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <placement x="%col2_x%" y="%row1_y%" />
2386 <font resource="font" color="%button_text_color%" />
2387 <text>Fix Permissions</text>
2388 <image resource="main_button" />
2389 <actions>
2390 <action function="set">tw_back=advanced</action>
2391 <action function="set">tw_action=fixpermissions</action>
2392 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2395 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002396 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <action function="page">confirm_action</action>
2398 </actions>
2399 </object>
2400
2401 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002402 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <placement x="%col3_x%" y="%row1_y%" />
2404 <font resource="font" color="%button_text_color%" />
2405 <text>Terminal Command</text>
2406 <image resource="main_button" />
2407 <action function="page">terminalfolder</action>
2408 </object>
2409
2410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002411 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002412 <placement x="%col4_x%" y="%row1_y%" />
2413 <font resource="font" color="%button_text_color%" />
2414 <text>ADB Sideload</text>
2415 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002416 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002417 </object>
2418
2419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <condition var1="tw_allow_partition_sdcard" var2="1" />
2422 <placement x="%col1_x%" y="%row2_y%" />
2423 <font resource="font" color="%button_text_color%" />
2424 <text>Partition SD Card</text>
2425 <image resource="main_button" />
2426 <action function="page">partsdcard</action>
2427 </object>
2428
2429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <placement x="%col2_x%" y="%row2_y%" />
2432 <font resource="font" color="%button_text_color%" />
2433 <text>File Manager</text>
2434 <image resource="main_button" />
2435 <action function="page">filemanagerlist</action>
2436 </object>
2437
2438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002439 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002440 <placement x="%col3_x%" y="%row2_y%" />
2441 <font resource="font" color="%button_text_color%" />
2442 <text>Reload Theme</text>
2443 <image resource="main_button" />
2444 <action function="reload"></action>
2445 </object>
2446
2447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002449 <condition var1="tw_show_dumlock" var2="1" />
2450 <placement x="%col4_x%" y="%row2_y%" />
2451 <font resource="font" color="%button_text_color%" />
2452 <text>HTC Dumlock</text>
2453 <image resource="main_button" />
2454 <action function="page">htcdumlock</action>
2455 </object>
2456
2457 <object type="action">
2458 <touch key="home" />
2459 <action function="page">main</action>
2460 </object>
2461
2462 <object type="action">
2463 <touch key="back" />
2464 <action function="page">main</action>
2465 </object>
2466
2467 <object type="template" name="footer" />
2468 </page>
2469
2470 <page name="partsdcard">
2471 <object type="template" name="header" />
2472
2473 <object type="text" color="%text_color%">
2474 <font resource="font" />
2475 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2476 <text>Partition SD Card</text>
2477 </object>
2478
2479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2482 <font resource="font" color="%button_text_color%" />
2483 <text></text>
2484 <image resource="minus_button" />
2485 <action function="addsubtract">tw_sdext_size-128</action>
2486 </object>
2487
2488 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002489 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002490 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2491 <font resource="font" color="%button_text_color%" />
2492 <text></text>
2493 <image resource="plus_button" />
2494 <action function="addsubtract">tw_sdext_size+128</action>
2495 </object>
2496
2497 <object type="text" color="%text_color%">
2498 <font resource="font" />
2499 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2500 <text>EXT Size: %tw_sdext_size%</text>
2501 </object>
2502
2503 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002504 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2506 <font resource="font" color="%button_text_color%" />
2507 <text></text>
2508 <image resource="minus_button" />
2509 <action function="addsubtract">tw_swap_size-32</action>
2510 </object>
2511
2512 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002513 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2515 <font resource="font" color="%button_text_color%" />
2516 <text></text>
2517 <image resource="plus_button" />
2518 <action function="addsubtract">tw_swap_size+32</action>
2519 </object>
2520
2521 <object type="text" color="%text_color%">
2522 <font resource="font" />
2523 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2524 <text>Swap Size: %tw_swap_size%</text>
2525 </object>
2526
2527 <object type="text" color="%text_color%">
2528 <font resource="font" />
2529 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2530 <text>File system: %tw_sdpart_file_system%</text>
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_medium_x%" y="%row4_medium_y%" />
2536 <font resource="font" color="%button_text_color%" />
2537 <text>EXT3</text>
2538 <image resource="medium_button" />
2539 <action function="set">tw_sdpart_file_system=ext3</action>
2540 </object>
2541
2542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <condition var1="tw_sdext_disable_ext4" var2="0" />
2545 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2546 <font resource="font" color="%button_text_color%" />
2547 <text>EXT4</text>
2548 <image resource="medium_button" />
2549 <action function="set">tw_sdpart_file_system=ext4</action>
2550 </object>
2551
2552 <object type="text" color="%text_color%">
2553 <font resource="font" />
2554 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2555 <text>You will lose all files on your SD card!</text>
2556 </object>
2557
2558 <object type="text" color="%text_color%">
2559 <font resource="font" />
2560 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2561 <text>This action cannot be undone!</text>
2562 </object>
2563
2564 <object type="slider">
2565 <placement x="%slider_x%" y="%slider_y%" />
2566 <resource base="slider" used="slider-used" touch="slider-touch" />
2567 <actions>
2568 <action function="set">tw_back=partsdcard</action>
2569 <action function="set">tw_action=partitionsd</action>
2570 <action function="set">tw_has_action2=1</action>
2571 <action function="set">tw_action2=set</action>
2572 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2573 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2574 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002575 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002576 <action function="page">action_page</action>
2577 </actions>
2578 </object>
2579
2580 <object type="text" color="%text_color%">
2581 <font resource="font" />
2582 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2583 <text>Swipe to Confirm Partition</text>
2584 </object>
2585
2586 <object type="action">
2587 <touch key="home" />
2588 <action function="page">main</action>
2589 </object>
2590
2591 <object type="action">
2592 <touch key="back" />
2593 <action function="page">advanced</action>
2594 </object>
2595
2596 <object type="template" name="footer" />
2597 </page>
2598
2599
2600 <page name="htcdumlock">
2601 <object type="template" name="header" />
2602
2603 <object type="text" color="%text_color%">
2604 <font resource="font" />
2605 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2606 <text>HTC Dumlock</text>
2607 </object>
2608
2609 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002610 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002611 <condition var1="tw_show_dumlock" var2="1" />
2612 <placement x="%col1_x%" y="%row1_y%" />
2613 <font resource="font" color="%button_text_color%" />
2614 <text>Restore Original Boot</text>
2615 <image resource="main_button" />
2616 <actions>
2617 <action function="set">tw_back=htcdumlock</action>
2618 <action function="set">tw_action=htcdumlockrestoreboot</action>
2619 <action function="set">tw_text1=Restore original boot image?</action>
2620 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2621 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2622 <action function="set">tw_slider_text=Swipe to Confirm</action>
2623 <action function="page">confirm_action</action>
2624 </actions>
2625 </object>
2626
2627 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002628 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002629 <condition var1="tw_show_dumlock" var2="1" />
2630 <placement x="%col2_x%" y="%row1_y%" />
2631 <font resource="font" color="%button_text_color%" />
2632 <text>Reflash Recovery->Boot</text>
2633 <image resource="main_button" />
2634 <actions>
2635 <action function="set">tw_back=htcdumlock</action>
2636 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2637 <action function="set">tw_text1=Reflash recovery to boot?</action>
2638 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2639 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2640 <action function="set">tw_slider_text=Swipe to Confirm</action>
2641 <action function="page">confirm_action</action>
2642 </actions>
2643 </object>
2644
2645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002647 <condition var1="tw_show_dumlock" var2="1" />
2648 <placement x="%col1_x%" y="%row2_y%" />
2649 <font resource="font" color="%button_text_color%" />
2650 <text>Install HTC Dumlock</text>
2651 <image resource="main_button" />
2652 <actions>
2653 <action function="set">tw_back=htcdumlock</action>
2654 <action function="set">tw_action=installhtcdumlock</action>
2655 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2656 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2657 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2658 <action function="set">tw_slider_text=Swipe to Confirm</action>
2659 <action function="page">confirm_action</action>
2660 </actions>
2661 </object>
2662
2663 <object type="action">
2664 <touch key="home" />
2665 <action function="page">main</action>
2666 </object>
2667
2668 <object type="action">
2669 <touch key="back" />
2670 <action function="page">advanced</action>
2671 </object>
2672
2673 <object type="template" name="footer" />
2674 </page>
2675
2676 <page name="lock">
2677 <background color="#000000A0" />
2678
2679 <object type="image">
2680 <image resource="unlock-icon" />
2681 <placement x="%lock_x%" y="%lock_y%" />
2682 </object>
2683
2684 <object type="slider">
2685 <placement x="%slider_x%" y="%slider_y%" />
2686 <resource base="slider" used="slider-used" touch="slider-touch" />
2687 <action function="overlay"></action>
2688 </object>
2689
2690 <object type="text" color="%text_color%">
2691 <font resource="font" />
2692 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2693 <text>Swipe to Unlock</text>
2694 </object>
2695 </page>
2696
2697
2698 <page name="filemanagerlist">
2699 <object type="template" name="header" />
2700
2701 <object type="text" color="%text_color%">
2702 <font resource="font" />
2703 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2704 <text>File Manager: Select a File or Folder</text>
2705 </object>
2706
2707 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002708 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002709 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2710 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002711 <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 -04002712 <text>Folders:</text>
2713 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2714 <sort name="tw_gui_sort_order" />
2715 <icon folder="folder_icon" file="file_icon" />
2716 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002717 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002718 <filter folders="1" files="0" />
2719 <path name="tw_file_location1" default="/sdcard" />
2720 <data name="select" />
2721 <selection name="tw_selection1" />
2722 </object>
2723
2724 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002725 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2727 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002728 <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 -04002729 <text>%tw_file_location1%</text>
2730 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2731 <sort name="tw_gui_sort_order" />
2732 <icon folder="folder_icon" file="file_icon" />
2733 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002734 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <filter folders="0" files="1" />
2736 <path name="tw_file_location1" default="/" />
2737 <data name="tw_filename1" />
2738 <selection name="tw_selection1" />
2739 </object>
2740
2741 <object type="template" name="sort_options" />
2742
2743 <object type="action">
2744 <actions>
2745 <action function="set">tw_fm_type=File</action>
2746 <action function="set">tw_fm_isfolder=0</action>
2747 </actions>
2748 </object>
2749
2750 <object type="action">
2751 <touch key="home" />
2752 <action function="page">main</action>
2753 </object>
2754
2755 <object type="action">
2756 <touch key="back" />
2757 <action function="page">advanced</action>
2758 </object>
2759
2760 <object type="action">
2761 <condition var1="tw_filename1" op="modified" />
2762 <actions>
2763 <action function="page">filemanageroptions</action>
2764 </actions>
2765 </object>
2766
2767 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002768 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2770 <font resource="font" color="%button_text_color%" />
2771 <text>Select Folder</text>
2772 <image resource="main_button" />
2773 <actions>
2774 <action function="set">tw_filename1=tw_file_location1</action>
2775 <action function="set">tw_fm_isfolder=1</action>
2776 <action function="set">tw_fm_type=Folder</action>
2777 <action function="page">filemanageroptions</action>
2778 </actions>
2779 </object>
2780
2781 <object type="template" name="footer" />
2782 </page>
2783
2784 <page name="filemanageroptions">
2785 <object type="template" name="header" />
2786
2787 <object type="text" color="%text_color%">
2788 <font resource="font" />
2789 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2790 <text>%tw_fm_type% Selected:</text>
2791 </object>
2792
2793 <object type="text" color="%text_color%">
2794 <font resource="font" />
2795 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2796 <text>%tw_filename1%</text>
2797 </object>
2798
2799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002800 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002801 <condition var1="tw_fm_isfolder" var2="0" />
2802 <placement x="%col1_x%" y="%row2_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text>Copy File</text>
2805 <image resource="main_button" />
2806 <actions>
2807 <action function="set">tw_filemanager_command=cp</action>
2808 <action function="set">tw_fm_text1=Copying</action>
2809 <action function="page">choosedestinationfolder</action>
2810 </actions>
2811 </object>
2812
2813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002814 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002815 <condition var1="tw_fm_isfolder" var2="1" />
2816 <placement x="%col1_x%" y="%row2_y%" />
2817 <font resource="font" color="%button_text_color%" />
2818 <text>Copy Folder</text>
2819 <image resource="main_button" />
2820 <actions>
2821 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2822 <action function="set">tw_fm_text1=Copying</action>
2823 <action function="page">choosedestinationfolder</action>
2824 </actions>
2825 </object>
2826
2827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002828 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002829 <placement x="%col2_x%" y="%row2_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>Move</text>
2832 <image resource="main_button" />
2833 <actions>
2834 <action function="set">tw_filemanager_command=mv</action>
2835 <action function="set">tw_fm_text1=Moving</action>
2836 <action function="page">choosedestinationfolder</action>
2837 </actions>
2838 </object>
2839
2840 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002841 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <placement x="%col3_x%" y="%row2_y%" />
2843 <font resource="font" color="%button_text_color%" />
2844 <text>chmod 755</text>
2845 <image resource="main_button" />
2846 <actions>
2847 <action function="set">tw_filemanager_command=chmod 755</action>
2848 <action function="set">tw_fm_text1=chmod 755</action>
2849 <action function="set">tw_fm_text2=</action>
2850 <action function="set">tw_fm_text3=</action>
2851 <action function="set">tw_include_text3=0</action>
2852 <action function="set">tw_back=filemanageroptions</action>
2853 <action function="page">filemanagerconfirm</action>
2854 </actions>
2855 </object>
2856
2857 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002858 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002859 <placement x="%col4_x%" y="%row2_y%" />
2860 <font resource="font" color="%button_text_color%" />
2861 <text>chmod</text>
2862 <image resource="main_button" />
2863 <actions>
2864 <action function="set">tw_filemanager_rename=0000</action>
2865 <action function="set">tw_fm_text2=</action>
2866 <action function="set">tw_fm_text3=</action>
2867 <action function="set">tw_include_text3=0</action>
2868 <action function="set">tw_back=filemanageroptions</action>
2869 <action function="page">filemanagerchmod</action>
2870 </actions>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <placement x="%col1_x%" y="%row1_y%" />
2876 <font resource="font" color="%button_text_color%" />
2877 <text>Delete</text>
2878 <image resource="main_button" />
2879 <actions>
2880 <action function="set">tw_filemanager_command=rm -rf</action>
2881 <action function="set">tw_fm_text1=Deleting</action>
2882 <action function="set">tw_fm_text2=</action>
2883 <action function="set">tw_fm_text3=</action>
2884 <action function="set">tw_include_text3=0</action>
2885 <action function="set">tw_back=filemanageroptions</action>
2886 <action function="page">filemanagerconfirm</action>
2887 </actions>
2888 </object>
2889
2890 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002891 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002892 <condition var1="tw_fm_isfolder" var2="0" />
2893 <placement x="%col4_x%" y="%row1_y%" />
2894 <font resource="font" color="%button_text_color%" />
2895 <text>Rename File</text>
2896 <image resource="main_button" />
2897 <actions>
2898 <action function="set">tw_filemanager_rename=tw_selection1</action>
2899 <action function="set">tw_fm_text1=Renaming</action>
2900 <action function="set">tw_filemanager_command=mv</action>
2901 <action function="page">filemanagerrenamefile</action>
2902 </actions>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <condition var1="tw_fm_isfolder" var2="1" />
2908 <placement x="%col4_x%" y="%row1_y%" />
2909 <font resource="font" color="%button_text_color%" />
2910 <text>Rename Folder</text>
2911 <image resource="main_button" />
2912 <actions>
2913 <action function="set">tw_filemanager_rename=tw_selection1</action>
2914 <action function="set">tw_fm_text1=Renaming</action>
2915 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2916 <action function="page">filemanagerrenamefolder</action>
2917 </actions>
2918 </object>
2919
2920 <object type="action">
2921 <touch key="home" />
2922 <action function="page">main</action>
2923 </object>
2924
2925 <object type="action">
2926 <touch key="back" />
2927 <action function="page">filemanagerlist</action>
2928 </object>
2929
2930 <object type="template" name="footer" />
2931 </page>
2932
2933 <page name="choosedestinationfolder">
2934 <object type="template" name="header" />
2935
2936 <object type="text" color="%text_color%">
2937 <font resource="font" />
2938 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2939 <text>Browse to Destination Folder & Press Select</text>
2940 </object>
2941
2942 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002943 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2945 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002946 <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 -04002947 <text>%tw_file_location2%</text>
2948 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2949 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002950 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002951 <icon folder="folder_icon" file="file_icon" />
2952 <background color="%fileselector_background%" />
2953 <filter folders="1" files="0" />
2954 <path name="tw_file_location2" default="/sdcard" />
2955 <data name="tw_filename2" />
2956 </object>
2957
2958 <object type="template" name="sort_options" />
2959
2960 <object type="action">
2961 <touch key="home" />
2962 <action function="page">main</action>
2963 </object>
2964
2965 <object type="action">
2966 <touch key="back" />
2967 <action function="page">filemanageroptions</action>
2968 </object>
2969
2970 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002971 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002972 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2973 <font resource="font" color="%button_text_color%" />
2974 <text>Select Folder</text>
2975 <image resource="main_button" />
2976 <actions>
2977 <action function="set">tw_fm_text2=to</action>
2978 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2979 <action function="set">tw_include_text3=1</action>
2980 <action function="set">tw_back=filemanageroptions</action>
2981 <action function="page">filemanagerconfirm</action>
2982 </actions>
2983 </object>
2984
2985 <object type="template" name="footer" />
2986 </page>
2987
2988 <page name="filemanagerrenamefile">
2989 <object type="template" name="header" />
2990
2991 <object type="text" color="%text_color%">
2992 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2993 <font resource="font" />
2994 <text>Please Enter a New %tw_fm_type% Name</text>
2995 </object>
2996
2997 <object type="input">
2998 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2999 <background color="%input_background_color%" />
3000 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3001 <font resource="font" color="%text_color%" />
3002 <text>%tw_filemanager_rename%</text>
3003 <data name="tw_filemanager_rename" />
3004 <restrict minlen="1" maxlen="128" />
3005 <actions>
3006 <action function="set">tw_fm_text2=to</action>
3007 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3008 <action function="set">tw_include_text3=1</action>
3009 <action function="set">tw_back=filemanageroptions</action>
3010 <action function="page">filemanagerconfirm</action>
3011 </actions>
3012 </object>
3013
3014 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003015 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003016 <placement x="%col_center_x%" y="%cancel_button_y%" />
3017 <font resource="font" color="%button_text_color%" />
3018 <text>Cancel</text>
3019 <image resource="main_button" />
3020 <action function="page">filemanageroptions</action>
3021 </object>
3022
3023 <object type="template" name="keyboardtemplate" />
3024
3025 <object type="action">
3026 <touch key="home" />
3027 <action function="page">main</action>
3028 </object>
3029
3030 <object type="action">
3031 <touch key="back" />
3032 <action function="page">filemanageroptions</action>
3033 </object>
3034
3035 <object type="template" name="footer" />
3036 </page>
3037
3038 <page name="filemanagerrenamefolder">
3039 <object type="template" name="header" />
3040
3041 <object type="text" color="%text_color%">
3042 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3043 <font resource="font" />
3044 <text>Please Enter a New %tw_fm_type% Name</text>
3045 </object>
3046
3047 <object type="input">
3048 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3049 <background color="%input_background_color%" />
3050 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3051 <font resource="font" color="%text_color%" />
3052 <text>%tw_filemanager_rename%</text>
3053 <data name="tw_filemanager_rename" />
3054 <restrict minlen="1" maxlen="128" />
3055 <actions>
3056 <action function="set">tw_fm_text2=to</action>
3057 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3058 <action function="set">tw_include_text3=1</action>
3059 <action function="set">tw_back=filemanageroptions</action>
3060 <action function="page">filemanagerconfirm</action>
3061 </actions>
3062 </object>
3063
3064 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003065 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <placement x="%col_center_x%" y="%cancel_button_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Cancel</text>
3069 <image resource="main_button" />
3070 <action function="page">filemanageroptions</action>
3071 </object>
3072
3073 <object type="template" name="keyboardtemplate" />
3074
3075 <object type="action">
3076 <touch key="home" />
3077 <action function="page">main</action>
3078 </object>
3079
3080 <object type="action">
3081 <touch key="back" />
3082 <action function="page">filemanageroptions</action>
3083 </object>
3084
3085 <object type="template" name="footer" />
3086 </page>
3087
3088 <page name="filemanagerchmod">
3089 <object type="template" name="header" />
3090
3091 <object type="text" color="%text_color%">
3092 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3093 <font resource="font" />
3094 <text>Please Enter New Permissions</text>
3095 </object>
3096
3097 <object type="input">
3098 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3099 <background color="%input_background_color%" />
3100 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3101 <font resource="font" color="%text_color%" />
3102 <text>%tw_filemanager_rename%</text>
3103 <data name="tw_filemanager_rename" />
3104 <restrict minlen="3" maxlen="4" allow="0123456789" />
3105 <actions>
3106 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3107 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3108 <action function="set">tw_back=filemanageroptions</action>
3109 <action function="page">filemanagerconfirm</action>
3110 </actions>
3111 </object>
3112
3113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <placement x="%col_center_x%" y="%cancel_button_y%" />
3116 <font resource="font" color="%button_text_color%" />
3117 <text>Cancel</text>
3118 <image resource="main_button" />
3119 <action function="page">filemanageroptions</action>
3120 </object>
3121
3122 <object type="template" name="keyboardtemplate" />
3123
3124 <object type="action">
3125 <touch key="home" />
3126 <action function="page">main</action>
3127 </object>
3128
3129 <object type="action">
3130 <touch key="back" />
3131 <action function="page">filemanageroptions</action>
3132 </object>
3133
3134 <object type="template" name="footer" />
3135 </page>
3136
3137 <page name="filemanagerconfirm">
3138 <object type="template" name="header" />
3139
3140 <object type="text" color="%text_color%">
3141 <font resource="font" />
3142 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3143 <text>%tw_fm_text1%</text>
3144 </object>
3145
3146 <object type="text" color="%text_color%">
3147 <font resource="font" />
3148 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3149 <text>%tw_filename1%</text>
3150 </object>
3151
3152 <object type="text" color="%text_color%">
3153 <font resource="font" />
3154 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3155 <text>%tw_fm_text2%</text>
3156 </object>
3157
3158 <object type="text" color="%text_color%">
3159 <font resource="font" />
3160 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3161 <text>%tw_fm_text3%</text>
3162 </object>
3163
3164 <object type="text" color="%text_color%">
3165 <font resource="font" />
3166 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3167 <text>Press back button to cancel.</text>
3168 </object>
3169
3170 <object type="slider">
3171 <placement x="%slider_x%" y="%slider_y%" />
3172 <resource base="slider" used="slider-used" touch="slider-touch" />
3173 <action function="page">filemanageracction</action>
3174 </object>
3175
3176 <object type="text" color="%text_color%">
3177 <font resource="font" />
3178 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3179 <text>Swipe to Confirm</text>
3180 </object>
3181
3182 <object type="action">
3183 <touch key="back" />
3184 <action function="page">%tw_back%</action>
3185 </object>
3186
3187 <object type="action">
3188 <touch key="home" />
3189 <action function="page">main</action>
3190 </object>
3191
3192 <object type="template" name="footer" />
3193 </page>
3194
3195 <page name="filemanageracction">
3196 <object type="template" name="header" />
3197
3198 <object type="text" color="%text_color%">
3199 <font resource="font" />
3200 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3201 <text>%tw_fm_text1%</text>
3202 </object>
3203
3204 <object type="template" name="action_page_console" />
3205
3206 <object type="template" name="progress_bar" />
3207
3208 <object type="action">
3209 <conditions>
3210 <condition var1="tw_operation_state" var2="1" />
3211 <condition var1="tw_operation_status" var2="0" />
3212 </conditions>
3213 <actions>
3214 <action function="set">tw_back=filemanagerlist</action>
3215 <action function="set">tw_complete_text1=File Operation Complete</action>
3216 <action function="page">action_complete</action>
3217 </actions>
3218 </object>
3219
3220 <object type="action">
3221 <conditions>
3222 <condition var1="tw_operation_state" var2="1" />
3223 <condition var1="tw_operation_status" op="!=" var2="0" />
3224 </conditions>
3225 <actions>
3226 <action function="set">tw_complete_text1=File Operation Complete</action>
3227 <action function="page">action_complete</action>
3228 </actions>
3229 </object>
3230
3231 <object type="action">
3232 <condition var1="tw_include_text3" var2="0" />
3233 <actions>
3234 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3235 </actions>
3236 </object>
3237
3238 <object type="action">
3239 <condition var1="tw_include_text3" var2="1" />
3240 <actions>
3241 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3242 </actions>
3243 </object>
3244 </page>
3245
3246 <page name="decrypt">
3247 <object type="template" name="header" />
3248
3249 <object type="text" color="%text_color%">
3250 <font resource="font" />
3251 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3252 <text>Please Enter Your Password</text>
3253 </object>
3254
3255 <object type="input">
3256 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3257 <background color="%input_background_color%" />
3258 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3259 <font resource="font" color="%text_color%" />
3260 <text>%tw_crypto_display%</text>
3261 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3262 <restrict minlen="1" maxlen="254" />
3263 <actions>
3264 <action function="page">trydecrypt</action>
3265 </actions>
3266 </object>
3267
3268 <object type="text" color="%text_fail_color%">
3269 <condition var1="tw_password_fail" var2="1" />
3270 <font resource="font" />
3271 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3272 <text>Password Failed, Please Try Again</text>
3273 </object>
3274
3275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003277 <placement x="%col_center_x%" y="%cancel_button_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>Cancel</text>
3280 <image resource="main_button" />
3281 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003282 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003283 <action function="page">main</action>
3284 </actions>
3285 </object>
3286
3287 <object type="template" name="keyboardtemplate" />
3288
Dees_Troy51a0e822012-09-05 15:24:24 -04003289 <object type="template" name="footer" />
3290 </page>
3291
3292 <page name="trydecrypt">
3293 <object type="template" name="header" />
3294
3295 <object type="text" color="%text_color%">
3296 <font resource="font" />
3297 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3298 <text>Trying Decryption with Your Password</text>
3299 </object>
3300
3301 <object type="template" name="action_page_console" />
3302
3303 <object type="template" name="progress_bar" />
3304
3305 <object type="action">
3306 <action function="decrypt"></action>
3307 </object>
3308
3309 <object type="action">
3310 <conditions>
3311 <condition var1="tw_operation_state" var2="1" />
3312 <condition var1="tw_operation_status" op="!=" var2="0" />
3313 </conditions>
3314 <actions>
3315 <action function="set">tw_password_fail=1</action>
3316 <action function="page">decrypt</action>
3317 </actions>
3318 </object>
3319
3320 <object type="action">
3321 <conditions>
3322 <condition var1="tw_operation_state" var2="1" />
3323 <condition var1="tw_operation_status" op="=" var2="0" />
3324 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003325 <actions>
3326 <action function="set">tw_page_done=1</action>
3327 <action function="page">main</action>
3328 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003329 </object>
3330 </page>
3331
3332 <page name="terminalfolder">
3333 <object type="template" name="header" />
3334
3335 <object type="text" color="%text_color%">
3336 <font resource="font" />
3337 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3338 <text>Browse to Starting Folder</text>
3339 </object>
3340
3341 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003342 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003343 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3344 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003345 <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 -04003346 <text>%tw_terminal_location%</text>
3347 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3348 <sort name="tw_gui_sort_order" />
3349 <icon folder="folder_icon" file="file_icon" />
3350 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003351 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003352 <filter folders="1" files="0" />
3353 <path name="tw_terminal_location" default="/" />
3354 <data name="tw_terminal" />
3355 <selection name="tw_terminal_selection" />
3356 </object>
3357
3358 <object type="template" name="sort_options" />
3359
3360 <object type="action">
3361 <touch key="home" />
3362 <action function="page">main</action>
3363 </object>
3364
3365 <object type="action">
3366 <touch key="back" />
3367 <action function="page">advanced</action>
3368 </object>
3369
3370 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003371 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003372 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3373 <font resource="font" color="%button_text_color%" />
3374 <text>Select Folder</text>
3375 <image resource="main_button" />
3376 <actions>
3377 <action function="page">terminalcommand</action>
3378 </actions>
3379 </object>
3380
3381 <object type="template" name="footer" />
3382 </page>
3383
3384 <page name="terminalcommand">
3385 <background color="#000000FF" />
3386
3387 <object type="console">
3388 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3389 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3390 <font resource="fixed" />
3391 </object>
3392
3393 <object type="text" color="%text_color%">
3394 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3395 <font resource="font" />
3396 <text>Starting Path: %tw_terminal_location%</text>
3397 </object>
3398
3399 <object type="input">
3400 <condition var1="tw_terminal_state" var2="0" />
3401 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3402 <background color="%input_background_color%" />
3403 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3404 <font resource="font" color="%text_color%" />
3405 <text>%tw_terminal_command%</text>
3406 <data name="tw_terminal_command" />
3407 <restrict minlen="1" />
3408 <action function="terminalcommand">%tw_terminal_command%</action>
3409 </object>
3410
3411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003413 <condition var1="tw_terminal_state" var2="1" />
3414 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3415 <font resource="font" color="%button_text_color%" />
3416 <text>KILL</text>
3417 <image resource="medium_button" />
3418 <action function="killterminal"></action>
3419 </object>
3420
3421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003423 <placement x="%home_button_x%" y="%terminal_button_y%" />
3424 <font resource="font" color="%button_text_color%" />
3425 <text></text>
3426 <image resource="home_icon" />
3427 <condition var1="tw_busy" var2="0" />
3428 <action function="key">home</action>
3429 </object>
3430
3431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003433 <placement x="%back_button_x%" y="%terminal_button_y%" />
3434 <font resource="font" color="%button_text_color%" />
3435 <text></text>
3436 <image resource="back_icon" />
3437 <condition var1="tw_busy" var2="0" />
3438 <action function="key">back</action>
3439 </object>
3440
3441 <object type="action">
3442 <touch key="power" />
3443 <action function="overlay">lock</action>
3444 </object>
3445
3446 <object type="template" name="keyboardtemplate" />
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">terminalfolder</action>
3456 </object>
3457 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003458
3459 <page name="sideload">
3460 <object type="template" name="header" />
3461
3462 <object type="text" color="%text_color%">
3463 <font resource="font" />
3464 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3465 <text>ADB Sideload</text>
3466 </object>
3467
3468 <object type="checkbox">
3469 <placement x="%col1_x%" y="%row3_text_y%" />
3470 <font resource="font" color="%text_color%" />
3471 <text>Wipe Dalvik Cache.</text>
3472 <data variable="tw_wipe_dalvik" />
3473 <image checked="checkbox_true" unchecked="checkbox_false" />
3474 </object>
3475
3476 <object type="checkbox">
3477 <placement x="%col1_x%" y="%row4_text_y%" />
3478 <font resource="font" color="%text_color%" />
3479 <text>Wipe Cache.</text>
3480 <data variable="tw_wipe_cache" />
3481 <image checked="checkbox_true" unchecked="checkbox_false" />
3482 </object>
3483
3484 <object type="slider">
3485 <placement x="%slider_x%" y="%slider_y%" />
3486 <resource base="slider" used="slider-used" touch="slider-touch" />
3487 <actions>
3488 <action function="set">tw_back=advanced</action>
3489 <action function="set">tw_action=adbsideload</action>
3490 <action function="set">tw_action_text1=ADB Sideload</action>
3491 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3492 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3493 <action function="set">tw_has_cancel=1</action>
3494 <action function="set">tw_show_reboot=1</action>
3495 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3496 <action function="page">action_page</action>
3497 </actions>
3498 </object>
3499
3500 <object type="text" color="%text_color%">
3501 <font resource="font" />
3502 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3503 <text>Swipe to Start Sideload</text>
3504 </object>
3505
3506 <object type="action">
3507 <touch key="home" />
3508 <action function="page">main</action>
3509 </object>
3510
3511 <object type="action">
3512 <touch key="back" />
3513 <action function="page">advanced</action>
3514 </object>
3515
3516 <object type="template" name="footer" />
3517 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003518
3519 <page name="installsu">
3520 <object type="template" name="header" />
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3525 <text>Install SuperSU?</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3531 <text>Your device does not appear to be rooted.</text>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3537 <text>Install SuperSU now? This will root your device.</text>
3538 </object>
3539
3540 <object type="button">
3541 <highlight color="%highlight_color%" />
3542 <placement x="%col_center_x%" y="%row2_medium_y%" />
3543 <font resource="font" color="%button_text_color%" />
3544 <text>Do Not Install</text>
3545 <image resource="main_button" />
3546 <action function="set">tw_page_done=1</action>
3547 </object>
3548
3549 <object type="slider">
3550 <placement x="%slider_x%" y="%slider_y%" />
3551 <resource base="slider" used="slider-used" touch="slider-touch" />
3552 <actions>
3553 <action function="set">tw_action=installsu</action>
3554 <action function="set">tw_action_text1=Installing SuperSU</action>
3555 <action function="set">tw_action_text2=</action>
3556 <action function="page">singleaction_page</action>
3557 </actions>
3558 </object>
3559
3560 <object type="text" color="%text_color%">
3561 <font resource="font" />
3562 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3563 <text>Swipe to Install</text>
3564 </object>
3565 </page>
3566
3567 <page name="fixsu">
3568 <object type="template" name="header" />
3569
3570 <object type="text" color="%text_color%">
3571 <font resource="font" />
3572 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3573 <text>Fix Superuser Permissions?</text>
3574 </object>
3575
3576 <object type="text" color="%text_color%">
3577 <font resource="font" />
3578 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3579 <text>Root permissions appear to be lost.</text>
3580 </object>
3581
3582 <object type="text" color="%text_color%">
3583 <font resource="font" />
3584 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3585 <text>Fix root permissions now?</text>
3586 </object>
3587
3588 <object type="text" color="%text_color%">
3589 <font resource="font" />
3590 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3591 <text>(Fixes permissions on su binary & app)</text>
3592 </object>
3593
3594 <object type="button">
3595 <highlight color="%highlight_color%" />
3596 <placement x="%col_center_x%" y="%row2_medium_y%" />
3597 <font resource="font" color="%button_text_color%" />
3598 <text>Do Not Fix</text>
3599 <image resource="main_button" />
3600 <action function="set">tw_page_done=1</action>
3601 </object>
3602
3603 <object type="slider">
3604 <placement x="%slider_x%" y="%slider_y%" />
3605 <resource base="slider" used="slider-used" touch="slider-touch" />
3606 <actions>
3607 <action function="set">tw_action=fixsu</action>
3608 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3609 <action function="set">tw_action_text2=</action>
3610 <action function="page">singleaction_page</action>
3611 </actions>
3612 </object>
3613
3614 <object type="text" color="%text_color%">
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3617 <text>Swipe to Fix Root</text>
3618 </object>
3619 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003620 </pages>
3621</recovery>