blob: bb324dffd9ec428b9dbcd77e52b37e6d939b9eb0 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="480" />
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-Condensed-16" />
14 <resource name="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
44 </resources>
45
46 <variables>
47 <variable name="col1_x" value="23" />
48 <variable name="col2_x" value="210" />
49 <variable name="col3_x" value="410" />
50 <variable name="col4_x" value="610" />
51 <variable name="row1_y" value="90" />
52 <variable name="row2_y" value="340" />
53 <variable name="col_center_x" value="310" />
54 <variable name="center_x" value="400" />
55 <variable name="screen_width" value="800" />
56 <variable name="screen_height" value="480" />
57 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040058 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040059 <variable name="col1_medium_x" value="120" />
60 <variable name="col2_medium_x" value="250" />
61 <variable name="col3_medium_x" value="380" />
62 <variable name="col4_medium_x" value="510" />
63 <variable name="row1_medium_y" value="105" />
64 <variable name="row2_medium_y" value="175" />
65 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060066 <variable name="row4_medium_y" value="340" />
Dees_Troy51a0e822012-09-05 15:24:24 -040067 <variable name="row5_medium_y" value="320" />
68 <variable name="row1_text_y" value="58" />
69 <variable name="row2_text_y" value="78" />
70 <variable name="row3_text_y" value="100" />
71 <variable name="row4_text_y" value="120" />
72 <variable name="row5_text_y" value="140" />
73 <variable name="row6_text_y" value="160" />
74 <variable name="row7_text_y" value="180" />
75 <variable name="row8_text_y" value="200" />
76 <variable name="row9_text_y" value="220" />
77 <variable name="row10_text_y" value="240" />
78 <variable name="row11_text_y" value="260" />
79 <variable name="row12_text_y" value="280" />
80 <variable name="row13_text_y" value="300" />
81 <variable name="row14_text_y" value="320" />
82 <variable name="row15_text_y" value="340" />
83 <variable name="row16_text_y" value="360" />
84 <variable name="row17_text_y" value="380" />
85 <variable name="row18_text_y" value="400" />
86 <variable name="row_offsetmedium_y" value="320" />
87 <variable name="home_button_x" value="589" />
88 <variable name="home_button_y" value="5" />
89 <variable name="back_button_x" value="659" />
90 <variable name="back_button_y" value="5" />
91 <variable name="console_button_x" value="729" />
92 <variable name="console_button_y" value="5" />
93 <variable name="nandcheck_col1" value="23" />
94 <variable name="nandcheck_col2" value="360" />
95 <variable name="nandcheck_row1" value="130" />
96 <variable name="nandcheck_row2" value="160" />
97 <variable name="nandcheck_row3" value="190" />
98 <variable name="nandcheck_row4" value="220" />
99 <variable name="nandcheck_row5" value="250" />
100 <variable name="nandcheck_row6" value="280" />
101 <variable name="nandcheck_row7" value="310" />
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="225" />
108 <variable name="slider_y" value="390" />
109 <variable name="slider_text_y" value="425" />
110 <variable name="sort_text_x" value="170" />
111 <variable name="sort_asc_text_y" value="418" />
112 <variable name="sort_asc_button_y" value="413" />
113 <variable name="sort_desc_text_y" value="452" />
114 <variable name="sort_desc_button_y" value="447" />
115 <variable name="sort_col1_button_x" value="300" />
116 <variable name="sort_col2_button_x" value="370" />
117 <variable name="sort_col3_button_x" value="440" />
118 <variable name="col1_sdext_x" value="265" />
119 <variable name="col2_sdext_x" value="475" />
120 <variable name="row1_sdext_y" value="85" />
121 <variable name="row2_sdext_y" value="150" />
122 <variable name="row_extsize_y" value="85" />
123 <variable name="row_swapsize_y" value="150" />
124 <variable name="input_x" value="28" />
125 <variable name="input_width" value="720" />
126 <variable name="input_height" value="25" />
127 <variable name="input_background_color" value="#303030" />
128 <variable name="input_cursor_color" value="#33B5E5" />
129 <variable name="input_cursor_width" value="2" />
130 <variable name="console_x" value="25" />
131 <variable name="console_width" value="750" />
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="230" />
136 <variable name="console_install_height" value="260" />
137 <variable name="console_installdone_height" value="260" />
138 <variable name="fileselector_folder_x" value="28" />
139 <variable name="fileselector_folder_width" value="248" />
140 <variable name="fileselector_folderonly_width" value="460" />
141 <variable name="fileselector_file_x" value="278" />
142 <variable name="fileselector_file_width" value="506" />
143 <variable name="fileselector_install_y" value="120" />
144 <variable name="fileselector_install_height" value="290" />
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="2" />
149 <variable name="fileselector_separatorcolor" value="#505050" />
150 <variable name="fileselector_separatorheight" value="1" />
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="12" />
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="25" />
158 <variable name="fastscroll_linew" value="2" />
159 <variable name="fastscroll_rectw" value="19" />
160 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="zipstorage_text_y" value="88" />
162 <variable name="listbox_x" value="156" />
163 <variable name="listbox_y" value="90" />
164 <variable name="listbox_width" value="460" />
165 <variable name="listbox_tz_height" value="170" />
166 <variable name="listbox_background" value="#303030" />
167 <variable name="listbox_spacing" value="12" />
168 <variable name="sd_plus_x" value="280" />
169 <variable name="lock_x" value="250" />
170 <variable name="lock_y" value="90" />
171 <variable name="filemanager_select_x" value="610" />
172 <variable name="filemanager_select_y" value="413" />
173 <variable name="backup_name_text_y" value="440" />
174 <variable name="backup_name_button_y" value="195" />
175 <variable name="col_right_x" value="772" />
176 <variable name="cancel_button_y" value="180" />
177 <variable name="terminal_console_y" value="0" />
178 <variable name="terminal_console_height" value="240" />
179 <variable name="terminal_text_y" value="247" />
180 <variable name="terminal_button_y" value="237" />
181 <variable name="terminal_input_width" value="551" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="button_fill_color" value="#303030" />
183 <variable name="button_fill_full_width" value="400" />
184 <variable name="button_fill_main_width" value="367" />
185 <variable name="button_fill_main_height" value="120" />
186 <variable name="button_fill_half_height" value="60" />
187 <variable name="button_fill_quarter_height" value="30" />
188 <variable name="button_full_center_x" value="200" />
189 <variable name="backup_list_x" value="23" />
190 <variable name="backup_list_y" value="80" />
191 <variable name="backup_list_width" value="367" />
192 <variable name="backup_list_height" value="290" />
193 <variable name="backup_storage_y" value="190" />
194 <variable name="restore_list_y" value="100" />
195 <variable name="restore_list_height" value="270" />
196 <variable name="mount_list_height" value="360" />
197 <variable name="mount_storage_row" value="500" />
198 <variable name="wipe_list_height" value="300" />
199 <variable name="wipe_button_y" value="150" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="200" />
201 <variable name="slidervalue_w" value="400" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="1" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="7" />
207 <variable name="slidervalue_sliderh" value="40" />
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="770" 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="450" />
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="2" />
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="37" />
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="37" />
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="250" y="20" />
266 <text>SIMULATING ACTIONS</text>
267 </object>
268
269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600270 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400271 <placement x="%home_button_x%" y="%home_button_y%" />
272 <font resource="font" color="%button_text_color%" />
273 <text></text>
274 <image resource="home_icon" />
275 <condition var1="tw_busy" var2="0" />
276 <action function="key">home</action>
277 </object>
278
279 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600280 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400281 <placement x="%back_button_x%" y="%back_button_y%" />
282 <font resource="font" color="%button_text_color%" />
283 <text></text>
284 <image resource="back_icon" />
285 <condition var1="tw_busy" var2="0" />
286 <action function="key">back</action>
287 </object>
288
289 <object type="action">
290 <touch key="power" />
291 <action function="overlay">lock</action>
292 </object>
293 </template>
294
295 <template name="progress_bar">
296 <object type="progressbar">
297 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
298 <resource empty="progress_empty" full="progress_full" />
299 <data name="ui_progress" />
300 </object>
301
302 <object type="animation">
303 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
304 <resource name="progress" />
305 <speed fps="15" render="2" />
306 <loop frame="1" />
307 </object>
308 </template>
309
310 <template name="sort_options">
311 <object type="text" color="%text_color%">
312 <font resource="font" />
313 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
314 <text>Sort Ascending:</text>
315 </object>
316
317 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600318 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400319 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
320 <font resource="font" color="%button_text_color%" />
321 <text>Name</text>
322 <image resource="sort_button" />
323 <action function="set">tw_gui_sort_order=1</action>
324 </object>
325
326 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600327 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400328 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
329 <font resource="font" color="%button_text_color%" />
330 <text>Date</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=2</action>
333 </object>
334
335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400337 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
338 <font resource="font" color="%button_text_color%" />
339 <text>Size</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=3</action>
342 </object>
343
344 <object type="text" color="%text_color%">
345 <font resource="font" />
346 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
347 <text>Sort Descending:</text>
348 </object>
349
350 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600351 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400352 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
353 <font resource="font" color="%button_text_color%" />
354 <text>Name</text>
355 <image resource="sort_button" />
356 <action function="set">tw_gui_sort_order=-1</action>
357 </object>
358
359 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600360 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400361 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
362 <font resource="font" color="%button_text_color%" />
363 <text>Date</text>
364 <image resource="sort_button" />
365 <action function="set">tw_gui_sort_order=-2</action>
366 </object>
367
368 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600369 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400370 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
371 <font resource="font" color="%button_text_color%" />
372 <text>Size</text>
373 <image resource="sort_button" />
374 <action function="set">tw_gui_sort_order=-3</action>
375 </object>
376 </template>
377
378 <template name="flash_zip_console">
379 <object type="console">
380 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
381 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
382 <font resource="fixed" />
383 </object>
384 </template>
385
386 <template name="action_page_console">
387 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400388 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400389 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
390 <font resource="fixed" />
391 </object>
392 </template>
393
394 <template name="footer">
395 <object type="console">
396 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
397 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
398 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
399 <font resource="fixed" />
400 </object>
401 </template>
402
403 <template name="keyboardtemplate">
404 <object type="keyboard">
405 <placement x="0" y="277" />
406 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <layout1>
409 <keysize height="51" width="73" />
410 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="70:c:8" />
411 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
412 <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
413 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
414 </layout1>
415 <layout2>
416 <keysize height="51" width="73" />
417 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="70:c:8" />
418 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
419 <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
420 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
421 </layout2>
422 <layout3>
423 <keysize height="51" width="73" />
424 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
425 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
426 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
427 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
428 </layout3>
429 <layout4>
430 <keysize height="51" width="73" />
431 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
432 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
433 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
434 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
435 </layout4>
436 </object>
437 </template>
438 </templates>
439
440 <pages>
441 <page name="main">
442 <object type="action">
443 <actions>
444 <action function="set">tw_clear_destination=main2</action>
445 <action function="page">clear_vars</action>
446 </actions>
447 </object>
448 </page>
449
450 <page name="main2">
451 <object type="template" name="header" />
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col1_x%" y="%row1_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Install</text>
458 <image resource="main_button" />
459 <actions>
460 <action function="queueclear"></action>
461 <action function="page">install</action>
462 </actions>
463 </object>
464
465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400467 <placement x="%col2_x%" y="%row1_y%" />
468 <font resource="font" color="%button_text_color%" />
469 <text>Backup</text>
470 <image resource="main_button" />
471 <action function="page">backup</action>
472 </object>
473
474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <placement x="%col3_x%" y="%row1_y%" />
477 <font resource="font" color="%button_text_color%" />
478 <text>Restore</text>
479 <image resource="main_button" />
480 <action function="page">restore</action>
481 </object>
482
483 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600484 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400485 <placement x="%col4_x%" y="%row1_y%" />
486 <font resource="font" color="%button_text_color%" />
487 <text>Wipe</text>
488 <image resource="main_button" />
489 <action function="page">wipe</action>
490 </object>
491
492 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600493 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 <placement x="%col1_x%" y="%row2_y%" />
495 <font resource="font" color="%button_text_color%" />
496 <text>Mount</text>
497 <image resource="main_button" />
498 <action function="page">mount</action>
499 </object>
500
501 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600502 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400503 <placement x="%col2_x%" y="%row2_y%" />
504 <font resource="font" color="%button_text_color%" />
505 <text>Settings</text>
506 <image resource="main_button" />
507 <action function="page">settings</action>
508 </object>
509
510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <placement x="%col3_x%" y="%row2_y%" />
513 <font resource="font" color="%button_text_color%" />
514 <text>Advanced</text>
515 <image resource="main_button" />
516 <action function="page">advanced</action>
517 </object>
518
519 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600520 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400521 <placement x="%col4_x%" y="%row2_y%" />
522 <font resource="font" color="%button_text_color%" />
523 <text>Reboot</text>
524 <image resource="main_button" />
525 <action function="page">reboot</action>
526 </object>
527
528 <object type="template" name="footer" />
529 </page>
530
531 <page name="install">
532 <object type="template" name="header" />
533
534 <object type="text" color="%text_color%">
535 <font resource="font" />
536 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
537 <text>Select Zip to Install</text>
538 </object>
539
540 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500541 <highlight color="%highlight_color%" />
542 <fill color="%button_fill_color%" />
543 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
544 <font resource="font" color="%button_text_color%" />
545 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
546 <actions>
547 <action function="set">tw_back=install</action>
548 <action function="page">selectstorage</action>
549 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400550 </object>
551
552 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600553 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400554 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
555 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100556 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400557 <text>Folders:</text>
558 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
559 <sort name="tw_gui_sort_order" />
560 <icon folder="folder_icon" file="file_icon" />
561 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600562 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400563 <filter folders="1" files="0" />
564 <path name="tw_zip_location" default="/sdcard" />
565 <data name="select" />
566 </object>
567
568 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600569 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
571 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100572 <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 -0400573 <text>%tw_zip_location%</text>
574 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
575 <sort name="tw_gui_sort_order" />
576 <icon folder="folder_icon" file="file_icon" />
577 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600578 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400579 <filter extn=".zip" folders="0" files="1" />
580 <path name="tw_zip_location" />
581 <data name="tw_filename" />
582 <selection name="tw_file" />
583 </object>
584
585 <object type="template" name="sort_options" />
586
587 <object type="action">
588 <condition var1="tw_filename" op="modified" />
589 <actions>
590 <action function="queuezip"></action>
591 <action function="page">flash_confirm</action>
592 </actions>
593 </object>
594
595 <object type="action">
596 <touch key="back" />
597 <action function="page">main</action>
598 </object>
599
600 <object type="action">
601 <touch key="home" />
602 <action function="page">main</action>
603 </object>
604
605 <object type="template" name="footer" />
606 </page>
607
608 <page name="flash_confirm">
609 <object type="template" name="header" />
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
613 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
614 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
619 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
620 <text>Folder:</text>
621 </object>
622
623 <object type="text" color="%text_color%">
624 <font resource="font" />
625 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
626 <text>%tw_zip_location%</text>
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
631 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
632 <text>File to flash:</text>
633 </object>
634
635 <object type="text" color="%text_color%">
636 <font resource="font" />
637 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
638 <text>%tw_file%</text>
639 </object>
640
641 <object type="text" color="%text_color%">
642 <font resource="font" />
643 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
644 <text>Press back to cancel adding this zip.</text>
645 </object>
646
647 <object type="checkbox">
648 <placement x="%col2_x%" y="%row7_text_y%" />
649 <font resource="font" color="%text_color%" />
650 <text>Zip file signature verification?</text>
651 <data variable="tw_signed_zip_verify" />
652 <image checked="checkbox_true" unchecked="checkbox_false" />
653 </object>
654
Dees_Troy51a0e822012-09-05 15:24:24 -0400655 <object type="text" color="%text_color%">
656 <font resource="font" />
657 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
658 <text>File %tw_zip_queue_count% of max of 10</text>
659 </object>
660
661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600662 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400663 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
664 <placement x="%col2_x%" y="%row5_medium_y%" />
665 <font resource="font" color="%button_text_color%" />
666 <text>Add More Zips</text>
667 <image resource="mediumwide_button" />
668 <action function="page">install</action>
669 </object>
670
671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400673 <placement x="%col3_x%" y="%row5_medium_y%" />
674 <font resource="font" color="%button_text_color%" />
675 <text>Clear Queue</text>
676 <image resource="mediumwide_button" />
677 <actions>
678 <action function="queueclear"></action>
679 <action function="page">install</action>
680 </actions>
681 </object>
682
683 <object type="slider">
684 <placement x="%slider_x%" y="%slider_y%" />
685 <resource base="slider" used="slider-used" touch="slider-touch" />
686 <action function="flash">flash_zip</action>
687 </object>
688
689 <object type="text" color="%text_color%">
690 <font resource="font" />
691 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
692 <text>Swipe to Confirm Flash</text>
693 </object>
694
695 <object type="action">
696 <touch key="back" />
697 <actions>
698 <action function="cancelzip"></action>
699 <action function="page">install</action>
700 </actions>
701 </object>
702
703 <object type="action">
704 <touch key="home" />
705 <action function="page">main</action>
706 </object>
707
708 <object type="template" name="footer" />
709 </page>
710
711 <page name="flash_zip">
712 <object type="template" name="header" />
713
714 <object type="template" name="flash_zip_console" />
715
716 <object type="text" color="%text_color%">
717 <font resource="font" />
718 <placement x="%col1_x%" y="%row16_text_y%" />
719 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
720 </object>
721
722 <object type="text" color="%text_color%">
723 <font resource="font" />
724 <placement x="%col1_x%" y="%row17_text_y%" />
725 <text>%tw_filename%</text>
726 </object>
727
728 <object type="template" name="progress_bar" />
729
730 <object type="action">
731 <condition var1="tw_operation_state" var2="1" />
732 <action function="page">flash_done</action>
733 </object>
734 </page>
735
736 <page name="flash_done">
737 <object type="template" name="header" />
738
739 <object type="template" name="flash_zip_console" />
740
741 <object type="text" color="%text_fail_color%">
742 <condition var1="tw_operation_status" op="!=" var2="0" />
743 <font resource="font" />
744 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
745 <text>Failed</text>
746 </object>
747
748 <object type="text" color="%text_success_color%">
749 <condition var1="tw_operation_status" var2="0" />
750 <font resource="font" />
751 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
752 <text>Successful</text>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <placement x="%col1_x%" y="%slider_y%" />
758 <font resource="font" color="%button_text_color%" />
759 <text>Wipe Cache/Dalvik</text>
760 <image resource="main_button" />
761 <actions>
762 <action function="set">tw_back=flash_done</action>
763 <action function="set">tw_action=wipe</action>
764 <action function="set">tw_action_param=/cache</action>
765 <action function="set">tw_has_action2=1</action>
766 <action function="set">tw_action2=wipe</action>
767 <action function="set">tw_action2_param=dalvik</action>
768 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
769 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
770 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
771 <action function="set">tw_slider_text=Swipe to Wipe</action>
772 <action function="page">confirm_action</action>
773 </actions>
774 </object>
775
776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400778 <condition var1="tw_reboot_system" var2="1" />
779 <placement x="%col4_x%" y="%slider_y%" />
780 <font resource="font" color="%button_text_color%" />
781 <text>Reboot System</text>
782 <image resource="main_button" />
783 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400784 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400785 <action function="set">tw_action=reboot</action>
786 <action function="set">tw_action_param=system</action>
787 <action function="set">tw_has_action2=0</action>
788 <action function="set">tw_text1=No OS Installed! Are you</action>
789 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400790 <action function="set">tw_text3=</action>
791 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400792 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400793 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400794 <action function="set">tw_complete_text1=Rebooting...</action>
795 <action function="set">tw_slider_text=Swipe to Reboot</action>
796 <action function="page">rebootcheck</action>
797 </actions>
798 </object>
799
800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600801 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400802 <placement x="%col_center_x%" y="%slider_y%" />
803 <font resource="font" color="%button_text_color%" />
804 <text>Home</text>
805 <image resource="main_button" />
806 <actions>
807 <action function="set">tw_clear_destination=main2</action>
808 <action function="page">clear_vars</action>
809 </actions>
810 </object>
811
812 <object type="action">
813 <touch key="back" />
814 <actions>
815 <action function="set">tw_clear_destination=install</action>
816 <action function="page">clear_vars</action>
817 </actions>
818 </object>
819
820 <object type="action">
821 <touch key="home" />
822 <actions>
823 <action function="set">tw_clear_destination=main2</action>
824 <action function="page">clear_vars</action>
825 </actions>
826 </object>
827 </page>
828
829 <page name="clear_vars">
830 <object type="action">
831 <action function="set">tw_operation_state=0</action>
832 <action function="set">tw_text1=</action>
833 <action function="set">tw_text2=</action>
834 <action function="set">tw_text3=</action>
835 <action function="set">tw_text4=</action>
836 <action function="set">tw_action_text1=</action>
837 <action function="set">tw_action_text2=</action>
838 <action function="set">tw_action_param=</action>
839 <action function="set">tw_has_action2=0</action>
840 <action function="set">tw_action2=</action>
841 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400842 <action function="set">tw_has_cancel=0</action>
843 <action function="set">tw_cancel_action=</action>
844 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400845 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400846 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400847 <action function="page">%tw_clear_destination%</action>
848 </object>
849 </page>
850
851 <page name="confirm_action">
852 <object type="template" name="header" />
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
857 <text>%tw_text1%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
863 <text>%tw_text2%</text>
864 </object>
865
866 <object type="text" color="%text_color%">
867 <font resource="font" />
868 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
869 <text>%tw_text3%</text>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
875 <text>%tw_text4%</text>
876 </object>
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400880 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400881 <text>Press back button to cancel.</text>
882 </object>
883
884 <object type="slider">
885 <placement x="%slider_x%" y="%slider_y%" />
886 <resource base="slider" used="slider-used" touch="slider-touch" />
887 <action function="page">action_page</action>
888 </object>
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
893 <text>%tw_slider_text%</text>
894 </object>
895
896 <object type="action">
897 <touch key="back" />
898 <actions>
899 <action function="set">tw_clear_destination=%tw_back%</action>
900 <action function="page">clear_vars</action>
901 </actions>
902 </object>
903
904 <object type="action">
905 <touch key="home" />
906 <action function="page">main</action>
907 </object>
908
909 <object type="template" name="footer" />
910 </page>
911
912 <page name="action_page">
913 <object type="template" name="header" />
914
915 <object type="text" color="%text_color%">
916 <font resource="font" />
917 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
918 <text>%tw_action_text1%</text>
919 </object>
920
921 <object type="text" color="%text_color%">
922 <font resource="font" />
923 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
924 <text>%tw_action_text2%</text>
925 </object>
926
927 <object type="template" name="action_page_console" />
928
Dees_Troy2691f9d2012-09-24 11:15:49 -0400929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600930 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400931 <condition var1="tw_has_cancel" var2="1" />
932 <placement x="%col4_x%" y="%slider_y%" />
933 <font resource="font" color="%button_text_color%" />
934 <text>Cancel</text>
935 <image resource="main_button" />
936 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
937 </object>
938
Dees_Troy51a0e822012-09-05 15:24:24 -0400939 <object type="template" name="progress_bar" />
940
941 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400942 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400943 <actions>
944 <action function="page">action_complete</action>
945 </actions>
946 </object>
947
948 <object type="action">
949 <condition var1="tw_has_action2" var2="0" />
950 <actions>
951 <action function="%tw_action%">%tw_action_param%</action>
952 </actions>
953 </object>
954
955 <object type="action">
956 <condition var1="tw_has_action2" var2="1" />
957 <actions>
958 <action function="%tw_action%">%tw_action_param%</action>
959 <action function="%tw_action2%">%tw_action2_param%</action>
960 </actions>
961 </object>
962 </page>
963
Dees_Troy6ef66352013-02-21 08:26:57 -0600964 <page name="singleaction_page">
965 <object type="template" name="header" />
966
967 <object type="text" color="%text_color%">
968 <font resource="font" />
969 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
970 <text>%tw_action_text1%</text>
971 </object>
972
973 <object type="text" color="%text_color%">
974 <font resource="font" />
975 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
976 <text>%tw_action_text2%</text>
977 </object>
978
979 <object type="template" name="action_page_console" />
980
981 <object type="template" name="progress_bar" />
982
983 <object type="action">
984 <condition var1="tw_operation_state" var2="1" />
985 <actions>
986 <action function="set">tw_page_done=1</action>
987 </actions>
988 </object>
989
990 <object type="action">
991 <condition var1="tw_has_action2" var2="0" />
992 <actions>
993 <action function="%tw_action%">%tw_action_param%</action>
994 </actions>
995 </object>
996
997 <object type="action">
998 <condition var1="tw_has_action2" var2="1" />
999 <actions>
1000 <action function="%tw_action%">%tw_action_param%</action>
1001 <action function="%tw_action2%">%tw_action2_param%</action>
1002 </actions>
1003 </object>
1004 </page>
1005
Dees_Troy51a0e822012-09-05 15:24:24 -04001006 <page name="action_complete">
1007 <object type="template" name="header" />
1008
1009 <object type="text" color="%text_color%">
1010 <font resource="font" />
1011 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1012 <text>%tw_complete_text1%</text>
1013 </object>
1014
1015 <object type="text" color="%text_fail_color%">
1016 <condition var1="tw_operation_status" op="!=" var2="0" />
1017 <font resource="font" />
1018 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1019 <text>Failed</text>
1020 </object>
1021
1022 <object type="text" color="%text_success_color%">
1023 <condition var1="tw_operation_status" var2="0" />
1024 <font resource="font" />
1025 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1026 <text>Successful</text>
1027 </object>
1028
1029 <object type="template" name="action_page_console" />
1030
1031 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001032 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001033 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001034 <placement x="%col_center_x%" y="%slider_y%" />
1035 <font resource="font" color="%button_text_color%" />
1036 <text>Back</text>
1037 <image resource="main_button" />
1038 <actions>
1039 <action function="set">tw_clear_destination=%tw_back%</action>
1040 <action function="page">clear_vars</action>
1041 </actions>
1042 </object>
1043
Dees_Troya3f81542012-10-08 10:58:53 -04001044 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001045 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001046 <condition var1="tw_show_reboot" var2="1" />
1047 <placement x="%col_center_x%" y="%slider_y%" />
1048 <font resource="font" color="%button_text_color%" />
1049 <text>Reboot System</text>
1050 <image resource="main_button" />
1051 <actions>
1052 <action function="set">tw_back=main2</action>
1053 <action function="set">tw_action=reboot</action>
1054 <action function="set">tw_action_param=system</action>
1055 <action function="set">tw_has_action2=0</action>
1056 <action function="set">tw_text1=No OS Installed! Are you</action>
1057 <action function="set">tw_text2=sure you wish to reboot?</action>
1058 <action function="set">tw_text3=</action>
1059 <action function="set">tw_text4=</action>
1060 <action function="set">tw_action_text1=Rebooting...</action>
1061 <action function="set">tw_action_text2=</action>
1062 <action function="set">tw_complete_text1=Rebooting...</action>
1063 <action function="set">tw_slider_text=Swipe to Reboot</action>
1064 <action function="page">rebootcheck</action>
1065 </actions>
1066 </object>
1067
Dees_Troy51a0e822012-09-05 15:24:24 -04001068 <object type="action">
1069 <touch key="home" />
1070 <actions>
1071 <action function="set">tw_clear_destination=main2</action>
1072 <action function="page">clear_vars</action>
1073 </actions>
1074 </object>
1075
1076 <object type="action">
1077 <touch key="back" />
1078 <actions>
1079 <action function="set">tw_clear_destination=%tw_back%</action>
1080 <action function="page">clear_vars</action>
1081 </actions>
1082 </object>
1083 </page>
1084
1085 <page name="filecheck">
1086 <object type="action">
1087 <action function="fileexists">%tw_filecheck%</action>
1088 </object>
1089
1090 <object type="action">
1091 <conditions>
1092 <condition var1="tw_operation_state" var2="1" />
1093 <condition var1="tw_operation_status" var2="0" />
1094 </conditions>
1095 <actions>
1096 <action function="set">tw_fileexists=1</action>
1097 <action function="page">%tw_existpage%</action>
1098 </actions>
1099 </object>
1100
1101 <object type="action">
1102 <conditions>
1103 <condition var1="tw_operation_state" var2="1" />
1104 <condition var1="tw_operation_status" var2="1" />
1105 </conditions>
1106 <actions>
1107 <action function="set">tw_fileexists=0</action>
1108 <action function="page">%tw_notexistpage%</action>
1109 </actions>
1110 </object>
1111 </page>
1112
1113 <page name="rebootcheck">
1114 <object type="action">
1115 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1116 <action function="reboot">%tw_action_param%</action>
1117 </object>
1118
1119 <object type="action">
1120 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1121 <action function="page">confirm_action</action>
1122 </object>
1123 </page>
1124
1125 <page name="reboot">
1126 <object type="template" name="header" />
1127
1128 <object type="text" color="%text_color%">
1129 <font resource="font" />
1130 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1131 <text>Reboot Menu</text>
1132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001136 <condition var1="tw_reboot_system" var2="1" />
1137 <placement x="%col1_x%" y="%row1_y%" />
1138 <font resource="font" color="%button_text_color%" />
1139 <text>System</text>
1140 <image resource="main_button" />
1141 <actions>
1142 <action function="set">tw_back=reboot</action>
1143 <action function="set">tw_action=reboot</action>
1144 <action function="set">tw_action_param=system</action>
1145 <action function="set">tw_has_action2=0</action>
1146 <action function="set">tw_text1=No OS Installed! Are you</action>
1147 <action function="set">tw_text2=sure you wish to reboot?</action>
1148 <action function="set">tw_action_text1=Rebooting...</action>
1149 <action function="set">tw_complete_text1=Rebooting...</action>
1150 <action function="set">tw_slider_text=Swipe to Reboot</action>
1151 <action function="page">rebootcheck</action>
1152 </actions>
1153 </object>
1154
1155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <condition var1="tw_reboot_poweroff" var2="1" />
1158 <placement x="%col2_x%" y="%row1_y%" />
1159 <font resource="font" color="%button_text_color%" />
1160 <text>Power Off</text>
1161 <image resource="main_button" />
1162 <actions>
1163 <action function="set">tw_back=reboot</action>
1164 <action function="set">tw_action=reboot</action>
1165 <action function="set">tw_action_param=poweroff</action>
1166 <action function="set">tw_has_action2=0</action>
1167 <action function="set">tw_text1=No OS Installed! Are you</action>
1168 <action function="set">tw_text2=sure you wish to power off?</action>
1169 <action function="set">tw_action_text1=Turning Off...</action>
1170 <action function="set">tw_complete_text1=Turning Off...</action>
1171 <action function="set">tw_slider_text=Swipe to Power Off</action>
1172 <action function="page">rebootcheck</action>
1173 </actions>
1174 </object>
1175
1176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001178 <condition var1="tw_reboot_recovery" var2="1" />
1179 <placement x="%col1_x%" y="%row2_y%" />
1180 <font resource="font" color="%button_text_color%" />
1181 <text>Recovery</text>
1182 <image resource="main_button" />
1183 <actions>
1184 <action function="set">tw_back=reboot</action>
1185 <action function="set">tw_action=reboot</action>
1186 <action function="set">tw_action_param=recovery</action>
1187 <action function="set">tw_has_action2=0</action>
1188 <action function="set">tw_text1=No OS Installed! Are you</action>
1189 <action function="set">tw_text2=sure you wish to reboot?</action>
1190 <action function="set">tw_action_text1=Rebooting...</action>
1191 <action function="set">tw_complete_text1=Rebooting...</action>
1192 <action function="set">tw_slider_text=Swipe to Reboot</action>
1193 <action function="page">rebootcheck</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <condition var1="tw_reboot_bootloader" var2="1" />
1200 <placement x="%col2_x%" y="%row2_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>Bootloader</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=reboot</action>
1206 <action function="set">tw_action=reboot</action>
1207 <action function="set">tw_action_param=bootloader</action>
1208 <action function="set">tw_has_action2=0</action>
1209 <action function="set">tw_text1=No OS Installed! Are you</action>
1210 <action function="set">tw_text2=sure you wish to reboot?</action>
1211 <action function="set">tw_action_text1=Rebooting...</action>
1212 <action function="set">tw_complete_text1=Rebooting...</action>
1213 <action function="set">tw_slider_text=Swipe to Reboot</action>
1214 <action function="page">rebootcheck</action>
1215 </actions>
1216 </object>
1217
1218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001220 <condition var1="tw_download_mode" var2="1" />
1221 <placement x="%col3_x%" y="%row2_y%" />
1222 <font resource="font" color="%button_text_color%" />
1223 <text>Download</text>
1224 <image resource="main_button" />
1225 <actions>
1226 <action function="set">tw_back=reboot</action>
1227 <action function="set">tw_action=reboot</action>
1228 <action function="set">tw_action_param=download</action>
1229 <action function="set">tw_has_action2=0</action>
1230 <action function="set">tw_text1=No OS Installed! Are you</action>
1231 <action function="set">tw_text2=sure you wish to reboot?</action>
1232 <action function="set">tw_action_text1=Rebooting...</action>
1233 <action function="set">tw_complete_text1=Rebooting...</action>
1234 <action function="set">tw_slider_text=Swipe to Reboot</action>
1235 <action function="page">rebootcheck</action>
1236 </actions>
1237 </object>
1238
1239 <object type="action">
1240 <touch key="home" />
1241 <action function="page">main</action>
1242 </object>
1243
1244 <object type="action">
1245 <touch key="back" />
1246 <action function="page">main</action>
1247 </object>
1248
1249 <object type="template" name="footer" />
1250 </page>
1251
Dees_Troya13d74f2013-03-24 08:54:55 -05001252 <page name="selectstorage">
1253 <object type="template" name="header" />
1254
1255 <object type="partitionlist">
1256 <highlight color="%fileselector_highlight_color%" />
1257 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1258 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1259 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1260 <text>Select Storage:</text>
1261 <icon selected="radio_true" unselected="radio_false" />
1262 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1263 <background color="%listbox_background%" />
1264 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1265 <data name="tw_storage_path" />
1266 <listtype name="storage" />
1267 </object>
1268
1269 <object type="action">
1270 <touch key="home" />
1271 <action function="page">main</action>
1272 </object>
1273
1274 <object type="action">
1275 <touch key="back" />
1276 <actions>
1277 <action function="page">%tw_back%</action>
1278 </actions>
1279 </object>
1280
1281 <object type="template" name="footer" />
1282 </page>
1283
Dees_Troy51a0e822012-09-05 15:24:24 -04001284 <page name="mount">
1285 <object type="template" name="header" />
1286
1287 <object type="text" color="%text_color%">
1288 <font resource="font" />
1289 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1290 <text>Mount Menu</text>
1291 </object>
1292
Dees_Troya13d74f2013-03-24 08:54:55 -05001293 <object type="partitionlist">
1294 <highlight color="%fileselector_highlight_color%" />
1295 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1296 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1297 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1298 <text>Select Partitions to Mount:</text>
1299 <icon selected="checkbox_true" unselected="checkbox_false" />
1300 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1301 <background color="%listbox_background%" />
1302 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1303 <listtype name="mount" />
1304 </object>
1305
1306 <object type="button">
1307 <highlight color="%highlight_color%" />
1308 <conditions>
1309 <condition var1="tw_is_encrypted" var2="1" />
1310 <condition var1="tw_is_decrypted" var2="0" />
1311 </conditions>
1312 <placement x="%col3_x%" y="row1_y" />
1313 <font resource="font" color="%button_text_color%" />
1314 <text>Decrypt Data</text>
1315 <image resource="main_button" />
1316 <action function="page">decrypt</action>
1317 </object>
1318
Dees_Troy51a0e822012-09-05 15:24:24 -04001319 <object type="button">
1320 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001321 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001322 <font resource="font" color="%button_text_color%" />
1323 <text>Mount USB Storage</text>
1324 <image resource="main_button" />
1325 <action function="page">usb_mount</action>
1326 </object>
1327
1328 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001329 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001330 <fill color="%button_fill_color%" />
1331 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1332 <font resource="font" color="%button_text_color%" />
1333 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1334 <actions>
1335 <action function="set">tw_back=mount</action>
1336 <action function="page">selectstorage</action>
1337 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 </object>
1339
1340 <object type="action">
1341 <touch key="home" />
1342 <action function="page">main</action>
1343 </object>
1344
1345 <object type="action">
1346 <touch key="back" />
1347 <action function="page">main</action>
1348 </object>
1349
1350 <object type="template" name="footer" />
1351 </page>
1352
1353 <page name="usb_mount">
1354 <object type="template" name="header" />
1355
1356 <object type="text" color="%text_color%">
1357 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1358 <font resource="font" />
1359 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1360 </object>
1361
1362 <object type="text" color="%text_color%">
1363 <placement x="%col1_x%" y="%row2_text_y%" />
1364 <font resource="font" />
1365 <text></text>
1366 </object>
1367
1368 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001369 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001370 <placement x="%col_center_x%" y="%row1_y%" />
1371 <font resource="font" color="%button_text_color%" />
1372 <text>Unmount</text>
1373 <image resource="main_button" />
1374 <action function="page">usb_umount</action>
1375 </object>
1376
1377 <object type="action">
1378 <action function="mount">usb</action>
1379 </object>
1380
1381 <object type="template" name="footer" />
1382 </page>
1383
1384 <page name="usb_umount">
1385 <object type="action">
1386 <action function="unmount">usb</action>
1387 </object>
1388
1389 <object type="action">
1390 <action function="page">mount</action>
1391 </object>
1392
1393 <object type="template" name="footer" />
1394 </page>
1395
1396 <page name="wipe">
1397 <object type="template" name="header" />
1398
1399 <object type="text" color="%text_color%">
1400 <font resource="font" />
1401 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001402 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1403 </object>
1404
1405 <object type="text" color="%text_color%">
1406 <condition var1="tw_has_data_media" var2="0" />
1407 <font resource="font" />
1408 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1409 <text>.android_secure</text>
1410 </object>
1411
1412 <object type="text" color="%text_color%">
1413 <condition var1="tw_has_data_media" var2="1" />
1414 <font resource="font" />
1415 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1416 <text>(not including internal storage)</text>
1417 </object>
1418
1419 <object type="text" color="%text_color%">
1420 <condition var1="tw_has_sdext_partition" var2="1" />
1421 <font resource="font" />
1422 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1423 <text>SD-EXT</text>
1424 </object>
1425
1426 <object type="text" color="%text_color%">
1427 <font resource="font" />
1428 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1429 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 </object>
1431
1432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001433 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001434 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001436 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001438 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 </object>
1440
1441 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <conditions>
1443 <condition var1="tw_has_internal" var2="1" />
1444 <condition var1="tw_has_data_media" var2="1" />
1445 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001446 <highlight color="%highlight_color%" />
1447 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001448 <font resource="font" color="%button_text_color%" />
1449 <text>Format Data</text>
1450 <image resource="main_button" />
1451 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001452 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001453 </actions>
1454 </object>
1455
Dees_Troya13d74f2013-03-24 08:54:55 -05001456 <object type="text" color="%text_color%">
1457 <font resource="font" />
1458 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1459 <text>Press back button to cancel.</text>
1460 </object>
1461
1462 <object type="slider">
1463 <placement x="%slider_x%" y="%slider_y%" />
1464 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001465 <actions>
1466 <action function="set">tw_back=wipe</action>
1467 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001468 <action function="set">tw_action_param=data</action>
1469 <action function="set">tw_action_text1=Factory Reset...</action>
1470 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1471 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001472 </actions>
1473 </object>
1474
Dees_Troya13d74f2013-03-24 08:54:55 -05001475 <object type="text" color="%text_color%">
1476 <font resource="font" />
1477 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1478 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001479 </object>
1480
1481 <object type="action">
1482 <touch key="home" />
1483 <action function="page">main</action>
1484 </object>
1485
1486 <object type="action">
1487 <touch key="back" />
1488 <action function="page">main</action>
1489 </object>
1490
1491 <object type="template" name="footer" />
1492 </page>
1493
Dees_Troya13d74f2013-03-24 08:54:55 -05001494 <page name="advancedwipe">
1495 <object type="template" name="header" />
1496
1497 <object type="partitionlist">
1498 <highlight color="%fileselector_highlight_color%" />
1499 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1501 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1502 <text>Select Partitions to Wipe:</text>
1503 <icon selected="checkbox_true" unselected="checkbox_false" />
1504 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1505 <background color="%listbox_background%" />
1506 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1507 <data name="tw_wipe_list" />
1508 <listtype name="wipe" />
1509 </object>
1510
1511 <object type="slider">
1512 <placement x="%slider_x%" y="%slider_y%" />
1513 <resource base="slider" used="slider-used" touch="slider-touch" />
1514 <actions>
1515 <action function="set">tw_back=advancedwipe</action>
1516 <action function="set">tw_action=wipe</action>
1517 <action function="set">tw_action_param=LIST</action>
1518 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1519 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1520 <action function="set">tw_complete_text1=Wipe Complete</action>
1521 <action function="page">action_page</action>
1522 </actions>
1523 </object>
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1528 <text>Swipe to Wipe</text>
1529 </object>
1530
1531 <object type="action">
1532 <touch key="home" />
1533 <action function="page">main</action>
1534 </object>
1535
1536 <object type="action">
1537 <touch key="back" />
1538 <action function="page">wipe</action>
1539 </object>
1540
1541 <object type="template" name="footer" />
1542 </page>
1543
1544 <page name="formatdata">
1545 <object type="template" name="header" />
1546
1547 <object type="text" color="%text_color%">
1548 <font resource="font" />
1549 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1550 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1551 </object>
1552
1553 <object type="text" color="%text_color%">
1554 <font resource="font" />
1555 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1556 <text>videos, media, and removes encryption on internal storage.</text>
1557 </object>
1558
1559 <object type="text" color="%text_color%">
1560 <font resource="font" />
1561 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1562 <text>This cannot be undone. Press back to cancel.</text>
1563 </object>
1564
1565 <object type="text" color="%text_color%">
1566 <font resource="font" />
1567 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1568 <text>Type yes to continue.</text>
1569 </object>
1570
1571 <object type="input">
1572 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1573 <background color="%input_background_color%" />
1574 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1575 <font resource="font" color="%text_color%" />
1576 <text>%tw_confirm_formatdata%</text>
1577 <data name="tw_confirm_formatdata" />
1578 <restrict minlen="3" maxlen="3" allow="yes" />
1579 <action function="page">formatdata_confirm</action>
1580 </object>
1581
1582 <object type="template" name="keyboardtemplate" />
1583
1584 <object type="action">
1585 <touch key="home" />
1586 <action function="page">main</action>
1587 </object>
1588
1589 <object type="action">
1590 <touch key="back" />
1591 <action function="page">wipe</action>
1592 </object>
1593
1594 <object type="template" name="footer" />
1595 </page>
1596
1597 <page name="formatdata_confirm">
1598 <object type="action">
1599 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1600 <actions>
1601 <action function="set">tw_back=formatdata</action>
1602 <action function="set">tw_action=wipe</action>
1603 <action function="set">tw_action_param=DATAMEDIA</action>
1604 <action function="set">tw_action_text1=Formatting Data...</action>
1605 <action function="set">tw_complete_text1=Data Format Complete</action>
1606 <action function="page">action_page</action>
1607 </actions>
1608 </object>
1609
1610 <object type="action">
1611 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1612 <action function="page">formatdata</function>
1613 </object>
1614 </page>
1615
Dees_Troy51a0e822012-09-05 15:24:24 -04001616 <page name="backup">
1617 <object type="template" name="header" />
1618
1619 <object type="text" color="%text_color%">
1620 <font resource="font" />
1621 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1622 <text>Back Up Device</text>
1623 </object>
1624
Dees_Troya13d74f2013-03-24 08:54:55 -05001625 <object type="partitionlist">
1626 <highlight color="%fileselector_highlight_color%" />
1627 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1628 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1629 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1630 <text>Select Partitions to Back Up:</text>
1631 <icon selected="checkbox_true" unselected="checkbox_false" />
1632 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1633 <background color="%listbox_background%" />
1634 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1635 <data name="tw_backup_list" />
1636 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001637 </object>
1638
1639 <object type="text" color="%text_color%">
1640 <font resource="font" />
1641 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1642 <text>Backup Name: %tw_backup_name%</text>
1643 </object>
1644
Dees_Troya13d74f2013-03-24 08:54:55 -05001645 <object type="button">
1646 <highlight color="%highlight_color%" />
1647 <placement x="%col3_x%" y="%row1_y%" />
1648 <font resource="font" color="%button_text_color%" />
1649 <text>Refresh Sizes</text>
1650 <image resource="main_button" />
1651 <action function="refreshsizes"></action>
1652 </object>
1653
1654 <object type="button">
1655 <highlight color="%highlight_color%" />
1656 <placement x="%col4_x%" y="%row1_y%" />
1657 <font resource="font" color="%button_text_color%" />
1658 <text>Set Backup Name</text>
1659 <image resource="main_button" />
1660 <actions>
1661 <action function="set">tw_fileexists=0</action>
1662 <action function="page">backupname1</action>
1663 </actions>
1664 </object>
1665
1666 <object type="button">
1667 <highlight color="%highlight_color%" />
1668 <fill color="%button_fill_color%" />
1669 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1670 <font resource="font" color="%button_text_color%" />
1671 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1672 <actions>
1673 <action function="set">tw_back=backup</action>
1674 <action function="page">selectstorage</action>
1675 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001676 </object>
1677
1678 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001679 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001680 <font resource="font" color="%text_color%" />
1681 <text>Enable Compression (Requires more time)</text>
1682 <data variable="tw_use_compression" />
1683 <image checked="checkbox_true" unchecked="checkbox_false" />
1684 </object>
1685
1686 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001687 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001688 <font resource="font" color="%text_color%" />
1689 <text>Skip MD5 generation on backups</text>
1690 <data variable="tw_skip_md5_generate" />
1691 <image checked="checkbox_true" unchecked="checkbox_false" />
1692 </object>
1693
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 <object type="slider">
1695 <placement x="%slider_x%" y="%slider_y%" />
1696 <resource base="slider" used="slider-used" touch="slider-touch" />
1697 <actions>
1698 <action function="set">tw_operation_state=0</action>
1699 <action function="page">backup_run</action>
1700 </actions>
1701 </object>
1702
1703 <object type="text" color="%text_color%">
1704 <font resource="font" />
1705 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1706 <text>Swipe to Back Up</text>
1707 </object>
1708
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 <object type="action">
1710 <touch key="home" />
1711 <action function="page">main</action>
1712 </object>
1713
1714 <object type="action">
1715 <touch key="back" />
1716 <action function="page">main</action>
1717 </object>
1718
1719 <object type="template" name="footer" />
1720 </page>
1721
1722 <page name="backupname1">
1723 <object type="action">
1724 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1725 <action function="set">tw_backup_name=</function>
1726 </object>
1727
1728 <object type="action">
1729 <action function="page">backupname2</function>
1730 </object>
1731 </page>
1732
1733 <page name="backupname2">
1734 <object type="template" name="header" />
1735
1736 <object type="text" color="%text_color%">
1737 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1738 <font resource="font" />
1739 <text>Please Enter a Backup Name</text>
1740 </object>
1741
1742 <object type="input">
1743 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1744 <background color="%input_background_color%" />
1745 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1746 <font resource="font" color="%text_color%" />
1747 <text>%tw_backup_name%</text>
1748 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001749 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001750 <actions>
1751 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1752 <action function="set">tw_existpage=backupname2</action>
1753 <action function="set">tw_notexistpage=backup</action>
1754 <action function="page">filecheck</action>
1755 </actions>
1756 </object>
1757
1758 <object type="text" color="%text_fail_color%">
1759 <condition var1="tw_fileexists" var2="1" />
1760 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1761 <font resource="font" />
1762 <text>A backup with that name already exists!</text>
1763 </object>
1764
1765 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001766 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001767 <placement x="%col_center_x%" y="%cancel_button_y%" />
1768 <font resource="font" color="%button_text_color%" />
1769 <text>Cancel / Clear</text>
1770 <image resource="main_button" />
1771 <actions>
1772 <action function="set">tw_backup_name=(Current Date)</action>
1773 <action function="page">backup</action>
1774 </actions>
1775 </object>
1776
1777 <object type="template" name="keyboardtemplate" />
1778
1779 <object type="action">
1780 <touch key="home" />
1781 <actions>
1782 <action function="set">tw_backup_name=(Current Date)</action>
1783 <action function="page">main</action>
1784 </actions>
1785 </object>
1786
1787 <object type="action">
1788 <touch key="back" />
1789 <actions>
1790 <action function="set">tw_backup_name=(Current Date)</action>
1791 <action function="page">backup</action>
1792 </actions>
1793 </object>
1794
1795 <object type="template" name="footer" />
1796 </page>
1797
1798 <page name="backup_run">
1799 <object type="template" name="header" />
1800
1801 <object type="text" color="%text_color%">
1802 <font resource="font" />
1803 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1804 <text>%tw_operation% %tw_partition%</text>
1805 </object>
1806
1807 <object type="template" name="action_page_console" />
1808
1809 <object type="template" name="progress_bar" />
1810
1811 <object type="action">
1812 <action function="nandroid">backup</action>
1813 </object>
1814
1815 <object type="action">
1816 <condition var1="tw_operation_state" var2="1" />
1817 <actions>
1818 <action function="set">tw_back=backup</action>
1819 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001820 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001821 <action function="page">action_complete</action>
1822 </actions>
1823 </object>
1824
1825 <object type="template" name="footer" />
1826 </page>
1827
1828 <page name="restore">
1829 <object type="template" name="header" />
1830
1831 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001832 <highlight color="%highlight_color%" />
1833 <fill color="%button_fill_color%" />
1834 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1835 <font resource="font" color="%button_text_color%" />
1836 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1837 <actions>
1838 <action function="set">tw_back=restore</action>
1839 <action function="page">selectstorage</action>
1840 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001841 </object>
1842
1843 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001844 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001845 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1846 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001847 <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 -04001848 <text>Select Package to Restore:</text>
1849 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1850 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001851 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001852 <icon folder="folder_icon" file="file_icon" />
1853 <background color="%fileselector_background%" />
1854 <filter folders="1" files="0" nav="0" />
1855 <path name="tw_backups_folder" />
1856 <data name="tw_restore" default="" />
1857 <selection name="tw_restore_name" />
1858 </object>
1859
1860 <object type="template" name="sort_options" />
1861
1862 <object type="action">
1863 <condition var1="tw_restore" op="modified" />
1864 <actions>
1865 <action function="readBackup"></action>
1866 <action function="page">restore_select</action>
1867 </actions>
1868 </object>
1869
1870 <object type="action">
1871 <touch key="home" />
1872 <action function="page">main</action>
1873 </object>
1874
1875 <object type="action">
1876 <touch key="back" />
1877 <action function="page">main</action>
1878 </object>
1879
1880 <object type="template" name="footer" />
1881 </page>
1882
1883 <page name="restore_select">
1884 <object type="template" name="header" />
1885
1886 <object type="text" color="%text_color%">
1887 <font resource="font" />
1888 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1889 <text>Package to Restore: %tw_restore_name%</text>
1890 </object>
1891
1892 <object type="text" color="%text_color%">
1893 <font resource="font" />
1894 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1895 <text>Package Date: %tw_restore_file_date%</text>
1896 </object>
1897
Dees_Troya13d74f2013-03-24 08:54:55 -05001898 <object type="partitionlist">
1899 <highlight color="%fileselector_highlight_color%" />
1900 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
1901 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1902 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1903 <text>Select Partitions to Restore:</text>
1904 <icon selected="checkbox_true" unselected="checkbox_false" />
1905 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1906 <background color="%listbox_background%" />
1907 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1908 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1909 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001910 </object>
1911
1912 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001913 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 <font resource="font" color="%text_color%" />
1915 <text>Enable MD5 checking of backup files</text>
1916 <data variable="tw_skip_md5_check" />
1917 <image checked="checkbox_true" unchecked="checkbox_false" />
1918 </object>
1919
1920 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001921 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001922 <placement x="%col4_x%" y="%row1_y%" />
1923 <font resource="font" color="%button_text_color%" />
1924 <text>Rename Backup</text>
1925 <image resource="main_button" />
1926 <actions>
1927 <action function="set">tw_backup_rename=</action>
1928 <action function="set">tw_fileexists=0</action>
1929 <action function="page">renamebackup</action>
1930 </actions>
1931 </object>
1932
1933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001934 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001935 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001936 <font resource="font" color="%button_text_color%" />
1937 <text>Delete Backup</text>
1938 <image resource="main_button" />
1939 <actions>
1940 <action function="set">tw_back=restore</action>
1941 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001942 <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 -04001943 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1944 <action function="set">tw_text2=This cannot be undone!</action>
1945 <action function="set">tw_action_text1=Deleting Backup...</action>
1946 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1947 <action function="set">tw_slider_text=Swipe to Delete</action>
1948 <action function="page">confirm_action</action>
1949 </actions>
1950 </object>
1951
1952 <object type="slider">
1953 <placement x="%slider_x%" y="%slider_y%" />
1954 <resource base="slider" used="slider-used" touch="slider-touch" />
1955 <action function="page">restore_run</action>
1956 </object>
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1961 <text>Swipe to Restore</text>
1962 </object>
1963
1964 <object type="action">
1965 <touch key="home" />
1966 <action function="page">main</action>
1967 </object>
1968
1969 <object type="action">
1970 <touch key="back" />
1971 <action function="page">restore</action>
1972 </object>
1973
1974 <object type="template" name="footer" />
1975 </page>
1976
1977 <page name="renamebackup">
1978 <object type="template" name="header" />
1979
1980 <object type="text" color="%text_color%">
1981 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1982 <font resource="font" />
1983 <text>Please Enter a New Backup Name</text>
1984 </object>
1985
1986 <object type="input">
1987 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1988 <background color="%input_background_color%" />
1989 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1990 <font resource="font" color="%text_color%" />
1991 <text>%tw_backup_rename%</text>
1992 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001993 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001994 <actions>
1995 <action function="set">tw_back=restore</action>
1996 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001997 <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 -04001998 <action function="set">tw_text1=Rename Backup?</action>
1999 <action function="set">tw_text2=This cannot be undone!</action>
2000 <action function="set">tw_action_text1=Renaming Backup...</action>
2001 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2002 <action function="set">tw_slider_text=Swipe to Rename</action>
2003 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2004 <action function="set">tw_existpage=renamebackup</action>
2005 <action function="set">tw_notexistpage=confirm_action</action>
2006 <action function="page">filecheck</action>
2007 </actions>
2008 </object>
2009
2010 <object type="text" color="%text_fail_color%">
2011 <condition var1="tw_fileexists" var2="1" />
2012 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2013 <font resource="font" />
2014 <text>A backup with that name already exists!</text>
2015 </object>
2016
2017 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002018 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002019 <placement x="%col_center_x%" y="%cancel_button_y%" />
2020 <font resource="font" color="%button_text_color%" />
2021 <text>Cancel</text>
2022 <image resource="main_button" />
2023 <action function="page">restore_select</action>
2024 </object>
2025
2026 <object type="template" name="keyboardtemplate" />
2027
2028 <object type="action">
2029 <touch key="home" />
2030 <action function="page">main</action>
2031 </object>
2032
2033 <object type="action">
2034 <touch key="back" />
2035 <action function="page">restore_select</action>
2036 </object>
2037
2038 <object type="template" name="footer" />
2039 </page>
2040
2041 <page name="restore_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
2050 <object type="template" name="action_page_console" />
2051
2052 <object type="template" name="progress_bar" />
2053
2054 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002055 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <actions>
2057 <action function="set">tw_back=restore_select</action>
2058 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002059 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <action function="page">action_complete</action>
2061 </actions>
2062 </object>
2063
2064 <object type="action">
2065 <action function="nandroid">restore</action>
2066 </object>
2067 </page>
2068
2069 <page name="settings">
2070 <object type="template" name="header" />
2071
2072 <object type="text" color="%text_color%">
2073 <font resource="font" />
2074 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2075 <text>Settings</text>
2076 </object>
2077
2078 <object type="checkbox">
2079 <placement x="%col1_x%" y="%row2_text_y%" />
2080 <font resource="font" color="%text_color%" />
2081 <text>Zip file signature verification?</text>
2082 <data variable="tw_signed_zip_verify" />
2083 <image checked="checkbox_true" unchecked="checkbox_false" />
2084 </object>
2085
2086 <object type="checkbox">
2087 <placement x="%col1_x%" y="%row3_text_y%" />
2088 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002089 <text>Use rm -rf instead of formatting?</text>
2090 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002096 <font resource="font" color="%text_color%" />
2097 <text>Skip MD5 generation on backups</text>
2098 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 <font resource="font" color="%text_color%" />
2105 <text>Enable MD5 checking of backup files</text>
2106 <data variable="tw_skip_md5_check" />
2107 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002112 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002113 <text>Use Military Time</text>
2114 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002115 <image checked="checkbox_true" unchecked="checkbox_false" />
2116 </object>
2117
2118 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002119 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002120 <font resource="font" color="%text_color%" />
2121 <text>Simulate most actions for theme testing</text>
2122 <data variable="tw_simulate_actions" />
2123 <image checked="checkbox_true" unchecked="checkbox_false" />
2124 </object>
2125
2126 <object type="checkbox">
2127 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002128 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 <font resource="font" color="%text_color%" />
2130 <text>Simulate failure for actions</text>
2131 <data variable="tw_simulate_fail" />
2132 <image checked="checkbox_true" unchecked="checkbox_false" />
2133 </object>
2134
2135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002137 <placement x="%col1_x%" y="%row2_y%" />
2138 <font resource="font" color="%button_text_color%" />
2139 <text>Time Zone</text>
2140 <image resource="main_button" />
2141 <action function="page">timezone</action>
2142 </object>
2143
2144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002145 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002146 <placement x="%col4_x%" y="%row2_y%" />
2147 <font resource="font" color="%button_text_color%" />
2148 <text>Screen</text>
2149 <image resource="main_button" />
2150 <action function="page">screen</action>
2151 </object>
2152
2153 <object type="button">
2154 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002155 <placement x="%col_center_x%" y="%slider_y%" />
2156 <font resource="font" color="%button_text_color%" />
2157 <text>Restore Defaults</text>
2158 <image resource="main_button" />
2159 <action function="restoredefaultsettings"></action>
2160 </object>
2161
2162 <object type="action">
2163 <touch key="home" />
2164 <action function="page">main</action>
2165 </object>
2166
2167 <object type="action">
2168 <touch key="back" />
2169 <action function="page">main</action>
2170 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002171
Dees_Troy51a0e822012-09-05 15:24:24 -04002172 <object type="template" name="footer" />
2173 </page>
2174
2175 <page name="timezone">
2176 <object type="template" name="header" />
2177
2178 <object type="text" color="%text_color%">
2179 <font resource="font" />
2180 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2181 <text>Select Time Zone</text>
2182 </object>
2183
2184 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002185 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002186 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002187 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002188 <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 -06002189 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002190 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002191 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002192 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002193 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002194 <data name="tw_time_zone_guisel" />
2195 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2196 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2197 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2198 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2199 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2200 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2201 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2202 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2203 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2204 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2205 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2206 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2207 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2208 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2209 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2210 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2211 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2212 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2213 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2214 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2215 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2216 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2217 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2218 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2219 </object>
2220
2221 <object type="checkbox">
2222 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2223 <font resource="font" color="%text_color%" />
2224 <text>Do you use daylight savings time (DST)?</text>
2225 <data variable="tw_time_zone_guidst" />
2226 <image checked="checkbox_true" unchecked="checkbox_false" />
2227 </object>
2228
2229 <object type="text" color="%text_color%">
2230 <font resource="font" />
2231 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2232 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2233 </object>
2234
2235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002236 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002237 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2238 <font resource="font" color="%button_text_color%" />
2239 <text>0</text>
2240 <image resource="medium_button" />
2241 <action function="set">tw_time_zone_guioffset=0</action>
2242 </object>
2243
2244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>15</text>
2249 <image resource="medium_button" />
2250 <action function="set">tw_time_zone_guioffset=15</action>
2251 </object>
2252
2253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002255 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2256 <font resource="font" color="%button_text_color%" />
2257 <text>30</text>
2258 <image resource="medium_button" />
2259 <action function="set">tw_time_zone_guioffset=30</action>
2260 </object>
2261
2262 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002263 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002264 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2265 <font resource="font" color="%button_text_color%" />
2266 <text>45</text>
2267 <image resource="medium_button" />
2268 <action function="set">tw_time_zone_guioffset=45</action>
2269 </object>
2270
2271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002273 <placement x="%col4_x%" y="%row2_y%" />
2274 <font resource="font" color="%button_text_color%" />
2275 <text>Set Time Zone</text>
2276 <image resource="main_button" />
2277 <action function="setguitimezone"></action>
2278 </object>
2279
2280 <object type="text" color="%text_color%">
2281 <font resource="font" />
2282 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2283 <text>Current Time Zone: %tw_time_zone%</text>
2284 </object>
2285
2286 <object type="action">
2287 <touch key="home" />
2288 <action function="page">main</action>
2289 </object>
2290
2291 <object type="action">
2292 <touch key="back" />
2293 <action function="page">settings</action>
2294 </object>
2295
2296 <object type="template" name="footer" />
2297 </page>
2298
Dees_Troy2f9117a2013-02-17 19:52:09 -06002299 <page name="screen">
2300 <object type="template" name="header" />
2301
2302 <object type="text" color="%text_color%">
2303 <font resource="font" />
2304 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2305 <text>Screen Settings</text>
2306 </object>
2307
Dees_Troy2f9117a2013-02-17 19:52:09 -06002308 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002309 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2310 <font resource="font" color="%text_color%" />
2311 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2312 <text>Enable screen timeout.</text>
2313 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002314 <action function="set">tw_screen_timeout_secs=60</action>
2315 </object>
2316
2317 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002318 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2319 <font resource="font" color="%text_color%" />
2320 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2321 <text>Enable screen timeout.</text>
2322 <image resource="checkbox_true" />
2323 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002324 </object>
2325
Vojtech Bocek85932342013-04-01 22:11:33 +02002326 <object type="slidervalue">
2327 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2328 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2329 <font resource="font" color="%text_color%" />
2330 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2331 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2332 <text>Screen timeout in seconds:</text>
2333 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002334 </object>
2335
Vojtech Bocek85932342013-04-01 22:11:33 +02002336 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002337 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002338 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2339 <font resource="font" color="%text_color%" />
2340 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2341 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2342 <text>Brightness: %tw_brightness_pct%%</text>
2343 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002344 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002345 <action function="set">tw_brightness=%tw_brightness_max%</action>
2346 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2347 <action function="compute">tw_brightness/100</action>
2348 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002349 </actions>
2350 </object>
2351
2352 <object type="action">
2353 <touch key="home" />
2354 <action function="page">main</action>
2355 </object>
2356
2357 <object type="action">
2358 <touch key="back" />
2359 <action function="page">settings</action>
2360 </object>
2361
2362 <object type="template" name="footer" />
2363 </page>
2364
Dees_Troy51a0e822012-09-05 15:24:24 -04002365 <page name="advanced">
2366 <object type="template" name="header" />
2367
2368 <object type="text" color="%text_color%">
2369 <font resource="font" />
2370 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2371 <text>Advanced</text>
2372 </object>
2373
2374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <placement x="%col1_x%" y="%row1_y%" />
2377 <font resource="font" color="%button_text_color%" />
2378 <text>Copy Log to SD</text>
2379 <image resource="main_button" />
2380 <actions>
2381 <action function="set">tw_back=advanced</action>
2382 <action function="set">tw_action=copylog</action>
2383 <action function="set">tw_text1=Copy Log to SD Card?</action>
2384 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2385 <action function="set">tw_complete_text1=Log Copy Complete</action>
2386 <action function="set">tw_slider_text=Swipe to Confirm</action>
2387 <action function="page">confirm_action</action>
2388 </actions>
2389 </object>
2390
2391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <placement x="%col2_x%" y="%row1_y%" />
2394 <font resource="font" color="%button_text_color%" />
2395 <text>Fix Permissions</text>
2396 <image resource="main_button" />
2397 <actions>
2398 <action function="set">tw_back=advanced</action>
2399 <action function="set">tw_action=fixpermissions</action>
2400 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2403 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002404 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <action function="page">confirm_action</action>
2406 </actions>
2407 </object>
2408
2409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <placement x="%col3_x%" y="%row1_y%" />
2412 <font resource="font" color="%button_text_color%" />
2413 <text>Terminal Command</text>
2414 <image resource="main_button" />
2415 <action function="page">terminalfolder</action>
2416 </object>
2417
2418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002419 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002420 <placement x="%col4_x%" y="%row1_y%" />
2421 <font resource="font" color="%button_text_color%" />
2422 <text>ADB Sideload</text>
2423 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002424 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002425 </object>
2426
2427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <condition var1="tw_allow_partition_sdcard" var2="1" />
2430 <placement x="%col1_x%" y="%row2_y%" />
2431 <font resource="font" color="%button_text_color%" />
2432 <text>Partition SD Card</text>
2433 <image resource="main_button" />
2434 <action function="page">partsdcard</action>
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <placement x="%col2_x%" y="%row2_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>File Manager</text>
2442 <image resource="main_button" />
2443 <action function="page">filemanagerlist</action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002448 <placement x="%col3_x%" y="%row2_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>Reload Theme</text>
2451 <image resource="main_button" />
2452 <action function="reload"></action>
2453 </object>
2454
2455 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002456 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <condition var1="tw_show_dumlock" var2="1" />
2458 <placement x="%col4_x%" y="%row2_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>HTC Dumlock</text>
2461 <image resource="main_button" />
2462 <action function="page">htcdumlock</action>
2463 </object>
2464
2465 <object type="action">
2466 <touch key="home" />
2467 <action function="page">main</action>
2468 </object>
2469
2470 <object type="action">
2471 <touch key="back" />
2472 <action function="page">main</action>
2473 </object>
2474
2475 <object type="template" name="footer" />
2476 </page>
2477
2478 <page name="partsdcard">
2479 <object type="template" name="header" />
2480
2481 <object type="text" color="%text_color%">
2482 <font resource="font" />
2483 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2484 <text>Partition SD Card</text>
2485 </object>
2486
2487 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002488 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002489 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2490 <font resource="font" color="%button_text_color%" />
2491 <text></text>
2492 <image resource="minus_button" />
2493 <action function="addsubtract">tw_sdext_size-128</action>
2494 </object>
2495
2496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002497 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2499 <font resource="font" color="%button_text_color%" />
2500 <text></text>
2501 <image resource="plus_button" />
2502 <action function="addsubtract">tw_sdext_size+128</action>
2503 </object>
2504
2505 <object type="text" color="%text_color%">
2506 <font resource="font" />
2507 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2508 <text>EXT Size: %tw_sdext_size%</text>
2509 </object>
2510
2511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2514 <font resource="font" color="%button_text_color%" />
2515 <text></text>
2516 <image resource="minus_button" />
2517 <action function="addsubtract">tw_swap_size-32</action>
2518 </object>
2519
2520 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002521 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2523 <font resource="font" color="%button_text_color%" />
2524 <text></text>
2525 <image resource="plus_button" />
2526 <action function="addsubtract">tw_swap_size+32</action>
2527 </object>
2528
2529 <object type="text" color="%text_color%">
2530 <font resource="font" />
2531 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2532 <text>Swap Size: %tw_swap_size%</text>
2533 </object>
2534
2535 <object type="text" color="%text_color%">
2536 <font resource="font" />
2537 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2538 <text>File system: %tw_sdpart_file_system%</text>
2539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2544 <font resource="font" color="%button_text_color%" />
2545 <text>EXT3</text>
2546 <image resource="medium_button" />
2547 <action function="set">tw_sdpart_file_system=ext3</action>
2548 </object>
2549
2550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <condition var1="tw_sdext_disable_ext4" var2="0" />
2553 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>EXT4</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_sdpart_file_system=ext4</action>
2558 </object>
2559
2560 <object type="text" color="%text_color%">
2561 <font resource="font" />
2562 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2563 <text>You will lose all files on your SD card!</text>
2564 </object>
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2569 <text>This action cannot be undone!</text>
2570 </object>
2571
2572 <object type="slider">
2573 <placement x="%slider_x%" y="%slider_y%" />
2574 <resource base="slider" used="slider-used" touch="slider-touch" />
2575 <actions>
2576 <action function="set">tw_back=partsdcard</action>
2577 <action function="set">tw_action=partitionsd</action>
2578 <action function="set">tw_has_action2=1</action>
2579 <action function="set">tw_action2=set</action>
2580 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2581 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2582 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002583 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002584 <action function="page">action_page</action>
2585 </actions>
2586 </object>
2587
2588 <object type="text" color="%text_color%">
2589 <font resource="font" />
2590 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2591 <text>Swipe to Confirm Partition</text>
2592 </object>
2593
2594 <object type="action">
2595 <touch key="home" />
2596 <action function="page">main</action>
2597 </object>
2598
2599 <object type="action">
2600 <touch key="back" />
2601 <action function="page">advanced</action>
2602 </object>
2603
2604 <object type="template" name="footer" />
2605 </page>
2606
2607
2608 <page name="htcdumlock">
2609 <object type="template" name="header" />
2610
2611 <object type="text" color="%text_color%">
2612 <font resource="font" />
2613 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2614 <text>HTC Dumlock</text>
2615 </object>
2616
2617 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002618 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002619 <condition var1="tw_show_dumlock" var2="1" />
2620 <placement x="%col1_x%" y="%row1_y%" />
2621 <font resource="font" color="%button_text_color%" />
2622 <text>Restore Original Boot</text>
2623 <image resource="main_button" />
2624 <actions>
2625 <action function="set">tw_back=htcdumlock</action>
2626 <action function="set">tw_action=htcdumlockrestoreboot</action>
2627 <action function="set">tw_text1=Restore original boot image?</action>
2628 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2629 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2630 <action function="set">tw_slider_text=Swipe to Confirm</action>
2631 <action function="page">confirm_action</action>
2632 </actions>
2633 </object>
2634
2635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <condition var1="tw_show_dumlock" var2="1" />
2638 <placement x="%col2_x%" y="%row1_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>Reflash Recovery->Boot</text>
2641 <image resource="main_button" />
2642 <actions>
2643 <action function="set">tw_back=htcdumlock</action>
2644 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2645 <action function="set">tw_text1=Reflash recovery to boot?</action>
2646 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2647 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2648 <action function="set">tw_slider_text=Swipe to Confirm</action>
2649 <action function="page">confirm_action</action>
2650 </actions>
2651 </object>
2652
2653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002654 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002655 <condition var1="tw_show_dumlock" var2="1" />
2656 <placement x="%col1_x%" y="%row2_y%" />
2657 <font resource="font" color="%button_text_color%" />
2658 <text>Install HTC Dumlock</text>
2659 <image resource="main_button" />
2660 <actions>
2661 <action function="set">tw_back=htcdumlock</action>
2662 <action function="set">tw_action=installhtcdumlock</action>
2663 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2664 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2665 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2666 <action function="set">tw_slider_text=Swipe to Confirm</action>
2667 <action function="page">confirm_action</action>
2668 </actions>
2669 </object>
2670
2671 <object type="action">
2672 <touch key="home" />
2673 <action function="page">main</action>
2674 </object>
2675
2676 <object type="action">
2677 <touch key="back" />
2678 <action function="page">advanced</action>
2679 </object>
2680
2681 <object type="template" name="footer" />
2682 </page>
2683
2684 <page name="lock">
2685 <background color="#000000A0" />
2686
2687 <object type="image">
2688 <image resource="unlock-icon" />
2689 <placement x="%lock_x%" y="%lock_y%" />
2690 </object>
2691
2692 <object type="slider">
2693 <placement x="%slider_x%" y="%slider_y%" />
2694 <resource base="slider" used="slider-used" touch="slider-touch" />
2695 <action function="overlay"></action>
2696 </object>
2697
2698 <object type="text" color="%text_color%">
2699 <font resource="font" />
2700 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2701 <text>Swipe to Unlock</text>
2702 </object>
2703 </page>
2704
2705
2706 <page name="filemanagerlist">
2707 <object type="template" name="header" />
2708
2709 <object type="text" color="%text_color%">
2710 <font resource="font" />
2711 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2712 <text>File Manager: Select a File or Folder</text>
2713 </object>
2714
2715 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002716 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002717 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2718 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002719 <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 -04002720 <text>Folders:</text>
2721 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2722 <sort name="tw_gui_sort_order" />
2723 <icon folder="folder_icon" file="file_icon" />
2724 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002725 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <filter folders="1" files="0" />
2727 <path name="tw_file_location1" default="/sdcard" />
2728 <data name="select" />
2729 <selection name="tw_selection1" />
2730 </object>
2731
2732 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002733 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002734 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
2735 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002736 <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 -04002737 <text>%tw_file_location1%</text>
2738 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2739 <sort name="tw_gui_sort_order" />
2740 <icon folder="folder_icon" file="file_icon" />
2741 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002742 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <filter folders="0" files="1" />
2744 <path name="tw_file_location1" default="/" />
2745 <data name="tw_filename1" />
2746 <selection name="tw_selection1" />
2747 </object>
2748
2749 <object type="template" name="sort_options" />
2750
2751 <object type="action">
2752 <actions>
2753 <action function="set">tw_fm_type=File</action>
2754 <action function="set">tw_fm_isfolder=0</action>
2755 </actions>
2756 </object>
2757
2758 <object type="action">
2759 <touch key="home" />
2760 <action function="page">main</action>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="back" />
2765 <action function="page">advanced</action>
2766 </object>
2767
2768 <object type="action">
2769 <condition var1="tw_filename1" op="modified" />
2770 <actions>
2771 <action function="page">filemanageroptions</action>
2772 </actions>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>Select Folder</text>
2780 <image resource="main_button" />
2781 <actions>
2782 <action function="set">tw_filename1=tw_file_location1</action>
2783 <action function="set">tw_fm_isfolder=1</action>
2784 <action function="set">tw_fm_type=Folder</action>
2785 <action function="page">filemanageroptions</action>
2786 </actions>
2787 </object>
2788
2789 <object type="template" name="footer" />
2790 </page>
2791
2792 <page name="filemanageroptions">
2793 <object type="template" name="header" />
2794
2795 <object type="text" color="%text_color%">
2796 <font resource="font" />
2797 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2798 <text>%tw_fm_type% Selected:</text>
2799 </object>
2800
2801 <object type="text" color="%text_color%">
2802 <font resource="font" />
2803 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2804 <text>%tw_filename1%</text>
2805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <condition var1="tw_fm_isfolder" var2="0" />
2810 <placement x="%col1_x%" y="%row2_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>Copy File</text>
2813 <image resource="main_button" />
2814 <actions>
2815 <action function="set">tw_filemanager_command=cp</action>
2816 <action function="set">tw_fm_text1=Copying</action>
2817 <action function="page">choosedestinationfolder</action>
2818 </actions>
2819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002823 <condition var1="tw_fm_isfolder" var2="1" />
2824 <placement x="%col1_x%" y="%row2_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>Copy Folder</text>
2827 <image resource="main_button" />
2828 <actions>
2829 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2830 <action function="set">tw_fm_text1=Copying</action>
2831 <action function="page">choosedestinationfolder</action>
2832 </actions>
2833 </object>
2834
2835 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002836 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002837 <placement x="%col2_x%" y="%row2_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>Move</text>
2840 <image resource="main_button" />
2841 <actions>
2842 <action function="set">tw_filemanager_command=mv</action>
2843 <action function="set">tw_fm_text1=Moving</action>
2844 <action function="page">choosedestinationfolder</action>
2845 </actions>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col3_x%" y="%row2_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text>chmod 755</text>
2853 <image resource="main_button" />
2854 <actions>
2855 <action function="set">tw_filemanager_command=chmod 755</action>
2856 <action function="set">tw_fm_text1=chmod 755</action>
2857 <action function="set">tw_fm_text2=</action>
2858 <action function="set">tw_fm_text3=</action>
2859 <action function="set">tw_include_text3=0</action>
2860 <action function="set">tw_back=filemanageroptions</action>
2861 <action function="page">filemanagerconfirm</action>
2862 </actions>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <placement x="%col4_x%" y="%row2_y%" />
2868 <font resource="font" color="%button_text_color%" />
2869 <text>chmod</text>
2870 <image resource="main_button" />
2871 <actions>
2872 <action function="set">tw_filemanager_rename=0000</action>
2873 <action function="set">tw_fm_text2=</action>
2874 <action function="set">tw_fm_text3=</action>
2875 <action function="set">tw_include_text3=0</action>
2876 <action function="set">tw_back=filemanageroptions</action>
2877 <action function="page">filemanagerchmod</action>
2878 </actions>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <placement x="%col1_x%" y="%row1_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text>Delete</text>
2886 <image resource="main_button" />
2887 <actions>
2888 <action function="set">tw_filemanager_command=rm -rf</action>
2889 <action function="set">tw_fm_text1=Deleting</action>
2890 <action function="set">tw_fm_text2=</action>
2891 <action function="set">tw_fm_text3=</action>
2892 <action function="set">tw_include_text3=0</action>
2893 <action function="set">tw_back=filemanageroptions</action>
2894 <action function="page">filemanagerconfirm</action>
2895 </actions>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <condition var1="tw_fm_isfolder" var2="0" />
2901 <placement x="%col4_x%" y="%row1_y%" />
2902 <font resource="font" color="%button_text_color%" />
2903 <text>Rename File</text>
2904 <image resource="main_button" />
2905 <actions>
2906 <action function="set">tw_filemanager_rename=tw_selection1</action>
2907 <action function="set">tw_fm_text1=Renaming</action>
2908 <action function="set">tw_filemanager_command=mv</action>
2909 <action function="page">filemanagerrenamefile</action>
2910 </actions>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <condition var1="tw_fm_isfolder" var2="1" />
2916 <placement x="%col4_x%" y="%row1_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>Rename Folder</text>
2919 <image resource="main_button" />
2920 <actions>
2921 <action function="set">tw_filemanager_rename=tw_selection1</action>
2922 <action function="set">tw_fm_text1=Renaming</action>
2923 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2924 <action function="page">filemanagerrenamefolder</action>
2925 </actions>
2926 </object>
2927
2928 <object type="action">
2929 <touch key="home" />
2930 <action function="page">main</action>
2931 </object>
2932
2933 <object type="action">
2934 <touch key="back" />
2935 <action function="page">filemanagerlist</action>
2936 </object>
2937
2938 <object type="template" name="footer" />
2939 </page>
2940
2941 <page name="choosedestinationfolder">
2942 <object type="template" name="header" />
2943
2944 <object type="text" color="%text_color%">
2945 <font resource="font" />
2946 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2947 <text>Browse to Destination Folder & Press Select</text>
2948 </object>
2949
2950 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002951 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2953 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002954 <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 -04002955 <text>%tw_file_location2%</text>
2956 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2957 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002958 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002959 <icon folder="folder_icon" file="file_icon" />
2960 <background color="%fileselector_background%" />
2961 <filter folders="1" files="0" />
2962 <path name="tw_file_location2" default="/sdcard" />
2963 <data name="tw_filename2" />
2964 </object>
2965
2966 <object type="template" name="sort_options" />
2967
2968 <object type="action">
2969 <touch key="home" />
2970 <action function="page">main</action>
2971 </object>
2972
2973 <object type="action">
2974 <touch key="back" />
2975 <action function="page">filemanageroptions</action>
2976 </object>
2977
2978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002979 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002980 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Select Folder</text>
2983 <image resource="main_button" />
2984 <actions>
2985 <action function="set">tw_fm_text2=to</action>
2986 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2987 <action function="set">tw_include_text3=1</action>
2988 <action function="set">tw_back=filemanageroptions</action>
2989 <action function="page">filemanagerconfirm</action>
2990 </actions>
2991 </object>
2992
2993 <object type="template" name="footer" />
2994 </page>
2995
2996 <page name="filemanagerrenamefile">
2997 <object type="template" name="header" />
2998
2999 <object type="text" color="%text_color%">
3000 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3001 <font resource="font" />
3002 <text>Please Enter a New %tw_fm_type% Name</text>
3003 </object>
3004
3005 <object type="input">
3006 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3007 <background color="%input_background_color%" />
3008 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3009 <font resource="font" color="%text_color%" />
3010 <text>%tw_filemanager_rename%</text>
3011 <data name="tw_filemanager_rename" />
3012 <restrict minlen="1" maxlen="128" />
3013 <actions>
3014 <action function="set">tw_fm_text2=to</action>
3015 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3016 <action function="set">tw_include_text3=1</action>
3017 <action function="set">tw_back=filemanageroptions</action>
3018 <action function="page">filemanagerconfirm</action>
3019 </actions>
3020 </object>
3021
3022 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003023 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <placement x="%col_center_x%" y="%cancel_button_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>Cancel</text>
3027 <image resource="main_button" />
3028 <action function="page">filemanageroptions</action>
3029 </object>
3030
3031 <object type="template" name="keyboardtemplate" />
3032
3033 <object type="action">
3034 <touch key="home" />
3035 <action function="page">main</action>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="back" />
3040 <action function="page">filemanageroptions</action>
3041 </object>
3042
3043 <object type="template" name="footer" />
3044 </page>
3045
3046 <page name="filemanagerrenamefolder">
3047 <object type="template" name="header" />
3048
3049 <object type="text" color="%text_color%">
3050 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3051 <font resource="font" />
3052 <text>Please Enter a New %tw_fm_type% Name</text>
3053 </object>
3054
3055 <object type="input">
3056 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3057 <background color="%input_background_color%" />
3058 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3059 <font resource="font" color="%text_color%" />
3060 <text>%tw_filemanager_rename%</text>
3061 <data name="tw_filemanager_rename" />
3062 <restrict minlen="1" maxlen="128" />
3063 <actions>
3064 <action function="set">tw_fm_text2=to</action>
3065 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3066 <action function="set">tw_include_text3=1</action>
3067 <action function="set">tw_back=filemanageroptions</action>
3068 <action function="page">filemanagerconfirm</action>
3069 </actions>
3070 </object>
3071
3072 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003073 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003074 <placement x="%col_center_x%" y="%cancel_button_y%" />
3075 <font resource="font" color="%button_text_color%" />
3076 <text>Cancel</text>
3077 <image resource="main_button" />
3078 <action function="page">filemanageroptions</action>
3079 </object>
3080
3081 <object type="template" name="keyboardtemplate" />
3082
3083 <object type="action">
3084 <touch key="home" />
3085 <action function="page">main</action>
3086 </object>
3087
3088 <object type="action">
3089 <touch key="back" />
3090 <action function="page">filemanageroptions</action>
3091 </object>
3092
3093 <object type="template" name="footer" />
3094 </page>
3095
3096 <page name="filemanagerchmod">
3097 <object type="template" name="header" />
3098
3099 <object type="text" color="%text_color%">
3100 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3101 <font resource="font" />
3102 <text>Please Enter New Permissions</text>
3103 </object>
3104
3105 <object type="input">
3106 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3107 <background color="%input_background_color%" />
3108 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3109 <font resource="font" color="%text_color%" />
3110 <text>%tw_filemanager_rename%</text>
3111 <data name="tw_filemanager_rename" />
3112 <restrict minlen="3" maxlen="4" allow="0123456789" />
3113 <actions>
3114 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3115 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3116 <action function="set">tw_back=filemanageroptions</action>
3117 <action function="page">filemanagerconfirm</action>
3118 </actions>
3119 </object>
3120
3121 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003122 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003123 <placement x="%col_center_x%" y="%cancel_button_y%" />
3124 <font resource="font" color="%button_text_color%" />
3125 <text>Cancel</text>
3126 <image resource="main_button" />
3127 <action function="page">filemanageroptions</action>
3128 </object>
3129
3130 <object type="template" name="keyboardtemplate" />
3131
3132 <object type="action">
3133 <touch key="home" />
3134 <action function="page">main</action>
3135 </object>
3136
3137 <object type="action">
3138 <touch key="back" />
3139 <action function="page">filemanageroptions</action>
3140 </object>
3141
3142 <object type="template" name="footer" />
3143 </page>
3144
3145 <page name="filemanagerconfirm">
3146 <object type="template" name="header" />
3147
3148 <object type="text" color="%text_color%">
3149 <font resource="font" />
3150 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3151 <text>%tw_fm_text1%</text>
3152 </object>
3153
3154 <object type="text" color="%text_color%">
3155 <font resource="font" />
3156 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3157 <text>%tw_filename1%</text>
3158 </object>
3159
3160 <object type="text" color="%text_color%">
3161 <font resource="font" />
3162 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3163 <text>%tw_fm_text2%</text>
3164 </object>
3165
3166 <object type="text" color="%text_color%">
3167 <font resource="font" />
3168 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3169 <text>%tw_fm_text3%</text>
3170 </object>
3171
3172 <object type="text" color="%text_color%">
3173 <font resource="font" />
3174 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3175 <text>Press back button to cancel.</text>
3176 </object>
3177
3178 <object type="slider">
3179 <placement x="%slider_x%" y="%slider_y%" />
3180 <resource base="slider" used="slider-used" touch="slider-touch" />
3181 <action function="page">filemanageracction</action>
3182 </object>
3183
3184 <object type="text" color="%text_color%">
3185 <font resource="font" />
3186 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3187 <text>Swipe to Confirm</text>
3188 </object>
3189
3190 <object type="action">
3191 <touch key="back" />
3192 <action function="page">%tw_back%</action>
3193 </object>
3194
3195 <object type="action">
3196 <touch key="home" />
3197 <action function="page">main</action>
3198 </object>
3199
3200 <object type="template" name="footer" />
3201 </page>
3202
3203 <page name="filemanageracction">
3204 <object type="template" name="header" />
3205
3206 <object type="text" color="%text_color%">
3207 <font resource="font" />
3208 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3209 <text>%tw_fm_text1%</text>
3210 </object>
3211
3212 <object type="template" name="action_page_console" />
3213
3214 <object type="template" name="progress_bar" />
3215
3216 <object type="action">
3217 <conditions>
3218 <condition var1="tw_operation_state" var2="1" />
3219 <condition var1="tw_operation_status" var2="0" />
3220 </conditions>
3221 <actions>
3222 <action function="set">tw_back=filemanagerlist</action>
3223 <action function="set">tw_complete_text1=File Operation Complete</action>
3224 <action function="page">action_complete</action>
3225 </actions>
3226 </object>
3227
3228 <object type="action">
3229 <conditions>
3230 <condition var1="tw_operation_state" var2="1" />
3231 <condition var1="tw_operation_status" op="!=" var2="0" />
3232 </conditions>
3233 <actions>
3234 <action function="set">tw_complete_text1=File Operation Complete</action>
3235 <action function="page">action_complete</action>
3236 </actions>
3237 </object>
3238
3239 <object type="action">
3240 <condition var1="tw_include_text3" var2="0" />
3241 <actions>
3242 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3243 </actions>
3244 </object>
3245
3246 <object type="action">
3247 <condition var1="tw_include_text3" var2="1" />
3248 <actions>
3249 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3250 </actions>
3251 </object>
3252 </page>
3253
3254 <page name="decrypt">
3255 <object type="template" name="header" />
3256
3257 <object type="text" color="%text_color%">
3258 <font resource="font" />
3259 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3260 <text>Please Enter Your Password</text>
3261 </object>
3262
3263 <object type="input">
3264 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3265 <background color="%input_background_color%" />
3266 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3267 <font resource="font" color="%text_color%" />
3268 <text>%tw_crypto_display%</text>
3269 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3270 <restrict minlen="1" maxlen="254" />
3271 <actions>
3272 <action function="page">trydecrypt</action>
3273 </actions>
3274 </object>
3275
3276 <object type="text" color="%text_fail_color%">
3277 <condition var1="tw_password_fail" var2="1" />
3278 <font resource="font" />
3279 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3280 <text>Password Failed, Please Try Again</text>
3281 </object>
3282
3283 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003284 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003285 <placement x="%col_center_x%" y="%cancel_button_y%" />
3286 <font resource="font" color="%button_text_color%" />
3287 <text>Cancel</text>
3288 <image resource="main_button" />
3289 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003290 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003291 <action function="page">main</action>
3292 </actions>
3293 </object>
3294
3295 <object type="template" name="keyboardtemplate" />
3296
Dees_Troy51a0e822012-09-05 15:24:24 -04003297 <object type="template" name="footer" />
3298 </page>
3299
3300 <page name="trydecrypt">
3301 <object type="template" name="header" />
3302
3303 <object type="text" color="%text_color%">
3304 <font resource="font" />
3305 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3306 <text>Trying Decryption with Your Password</text>
3307 </object>
3308
3309 <object type="template" name="action_page_console" />
3310
3311 <object type="template" name="progress_bar" />
3312
3313 <object type="action">
3314 <action function="decrypt"></action>
3315 </object>
3316
3317 <object type="action">
3318 <conditions>
3319 <condition var1="tw_operation_state" var2="1" />
3320 <condition var1="tw_operation_status" op="!=" var2="0" />
3321 </conditions>
3322 <actions>
3323 <action function="set">tw_password_fail=1</action>
3324 <action function="page">decrypt</action>
3325 </actions>
3326 </object>
3327
3328 <object type="action">
3329 <conditions>
3330 <condition var1="tw_operation_state" var2="1" />
3331 <condition var1="tw_operation_status" op="=" var2="0" />
3332 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003333 <actions>
3334 <action function="set">tw_page_done=1</action>
3335 <action function="page">main</action>
3336 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 </object>
3338 </page>
3339
3340 <page name="terminalfolder">
3341 <object type="template" name="header" />
3342
3343 <object type="text" color="%text_color%">
3344 <font resource="font" />
3345 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3346 <text>Browse to Starting Folder</text>
3347 </object>
3348
3349 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003350 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003351 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3352 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003353 <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 -04003354 <text>%tw_terminal_location%</text>
3355 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3356 <sort name="tw_gui_sort_order" />
3357 <icon folder="folder_icon" file="file_icon" />
3358 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003359 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003360 <filter folders="1" files="0" />
3361 <path name="tw_terminal_location" default="/" />
3362 <data name="tw_terminal" />
3363 <selection name="tw_terminal_selection" />
3364 </object>
3365
3366 <object type="template" name="sort_options" />
3367
3368 <object type="action">
3369 <touch key="home" />
3370 <action function="page">main</action>
3371 </object>
3372
3373 <object type="action">
3374 <touch key="back" />
3375 <action function="page">advanced</action>
3376 </object>
3377
3378 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003379 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003380 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3381 <font resource="font" color="%button_text_color%" />
3382 <text>Select Folder</text>
3383 <image resource="main_button" />
3384 <actions>
3385 <action function="page">terminalcommand</action>
3386 </actions>
3387 </object>
3388
3389 <object type="template" name="footer" />
3390 </page>
3391
3392 <page name="terminalcommand">
3393 <background color="#000000FF" />
3394
3395 <object type="console">
3396 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3397 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3398 <font resource="fixed" />
3399 </object>
3400
3401 <object type="text" color="%text_color%">
3402 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3403 <font resource="font" />
3404 <text>Starting Path: %tw_terminal_location%</text>
3405 </object>
3406
3407 <object type="input">
3408 <condition var1="tw_terminal_state" var2="0" />
3409 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3410 <background color="%input_background_color%" />
3411 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3412 <font resource="font" color="%text_color%" />
3413 <text>%tw_terminal_command%</text>
3414 <data name="tw_terminal_command" />
3415 <restrict minlen="1" />
3416 <action function="terminalcommand">%tw_terminal_command%</action>
3417 </object>
3418
3419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003421 <condition var1="tw_terminal_state" var2="1" />
3422 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3423 <font resource="font" color="%button_text_color%" />
3424 <text>KILL</text>
3425 <image resource="medium_button" />
3426 <action function="killterminal"></action>
3427 </object>
3428
3429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003431 <placement x="%home_button_x%" y="%terminal_button_y%" />
3432 <font resource="font" color="%button_text_color%" />
3433 <text></text>
3434 <image resource="home_icon" />
3435 <condition var1="tw_busy" var2="0" />
3436 <action function="key">home</action>
3437 </object>
3438
3439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003441 <placement x="%back_button_x%" y="%terminal_button_y%" />
3442 <font resource="font" color="%button_text_color%" />
3443 <text></text>
3444 <image resource="back_icon" />
3445 <condition var1="tw_busy" var2="0" />
3446 <action function="key">back</action>
3447 </object>
3448
3449 <object type="action">
3450 <touch key="power" />
3451 <action function="overlay">lock</action>
3452 </object>
3453
3454 <object type="template" name="keyboardtemplate" />
3455
3456 <object type="action">
3457 <touch key="home" />
3458 <action function="page">main</action>
3459 </object>
3460
3461 <object type="action">
3462 <touch key="back" />
3463 <action function="page">terminalfolder</action>
3464 </object>
3465 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003466
3467 <page name="sideload">
3468 <object type="template" name="header" />
3469
3470 <object type="text" color="%text_color%">
3471 <font resource="font" />
3472 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3473 <text>ADB Sideload</text>
3474 </object>
3475
3476 <object type="checkbox">
3477 <placement x="%col1_x%" y="%row3_text_y%" />
3478 <font resource="font" color="%text_color%" />
3479 <text>Wipe Dalvik Cache.</text>
3480 <data variable="tw_wipe_dalvik" />
3481 <image checked="checkbox_true" unchecked="checkbox_false" />
3482 </object>
3483
3484 <object type="checkbox">
3485 <placement x="%col1_x%" y="%row4_text_y%" />
3486 <font resource="font" color="%text_color%" />
3487 <text>Wipe Cache.</text>
3488 <data variable="tw_wipe_cache" />
3489 <image checked="checkbox_true" unchecked="checkbox_false" />
3490 </object>
3491
3492 <object type="slider">
3493 <placement x="%slider_x%" y="%slider_y%" />
3494 <resource base="slider" used="slider-used" touch="slider-touch" />
3495 <actions>
3496 <action function="set">tw_back=advanced</action>
3497 <action function="set">tw_action=adbsideload</action>
3498 <action function="set">tw_action_text1=ADB Sideload</action>
3499 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3500 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3501 <action function="set">tw_has_cancel=1</action>
3502 <action function="set">tw_show_reboot=1</action>
3503 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3504 <action function="page">action_page</action>
3505 </actions>
3506 </object>
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3511 <text>Swipe to Start Sideload</text>
3512 </object>
3513
3514 <object type="action">
3515 <touch key="home" />
3516 <action function="page">main</action>
3517 </object>
3518
3519 <object type="action">
3520 <touch key="back" />
3521 <action function="page">advanced</action>
3522 </object>
3523
3524 <object type="template" name="footer" />
3525 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003526
3527 <page name="installsu">
3528 <object type="template" name="header" />
3529
3530 <object type="text" color="%text_color%">
3531 <font resource="font" />
3532 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3533 <text>Install SuperSU?</text>
3534 </object>
3535
3536 <object type="text" color="%text_color%">
3537 <font resource="font" />
3538 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3539 <text>Your device does not appear to be rooted.</text>
3540 </object>
3541
3542 <object type="text" color="%text_color%">
3543 <font resource="font" />
3544 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3545 <text>Install SuperSU now? This will root your device.</text>
3546 </object>
3547
3548 <object type="button">
3549 <highlight color="%highlight_color%" />
3550 <placement x="%col_center_x%" y="%row2_medium_y%" />
3551 <font resource="font" color="%button_text_color%" />
3552 <text>Do Not Install</text>
3553 <image resource="main_button" />
3554 <action function="set">tw_page_done=1</action>
3555 </object>
3556
3557 <object type="slider">
3558 <placement x="%slider_x%" y="%slider_y%" />
3559 <resource base="slider" used="slider-used" touch="slider-touch" />
3560 <actions>
3561 <action function="set">tw_action=installsu</action>
3562 <action function="set">tw_action_text1=Installing SuperSU</action>
3563 <action function="set">tw_action_text2=</action>
3564 <action function="page">singleaction_page</action>
3565 </actions>
3566 </object>
3567
3568 <object type="text" color="%text_color%">
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3571 <text>Swipe to Install</text>
3572 </object>
3573 </page>
3574
3575 <page name="fixsu">
3576 <object type="template" name="header" />
3577
3578 <object type="text" color="%text_color%">
3579 <font resource="font" />
3580 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3581 <text>Fix Superuser Permissions?</text>
3582 </object>
3583
3584 <object type="text" color="%text_color%">
3585 <font resource="font" />
3586 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3587 <text>Root permissions appear to be lost.</text>
3588 </object>
3589
3590 <object type="text" color="%text_color%">
3591 <font resource="font" />
3592 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3593 <text>Fix root permissions now?</text>
3594 </object>
3595
3596 <object type="text" color="%text_color%">
3597 <font resource="font" />
3598 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3599 <text>(Fixes permissions on su binary & app)</text>
3600 </object>
3601
3602 <object type="button">
3603 <highlight color="%highlight_color%" />
3604 <placement x="%col_center_x%" y="%row2_medium_y%" />
3605 <font resource="font" color="%button_text_color%" />
3606 <text>Do Not Fix</text>
3607 <image resource="main_button" />
3608 <action function="set">tw_page_done=1</action>
3609 </object>
3610
3611 <object type="slider">
3612 <placement x="%slider_x%" y="%slider_y%" />
3613 <resource base="slider" used="slider-used" touch="slider-touch" />
3614 <actions>
3615 <action function="set">tw_action=fixsu</action>
3616 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3617 <action function="set">tw_action_text2=</action>
3618 <action function="page">singleaction_page</action>
3619 </actions>
3620 </object>
3621
3622 <object type="text" color="%text_color%">
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3625 <text>Swipe to Fix Root</text>
3626 </object>
3627 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 </pages>
3629</recovery>