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