blob: 6ea2e1c6486858b4d7e60ee88832e16dca48e5fc [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" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200180 <variable name="slidervalue_w" value="520" />
181 <variable name="slidervalue_line_clr" value="#FFFFFF" />
182 <variable name="slidervalue_slider_clr" value="#33B5E5" />
183 <variable name="slidervalue_lineh" value="2" />
184 <variable name="slidervalue_padding" value="15" />
185 <variable name="slidervalue_sliderw" value="8" />
186 <variable name="slidervalue_sliderh" value="45" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400187 </variables>
188
189 <templates>
190 <template name="header">
191 <background color="#000000FF" />
192
193 <object type="image">
194 <image resource="top_bar" />
195 <placement x="0" y="0" />
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="100" y="10" />
201 <text>Team Win Recovery Project v%tw_version%</text>
202 </object>
203
204 <object type="text" color="%text_color%">
205 <condition var1="tw_simulate_actions" var2="1" />
206 <font resource="font" />
207 <placement x="100" y="40" />
208 <text>SIMULATING ACTIONS</text>
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="100" y="70" />
214 <text>%tw_time%</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="250" y="70" />
220 <conditions>
221 <condition var1="tw_no_battery_percent" var2="0" />
222 <condition var1="tw_battery" op=">" var2="0" />
223 <condition var1="tw_battery" op="<" var2="101" />
224 </conditions>
225 <text>Battery: %tw_battery%</text>
226 </object>
227
228 <object type="button">
229 <placement x="%home_button_x%" y="%home_button_y%" />
230 <font resource="font" color="%button_text_color%" />
231 <text></text>
232 <image resource="home_icon" />
233 <condition var1="tw_busy" var2="0" />
234 <action function="key">home</action>
235 </object>
236
237 <object type="button">
238 <placement x="%back_button_x%" y="%back_button_y%" />
239 <font resource="font" color="%button_text_color%" />
240 <text></text>
241 <image resource="back_icon" />
242 <condition var1="tw_busy" var2="0" />
243 <action function="key">back</action>
244 </object>
245
246 <object type="action">
247 <touch key="power" />
248 <action function="overlay">lock</action>
249 </object>
250 </template>
251
252 <template name="progress_bar">
253 <object type="progressbar">
254 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
255 <resource empty="progress_empty" full="progress_full" />
256 <data name="ui_progress" />
257 </object>
258
259 <object type="animation">
260 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
261 <resource name="progress" />
262 <speed fps="15" render="2" />
263 <loop frame="1" />
264 </object>
265 </template>
266
267 <template name="action_page_console">
268 <object type="console">
269 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
270 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
271 <font resource="fixed" />
272 </object>
273 </template>
274
275 <template name="sort_options">
276 <object type="text" color="%text_color%">
277 <font resource="font" />
278 <placement x="%col1_x%" y="%sort_asc_text_y%" />
279 <text>Sort Ascending:</text>
280 </object>
281
282 <object type="button">
283 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
284 <font resource="UItext" color="%button_text_color%" />
285 <text>Name</text>
286 <image resource="sort_button" />
287 <action function="set">tw_gui_sort_order=1</action>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
292 <font resource="UItext" color="%button_text_color%" />
293 <text>Date</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=2</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
300 <font resource="UItext" color="%button_text_color%" />
301 <text>Size</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=3</action>
304 </object>
305
306 <object type="text" color="%text_color%">
307 <font resource="font" />
308 <placement x="%col1_x%" y="%sort_desc_text_y%" />
309 <text>Sort Descending:</text>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
314 <font resource="UItext" color="%button_text_color%" />
315 <text>Name</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=-1</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
322 <font resource="UItext" color="%button_text_color%" />
323 <text>Date</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-2</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
330 <font resource="UItext" color="%button_text_color%" />
331 <text>Size</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-3</action>
334 </object>
335 </template>
336
337 <template name="footer">
338 <object type="console">
339 <slideout resource="slideout" x="240" y="920" />
340 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
341 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
342 <font resource="fixed" />
343 </object>
344 </template>
345
346 <template name="keyboardtemplate">
347 <object type="keyboard">
348 <placement x="0" y="600" />
349 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600350 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400351 <layout1>
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:layout2" 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:a:action" />
357 </layout1>
358 <layout2>
359 <keysize height="78" width="54" />
360 <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" />
361 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
362 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
363 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
364 </layout2>
365 <layout3>
366 <keysize height="78" width="54" />
367 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
368 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
369 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
370 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
371 </layout3>
372 <layout4>
373 <keysize height="78" width="54" />
374 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
375 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
376 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
377 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
378 </layout4>
379 </object>
380 </template>
381 </templates>
382
383 <pages>
384 <page name="main">
385 <object type="action">
386 <actions>
387 <action function="set">tw_clear_destination=main2</action>
388 <action function="page">clear_vars</action>
389 </actions>
390 </object>
391 </page>
392
393 <page name="main2">
394 <object type="template" name="header" />
395
396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400398 <placement x="%col1_x%" y="%row1_y%" />
399 <font resource="font" color="%button_text_color%" />
400 <text>Install</text>
401 <image resource="main_button" />
402 <actions>
403 <action function="queueclear"></action>
404 <action function="page">install</action>
405 </actions>
406 </object>
407
408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400410 <placement x="%col2_x%" y="%row1_y%" />
411 <font resource="font" color="%button_text_color%" />
412 <text>Wipe</text>
413 <image resource="main_button" />
414 <action function="page">wipe</action>
415 </object>
416
417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400419 <placement x="%col1_x%" y="%row2_y%" />
420 <font resource="font" color="%button_text_color%" />
421 <text>Backup</text>
422 <image resource="main_button" />
423 <action function="page">backup</action>
424 </object>
425
426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400428 <placement x="%col2_x%" y="%row2_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Restore</text>
431 <image resource="main_button" />
432 <action function="page">restore</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row3_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Mount</text>
440 <image resource="main_button" />
441 <action function="page">mount</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row3_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Settings</text>
449 <image resource="main_button" />
450 <action function="page">settings</action>
451 </object>
452
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col1_x%" y="%row4_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Advanced</text>
459 <image resource="main_button" />
460 <action function="page">advanced</action>
461 </object>
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col2_x%" y="%row4_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Reboot</text>
468 <image resource="main_button" />
469 <action function="page">reboot</action>
470 </object>
471
472 <object type="template" name="footer" />
473 </page>
474
475 <page name="install">
476 <object type="template" name="header" />
477
478 <object type="text" color="%text_color%">
479 <font resource="font" />
480 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
481 <text>Select Zip to Install</text>
482 </object>
483
484 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500485 <highlight color="%highlight_color%" />
486 <fill color="%button_fill_color%" />
487 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
490 <actions>
491 <action function="set">tw_back=install</action>
492 <action function="page">selectstorage</action>
493 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 </object>
495
496 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600497 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100500 <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 -0400501 <text>%tw_zip_location%</text>
502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
503 <sort name="tw_gui_sort_order" />
504 <icon folder="folder_icon" file="file_icon" />
505 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600506 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <filter extn=".zip" folders="1" files="1" />
508 <path name="tw_zip_location" default="/sdcard" />
509 <data name="tw_filename" />
510 <selection name="tw_file" />
511 </object>
512
513 <object type="template" name="sort_options" />
514
515 <object type="action">
516 <condition var1="tw_filename" op="modified" />
517 <actions>
518 <action function="queuezip"></action>
519 <action function="page">flash_confirm</action>
520 </actions>
521 </object>
522
523 <object type="action">
524 <touch key="back" />
525 <action function="page">main</action>
526 </object>
527
528 <object type="action">
529 <touch key="home" />
530 <action function="page">main</action>
531 </object>
532
533 <object type="template" name="footer" />
534 </page>
535
536 <page name="flash_confirm">
537 <object type="template" name="header" />
538
539 <object type="text" color="%text_color%">
540 <font resource="font" />
541 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
542 <text>This operation may install incompatible</text>
543 </object>
544
545 <object type="text" color="%text_color%">
546 <font resource="font" />
547 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
548 <text>software and render your device unusable.</text>
549 </object>
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
554 <text>Folder:</text>
555 </object>
556
557 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400558 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
560 <text>%tw_zip_location%</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
566 <text>File to flash:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
572 <text>%tw_file%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
578 <text>Press back to cancel adding this zip.</text>
579 </object>
580
581 <object type="checkbox">
582 <placement x="%col1_x%" y="%row8_text_y%" />
583 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400584 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <data variable="tw_signed_zip_verify" />
586 <image checked="checkbox_true" unchecked="checkbox_false" />
587 </object>
588
589 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <condition var1="tw_has_injecttwrp" var2="1" />
591 <placement x="%col1_x%" y="%row10_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_inject_after_zip" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="text" color="%text_color%">
599 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400600 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <text>File %tw_zip_queue_count% of max of 10</text>
602 </object>
603
604 <object type="slider">
605 <placement x="%slider_x%" y="%slider_y%" placement="5" />
606 <resource base="slider" used="slider-used" touch="slider-touch" />
607 <action function="flash">flash_zip</action>
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
613 <text>Swipe to Confirm Flash</text>
614 </object>
615
616 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600617 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
619 <placement x="%col1_x%" y="%row_queue_y%" />
620 <font resource="font" color="%button_text_color%" />
621 <text>Add More Zips</text>
622 <image resource="main_button" />
623 <action function="page">install</action>
624 </object>
625
626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400628 <placement x="%col2_x%" y="%row_queue_y%" />
629 <font resource="font" color="%button_text_color%" />
630 <text>Clear Zip Queue</text>
631 <image resource="main_button" />
632 <actions>
633 <action function="queueclear"></action>
634 <action function="page">install</action>
635 </actions>
636 </object>
637
638 <object type="action">
639 <touch key="back" />
640 <actions>
641 <action function="cancelzip"></action>
642 <action function="page">install</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <touch key="home" />
648 <action function="page">main</action>
649 </object>
650
651 <object type="template" name="footer" />
652 </page>
653
654 <page name="flash_zip">
655 <object type="template" name="header" />
656
657 <object type="console">
658 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
659 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
660 <font resource="fixed" />
661 </object>
662
663 <object type="text" color="%text_color%">
664 <font resource="font" />
665 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
666 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
667 </object>
668
669 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400670 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400671 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
672 <text>%tw_filename%</text>
673 </object>
674
675 <object type="template" name="progress_bar" />
676
677 <object type="action">
678 <condition var1="tw_operation_state" var2="1" />
679 <action function="page">flash_done</action>
680 </object>
681 </page>
682
683 <page name="flash_done">
684 <object type="template" name="header" />
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
689 <text>Zip Install Complete</text>
690 </object>
691
692 <object type="console">
693 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
694 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
695 <font resource="fixed" />
696 </object>
697
698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400700 <placement x="%col1_x%" y="%row4_y%" />
701 <font resource="font" color="%button_text_color%" />
702 <text>Wipe cache/dalvik</text>
703 <image resource="main_button" />
704 <actions>
705 <action function="set">tw_back=flash_done</action>
706 <action function="set">tw_action=wipe</action>
707 <action function="set">tw_action_param=/cache</action>
708 <action function="set">tw_has_action2=1</action>
709 <action function="set">tw_action2=wipe</action>
710 <action function="set">tw_action2_param=dalvik</action>
711 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
712 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
713 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
714 <action function="set">tw_slider_text=Swipe to Wipe</action>
715 <action function="page">confirm_action</action>
716 </actions>
717 </object>
718
719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400721 <placement x="%col2_x%" y="%row4_y%" />
722 <font resource="font" color="%button_text_color%" />
723 <text>Reboot System</text>
724 <image resource="main_button" />
725 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400726 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <action function="set">tw_action=reboot</action>
728 <action function="set">tw_action_param=system</action>
729 <action function="set">tw_has_action2=0</action>
730 <action function="set">tw_text1=No OS Installed! Are you</action>
731 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400732 <action function="set">tw_text3=</action>
733 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400735 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <action function="set">tw_complete_text1=Rebooting...</action>
737 <action function="set">tw_slider_text=Swipe to Reboot</action>
738 <action function="page">rebootcheck</action>
739 </actions>
740 </object>
741
742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <placement x="%col_center_x%" y="%row3_y%" />
745 <font resource="font" color="%button_text_color%" />
746 <text>Home</text>
747 <image resource="main_button" />
748 <actions>
749 <action function="set">tw_clear_destination=main2</action>
750 <action function="page">clear_vars</action>
751 </actions>
752 </object>
753
754 <object type="text" color="%text_fail_color%">
755 <condition var1="tw_operation_status" op="!=" var2="0" />
756 <font resource="font" />
757 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
758 <text>Failed</text>
759 </object>
760
761 <object type="text" color="%text_success_color%">
762 <condition var1="tw_operation_status" var2="0" />
763 <font resource="font" />
764 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
765 <text>Successful</text>
766 </object>
767
768 <object type="action">
769 <touch key="back" />
770 <actions>
771 <action function="set">tw_clear_destination=install</action>
772 <action function="page">clear_vars</action>
773 </actions>
774 </object>
775
776 <object type="action">
777 <touch key="home" />
778 <actions>
779 <action function="set">tw_clear_destination=main2</action>
780 <action function="page">clear_vars</action>
781 </actions>
782 </object>
783 </page>
784
785 <page name="clear_vars">
786 <object type="action">
787 <action function="set">tw_operation_state=0</action>
788 <action function="set">tw_text1=</action>
789 <action function="set">tw_text2=</action>
790 <action function="set">tw_text3=</action>
791 <action function="set">tw_text4=</action>
792 <action function="set">tw_action_text1=</action>
793 <action function="set">tw_action_text2=</action>
794 <action function="set">tw_action_param=</action>
795 <action function="set">tw_has_action2=0</action>
796 <action function="set">tw_action2=</action>
797 <action function="set">tw_action2_param=</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -0400798 <action function="set">tw_has_cancel=0</action>
799 <action function="set">tw_cancel_action=</action>
800 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400801 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400802 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400803 <action function="page">%tw_clear_destination%</action>
804 </object>
805 </page>
806
807 <page name="confirm_action">
808 <object type="template" name="header" />
809
810 <object type="text" color="%text_color%">
811 <font resource="font" />
812 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
813 <text>%tw_text1%</text>
814 </object>
815
816 <object type="text" color="%text_color%">
817 <font resource="font" />
818 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
819 <text>%tw_text2%</text>
820 </object>
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
825 <text>%tw_text3%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
831 <text>%tw_text4%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400837 <text>Press back button to cancel.</text>
838 </object>
839
840 <object type="slider">
841 <placement x="%slider_x%" y="%slider_y%" />
842 <resource base="slider" used="slider-used" touch="slider-touch" />
843 <action function="page">action_page</action>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
848 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
849 <text>%tw_slider_text%</text>
850 </object>
851
852 <object type="action">
853 <touch key="back" />
854 <actions>
855 <action function="set">tw_clear_destination=%tw_back%</action>
856 <action function="page">clear_vars</action>
857 </actions>
858 </object>
859
860 <object type="action">
861 <touch key="home" />
862 <action function="page">main</action>
863 </object>
864
865 <object type="template" name="footer" />
866 </page>
867
868 <page name="action_page">
869 <object type="template" name="header" />
870
871 <object type="text" color="%text_color%">
872 <font resource="font" />
873 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
874 <text>%tw_action_text1%</text>
875 </object>
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
880 <text>%tw_action_text2%</text>
881 </object>
882
883 <object type="template" name="action_page_console" />
884
Dees_Troyc51f1f92012-09-20 15:32:13 -0400885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600886 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -0400887 <condition var1="tw_has_cancel" var2="1" />
888 <placement x="%col_center_medium_x%" y="%row4_y%" />
889 <font resource="font" color="%button_text_color%" />
890 <text>Cancel</text>
891 <image resource="medium_button" />
892 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
893 </object>
894
Dees_Troy51a0e822012-09-05 15:24:24 -0400895 <object type="template" name="progress_bar" />
896
897 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400898 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400899 <actions>
900 <action function="page">action_complete</action>
901 </actions>
902 </object>
903
904 <object type="action">
905 <condition var1="tw_has_action2" var2="0" />
906 <actions>
907 <action function="%tw_action%">%tw_action_param%</action>
908 </actions>
909 </object>
910
911 <object type="action">
912 <condition var1="tw_has_action2" var2="1" />
913 <actions>
914 <action function="%tw_action%">%tw_action_param%</action>
915 <action function="%tw_action2%">%tw_action2_param%</action>
916 </actions>
917 </object>
918 </page>
919
Dees_Troy82111022013-02-21 21:13:09 +0000920 <page name="singleaction_page">
921 <object type="template" name="header" />
922
923 <object type="text" color="%text_color%">
924 <font resource="font" />
925 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
926 <text>%tw_action_text1%</text>
927 </object>
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
932 <text>%tw_action_text2%</text>
933 </object>
934
935 <object type="template" name="action_page_console" />
936
937 <object type="template" name="progress_bar" />
938
939 <object type="action">
940 <condition var1="tw_operation_state" var2="1" />
941 <actions>
942 <action function="set">tw_page_done=1</action>
943 </actions>
944 </object>
945
946 <object type="action">
947 <condition var1="tw_has_action2" var2="0" />
948 <actions>
949 <action function="%tw_action%">%tw_action_param%</action>
950 </actions>
951 </object>
952
953 <object type="action">
954 <condition var1="tw_has_action2" var2="1" />
955 <actions>
956 <action function="%tw_action%">%tw_action_param%</action>
957 <action function="%tw_action2%">%tw_action2_param%</action>
958 </actions>
959 </object>
960 </page>
961
Dees_Troy51a0e822012-09-05 15:24:24 -0400962 <page name="action_complete">
963 <object type="template" name="header" />
964
965 <object type="text" color="%text_color%">
966 <font resource="font" />
967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
968 <text>%tw_complete_text1%</text>
969 </object>
970
971 <object type="text" color="%text_fail_color%">
972 <condition var1="tw_operation_status" op="!=" var2="0" />
973 <font resource="font" />
974 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
975 <text>Failed</text>
976 </object>
977
978 <object type="text" color="%text_success_color%">
979 <condition var1="tw_operation_status" var2="0" />
980 <font resource="font" />
981 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
982 <text>Successful</text>
983 </object>
984
985 <object type="template" name="action_page_console" />
986
987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600988 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400989 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <placement x="%col_center_x%" y="%row4_y%" />
991 <font resource="font" color="%button_text_color%" />
992 <text>Back</text>
993 <image resource="main_button" />
994 <actions>
995 <action function="set">tw_clear_destination=%tw_back%</action>
996 <action function="page">clear_vars</action>
997 </actions>
998 </object>
999
Dees_Troya3f81542012-10-08 10:58:53 -04001000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001001 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001002 <condition var1="tw_show_reboot" var2="1" />
1003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Reboot System</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_back=main2</action>
1009 <action function="set">tw_action=reboot</action>
1010 <action function="set">tw_action_param=system</action>
1011 <action function="set">tw_has_action2=0</action>
1012 <action function="set">tw_text1=No OS Installed! Are you</action>
1013 <action function="set">tw_text2=sure you wish to reboot?</action>
1014 <action function="set">tw_text3=</action>
1015 <action function="set">tw_text4=</action>
1016 <action function="set">tw_action_text1=Rebooting...</action>
1017 <action function="set">tw_action_text2=</action>
1018 <action function="set">tw_complete_text1=Rebooting...</action>
1019 <action function="set">tw_slider_text=Swipe to Reboot</action>
1020 <action function="page">rebootcheck</action>
1021 </actions>
1022 </object>
1023
Dees_Troy51a0e822012-09-05 15:24:24 -04001024 <object type="action">
1025 <touch key="home" />
1026 <actions>
1027 <action function="set">tw_clear_destination=main2</action>
1028 <action function="page">clear_vars</action>
1029 </actions>
1030 </object>
1031
1032 <object type="action">
1033 <touch key="back" />
1034 <actions>
1035 <action function="set">tw_clear_destination=%tw_back%</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039 </page>
1040
1041 <page name="filecheck">
1042 <object type="action">
1043 <action function="fileexists">%tw_filecheck%</action>
1044 </object>
1045
1046 <object type="action">
1047 <conditions>
1048 <condition var1="tw_operation_state" var2="1" />
1049 <condition var1="tw_operation_status" var2="0" />
1050 </conditions>
1051 <actions>
1052 <action function="set">tw_fileexists=1</action>
1053 <action function="page">%tw_existpage%</action>
1054 </actions>
1055 </object>
1056
1057 <object type="action">
1058 <conditions>
1059 <condition var1="tw_operation_state" var2="1" />
1060 <condition var1="tw_operation_status" var2="1" />
1061 </conditions>
1062 <actions>
1063 <action function="set">tw_fileexists=0</action>
1064 <action function="page">%tw_notexistpage%</action>
1065 </actions>
1066 </object>
1067 </page>
1068
1069 <page name="rebootcheck">
1070 <object type="action">
1071 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1072 <action function="reboot">%tw_action_param%</action>
1073 </object>
1074
1075 <object type="action">
1076 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1077 <action function="page">confirm_action</action>
1078 </object>
1079 </page>
1080
1081 <page name="wipe">
1082 <object type="template" name="header" />
1083
1084 <object type="text" color="%text_color%">
1085 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001086 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001087 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001088 </object>
1089
1090 <object type="text" color="%text_color%">
1091 <font resource="font" />
1092 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1093 <text>Wipes Data, Cache, and Dalvik</text>
1094 </object>
1095
1096 <object type="text" color="%text_color%">
1097 <condition var1="tw_has_data_media" var2="0" />
1098 <font resource="font" />
1099 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1100 <text>.android_secure</text>
1101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <condition var1="tw_has_data_media" var2="1" />
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1107 <text>(not including internal storage)</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <condition var1="tw_has_sdext_partition" var2="1" />
1112 <font resource="font" />
1113 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1114 <text>SD-EXT</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1120 <text>Most of the time this is</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <font resource="font" />
1125 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1126 <text>the only wipe that you need.</text>
1127 </object>
1128
1129 <object type="text" color="%text_color%">
1130 <font resource="font" />
1131 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1132 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001133 </object>
1134
1135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001136 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001137 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001139 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001140 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001141 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 </object>
1143
1144 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001145 <conditions>
1146 <condition var1="tw_has_internal" var2="1" />
1147 <condition var1="tw_has_data_media" var2="1" />
1148 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <highlight color="%highlight_color%" />
1150 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <font resource="font" color="%button_text_color%" />
1152 <text>Format Data</text>
1153 <image resource="main_button" />
1154 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 </actions>
1157 </object>
1158
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <object type="slider">
1160 <placement x="%slider_x%" y="%slider_y%" />
1161 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001162 <actions>
1163 <action function="set">tw_back=wipe</action>
1164 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <action function="set">tw_action_param=data</action>
1166 <action function="set">tw_action_text1=Factory Reset...</action>
1167 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1168 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001169 </actions>
1170 </object>
1171
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <object type="text" color="%text_color%">
1173 <font resource="font" />
1174 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1175 <text>Swipe to Factory Reset</text>
1176 </object>
1177
1178 <object type="action">
1179 <touch key="back" />
1180 <action function="page">main</action>
1181 </object>
1182
1183 <object type="action">
1184 <touch key="home" />
1185 <action function="page">main</action>
1186 </object>
1187
1188 <object type="template" name="footer" />
1189 </page>
1190
1191 <page name="advancedwipe">
1192 <object type="template" name="header" />
1193
1194 <object type="text" color="%text_color%">
1195 <font resource="font" />
1196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1197 <text>Wipe Menu</text>
1198 </object>
1199
1200 <object type="partitionlist">
1201 <highlight color="%fileselector_highlight_color%" />
1202 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1204 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1205 <text>Select Partitions to Wipe:</text>
1206 <icon selected="checkbox_true" unselected="checkbox_false" />
1207 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1208 <background color="%listbox_background%" />
1209 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1210 <data name="tw_wipe_list" />
1211 <listtype name="wipe" />
1212 </object>
1213
1214 <object type="slider">
1215 <placement x="%slider_x%" y="%slider_y%" />
1216 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001217 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001218 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001220 <action function="set">tw_action_param=LIST</action>
1221 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1222 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1223 <action function="set">tw_complete_text1=Wipe Complete</action>
1224 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 </actions>
1226 </object>
1227
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <object type="text" color="%text_color%">
1229 <font resource="font" />
1230 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1231 <text>Swipe to Wipe</text>
1232 </object>
1233
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 <object type="action">
1235 <touch key="home" />
1236 <action function="page">main</action>
1237 </object>
1238
1239 <object type="action">
1240 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 </object>
1243
1244 <object type="template" name="footer" />
1245 </page>
1246
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <page name="formatdata">
1248 <object type="template" name="header" />
1249
1250 <object type="text" color="%text_color%">
1251 <font resource="font" />
1252 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1253 <text>Format Data will wipe all of your apps,</text>
1254 </object>
1255
1256 <object type="text" color="%text_color%">
1257 <font resource="font" />
1258 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1259 <text>backups, pictures, videos, media, and</text>
1260 </object>
1261
1262 <object type="text" color="%text_color%">
1263 <font resource="font" />
1264 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1265 <text>removes encryption on internal storage.</text>
1266 </object>
1267
1268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1271 <text>This cannot be undone. Press back to cancel.</text>
1272 </object>
1273
1274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1277 <text>Type yes to continue.</text>
1278 </object>
1279
1280 <object type="input">
1281 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1282 <background color="%input_background_color%" />
1283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1284 <font resource="font" color="%text_color%" />
1285 <text>%tw_confirm_formatdata%</text>
1286 <data name="tw_confirm_formatdata" />
1287 <restrict minlen="3" maxlen="3" allow="yes" />
1288 <action function="page">formatdata_confirm</action>
1289 </object>
1290
1291 <object type="template" name="keyboardtemplate" />
1292
1293 <object type="action">
1294 <touch key="home" />
1295 <action function="page">main</action>
1296 </object>
1297
1298 <object type="action">
1299 <touch key="back" />
1300 <action function="page">wipe</action>
1301 </object>
1302
1303 <object type="template" name="footer" />
1304 </page>
1305
1306 <page name="formatdata_confirm">
1307 <object type="action">
1308 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1309 <actions>
1310 <action function="set">tw_back=formatdata</action>
1311 <action function="set">tw_action=wipe</action>
1312 <action function="set">tw_action_param=DATAMEDIA</action>
1313 <action function="set">tw_action_text1=Formatting Data...</action>
1314 <action function="set">tw_complete_text1=Data Format Complete</action>
1315 <action function="page">action_page</action>
1316 </actions>
1317 </object>
1318
1319 <object type="action">
1320 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1321 <action function="page">formatdata</function>
1322 </object>
1323 </page>
1324
Dees_Troy51a0e822012-09-05 15:24:24 -04001325 <page name="backup">
1326 <object type="template" name="header" />
1327
1328 <object type="text" color="%text_color%">
1329 <font resource="font" />
1330 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1331 <text>Backup Name: %tw_backup_name%</text>
1332 </object>
1333
Dees_Troya13d74f2013-03-24 08:54:55 -05001334 <object type="partitionlist">
1335 <highlight color="%fileselector_highlight_color%" />
1336 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1337 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1338 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1339 <text>Select Partitions to Back Up:</text>
1340 <icon selected="checkbox_true" unselected="checkbox_false" />
1341 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1342 <background color="%listbox_background%" />
1343 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1344 <data name="tw_backup_list" />
1345 <listtype name="backup" />
1346 </object>
1347
1348 <object type="button">
1349 <highlight color="%highlight_color%" />
1350 <fill color="%button_fill_color%" />
1351 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1352 <font resource="font" color="%button_text_color%" />
1353 <text>Set Backup Name</text>
1354 <actions>
1355 <action function="set">tw_fileexists=0</action>
1356 <action function="page">backupname1</action>
1357 </actions>
1358 </object>
1359
1360 <object type="button">
1361 <highlight color="%highlight_color%" />
1362 <fill color="%button_fill_color%" />
1363 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1364 <font resource="font" color="%button_text_color%" />
1365 <text>Refresh Sizes</text>
1366 <action function="refreshsizes"></action>
1367 </object>
1368
1369 <object type="button">
1370 <highlight color="%highlight_color%" />
1371 <fill color="%button_fill_color%" />
1372 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1373 <font resource="font" color="%button_text_color%" />
1374 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1375 <actions>
1376 <action function="set">tw_back=backup</action>
1377 <action function="page">selectstorage</action>
1378 </actions>
1379 </object>
1380
1381 <object type="checkbox">
1382 <placement x="%col1_x%" y="%row15_text_y%" />
1383 <font resource="font" color="%text_color%" />
1384 <text>Enable compression.</text>
1385 <data variable="tw_use_compression" />
1386 <image checked="checkbox_true" unchecked="checkbox_false" />
1387 </object>
1388
1389 <object type="checkbox">
1390 <placement x="%col1_x%" y="%row16_text_y%" />
1391 <font resource="font" color="%text_color%" />
1392 <text>Skip MD5 generation during backup.</text>
1393 <data variable="tw_skip_md5_generate" />
1394 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001395 </object>
1396
1397 <object type="slider">
1398 <placement x="%slider_x%" y="slider_y" />
1399 <resource base="slider" used="slider-used" touch="slider-touch" />
1400 <action function="page">backup_run</action>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1406 <text>Swipe to Back Up</text>
1407 </object>
1408
Dees_Troy51a0e822012-09-05 15:24:24 -04001409 <object type="action">
1410 <touch key="home" />
1411 <action function="page">main</action>
1412 </object>
1413
1414 <object type="action">
1415 <touch key="back" />
1416 <action function="page">main</action>
1417 </object>
1418
1419 <object type="template" name="footer" />
1420 </page>
1421
1422 <page name="backupname1">
1423 <object type="action">
1424 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1425 <action function="set">tw_backup_name=</function>
1426 </object>
1427
1428 <object type="action">
1429 <action function="page">backupname2</function>
1430 </object>
1431 </page>
1432
1433 <page name="backupname2">
1434 <object type="template" name="header" />
1435
1436 <object type="text" color="%text_color%">
1437 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1438 <font resource="font" />
1439 <text>Please Enter a Backup Name</text>
1440 </object>
1441
1442 <object type="input">
1443 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1444 <background color="%input_background_color%" />
1445 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1446 <font resource="font" color="%text_color%" />
1447 <text>%tw_backup_name%</text>
1448 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001449 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 <actions>
1451 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1452 <action function="set">tw_existpage=backupname2</action>
1453 <action function="set">tw_notexistpage=backup</action>
1454 <action function="page">filecheck</action>
1455 </actions>
1456 </object>
1457
1458 <object type="text" color="%text_fail_color%">
1459 <condition var1="tw_fileexists" var2="1" />
1460 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1461 <font resource="font" />
1462 <text>A backup with that name already exists!</text>
1463 </object>
1464
1465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 <placement x="%col_center_x%" y="%row2_y%" />
1468 <font resource="font" color="%button_text_color%" />
1469 <text>Cancel</text>
1470 <image resource="main_button" />
1471 <actions>
1472 <action function="set">tw_backup_name=(Current Date)</action>
1473 <action function="page">backup</action>
1474 </actions>
1475 </object>
1476
1477 <object type="template" name="keyboardtemplate" />
1478
1479 <object type="action">
1480 <touch key="home" />
1481 <actions>
1482 <action function="set">tw_backup_name=(Current Date)</action>
1483 <action function="page">main</action>
1484 </actions>
1485 </object>
1486
1487 <object type="action">
1488 <touch key="back" />
1489 <actions>
1490 <action function="set">tw_backup_name=(Current Date)</action>
1491 <action function="page">backup</action>
1492 </actions>
1493 </object>
1494
1495 <object type="template" name="footer" />
1496 </page>
1497
1498 <page name="backup_run">
1499 <object type="template" name="header" />
1500
1501 <object type="text" color="%text_color%">
1502 <font resource="font" />
1503 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1504 <text>%tw_operation% %tw_partition%</text>
1505 </object>
1506
1507 <object type="template" name="action_page_console" />
1508
1509 <object type="template" name="progress_bar" />
1510
1511 <object type="action">
1512 <action function="nandroid">backup</action>
1513 </object>
1514
1515 <object type="action">
1516 <condition var1="tw_operation_state" var2="1" />
1517 <actions>
1518 <action function="set">tw_back=backup</action>
1519 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001520 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001521 <action function="page">action_complete</action>
1522 </actions>
1523 </object>
1524 </page>
1525
1526 <page name="restore">
1527 <object type="template" name="header" />
1528
1529 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001530 <highlight color="%highlight_color%" />
1531 <fill color="%button_fill_color%" />
1532 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1533 <font resource="font" color="%button_text_color%" />
1534 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1535 <actions>
1536 <action function="set">tw_back=restore</action>
1537 <action function="page">selectstorage</action>
1538 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001539 </object>
1540
1541 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001542 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001543 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001544 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001545 <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 -04001546 <text>Select Package to Restore:</text>
1547 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1548 <sort name="tw_gui_sort_order" />
1549 <icon folder="folder_icon" file="file_icon" />
1550 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001551 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001552 <filter folders="1" files="0" nav="0" />
1553 <path name="tw_backups_folder" />
1554 <data name="tw_restore" default="" />
1555 <selection name="tw_restore_name" />
1556 </object>
1557
1558 <object type="template" name="sort_options" />
1559
1560 <object type="action">
1561 <condition var1="tw_restore" op="modified" />
1562 <actions>
1563 <action function="readBackup"></action>
1564 <action function="page">restore_select</action>
1565 </actions>
1566 </object>
1567
1568 <object type="action">
1569 <touch key="home" />
1570 <action function="page">main</action>
1571 </object>
1572
1573 <object type="action">
1574 <touch key="back" />
1575 <action function="page">main</action>
1576 </object>
1577
1578 <object type="template" name="footer" />
1579 </page>
1580
1581 <page name="restore_select">
1582 <object type="template" name="header" />
1583
Dees_Troya13d74f2013-03-24 08:54:55 -05001584 <object type="partitionlist">
1585 <highlight color="%fileselector_highlight_color%" />
1586 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1587 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1588 <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 -04001589 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001590 <icon selected="checkbox_true" unselected="checkbox_false" />
1591 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1592 <background color="%listbox_background%" />
1593 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1594 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1595 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001596 </object>
1597
1598 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001599 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001600 <fill color="%button_fill_color%" />
1601 <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 -04001602 <font resource="font" color="%button_text_color%" />
1603 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001604 <actions>
1605 <action function="set">tw_backup_rename=</action>
1606 <action function="set">tw_fileexists=0</action>
1607 <action function="page">renamebackup</action>
1608 </actions>
1609 </object>
1610
1611 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001612 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001613 <fill color="%button_fill_color%" />
1614 <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 -04001615 <font resource="font" color="%button_text_color%" />
1616 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001617 <actions>
1618 <action function="set">tw_back=restore</action>
1619 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001620 <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 -04001621 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1622 <action function="set">tw_text2=This cannot be undone!</action>
1623 <action function="set">tw_action_text1=Deleting Backup...</action>
1624 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1625 <action function="set">tw_slider_text=Swipe to Delete</action>
1626 <action function="page">confirm_action</action>
1627 </actions>
1628 </object>
1629
Dees_Troya13d74f2013-03-24 08:54:55 -05001630 <object type="checkbox">
1631 <placement x="%col1_x%" y="%row15_text_y%" />
1632 <font resource="font" color="%text_color%" />
1633 <text>Enable MD5 verification of backup files.</text>
1634 <data variable="tw_skip_md5_check" />
1635 <image checked="checkbox_true" unchecked="checkbox_false" />
1636 </object>
1637
1638 <object type="text" color="%text_color%">
1639 <font resource="font" />
1640 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1641 <text>Package Date: %tw_restore_file_date%</text>
1642 </object>
1643
Dees_Troy51a0e822012-09-05 15:24:24 -04001644 <object type="slider">
1645 <placement x="%slider_x%" y="%slider_y%" />
1646 <resource base="slider" used="slider-used" touch="slider-touch" />
1647 <action function="page">restore_run</action>
1648 </object>
1649
1650 <object type="text" color="%text_color%">
1651 <font resource="font" />
1652 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1653 <text>Swipe to Restore</text>
1654 </object>
1655
Dees_Troy51a0e822012-09-05 15:24:24 -04001656 <object type="action">
1657 <touch key="home" />
1658 <action function="page">main</action>
1659 </object>
1660
1661 <object type="action">
1662 <touch key="back" />
1663 <action function="page">restore</action>
1664 </object>
1665
1666 <object type="template" name="footer" />
1667 </page>
1668
1669 <page name="renamebackup">
1670 <object type="template" name="header" />
1671
1672 <object type="text" color="%text_color%">
1673 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1674 <font resource="font" />
1675 <text>Please Enter a New Backup Name</text>
1676 </object>
1677
1678 <object type="input">
1679 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1680 <background color="%input_background_color%" />
1681 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1682 <font resource="font" color="%text_color%" />
1683 <text>%tw_backup_rename%</text>
1684 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001685 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001686 <actions>
1687 <action function="set">tw_back=restore</action>
1688 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001689 <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 -04001690 <action function="set">tw_text1=Rename Backup?</action>
1691 <action function="set">tw_text2=This cannot be undone!</action>
1692 <action function="set">tw_action_text1=Renaming Backup...</action>
1693 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1694 <action function="set">tw_slider_text=Swipe to Rename</action>
1695 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1696 <action function="set">tw_existpage=renamebackup</action>
1697 <action function="set">tw_notexistpage=confirm_action</action>
1698 <action function="page">filecheck</action>
1699 </actions>
1700 </object>
1701
1702 <object type="text" color="%text_fail_color%">
1703 <condition var1="tw_fileexists" var2="1" />
1704 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1705 <font resource="font" />
1706 <text>A backup with that name already exists!</text>
1707 </object>
1708
1709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <placement x="%col_center_x%" y="%row2_y%" />
1712 <font resource="font" color="%button_text_color%" />
1713 <text>Cancel</text>
1714 <image resource="main_button" />
1715 <action function="page">restore_select</action>
1716 </object>
1717
1718 <object type="template" name="keyboardtemplate" />
1719
1720 <object type="action">
1721 <touch key="home" />
1722 <action function="page">main</action>
1723 </object>
1724
1725 <object type="action">
1726 <touch key="back" />
1727 <action function="page">restore_select</action>
1728 </object>
1729
1730 <object type="template" name="footer" />
1731 </page>
1732
1733 <page name="restore_run">
1734 <object type="template" name="header" />
1735
1736 <object type="text" color="%text_color%">
1737 <font resource="font" />
1738 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1739 <text>%tw_operation% %tw_partition%</text>
1740 </object>
1741
1742 <object type="template" name="action_page_console" />
1743
1744 <object type="template" name="progress_bar" />
1745
1746 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001747 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001748 <actions>
1749 <action function="set">tw_back=restore_select</action>
1750 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001751 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001752 <action function="page">action_complete</action>
1753 </actions>
1754 </object>
1755
1756 <object type="action">
1757 <action function="nandroid">restore</action>
1758 </object>
1759 </page>
1760
Dees_Troya13d74f2013-03-24 08:54:55 -05001761 <page name="selectstorage">
1762 <object type="template" name="header" />
1763
1764 <object type="partitionlist">
1765 <highlight color="%fileselector_highlight_color%" />
1766 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1767 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1768 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1769 <text>Select Storage:</text>
1770 <icon selected="radio_true" unselected="radio_false" />
1771 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1772 <background color="%listbox_background%" />
1773 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1774 <data name="tw_storage_path" />
1775 <listtype name="storage" />
1776 </object>
1777
1778 <object type="action">
1779 <touch key="home" />
1780 <action function="page">main</action>
1781 </object>
1782
1783 <object type="action">
1784 <touch key="back" />
1785 <actions>
1786 <action function="page">%tw_back%</action>
1787 </actions>
1788 </object>
1789
1790 <object type="template" name="footer" />
1791 </page>
1792
Dees_Troy51a0e822012-09-05 15:24:24 -04001793 <page name="mount">
1794 <object type="template" name="header" />
1795
Dees_Troya13d74f2013-03-24 08:54:55 -05001796 <object type="partitionlist">
1797 <highlight color="%fileselector_highlight_color%" />
1798 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1799 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1800 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1801 <text>Select Partitions to Mount:</text>
1802 <icon selected="checkbox_true" unselected="checkbox_false" />
1803 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1804 <background color="%listbox_background%" />
1805 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1806 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001807 </object>
1808
1809 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001810 <highlight color="%highlight_color%" />
1811 <fill color="%button_fill_color%" />
1812 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1813 <font resource="font" color="%button_text_color%" />
1814 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1815 <actions>
1816 <action function="set">tw_back=mount</action>
1817 <action function="page">selectstorage</action>
1818 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001819 </object>
1820
1821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001822 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001823 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001824 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001825 <font resource="font" color="%button_text_color%" />
1826 <text>Mount USB Storage</text>
1827 <image resource="main_button" />
1828 <action function="page">usb_mount</action>
1829 </object>
1830
Gary Peckffdc6ae2012-11-21 18:02:02 -08001831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001832 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001833 <conditions>
1834 <condition var1="tw_is_encrypted" var2="1" />
1835 <condition var1="tw_is_decrypted" var2="0" />
1836 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001837 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001838 <font resource="font" color="%button_text_color%" />
1839 <text>Decrypt Data</text>
1840 <image resource="main_button" />
1841 <action function="page">decrypt</action>
1842 </object>
1843
Dees_Troy51a0e822012-09-05 15:24:24 -04001844 <object type="action">
1845 <touch key="home" />
1846 <action function="page">main</action>
1847 </object>
1848
1849 <object type="action">
1850 <touch key="back" />
1851 <action function="page">main</action>
1852 </object>
1853
1854 <object type="template" name="footer" />
1855 </page>
1856
1857 <page name="usb_mount">
1858 <object type="template" name="header" />
1859
1860 <object type="text" color="%text_color%">
1861 <font resource="font" />
1862 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1863 <text>USB Storage Mounted</text>
1864 </object>
1865
1866 <object type="text" color="%text_color%">
1867 <placement x="%col1_x%" y="%row1_text_y%" />
1868 <font resource="font" />
1869 <text>Be sure to safely remove your device</text>
1870 </object>
1871
1872 <object type="text" color="%text_color%">
1873 <placement x="%col1_x%" y="%row2_text_y%" />
1874 <font resource="font" />
1875 <text>from your computer before unmounting!</text>
1876 </object>
1877
1878 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001879 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001880 <placement x="%col1_x%" y="%row3_y%" />
1881 <font resource="font" color="%button_text_color%" />
1882 <text>Unmount</text>
1883 <image resource="main_button" />
1884 <action function="page">usb_umount</action>
1885 </object>
1886
1887 <object type="action">
1888 <action function="mount">usb</action>
1889 </object>
1890
1891 <object type="template" name="footer" />
1892 </page>
1893
1894 <page name="usb_umount">
1895 <object type="action">
1896 <action function="unmount">usb</action>
1897 </object>
1898
1899 <object type="action">
1900 <action function="page">mount</action>
1901 </object>
1902 </page>
1903
1904 <page name="reboot">
1905 <object type="template" name="header" />
1906
1907 <object type="text" color="%text_color%">
1908 <font resource="font" />
1909 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1910 <text>Reboot Menu</text>
1911 </object>
1912
1913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001915 <condition var1="tw_reboot_system" var2="1" />
1916 <placement x="%col1_x%" y="%row1_y%" />
1917 <font resource="font" color="%button_text_color%" />
1918 <text>System</text>
1919 <image resource="main_button" />
1920 <actions>
1921 <action function="set">tw_back=reboot</action>
1922 <action function="set">tw_action=reboot</action>
1923 <action function="set">tw_action_param=system</action>
1924 <action function="set">tw_has_action2=0</action>
1925 <action function="set">tw_text1=No OS Installed! Are you</action>
1926 <action function="set">tw_text2=sure you wish to reboot?</action>
1927 <action function="set">tw_action_text1=Rebooting...</action>
1928 <action function="set">tw_complete_text1=Rebooting...</action>
1929 <action function="set">tw_slider_text=Swipe to Reboot</action>
1930 <action function="page">rebootcheck</action>
1931 </actions>
1932 </object>
1933
1934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001936 <condition var1="tw_reboot_poweroff" var2="1" />
1937 <placement x="%col2_x%" y="%row1_y%" />
1938 <font resource="font" color="%button_text_color%" />
1939 <text>Power Off</text>
1940 <image resource="main_button" />
1941 <actions>
1942 <action function="set">tw_back=reboot</action>
1943 <action function="set">tw_action=reboot</action>
1944 <action function="set">tw_action_param=poweroff</action>
1945 <action function="set">tw_has_action2=0</action>
1946 <action function="set">tw_text1=No OS Installed! Are you</action>
1947 <action function="set">tw_text2=sure you wish to power off?</action>
1948 <action function="set">tw_action_text1=Turning Off...</action>
1949 <action function="set">tw_complete_text1=Turning Off...</action>
1950 <action function="set">tw_slider_text=Swipe to Power Off</action>
1951 <action function="page">rebootcheck</action>
1952 </actions>
1953 </object>
1954
1955 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001956 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001957 <condition var1="tw_reboot_recovery" var2="1" />
1958 <placement x="%col1_x%" y="%row2_y%" />
1959 <font resource="font" color="%button_text_color%" />
1960 <text>Recovery</text>
1961 <image resource="main_button" />
1962 <actions>
1963 <action function="set">tw_back=reboot</action>
1964 <action function="set">tw_action=reboot</action>
1965 <action function="set">tw_action_param=recovery</action>
1966 <action function="set">tw_has_action2=0</action>
1967 <action function="set">tw_text1=No OS Installed! Are you</action>
1968 <action function="set">tw_text2=sure you wish to reboot?</action>
1969 <action function="set">tw_action_text1=Rebooting...</action>
1970 <action function="set">tw_complete_text1=Rebooting...</action>
1971 <action function="set">tw_slider_text=Swipe to Reboot</action>
1972 <action function="page">rebootcheck</action>
1973 </actions>
1974 </object>
1975
1976 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001977 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <condition var1="tw_reboot_bootloader" var2="1" />
1979 <placement x="%col2_x%" y="%row2_y%" />
1980 <font resource="font" color="%button_text_color%" />
1981 <text>Bootloader</text>
1982 <image resource="main_button" />
1983 <actions>
1984 <action function="set">tw_back=reboot</action>
1985 <action function="set">tw_action=reboot</action>
1986 <action function="set">tw_action_param=bootloader</action>
1987 <action function="set">tw_has_action2=0</action>
1988 <action function="set">tw_text1=No OS Installed! Are you</action>
1989 <action function="set">tw_text2=sure you wish to reboot?</action>
1990 <action function="set">tw_action_text1=Rebooting...</action>
1991 <action function="set">tw_complete_text1=Rebooting...</action>
1992 <action function="set">tw_slider_text=Swipe to Reboot</action>
1993 <action function="page">rebootcheck</action>
1994 </actions>
1995 </object>
1996
1997 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001998 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001999 <condition var1="tw_download_mode" var2="1" />
2000 <placement x="%col1_x%" y="%row3_y%" />
2001 <font resource="font" color="%button_text_color%" />
2002 <text>Download</text>
2003 <image resource="main_button" />
2004 <actions>
2005 <action function="set">tw_back=reboot</action>
2006 <action function="set">tw_action=reboot</action>
2007 <action function="set">tw_action_param=download</action>
2008 <action function="set">tw_has_action2=0</action>
2009 <action function="set">tw_text1=No OS Installed! Are you</action>
2010 <action function="set">tw_text2=sure you wish to reboot?</action>
2011 <action function="set">tw_action_text1=Rebooting...</action>
2012 <action function="set">tw_complete_text1=Rebooting...</action>
2013 <action function="set">tw_slider_text=Swipe to Reboot</action>
2014 <action function="page">rebootcheck</action>
2015 </actions>
2016 </object>
2017
2018 <object type="action">
2019 <touch key="home" />
2020 <action function="page">main</action>
2021 </object>
2022
2023 <object type="action">
2024 <touch key="back" />
2025 <action function="page">main</action>
2026 </object>
2027
2028 <object type="template" name="footer" />
2029 </page>
2030
2031 <page name="settings">
2032 <object type="template" name="header" />
2033
2034 <object type="text" color="%text_color%">
2035 <font resource="font" />
2036 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2037 <text>Settings</text>
2038 </object>
2039
2040 <object type="checkbox">
2041 <placement x="%col1_x%" y="%row1_text_y%" />
2042 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002043 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002044 <data variable="tw_signed_zip_verify" />
2045 <image checked="checkbox_true" unchecked="checkbox_false" />
2046 </object>
2047
2048 <object type="checkbox">
2049 <placement x="%col1_x%" y="%row2_text_y%" />
2050 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002051 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002052 <data variable="tw_rm_rf" />
2053 <image checked="checkbox_true" unchecked="checkbox_false" />
2054 </object>
2055
2056 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002057 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002059 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <data variable="tw_skip_md5_generate" />
2061 <image checked="checkbox_true" unchecked="checkbox_false" />
2062 </object>
2063
2064 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002065 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002067 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002068 <data variable="tw_skip_md5_check" />
2069 <image checked="checkbox_true" unchecked="checkbox_false" />
2070 </object>
2071
2072 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002073 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002074 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002075 <text>Use Military Time.</text>
2076 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 <image checked="checkbox_true" unchecked="checkbox_false" />
2078 </object>
2079
2080 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002081 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002082 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002083 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002084 <data variable="tw_simulate_actions" />
2085 <image checked="checkbox_true" unchecked="checkbox_false" />
2086 </object>
2087
2088 <object type="checkbox">
2089 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002090 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002091 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002092 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002093 <data variable="tw_simulate_fail" />
2094 <image checked="checkbox_true" unchecked="checkbox_false" />
2095 </object>
2096
2097 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002098 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002099 <placement x="%col1_x%" y="%row3_y%" />
2100 <font resource="font" color="%button_text_color%" />
2101 <text>Time Zone</text>
2102 <image resource="main_button" />
2103 <action function="page">timezone</action>
2104 </object>
2105
2106 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002107 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002108 <placement x="%col2_x%" y="%row3_y%" />
2109 <font resource="font" color="%button_text_color%" />
2110 <text>Screen</text>
2111 <image resource="main_button" />
2112 <action function="page">screen</action>
2113 </object>
2114
2115 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002116 <placement x="%col_center_x%" y="%row4_y%" />
2117 <font resource="font" color="%button_text_color%" />
2118 <text>Restore Defaults</text>
2119 <image resource="main_button" />
2120 <action function="restoredefaultsettings"></action>
2121 </object>
2122
2123 <object type="action">
2124 <touch key="home" />
2125 <action function="page">main</action>
2126 </object>
2127
2128 <object type="action">
2129 <touch key="back" />
2130 <action function="page">main</action>
2131 </object>
2132
2133 <object type="template" name="footer" />
2134 </page>
2135
2136 <page name="timezone">
2137 <object type="template" name="header" />
2138
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002140 <highlight color="%fileselector_highlight_color%" />
2141 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2142 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002143 <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 -06002144 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002145 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002146 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002147 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002148 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002149 <data name="tw_time_zone_guisel" />
2150 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2151 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2152 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2153 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2154 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2155 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2156 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2157 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2158 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2159 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2160 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2161 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2162 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2163 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2164 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2165 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2166 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2167 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2168 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2169 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2170 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2171 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2172 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2173 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2174 </object>
2175
2176 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002177 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002178 <font resource="font" color="%text_color%" />
2179 <text>Do you use daylight savings time (DST)?</text>
2180 <data variable="tw_time_zone_guidst" />
2181 <image checked="checkbox_true" unchecked="checkbox_false" />
2182 </object>
2183
2184 <object type="text" color="%text_color%">
2185 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002186 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002187 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2188 </object>
2189
2190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002191 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002192 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002193 <font resource="font" color="%button_text_color%" />
2194 <text>None</text>
2195 <image resource="medium_button" />
2196 <action function="set">tw_time_zone_guioffset=0</action>
2197 </object>
2198
2199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002200 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002201 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002202 <font resource="font" color="%button_text_color%" />
2203 <text>15</text>
2204 <image resource="medium_button" />
2205 <action function="set">tw_time_zone_guioffset=15</action>
2206 </object>
2207
2208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002209 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002210 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002211 <font resource="font" color="%button_text_color%" />
2212 <text>30</text>
2213 <image resource="medium_button" />
2214 <action function="set">tw_time_zone_guioffset=30</action>
2215 </object>
2216
2217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002218 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002219 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002220 <font resource="font" color="%button_text_color%" />
2221 <text>45</text>
2222 <image resource="medium_button" />
2223 <action function="set">tw_time_zone_guioffset=45</action>
2224 </object>
2225
2226 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002227 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002228 <placement x="%col_center_x%" y="%tz_set_y%" />
2229 <font resource="font" color="%button_text_color%" />
2230 <text>Set Time Zone</text>
2231 <image resource="main_button" />
2232 <action function="setguitimezone"></action>
2233 </object>
2234
2235 <object type="text" color="%text_color%">
2236 <font resource="font" />
2237 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2238 <text>Current Time Zone: %tw_time_zone%</text>
2239 </object>
2240
2241 <object type="action">
2242 <touch key="home" />
2243 <action function="page">main</action>
2244 </object>
2245
2246 <object type="action">
2247 <touch key="back" />
2248 <action function="page">settings</action>
2249 </object>
2250
2251 <object type="template" name="footer" />
2252 </page>
2253
Dees_Troy2f9117a2013-02-17 19:52:09 -06002254 <page name="screen">
2255 <object type="template" name="header" />
2256
2257 <object type="text" color="%text_color%">
2258 <font resource="font" />
2259 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2260 <text>Screen Settings</text>
2261 </object>
2262
Dees_Troy2f9117a2013-02-17 19:52:09 -06002263 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002264 <placement x="%col1_x%" y="%row2_text_y%" />
2265 <font resource="font" color="%text_color%" />
2266 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2267 <text>Enable screen timeout.</text>
2268 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002269 <action function="set">tw_screen_timeout_secs=60</action>
2270 </object>
2271
2272 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002273 <placement x="%col1_x%" y="%row2_text_y%" />
2274 <font resource="font" color="%text_color%" />
2275 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2276 <text>Enable screen timeout.</text>
2277 <image resource="checkbox_true" />
2278 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002279 </object>
2280
Vojtech Bocek85932342013-04-01 22:11:33 +02002281 <object type="slidervalue">
2282 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2283 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2284 <font resource="font" color="%text_color%" />
2285 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2286 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2287 <text>Screen timeout in seconds:</text>
2288 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002289 </object>
2290
Vojtech Bocek85932342013-04-01 22:11:33 +02002291 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002292 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002293 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2294 <font resource="font" color="%text_color%" />
2295 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2296 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2297 <text>Brightness: %tw_brightness_pct%%</text>
2298 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002299 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002300 <action function="set">tw_brightness=%tw_brightness_max%</action>
2301 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2302 <action function="compute">tw_brightness/100</action>
2303 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002304 </actions>
2305 </object>
2306
2307 <object type="action">
2308 <touch key="home" />
2309 <action function="page">main</action>
2310 </object>
2311
2312 <object type="action">
2313 <touch key="back" />
2314 <action function="page">settings</action>
2315 </object>
2316
2317 <object type="template" name="footer" />
2318 </page>
2319
Dees_Troy51a0e822012-09-05 15:24:24 -04002320 <page name="advanced">
2321 <object type="template" name="header" />
2322
2323 <object type="text" color="%text_color%">
2324 <font resource="font" />
2325 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2326 <text>Advanced</text>
2327 </object>
2328
2329 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002330 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002331 <placement x="%col1_x%" y="%row1_y%" />
2332 <font resource="font" color="%button_text_color%" />
2333 <text>Copy Log to SD</text>
2334 <image resource="main_button" />
2335 <actions>
2336 <action function="set">tw_back=advanced</action>
2337 <action function="set">tw_action=copylog</action>
2338 <action function="set">tw_text1=Copy Log to SD Card?</action>
2339 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2340 <action function="set">tw_complete_text1=Log Copy Complete</action>
2341 <action function="set">tw_slider_text=Swipe to Confirm</action>
2342 <action function="page">confirm_action</action>
2343 </actions>
2344 </object>
2345
2346 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002347 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002348 <placement x="%col2_x%" y="%row1_y%" />
2349 <font resource="font" color="%button_text_color%" />
2350 <text>Fix Permissions</text>
2351 <image resource="main_button" />
2352 <actions>
2353 <action function="set">tw_back=advanced</action>
2354 <action function="set">tw_action=fixpermissions</action>
2355 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002356 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002357 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2358 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002359 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002360 <action function="page">confirm_action</action>
2361 </actions>
2362 </object>
2363
2364 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002365 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <condition var1="tw_allow_partition_sdcard" var2="1" />
2367 <placement x="%col1_x%" y="%row2_y%" />
2368 <font resource="font" color="%button_text_color%" />
2369 <text>Partition SD Card</text>
2370 <image resource="main_button" />
2371 <action function="page">partsdcard</action>
2372 </object>
2373
2374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <placement x="%col2_x%" y="%row2_y%" />
2377 <font resource="font" color="%button_text_color%" />
2378 <text>File Manager</text>
2379 <image resource="main_button" />
2380 <action function="page">filemanagerlist</action>
2381 </object>
2382
2383 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002384 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <placement x="%col1_x%" y="%row3_y%" />
2386 <font resource="font" color="%button_text_color%" />
2387 <text>Terminal Command</text>
2388 <image resource="main_button" />
2389 <action function="page">terminalfolder</action>
2390 </object>
2391
2392 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002393 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002394 <placement x="%col2_x%" y="%row3_y%" />
2395 <font resource="font" color="%button_text_color%" />
2396 <text>Reload Theme</text>
2397 <image resource="main_button" />
2398 <action function="reload"></action>
2399 </object>
2400
2401 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002402 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002403 <placement x="%col1_x%" y="%row4_y%" />
2404 <font resource="font" color="%button_text_color%" />
2405 <text>ADB Sideload</text>
2406 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002407 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002408 </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_show_dumlock" var2="1" />
2413 <placement x="%col2_x%" y="%row4_y%" />
2414 <font resource="font" color="%button_text_color%" />
2415 <text>HTC Dumlock</text>
2416 <image resource="main_button" />
2417 <action function="page">htcdumlock</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 <condition var1="tw_has_injecttwrp" var2="1" />
2423 <placement x="%col2_x%" y="%row4_y%" />
2424 <font resource="font" color="%button_text_color%" />
2425 <text>Re-Inject TWRP</text>
2426 <image resource="main_button" />
2427 <actions>
2428 <action function="set">tw_back=advanced</action>
2429 <action function="set">tw_action=reinjecttwrp</action>
2430 <action function="set">tw_text1=Re-Inject TWRP?</action>
2431 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2432 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2433 <action function="set">tw_slider_text=Swipe to Confirm</action>
2434 <action function="page">confirm_action</action>
2435 </actions>
2436 </object>
2437
2438 <object type="action">
2439 <touch key="home" />
2440 <action function="page">main</action>
2441 </object>
2442
2443 <object type="action">
2444 <touch key="back" />
2445 <action function="page">main</action>
2446 </object>
2447
2448 <object type="template" name="footer" />
2449 </page>
2450
2451 <page name="partsdcard">
2452 <object type="template" name="header" />
2453
2454 <object type="text" color="%text_color%">
2455 <font resource="font" />
2456 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2457 <text>Partition SD Card</text>
2458 </object>
2459
2460 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002461 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <placement x="%col1_x%" y="%row1_y%" />
2463 <font resource="font" color="%button_text_color%" />
2464 <text></text>
2465 <image resource="minus_button" />
2466 <action function="addsubtract">tw_sdext_size-128</action>
2467 </object>
2468
2469 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002470 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002471 <placement x="%sd_plus_x%" y="%row1_y%" />
2472 <font resource="font" color="%button_text_color%" />
2473 <text></text>
2474 <image resource="plus_button" />
2475 <action function="addsubtract">tw_sdext_size+128</action>
2476 </object>
2477
2478 <object type="text" color="%text_color%">
2479 <font resource="font" />
2480 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2481 <text>EXT Size: %tw_sdext_size%</text>
2482 </object>
2483
2484 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002485 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <placement x="%col1_x%" y="%sdswap_button_y%" />
2487 <font resource="font" color="%button_text_color%" />
2488 <text></text>
2489 <image resource="minus_button" />
2490 <action function="addsubtract">tw_swap_size-32</action>
2491 </object>
2492
2493 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002494 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2496 <font resource="font" color="%button_text_color%" />
2497 <text></text>
2498 <image resource="plus_button" />
2499 <action function="addsubtract">tw_swap_size+32</action>
2500 </object>
2501
2502 <object type="text" color="%text_color%">
2503 <font resource="font" />
2504 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2505 <text>Swap Size: %tw_swap_size%</text>
2506 </object>
2507
2508 <object type="text" color="%text_color%">
2509 <font resource="font" />
2510 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2511 <text>File system: %tw_sdpart_file_system%</text>
2512 </object>
2513
2514 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002515 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2517 <font resource="font" color="%button_text_color%" />
2518 <text>EXT3</text>
2519 <image resource="main_button" />
2520 <action function="set">tw_sdpart_file_system=ext3</action>
2521 </object>
2522
2523 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002524 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002525 <condition var1="tw_sdext_disable_ext4" var2="0" />
2526 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2527 <font resource="font" color="%button_text_color%" />
2528 <text>EXT4</text>
2529 <image resource="main_button" />
2530 <action function="set">tw_sdpart_file_system=ext4</action>
2531 </object>
2532
2533 <object type="text" color="%text_color%">
2534 <font resource="font" />
2535 <placement x="%col1_x%" y="%row12_text_y%" />
2536 <text>You will lose all files on your SD card!</text>
2537 </object>
2538
2539 <object type="text" color="%text_color%">
2540 <font resource="font" />
2541 <placement x="%col1_x%" y="%row13_text_y%" />
2542 <text>This action cannot be undone!</text>
2543 </object>
2544
2545 <object type="slider">
2546 <placement x="%slider_x%" y="%slider_y%" />
2547 <resource base="slider" used="slider-used" touch="slider-touch" />
2548 <action function="page">partsdcardaction</action>
2549 <actions>
2550 <action function="set">tw_back=partsdcard</action>
2551 <action function="set">tw_action=partitionsd</action>
2552 <action function="set">tw_has_action2=1</action>
2553 <action function="set">tw_action2=set</action>
2554 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2555 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2556 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002557 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <action function="page">action_page</action>
2559 </actions>
2560 </object>
2561
2562 <object type="text" color="%text_color%">
2563 <font resource="font" />
2564 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2565 <text>Swipe to Partition</text>
2566 </object>
2567
2568 <object type="action">
2569 <touch key="home" />
2570 <action function="page">main</action>
2571 </object>
2572
2573 <object type="action">
2574 <touch key="back" />
2575 <action function="page">advanced</action>
2576 </object>
2577
2578 <object type="template" name="footer" />
2579 </page>
2580
2581 <page name="htcdumlock">
2582 <object type="template" name="header" />
2583
2584 <object type="text" color="%text_color%">
2585 <font resource="font" />
2586 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2587 <text>HTC Dumlock</text>
2588 </object>
2589
2590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002592 <condition var1="tw_show_dumlock" var2="1" />
2593 <placement x="%col1_x%" y="%row1_y%" />
2594 <font resource="font" color="%button_text_color%" />
2595 <text>Restore Original Boot</text>
2596 <image resource="main_button" />
2597 <actions>
2598 <action function="set">tw_back=htcdumlock</action>
2599 <action function="set">tw_action=htcdumlockrestoreboot</action>
2600 <action function="set">tw_text1=Restore original boot image?</action>
2601 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2602 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2603 <action function="set">tw_slider_text=Swipe to Confirm</action>
2604 <action function="page">confirm_action</action>
2605 </actions>
2606 </object>
2607
2608 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002609 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002610 <condition var1="tw_show_dumlock" var2="1" />
2611 <placement x="%col2_x%" y="%row1_y%" />
2612 <font resource="font" color="%button_text_color%" />
2613 <text>Reflash Recovery</text>
2614 <image resource="main_button" />
2615 <actions>
2616 <action function="set">tw_back=htcdumlock</action>
2617 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2618 <action function="set">tw_text1=Reflash recovery to boot?</action>
2619 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2620 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2621 <action function="set">tw_slider_text=Swipe to Confirm</action>
2622 <action function="page">confirm_action</action>
2623 </actions>
2624 </object>
2625
2626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002628 <condition var1="tw_show_dumlock" var2="1" />
2629 <placement x="%col1_x%" y="%row2_y%" />
2630 <font resource="font" color="%button_text_color%" />
2631 <text>Install HTC Dumlock</text>
2632 <image resource="main_button" />
2633 <actions>
2634 <action function="set">tw_back=htcdumlock</action>
2635 <action function="set">tw_action=installhtcdumlock</action>
2636 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2637 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2638 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2639 <action function="set">tw_slider_text=Swipe to Confirm</action>
2640 <action function="page">confirm_action</action>
2641 </actions>
2642 </object>
2643
2644 <object type="action">
2645 <touch key="home" />
2646 <action function="page">main</action>
2647 </object>
2648
2649 <object type="action">
2650 <touch key="back" />
2651 <action function="page">advanced</action>
2652 </object>
2653
2654 <object type="template" name="footer" />
2655 </page>
2656
2657 <page name="lock">
2658 <background color="#000000A0" />
2659
2660 <object type="image">
2661 <image resource="unlock-icon" />
2662 <placement x="%lock_x%" y="%lock_y%" />
2663 </object>
2664
2665 <object type="slider">
2666 <placement x="%slider_x%" y="%slider_y%" />
2667 <resource base="slider" used="slider-used" touch="slider-touch" />
2668 <action function="overlay"></action>
2669 </object>
2670
2671 <object type="text" color="%text_color%">
2672 <font resource="font" />
2673 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2674 <text>Swipe to Unlock</text>
2675 </object>
2676 </page>
2677
2678 <page name="filemanagerlist">
2679 <object type="template" name="header" />
2680
2681 <object type="text" color="%text_color%">
2682 <font resource="font" />
2683 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2684 <text>File Manager: Select a File or Folder</text>
2685 </object>
2686
2687 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002688 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2690 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002691 <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 -04002692 <text>%tw_file_location1%</text>
2693 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2694 <sort name="tw_gui_sort_order" />
2695 <icon folder="folder_icon" file="file_icon" />
2696 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002697 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002698 <folders="1" files="1" />
2699 <path name="tw_file_location1" default="/" />
2700 <data name="tw_filename1" />
2701 <selection name="tw_selection1" />
2702 </object>
2703
2704 <object type="template" name="sort_options" />
2705
2706 <object type="action">
2707 <actions>
2708 <action function="set">tw_fm_type=File</action>
2709 <action function="set">tw_fm_isfolder=0</action>
2710 </actions>
2711 </object>
2712
2713 <object type="action">
2714 <touch key="home" />
2715 <action function="page">main</action>
2716 </object>
2717
2718 <object type="action">
2719 <touch key="back" />
2720 <action function="page">advanced</action>
2721 </object>
2722
2723 <object type="action">
2724 <condition var1="tw_filename1" op="modified" />
2725 <actions>
2726 <action function="page">filemanageroptions</action>
2727 </actions>
2728 </object>
2729
2730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text>Select</text>
2735 <image resource="medium_button" />
2736 <actions>
2737 <action function="set">tw_filename1=tw_file_location1</action>
2738 <action function="set">tw_fm_isfolder=1</action>
2739 <action function="set">tw_fm_type=Folder</action>
2740 <action function="page">filemanageroptions</action>
2741 </actions>
2742 </object>
2743
2744 <object type="template" name="footer" />
2745 </page>
2746
2747 <page name="filemanageroptions">
2748 <object type="template" name="header" />
2749
2750 <object type="text" color="%text_color%">
2751 <font resource="font" />
2752 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2753 <text>%tw_fm_type% Selected:</text>
2754 </object>
2755
2756 <object type="text" color="%text_color%">
2757 <font resource="font" />
2758 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2759 <text>%tw_filename1%</text>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <condition var1="tw_fm_isfolder" var2="0" />
2765 <placement x="%col1_x%" y="%row2_y%" />
2766 <font resource="font" color="%button_text_color%" />
2767 <text>Copy File</text>
2768 <image resource="main_button" />
2769 <actions>
2770 <action function="set">tw_filemanager_command=cp</action>
2771 <action function="set">tw_fm_text1=Copying</action>
2772 <action function="page">choosedestinationfolder</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 <condition var1="tw_fm_isfolder" var2="1" />
2779 <placement x="%col1_x%" y="%row2_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text>Copy Folder</text>
2782 <image resource="main_button" />
2783 <actions>
2784 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2785 <action function="set">tw_fm_text1=Copying</action>
2786 <action function="page">choosedestinationfolder</action>
2787 </actions>
2788 </object>
2789
2790 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002791 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002792 <placement x="%col2_x%" y="%row2_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>Move</text>
2795 <image resource="main_button" />
2796 <actions>
2797 <action function="set">tw_filemanager_command=mv</action>
2798 <action function="set">tw_fm_text1=Moving</action>
2799 <action function="page">choosedestinationfolder</action>
2800 </actions>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <placement x="%col1_x%" y="%row3_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>chmod 755</text>
2808 <image resource="main_button" />
2809 <actions>
2810 <action function="set">tw_filemanager_command=chmod 755</action>
2811 <action function="set">tw_fm_text1=chmod 755</action>
2812 <action function="set">tw_fm_text2=</action>
2813 <action function="set">tw_fm_text3=</action>
2814 <action function="set">tw_include_text3=0</action>
2815 <action function="set">tw_back=filemanageroptions</action>
2816 <action function="page">filemanagerconfirm</action>
2817 </actions>
2818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <placement x="%col2_x%" y="%row3_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>chmod</text>
2825 <image resource="main_button" />
2826 <actions>
2827 <action function="set">tw_filemanager_rename=0000</action>
2828 <action function="set">tw_fm_text2=</action>
2829 <action function="set">tw_fm_text3=</action>
2830 <action function="set">tw_include_text3=0</action>
2831 <action function="set">tw_back=filemanageroptions</action>
2832 <action function="page">filemanagerchmod</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="%col1_x%" y="%row4_y%" />
2839 <font resource="font" color="%button_text_color%" />
2840 <text>Delete</text>
2841 <image resource="main_button" />
2842 <actions>
2843 <action function="set">tw_filemanager_command=rm -rf</action>
2844 <action function="set">tw_fm_text1=Deleting</action>
2845 <action function="set">tw_fm_text2=</action>
2846 <action function="set">tw_fm_text3=</action>
2847 <action function="set">tw_include_text3=0</action>
2848 <action function="set">tw_back=filemanageroptions</action>
2849 <action function="page">filemanagerconfirm</action>
2850 </actions>
2851 </object>
2852
2853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002854 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002855 <condition var1="tw_fm_isfolder" var2="0" />
2856 <placement x="%col2_x%" y="%row4_y%" />
2857 <font resource="font" color="%button_text_color%" />
2858 <text>Rename File</text>
2859 <image resource="main_button" />
2860 <actions>
2861 <action function="set">tw_filemanager_rename=tw_selection1</action>
2862 <action function="set">tw_fm_text1=Renaming</action>
2863 <action function="set">tw_filemanager_command=mv</action>
2864 <action function="page">filemanagerrenamefile</action>
2865 </actions>
2866 </object>
2867
2868 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002869 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <condition var1="tw_fm_isfolder" var2="1" />
2871 <placement x="%col2_x%" y="%row4_y%" />
2872 <font resource="font" color="%button_text_color%" />
2873 <text>Rename Folder</text>
2874 <image resource="main_button" />
2875 <actions>
2876 <action function="set">tw_filemanager_rename=tw_selection1</action>
2877 <action function="set">tw_fm_text1=Renaming</action>
2878 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2879 <action function="page">filemanagerrenamefolder</action>
2880 </actions>
2881 </object>
2882
2883 <object type="action">
2884 <touch key="home" />
2885 <action function="page">main</action>
2886 </object>
2887
2888 <object type="action">
2889 <touch key="back" />
2890 <action function="page">filemanagerlist</action>
2891 </object>
2892
2893 <object type="template" name="footer" />
2894 </page>
2895
2896 <page name="choosedestinationfolder">
2897 <object type="template" name="header" />
2898
2899 <object type="text" color="%text_color%">
2900 <font resource="font" />
2901 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2902 <text>Browse to Destination Folder & Press Select</text>
2903 </object>
2904
2905 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002906 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2908 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002909 <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 -04002910 <text>%tw_file_location2%</text>
2911 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2912 <sort name="tw_gui_sort_order" />
2913 <icon folder="folder_icon" file="file_icon" />
2914 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002915 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <filter folders="1" files="0" />
2917 <path name="tw_file_location2" default="/" />
2918 <data name="tw_filename2" />
2919 <selection name="tw_selection2" />
2920 </object>
2921
2922 <object type="template" name="sort_options" />
2923
2924 <object type="action">
2925 <touch key="home" />
2926 <action function="page">main</action>
2927 </object>
2928
2929 <object type="action">
2930 <touch key="back" />
2931 <action function="page">filemanageroptions</action>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2937 <font resource="font" color="%button_text_color%" />
2938 <text>Select</text>
2939 <image resource="medium_button" />
2940 <actions>
2941 <action function="set">tw_fm_text2=to</action>
2942 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2943 <action function="set">tw_include_text3=1</action>
2944 <action function="set">tw_back=filemanageroptions</action>
2945 <action function="page">filemanagerconfirm</action>
2946 </actions>
2947 </object>
2948
2949 <object type="template" name="footer" />
2950 </page>
2951
2952 <page name="filemanagerrenamefile">
2953 <object type="template" name="header" />
2954
2955 <object type="text" color="%text_color%">
2956 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2957 <font resource="font" />
2958 <text>Please Enter a New %tw_fm_type% Name</text>
2959 </object>
2960
2961 <object type="input">
2962 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2963 <background color="%input_background_color%" />
2964 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2965 <font resource="font" color="%text_color%" />
2966 <text>%tw_filemanager_rename%</text>
2967 <data name="tw_filemanager_rename" />
2968 <restrict minlen="1" maxlen="128" />
2969 <actions>
2970 <action function="set">tw_fm_text2=to</action>
2971 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
2972 <action function="set">tw_include_text3=1</action>
2973 <action function="set">tw_back=filemanageroptions</action>
2974 <action function="page">filemanagerconfirm</action>
2975 </actions>
2976 </object>
2977
2978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002979 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002980 <placement x="%col_center_x%" y="%row2_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Cancel</text>
2983 <image resource="main_button" />
2984 <action function="page">filemanageroptions</action>
2985 </object>
2986
2987 <object type="template" name="keyboardtemplate" />
2988
2989 <object type="action">
2990 <touch key="home" />
2991 <action function="page">main</action>
2992 </object>
2993
2994 <object type="action">
2995 <touch key="back" />
2996 <action function="page">filemanageroptions</action>
2997 </object>
2998
2999 <object type="template" name="footer" />
3000 </page>
3001
3002 <page name="filemanagerrenamefolder">
3003 <object type="template" name="header" />
3004
3005 <object type="text" color="%text_color%">
3006 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3007 <font resource="font" />
3008 <text>Please Enter a New %tw_fm_type% Name</text>
3009 </object>
3010
3011 <object type="input">
3012 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3013 <background color="%input_background_color%" />
3014 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3015 <font resource="font" color="%text_color%" />
3016 <text>%tw_filemanager_rename%</text>
3017 <data name="tw_filemanager_rename" />
3018 <restrict minlen="1" maxlen="128" />
3019 <actions>
3020 <action function="set">tw_fm_text2=to</action>
3021 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3022 <action function="set">tw_include_text3=1</action>
3023 <action function="set">tw_back=filemanageroptions</action>
3024 <action function="page">filemanagerconfirm</action>
3025 </actions>
3026 </object>
3027
3028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003029 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003030 <placement x="%col_center_x%" y="%row2_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>Cancel</text>
3033 <image resource="main_button" />
3034 <action function="page">filemanageroptions</action>
3035 </object>
3036
3037 <object type="template" name="keyboardtemplate" />
3038
3039 <object type="action">
3040 <touch key="home" />
3041 <action function="page">main</action>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="back" />
3046 <action function="page">filemanageroptions</action>
3047 </object>
3048
3049 <object type="template" name="footer" />
3050 </page>
3051
3052 <page name="filemanagerchmod">
3053 <object type="template" name="header" />
3054
3055 <object type="text" color="%text_color%">
3056 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3057 <font resource="font" />
3058 <text>Please Enter New Permissions</text>
3059 </object>
3060
3061 <object type="input">
3062 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3063 <background color="%input_background_color%" />
3064 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3065 <font resource="font" color="%text_color%" />
3066 <text>%tw_filemanager_rename%</text>
3067 <data name="tw_filemanager_rename" />
3068 <restrict minlen="3" maxlen="4" allow="0123456789" />
3069 <actions>
3070 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3071 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3072 <action function="set">tw_back=filemanageroptions</action>
3073 <action function="page">filemanagerconfirm</action>
3074 </actions>
3075 </object>
3076
3077 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003078 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%col_center_x%" y="%row2_y%" />
3080 <font resource="font" color="%button_text_color%" />
3081 <text>Cancel</text>
3082 <image resource="main_button" />
3083 <action function="page">filemanageroptions</action>
3084 </object>
3085
3086 <object type="template" name="keyboardtemplate" />
3087
3088 <object type="action">
3089 <touch key="home" />
3090 <action function="page">main</action>
3091 </object>
3092
3093 <object type="action">
3094 <touch key="back" />
3095 <action function="page">filemanageroptions</action>
3096 </object>
3097
3098 <object type="template" name="footer" />
3099 </page>
3100
3101 <page name="filemanagerconfirm">
3102 <object type="template" name="header" />
3103
3104 <object type="text" color="%text_color%">
3105 <font resource="font" />
3106 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3107 <text>%tw_fm_text1%</text>
3108 </object>
3109
3110 <object type="text" color="%text_color%">
3111 <font resource="font" />
3112 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3113 <text>%tw_filename1%</text>
3114 </object>
3115
3116 <object type="text" color="%text_color%">
3117 <font resource="font" />
3118 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3119 <text>%tw_fm_text2%</text>
3120 </object>
3121
3122 <object type="text" color="%text_color%">
3123 <font resource="font" />
3124 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3125 <text>%tw_fm_text3%</text>
3126 </object>
3127
3128 <object type="text" color="%text_color%">
3129 <font resource="font" />
3130 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3131 <text>Press back button to cancel.</text>
3132 </object>
3133
3134 <object type="slider">
3135 <placement x="%slider_x%" y="%slider_y%" />
3136 <resource base="slider" used="slider-used" touch="slider-touch" />
3137 <action function="page">filemanageracction</action>
3138 </object>
3139
3140 <object type="text" color="%text_color%">
3141 <font resource="font" />
3142 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3143 <text>Swipe to Confirm</text>
3144 </object>
3145
3146 <object type="action">
3147 <touch key="back" />
3148 <action function="page">%tw_back%</action>
3149 </object>
3150
3151 <object type="action">
3152 <touch key="home" />
3153 <action function="page">main</action>
3154 </object>
3155
3156 <object type="template" name="footer" />
3157 </page>
3158
3159 <page name="filemanageracction">
3160 <object type="template" name="header" />
3161
3162 <object type="text" color="%text_color%">
3163
3164 <font resource="font" />
3165 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3166 <text>%tw_fm_text1%</text>
3167 </object>
3168
3169 <object type="template" name="action_page_console" />
3170
3171 <object type="template" name="progress_bar" />
3172
3173 <object type="action">
3174 <conditions>
3175 <condition var1="tw_operation_state" var2="1" />
3176 <condition var1="tw_operation_status" var2="0" />
3177 </conditions>
3178 <actions>
3179 <action function="set">tw_back=filemanagerlist</action>
3180 <action function="set">tw_complete_text1=File Operation Complete</action>
3181 <action function="page">action_complete</action>
3182 </actions>
3183 </object>
3184
3185 <object type="action">
3186 <conditions>
3187 <condition var1="tw_operation_state" var2="1" />
3188 <condition var1="tw_operation_status" op="!=" var2="0" />
3189 </conditions>
3190 <actions>
3191 <action function="set">tw_complete_text1=File Operation Complete</action>
3192 <action function="page">action_complete</action>
3193 </actions>
3194 </object>
3195
3196 <object type="action">
3197 <condition var1="tw_include_text3" var2="0" />
3198 <actions>
3199 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3200 </actions>
3201 </object>
3202
3203 <object type="action">
3204 <condition var1="tw_include_text3" var2="1" />
3205 <actions>
3206 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3207 </actions>
3208 </object>
3209 </page>
3210
3211 <page name="decrypt">
3212 <object type="template" name="header" />
3213
3214 <object type="text" color="%text_color%">
3215 <font resource="font" />
3216 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3217 <text>Please Enter Your Password</text>
3218 </object>
3219
3220 <object type="input">
3221 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3222 <background color="%input_background_color%" />
3223 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3224 <font resource="font" color="%text_color%" />
3225 <text>%tw_crypto_display%</text>
3226 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3227 <restrict minlen="1" maxlen="254" />
3228 <actions>
3229 <action function="page">trydecrypt</action>
3230 </actions>
3231 </object>
3232
3233 <object type="text" color="%text_fail_color%">
3234 <condition var1="tw_password_fail" var2="1" />
3235 <font resource="font" />
3236 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3237 <text>Password Failed, Please Try Again</text>
3238 </object>
3239
3240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003242 <placement x="%col_center_x%" y="%row2_y%" />
3243 <font resource="font" color="%button_text_color%" />
3244 <text>Cancel</text>
3245 <image resource="main_button" />
3246 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003247 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003248 <action function="page">main</action>
3249 </actions>
3250 </object>
3251
3252 <object type="template" name="keyboardtemplate" />
3253
Dees_Troy51a0e822012-09-05 15:24:24 -04003254 <object type="template" name="footer" />
3255 </page>
3256
3257 <page name="trydecrypt">
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_text_y%" placement="5" />
3263 <text>Trying Decryption with Your Password</text>
3264 </object>
3265
3266 <object type="template" name="action_page_console" />
3267
3268 <object type="template" name="progress_bar" />
3269
3270 <object type="action">
3271 <action function="decrypt"></action>
3272 </object>
3273
3274 <object type="action">
3275 <conditions>
3276 <condition var1="tw_operation_state" var2="1" />
3277 <condition var1="tw_operation_status" op="!=" var2="0" />
3278 </conditions>
3279 <actions>
3280 <action function="set">tw_password_fail=1</action>
3281 <action function="page">decrypt</action>
3282 </actions>
3283 </object>
3284
3285 <object type="action">
3286 <conditions>
3287 <condition var1="tw_operation_state" var2="1" />
3288 <condition var1="tw_operation_status" op="=" var2="0" />
3289 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003290 <actions>
3291 <action function="set">tw_page_done=1</action>
3292 <action function="page">main</action>
3293 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003294 </object>
3295 </page>
3296
3297 <page name="terminalfolder">
3298 <object type="template" name="header" />
3299
3300 <object type="text" color="%text_color%">
3301 <font resource="font" />
3302 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3303 <text>Browse to Starting Folder</text>
3304 </object>
3305
3306 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003307 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003308 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3309 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003310 <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 -04003311 <text>%tw_terminal_location%</text>
3312 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3313 <sort name="tw_gui_sort_order" />
3314 <icon folder="folder_icon" file="file_icon" />
3315 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003316 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003317 <filter folders="1" files="0" />
3318 <path name="tw_terminal_location" default="/" />
3319 <data name="tw_terminal" />
3320 <selection name="tw_terminal_selection" />
3321 </object>
3322
3323 <object type="template" name="sort_options" />
3324
3325 <object type="action">
3326 <touch key="home" />
3327 <action function="page">main</action>
3328 </object>
3329
3330 <object type="action">
3331 <touch key="back" />
3332 <action function="page">advanced</action>
3333 </object>
3334
3335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3338 <font resource="font" color="%button_text_color%" />
3339 <text>Select</text>
3340 <image resource="medium_button" />
3341 <actions>
3342 <action function="page">terminalcommand</action>
3343 </actions>
3344 </object>
3345
3346 <object type="template" name="footer" />
3347 </page>
3348
3349 <page name="terminalcommand">
3350 <object type="template" name="header" />
3351
3352 <object type="console">
3353 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3354 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3355 <font resource="fixed" />
3356 </object>
3357
3358 <object type="text" color="%text_color%">
3359 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3360 <font resource="font" />
3361 <text>Starting Path: %tw_terminal_location%</text>
3362 </object>
3363
3364 <object type="input">
3365 <condition var1="tw_terminal_state" var2="0" />
3366 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3367 <background color="%input_background_color%" />
3368 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3369 <font resource="font" color="%text_color%" />
3370 <text>%tw_terminal_command%</text>
3371 <data name="tw_terminal_command" />
3372 <restrict minlen="1" />
3373 <action function="terminalcommand">%tw_terminal_command%</action>
3374 </object>
3375
3376 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003377 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003378 <condition var1="tw_terminal_state" var2="1" />
3379 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3380 <font resource="font" color="%button_text_color%" />
3381 <text>KILL</text>
3382 <image resource="medium_button" />
3383 <action function="killterminal"></action>
3384 </object>
3385
3386 <object type="template" name="keyboardtemplate" />
3387
3388 <object type="action">
3389 <touch key="home" />
3390 <action function="page">main</action>
3391 </object>
3392
3393 <object type="action">
3394 <touch key="back" />
3395 <action function="page">terminalfolder</action>
3396 </object>
3397 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003398
3399 <page name="sideload">
3400 <object type="template" name="header" />
3401
3402 <object type="text" color="%text_color%">
3403 <font resource="font" />
3404 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3405 <text>ADB Sideload</text>
3406 </object>
3407
3408 <object type="checkbox">
3409 <placement x="%col1_x%" y="%row2_text_y%" />
3410 <font resource="font" color="%text_color%" />
3411 <text>Wipe Dalvik Cache.</text>
3412 <data variable="tw_wipe_dalvik" />
3413 <image checked="checkbox_true" unchecked="checkbox_false" />
3414 </object>
3415
3416 <object type="checkbox">
3417 <placement x="%col1_x%" y="%row3_text_y%" />
3418 <font resource="font" color="%text_color%" />
3419 <text>Wipe Cache.</text>
3420 <data variable="tw_wipe_cache" />
3421 <image checked="checkbox_true" unchecked="checkbox_false" />
3422 </object>
3423
3424 <object type="slider">
3425 <placement x="%slider_x%" y="%slider_y%" />
3426 <resource base="slider" used="slider-used" touch="slider-touch" />
3427 <actions>
3428 <action function="set">tw_back=advanced</action>
3429 <action function="set">tw_action=adbsideload</action>
3430 <action function="set">tw_action_text1=ADB Sideload</action>
3431 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3432 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3433 <action function="set">tw_has_cancel=1</action>
3434 <action function="set">tw_show_reboot=1</action>
3435 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3436 <action function="page">action_page</action>
3437 </actions>
3438 </object>
3439
3440 <object type="text" color="%text_color%">
3441 <font resource="font" />
3442 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3443 <text>Swipe to Start Sideload</text>
3444 </object>
3445
3446 <object type="action">
3447 <touch key="home" />
3448 <action function="page">main</action>
3449 </object>
3450
3451 <object type="action">
3452 <touch key="back" />
3453 <action function="page">advanced</action>
3454 </object>
3455
3456 <object type="template" name="footer" />
3457 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003458
3459 <page name="installsu">
3460 <object type="template" name="header" />
3461
3462 <object type="text" color="%text_color%">
3463 <font resource="font" />
3464 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3465 <text>Install SuperSU?</text>
3466 </object>
3467
3468 <object type="text" color="%text_color%">
3469 <font resource="font" />
3470 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3471 <text>Your device does not appear to be rooted.</text>
3472 </object>
3473
3474 <object type="text" color="%text_color%">
3475 <font resource="font" />
3476 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3477 <text>Install SuperSU now?</text>
3478 </object>
3479
3480 <object type="text" color="%text_color%">
3481 <font resource="font" />
3482 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3483 <text>This will root your device.</text>
3484 </object>
3485
3486 <object type="button">
3487 <highlight color="%highlight_color%" />
3488 <placement x="%col_center_x%" y="%row3_y%" />
3489 <font resource="font" color="%button_text_color%" />
3490 <text>Do Not Install</text>
3491 <image resource="main_button" />
3492 <action function="set">tw_page_done=1</action>
3493 </object>
3494
3495 <object type="slider">
3496 <placement x="%slider_x%" y="%slider_y%" />
3497 <resource base="slider" used="slider-used" touch="slider-touch" />
3498 <actions>
3499 <action function="set">tw_action=installsu</action>
3500 <action function="set">tw_action_text1=Installing SuperSU</action>
3501 <action function="set">tw_action_text2=</action>
3502 <action function="page">singleaction_page</action>
3503 </actions>
3504 </object>
3505
3506 <object type="text" color="%text_color%">
3507 <font resource="font" />
3508 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3509 <text>Swipe to Install</text>
3510 </object>
3511 </page>
3512
3513 <page name="fixsu">
3514 <object type="template" name="header" />
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3519 <text>Fix Superuser Permissions?</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3525 <text>Root permissions appear to be lost.</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3531 <text>Fix root permissions now?</text>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3537 <text>(Fixes permissions on su binary & app)</text>
3538 </object>
3539
3540 <object type="button">
3541 <highlight color="%highlight_color%" />
3542 <placement x="%col_center_x%" y="%row3_y%" />
3543 <font resource="font" color="%button_text_color%" />
3544 <text>Do Not Fix</text>
3545 <image resource="main_button" />
3546 <action function="set">tw_page_done=1</action>
3547 </object>
3548
3549 <object type="slider">
3550 <placement x="%slider_x%" y="%slider_y%" />
3551 <resource base="slider" used="slider-used" touch="slider-touch" />
3552 <actions>
3553 <action function="set">tw_action=fixsu</action>
3554 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3555 <action function="set">tw_action_text2=</action>
3556 <action function="page">singleaction_page</action>
3557 </actions>
3558 </object>
3559
3560 <object type="text" color="%text_color%">
3561 <font resource="font" />
3562 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3563 <text>Swipe to Fix Root</text>
3564 </object>
3565 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003566 </pages>
3567</recovery>