blob: febc3db14a44008a86c8d9386229e0c1445c90a9 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="540" height="960" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-25" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="qhd-menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
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="qhd-medium-button" />
29 <resource name="sort_button" type="image" filename="qhd-sort-button" />
30 <resource name="minus_button" type="image" filename="qhd-minus-button" />
31 <resource name="plus_button" type="image" filename="qhd-plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
45 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="277" />
47 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040048 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="270" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="332" />
52 <variable name="row3_y" value="524" />
53 <variable name="row4_y" value="716" />
54 <variable name="row_queue_y" value="625" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="180" />
58 <variable name="row3_text_y" value="220" />
59 <variable name="row4_text_y" value="260" />
60 <variable name="row5_text_y" value="300" />
61 <variable name="row6_text_y" value="340" />
62 <variable name="row7_text_y" value="380" />
63 <variable name="row8_text_y" value="420" />
64 <variable name="row9_text_y" value="460" />
65 <variable name="row10_text_y" value="500" />
66 <variable name="row11_text_y" value="540" />
67 <variable name="row12_text_y" value="580" />
68 <variable name="row13_text_y" value="620" />
69 <variable name="row14_text_y" value="660" />
70 <variable name="row15_text_y" value="700" />
71 <variable name="row16_text_y" value="740" />
72 <variable name="row17_text_y" value="780" />
73 <variable name="row18_text_y" value="820" />
74 <variable name="zip_status_y" value="696" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="720" />
77 <variable name="tz_current_y" value="895" />
78 <variable name="col_progressbar_x" value="144" />
79 <variable name="row_progressbar_y" value="850" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="145" />
82 <variable name="col3_medium_x" value="280" />
83 <variable name="col4_medium_x" value="415" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="230" />
86 <variable name="row3_medium_y" value="330" />
87 <variable name="row4_medium_y" value="430" />
88 <variable name="row5_medium_y" value="530" />
89 <variable name="row6_medium_y" value="630" />
90 <variable name="row7_medium_y" value="730" />
91 <variable name="slider_x" value="50" />
92 <variable name="slider_y" value="820" />
93 <variable name="slider_text_y" value="870" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="919" />
101 <variable name="back_button_x" value="466" />
102 <variable name="back_button_y" value="919" />
103 <variable name="sort_asc_text_y" value="830" />
104 <variable name="sort_asc_button_y" value="820" />
105 <variable name="sort_desc_text_y" value="880" />
106 <variable name="sort_desc_button_y" value="870" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="255" />
109 <variable name="sort_col3_button_x" value="330" />
110 <variable name="input_width" value="520" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="540" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="380" />
121 <variable name="console_install_height" value="580" />
122 <variable name="console_installdone_height" value="380" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="530" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_install_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100136 <variable name="fastscroll_linecolor" value="#808080" />
137 <variable name="fastscroll_rectcolor" value="#808080" />
138 <variable name="fastscroll_w" value="45" />
139 <variable name="fastscroll_linew" value="2" />
140 <variable name="fastscroll_rectw" value="30" />
141 <variable name="fastscroll_recth" value="52" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="420" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="18" />
147 <variable name="sd_plus_x" value="280" />
148 <variable name="sdext_text_x" value="84" />
149 <variable name="sdext_text_y" value="150" />
150 <variable name="sdswap_button_y" value="185" />
151 <variable name="sdswap_text_x" value="84" />
152 <variable name="sdswap_text_y" value="195" />
153 <variable name="sdfilesystem_text_y" value="240" />
154 <variable name="sdfilesystem_button_y" value="280" />
155 <variable name="lock_x" value="70" />
156 <variable name="lock_y" value="250" />
157 <variable name="filemanager_select_x" value="405" />
158 <variable name="filemanager_select_y" value="825" />
159 <variable name="backup_name_y" value="420" />
160 <variable name="terminal_console_height" value="530" />
161 <variable name="terminal_text_y" value="550" />
162 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="540" />
164 <variable name="row_offset_text_y" value="580" />
165 <variable name="row_offset_medium_y" value="630" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500166 <variable name="button_fill_color" value="#303030" />
167 <variable name="button_fill_full_width" value="520" />
168 <variable name="button_fill_main_width" value="253" />
169 <variable name="button_fill_main_height" value="162" />
170 <variable name="button_fill_half_height" value="81" />
171 <variable name="button_fill_quarter_height" value="40" />
172 <variable name="backup_list_height" value="445" />
173 <variable name="backup_button_row1" value="600" />
174 <variable name="backup_button_row2" value="645" />
175 <variable name="mount_list_height" value="500" />
176 <variable name="mount_storage_row" value="630" />
177 <variable name="storage_list_height" value="675" />
178 <variable name="wipe_list_height" value="670" />
179 <variable name="wipe_button_y" value="475" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400180 </variables>
181
182 <templates>
183 <template name="header">
184 <background color="#000000FF" />
185
186 <object type="image">
187 <image resource="top_bar" />
188 <placement x="0" y="0" />
189 </object>
190
191 <object type="text" color="%text_color%">
192 <font resource="font" />
193 <placement x="100" y="10" />
194 <text>Team Win Recovery Project v%tw_version%</text>
195 </object>
196
197 <object type="text" color="%text_color%">
198 <condition var1="tw_simulate_actions" var2="1" />
199 <font resource="font" />
200 <placement x="100" y="40" />
201 <text>SIMULATING ACTIONS</text>
202 </object>
203
204 <object type="text" color="%text_color%">
205 <font resource="font" />
206 <placement x="100" y="70" />
207 <text>%tw_time%</text>
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="250" y="70" />
213 <conditions>
214 <condition var1="tw_no_battery_percent" var2="0" />
215 <condition var1="tw_battery" op=">" var2="0" />
216 <condition var1="tw_battery" op="<" var2="101" />
217 </conditions>
218 <text>Battery: %tw_battery%</text>
219 </object>
220
221 <object type="button">
222 <placement x="%home_button_x%" y="%home_button_y%" />
223 <font resource="font" color="%button_text_color%" />
224 <text></text>
225 <image resource="home_icon" />
226 <condition var1="tw_busy" var2="0" />
227 <action function="key">home</action>
228 </object>
229
230 <object type="button">
231 <placement x="%back_button_x%" y="%back_button_y%" />
232 <font resource="font" color="%button_text_color%" />
233 <text></text>
234 <image resource="back_icon" />
235 <condition var1="tw_busy" var2="0" />
236 <action function="key">back</action>
237 </object>
238
239 <object type="action">
240 <touch key="power" />
241 <action function="overlay">lock</action>
242 </object>
243 </template>
244
245 <template name="progress_bar">
246 <object type="progressbar">
247 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
248 <resource empty="progress_empty" full="progress_full" />
249 <data name="ui_progress" />
250 </object>
251
252 <object type="animation">
253 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
254 <resource name="progress" />
255 <speed fps="15" render="2" />
256 <loop frame="1" />
257 </object>
258 </template>
259
260 <template name="action_page_console">
261 <object type="console">
262 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
263 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
264 <font resource="fixed" />
265 </object>
266 </template>
267
268 <template name="sort_options">
269 <object type="text" color="%text_color%">
270 <font resource="font" />
271 <placement x="%col1_x%" y="%sort_asc_text_y%" />
272 <text>Sort Ascending:</text>
273 </object>
274
275 <object type="button">
276 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
277 <font resource="UItext" color="%button_text_color%" />
278 <text>Name</text>
279 <image resource="sort_button" />
280 <action function="set">tw_gui_sort_order=1</action>
281 </object>
282
283 <object type="button">
284 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
285 <font resource="UItext" color="%button_text_color%" />
286 <text>Date</text>
287 <image resource="sort_button" />
288 <action function="set">tw_gui_sort_order=2</action>
289 </object>
290
291 <object type="button">
292 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
293 <font resource="UItext" color="%button_text_color%" />
294 <text>Size</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=3</action>
297 </object>
298
299 <object type="text" color="%text_color%">
300 <font resource="font" />
301 <placement x="%col1_x%" y="%sort_desc_text_y%" />
302 <text>Sort Descending:</text>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
307 <font resource="UItext" color="%button_text_color%" />
308 <text>Name</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=-1</action>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
315 <font resource="UItext" color="%button_text_color%" />
316 <text>Date</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=-2</action>
319 </object>
320
321 <object type="button">
322 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
323 <font resource="UItext" color="%button_text_color%" />
324 <text>Size</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=-3</action>
327 </object>
328 </template>
329
330 <template name="footer">
331 <object type="console">
332 <slideout resource="slideout" x="240" y="920" />
333 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
334 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
335 <font resource="fixed" />
336 </object>
337 </template>
338
339 <template name="keyboardtemplate">
340 <object type="keyboard">
341 <placement x="0" y="600" />
342 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400344 <layout1>
345 <keysize height="78" width="54" />
346 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
347 <row2 key01="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" />
348 <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" />
349 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" />
350 </layout1>
351 <layout2>
352 <keysize height="78" width="54" />
353 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
354 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
355 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
356 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
357 </layout2>
358 <layout3>
359 <keysize height="78" width="54" />
360 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
361 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
362 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
363 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
364 </layout3>
365 <layout4>
366 <keysize height="78" width="54" />
367 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
368 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
369 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
370 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
371 </layout4>
372 </object>
373 </template>
374 </templates>
375
376 <pages>
377 <page name="main">
378 <object type="action">
379 <actions>
380 <action function="set">tw_clear_destination=main2</action>
381 <action function="page">clear_vars</action>
382 </actions>
383 </object>
384 </page>
385
386 <page name="main2">
387 <object type="template" name="header" />
388
389 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600390 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400391 <placement x="%col1_x%" y="%row1_y%" />
392 <font resource="font" color="%button_text_color%" />
393 <text>Install</text>
394 <image resource="main_button" />
395 <actions>
396 <action function="queueclear"></action>
397 <action function="page">install</action>
398 </actions>
399 </object>
400
401 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600402 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400403 <placement x="%col2_x%" y="%row1_y%" />
404 <font resource="font" color="%button_text_color%" />
405 <text>Wipe</text>
406 <image resource="main_button" />
407 <action function="page">wipe</action>
408 </object>
409
410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400412 <placement x="%col1_x%" y="%row2_y%" />
413 <font resource="font" color="%button_text_color%" />
414 <text>Backup</text>
415 <image resource="main_button" />
416 <action function="page">backup</action>
417 </object>
418
419 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600420 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400421 <placement x="%col2_x%" y="%row2_y%" />
422 <font resource="font" color="%button_text_color%" />
423 <text>Restore</text>
424 <image resource="main_button" />
425 <action function="page">restore</action>
426 </object>
427
428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400430 <placement x="%col1_x%" y="%row3_y%" />
431 <font resource="font" color="%button_text_color%" />
432 <text>Mount</text>
433 <image resource="main_button" />
434 <action function="page">mount</action>
435 </object>
436
437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400439 <placement x="%col2_x%" y="%row3_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Settings</text>
442 <image resource="main_button" />
443 <action function="page">settings</action>
444 </object>
445
446
447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400449 <placement x="%col1_x%" y="%row4_y%" />
450 <font resource="font" color="%button_text_color%" />
451 <text>Advanced</text>
452 <image resource="main_button" />
453 <action function="page">advanced</action>
454 </object>
455
456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400458 <placement x="%col2_x%" y="%row4_y%" />
459 <font resource="font" color="%button_text_color%" />
460 <text>Reboot</text>
461 <image resource="main_button" />
462 <action function="page">reboot</action>
463 </object>
464
465 <object type="template" name="footer" />
466 </page>
467
468 <page name="install">
469 <object type="template" name="header" />
470
471 <object type="text" color="%text_color%">
472 <font resource="font" />
473 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
474 <text>Select Zip to Install</text>
475 </object>
476
477 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500478 <highlight color="%highlight_color%" />
479 <fill color="%button_fill_color%" />
480 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
481 <font resource="font" color="%button_text_color%" />
482 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
483 <actions>
484 <action function="set">tw_back=install</action>
485 <action function="page">selectstorage</action>
486 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400487 </object>
488
489 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600490 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500491 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400492 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100493 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 <text>%tw_zip_location%</text>
495 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
496 <sort name="tw_gui_sort_order" />
497 <icon folder="folder_icon" file="file_icon" />
498 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600499 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <filter extn=".zip" folders="1" files="1" />
501 <path name="tw_zip_location" default="/sdcard" />
502 <data name="tw_filename" />
503 <selection name="tw_file" />
504 </object>
505
506 <object type="template" name="sort_options" />
507
508 <object type="action">
509 <condition var1="tw_filename" op="modified" />
510 <actions>
511 <action function="queuezip"></action>
512 <action function="page">flash_confirm</action>
513 </actions>
514 </object>
515
516 <object type="action">
517 <touch key="back" />
518 <action function="page">main</action>
519 </object>
520
521 <object type="action">
522 <touch key="home" />
523 <action function="page">main</action>
524 </object>
525
526 <object type="template" name="footer" />
527 </page>
528
529 <page name="flash_confirm">
530 <object type="template" name="header" />
531
532 <object type="text" color="%text_color%">
533 <font resource="font" />
534 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
535 <text>This operation may install incompatible</text>
536 </object>
537
538 <object type="text" color="%text_color%">
539 <font resource="font" />
540 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
541 <text>software and render your device unusable.</text>
542 </object>
543
544 <object type="text" color="%text_color%">
545 <font resource="font" />
546 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
547 <text>Folder:</text>
548 </object>
549
550 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400551 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400552 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
553 <text>%tw_zip_location%</text>
554 </object>
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
559 <text>File to flash:</text>
560 </object>
561
562 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400563 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400564 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
565 <text>%tw_file%</text>
566 </object>
567
568 <object type="text" color="%text_color%">
569 <font resource="font" />
570 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
571 <text>Press back to cancel adding this zip.</text>
572 </object>
573
574 <object type="checkbox">
575 <placement x="%col1_x%" y="%row8_text_y%" />
576 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400577 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400578 <data variable="tw_signed_zip_verify" />
579 <image checked="checkbox_true" unchecked="checkbox_false" />
580 </object>
581
582 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <condition var1="tw_has_injecttwrp" var2="1" />
584 <placement x="%col1_x%" y="%row10_text_y%" />
585 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400586 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400587 <data variable="tw_inject_after_zip" />
588 <image checked="checkbox_true" unchecked="checkbox_false" />
589 </object>
590
591 <object type="text" color="%text_color%">
592 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <text>File %tw_zip_queue_count% of max of 10</text>
595 </object>
596
597 <object type="slider">
598 <placement x="%slider_x%" y="%slider_y%" placement="5" />
599 <resource base="slider" used="slider-used" touch="slider-touch" />
600 <action function="flash">flash_zip</action>
601 </object>
602
603 <object type="text" color="%text_color%">
604 <font resource="font" />
605 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
606 <text>Swipe to Confirm Flash</text>
607 </object>
608
609 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600610 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
612 <placement x="%col1_x%" y="%row_queue_y%" />
613 <font resource="font" color="%button_text_color%" />
614 <text>Add More Zips</text>
615 <image resource="main_button" />
616 <action function="page">install</action>
617 </object>
618
619 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600620 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400621 <placement x="%col2_x%" y="%row_queue_y%" />
622 <font resource="font" color="%button_text_color%" />
623 <text>Clear Zip Queue</text>
624 <image resource="main_button" />
625 <actions>
626 <action function="queueclear"></action>
627 <action function="page">install</action>
628 </actions>
629 </object>
630
631 <object type="action">
632 <touch key="back" />
633 <actions>
634 <action function="cancelzip"></action>
635 <action function="page">install</action>
636 </actions>
637 </object>
638
639 <object type="action">
640 <touch key="home" />
641 <action function="page">main</action>
642 </object>
643
644 <object type="template" name="footer" />
645 </page>
646
647 <page name="flash_zip">
648 <object type="template" name="header" />
649
650 <object type="console">
651 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
652 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
653 <font resource="fixed" />
654 </object>
655
656 <object type="text" color="%text_color%">
657 <font resource="font" />
658 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
659 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
660 </object>
661
662 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400663 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400664 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
665 <text>%tw_filename%</text>
666 </object>
667
668 <object type="template" name="progress_bar" />
669
670 <object type="action">
671 <condition var1="tw_operation_state" var2="1" />
672 <action function="page">flash_done</action>
673 </object>
674 </page>
675
676 <page name="flash_done">
677 <object type="template" name="header" />
678
679 <object type="text" color="%text_color%">
680 <font resource="font" />
681 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
682 <text>Zip Install Complete</text>
683 </object>
684
685 <object type="console">
686 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
687 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
688 <font resource="fixed" />
689 </object>
690
691 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600692 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400693 <placement x="%col1_x%" y="%row4_y%" />
694 <font resource="font" color="%button_text_color%" />
695 <text>Wipe cache/dalvik</text>
696 <image resource="main_button" />
697 <actions>
698 <action function="set">tw_back=flash_done</action>
699 <action function="set">tw_action=wipe</action>
700 <action function="set">tw_action_param=/cache</action>
701 <action function="set">tw_has_action2=1</action>
702 <action function="set">tw_action2=wipe</action>
703 <action function="set">tw_action2_param=dalvik</action>
704 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
705 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
706 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
707 <action function="set">tw_slider_text=Swipe to Wipe</action>
708 <action function="page">confirm_action</action>
709 </actions>
710 </object>
711
712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600713 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400714 <placement x="%col2_x%" y="%row4_y%" />
715 <font resource="font" color="%button_text_color%" />
716 <text>Reboot System</text>
717 <image resource="main_button" />
718 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400719 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400720 <action function="set">tw_action=reboot</action>
721 <action function="set">tw_action_param=system</action>
722 <action function="set">tw_has_action2=0</action>
723 <action function="set">tw_text1=No OS Installed! Are you</action>
724 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400725 <action function="set">tw_text3=</action>
726 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400728 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400729 <action function="set">tw_complete_text1=Rebooting...</action>
730 <action function="set">tw_slider_text=Swipe to Reboot</action>
731 <action function="page">rebootcheck</action>
732 </actions>
733 </object>
734
735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600736 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400737 <placement x="%col_center_x%" y="%row3_y%" />
738 <font resource="font" color="%button_text_color%" />
739 <text>Home</text>
740 <image resource="main_button" />
741 <actions>
742 <action function="set">tw_clear_destination=main2</action>
743 <action function="page">clear_vars</action>
744 </actions>
745 </object>
746
747 <object type="text" color="%text_fail_color%">
748 <condition var1="tw_operation_status" op="!=" var2="0" />
749 <font resource="font" />
750 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
751 <text>Failed</text>
752 </object>
753
754 <object type="text" color="%text_success_color%">
755 <condition var1="tw_operation_status" var2="0" />
756 <font resource="font" />
757 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
758 <text>Successful</text>
759 </object>
760
761 <object type="action">
762 <touch key="back" />
763 <actions>
764 <action function="set">tw_clear_destination=install</action>
765 <action function="page">clear_vars</action>
766 </actions>
767 </object>
768
769 <object type="action">
770 <touch key="home" />
771 <actions>
772 <action function="set">tw_clear_destination=main2</action>
773 <action function="page">clear_vars</action>
774 </actions>
775 </object>
776 </page>
777
778 <page name="clear_vars">
779 <object type="action">
780 <action function="set">tw_operation_state=0</action>
781 <action function="set">tw_text1=</action>
782 <action function="set">tw_text2=</action>
783 <action function="set">tw_text3=</action>
784 <action function="set">tw_text4=</action>
785 <action function="set">tw_action_text1=</action>
786 <action function="set">tw_action_text2=</action>
787 <action function="set">tw_action_param=</action>
788 <action function="set">tw_has_action2=0</action>
789 <action function="set">tw_action2=</action>
790 <action function="set">tw_action2_param=</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -0400791 <action function="set">tw_has_cancel=0</action>
792 <action function="set">tw_cancel_action=</action>
793 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400794 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400795 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400796 <action function="page">%tw_clear_destination%</action>
797 </object>
798 </page>
799
800 <page name="confirm_action">
801 <object type="template" name="header" />
802
803 <object type="text" color="%text_color%">
804 <font resource="font" />
805 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
806 <text>%tw_text1%</text>
807 </object>
808
809 <object type="text" color="%text_color%">
810 <font resource="font" />
811 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
812 <text>%tw_text2%</text>
813 </object>
814
815 <object type="text" color="%text_color%">
816 <font resource="font" />
817 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
818 <text>%tw_text3%</text>
819 </object>
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
824 <text>%tw_text4%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400830 <text>Press back button to cancel.</text>
831 </object>
832
833 <object type="slider">
834 <placement x="%slider_x%" y="%slider_y%" />
835 <resource base="slider" used="slider-used" touch="slider-touch" />
836 <action function="page">action_page</action>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
842 <text>%tw_slider_text%</text>
843 </object>
844
845 <object type="action">
846 <touch key="back" />
847 <actions>
848 <action function="set">tw_clear_destination=%tw_back%</action>
849 <action function="page">clear_vars</action>
850 </actions>
851 </object>
852
853 <object type="action">
854 <touch key="home" />
855 <action function="page">main</action>
856 </object>
857
858 <object type="template" name="footer" />
859 </page>
860
861 <page name="action_page">
862 <object type="template" name="header" />
863
864 <object type="text" color="%text_color%">
865 <font resource="font" />
866 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
867 <text>%tw_action_text1%</text>
868 </object>
869
870 <object type="text" color="%text_color%">
871 <font resource="font" />
872 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
873 <text>%tw_action_text2%</text>
874 </object>
875
876 <object type="template" name="action_page_console" />
877
Dees_Troyc51f1f92012-09-20 15:32:13 -0400878 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600879 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -0400880 <condition var1="tw_has_cancel" var2="1" />
881 <placement x="%col_center_medium_x%" y="%row4_y%" />
882 <font resource="font" color="%button_text_color%" />
883 <text>Cancel</text>
884 <image resource="medium_button" />
885 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
886 </object>
887
Dees_Troy51a0e822012-09-05 15:24:24 -0400888 <object type="template" name="progress_bar" />
889
890 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400891 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400892 <actions>
893 <action function="page">action_complete</action>
894 </actions>
895 </object>
896
897 <object type="action">
898 <condition var1="tw_has_action2" var2="0" />
899 <actions>
900 <action function="%tw_action%">%tw_action_param%</action>
901 </actions>
902 </object>
903
904 <object type="action">
905 <condition var1="tw_has_action2" var2="1" />
906 <actions>
907 <action function="%tw_action%">%tw_action_param%</action>
908 <action function="%tw_action2%">%tw_action2_param%</action>
909 </actions>
910 </object>
911 </page>
912
Dees_Troy82111022013-02-21 21:13:09 +0000913 <page name="singleaction_page">
914 <object type="template" name="header" />
915
916 <object type="text" color="%text_color%">
917 <font resource="font" />
918 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
919 <text>%tw_action_text1%</text>
920 </object>
921
922 <object type="text" color="%text_color%">
923 <font resource="font" />
924 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
925 <text>%tw_action_text2%</text>
926 </object>
927
928 <object type="template" name="action_page_console" />
929
930 <object type="template" name="progress_bar" />
931
932 <object type="action">
933 <condition var1="tw_operation_state" var2="1" />
934 <actions>
935 <action function="set">tw_page_done=1</action>
936 </actions>
937 </object>
938
939 <object type="action">
940 <condition var1="tw_has_action2" var2="0" />
941 <actions>
942 <action function="%tw_action%">%tw_action_param%</action>
943 </actions>
944 </object>
945
946 <object type="action">
947 <condition var1="tw_has_action2" var2="1" />
948 <actions>
949 <action function="%tw_action%">%tw_action_param%</action>
950 <action function="%tw_action2%">%tw_action2_param%</action>
951 </actions>
952 </object>
953 </page>
954
Dees_Troy51a0e822012-09-05 15:24:24 -0400955 <page name="action_complete">
956 <object type="template" name="header" />
957
958 <object type="text" color="%text_color%">
959 <font resource="font" />
960 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
961 <text>%tw_complete_text1%</text>
962 </object>
963
964 <object type="text" color="%text_fail_color%">
965 <condition var1="tw_operation_status" op="!=" var2="0" />
966 <font resource="font" />
967 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
968 <text>Failed</text>
969 </object>
970
971 <object type="text" color="%text_success_color%">
972 <condition var1="tw_operation_status" var2="0" />
973 <font resource="font" />
974 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
975 <text>Successful</text>
976 </object>
977
978 <object type="template" name="action_page_console" />
979
980 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600981 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400982 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400983 <placement x="%col_center_x%" y="%row4_y%" />
984 <font resource="font" color="%button_text_color%" />
985 <text>Back</text>
986 <image resource="main_button" />
987 <actions>
988 <action function="set">tw_clear_destination=%tw_back%</action>
989 <action function="page">clear_vars</action>
990 </actions>
991 </object>
992
Dees_Troya3f81542012-10-08 10:58:53 -0400993 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600994 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400995 <condition var1="tw_show_reboot" var2="1" />
996 <placement x="%col_center_x%" y="%row4_y%" />
997 <font resource="font" color="%button_text_color%" />
998 <text>Reboot System</text>
999 <image resource="main_button" />
1000 <actions>
1001 <action function="set">tw_back=main2</action>
1002 <action function="set">tw_action=reboot</action>
1003 <action function="set">tw_action_param=system</action>
1004 <action function="set">tw_has_action2=0</action>
1005 <action function="set">tw_text1=No OS Installed! Are you</action>
1006 <action function="set">tw_text2=sure you wish to reboot?</action>
1007 <action function="set">tw_text3=</action>
1008 <action function="set">tw_text4=</action>
1009 <action function="set">tw_action_text1=Rebooting...</action>
1010 <action function="set">tw_action_text2=</action>
1011 <action function="set">tw_complete_text1=Rebooting...</action>
1012 <action function="set">tw_slider_text=Swipe to Reboot</action>
1013 <action function="page">rebootcheck</action>
1014 </actions>
1015 </object>
1016
Dees_Troy51a0e822012-09-05 15:24:24 -04001017 <object type="action">
1018 <touch key="home" />
1019 <actions>
1020 <action function="set">tw_clear_destination=main2</action>
1021 <action function="page">clear_vars</action>
1022 </actions>
1023 </object>
1024
1025 <object type="action">
1026 <touch key="back" />
1027 <actions>
1028 <action function="set">tw_clear_destination=%tw_back%</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032 </page>
1033
1034 <page name="filecheck">
1035 <object type="action">
1036 <action function="fileexists">%tw_filecheck%</action>
1037 </object>
1038
1039 <object type="action">
1040 <conditions>
1041 <condition var1="tw_operation_state" var2="1" />
1042 <condition var1="tw_operation_status" var2="0" />
1043 </conditions>
1044 <actions>
1045 <action function="set">tw_fileexists=1</action>
1046 <action function="page">%tw_existpage%</action>
1047 </actions>
1048 </object>
1049
1050 <object type="action">
1051 <conditions>
1052 <condition var1="tw_operation_state" var2="1" />
1053 <condition var1="tw_operation_status" var2="1" />
1054 </conditions>
1055 <actions>
1056 <action function="set">tw_fileexists=0</action>
1057 <action function="page">%tw_notexistpage%</action>
1058 </actions>
1059 </object>
1060 </page>
1061
1062 <page name="rebootcheck">
1063 <object type="action">
1064 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1065 <action function="reboot">%tw_action_param%</action>
1066 </object>
1067
1068 <object type="action">
1069 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1070 <action function="page">confirm_action</action>
1071 </object>
1072 </page>
1073
1074 <page name="wipe">
1075 <object type="template" name="header" />
1076
1077 <object type="text" color="%text_color%">
1078 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001079 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001080 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001081 </object>
1082
1083 <object type="text" color="%text_color%">
1084 <font resource="font" />
1085 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1086 <text>Wipes Data, Cache, and Dalvik</text>
1087 </object>
1088
1089 <object type="text" color="%text_color%">
1090 <condition var1="tw_has_data_media" var2="0" />
1091 <font resource="font" />
1092 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1093 <text>.android_secure</text>
1094 </object>
1095
1096 <object type="text" color="%text_color%">
1097 <condition var1="tw_has_data_media" var2="1" />
1098 <font resource="font" />
1099 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1100 <text>(not including internal storage)</text>
1101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <condition var1="tw_has_sdext_partition" var2="1" />
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1107 <text>SD-EXT</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1113 <text>Most of the time this is</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1119 <text>the only wipe that you need.</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
1123 <font resource="font" />
1124 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1125 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001126 </object>
1127
1128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001129 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001130 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001131 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001132 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001133 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001134 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001135 </object>
1136
1137 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <conditions>
1139 <condition var1="tw_has_internal" var2="1" />
1140 <condition var1="tw_has_data_media" var2="1" />
1141 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001142 <highlight color="%highlight_color%" />
1143 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <font resource="font" color="%button_text_color%" />
1145 <text>Format Data</text>
1146 <image resource="main_button" />
1147 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 </actions>
1150 </object>
1151
Dees_Troya13d74f2013-03-24 08:54:55 -05001152 <object type="slider">
1153 <placement x="%slider_x%" y="%slider_y%" />
1154 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001155 <actions>
1156 <action function="set">tw_back=wipe</action>
1157 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <action function="set">tw_action_param=data</action>
1159 <action function="set">tw_action_text1=Factory Reset...</action>
1160 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1161 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001162 </actions>
1163 </object>
1164
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <object type="text" color="%text_color%">
1166 <font resource="font" />
1167 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1168 <text>Swipe to Factory Reset</text>
1169 </object>
1170
1171 <object type="action">
1172 <touch key="back" />
1173 <action function="page">main</action>
1174 </object>
1175
1176 <object type="action">
1177 <touch key="home" />
1178 <action function="page">main</action>
1179 </object>
1180
1181 <object type="template" name="footer" />
1182 </page>
1183
1184 <page name="advancedwipe">
1185 <object type="template" name="header" />
1186
1187 <object type="text" color="%text_color%">
1188 <font resource="font" />
1189 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1190 <text>Wipe Menu</text>
1191 </object>
1192
1193 <object type="partitionlist">
1194 <highlight color="%fileselector_highlight_color%" />
1195 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1196 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1197 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1198 <text>Select Partitions to Wipe:</text>
1199 <icon selected="checkbox_true" unselected="checkbox_false" />
1200 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1201 <background color="%listbox_background%" />
1202 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1203 <data name="tw_wipe_list" />
1204 <listtype name="wipe" />
1205 </object>
1206
1207 <object type="slider">
1208 <placement x="%slider_x%" y="%slider_y%" />
1209 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001210 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001211 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001213 <action function="set">tw_action_param=LIST</action>
1214 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1215 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1216 <action function="set">tw_complete_text1=Wipe Complete</action>
1217 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 </actions>
1219 </object>
1220
Dees_Troya13d74f2013-03-24 08:54:55 -05001221 <object type="text" color="%text_color%">
1222 <font resource="font" />
1223 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1224 <text>Swipe to Wipe</text>
1225 </object>
1226
Dees_Troy51a0e822012-09-05 15:24:24 -04001227 <object type="action">
1228 <touch key="home" />
1229 <action function="page">main</action>
1230 </object>
1231
1232 <object type="action">
1233 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001234 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001235 </object>
1236
1237 <object type="template" name="footer" />
1238 </page>
1239
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <page name="formatdata">
1241 <object type="template" name="header" />
1242
1243 <object type="text" color="%text_color%">
1244 <font resource="font" />
1245 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1246 <text>Format Data will wipe all of your apps,</text>
1247 </object>
1248
1249 <object type="text" color="%text_color%">
1250 <font resource="font" />
1251 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1252 <text>backups, pictures, videos, media, and</text>
1253 </object>
1254
1255 <object type="text" color="%text_color%">
1256 <font resource="font" />
1257 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1258 <text>removes encryption on internal storage.</text>
1259 </object>
1260
1261 <object type="text" color="%text_color%">
1262 <font resource="font" />
1263 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1264 <text>This cannot be undone. Press back to cancel.</text>
1265 </object>
1266
1267 <object type="text" color="%text_color%">
1268 <font resource="font" />
1269 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1270 <text>Type yes to continue.</text>
1271 </object>
1272
1273 <object type="input">
1274 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1275 <background color="%input_background_color%" />
1276 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1277 <font resource="font" color="%text_color%" />
1278 <text>%tw_confirm_formatdata%</text>
1279 <data name="tw_confirm_formatdata" />
1280 <restrict minlen="3" maxlen="3" allow="yes" />
1281 <action function="page">formatdata_confirm</action>
1282 </object>
1283
1284 <object type="template" name="keyboardtemplate" />
1285
1286 <object type="action">
1287 <touch key="home" />
1288 <action function="page">main</action>
1289 </object>
1290
1291 <object type="action">
1292 <touch key="back" />
1293 <action function="page">wipe</action>
1294 </object>
1295
1296 <object type="template" name="footer" />
1297 </page>
1298
1299 <page name="formatdata_confirm">
1300 <object type="action">
1301 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1302 <actions>
1303 <action function="set">tw_back=formatdata</action>
1304 <action function="set">tw_action=wipe</action>
1305 <action function="set">tw_action_param=DATAMEDIA</action>
1306 <action function="set">tw_action_text1=Formatting Data...</action>
1307 <action function="set">tw_complete_text1=Data Format Complete</action>
1308 <action function="page">action_page</action>
1309 </actions>
1310 </object>
1311
1312 <object type="action">
1313 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1314 <action function="page">formatdata</function>
1315 </object>
1316 </page>
1317
Dees_Troy51a0e822012-09-05 15:24:24 -04001318 <page name="backup">
1319 <object type="template" name="header" />
1320
1321 <object type="text" color="%text_color%">
1322 <font resource="font" />
1323 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1324 <text>Backup Name: %tw_backup_name%</text>
1325 </object>
1326
Dees_Troya13d74f2013-03-24 08:54:55 -05001327 <object type="partitionlist">
1328 <highlight color="%fileselector_highlight_color%" />
1329 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1330 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1331 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1332 <text>Select Partitions to Back Up:</text>
1333 <icon selected="checkbox_true" unselected="checkbox_false" />
1334 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1335 <background color="%listbox_background%" />
1336 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1337 <data name="tw_backup_list" />
1338 <listtype name="backup" />
1339 </object>
1340
1341 <object type="button">
1342 <highlight color="%highlight_color%" />
1343 <fill color="%button_fill_color%" />
1344 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1345 <font resource="font" color="%button_text_color%" />
1346 <text>Set Backup Name</text>
1347 <actions>
1348 <action function="set">tw_fileexists=0</action>
1349 <action function="page">backupname1</action>
1350 </actions>
1351 </object>
1352
1353 <object type="button">
1354 <highlight color="%highlight_color%" />
1355 <fill color="%button_fill_color%" />
1356 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1357 <font resource="font" color="%button_text_color%" />
1358 <text>Refresh Sizes</text>
1359 <action function="refreshsizes"></action>
1360 </object>
1361
1362 <object type="button">
1363 <highlight color="%highlight_color%" />
1364 <fill color="%button_fill_color%" />
1365 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1366 <font resource="font" color="%button_text_color%" />
1367 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1368 <actions>
1369 <action function="set">tw_back=backup</action>
1370 <action function="page">selectstorage</action>
1371 </actions>
1372 </object>
1373
1374 <object type="checkbox">
1375 <placement x="%col1_x%" y="%row15_text_y%" />
1376 <font resource="font" color="%text_color%" />
1377 <text>Enable compression.</text>
1378 <data variable="tw_use_compression" />
1379 <image checked="checkbox_true" unchecked="checkbox_false" />
1380 </object>
1381
1382 <object type="checkbox">
1383 <placement x="%col1_x%" y="%row16_text_y%" />
1384 <font resource="font" color="%text_color%" />
1385 <text>Skip MD5 generation during backup.</text>
1386 <data variable="tw_skip_md5_generate" />
1387 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001388 </object>
1389
1390 <object type="slider">
1391 <placement x="%slider_x%" y="slider_y" />
1392 <resource base="slider" used="slider-used" touch="slider-touch" />
1393 <action function="page">backup_run</action>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1399 <text>Swipe to Back Up</text>
1400 </object>
1401
Dees_Troy51a0e822012-09-05 15:24:24 -04001402 <object type="action">
1403 <touch key="home" />
1404 <action function="page">main</action>
1405 </object>
1406
1407 <object type="action">
1408 <touch key="back" />
1409 <action function="page">main</action>
1410 </object>
1411
1412 <object type="template" name="footer" />
1413 </page>
1414
1415 <page name="backupname1">
1416 <object type="action">
1417 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1418 <action function="set">tw_backup_name=</function>
1419 </object>
1420
1421 <object type="action">
1422 <action function="page">backupname2</function>
1423 </object>
1424 </page>
1425
1426 <page name="backupname2">
1427 <object type="template" name="header" />
1428
1429 <object type="text" color="%text_color%">
1430 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1431 <font resource="font" />
1432 <text>Please Enter a Backup Name</text>
1433 </object>
1434
1435 <object type="input">
1436 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1437 <background color="%input_background_color%" />
1438 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1439 <font resource="font" color="%text_color%" />
1440 <text>%tw_backup_name%</text>
1441 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001442 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001443 <actions>
1444 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1445 <action function="set">tw_existpage=backupname2</action>
1446 <action function="set">tw_notexistpage=backup</action>
1447 <action function="page">filecheck</action>
1448 </actions>
1449 </object>
1450
1451 <object type="text" color="%text_fail_color%">
1452 <condition var1="tw_fileexists" var2="1" />
1453 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1454 <font resource="font" />
1455 <text>A backup with that name already exists!</text>
1456 </object>
1457
1458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <placement x="%col_center_x%" y="%row2_y%" />
1461 <font resource="font" color="%button_text_color%" />
1462 <text>Cancel</text>
1463 <image resource="main_button" />
1464 <actions>
1465 <action function="set">tw_backup_name=(Current Date)</action>
1466 <action function="page">backup</action>
1467 </actions>
1468 </object>
1469
1470 <object type="template" name="keyboardtemplate" />
1471
1472 <object type="action">
1473 <touch key="home" />
1474 <actions>
1475 <action function="set">tw_backup_name=(Current Date)</action>
1476 <action function="page">main</action>
1477 </actions>
1478 </object>
1479
1480 <object type="action">
1481 <touch key="back" />
1482 <actions>
1483 <action function="set">tw_backup_name=(Current Date)</action>
1484 <action function="page">backup</action>
1485 </actions>
1486 </object>
1487
1488 <object type="template" name="footer" />
1489 </page>
1490
1491 <page name="backup_run">
1492 <object type="template" name="header" />
1493
1494 <object type="text" color="%text_color%">
1495 <font resource="font" />
1496 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1497 <text>%tw_operation% %tw_partition%</text>
1498 </object>
1499
1500 <object type="template" name="action_page_console" />
1501
1502 <object type="template" name="progress_bar" />
1503
1504 <object type="action">
1505 <action function="nandroid">backup</action>
1506 </object>
1507
1508 <object type="action">
1509 <condition var1="tw_operation_state" var2="1" />
1510 <actions>
1511 <action function="set">tw_back=backup</action>
1512 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001513 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001514 <action function="page">action_complete</action>
1515 </actions>
1516 </object>
1517 </page>
1518
1519 <page name="restore">
1520 <object type="template" name="header" />
1521
1522 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001523 <highlight color="%highlight_color%" />
1524 <fill color="%button_fill_color%" />
1525 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1526 <font resource="font" color="%button_text_color%" />
1527 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1528 <actions>
1529 <action function="set">tw_back=restore</action>
1530 <action function="page">selectstorage</action>
1531 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001532 </object>
1533
1534 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001535 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001536 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001537 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001538 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001539 <text>Select Package to Restore:</text>
1540 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1541 <sort name="tw_gui_sort_order" />
1542 <icon folder="folder_icon" file="file_icon" />
1543 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001544 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001545 <filter folders="1" files="0" nav="0" />
1546 <path name="tw_backups_folder" />
1547 <data name="tw_restore" default="" />
1548 <selection name="tw_restore_name" />
1549 </object>
1550
1551 <object type="template" name="sort_options" />
1552
1553 <object type="action">
1554 <condition var1="tw_restore" op="modified" />
1555 <actions>
1556 <action function="readBackup"></action>
1557 <action function="page">restore_select</action>
1558 </actions>
1559 </object>
1560
1561 <object type="action">
1562 <touch key="home" />
1563 <action function="page">main</action>
1564 </object>
1565
1566 <object type="action">
1567 <touch key="back" />
1568 <action function="page">main</action>
1569 </object>
1570
1571 <object type="template" name="footer" />
1572 </page>
1573
1574 <page name="restore_select">
1575 <object type="template" name="header" />
1576
Dees_Troya13d74f2013-03-24 08:54:55 -05001577 <object type="partitionlist">
1578 <highlight color="%fileselector_highlight_color%" />
1579 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1580 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1581 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001582 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001583 <icon selected="checkbox_true" unselected="checkbox_false" />
1584 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1585 <background color="%listbox_background%" />
1586 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1587 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1588 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001589 </object>
1590
1591 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001592 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001593 <fill color="%button_fill_color%" />
1594 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001595 <font resource="font" color="%button_text_color%" />
1596 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001597 <actions>
1598 <action function="set">tw_backup_rename=</action>
1599 <action function="set">tw_fileexists=0</action>
1600 <action function="page">renamebackup</action>
1601 </actions>
1602 </object>
1603
1604 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001605 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001606 <fill color="%button_fill_color%" />
1607 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001608 <font resource="font" color="%button_text_color%" />
1609 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001610 <actions>
1611 <action function="set">tw_back=restore</action>
1612 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001613 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001614 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1615 <action function="set">tw_text2=This cannot be undone!</action>
1616 <action function="set">tw_action_text1=Deleting Backup...</action>
1617 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1618 <action function="set">tw_slider_text=Swipe to Delete</action>
1619 <action function="page">confirm_action</action>
1620 </actions>
1621 </object>
1622
Dees_Troya13d74f2013-03-24 08:54:55 -05001623 <object type="checkbox">
1624 <placement x="%col1_x%" y="%row15_text_y%" />
1625 <font resource="font" color="%text_color%" />
1626 <text>Enable MD5 verification of backup files.</text>
1627 <data variable="tw_skip_md5_check" />
1628 <image checked="checkbox_true" unchecked="checkbox_false" />
1629 </object>
1630
1631 <object type="text" color="%text_color%">
1632 <font resource="font" />
1633 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1634 <text>Package Date: %tw_restore_file_date%</text>
1635 </object>
1636
Dees_Troy51a0e822012-09-05 15:24:24 -04001637 <object type="slider">
1638 <placement x="%slider_x%" y="%slider_y%" />
1639 <resource base="slider" used="slider-used" touch="slider-touch" />
1640 <action function="page">restore_run</action>
1641 </object>
1642
1643 <object type="text" color="%text_color%">
1644 <font resource="font" />
1645 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1646 <text>Swipe to Restore</text>
1647 </object>
1648
Dees_Troy51a0e822012-09-05 15:24:24 -04001649 <object type="action">
1650 <touch key="home" />
1651 <action function="page">main</action>
1652 </object>
1653
1654 <object type="action">
1655 <touch key="back" />
1656 <action function="page">restore</action>
1657 </object>
1658
1659 <object type="template" name="footer" />
1660 </page>
1661
1662 <page name="renamebackup">
1663 <object type="template" name="header" />
1664
1665 <object type="text" color="%text_color%">
1666 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1667 <font resource="font" />
1668 <text>Please Enter a New Backup Name</text>
1669 </object>
1670
1671 <object type="input">
1672 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1673 <background color="%input_background_color%" />
1674 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1675 <font resource="font" color="%text_color%" />
1676 <text>%tw_backup_rename%</text>
1677 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001678 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001679 <actions>
1680 <action function="set">tw_back=restore</action>
1681 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001682 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001683 <action function="set">tw_text1=Rename Backup?</action>
1684 <action function="set">tw_text2=This cannot be undone!</action>
1685 <action function="set">tw_action_text1=Renaming Backup...</action>
1686 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1687 <action function="set">tw_slider_text=Swipe to Rename</action>
1688 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1689 <action function="set">tw_existpage=renamebackup</action>
1690 <action function="set">tw_notexistpage=confirm_action</action>
1691 <action function="page">filecheck</action>
1692 </actions>
1693 </object>
1694
1695 <object type="text" color="%text_fail_color%">
1696 <condition var1="tw_fileexists" var2="1" />
1697 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1698 <font resource="font" />
1699 <text>A backup with that name already exists!</text>
1700 </object>
1701
1702 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001703 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001704 <placement x="%col_center_x%" y="%row2_y%" />
1705 <font resource="font" color="%button_text_color%" />
1706 <text>Cancel</text>
1707 <image resource="main_button" />
1708 <action function="page">restore_select</action>
1709 </object>
1710
1711 <object type="template" name="keyboardtemplate" />
1712
1713 <object type="action">
1714 <touch key="home" />
1715 <action function="page">main</action>
1716 </object>
1717
1718 <object type="action">
1719 <touch key="back" />
1720 <action function="page">restore_select</action>
1721 </object>
1722
1723 <object type="template" name="footer" />
1724 </page>
1725
1726 <page name="restore_run">
1727 <object type="template" name="header" />
1728
1729 <object type="text" color="%text_color%">
1730 <font resource="font" />
1731 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1732 <text>%tw_operation% %tw_partition%</text>
1733 </object>
1734
1735 <object type="template" name="action_page_console" />
1736
1737 <object type="template" name="progress_bar" />
1738
1739 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001740 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001741 <actions>
1742 <action function="set">tw_back=restore_select</action>
1743 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001744 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <action function="page">action_complete</action>
1746 </actions>
1747 </object>
1748
1749 <object type="action">
1750 <action function="nandroid">restore</action>
1751 </object>
1752 </page>
1753
Dees_Troya13d74f2013-03-24 08:54:55 -05001754 <page name="selectstorage">
1755 <object type="template" name="header" />
1756
1757 <object type="partitionlist">
1758 <highlight color="%fileselector_highlight_color%" />
1759 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1760 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1761 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1762 <text>Select Storage:</text>
1763 <icon selected="radio_true" unselected="radio_false" />
1764 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1765 <background color="%listbox_background%" />
1766 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1767 <data name="tw_storage_path" />
1768 <listtype name="storage" />
1769 </object>
1770
1771 <object type="action">
1772 <touch key="home" />
1773 <action function="page">main</action>
1774 </object>
1775
1776 <object type="action">
1777 <touch key="back" />
1778 <actions>
1779 <action function="page">%tw_back%</action>
1780 </actions>
1781 </object>
1782
1783 <object type="template" name="footer" />
1784 </page>
1785
Dees_Troy51a0e822012-09-05 15:24:24 -04001786 <page name="mount">
1787 <object type="template" name="header" />
1788
Dees_Troya13d74f2013-03-24 08:54:55 -05001789 <object type="partitionlist">
1790 <highlight color="%fileselector_highlight_color%" />
1791 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1792 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1793 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1794 <text>Select Partitions to Mount:</text>
1795 <icon selected="checkbox_true" unselected="checkbox_false" />
1796 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1797 <background color="%listbox_background%" />
1798 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1799 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001800 </object>
1801
1802 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001803 <highlight color="%highlight_color%" />
1804 <fill color="%button_fill_color%" />
1805 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1806 <font resource="font" color="%button_text_color%" />
1807 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1808 <actions>
1809 <action function="set">tw_back=mount</action>
1810 <action function="page">selectstorage</action>
1811 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001812 </object>
1813
1814 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001815 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001816 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001817 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001818 <font resource="font" color="%button_text_color%" />
1819 <text>Mount USB Storage</text>
1820 <image resource="main_button" />
1821 <action function="page">usb_mount</action>
1822 </object>
1823
Gary Peckffdc6ae2012-11-21 18:02:02 -08001824 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001825 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001826 <conditions>
1827 <condition var1="tw_is_encrypted" var2="1" />
1828 <condition var1="tw_is_decrypted" var2="0" />
1829 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001830 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001831 <font resource="font" color="%button_text_color%" />
1832 <text>Decrypt Data</text>
1833 <image resource="main_button" />
1834 <action function="page">decrypt</action>
1835 </object>
1836
Dees_Troy51a0e822012-09-05 15:24:24 -04001837 <object type="action">
1838 <touch key="home" />
1839 <action function="page">main</action>
1840 </object>
1841
1842 <object type="action">
1843 <touch key="back" />
1844 <action function="page">main</action>
1845 </object>
1846
1847 <object type="template" name="footer" />
1848 </page>
1849
1850 <page name="usb_mount">
1851 <object type="template" name="header" />
1852
1853 <object type="text" color="%text_color%">
1854 <font resource="font" />
1855 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1856 <text>USB Storage Mounted</text>
1857 </object>
1858
1859 <object type="text" color="%text_color%">
1860 <placement x="%col1_x%" y="%row1_text_y%" />
1861 <font resource="font" />
1862 <text>Be sure to safely remove your device</text>
1863 </object>
1864
1865 <object type="text" color="%text_color%">
1866 <placement x="%col1_x%" y="%row2_text_y%" />
1867 <font resource="font" />
1868 <text>from your computer before unmounting!</text>
1869 </object>
1870
1871 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001872 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001873 <placement x="%col1_x%" y="%row3_y%" />
1874 <font resource="font" color="%button_text_color%" />
1875 <text>Unmount</text>
1876 <image resource="main_button" />
1877 <action function="page">usb_umount</action>
1878 </object>
1879
1880 <object type="action">
1881 <action function="mount">usb</action>
1882 </object>
1883
1884 <object type="template" name="footer" />
1885 </page>
1886
1887 <page name="usb_umount">
1888 <object type="action">
1889 <action function="unmount">usb</action>
1890 </object>
1891
1892 <object type="action">
1893 <action function="page">mount</action>
1894 </object>
1895 </page>
1896
1897 <page name="reboot">
1898 <object type="template" name="header" />
1899
1900 <object type="text" color="%text_color%">
1901 <font resource="font" />
1902 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1903 <text>Reboot Menu</text>
1904 </object>
1905
1906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001907 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001908 <condition var1="tw_reboot_system" var2="1" />
1909 <placement x="%col1_x%" y="%row1_y%" />
1910 <font resource="font" color="%button_text_color%" />
1911 <text>System</text>
1912 <image resource="main_button" />
1913 <actions>
1914 <action function="set">tw_back=reboot</action>
1915 <action function="set">tw_action=reboot</action>
1916 <action function="set">tw_action_param=system</action>
1917 <action function="set">tw_has_action2=0</action>
1918 <action function="set">tw_text1=No OS Installed! Are you</action>
1919 <action function="set">tw_text2=sure you wish to reboot?</action>
1920 <action function="set">tw_action_text1=Rebooting...</action>
1921 <action function="set">tw_complete_text1=Rebooting...</action>
1922 <action function="set">tw_slider_text=Swipe to Reboot</action>
1923 <action function="page">rebootcheck</action>
1924 </actions>
1925 </object>
1926
1927 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001928 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001929 <condition var1="tw_reboot_poweroff" var2="1" />
1930 <placement x="%col2_x%" y="%row1_y%" />
1931 <font resource="font" color="%button_text_color%" />
1932 <text>Power Off</text>
1933 <image resource="main_button" />
1934 <actions>
1935 <action function="set">tw_back=reboot</action>
1936 <action function="set">tw_action=reboot</action>
1937 <action function="set">tw_action_param=poweroff</action>
1938 <action function="set">tw_has_action2=0</action>
1939 <action function="set">tw_text1=No OS Installed! Are you</action>
1940 <action function="set">tw_text2=sure you wish to power off?</action>
1941 <action function="set">tw_action_text1=Turning Off...</action>
1942 <action function="set">tw_complete_text1=Turning Off...</action>
1943 <action function="set">tw_slider_text=Swipe to Power Off</action>
1944 <action function="page">rebootcheck</action>
1945 </actions>
1946 </object>
1947
1948 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001949 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001950 <condition var1="tw_reboot_recovery" var2="1" />
1951 <placement x="%col1_x%" y="%row2_y%" />
1952 <font resource="font" color="%button_text_color%" />
1953 <text>Recovery</text>
1954 <image resource="main_button" />
1955 <actions>
1956 <action function="set">tw_back=reboot</action>
1957 <action function="set">tw_action=reboot</action>
1958 <action function="set">tw_action_param=recovery</action>
1959 <action function="set">tw_has_action2=0</action>
1960 <action function="set">tw_text1=No OS Installed! Are you</action>
1961 <action function="set">tw_text2=sure you wish to reboot?</action>
1962 <action function="set">tw_action_text1=Rebooting...</action>
1963 <action function="set">tw_complete_text1=Rebooting...</action>
1964 <action function="set">tw_slider_text=Swipe to Reboot</action>
1965 <action function="page">rebootcheck</action>
1966 </actions>
1967 </object>
1968
1969 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001970 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001971 <condition var1="tw_reboot_bootloader" var2="1" />
1972 <placement x="%col2_x%" y="%row2_y%" />
1973 <font resource="font" color="%button_text_color%" />
1974 <text>Bootloader</text>
1975 <image resource="main_button" />
1976 <actions>
1977 <action function="set">tw_back=reboot</action>
1978 <action function="set">tw_action=reboot</action>
1979 <action function="set">tw_action_param=bootloader</action>
1980 <action function="set">tw_has_action2=0</action>
1981 <action function="set">tw_text1=No OS Installed! Are you</action>
1982 <action function="set">tw_text2=sure you wish to reboot?</action>
1983 <action function="set">tw_action_text1=Rebooting...</action>
1984 <action function="set">tw_complete_text1=Rebooting...</action>
1985 <action function="set">tw_slider_text=Swipe to Reboot</action>
1986 <action function="page">rebootcheck</action>
1987 </actions>
1988 </object>
1989
1990 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001991 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001992 <condition var1="tw_download_mode" var2="1" />
1993 <placement x="%col1_x%" y="%row3_y%" />
1994 <font resource="font" color="%button_text_color%" />
1995 <text>Download</text>
1996 <image resource="main_button" />
1997 <actions>
1998 <action function="set">tw_back=reboot</action>
1999 <action function="set">tw_action=reboot</action>
2000 <action function="set">tw_action_param=download</action>
2001 <action function="set">tw_has_action2=0</action>
2002 <action function="set">tw_text1=No OS Installed! Are you</action>
2003 <action function="set">tw_text2=sure you wish to reboot?</action>
2004 <action function="set">tw_action_text1=Rebooting...</action>
2005 <action function="set">tw_complete_text1=Rebooting...</action>
2006 <action function="set">tw_slider_text=Swipe to Reboot</action>
2007 <action function="page">rebootcheck</action>
2008 </actions>
2009 </object>
2010
2011 <object type="action">
2012 <touch key="home" />
2013 <action function="page">main</action>
2014 </object>
2015
2016 <object type="action">
2017 <touch key="back" />
2018 <action function="page">main</action>
2019 </object>
2020
2021 <object type="template" name="footer" />
2022 </page>
2023
2024 <page name="settings">
2025 <object type="template" name="header" />
2026
2027 <object type="text" color="%text_color%">
2028 <font resource="font" />
2029 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2030 <text>Settings</text>
2031 </object>
2032
2033 <object type="checkbox">
2034 <placement x="%col1_x%" y="%row1_text_y%" />
2035 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002036 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 <data variable="tw_signed_zip_verify" />
2038 <image checked="checkbox_true" unchecked="checkbox_false" />
2039 </object>
2040
2041 <object type="checkbox">
2042 <placement x="%col1_x%" y="%row2_text_y%" />
2043 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002044 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002045 <data variable="tw_rm_rf" />
2046 <image checked="checkbox_true" unchecked="checkbox_false" />
2047 </object>
2048
2049 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002050 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002051 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002052 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002053 <data variable="tw_skip_md5_generate" />
2054 <image checked="checkbox_true" unchecked="checkbox_false" />
2055 </object>
2056
2057 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002058 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002059 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002060 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002061 <data variable="tw_skip_md5_check" />
2062 <image checked="checkbox_true" unchecked="checkbox_false" />
2063 </object>
2064
2065 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002066 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002067 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002068 <text>Use Military Time.</text>
2069 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <image checked="checkbox_true" unchecked="checkbox_false" />
2071 </object>
2072
2073 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002074 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002075 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002076 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 <data variable="tw_simulate_actions" />
2078 <image checked="checkbox_true" unchecked="checkbox_false" />
2079 </object>
2080
2081 <object type="checkbox">
2082 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002083 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002084 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002085 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002086 <data variable="tw_simulate_fail" />
2087 <image checked="checkbox_true" unchecked="checkbox_false" />
2088 </object>
2089
2090 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002091 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002092 <placement x="%col1_x%" y="%row3_y%" />
2093 <font resource="font" color="%button_text_color%" />
2094 <text>Time Zone</text>
2095 <image resource="main_button" />
2096 <action function="page">timezone</action>
2097 </object>
2098
2099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002100 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002101 <placement x="%col2_x%" y="%row3_y%" />
2102 <font resource="font" color="%button_text_color%" />
2103 <text>Screen</text>
2104 <image resource="main_button" />
2105 <action function="page">screen</action>
2106 </object>
2107
2108 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002109 <placement x="%col_center_x%" y="%row4_y%" />
2110 <font resource="font" color="%button_text_color%" />
2111 <text>Restore Defaults</text>
2112 <image resource="main_button" />
2113 <action function="restoredefaultsettings"></action>
2114 </object>
2115
2116 <object type="action">
2117 <touch key="home" />
2118 <action function="page">main</action>
2119 </object>
2120
2121 <object type="action">
2122 <touch key="back" />
2123 <action function="page">main</action>
2124 </object>
2125
2126 <object type="template" name="footer" />
2127 </page>
2128
2129 <page name="timezone">
2130 <object type="template" name="header" />
2131
Dees_Troy51a0e822012-09-05 15:24:24 -04002132 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002133 <highlight color="%fileselector_highlight_color%" />
2134 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2135 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002136 <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 -06002137 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002139 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002140 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002141 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002142 <data name="tw_time_zone_guisel" />
2143 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2144 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2145 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2146 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2147 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2148 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2149 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2150 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2151 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2152 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2153 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2154 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2155 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2156 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2157 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2158 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2159 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2160 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2161 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2162 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2163 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2164 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2165 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2166 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2167 </object>
2168
2169 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002170 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002171 <font resource="font" color="%text_color%" />
2172 <text>Do you use daylight savings time (DST)?</text>
2173 <data variable="tw_time_zone_guidst" />
2174 <image checked="checkbox_true" unchecked="checkbox_false" />
2175 </object>
2176
2177 <object type="text" color="%text_color%">
2178 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002179 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002180 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2181 </object>
2182
2183 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002184 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002185 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002186 <font resource="font" color="%button_text_color%" />
2187 <text>None</text>
2188 <image resource="medium_button" />
2189 <action function="set">tw_time_zone_guioffset=0</action>
2190 </object>
2191
2192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002193 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002194 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002195 <font resource="font" color="%button_text_color%" />
2196 <text>15</text>
2197 <image resource="medium_button" />
2198 <action function="set">tw_time_zone_guioffset=15</action>
2199 </object>
2200
2201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002202 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002203 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002204 <font resource="font" color="%button_text_color%" />
2205 <text>30</text>
2206 <image resource="medium_button" />
2207 <action function="set">tw_time_zone_guioffset=30</action>
2208 </object>
2209
2210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002211 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002212 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002213 <font resource="font" color="%button_text_color%" />
2214 <text>45</text>
2215 <image resource="medium_button" />
2216 <action function="set">tw_time_zone_guioffset=45</action>
2217 </object>
2218
2219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002221 <placement x="%col_center_x%" y="%tz_set_y%" />
2222 <font resource="font" color="%button_text_color%" />
2223 <text>Set Time Zone</text>
2224 <image resource="main_button" />
2225 <action function="setguitimezone"></action>
2226 </object>
2227
2228 <object type="text" color="%text_color%">
2229 <font resource="font" />
2230 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2231 <text>Current Time Zone: %tw_time_zone%</text>
2232 </object>
2233
2234 <object type="action">
2235 <touch key="home" />
2236 <action function="page">main</action>
2237 </object>
2238
2239 <object type="action">
2240 <touch key="back" />
2241 <action function="page">settings</action>
2242 </object>
2243
2244 <object type="template" name="footer" />
2245 </page>
2246
Dees_Troy2f9117a2013-02-17 19:52:09 -06002247 <page name="screen">
2248 <object type="template" name="header" />
2249
2250 <object type="text" color="%text_color%">
2251 <font resource="font" />
2252 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2253 <text>Screen Settings</text>
2254 </object>
2255
2256 <object type="text" color="%text_color%">
2257 <font resource="font" />
2258 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2259 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2260 </object>
2261
2262 <object type="button">
2263 <placement x="%col1_medium_x%" y="%row2_y%" />
2264 <font resource="font" color="%button_text_color%" />
2265 <text>None</text>
2266 <image resource="medium_button" />
2267 <action function="set">tw_screen_timeout_secs=0</action>
2268 </object>
2269
2270 <object type="button">
2271 <placement x="%col2_medium_x%" y="%row2_y%" />
2272 <font resource="font" color="%button_text_color%" />
2273 <text>60</text>
2274 <image resource="medium_button" />
2275 <action function="set">tw_screen_timeout_secs=60</action>
2276 </object>
2277
2278 <object type="button">
2279 <placement x="%col3_medium_x%" y="%row2_y%" />
2280 <font resource="font" color="%button_text_color%" />
2281 <text>120</text>
2282 <image resource="medium_button" />
2283 <action function="set">tw_screen_timeout_secs=120</action>
2284 </object>
2285
2286 <object type="button">
2287 <placement x="%col4_medium_x%" y="%row2_y%" />
2288 <font resource="font" color="%button_text_color%" />
2289 <text>180</text>
2290 <image resource="medium_button" />
2291 <action function="set">tw_screen_timeout_secs=180</action>
2292 </object>
2293
2294 <object type="text" color="%text_color%">
2295 <condition var1="tw_has_brightnesss_file" var2="1" />
2296 <font resource="font" />
2297 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2298 <text>Brightness: %tw_brightness_display%</text>
2299 </object>
2300
2301 <object type="button">
2302 <condition var1="tw_has_brightnesss_file" var2="1" />
2303 <placement x="%col1_medium_x%" y="%row4_y%" />
2304 <font resource="font" color="%button_text_color%" />
2305 <text>25%</text>
2306 <image resource="medium_button" />
2307 <actions>
2308 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2309 <action function="set">tw_brightness_display=25%</action>
2310 <action function="set">tw_brightness=%tw_brightness_25%</action>
2311 </actions>
2312 </object>
2313
2314 <object type="button">
2315 <condition var1="tw_has_brightnesss_file" var2="1" />
2316 <placement x="%col2_medium_x%" y="%row4_y%" />
2317 <font resource="font" color="%button_text_color%" />
2318 <text>50%</text>
2319 <image resource="medium_button" />
2320 <actions>
2321 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2322 <action function="set">tw_brightness_display=50%</action>
2323 <action function="set">tw_brightness=%tw_brightness_50%</action>
2324 </actions>
2325 </object>
2326
2327 <object type="button">
2328 <condition var1="tw_has_brightnesss_file" var2="1" />
2329 <placement x="%col3_medium_x%" y="%row4_y%" />
2330 <font resource="font" color="%button_text_color%" />
2331 <text>75%</text>
2332 <image resource="medium_button" />
2333 <actions>
2334 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2335 <action function="set">tw_brightness_display=75%</action>
2336 <action function="set">tw_brightness=%tw_brightness_75%</action>
2337 </actions>
2338 </object>
2339
2340 <object type="button">
2341 <condition var1="tw_has_brightnesss_file" var2="1" />
2342 <placement x="%col4_medium_x%" y="%row4_y%" />
2343 <font resource="font" color="%button_text_color%" />
2344 <text>100%</text>
2345 <image resource="medium_button" />
2346 <actions>
2347 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2348 <action function="set">tw_brightness_display=100%</action>
2349 <action function="set">tw_brightness=%tw_brightness_100%</action>
2350 </actions>
2351 </object>
2352
2353 <object type="action">
2354 <touch key="home" />
2355 <action function="page">main</action>
2356 </object>
2357
2358 <object type="action">
2359 <touch key="back" />
2360 <action function="page">settings</action>
2361 </object>
2362
2363 <object type="template" name="footer" />
2364 </page>
2365
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <page name="advanced">
2367 <object type="template" name="header" />
2368
2369 <object type="text" color="%text_color%">
2370 <font resource="font" />
2371 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2372 <text>Advanced</text>
2373 </object>
2374
2375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002377 <placement x="%col1_x%" y="%row1_y%" />
2378 <font resource="font" color="%button_text_color%" />
2379 <text>Copy Log to SD</text>
2380 <image resource="main_button" />
2381 <actions>
2382 <action function="set">tw_back=advanced</action>
2383 <action function="set">tw_action=copylog</action>
2384 <action function="set">tw_text1=Copy Log to SD Card?</action>
2385 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2386 <action function="set">tw_complete_text1=Log Copy Complete</action>
2387 <action function="set">tw_slider_text=Swipe to Confirm</action>
2388 <action function="page">confirm_action</action>
2389 </actions>
2390 </object>
2391
2392 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002393 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <placement x="%col2_x%" y="%row1_y%" />
2395 <font resource="font" color="%button_text_color%" />
2396 <text>Fix Permissions</text>
2397 <image resource="main_button" />
2398 <actions>
2399 <action function="set">tw_back=advanced</action>
2400 <action function="set">tw_action=fixpermissions</action>
2401 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2404 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002405 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <action function="page">confirm_action</action>
2407 </actions>
2408 </object>
2409
2410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <condition var1="tw_allow_partition_sdcard" var2="1" />
2413 <placement x="%col1_x%" y="%row2_y%" />
2414 <font resource="font" color="%button_text_color%" />
2415 <text>Partition SD Card</text>
2416 <image resource="main_button" />
2417 <action function="page">partsdcard</action>
2418 </object>
2419
2420 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002421 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <placement x="%col2_x%" y="%row2_y%" />
2423 <font resource="font" color="%button_text_color%" />
2424 <text>File Manager</text>
2425 <image resource="main_button" />
2426 <action function="page">filemanagerlist</action>
2427 </object>
2428
2429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <placement x="%col1_x%" y="%row3_y%" />
2432 <font resource="font" color="%button_text_color%" />
2433 <text>Terminal Command</text>
2434 <image resource="main_button" />
2435 <action function="page">terminalfolder</action>
2436 </object>
2437
2438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002439 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002440 <placement x="%col2_x%" y="%row3_y%" />
2441 <font resource="font" color="%button_text_color%" />
2442 <text>Reload Theme</text>
2443 <image resource="main_button" />
2444 <action function="reload"></action>
2445 </object>
2446
2447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002448 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002449 <placement x="%col1_x%" y="%row4_y%" />
2450 <font resource="font" color="%button_text_color%" />
2451 <text>ADB Sideload</text>
2452 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002453 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002454 </object>
2455
2456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <condition var1="tw_show_dumlock" var2="1" />
2459 <placement x="%col2_x%" y="%row4_y%" />
2460 <font resource="font" color="%button_text_color%" />
2461 <text>HTC Dumlock</text>
2462 <image resource="main_button" />
2463 <action function="page">htcdumlock</action>
2464 </object>
2465
2466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002468 <condition var1="tw_has_injecttwrp" var2="1" />
2469 <placement x="%col2_x%" y="%row4_y%" />
2470 <font resource="font" color="%button_text_color%" />
2471 <text>Re-Inject TWRP</text>
2472 <image resource="main_button" />
2473 <actions>
2474 <action function="set">tw_back=advanced</action>
2475 <action function="set">tw_action=reinjecttwrp</action>
2476 <action function="set">tw_text1=Re-Inject TWRP?</action>
2477 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2478 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2479 <action function="set">tw_slider_text=Swipe to Confirm</action>
2480 <action function="page">confirm_action</action>
2481 </actions>
2482 </object>
2483
2484 <object type="action">
2485 <touch key="home" />
2486 <action function="page">main</action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="back" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="template" name="footer" />
2495 </page>
2496
2497 <page name="partsdcard">
2498 <object type="template" name="header" />
2499
2500 <object type="text" color="%text_color%">
2501 <font resource="font" />
2502 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2503 <text>Partition SD Card</text>
2504 </object>
2505
2506 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002507 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 <placement x="%col1_x%" y="%row1_y%" />
2509 <font resource="font" color="%button_text_color%" />
2510 <text></text>
2511 <image resource="minus_button" />
2512 <action function="addsubtract">tw_sdext_size-128</action>
2513 </object>
2514
2515 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002516 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <placement x="%sd_plus_x%" y="%row1_y%" />
2518 <font resource="font" color="%button_text_color%" />
2519 <text></text>
2520 <image resource="plus_button" />
2521 <action function="addsubtract">tw_sdext_size+128</action>
2522 </object>
2523
2524 <object type="text" color="%text_color%">
2525 <font resource="font" />
2526 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2527 <text>EXT Size: %tw_sdext_size%</text>
2528 </object>
2529
2530 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002531 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <placement x="%col1_x%" y="%sdswap_button_y%" />
2533 <font resource="font" color="%button_text_color%" />
2534 <text></text>
2535 <image resource="minus_button" />
2536 <action function="addsubtract">tw_swap_size-32</action>
2537 </object>
2538
2539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002540 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002541 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2542 <font resource="font" color="%button_text_color%" />
2543 <text></text>
2544 <image resource="plus_button" />
2545 <action function="addsubtract">tw_swap_size+32</action>
2546 </object>
2547
2548 <object type="text" color="%text_color%">
2549 <font resource="font" />
2550 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2551 <text>Swap Size: %tw_swap_size%</text>
2552 </object>
2553
2554 <object type="text" color="%text_color%">
2555 <font resource="font" />
2556 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2557 <text>File system: %tw_sdpart_file_system%</text>
2558 </object>
2559
2560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002562 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>EXT3</text>
2565 <image resource="main_button" />
2566 <action function="set">tw_sdpart_file_system=ext3</action>
2567 </object>
2568
2569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <condition var1="tw_sdext_disable_ext4" var2="0" />
2572 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2573 <font resource="font" color="%button_text_color%" />
2574 <text>EXT4</text>
2575 <image resource="main_button" />
2576 <action function="set">tw_sdpart_file_system=ext4</action>
2577 </object>
2578
2579 <object type="text" color="%text_color%">
2580 <font resource="font" />
2581 <placement x="%col1_x%" y="%row12_text_y%" />
2582 <text>You will lose all files on your SD card!</text>
2583 </object>
2584
2585 <object type="text" color="%text_color%">
2586 <font resource="font" />
2587 <placement x="%col1_x%" y="%row13_text_y%" />
2588 <text>This action cannot be undone!</text>
2589 </object>
2590
2591 <object type="slider">
2592 <placement x="%slider_x%" y="%slider_y%" />
2593 <resource base="slider" used="slider-used" touch="slider-touch" />
2594 <action function="page">partsdcardaction</action>
2595 <actions>
2596 <action function="set">tw_back=partsdcard</action>
2597 <action function="set">tw_action=partitionsd</action>
2598 <action function="set">tw_has_action2=1</action>
2599 <action function="set">tw_action2=set</action>
2600 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2601 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2602 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002603 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002604 <action function="page">action_page</action>
2605 </actions>
2606 </object>
2607
2608 <object type="text" color="%text_color%">
2609 <font resource="font" />
2610 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2611 <text>Swipe to Partition</text>
2612 </object>
2613
2614 <object type="action">
2615 <touch key="home" />
2616 <action function="page">main</action>
2617 </object>
2618
2619 <object type="action">
2620 <touch key="back" />
2621 <action function="page">advanced</action>
2622 </object>
2623
2624 <object type="template" name="footer" />
2625 </page>
2626
2627 <page name="htcdumlock">
2628 <object type="template" name="header" />
2629
2630 <object type="text" color="%text_color%">
2631 <font resource="font" />
2632 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2633 <text>HTC Dumlock</text>
2634 </object>
2635
2636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002638 <condition var1="tw_show_dumlock" var2="1" />
2639 <placement x="%col1_x%" y="%row1_y%" />
2640 <font resource="font" color="%button_text_color%" />
2641 <text>Restore Original Boot</text>
2642 <image resource="main_button" />
2643 <actions>
2644 <action function="set">tw_back=htcdumlock</action>
2645 <action function="set">tw_action=htcdumlockrestoreboot</action>
2646 <action function="set">tw_text1=Restore original boot image?</action>
2647 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2648 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2649 <action function="set">tw_slider_text=Swipe to Confirm</action>
2650 <action function="page">confirm_action</action>
2651 </actions>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <condition var1="tw_show_dumlock" var2="1" />
2657 <placement x="%col2_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Reflash Recovery</text>
2660 <image resource="main_button" />
2661 <actions>
2662 <action function="set">tw_back=htcdumlock</action>
2663 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2664 <action function="set">tw_text1=Reflash recovery to boot?</action>
2665 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2666 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2667 <action function="set">tw_slider_text=Swipe to Confirm</action>
2668 <action function="page">confirm_action</action>
2669 </actions>
2670 </object>
2671
2672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002673 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002674 <condition var1="tw_show_dumlock" var2="1" />
2675 <placement x="%col1_x%" y="%row2_y%" />
2676 <font resource="font" color="%button_text_color%" />
2677 <text>Install HTC Dumlock</text>
2678 <image resource="main_button" />
2679 <actions>
2680 <action function="set">tw_back=htcdumlock</action>
2681 <action function="set">tw_action=installhtcdumlock</action>
2682 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2683 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2684 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2685 <action function="set">tw_slider_text=Swipe to Confirm</action>
2686 <action function="page">confirm_action</action>
2687 </actions>
2688 </object>
2689
2690 <object type="action">
2691 <touch key="home" />
2692 <action function="page">main</action>
2693 </object>
2694
2695 <object type="action">
2696 <touch key="back" />
2697 <action function="page">advanced</action>
2698 </object>
2699
2700 <object type="template" name="footer" />
2701 </page>
2702
2703 <page name="lock">
2704 <background color="#000000A0" />
2705
2706 <object type="image">
2707 <image resource="unlock-icon" />
2708 <placement x="%lock_x%" y="%lock_y%" />
2709 </object>
2710
2711 <object type="slider">
2712 <placement x="%slider_x%" y="%slider_y%" />
2713 <resource base="slider" used="slider-used" touch="slider-touch" />
2714 <action function="overlay"></action>
2715 </object>
2716
2717 <object type="text" color="%text_color%">
2718 <font resource="font" />
2719 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2720 <text>Swipe to Unlock</text>
2721 </object>
2722 </page>
2723
2724 <page name="filemanagerlist">
2725 <object type="template" name="header" />
2726
2727 <object type="text" color="%text_color%">
2728 <font resource="font" />
2729 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2730 <text>File Manager: Select a File or Folder</text>
2731 </object>
2732
2733 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002734 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2736 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002737 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <text>%tw_file_location1%</text>
2739 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2740 <sort name="tw_gui_sort_order" />
2741 <icon folder="folder_icon" file="file_icon" />
2742 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002743 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <folders="1" files="1" />
2745 <path name="tw_file_location1" default="/" />
2746 <data name="tw_filename1" />
2747 <selection name="tw_selection1" />
2748 </object>
2749
2750 <object type="template" name="sort_options" />
2751
2752 <object type="action">
2753 <actions>
2754 <action function="set">tw_fm_type=File</action>
2755 <action function="set">tw_fm_isfolder=0</action>
2756 </actions>
2757 </object>
2758
2759 <object type="action">
2760 <touch key="home" />
2761 <action function="page">main</action>
2762 </object>
2763
2764 <object type="action">
2765 <touch key="back" />
2766 <action function="page">advanced</action>
2767 </object>
2768
2769 <object type="action">
2770 <condition var1="tw_filename1" op="modified" />
2771 <actions>
2772 <action function="page">filemanageroptions</action>
2773 </actions>
2774 </object>
2775
2776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text>Select</text>
2781 <image resource="medium_button" />
2782 <actions>
2783 <action function="set">tw_filename1=tw_file_location1</action>
2784 <action function="set">tw_fm_isfolder=1</action>
2785 <action function="set">tw_fm_type=Folder</action>
2786 <action function="page">filemanageroptions</action>
2787 </actions>
2788 </object>
2789
2790 <object type="template" name="footer" />
2791 </page>
2792
2793 <page name="filemanageroptions">
2794 <object type="template" name="header" />
2795
2796 <object type="text" color="%text_color%">
2797 <font resource="font" />
2798 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2799 <text>%tw_fm_type% Selected:</text>
2800 </object>
2801
2802 <object type="text" color="%text_color%">
2803 <font resource="font" />
2804 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2805 <text>%tw_filename1%</text>
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <condition var1="tw_fm_isfolder" var2="0" />
2811 <placement x="%col1_x%" y="%row2_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>Copy File</text>
2814 <image resource="main_button" />
2815 <actions>
2816 <action function="set">tw_filemanager_command=cp</action>
2817 <action function="set">tw_fm_text1=Copying</action>
2818 <action function="page">choosedestinationfolder</action>
2819 </actions>
2820 </object>
2821
2822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002823 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002824 <condition var1="tw_fm_isfolder" var2="1" />
2825 <placement x="%col1_x%" y="%row2_y%" />
2826 <font resource="font" color="%button_text_color%" />
2827 <text>Copy Folder</text>
2828 <image resource="main_button" />
2829 <actions>
2830 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2831 <action function="set">tw_fm_text1=Copying</action>
2832 <action function="page">choosedestinationfolder</action>
2833 </actions>
2834 </object>
2835
2836 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002837 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002838 <placement x="%col2_x%" y="%row2_y%" />
2839 <font resource="font" color="%button_text_color%" />
2840 <text>Move</text>
2841 <image resource="main_button" />
2842 <actions>
2843 <action function="set">tw_filemanager_command=mv</action>
2844 <action function="set">tw_fm_text1=Moving</action>
2845 <action function="page">choosedestinationfolder</action>
2846 </actions>
2847 </object>
2848
2849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002850 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002851 <placement x="%col1_x%" y="%row3_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text>chmod 755</text>
2854 <image resource="main_button" />
2855 <actions>
2856 <action function="set">tw_filemanager_command=chmod 755</action>
2857 <action function="set">tw_fm_text1=chmod 755</action>
2858 <action function="set">tw_fm_text2=</action>
2859 <action function="set">tw_fm_text3=</action>
2860 <action function="set">tw_include_text3=0</action>
2861 <action function="set">tw_back=filemanageroptions</action>
2862 <action function="page">filemanagerconfirm</action>
2863 </actions>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <placement x="%col2_x%" y="%row3_y%" />
2869 <font resource="font" color="%button_text_color%" />
2870 <text>chmod</text>
2871 <image resource="main_button" />
2872 <actions>
2873 <action function="set">tw_filemanager_rename=0000</action>
2874 <action function="set">tw_fm_text2=</action>
2875 <action function="set">tw_fm_text3=</action>
2876 <action function="set">tw_include_text3=0</action>
2877 <action function="set">tw_back=filemanageroptions</action>
2878 <action function="page">filemanagerchmod</action>
2879 </actions>
2880 </object>
2881
2882 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002883 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002884 <placement x="%col1_x%" y="%row4_y%" />
2885 <font resource="font" color="%button_text_color%" />
2886 <text>Delete</text>
2887 <image resource="main_button" />
2888 <actions>
2889 <action function="set">tw_filemanager_command=rm -rf</action>
2890 <action function="set">tw_fm_text1=Deleting</action>
2891 <action function="set">tw_fm_text2=</action>
2892 <action function="set">tw_fm_text3=</action>
2893 <action function="set">tw_include_text3=0</action>
2894 <action function="set">tw_back=filemanageroptions</action>
2895 <action function="page">filemanagerconfirm</action>
2896 </actions>
2897 </object>
2898
2899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002900 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002901 <condition var1="tw_fm_isfolder" var2="0" />
2902 <placement x="%col2_x%" y="%row4_y%" />
2903 <font resource="font" color="%button_text_color%" />
2904 <text>Rename File</text>
2905 <image resource="main_button" />
2906 <actions>
2907 <action function="set">tw_filemanager_rename=tw_selection1</action>
2908 <action function="set">tw_fm_text1=Renaming</action>
2909 <action function="set">tw_filemanager_command=mv</action>
2910 <action function="page">filemanagerrenamefile</action>
2911 </actions>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <condition var1="tw_fm_isfolder" var2="1" />
2917 <placement x="%col2_x%" y="%row4_y%" />
2918 <font resource="font" color="%button_text_color%" />
2919 <text>Rename Folder</text>
2920 <image resource="main_button" />
2921 <actions>
2922 <action function="set">tw_filemanager_rename=tw_selection1</action>
2923 <action function="set">tw_fm_text1=Renaming</action>
2924 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2925 <action function="page">filemanagerrenamefolder</action>
2926 </actions>
2927 </object>
2928
2929 <object type="action">
2930 <touch key="home" />
2931 <action function="page">main</action>
2932 </object>
2933
2934 <object type="action">
2935 <touch key="back" />
2936 <action function="page">filemanagerlist</action>
2937 </object>
2938
2939 <object type="template" name="footer" />
2940 </page>
2941
2942 <page name="choosedestinationfolder">
2943 <object type="template" name="header" />
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2948 <text>Browse to Destination Folder & Press Select</text>
2949 </object>
2950
2951 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002952 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002953 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2954 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002955 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002956 <text>%tw_file_location2%</text>
2957 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2958 <sort name="tw_gui_sort_order" />
2959 <icon folder="folder_icon" file="file_icon" />
2960 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002961 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002962 <filter folders="1" files="0" />
2963 <path name="tw_file_location2" default="/" />
2964 <data name="tw_filename2" />
2965 <selection name="tw_selection2" />
2966 </object>
2967
2968 <object type="template" name="sort_options" />
2969
2970 <object type="action">
2971 <touch key="home" />
2972 <action function="page">main</action>
2973 </object>
2974
2975 <object type="action">
2976 <touch key="back" />
2977 <action function="page">filemanageroptions</action>
2978 </object>
2979
2980 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002981 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002982 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2983 <font resource="font" color="%button_text_color%" />
2984 <text>Select</text>
2985 <image resource="medium_button" />
2986 <actions>
2987 <action function="set">tw_fm_text2=to</action>
2988 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2989 <action function="set">tw_include_text3=1</action>
2990 <action function="set">tw_back=filemanageroptions</action>
2991 <action function="page">filemanagerconfirm</action>
2992 </actions>
2993 </object>
2994
2995 <object type="template" name="footer" />
2996 </page>
2997
2998 <page name="filemanagerrenamefile">
2999 <object type="template" name="header" />
3000
3001 <object type="text" color="%text_color%">
3002 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3003 <font resource="font" />
3004 <text>Please Enter a New %tw_fm_type% Name</text>
3005 </object>
3006
3007 <object type="input">
3008 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3009 <background color="%input_background_color%" />
3010 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3011 <font resource="font" color="%text_color%" />
3012 <text>%tw_filemanager_rename%</text>
3013 <data name="tw_filemanager_rename" />
3014 <restrict minlen="1" maxlen="128" />
3015 <actions>
3016 <action function="set">tw_fm_text2=to</action>
3017 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3018 <action function="set">tw_include_text3=1</action>
3019 <action function="set">tw_back=filemanageroptions</action>
3020 <action function="page">filemanagerconfirm</action>
3021 </actions>
3022 </object>
3023
3024 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003025 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003026 <placement x="%col_center_x%" y="%row2_y%" />
3027 <font resource="font" color="%button_text_color%" />
3028 <text>Cancel</text>
3029 <image resource="main_button" />
3030 <action function="page">filemanageroptions</action>
3031 </object>
3032
3033 <object type="template" name="keyboardtemplate" />
3034
3035 <object type="action">
3036 <touch key="home" />
3037 <action function="page">main</action>
3038 </object>
3039
3040 <object type="action">
3041 <touch key="back" />
3042 <action function="page">filemanageroptions</action>
3043 </object>
3044
3045 <object type="template" name="footer" />
3046 </page>
3047
3048 <page name="filemanagerrenamefolder">
3049 <object type="template" name="header" />
3050
3051 <object type="text" color="%text_color%">
3052 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3053 <font resource="font" />
3054 <text>Please Enter a New %tw_fm_type% Name</text>
3055 </object>
3056
3057 <object type="input">
3058 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3059 <background color="%input_background_color%" />
3060 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3061 <font resource="font" color="%text_color%" />
3062 <text>%tw_filemanager_rename%</text>
3063 <data name="tw_filemanager_rename" />
3064 <restrict minlen="1" maxlen="128" />
3065 <actions>
3066 <action function="set">tw_fm_text2=to</action>
3067 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3068 <action function="set">tw_include_text3=1</action>
3069 <action function="set">tw_back=filemanageroptions</action>
3070 <action function="page">filemanagerconfirm</action>
3071 </actions>
3072 </object>
3073
3074 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003075 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003076 <placement x="%col_center_x%" y="%row2_y%" />
3077 <font resource="font" color="%button_text_color%" />
3078 <text>Cancel</text>
3079 <image resource="main_button" />
3080 <action function="page">filemanageroptions</action>
3081 </object>
3082
3083 <object type="template" name="keyboardtemplate" />
3084
3085 <object type="action">
3086 <touch key="home" />
3087 <action function="page">main</action>
3088 </object>
3089
3090 <object type="action">
3091 <touch key="back" />
3092 <action function="page">filemanageroptions</action>
3093 </object>
3094
3095 <object type="template" name="footer" />
3096 </page>
3097
3098 <page name="filemanagerchmod">
3099 <object type="template" name="header" />
3100
3101 <object type="text" color="%text_color%">
3102 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3103 <font resource="font" />
3104 <text>Please Enter New Permissions</text>
3105 </object>
3106
3107 <object type="input">
3108 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3109 <background color="%input_background_color%" />
3110 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3111 <font resource="font" color="%text_color%" />
3112 <text>%tw_filemanager_rename%</text>
3113 <data name="tw_filemanager_rename" />
3114 <restrict minlen="3" maxlen="4" allow="0123456789" />
3115 <actions>
3116 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3117 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3118 <action function="set">tw_back=filemanageroptions</action>
3119 <action function="page">filemanagerconfirm</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <placement x="%col_center_x%" y="%row2_y%" />
3126 <font resource="font" color="%button_text_color%" />
3127 <text>Cancel</text>
3128 <image resource="main_button" />
3129 <action function="page">filemanageroptions</action>
3130 </object>
3131
3132 <object type="template" name="keyboardtemplate" />
3133
3134 <object type="action">
3135 <touch key="home" />
3136 <action function="page">main</action>
3137 </object>
3138
3139 <object type="action">
3140 <touch key="back" />
3141 <action function="page">filemanageroptions</action>
3142 </object>
3143
3144 <object type="template" name="footer" />
3145 </page>
3146
3147 <page name="filemanagerconfirm">
3148 <object type="template" name="header" />
3149
3150 <object type="text" color="%text_color%">
3151 <font resource="font" />
3152 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3153 <text>%tw_fm_text1%</text>
3154 </object>
3155
3156 <object type="text" color="%text_color%">
3157 <font resource="font" />
3158 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3159 <text>%tw_filename1%</text>
3160 </object>
3161
3162 <object type="text" color="%text_color%">
3163 <font resource="font" />
3164 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3165 <text>%tw_fm_text2%</text>
3166 </object>
3167
3168 <object type="text" color="%text_color%">
3169 <font resource="font" />
3170 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3171 <text>%tw_fm_text3%</text>
3172 </object>
3173
3174 <object type="text" color="%text_color%">
3175 <font resource="font" />
3176 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3177 <text>Press back button to cancel.</text>
3178 </object>
3179
3180 <object type="slider">
3181 <placement x="%slider_x%" y="%slider_y%" />
3182 <resource base="slider" used="slider-used" touch="slider-touch" />
3183 <action function="page">filemanageracction</action>
3184 </object>
3185
3186 <object type="text" color="%text_color%">
3187 <font resource="font" />
3188 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3189 <text>Swipe to Confirm</text>
3190 </object>
3191
3192 <object type="action">
3193 <touch key="back" />
3194 <action function="page">%tw_back%</action>
3195 </object>
3196
3197 <object type="action">
3198 <touch key="home" />
3199 <action function="page">main</action>
3200 </object>
3201
3202 <object type="template" name="footer" />
3203 </page>
3204
3205 <page name="filemanageracction">
3206 <object type="template" name="header" />
3207
3208 <object type="text" color="%text_color%">
3209
3210 <font resource="font" />
3211 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3212 <text>%tw_fm_text1%</text>
3213 </object>
3214
3215 <object type="template" name="action_page_console" />
3216
3217 <object type="template" name="progress_bar" />
3218
3219 <object type="action">
3220 <conditions>
3221 <condition var1="tw_operation_state" var2="1" />
3222 <condition var1="tw_operation_status" var2="0" />
3223 </conditions>
3224 <actions>
3225 <action function="set">tw_back=filemanagerlist</action>
3226 <action function="set">tw_complete_text1=File Operation Complete</action>
3227 <action function="page">action_complete</action>
3228 </actions>
3229 </object>
3230
3231 <object type="action">
3232 <conditions>
3233 <condition var1="tw_operation_state" var2="1" />
3234 <condition var1="tw_operation_status" op="!=" var2="0" />
3235 </conditions>
3236 <actions>
3237 <action function="set">tw_complete_text1=File Operation Complete</action>
3238 <action function="page">action_complete</action>
3239 </actions>
3240 </object>
3241
3242 <object type="action">
3243 <condition var1="tw_include_text3" var2="0" />
3244 <actions>
3245 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3246 </actions>
3247 </object>
3248
3249 <object type="action">
3250 <condition var1="tw_include_text3" var2="1" />
3251 <actions>
3252 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3253 </actions>
3254 </object>
3255 </page>
3256
3257 <page name="decrypt">
3258 <object type="template" name="header" />
3259
3260 <object type="text" color="%text_color%">
3261 <font resource="font" />
3262 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3263 <text>Please Enter Your Password</text>
3264 </object>
3265
3266 <object type="input">
3267 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3268 <background color="%input_background_color%" />
3269 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3270 <font resource="font" color="%text_color%" />
3271 <text>%tw_crypto_display%</text>
3272 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3273 <restrict minlen="1" maxlen="254" />
3274 <actions>
3275 <action function="page">trydecrypt</action>
3276 </actions>
3277 </object>
3278
3279 <object type="text" color="%text_fail_color%">
3280 <condition var1="tw_password_fail" var2="1" />
3281 <font resource="font" />
3282 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3283 <text>Password Failed, Please Try Again</text>
3284 </object>
3285
3286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <placement x="%col_center_x%" y="%row2_y%" />
3289 <font resource="font" color="%button_text_color%" />
3290 <text>Cancel</text>
3291 <image resource="main_button" />
3292 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003293 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003294 <action function="page">main</action>
3295 </actions>
3296 </object>
3297
3298 <object type="template" name="keyboardtemplate" />
3299
Dees_Troy51a0e822012-09-05 15:24:24 -04003300 <object type="template" name="footer" />
3301 </page>
3302
3303 <page name="trydecrypt">
3304 <object type="template" name="header" />
3305
3306 <object type="text" color="%text_color%">
3307 <font resource="font" />
3308 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3309 <text>Trying Decryption with Your Password</text>
3310 </object>
3311
3312 <object type="template" name="action_page_console" />
3313
3314 <object type="template" name="progress_bar" />
3315
3316 <object type="action">
3317 <action function="decrypt"></action>
3318 </object>
3319
3320 <object type="action">
3321 <conditions>
3322 <condition var1="tw_operation_state" var2="1" />
3323 <condition var1="tw_operation_status" op="!=" var2="0" />
3324 </conditions>
3325 <actions>
3326 <action function="set">tw_password_fail=1</action>
3327 <action function="page">decrypt</action>
3328 </actions>
3329 </object>
3330
3331 <object type="action">
3332 <conditions>
3333 <condition var1="tw_operation_state" var2="1" />
3334 <condition var1="tw_operation_status" op="=" var2="0" />
3335 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003336 <actions>
3337 <action function="set">tw_page_done=1</action>
3338 <action function="page">main</action>
3339 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 </object>
3341 </page>
3342
3343 <page name="terminalfolder">
3344 <object type="template" name="header" />
3345
3346 <object type="text" color="%text_color%">
3347 <font resource="font" />
3348 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3349 <text>Browse to Starting Folder</text>
3350 </object>
3351
3352 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003353 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003354 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3355 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003356 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003357 <text>%tw_terminal_location%</text>
3358 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3359 <sort name="tw_gui_sort_order" />
3360 <icon folder="folder_icon" file="file_icon" />
3361 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003362 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003363 <filter folders="1" files="0" />
3364 <path name="tw_terminal_location" default="/" />
3365 <data name="tw_terminal" />
3366 <selection name="tw_terminal_selection" />
3367 </object>
3368
3369 <object type="template" name="sort_options" />
3370
3371 <object type="action">
3372 <touch key="home" />
3373 <action function="page">main</action>
3374 </object>
3375
3376 <object type="action">
3377 <touch key="back" />
3378 <action function="page">advanced</action>
3379 </object>
3380
3381 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003382 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003383 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3384 <font resource="font" color="%button_text_color%" />
3385 <text>Select</text>
3386 <image resource="medium_button" />
3387 <actions>
3388 <action function="page">terminalcommand</action>
3389 </actions>
3390 </object>
3391
3392 <object type="template" name="footer" />
3393 </page>
3394
3395 <page name="terminalcommand">
3396 <object type="template" name="header" />
3397
3398 <object type="console">
3399 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3400 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3401 <font resource="fixed" />
3402 </object>
3403
3404 <object type="text" color="%text_color%">
3405 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3406 <font resource="font" />
3407 <text>Starting Path: %tw_terminal_location%</text>
3408 </object>
3409
3410 <object type="input">
3411 <condition var1="tw_terminal_state" var2="0" />
3412 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3413 <background color="%input_background_color%" />
3414 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3415 <font resource="font" color="%text_color%" />
3416 <text>%tw_terminal_command%</text>
3417 <data name="tw_terminal_command" />
3418 <restrict minlen="1" />
3419 <action function="terminalcommand">%tw_terminal_command%</action>
3420 </object>
3421
3422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003424 <condition var1="tw_terminal_state" var2="1" />
3425 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3426 <font resource="font" color="%button_text_color%" />
3427 <text>KILL</text>
3428 <image resource="medium_button" />
3429 <action function="killterminal"></action>
3430 </object>
3431
3432 <object type="template" name="keyboardtemplate" />
3433
3434 <object type="action">
3435 <touch key="home" />
3436 <action function="page">main</action>
3437 </object>
3438
3439 <object type="action">
3440 <touch key="back" />
3441 <action function="page">terminalfolder</action>
3442 </object>
3443 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003444
3445 <page name="sideload">
3446 <object type="template" name="header" />
3447
3448 <object type="text" color="%text_color%">
3449 <font resource="font" />
3450 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3451 <text>ADB Sideload</text>
3452 </object>
3453
3454 <object type="checkbox">
3455 <placement x="%col1_x%" y="%row2_text_y%" />
3456 <font resource="font" color="%text_color%" />
3457 <text>Wipe Dalvik Cache.</text>
3458 <data variable="tw_wipe_dalvik" />
3459 <image checked="checkbox_true" unchecked="checkbox_false" />
3460 </object>
3461
3462 <object type="checkbox">
3463 <placement x="%col1_x%" y="%row3_text_y%" />
3464 <font resource="font" color="%text_color%" />
3465 <text>Wipe Cache.</text>
3466 <data variable="tw_wipe_cache" />
3467 <image checked="checkbox_true" unchecked="checkbox_false" />
3468 </object>
3469
3470 <object type="slider">
3471 <placement x="%slider_x%" y="%slider_y%" />
3472 <resource base="slider" used="slider-used" touch="slider-touch" />
3473 <actions>
3474 <action function="set">tw_back=advanced</action>
3475 <action function="set">tw_action=adbsideload</action>
3476 <action function="set">tw_action_text1=ADB Sideload</action>
3477 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3478 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3479 <action function="set">tw_has_cancel=1</action>
3480 <action function="set">tw_show_reboot=1</action>
3481 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3482 <action function="page">action_page</action>
3483 </actions>
3484 </object>
3485
3486 <object type="text" color="%text_color%">
3487 <font resource="font" />
3488 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3489 <text>Swipe to Start Sideload</text>
3490 </object>
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="action">
3498 <touch key="back" />
3499 <action function="page">advanced</action>
3500 </object>
3501
3502 <object type="template" name="footer" />
3503 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003504
3505 <page name="installsu">
3506 <object type="template" name="header" />
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3511 <text>Install SuperSU?</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3517 <text>Your device does not appear to be rooted.</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3523 <text>Install SuperSU now?</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3529 <text>This will root your device.</text>
3530 </object>
3531
3532 <object type="button">
3533 <highlight color="%highlight_color%" />
3534 <placement x="%col_center_x%" y="%row3_y%" />
3535 <font resource="font" color="%button_text_color%" />
3536 <text>Do Not Install</text>
3537 <image resource="main_button" />
3538 <action function="set">tw_page_done=1</action>
3539 </object>
3540
3541 <object type="slider">
3542 <placement x="%slider_x%" y="%slider_y%" />
3543 <resource base="slider" used="slider-used" touch="slider-touch" />
3544 <actions>
3545 <action function="set">tw_action=installsu</action>
3546 <action function="set">tw_action_text1=Installing SuperSU</action>
3547 <action function="set">tw_action_text2=</action>
3548 <action function="page">singleaction_page</action>
3549 </actions>
3550 </object>
3551
3552 <object type="text" color="%text_color%">
3553 <font resource="font" />
3554 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3555 <text>Swipe to Install</text>
3556 </object>
3557 </page>
3558
3559 <page name="fixsu">
3560 <object type="template" name="header" />
3561
3562 <object type="text" color="%text_color%">
3563 <font resource="font" />
3564 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3565 <text>Fix Superuser Permissions?</text>
3566 </object>
3567
3568 <object type="text" color="%text_color%">
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3571 <text>Root permissions appear to be lost.</text>
3572 </object>
3573
3574 <object type="text" color="%text_color%">
3575 <font resource="font" />
3576 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3577 <text>Fix root permissions now?</text>
3578 </object>
3579
3580 <object type="text" color="%text_color%">
3581 <font resource="font" />
3582 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3583 <text>(Fixes permissions on su binary & app)</text>
3584 </object>
3585
3586 <object type="button">
3587 <highlight color="%highlight_color%" />
3588 <placement x="%col_center_x%" y="%row3_y%" />
3589 <font resource="font" color="%button_text_color%" />
3590 <text>Do Not Fix</text>
3591 <image resource="main_button" />
3592 <action function="set">tw_page_done=1</action>
3593 </object>
3594
3595 <object type="slider">
3596 <placement x="%slider_x%" y="%slider_y%" />
3597 <resource base="slider" used="slider-used" touch="slider-touch" />
3598 <actions>
3599 <action function="set">tw_action=fixsu</action>
3600 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3601 <action function="set">tw_action_text2=</action>
3602 <action function="page">singleaction_page</action>
3603 </actions>
3604 </object>
3605
3606 <object type="text" color="%text_color%">
3607 <font resource="font" />
3608 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3609 <text>Swipe to Fix Root</text>
3610 </object>
3611 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003612 </pages>
3613</recovery>