blob: d43aae95d911ecea1fab83a574c241e0ec03249c [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="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="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="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" />
Dees_Troya13d74f2013-03-24 08:54:55 -050046 <variable name="col2_x" value="373" />
Dees_Troy51a0e822012-09-05 15:24:24 -040047 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040048 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="360" />
50 <variable name="row1_y" value="170" />
51 <variable name="row2_y" value="410" />
52 <variable name="row3_y" value="650" />
53 <variable name="row4_y" value="890" />
54 <variable name="col1_center_x" value="179" />
55 <variable name="col2_center_x" value="552" />
56 <variable name="row1_text2_y" value="310" />
57 <variable name="row2_text2_y" value="550" />
58 <variable name="row_queue_y" value="760" />
59 <variable name="row1_header_y" value="120" />
60 <variable name="row1_text_y" value="170" />
61 <variable name="row2_text_y" value="220" />
62 <variable name="row3_text_y" value="270" />
63 <variable name="row4_text_y" value="320" />
64 <variable name="row5_text_y" value="370" />
65 <variable name="row6_text_y" value="420" />
66 <variable name="row7_text_y" value="470" />
67 <variable name="row8_text_y" value="520" />
68 <variable name="row9_text_y" value="570" />
69 <variable name="row10_text_y" value="620" />
70 <variable name="row11_text_y" value="670" />
71 <variable name="row12_text_y" value="720" />
72 <variable name="row13_text_y" value="770" />
73 <variable name="row14_text_y" value="820" />
74 <variable name="row15_text_y" value="870" />
75 <variable name="row16_text_y" value="920" />
76 <variable name="row17_text_y" value="970" />
77 <variable name="row18_text_y" value="1020" />
78 <variable name="zip_status_y" value="615" />
79 <variable name="tz_selected_y" value="160" />
80 <variable name="tz_set_y" value="950" />
81 <variable name="tz_current_y" value="1180" />
82 <variable name="col_progressbar_x" value="234" />
83 <variable name="row_progressbar_y" value="1100" />
84 <variable name="col1_medium_x" value="10" />
85 <variable name="col2_medium_x" value="185" />
86 <variable name="col3_medium_x" value="365" />
87 <variable name="col4_medium_x" value="540" />
88 <variable name="row1_medium_y" value="130" />
89 <variable name="row2_medium_y" value="230" />
90 <variable name="row3_medium_y" value="330" />
91 <variable name="row4_medium_y" value="430" />
92 <variable name="row5_medium_y" value="530" />
93 <variable name="row6_medium_y" value="840" />
94 <variable name="row7_medium_y" value="730" />
95 <variable name="slider_x" value="68" />
96 <variable name="slider_y" value="1050" />
97 <variable name="slider_text_y" value="1117" />
98 <variable name="button_text_color" value="#AAAAAA" />
99 <variable name="text_color" value="#FFFFFF" />
100 <variable name="text_success_color" value="#33B5E5" />
101 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600102 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400103 <variable name="home_button_x" value="10" />
104 <variable name="home_button_y" value="1226" />
105 <variable name="back_button_x" value="625" />
106 <variable name="back_button_y" value="1226" />
107 <variable name="sort_text_x" value="10" />
108 <variable name="sort_asc_text_y" value="1090" />
109 <variable name="sort_asc_button_y" value="1080" />
110 <variable name="sort_desc_text_y" value="1150" />
111 <variable name="sort_desc_button_y" value="1140" />
112 <variable name="sort_col1_button_x" value="260" />
113 <variable name="sort_col2_button_x" value="360" />
114 <variable name="sort_col3_button_x" value="460" />
115 <variable name="input_width" value="700" />
116 <variable name="input_height" value="50" />
117 <variable name="input_background_color" value="#303030" />
118 <variable name="input_cursor_color" value="#33B5E5" />
119 <variable name="input_cursor_width" value="3" />
120 <variable name="console_x" value="0" />
121 <variable name="console_width" value="720" />
122 <variable name="console_foreground" value="#A0A0A0" />
123 <variable name="console_background" value="#303030" />
124 <variable name="console_scroll" value="#303030" />
125 <variable name="console_action_height" value="470" />
126 <variable name="console_install_height" value="600" />
127 <variable name="console_installdone_height" value="440" />
128 <variable name="fileselector_x" value="5" />
129 <variable name="fileselector_width" value="710" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500130 <variable name="fileselector_install_height" value="780" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400131 <variable name="fileselector_header_background" value="#202020" />
132 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
133 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
134 <variable name="fileselector_header_separatorheight" value="3" />
135 <variable name="fileselector_separatorcolor" value="#505050" />
136 <variable name="fileselector_separatorheight" value="2" />
137 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600138 <variable name="fileselector_highlight_color" value="#505050" />
139 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400140 <variable name="fileselector_spacing" value="36" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100141 <variable name="fastscroll_linecolor" value="#808080" />
142 <variable name="fastscroll_rectcolor" value="#808080" />
143 <variable name="fastscroll_w" value="60" />
144 <variable name="fastscroll_linew" value="2" />
145 <variable name="fastscroll_rectw" value="40" />
146 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="listbox_x" value="5" />
148 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600149 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400150 <variable name="listbox_background" value="#303030" />
151 <variable name="listbox_spacing" value="16" />
152 <variable name="sd_plus_x" value="350" />
153 <variable name="sdext_text_x" value="110" />
154 <variable name="sdext_text_y" value="180" />
155 <variable name="sdswap_button_y" value="260" />
156 <variable name="sdswap_text_x" value="110" />
157 <variable name="sdswap_text_y" value="270" />
158 <variable name="sdfilesystem_text_y" value="340" />
159 <variable name="sdfilesystem_button_y" value="380" />
160 <variable name="lock_x" value="160" />
161 <variable name="lock_y" value="400" />
162 <variable name="filemanager_select_x" value="560" />
163 <variable name="filemanager_select_y" value="1080" />
164 <variable name="backup_name_y" value="550" />
165 <variable name="terminal_console_height" value="700" />
166 <variable name="terminal_text_y" value="730" />
167 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400168 <variable name="row_dst_text_y" value="720" />
169 <variable name="row_offset_text_y" value="770" />
170 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500171 <variable name="button_fill_color" value="#303030" />
172 <variable name="button_fill_full_width" value="700" />
173 <variable name="button_fill_main_width" value="337" />
174 <variable name="button_fill_main_height" value="216" />
175 <variable name="button_fill_half_height" value="108" />
176 <variable name="button_fill_quarter_height" value="54" />
177 <variable name="backup_list_height" value="570" />
178 <variable name="backup_button_row1" value="745" />
179 <variable name="backup_button_row2" value="810" />
180 <variable name="mount_list_height" value="690" />
181 <variable name="mount_storage_row" value="820" />
182 <variable name="storage_list_height" value="875" />
183 <variable name="wipe_list_height" value="870" />
184 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200185 <variable name="slidervalue_w" value="700" />
186 <variable name="slidervalue_line_clr" value="#FFFFFF" />
187 <variable name="slidervalue_slider_clr" value="#33B5E5" />
188 <variable name="slidervalue_lineh" value="2" />
189 <variable name="slidervalue_padding" value="20" />
190 <variable name="slidervalue_sliderw" value="10" />
191 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400192 </variables>
193
194 <templates>
195 <template name="header">
196 <background color="#000000FF" />
197
198 <object type="image">
199 <image resource="top_bar" />
200 <placement x="0" y="0" />
201 </object>
202
203 <object type="text" color="%text_color%">
204 <font resource="font" />
205 <placement x="120" y="10" />
206 <text>Team Win Recovery Project v%tw_version%</text>
207 </object>
208
209 <object type="text" color="%text_color%">
210 <condition var1="tw_simulate_actions" var2="1" />
211 <font resource="font" />
212 <placement x="120" y="45" />
213 <text>SIMULATING ACTIONS</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="120" y="76" />
219 <text>%tw_time%</text>
220 </object>
221
222 <object type="text" color="%text_color%">
223 <font resource="font" />
224 <placement x="270" y="76" />
225 <conditions>
226 <condition var1="tw_no_battery_percent" var2="0" />
227 <condition var1="tw_battery" op=">" var2="0" />
228 <condition var1="tw_battery" op="<" var2="101" />
229 </conditions>
230 <text>Battery: %tw_battery%</text>
231 </object>
232
233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400235 <placement x="%home_button_x%" y="%home_button_y%" />
236 <font resource="font" color="%button_text_color%" />
237 <text></text>
238 <image resource="home_icon" />
239 <condition var1="tw_busy" var2="0" />
240 <action function="key">home</action>
241 </object>
242
243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400245 <placement x="%back_button_x%" y="%back_button_y%" />
246 <font resource="font" color="%button_text_color%" />
247 <text></text>
248 <image resource="back_icon" />
249 <condition var1="tw_busy" var2="0" />
250 <action function="key">back</action>
251 </object>
252
253 <object type="action">
254 <touch key="power" />
255 <action function="overlay">lock</action>
256 </object>
257 </template>
258
259 <template name="progress_bar">
260 <object type="progressbar">
261 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
262 <resource empty="progress_empty" full="progress_full" />
263 <data name="ui_progress" />
264 </object>
265
266 <object type="animation">
267 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
268 <resource name="progress" />
269 <speed fps="15" render="2" />
270 <loop frame="1" />
271 </object>
272 </template>
273
274 <template name="sort_options">
275 <object type="text" color="%text_color%">
276 <font resource="font" />
277 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
278 <text>Sort Ascending:</text>
279 </object>
280
281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400283 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
284 <font resource="font" 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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Date</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=2</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Size</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=3</action>
306 </object>
307
308 <object type="text" color="%text_color%">
309 <font resource="font" />
310 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
311 <text>Sort Descending:</text>
312 </object>
313
314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400316 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
317 <font resource="font" color="%button_text_color%" />
318 <text>Name</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=-1</action>
321 </object>
322
323 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600324 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400325 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-2</action>
330 </object>
331
332 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600333 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
335 <font resource="font" color="%button_text_color%" />
336 <text>Size</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=-3</action>
339 </object>
340 </template>
341
342 <template name="action_page_console">
343 <object type="console">
344 <placement x="0" y="%row2_y%" w="720" h="470" />
345 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
346 <font resource="fixed" />
347 </object>
348 </template>
349
350 <template name="footer">
351 <object type="console">
352 <slideout resource="slideout" x="325" y="1220" />
353 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
354 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
355 <font resource="fixed" />
356 </object>
357 </template>
358
359 <template name="keyboardtemplate">
360 <object type="keyboard">
361 <placement x="0" y="800" />
362 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400364 <layout1>
365 <keysize height="106" width="72" />
366 <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" />
367 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
368 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
369 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
370 </layout1>
371 <layout2>
372 <keysize height="106" width="72" />
373 <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" />
374 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
375 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
376 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
377 </layout2>
378 <layout3>
379 <keysize height="106" width="72" />
380 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
381 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
382 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
383 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
384 </layout3>
385 <layout4>
386 <keysize height="106" width="72" />
387 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
388 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
389 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
390 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
391 </layout4>
392 </object>
393 </template>
394 </templates>
395
396 <pages>
397 <page name="main">
398 <object type="action">
399 <actions>
400 <action function="set">tw_clear_destination=main2</action>
401 <action function="page">clear_vars</action>
402 </actions>
403 </object>
404 </page>
405
406 <page name="main2">
407 <object type="template" name="header" />
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col1_x%" y="%row1_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Install</text>
414 <image resource="main_button" />
415 <actions>
416 <action function="queueclear"></action>
417 <action function="page">install</action>
418 </actions>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row1_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Wipe</text>
426 <image resource="main_button" />
427 <action function="page">wipe</action>
428 </object>
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row2_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Backup</text>
435 <image resource="main_button" />
436 <action function="page">backup</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row2_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Restore</text>
444 <image resource="main_button" />
445 <action function="page">restore</action>
446 </object>
447
448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600449 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400450 <placement x="%col1_x%" y="%row3_y%" />
451 <font resource="font" color="%button_text_color%" />
452 <text>Mount</text>
453 <image resource="main_button" />
454 <action function="page">mount</action>
455 </object>
456
457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400459 <placement x="%col2_x%" y="%row3_y%" />
460 <font resource="font" color="%button_text_color%" />
461 <text>Settings</text>
462 <image resource="main_button" />
463 <action function="page">settings</action>
464 </object>
465
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col1_x%" y="%row4_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Advanced</text>
472 <image resource="main_button" />
473 <action function="page">advanced</action>
474 </object>
475
476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400478 <placement x="%col2_x%" y="%row4_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Reboot</text>
481 <image resource="main_button" />
482 <action function="page">reboot</action>
483 </object>
484
485 <object type="template" name="footer" />
486 </page>
487
488 <page name="install">
489 <object type="template" name="header" />
490
491 <object type="text" color="%text_color%">
492 <font resource="font" />
493 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
494 <text>Select Zip to Install</text>
495 </object>
496
497 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <highlight color="%highlight_color%" />
499 <fill color="%button_fill_color%" />
500 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
501 <font resource="font" color="%button_text_color%" />
502 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
503 <actions>
504 <action function="set">tw_back=install</action>
505 <action function="page">selectstorage</action>
506 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 </object>
508
509 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600510 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500511 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100513 <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 -0400514 <text>%tw_zip_location%</text>
515 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
516 <sort name="tw_gui_sort_order" />
517 <icon folder="folder_icon" file="file_icon" />
518 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600519 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 <filter extn=".zip" folders="1" files="1" />
521 <path name="tw_zip_location" default="/sdcard" />
522 <data name="tw_filename" />
523 <selection name="tw_file" />
524 </object>
525
526 <object type="template" name="sort_options" />
527
528 <object type="action">
529 <condition var1="tw_filename" op="modified" />
530 <actions>
531 <action function="queuezip"></action>
532 <action function="page">flash_confirm</action>
533 </actions>
534 </object>
535
536 <object type="action">
537 <touch key="back" />
538 <action function="page">main</action>
539 </object>
540
541 <object type="action">
542 <touch key="home" />
543 <action function="page">main</action>
544 </object>
545
546 <object type="template" name="footer" />
547 </page>
548
549 <page name="flash_confirm">
550 <object type="template" name="header" />
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
555 <text>This operation may install incompatible</text>
556 </object>
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
561 <text>software and render your device unusable.</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
567 <text>Folder:</text>
568 </object>
569
570 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400571 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
573 <text>%tw_zip_location%</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
579 <text>File to flash:</text>
580 </object>
581
582 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400583 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
585 <text>%tw_file%</text>
586 </object>
587
588 <object type="text" color="%text_color%">
589 <font resource="font" />
590 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
591 <text>Press back to cancel adding this zip.</text>
592 </object>
593
594 <object type="checkbox">
595 <placement x="%col1_x%" y="%row8_text_y%" />
596 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400597 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400598 <data variable="tw_signed_zip_verify" />
599 <image checked="checkbox_true" unchecked="checkbox_false" />
600 </object>
601
602 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <condition var1="tw_has_injecttwrp" var2="1" />
604 <placement x="%col1_x%" y="%row10_text_y%" />
605 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400606 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <data variable="tw_inject_after_zip" />
608 <image checked="checkbox_true" unchecked="checkbox_false" />
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <text>File %tw_zip_queue_count% of max of 10</text>
615 </object>
616
617 <object type="slider">
618 <placement x="%slider_x%" y="%slider_y%" placement="5" />
619 <resource base="slider" used="slider-used" touch="slider-touch" />
620 <action function="flash">flash_zip</action>
621 </object>
622
623 <object type="text" color="%text_color%">
624 <font resource="font" />
625 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
626 <text>Swipe to Confirm Flash</text>
627 </object>
628
629 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600630 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400631 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
632 <placement x="%col1_x%" y="%row_queue_y%" />
633 <font resource="font" color="%button_text_color%" />
634 <text>Add More Zips</text>
635 <image resource="main_button" />
636 <action function="page">install</action>
637 </object>
638
639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400641 <placement x="%col2_x%" y="%row_queue_y%" />
642 <font resource="font" color="%button_text_color%" />
643 <text>Clear Zip Queue</text>
644 <image resource="main_button" />
645 <actions>
646 <action function="queueclear"></action>
647 <action function="page">install</action>
648 </actions>
649 </object>
650
651 <object type="action">
652 <touch key="back" />
653 <actions>
654 <action function="cancelzip"></action>
655 <action function="page">install</action>
656 </actions>
657 </object>
658
659 <object type="action">
660 <touch key="home" />
661 <action function="page">main</action>
662 </object>
663
664 <object type="template" name="footer" />
665 </page>
666
667 <page name="flash_zip">
668 <object type="template" name="header" />
669
670 <object type="console">
671 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
672 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
673 <font resource="fixed" />
674 </object>
675
676 <object type="text" color="%text_color%">
677 <font resource="font" />
678 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
679 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
680 </object>
681
682 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400683 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400684 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
685 <text>%tw_filename%</text>
686 </object>
687
688 <object type="template" name="progress_bar" />
689
690 <object type="action">
691 <condition var1="tw_operation_state" var2="1" />
692 <action function="page">flash_done</action>
693 </object>
694 </page>
695
696 <page name="flash_done">
697 <object type="template" name="header" />
698
699 <object type="text" color="%text_color%">
700 <font resource="font" />
701 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
702 <text>Zip Install Complete</text>
703 </object>
704
705 <object type="console">
706 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
707 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
708 <font resource="fixed" />
709 </object>
710
711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400713 <placement x="%col1_x%" y="%row4_y%" />
714 <font resource="font" color="%button_text_color%" />
715 <text>Wipe cache/dalvik</text>
716 <image resource="main_button" />
717 <actions>
718 <action function="set">tw_back=flash_done</action>
719 <action function="set">tw_action=wipe</action>
720 <action function="set">tw_action_param=/cache</action>
721 <action function="set">tw_has_action2=1</action>
722 <action function="set">tw_action2=wipe</action>
723 <action function="set">tw_action2_param=dalvik</action>
724 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
725 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
726 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
727 <action function="set">tw_slider_text=Swipe to Wipe</action>
728 <action function="page">confirm_action</action>
729 </actions>
730 </object>
731
732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <placement x="%col2_x%" y="%row4_y%" />
735 <font resource="font" color="%button_text_color%" />
736 <text>Reboot System</text>
737 <image resource="main_button" />
738 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400739 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <action function="set">tw_action=reboot</action>
741 <action function="set">tw_action_param=system</action>
742 <action function="set">tw_has_action2=0</action>
743 <action function="set">tw_text1=No OS Installed! Are you</action>
744 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_text3=</action>
746 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400748 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400749 <action function="set">tw_complete_text1=Rebooting...</action>
750 <action function="set">tw_slider_text=Swipe to Reboot</action>
751 <action function="page">rebootcheck</action>
752 </actions>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <placement x="%col_center_x%" y="%row3_y%" />
758 <font resource="font" color="%button_text_color%" />
759 <text>Home</text>
760 <image resource="main_button" />
761 <actions>
762 <action function="set">tw_clear_destination=main2</action>
763 <action function="page">clear_vars</action>
764 </actions>
765 </object>
766
767 <object type="text" color="%text_fail_color%">
768 <condition var1="tw_operation_status" op="!=" var2="0" />
769 <font resource="font" />
770 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
771 <text>Failed</text>
772 </object>
773
774 <object type="text" color="%text_success_color%">
775 <condition var1="tw_operation_status" var2="0" />
776 <font resource="font" />
777 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
778 <text>Successful</text>
779 </object>
780
781 <object type="action">
782 <touch key="back" />
783 <actions>
784 <action function="set">tw_clear_destination=install</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </object>
788
789 <object type="action">
790 <touch key="home" />
791 <actions>
792 <action function="set">tw_clear_destination=main2</action>
793 <action function="page">clear_vars</action>
794 </actions>
795 </object>
796 </page>
797
798 <page name="clear_vars">
799 <object type="action">
800 <action function="set">tw_operation_state=0</action>
801 <action function="set">tw_text1=</action>
802 <action function="set">tw_text2=</action>
803 <action function="set">tw_text3=</action>
804 <action function="set">tw_text4=</action>
805 <action function="set">tw_action_text1=</action>
806 <action function="set">tw_action_text2=</action>
807 <action function="set">tw_action_param=</action>
808 <action function="set">tw_has_action2=0</action>
809 <action function="set">tw_action2=</action>
810 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400811 <action function="set">tw_has_cancel=0</action>
812 <action function="set">tw_cancel_action=</action>
813 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400814 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400815 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400816 <action function="page">%tw_clear_destination%</action>
817 </object>
818 </page>
819
820 <page name="confirm_action">
821 <object type="template" name="header" />
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
826 <text>%tw_text1%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
832 <text>%tw_text2%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
838 <text>%tw_text3%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
844 <text>%tw_text4%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400849 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <text>Press back button to cancel.</text>
851 </object>
852
853 <object type="slider">
854 <placement x="%slider_x%" y="%slider_y%" />
855 <resource base="slider" used="slider-used" touch="slider-touch" />
856 <action function="page">action_page</action>
857 </object>
858
859 <object type="text" color="%text_color%">
860 <font resource="font" />
861 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
862 <text>%tw_slider_text%</text>
863 </object>
864
865 <object type="action">
866 <touch key="back" />
867 <actions>
868 <action function="set">tw_clear_destination=%tw_back%</action>
869 <action function="page">clear_vars</action>
870 </actions>
871 </object>
872
873 <object type="action">
874 <touch key="home" />
875 <action function="page">main</action>
876 </object>
877
878 <object type="template" name="footer" />
879 </page>
880
881 <page name="action_page">
882 <object type="template" name="header" />
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
887 <text>%tw_action_text1%</text>
888 </object>
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
893 <text>%tw_action_text2%</text>
894 </object>
895
896 <object type="template" name="action_page_console" />
897
Dees_Troybbb21012012-09-20 15:59:46 -0400898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600899 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400900 <condition var1="tw_has_cancel" var2="1" />
901 <placement x="%col_center_medium_x%" y="%row4_y%" />
902 <font resource="font" color="%button_text_color%" />
903 <text>Cancel</text>
904 <image resource="medium_button" />
905 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
906 </object>
907
Dees_Troy51a0e822012-09-05 15:24:24 -0400908 <object type="template" name="progress_bar" />
909
910 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400911 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400912 <actions>
913 <action function="page">action_complete</action>
914 </actions>
915 </object>
916
917 <object type="action">
918 <condition var1="tw_has_action2" var2="0" />
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 </actions>
922 </object>
923
924 <object type="action">
925 <condition var1="tw_has_action2" var2="1" />
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 <action function="%tw_action2%">%tw_action2_param%</action>
929 </actions>
930 </object>
931 </page>
932
Dees_Troy6ef66352013-02-21 08:26:57 -0600933 <page name="singleaction_page">
934 <object type="template" name="header" />
935
936 <object type="text" color="%text_color%">
937 <font resource="font" />
938 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
939 <text>%tw_action_text1%</text>
940 </object>
941
942 <object type="text" color="%text_color%">
943 <font resource="font" />
944 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
945 <text>%tw_action_text2%</text>
946 </object>
947
948 <object type="template" name="action_page_console" />
949
950 <object type="template" name="progress_bar" />
951
952 <object type="action">
953 <condition var1="tw_operation_state" var2="1" />
954 <actions>
955 <action function="set">tw_page_done=1</action>
956 </actions>
957 </object>
958
959 <object type="action">
960 <condition var1="tw_has_action2" var2="0" />
961 <actions>
962 <action function="%tw_action%">%tw_action_param%</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="1" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 <action function="%tw_action2%">%tw_action2_param%</action>
971 </actions>
972 </object>
973 </page>
974
Dees_Troy51a0e822012-09-05 15:24:24 -0400975 <page name="action_complete">
976 <object type="template" name="header" />
977
978 <object type="text" color="%text_color%">
979 <font resource="font" />
980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
981 <text>%tw_complete_text1%</text>
982 </object>
983
984 <object type="text" color="%text_fail_color%">
985 <condition var1="tw_operation_status" op="!=" var2="0" />
986 <font resource="font" />
987 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
988 <text>Failed</text>
989 </object>
990
991 <object type="text" color="%text_success_color%">
992 <condition var1="tw_operation_status" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Successful</text>
996 </object>
997
998 <object type="template" name="action_page_console" />
999
1000 <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="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Back</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_clear_destination=%tw_back%</action>
1009 <action function="page">clear_vars</action>
1010 </actions>
1011 </object>
1012
Dees_Troya3f81542012-10-08 10:58:53 -04001013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001014 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001015 <condition var1="tw_show_reboot" var2="1" />
1016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Reboot System</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_back=main2</action>
1022 <action function="set">tw_action=reboot</action>
1023 <action function="set">tw_action_param=system</action>
1024 <action function="set">tw_has_action2=0</action>
1025 <action function="set">tw_text1=No OS Installed! Are you</action>
1026 <action function="set">tw_text2=sure you wish to reboot?</action>
1027 <action function="set">tw_text3=</action>
1028 <action function="set">tw_text4=</action>
1029 <action function="set">tw_action_text1=Rebooting...</action>
1030 <action function="set">tw_action_text2=</action>
1031 <action function="set">tw_complete_text1=Rebooting...</action>
1032 <action function="set">tw_slider_text=Swipe to Reboot</action>
1033 <action function="page">rebootcheck</action>
1034 </actions>
1035 </object>
1036
Dees_Troy51a0e822012-09-05 15:24:24 -04001037 <object type="action">
1038 <touch key="home" />
1039 <actions>
1040 <action function="set">tw_clear_destination=main2</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </object>
1044
1045 <object type="action">
1046 <touch key="back" />
1047 <actions>
1048 <action function="set">tw_clear_destination=%tw_back%</action>
1049 <action function="page">clear_vars</action>
1050 </actions>
1051 </object>
1052 </page>
1053
1054 <page name="filecheck">
1055 <object type="action">
1056 <action function="fileexists">%tw_filecheck%</action>
1057 </object>
1058
1059 <object type="action">
1060 <conditions>
1061 <condition var1="tw_operation_state" var2="1" />
1062 <condition var1="tw_operation_status" var2="0" />
1063 </conditions>
1064 <actions>
1065 <action function="set">tw_fileexists=1</action>
1066 <action function="page">%tw_existpage%</action>
1067 </actions>
1068 </object>
1069
1070 <object type="action">
1071 <conditions>
1072 <condition var1="tw_operation_state" var2="1" />
1073 <condition var1="tw_operation_status" var2="1" />
1074 </conditions>
1075 <actions>
1076 <action function="set">tw_fileexists=0</action>
1077 <action function="page">%tw_notexistpage%</action>
1078 </actions>
1079 </object>
1080 </page>
1081
1082 <page name="rebootcheck">
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1085 <action function="reboot">%tw_action_param%</action>
1086 </object>
1087
1088 <object type="action">
1089 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1090 <action function="page">confirm_action</action>
1091 </object>
1092 </page>
1093
1094 <page name="wipe">
1095 <object type="template" name="header" />
1096
1097 <object type="text" color="%text_color%">
1098 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001099 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001100 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1106 <text>Wipes Data, Cache, and Dalvik</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <condition var1="tw_has_data_media" var2="0" />
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1113 <text>.android_secure</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <condition var1="tw_has_data_media" var2="1" />
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1120 <text>(not including internal storage)</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <condition var1="tw_has_sdext_partition" var2="1" />
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1127 <text>SD-EXT</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1133 <text>Most of the time this is</text>
1134 </object>
1135
1136 <object type="text" color="%text_color%">
1137 <font resource="font" />
1138 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1139 <text>the only wipe that you need.</text>
1140 </object>
1141
1142 <object type="text" color="%text_color%">
1143 <font resource="font" />
1144 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1145 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001152 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </object>
1156
1157 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <conditions>
1159 <condition var1="tw_has_internal" var2="1" />
1160 <condition var1="tw_has_data_media" var2="1" />
1161 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001162 <highlight color="%highlight_color%" />
1163 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 <font resource="font" color="%button_text_color%" />
1165 <text>Format Data</text>
1166 <image resource="main_button" />
1167 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 </actions>
1170 </object>
1171
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <object type="slider">
1173 <placement x="%slider_x%" y="%slider_y%" />
1174 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001175 <actions>
1176 <action function="set">tw_back=wipe</action>
1177 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <action function="set">tw_action_param=data</action>
1179 <action function="set">tw_action_text1=Factory Reset...</action>
1180 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1181 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001182 </actions>
1183 </object>
1184
Dees_Troya13d74f2013-03-24 08:54:55 -05001185 <object type="text" color="%text_color%">
1186 <font resource="font" />
1187 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1188 <text>Swipe to Factory Reset</text>
1189 </object>
1190
1191 <object type="action">
1192 <touch key="back" />
1193 <action function="page">main</action>
1194 </object>
1195
1196 <object type="action">
1197 <touch key="home" />
1198 <action function="page">main</action>
1199 </object>
1200
1201 <object type="template" name="footer" />
1202 </page>
1203
1204 <page name="advancedwipe">
1205 <object type="template" name="header" />
1206
1207 <object type="text" color="%text_color%">
1208 <font resource="font" />
1209 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1210 <text>Wipe Menu</text>
1211 </object>
1212
1213 <object type="partitionlist">
1214 <highlight color="%fileselector_highlight_color%" />
1215 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1216 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1217 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1218 <text>Select Partitions to Wipe:</text>
1219 <icon selected="checkbox_true" unselected="checkbox_false" />
1220 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1221 <background color="%listbox_background%" />
1222 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1223 <data name="tw_wipe_list" />
1224 <listtype name="wipe" />
1225 </object>
1226
1227 <object type="slider">
1228 <placement x="%slider_x%" y="%slider_y%" />
1229 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001230 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001231 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001232 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001233 <action function="set">tw_action_param=LIST</action>
1234 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1235 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1236 <action function="set">tw_complete_text1=Wipe Complete</action>
1237 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001238 </actions>
1239 </object>
1240
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <object type="text" color="%text_color%">
1242 <font resource="font" />
1243 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1244 <text>Swipe to Wipe</text>
1245 </object>
1246
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 <object type="action">
1248 <touch key="home" />
1249 <action function="page">main</action>
1250 </object>
1251
1252 <object type="action">
1253 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001254 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001255 </object>
1256
1257 <object type="template" name="footer" />
1258 </page>
1259
Dees_Troya13d74f2013-03-24 08:54:55 -05001260 <page name="formatdata">
1261 <object type="template" name="header" />
1262
1263 <object type="text" color="%text_color%">
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1266 <text>Format Data will wipe all of your apps,</text>
1267 </object>
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1272 <text>backups, pictures, videos, media, and</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1278 <text>removes encryption on internal storage.</text>
1279 </object>
1280
1281 <object type="text" color="%text_color%">
1282 <font resource="font" />
1283 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1284 <text>This cannot be undone. Press back to cancel.</text>
1285 </object>
1286
1287 <object type="text" color="%text_color%">
1288 <font resource="font" />
1289 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1290 <text>Type yes to continue.</text>
1291 </object>
1292
1293 <object type="input">
1294 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1295 <background color="%input_background_color%" />
1296 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1297 <font resource="font" color="%text_color%" />
1298 <text>%tw_confirm_formatdata%</text>
1299 <data name="tw_confirm_formatdata" />
1300 <restrict minlen="3" maxlen="3" allow="yes" />
1301 <action function="page">formatdata_confirm</action>
1302 </object>
1303
1304 <object type="template" name="keyboardtemplate" />
1305
1306 <object type="action">
1307 <touch key="home" />
1308 <action function="page">main</action>
1309 </object>
1310
1311 <object type="action">
1312 <touch key="back" />
1313 <action function="page">wipe</action>
1314 </object>
1315
1316 <object type="template" name="footer" />
1317 </page>
1318
1319 <page name="formatdata_confirm">
1320 <object type="action">
1321 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1322 <actions>
1323 <action function="set">tw_back=formatdata</action>
1324 <action function="set">tw_action=wipe</action>
1325 <action function="set">tw_action_param=DATAMEDIA</action>
1326 <action function="set">tw_action_text1=Formatting Data...</action>
1327 <action function="set">tw_complete_text1=Data Format Complete</action>
1328 <action function="page">action_page</action>
1329 </actions>
1330 </object>
1331
1332 <object type="action">
1333 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1334 <action function="page">formatdata</function>
1335 </object>
1336 </page>
1337
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 <page name="backup">
1339 <object type="template" name="header" />
1340
1341 <object type="text" color="%text_color%">
1342 <font resource="font" />
1343 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1344 <text>Backup Name: %tw_backup_name%</text>
1345 </object>
1346
Dees_Troya13d74f2013-03-24 08:54:55 -05001347 <object type="partitionlist">
1348 <highlight color="%fileselector_highlight_color%" />
1349 <placement x="%listbox_x%" y="%row1_text_y%" w="%listbox_width%" h="%backup_list_height%" />
1350 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1351 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1352 <text>Select Partitions to Back Up:</text>
1353 <icon selected="checkbox_true" unselected="checkbox_false" />
1354 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1355 <background color="%listbox_background%" />
1356 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1357 <data name="tw_backup_list" />
1358 <listtype name="backup" />
1359 </object>
1360
1361 <object type="button">
1362 <highlight color="%highlight_color%" />
1363 <fill color="%button_fill_color%" />
1364 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1365 <font resource="font" color="%button_text_color%" />
1366 <text>Set Backup Name</text>
1367 <actions>
1368 <action function="set">tw_fileexists=0</action>
1369 <action function="page">backupname1</action>
1370 </actions>
1371 </object>
1372
1373 <object type="button">
1374 <highlight color="%highlight_color%" />
1375 <fill color="%button_fill_color%" />
1376 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1377 <font resource="font" color="%button_text_color%" />
1378 <text>Refresh Sizes</text>
1379 <action function="refreshsizes"></action>
1380 </object>
1381
1382 <object type="button">
1383 <highlight color="%highlight_color%" />
1384 <fill color="%button_fill_color%" />
1385 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1386 <font resource="font" color="%button_text_color%" />
1387 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1388 <actions>
1389 <action function="set">tw_back=backup</action>
1390 <action function="page">selectstorage</action>
1391 </actions>
1392 </object>
1393
1394 <object type="checkbox">
1395 <placement x="%col1_x%" y="%row15_text_y%" />
1396 <font resource="font" color="%text_color%" />
1397 <text>Enable compression.</text>
1398 <data variable="tw_use_compression" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="checkbox">
1403 <placement x="%col1_x%" y="%row16_text_y%" />
1404 <font resource="font" color="%text_color%" />
1405 <text>Skip MD5 generation during backup.</text>
1406 <data variable="tw_skip_md5_generate" />
1407 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001408 </object>
1409
1410 <object type="slider">
1411 <placement x="%slider_x%" y="slider_y" />
1412 <resource base="slider" used="slider-used" touch="slider-touch" />
1413 <action function="page">backup_run</action>
1414 </object>
1415
1416 <object type="text" color="%text_color%">
1417 <font resource="font" />
1418 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1419 <text>Swipe to Back Up</text>
1420 </object>
1421
Dees_Troy51a0e822012-09-05 15:24:24 -04001422 <object type="action">
1423 <touch key="home" />
1424 <action function="page">main</action>
1425 </object>
1426
1427 <object type="action">
1428 <touch key="back" />
1429 <action function="page">main</action>
1430 </object>
1431
1432 <object type="template" name="footer" />
1433 </page>
1434
1435 <page name="backupname1">
1436 <object type="action">
1437 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1438 <action function="set">tw_backup_name=</function>
1439 </object>
1440
1441 <object type="action">
1442 <action function="page">backupname2</function>
1443 </object>
1444 </page>
1445
1446 <page name="backupname2">
1447 <object type="template" name="header" />
1448
1449 <object type="text" color="%text_color%">
1450 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1451 <font resource="font" />
1452 <text>Please Enter a Backup Name</text>
1453 </object>
1454
1455 <object type="input">
1456 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1457 <background color="%input_background_color%" />
1458 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1459 <font resource="font" color="%text_color%" />
1460 <text>%tw_backup_name%</text>
1461 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001462 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 <actions>
1464 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1465 <action function="set">tw_existpage=backupname2</action>
1466 <action function="set">tw_notexistpage=backup</action>
1467 <action function="page">filecheck</action>
1468 </actions>
1469 </object>
1470
1471 <object type="text" color="%text_fail_color%">
1472 <condition var1="tw_fileexists" var2="1" />
1473 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1474 <font resource="font" />
1475 <text>A backup with that name already exists!</text>
1476 </object>
1477
1478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001479 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001480 <placement x="%col_center_x%" y="%row2_y%" />
1481 <font resource="font" color="%button_text_color%" />
1482 <text>Cancel</text>
1483 <image resource="main_button" />
1484 <actions>
1485 <action function="set">tw_backup_name=(Current Date)</action>
1486 <action function="page">backup</action>
1487 </actions>
1488 </object>
1489
1490 <object type="template" name="keyboardtemplate" />
1491
1492 <object type="action">
1493 <touch key="home" />
1494 <actions>
1495 <action function="set">tw_backup_name=(Current Date)</action>
1496 <action function="page">main</action>
1497 </actions>
1498 </object>
1499
1500 <object type="action">
1501 <touch key="back" />
1502 <actions>
1503 <action function="set">tw_backup_name=(Current Date)</action>
1504 <action function="page">backup</action>
1505 </actions>
1506 </object>
1507
1508 <object type="template" name="footer" />
1509 </page>
1510
1511 <page name="backup_run">
1512 <object type="template" name="header" />
1513
1514 <object type="text" color="%text_color%">
1515 <font resource="font" />
1516 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1517 <text>%tw_operation% %tw_partition%</text>
1518 </object>
1519
1520 <object type="template" name="action_page_console" />
1521
1522 <object type="template" name="progress_bar" />
1523
1524 <object type="action">
1525 <action function="nandroid">backup</action>
1526 </object>
1527
1528 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001529 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001530 <actions>
1531 <action function="set">tw_back=backup</action>
1532 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001533 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001534 <action function="page">action_complete</action>
1535 </actions>
1536 </object>
1537 </page>
1538
1539 <page name="restore">
1540 <object type="template" name="header" />
1541
1542 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001543 <highlight color="%highlight_color%" />
1544 <fill color="%button_fill_color%" />
1545 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1546 <font resource="font" color="%button_text_color%" />
1547 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1548 <actions>
1549 <action function="set">tw_back=restore</action>
1550 <action function="page">selectstorage</action>
1551 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001552 </object>
1553
1554 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001555 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001556 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001557 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001558 <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 -04001559 <text>Select Package to Restore:</text>
1560 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1561 <sort name="tw_gui_sort_order" />
1562 <icon folder="folder_icon" file="file_icon" />
1563 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001564 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001565 <filter folders="1" files="0" nav="0" />
1566 <path name="tw_backups_folder" />
1567 <data name="tw_restore" default="" />
1568 <selection name="tw_restore_name" />
1569 </object>
1570
1571 <object type="template" name="sort_options" />
1572
1573 <object type="action">
1574 <condition var1="tw_restore" op="modified" />
1575 <actions>
1576 <action function="readBackup"></action>
1577 <action function="page">restore_select</action>
1578 </actions>
1579 </object>
1580
1581 <object type="action">
1582 <touch key="home" />
1583 <action function="page">main</action>
1584 </object>
1585
1586 <object type="action">
1587 <touch key="back" />
1588 <action function="page">main</action>
1589 </object>
1590
1591 <object type="template" name="footer" />
1592 </page>
1593
1594 <page name="restore_select">
1595 <object type="template" name="header" />
1596
Dees_Troya13d74f2013-03-24 08:54:55 -05001597 <object type="partitionlist">
1598 <highlight color="%fileselector_highlight_color%" />
1599 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1600 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1601 <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 -04001602 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001603 <icon selected="checkbox_true" unselected="checkbox_false" />
1604 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1605 <background color="%listbox_background%" />
1606 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1607 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1608 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001609 </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="%col1_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>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001617 <actions>
1618 <action function="set">tw_backup_rename=</action>
1619 <action function="set">tw_fileexists=0</action>
1620 <action function="page">renamebackup</action>
1621 </actions>
1622 </object>
1623
1624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001625 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001626 <fill color="%button_fill_color%" />
1627 <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 -04001628 <font resource="font" color="%button_text_color%" />
1629 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001630 <actions>
1631 <action function="set">tw_back=restore</action>
1632 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001633 <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 -04001634 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1635 <action function="set">tw_text2=This cannot be undone!</action>
1636 <action function="set">tw_action_text1=Deleting Backup...</action>
1637 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1638 <action function="set">tw_slider_text=Swipe to Delete</action>
1639 <action function="page">confirm_action</action>
1640 </actions>
1641 </object>
1642
Dees_Troya13d74f2013-03-24 08:54:55 -05001643 <object type="checkbox">
1644 <placement x="%col1_x%" y="%row15_text_y%" />
1645 <font resource="font" color="%text_color%" />
1646 <text>Enable MD5 verification of backup files.</text>
1647 <data variable="tw_skip_md5_check" />
1648 <image checked="checkbox_true" unchecked="checkbox_false" />
1649 </object>
1650
1651 <object type="text" color="%text_color%">
1652 <font resource="font" />
1653 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1654 <text>Package Date: %tw_restore_file_date%</text>
1655 </object>
1656
Dees_Troy51a0e822012-09-05 15:24:24 -04001657 <object type="slider">
1658 <placement x="%slider_x%" y="%slider_y%" />
1659 <resource base="slider" used="slider-used" touch="slider-touch" />
1660 <action function="page">restore_run</action>
1661 </object>
1662
1663 <object type="text" color="%text_color%">
1664 <font resource="font" />
1665 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1666 <text>Swipe to Restore</text>
1667 </object>
1668
Dees_Troy51a0e822012-09-05 15:24:24 -04001669 <object type="action">
1670 <touch key="home" />
1671 <action function="page">main</action>
1672 </object>
1673
1674 <object type="action">
1675 <touch key="back" />
1676 <action function="page">restore</action>
1677 </object>
1678
1679 <object type="template" name="footer" />
1680 </page>
1681
1682 <page name="renamebackup">
1683 <object type="template" name="header" />
1684
1685 <object type="text" color="%text_color%">
1686 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1687 <font resource="font" />
1688 <text>Please Enter a New Backup Name</text>
1689 </object>
1690
1691 <object type="input">
1692 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1693 <background color="%input_background_color%" />
1694 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1695 <font resource="font" color="%text_color%" />
1696 <text>%tw_backup_rename%</text>
1697 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001698 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <actions>
1700 <action function="set">tw_back=restore</action>
1701 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001702 <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 -04001703 <action function="set">tw_text1=Rename Backup?</action>
1704 <action function="set">tw_text2=This cannot be undone!</action>
1705 <action function="set">tw_action_text1=Renaming Backup...</action>
1706 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1707 <action function="set">tw_slider_text=Swipe to Rename</action>
1708 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1709 <action function="set">tw_existpage=renamebackup</action>
1710 <action function="set">tw_notexistpage=confirm_action</action>
1711 <action function="page">filecheck</action>
1712 </actions>
1713 </object>
1714
1715 <object type="text" color="%text_fail_color%">
1716 <condition var1="tw_fileexists" var2="1" />
1717 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1718 <font resource="font" />
1719 <text>A backup with that name already exists!</text>
1720 </object>
1721
1722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001724 <placement x="%col_center_x%" y="%row2_y%" />
1725 <font resource="font" color="%button_text_color%" />
1726 <text>Cancel</text>
1727 <image resource="main_button" />
1728 <action function="page">restore_select</action>
1729 </object>
1730
1731 <object type="template" name="keyboardtemplate" />
1732
1733 <object type="action">
1734 <touch key="home" />
1735 <action function="page">main</action>
1736 </object>
1737
1738 <object type="action">
1739 <touch key="back" />
1740 <action function="page">restore_select</action>
1741 </object>
1742
1743 <object type="template" name="footer" />
1744 </page>
1745
1746 <page name="restore_run">
1747 <object type="template" name="header" />
1748
1749 <object type="text" color="%text_color%">
1750 <font resource="font" />
1751 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1752 <text>%tw_operation% %tw_partition%</text>
1753 </object>
1754
1755 <object type="template" name="action_page_console" />
1756
1757 <object type="template" name="progress_bar" />
1758
1759 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001760 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001761 <actions>
1762 <action function="set">tw_back=restore_select</action>
1763 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001764 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001765 <action function="page">action_complete</action>
1766 </actions>
1767 </object>
1768
1769 <object type="action">
1770 <action function="nandroid">restore</action>
1771 </object>
1772 </page>
1773
Dees_Troya13d74f2013-03-24 08:54:55 -05001774 <page name="selectstorage">
1775 <object type="template" name="header" />
1776
1777 <object type="partitionlist">
1778 <highlight color="%fileselector_highlight_color%" />
1779 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
1780 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1781 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1782 <text>Select Storage:</text>
1783 <icon selected="radio_true" unselected="radio_false" />
1784 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1785 <background color="%listbox_background%" />
1786 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1787 <data name="tw_storage_path" />
1788 <listtype name="storage" />
1789 </object>
1790
1791 <object type="action">
1792 <touch key="home" />
1793 <action function="page">main</action>
1794 </object>
1795
1796 <object type="action">
1797 <touch key="back" />
1798 <actions>
1799 <action function="page">%tw_back%</action>
1800 </actions>
1801 </object>
1802
1803 <object type="template" name="footer" />
1804 </page>
1805
Dees_Troy51a0e822012-09-05 15:24:24 -04001806 <page name="mount">
1807 <object type="template" name="header" />
1808
Dees_Troya13d74f2013-03-24 08:54:55 -05001809 <object type="partitionlist">
1810 <highlight color="%fileselector_highlight_color%" />
1811 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
1812 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1813 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1814 <text>Select Partitions to Mount:</text>
1815 <icon selected="checkbox_true" unselected="checkbox_false" />
1816 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1817 <background color="%listbox_background%" />
1818 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1819 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001820 </object>
1821
1822 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001823 <highlight color="%highlight_color%" />
1824 <fill color="%button_fill_color%" />
1825 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1826 <font resource="font" color="%button_text_color%" />
1827 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1828 <actions>
1829 <action function="set">tw_back=mount</action>
1830 <action function="page">selectstorage</action>
1831 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001832 </object>
1833
1834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001835 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001836 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001837 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001838 <font resource="font" color="%button_text_color%" />
1839 <text>Mount USB Storage</text>
1840 <image resource="main_button" />
1841 <action function="page">usb_mount</action>
1842 </object>
1843
Gary Peckffdc6ae2012-11-21 18:02:02 -08001844 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001845 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001846 <conditions>
1847 <condition var1="tw_is_encrypted" var2="1" />
1848 <condition var1="tw_is_decrypted" var2="0" />
1849 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001850 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08001851 <font resource="font" color="%button_text_color%" />
1852 <text>Decrypt Data</text>
1853 <image resource="main_button" />
1854 <action function="page">decrypt</action>
1855 </object>
1856
Dees_Troy51a0e822012-09-05 15:24:24 -04001857 <object type="action">
1858 <touch key="home" />
1859 <action function="page">main</action>
1860 </object>
1861
1862 <object type="action">
1863 <touch key="back" />
1864 <action function="page">main</action>
1865 </object>
1866
1867 <object type="template" name="footer" />
1868 </page>
1869
1870 <page name="usb_mount">
1871 <object type="template" name="header" />
1872
1873 <object type="text" color="%text_color%">
1874 <font resource="font" />
1875 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1876 <text>USB Storage Mounted</text>
1877 </object>
1878
1879 <object type="text" color="%text_color%">
1880 <placement x="%col1_x%" y="%row1_text_y%" />
1881 <font resource="font" />
1882 <text>Be sure to safely remove your device</text>
1883 </object>
1884
1885 <object type="text" color="%text_color%">
1886 <placement x="%col1_x%" y="%row2_text_y%" />
1887 <font resource="font" />
1888 <text>from your computer before unmounting!</text>
1889 </object>
1890
1891 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001892 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001893 <placement x="%col1_x%" y="%row3_y%" />
1894 <font resource="font" color="%button_text_color%" />
1895 <text>Unmount</text>
1896 <image resource="main_button" />
1897 <action function="page">usb_umount</action>
1898 </object>
1899
1900 <object type="action">
1901 <action function="mount">usb</action>
1902 </object>
1903
1904 <object type="template" name="footer" />
1905 </page>
1906
1907 <page name="usb_umount">
1908 <object type="action">
1909 <action function="unmount">usb</action>
1910 </object>
1911
1912 <object type="action">
1913 <action function="page">mount</action>
1914 </object>
1915 </page>
1916
1917 <page name="reboot">
1918 <object type="template" name="header" />
1919
1920 <object type="text" color="%text_color%">
1921 <font resource="font" />
1922 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1923 <text>Reboot Menu</text>
1924 </object>
1925
1926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001927 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <condition var1="tw_reboot_system" var2="1" />
1929 <placement x="%col1_x%" y="%row1_y%" />
1930 <font resource="font" color="%button_text_color%" />
1931 <text>System</text>
1932 <image resource="main_button" />
1933 <actions>
1934 <action function="set">tw_back=reboot</action>
1935 <action function="set">tw_action=reboot</action>
1936 <action function="set">tw_action_param=system</action>
1937 <action function="set">tw_has_action2=0</action>
1938 <action function="set">tw_text1=No OS Installed! Are you</action>
1939 <action function="set">tw_text2=sure you wish to reboot?</action>
1940 <action function="set">tw_action_text1=Rebooting...</action>
1941 <action function="set">tw_complete_text1=Rebooting...</action>
1942 <action function="set">tw_slider_text=Swipe to Reboot</action>
1943 <action function="page">rebootcheck</action>
1944 </actions>
1945 </object>
1946
1947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001948 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001949 <condition var1="tw_reboot_poweroff" var2="1" />
1950 <placement x="%col2_x%" y="%row1_y%" />
1951 <font resource="font" color="%button_text_color%" />
1952 <text>Power Off</text>
1953 <image resource="main_button" />
1954 <actions>
1955 <action function="set">tw_back=reboot</action>
1956 <action function="set">tw_action=reboot</action>
1957 <action function="set">tw_action_param=poweroff</action>
1958 <action function="set">tw_has_action2=0</action>
1959 <action function="set">tw_text1=No OS Installed! Are you</action>
1960 <action function="set">tw_text2=sure you wish to power off?</action>
1961 <action function="set">tw_action_text1=Turning Off...</action>
1962 <action function="set">tw_complete_text1=Turning Off...</action>
1963 <action function="set">tw_slider_text=Swipe to Power Off</action>
1964 <action function="page">rebootcheck</action>
1965 </actions>
1966 </object>
1967
1968 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001969 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001970 <condition var1="tw_reboot_recovery" var2="1" />
1971 <placement x="%col1_x%" y="%row2_y%" />
1972 <font resource="font" color="%button_text_color%" />
1973 <text>Recovery</text>
1974 <image resource="main_button" />
1975 <actions>
1976 <action function="set">tw_back=reboot</action>
1977 <action function="set">tw_action=reboot</action>
1978 <action function="set">tw_action_param=recovery</action>
1979 <action function="set">tw_has_action2=0</action>
1980 <action function="set">tw_text1=No OS Installed! Are you</action>
1981 <action function="set">tw_text2=sure you wish to reboot?</action>
1982 <action function="set">tw_action_text1=Rebooting...</action>
1983 <action function="set">tw_complete_text1=Rebooting...</action>
1984 <action function="set">tw_slider_text=Swipe to Reboot</action>
1985 <action function="page">rebootcheck</action>
1986 </actions>
1987 </object>
1988
1989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001991 <condition var1="tw_reboot_bootloader" var2="1" />
1992 <placement x="%col2_x%" y="%row2_y%" />
1993 <font resource="font" color="%button_text_color%" />
1994 <text>Bootloader</text>
1995 <image resource="main_button" />
1996 <actions>
1997 <action function="set">tw_back=reboot</action>
1998 <action function="set">tw_action=reboot</action>
1999 <action function="set">tw_action_param=bootloader</action>
2000 <action function="set">tw_has_action2=0</action>
2001 <action function="set">tw_text1=No OS Installed! Are you</action>
2002 <action function="set">tw_text2=sure you wish to reboot?</action>
2003 <action function="set">tw_action_text1=Rebooting...</action>
2004 <action function="set">tw_complete_text1=Rebooting...</action>
2005 <action function="set">tw_slider_text=Swipe to Reboot</action>
2006 <action function="page">rebootcheck</action>
2007 </actions>
2008 </object>
2009
2010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002011 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002012 <condition var1="tw_download_mode" var2="1" />
2013 <placement x="%col1_x%" y="%row3_y%" />
2014 <font resource="font" color="%button_text_color%" />
2015 <text>Download</text>
2016 <image resource="main_button" />
2017 <actions>
2018 <action function="set">tw_back=reboot</action>
2019 <action function="set">tw_action=reboot</action>
2020 <action function="set">tw_action_param=download</action>
2021 <action function="set">tw_has_action2=0</action>
2022 <action function="set">tw_text1=No OS Installed! Are you</action>
2023 <action function="set">tw_text2=sure you wish to reboot?</action>
2024 <action function="set">tw_action_text1=Rebooting...</action>
2025 <action function="set">tw_complete_text1=Rebooting...</action>
2026 <action function="set">tw_slider_text=Swipe to Reboot</action>
2027 <action function="page">rebootcheck</action>
2028 </actions>
2029 </object>
2030
2031 <object type="action">
2032 <touch key="home" />
2033 <action function="page">main</action>
2034 </object>
2035
2036 <object type="action">
2037 <touch key="back" />
2038 <action function="page">main</action>
2039 </object>
2040
2041 <object type="template" name="footer" />
2042 </page>
2043
2044 <page name="settings">
2045 <object type="template" name="header" />
2046
2047 <object type="text" color="%text_color%">
2048 <font resource="font" />
2049 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2050 <text>Settings</text>
2051 </object>
2052
2053 <object type="checkbox">
2054 <placement x="%col1_x%" y="%row1_text_y%" />
2055 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002056 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002057 <data variable="tw_signed_zip_verify" />
2058 <image checked="checkbox_true" unchecked="checkbox_false" />
2059 </object>
2060
2061 <object type="checkbox">
2062 <placement x="%col1_x%" y="%row2_text_y%" />
2063 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002064 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002065 <data variable="tw_rm_rf" />
2066 <image checked="checkbox_true" unchecked="checkbox_false" />
2067 </object>
2068
2069 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002070 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002071 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002072 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002073 <data variable="tw_skip_md5_generate" />
2074 <image checked="checkbox_true" unchecked="checkbox_false" />
2075 </object>
2076
2077 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002078 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002079 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002080 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002081 <data variable="tw_skip_md5_check" />
2082 <image checked="checkbox_true" unchecked="checkbox_false" />
2083 </object>
2084
2085 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002086 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002087 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002088 <text>Use Military Time.</text>
2089 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002090 <image checked="checkbox_true" unchecked="checkbox_false" />
2091 </object>
2092
2093 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002094 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002095 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002096 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002097 <data variable="tw_simulate_actions" />
2098 <image checked="checkbox_true" unchecked="checkbox_false" />
2099 </object>
2100
2101 <object type="checkbox">
2102 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002103 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002104 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002105 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002106 <data variable="tw_simulate_fail" />
2107 <image checked="checkbox_true" unchecked="checkbox_false" />
2108 </object>
2109
2110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002112 <placement x="%col1_x%" y="%row3_y%" />
2113 <font resource="font" color="%button_text_color%" />
2114 <text>Time Zone</text>
2115 <image resource="main_button" />
2116 <action function="page">timezone</action>
2117 </object>
2118
2119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002120 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002121 <placement x="%col2_x%" y="%row3_y%" />
2122 <font resource="font" color="%button_text_color%" />
2123 <text>Screen</text>
2124 <image resource="main_button" />
2125 <action function="page">screen</action>
2126 </object>
2127
2128 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 <placement x="%col_center_x%" y="%row4_y%" />
2130 <font resource="font" color="%button_text_color%" />
2131 <text>Restore Defaults</text>
2132 <image resource="main_button" />
2133 <action function="restoredefaultsettings"></action>
2134 </object>
2135
2136 <object type="action">
2137 <touch key="home" />
2138 <action function="page">main</action>
2139 </object>
2140
2141 <object type="action">
2142 <touch key="back" />
2143 <action function="page">main</action>
2144 </object>
2145
2146 <object type="template" name="footer" />
2147 </page>
2148
2149 <page name="timezone">
2150 <object type="template" name="header" />
2151
Dees_Troy51a0e822012-09-05 15:24:24 -04002152 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002153 <highlight color="%fileselector_highlight_color%" />
2154 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2155 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002156 <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 -06002157 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002158 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002159 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002160 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002161 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002162 <data name="tw_time_zone_guisel" />
2163 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2164 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2165 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2166 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2167 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2168 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2169 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2170 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2171 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2172 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2173 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2174 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2175 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2176 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2177 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2178 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2179 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2180 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2181 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2182 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2183 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2184 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2185 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2186 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2187 </object>
2188
2189 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002190 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002191 <font resource="font" color="%text_color%" />
2192 <text>Do you use daylight savings time (DST)?</text>
2193 <data variable="tw_time_zone_guidst" />
2194 <image checked="checkbox_true" unchecked="checkbox_false" />
2195 </object>
2196
2197 <object type="text" color="%text_color%">
2198 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002199 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002200 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2201 </object>
2202
2203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002204 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002205 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002206 <font resource="font" color="%button_text_color%" />
2207 <text>None</text>
2208 <image resource="medium_button" />
2209 <action function="set">tw_time_zone_guioffset=0</action>
2210 </object>
2211
2212 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002213 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002214 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002215 <font resource="font" color="%button_text_color%" />
2216 <text>15</text>
2217 <image resource="medium_button" />
2218 <action function="set">tw_time_zone_guioffset=15</action>
2219 </object>
2220
2221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002222 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002223 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <font resource="font" color="%button_text_color%" />
2225 <text>30</text>
2226 <image resource="medium_button" />
2227 <action function="set">tw_time_zone_guioffset=30</action>
2228 </object>
2229
2230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002231 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002232 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002233 <font resource="font" color="%button_text_color%" />
2234 <text>45</text>
2235 <image resource="medium_button" />
2236 <action function="set">tw_time_zone_guioffset=45</action>
2237 </object>
2238
2239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002241 <placement x="%col_center_x%" y="%tz_set_y%" />
2242 <font resource="font" color="%button_text_color%" />
2243 <text>Set Time Zone</text>
2244 <image resource="main_button" />
2245 <action function="setguitimezone"></action>
2246 </object>
2247
2248 <object type="text" color="%text_color%">
2249 <font resource="font" />
2250 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2251 <text>Current Time Zone: %tw_time_zone%</text>
2252 </object>
2253
2254 <object type="action">
2255 <touch key="home" />
2256 <action function="page">main</action>
2257 </object>
2258
2259 <object type="action">
2260 <touch key="back" />
2261 <action function="page">settings</action>
2262 </object>
2263
2264 <object type="template" name="footer" />
2265 </page>
2266
Dees_Troy2f9117a2013-02-17 19:52:09 -06002267 <page name="screen">
2268 <object type="template" name="header" />
2269
2270 <object type="text" color="%text_color%">
2271 <font resource="font" />
2272 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2273 <text>Screen Settings</text>
2274 </object>
2275
Dees_Troy2f9117a2013-02-17 19:52:09 -06002276 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002277 <placement x="%col1_x%" y="%row2_text_y%" />
2278 <font resource="font" color="%text_color%" />
2279 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2280 <text>Enable screen timeout.</text>
2281 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002282 <action function="set">tw_screen_timeout_secs=60</action>
2283 </object>
2284
2285 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002286 <placement x="%col1_x%" y="%row2_text_y%" />
2287 <font resource="font" color="%text_color%" />
2288 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2289 <text>Enable screen timeout.</text>
2290 <image resource="checkbox_true" />
2291 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002292 </object>
2293
Vojtech Bocek85932342013-04-01 22:11:33 +02002294 <object type="slidervalue">
2295 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2296 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2297 <font resource="font" color="%text_color%" />
2298 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2299 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2300 <text>Screen timeout in seconds:</text>
2301 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002302 </object>
2303
Vojtech Bocek85932342013-04-01 22:11:33 +02002304 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002305 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002306 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2307 <font resource="font" color="%text_color%" />
2308 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2309 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2310 <text>Brightness: %tw_brightness_pct%%</text>
2311 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002312 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002313 <action function="set">tw_brightness=%tw_brightness_max%</action>
2314 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2315 <action function="compute">tw_brightness/100</action>
2316 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002317 </actions>
2318 </object>
2319
2320 <object type="action">
2321 <touch key="home" />
2322 <action function="page">main</action>
2323 </object>
2324
2325 <object type="action">
2326 <touch key="back" />
2327 <action function="page">settings</action>
2328 </object>
2329
2330 <object type="template" name="footer" />
2331 </page>
2332
Dees_Troy51a0e822012-09-05 15:24:24 -04002333 <page name="advanced">
2334 <object type="template" name="header" />
2335
2336 <object type="text" color="%text_color%">
2337 <font resource="font" />
2338 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2339 <text>Advanced</text>
2340 </object>
2341
2342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <placement x="%col1_x%" y="%row1_y%" />
2345 <font resource="font" color="%button_text_color%" />
2346 <text>Copy Log to SD</text>
2347 <image resource="main_button" />
2348 <actions>
2349 <action function="set">tw_back=advanced</action>
2350 <action function="set">tw_action=copylog</action>
2351 <action function="set">tw_text1=Copy Log to SD Card?</action>
2352 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2353 <action function="set">tw_complete_text1=Log Copy Complete</action>
2354 <action function="set">tw_slider_text=Swipe to Confirm</action>
2355 <action function="page">confirm_action</action>
2356 </actions>
2357 </object>
2358
2359 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002360 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <placement x="%col2_x%" y="%row1_y%" />
2362 <font resource="font" color="%button_text_color%" />
2363 <text>Fix Permissions</text>
2364 <image resource="main_button" />
2365 <actions>
2366 <action function="set">tw_back=advanced</action>
2367 <action function="set">tw_action=fixpermissions</action>
2368 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002370 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2371 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002372 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002373 <action function="page">confirm_action</action>
2374 </actions>
2375 </object>
2376
2377 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002379 <condition var1="tw_allow_partition_sdcard" var2="1" />
2380 <placement x="%col1_x%" y="%row2_y%" />
2381 <font resource="font" color="%button_text_color%" />
2382 <text>Partition SD Card</text>
2383 <image resource="main_button" />
2384 <action function="page">partsdcard</action>
2385 </object>
2386
2387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <placement x="%col2_x%" y="%row2_y%" />
2390 <font resource="font" color="%button_text_color%" />
2391 <text>File Manager</text>
2392 <image resource="main_button" />
2393 <action function="page">filemanagerlist</action>
2394 </object>
2395
2396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <placement x="%col1_x%" y="%row3_y%" />
2399 <font resource="font" color="%button_text_color%" />
2400 <text>Terminal Command</text>
2401 <image resource="main_button" />
2402 <action function="page">terminalfolder</action>
2403 </object>
2404
2405 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002406 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002407 <placement x="%col2_x%" y="%row3_y%" />
2408 <font resource="font" color="%button_text_color%" />
2409 <text>Reload Theme</text>
2410 <image resource="main_button" />
2411 <action function="reload"></action>
2412 </object>
2413
2414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002415 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002416 <placement x="%col1_x%" y="%row4_y%" />
2417 <font resource="font" color="%button_text_color%" />
2418 <text>ADB Sideload</text>
2419 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002420 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002421 </object>
2422
2423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002424 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <condition var1="tw_show_dumlock" var2="1" />
2426 <placement x="%col2_x%" y="%row4_y%" />
2427 <font resource="font" color="%button_text_color%" />
2428 <text>HTC Dumlock</text>
2429 <image resource="main_button" />
2430 <action function="page">htcdumlock</action>
2431 </object>
2432
2433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <condition var1="tw_has_injecttwrp" var2="1" />
2436 <placement x="%col2_x%" y="%row4_y%" />
2437 <font resource="font" color="%button_text_color%" />
2438 <text>Re-Inject TWRP</text>
2439 <image resource="main_button" />
2440 <actions>
2441 <action function="set">tw_back=advanced</action>
2442 <action function="set">tw_action=reinjecttwrp</action>
2443 <action function="set">tw_text1=Re-Inject TWRP?</action>
2444 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2445 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2446 <action function="set">tw_slider_text=Swipe to Confirm</action>
2447 <action function="page">confirm_action</action>
2448 </actions>
2449 </object>
2450
2451 <object type="action">
2452 <touch key="home" />
2453 <action function="page">main</action>
2454 </object>
2455
2456 <object type="action">
2457 <touch key="back" />
2458 <action function="page">main</action>
2459 </object>
2460
2461 <object type="template" name="footer" />
2462 </page>
2463
2464 <page name="partsdcard">
2465 <object type="template" name="header" />
2466
2467 <object type="text" color="%text_color%">
2468 <font resource="font" />
2469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2470 <text>Partition SD Card</text>
2471 </object>
2472
2473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002475 <placement x="%col1_x%" y="%row1_y%" />
2476 <font resource="font" color="%button_text_color%" />
2477 <text></text>
2478 <image resource="minus_button" />
2479 <action function="addsubtract">tw_sdext_size-128</action>
2480 </object>
2481
2482 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002483 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <placement x="%sd_plus_x%" y="%row1_y%" />
2485 <font resource="font" color="%button_text_color%" />
2486 <text></text>
2487 <image resource="plus_button" />
2488 <action function="addsubtract">tw_sdext_size+128</action>
2489 </object>
2490
2491 <object type="text" color="%text_color%">
2492 <font resource="font" />
2493 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2494 <text>EXT Size: %tw_sdext_size%</text>
2495 </object>
2496
2497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002498 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <placement x="%col1_x%" y="%sdswap_button_y%" />
2500 <font resource="font" color="%button_text_color%" />
2501 <text></text>
2502 <image resource="minus_button" />
2503 <action function="addsubtract">tw_swap_size-32</action>
2504 </object>
2505
2506 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002507 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2509 <font resource="font" color="%button_text_color%" />
2510 <text></text>
2511 <image resource="plus_button" />
2512 <action function="addsubtract">tw_swap_size+32</action>
2513 </object>
2514
2515 <object type="text" color="%text_color%">
2516 <font resource="font" />
2517 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2518 <text>Swap Size: %tw_swap_size%</text>
2519 </object>
2520
2521 <object type="text" color="%text_color%">
2522 <font resource="font" />
2523 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2524 <text>File system: %tw_sdpart_file_system%</text>
2525 </object>
2526
2527 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002528 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2530 <font resource="font" color="%button_text_color%" />
2531 <text>EXT3</text>
2532 <image resource="main_button" />
2533 <action function="set">tw_sdpart_file_system=ext3</action>
2534 </object>
2535
2536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002537 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <condition var1="tw_sdext_disable_ext4" var2="0" />
2539 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2540 <font resource="font" color="%button_text_color%" />
2541 <text>EXT4</text>
2542 <image resource="main_button" />
2543 <action function="set">tw_sdpart_file_system=ext4</action>
2544 </object>
2545
2546 <object type="text" color="%text_color%">
2547 <font resource="font" />
2548 <placement x="%col1_x%" y="%row12_text_y%" />
2549 <text>You will lose all files on your SD card!</text>
2550 </object>
2551
2552 <object type="text" color="%text_color%">
2553 <font resource="font" />
2554 <placement x="%col1_x%" y="%row13_text_y%" />
2555 <text>This action cannot be undone!</text>
2556 </object>
2557
2558 <object type="slider">
2559 <placement x="%slider_x%" y="%slider_y%" />
2560 <resource base="slider" used="slider-used" touch="slider-touch" />
2561 <action function="page">partsdcardaction</action>
2562 <actions>
2563 <action function="set">tw_back=partsdcard</action>
2564 <action function="set">tw_action=partitionsd</action>
2565 <action function="set">tw_has_action2=1</action>
2566 <action function="set">tw_action2=set</action>
2567 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2568 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2569 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002570 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <action function="page">action_page</action>
2572 </actions>
2573 </object>
2574
2575 <object type="text" color="%text_color%">
2576 <font resource="font" />
2577 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2578 <text>Swipe to Partition</text>
2579 </object>
2580
2581 <object type="action">
2582 <touch key="home" />
2583 <action function="page">main</action>
2584 </object>
2585
2586 <object type="action">
2587 <touch key="back" />
2588 <action function="page">advanced</action>
2589 </object>
2590
2591 <object type="template" name="footer" />
2592 </page>
2593
2594 <page name="htcdumlock">
2595 <object type="template" name="header" />
2596
2597 <object type="text" color="%text_color%">
2598 <font resource="font" />
2599 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2600 <text>HTC Dumlock</text>
2601 </object>
2602
2603 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002604 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002605 <condition var1="tw_show_dumlock" var2="1" />
2606 <placement x="%col1_x%" y="%row1_y%" />
2607 <font resource="font" color="%button_text_color%" />
2608 <text>Restore Original Boot</text>
2609 <image resource="main_button" />
2610 <actions>
2611 <action function="set">tw_back=htcdumlock</action>
2612 <action function="set">tw_action=htcdumlockrestoreboot</action>
2613 <action function="set">tw_text1=Restore original boot image?</action>
2614 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2615 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2616 <action function="set">tw_slider_text=Swipe to Confirm</action>
2617 <action function="page">confirm_action</action>
2618 </actions>
2619 </object>
2620
2621 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002622 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002623 <condition var1="tw_show_dumlock" var2="1" />
2624 <placement x="%col2_x%" y="%row1_y%" />
2625 <font resource="font" color="%button_text_color%" />
2626 <text>Reflash Recovery</text>
2627 <image resource="main_button" />
2628 <actions>
2629 <action function="set">tw_back=htcdumlock</action>
2630 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2631 <action function="set">tw_text1=Reflash recovery to boot?</action>
2632 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2633 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2634 <action function="set">tw_slider_text=Swipe to Confirm</action>
2635 <action function="page">confirm_action</action>
2636 </actions>
2637 </object>
2638
2639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002641 <condition var1="tw_show_dumlock" var2="1" />
2642 <placement x="%col1_x%" y="%row2_y%" />
2643 <font resource="font" color="%button_text_color%" />
2644 <text>Install HTC Dumlock</text>
2645 <image resource="main_button" />
2646 <actions>
2647 <action function="set">tw_back=htcdumlock</action>
2648 <action function="set">tw_action=installhtcdumlock</action>
2649 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2650 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2651 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2652 <action function="set">tw_slider_text=Swipe to Confirm</action>
2653 <action function="page">confirm_action</action>
2654 </actions>
2655 </object>
2656
2657 <object type="action">
2658 <touch key="home" />
2659 <action function="page">main</action>
2660 </object>
2661
2662 <object type="action">
2663 <touch key="back" />
2664 <action function="page">advanced</action>
2665 </object>
2666
2667 <object type="template" name="footer" />
2668 </page>
2669
2670 <page name="lock">
2671 <background color="#000000A0" />
2672
2673 <object type="image">
2674 <image resource="unlock-icon" />
2675 <placement x="%lock_x%" y="%lock_y%" />
2676 </object>
2677
2678 <object type="slider">
2679 <placement x="%slider_x%" y="%slider_y%" />
2680 <resource base="slider" used="slider-used" touch="slider-touch" />
2681 <action function="overlay"></action>
2682 </object>
2683
2684 <object type="text" color="%text_color%">
2685 <font resource="font" />
2686 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2687 <text>Swipe to Unlock</text>
2688 </object>
2689 </page>
2690
2691 <page name="filemanagerlist">
2692 <object type="template" name="header" />
2693
2694 <object type="text" color="%text_color%">
2695 <font resource="font" />
2696 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2697 <text>File Manager: Select a File or Folder</text>
2698 </object>
2699
2700 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002701 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002702 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2703 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002704 <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 -04002705 <text>%tw_file_location1%</text>
2706 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2707 <sort name="tw_gui_sort_order" />
2708 <icon folder="folder_icon" file="file_icon" />
2709 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002710 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002711 <folders="1" files="1" />
2712 <path name="tw_file_location1" default="/" />
2713 <data name="tw_filename1" />
2714 <selection name="tw_selection1" />
2715 </object>
2716
2717 <object type="template" name="sort_options" />
2718
2719 <object type="action">
2720 <actions>
2721 <action function="set">tw_fm_type=File</action>
2722 <action function="set">tw_fm_isfolder=0</action>
2723 </actions>
2724 </object>
2725
2726 <object type="action">
2727 <touch key="home" />
2728 <action function="page">main</action>
2729 </object>
2730
2731 <object type="action">
2732 <touch key="back" />
2733 <action function="page">advanced</action>
2734 </object>
2735
2736 <object type="action">
2737 <condition var1="tw_filename1" op="modified" />
2738 <actions>
2739 <action function="page">filemanageroptions</action>
2740 </actions>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>Select</text>
2748 <image resource="medium_button" />
2749 <actions>
2750 <action function="set">tw_filename1=tw_file_location1</action>
2751 <action function="set">tw_fm_isfolder=1</action>
2752 <action function="set">tw_fm_type=Folder</action>
2753 <action function="page">filemanageroptions</action>
2754 </actions>
2755 </object>
2756
2757 <object type="template" name="footer" />
2758 </page>
2759
2760 <page name="filemanageroptions">
2761 <object type="template" name="header" />
2762
2763 <object type="text" color="%text_color%">
2764 <font resource="font" />
2765 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2766 <text>%tw_fm_type% Selected:</text>
2767 </object>
2768
2769 <object type="text" color="%text_color%">
2770 <font resource="font" />
2771 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2772 <text>%tw_filename1%</text>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <condition var1="tw_fm_isfolder" var2="0" />
2778 <placement x="%col1_x%" y="%row2_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text>Copy File</text>
2781 <image resource="main_button" />
2782 <actions>
2783 <action function="set">tw_filemanager_command=cp</action>
2784 <action function="set">tw_fm_text1=Copying</action>
2785 <action function="page">choosedestinationfolder</action>
2786 </actions>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <condition var1="tw_fm_isfolder" var2="1" />
2792 <placement x="%col1_x%" y="%row2_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>Copy Folder</text>
2795 <image resource="main_button" />
2796 <actions>
2797 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2798 <action function="set">tw_fm_text1=Copying</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="%col2_x%" y="%row2_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Move</text>
2808 <image resource="main_button" />
2809 <actions>
2810 <action function="set">tw_filemanager_command=mv</action>
2811 <action function="set">tw_fm_text1=Moving</action>
2812 <action function="page">choosedestinationfolder</action>
2813 </actions>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <placement x="%col1_x%" y="%row3_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>chmod 755</text>
2821 <image resource="main_button" />
2822 <actions>
2823 <action function="set">tw_filemanager_command=chmod 755</action>
2824 <action function="set">tw_fm_text1=chmod 755</action>
2825 <action function="set">tw_fm_text2=</action>
2826 <action function="set">tw_fm_text3=</action>
2827 <action function="set">tw_include_text3=0</action>
2828 <action function="set">tw_back=filemanageroptions</action>
2829 <action function="page">filemanagerconfirm</action>
2830 </actions>
2831 </object>
2832
2833 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002834 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002835 <placement x="%col2_x%" y="%row3_y%" />
2836 <font resource="font" color="%button_text_color%" />
2837 <text>chmod</text>
2838 <image resource="main_button" />
2839 <actions>
2840 <action function="set">tw_filemanager_rename=0000</action>
2841 <action function="set">tw_fm_text2=</action>
2842 <action function="set">tw_fm_text3=</action>
2843 <action function="set">tw_include_text3=0</action>
2844 <action function="set">tw_back=filemanageroptions</action>
2845 <action function="page">filemanagerchmod</action>
2846 </actions>
2847 </object>
2848
2849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002850 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002851 <placement x="%col1_x%" y="%row4_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text>Delete</text>
2854 <image resource="main_button" />
2855 <actions>
2856 <action function="set">tw_filemanager_command=rm -rf</action>
2857 <action function="set">tw_fm_text1=Deleting</action>
2858 <action function="set">tw_fm_text2=</action>
2859 <action function="set">tw_fm_text3=</action>
2860 <action function="set">tw_include_text3=0</action>
2861 <action function="set">tw_back=filemanageroptions</action>
2862 <action function="page">filemanagerconfirm</action>
2863 </actions>
2864 </object>
2865
2866 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002867 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002868 <condition var1="tw_fm_isfolder" var2="0" />
2869 <placement x="%col2_x%" y="%row4_y%" />
2870 <font resource="font" color="%button_text_color%" />
2871 <text>Rename File</text>
2872 <image resource="main_button" />
2873 <actions>
2874 <action function="set">tw_filemanager_rename=tw_selection1</action>
2875 <action function="set">tw_fm_text1=Renaming</action>
2876 <action function="set">tw_filemanager_command=mv</action>
2877 <action function="page">filemanagerrenamefile</action>
2878 </actions>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <condition var1="tw_fm_isfolder" var2="1" />
2884 <placement x="%col2_x%" y="%row4_y%" />
2885 <font resource="font" color="%button_text_color%" />
2886 <text>Rename Folder</text>
2887 <image resource="main_button" />
2888 <actions>
2889 <action function="set">tw_filemanager_rename=tw_selection1</action>
2890 <action function="set">tw_fm_text1=Renaming</action>
2891 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
2892 <action function="page">filemanagerrenamefolder</action>
2893 </actions>
2894 </object>
2895
2896 <object type="action">
2897 <touch key="home" />
2898 <action function="page">main</action>
2899 </object>
2900
2901 <object type="action">
2902 <touch key="back" />
2903 <action function="page">filemanagerlist</action>
2904 </object>
2905
2906 <object type="template" name="footer" />
2907 </page>
2908
2909 <page name="choosedestinationfolder">
2910 <object type="template" name="header" />
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
2915 <text>Browse to Destination Folder & Press Select</text>
2916 </object>
2917
2918 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002919 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2921 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002922 <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 -04002923 <text>%tw_file_location2%</text>
2924 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2925 <sort name="tw_gui_sort_order" />
2926 <icon folder="folder_icon" file="file_icon" />
2927 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002928 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002929 <filter folders="1" files="0" />
2930 <path name="tw_file_location2" default="/" />
2931 <data name="tw_filename2" />
2932 <selection name="tw_selection2" />
2933 </object>
2934
2935 <object type="template" name="sort_options" />
2936
2937 <object type="action">
2938 <touch key="home" />
2939 <action function="page">main</action>
2940 </object>
2941
2942 <object type="action">
2943 <touch key="back" />
2944 <action function="page">filemanageroptions</action>
2945 </object>
2946
2947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002948 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002949 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2950 <font resource="font" color="%button_text_color%" />
2951 <text>Select</text>
2952 <image resource="medium_button" />
2953 <actions>
2954 <action function="set">tw_fm_text2=to</action>
2955 <action function="set">tw_fm_text3=%tw_file_location2%</action>
2956 <action function="set">tw_include_text3=1</action>
2957 <action function="set">tw_back=filemanageroptions</action>
2958 <action function="page">filemanagerconfirm</action>
2959 </actions>
2960 </object>
2961
2962 <object type="template" name="footer" />
2963 </page>
2964
2965 <page name="filemanagerrenamefile">
2966 <object type="template" name="header" />
2967
2968 <object type="text" color="%text_color%">
2969 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2970 <font resource="font" />
2971 <text>Please Enter a New %tw_fm_type% Name</text>
2972 </object>
2973
2974 <object type="input">
2975 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2976 <background color="%input_background_color%" />
2977 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2978 <font resource="font" color="%text_color%" />
2979 <text>%tw_filemanager_rename%</text>
2980 <data name="tw_filemanager_rename" />
2981 <restrict minlen="1" maxlen="128" />
2982 <actions>
2983 <action function="set">tw_fm_text2=to</action>
2984 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
2985 <action function="set">tw_include_text3=1</action>
2986 <action function="set">tw_back=filemanageroptions</action>
2987 <action function="page">filemanagerconfirm</action>
2988 </actions>
2989 </object>
2990
2991 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002992 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002993 <placement x="%col_center_x%" y="%row2_y%" />
2994 <font resource="font" color="%button_text_color%" />
2995 <text>Cancel</text>
2996 <image resource="main_button" />
2997 <action function="page">filemanageroptions</action>
2998 </object>
2999
3000 <object type="template" name="keyboardtemplate" />
3001
3002 <object type="action">
3003 <touch key="home" />
3004 <action function="page">main</action>
3005 </object>
3006
3007 <object type="action">
3008 <touch key="back" />
3009 <action function="page">filemanageroptions</action>
3010 </object>
3011
3012 <object type="template" name="footer" />
3013 </page>
3014
3015 <page name="filemanagerrenamefolder">
3016 <object type="template" name="header" />
3017
3018 <object type="text" color="%text_color%">
3019 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3020 <font resource="font" />
3021 <text>Please Enter a New %tw_fm_type% Name</text>
3022 </object>
3023
3024 <object type="input">
3025 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3026 <background color="%input_background_color%" />
3027 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3028 <font resource="font" color="%text_color%" />
3029 <text>%tw_filemanager_rename%</text>
3030 <data name="tw_filemanager_rename" />
3031 <restrict minlen="1" maxlen="128" />
3032 <actions>
3033 <action function="set">tw_fm_text2=to</action>
3034 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3035 <action function="set">tw_include_text3=1</action>
3036 <action function="set">tw_back=filemanageroptions</action>
3037 <action function="page">filemanagerconfirm</action>
3038 </actions>
3039 </object>
3040
3041 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003042 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003043 <placement x="%col_center_x%" y="%row2_y%" />
3044 <font resource="font" color="%button_text_color%" />
3045 <text>Cancel</text>
3046 <image resource="main_button" />
3047 <action function="page">filemanageroptions</action>
3048 </object>
3049
3050 <object type="template" name="keyboardtemplate" />
3051
3052 <object type="action">
3053 <touch key="home" />
3054 <action function="page">main</action>
3055 </object>
3056
3057 <object type="action">
3058 <touch key="back" />
3059 <action function="page">filemanageroptions</action>
3060 </object>
3061
3062 <object type="template" name="footer" />
3063 </page>
3064
3065 <page name="filemanagerchmod">
3066 <object type="template" name="header" />
3067
3068 <object type="text" color="%text_color%">
3069 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3070 <font resource="font" />
3071 <text>Please Enter New Permissions</text>
3072 </object>
3073
3074 <object type="input">
3075 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3076 <background color="%input_background_color%" />
3077 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3078 <font resource="font" color="%text_color%" />
3079 <text>%tw_filemanager_rename%</text>
3080 <data name="tw_filemanager_rename" />
3081 <restrict minlen="3" maxlen="4" allow="0123456789" />
3082 <actions>
3083 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3084 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3085 <action function="set">tw_back=filemanageroptions</action>
3086 <action function="page">filemanagerconfirm</action>
3087 </actions>
3088 </object>
3089
3090 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003091 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <placement x="%col_center_x%" y="%row2_y%" />
3093 <font resource="font" color="%button_text_color%" />
3094 <text>Cancel</text>
3095 <image resource="main_button" />
3096 <action function="page">filemanageroptions</action>
3097 </object>
3098
3099 <object type="template" name="keyboardtemplate" />
3100
3101 <object type="action">
3102 <touch key="home" />
3103 <action function="page">main</action>
3104 </object>
3105
3106 <object type="action">
3107 <touch key="back" />
3108 <action function="page">filemanageroptions</action>
3109 </object>
3110
3111 <object type="template" name="footer" />
3112 </page>
3113
3114 <page name="filemanagerconfirm">
3115 <object type="template" name="header" />
3116
3117 <object type="text" color="%text_color%">
3118 <font resource="font" />
3119 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3120 <text>%tw_fm_text1%</text>
3121 </object>
3122
3123 <object type="text" color="%text_color%">
3124 <font resource="font" />
3125 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3126 <text>%tw_filename1%</text>
3127 </object>
3128
3129 <object type="text" color="%text_color%">
3130 <font resource="font" />
3131 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3132 <text>%tw_fm_text2%</text>
3133 </object>
3134
3135 <object type="text" color="%text_color%">
3136 <font resource="font" />
3137 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3138 <text>%tw_fm_text3%</text>
3139 </object>
3140
3141 <object type="text" color="%text_color%">
3142 <font resource="font" />
3143 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3144 <text>Press back button to cancel.</text>
3145 </object>
3146
3147 <object type="slider">
3148 <placement x="%slider_x%" y="%slider_y%" />
3149 <resource base="slider" used="slider-used" touch="slider-touch" />
3150 <action function="page">filemanageracction</action>
3151 </object>
3152
3153 <object type="text" color="%text_color%">
3154 <font resource="font" />
3155 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3156 <text>Swipe to Confirm</text>
3157 </object>
3158
3159 <object type="action">
3160 <touch key="back" />
3161 <action function="page">%tw_back%</action>
3162 </object>
3163
3164 <object type="action">
3165 <touch key="home" />
3166 <action function="page">main</action>
3167 </object>
3168
3169 <object type="template" name="footer" />
3170 </page>
3171
3172 <page name="filemanageracction">
3173 <object type="template" name="header" />
3174
3175 <object type="text" color="%text_color%">
3176
3177 <font resource="font" />
3178 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3179 <text>%tw_fm_text1%</text>
3180 </object>
3181
3182 <object type="template" name="action_page_console" />
3183
3184 <object type="template" name="progress_bar" />
3185
3186 <object type="action">
3187 <conditions>
3188 <condition var1="tw_operation_state" var2="1" />
3189 <condition var1="tw_operation_status" var2="0" />
3190 </conditions>
3191 <actions>
3192 <action function="set">tw_back=filemanagerlist</action>
3193 <action function="set">tw_complete_text1=File Operation Complete</action>
3194 <action function="page">action_complete</action>
3195 </actions>
3196 </object>
3197
3198 <object type="action">
3199 <conditions>
3200 <condition var1="tw_operation_state" var2="1" />
3201 <condition var1="tw_operation_status" op="!=" var2="0" />
3202 </conditions>
3203 <actions>
3204 <action function="set">tw_complete_text1=File Operation Complete</action>
3205 <action function="page">action_complete</action>
3206 </actions>
3207 </object>
3208
3209 <object type="action">
3210 <condition var1="tw_include_text3" var2="0" />
3211 <actions>
3212 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3213 </actions>
3214 </object>
3215
3216 <object type="action">
3217 <condition var1="tw_include_text3" var2="1" />
3218 <actions>
3219 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3220 </actions>
3221 </object>
3222 </page>
3223
3224 <page name="decrypt">
3225 <object type="template" name="header" />
3226
3227 <object type="text" color="%text_color%">
3228 <font resource="font" />
3229 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3230 <text>Please Enter Your Password</text>
3231 </object>
3232
3233 <object type="input">
3234 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3235 <background color="%input_background_color%" />
3236 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3237 <font resource="font" color="%text_color%" />
3238 <text>%tw_crypto_display%</text>
3239 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3240 <restrict minlen="1" maxlen="254" />
3241 <actions>
3242 <action function="page">trydecrypt</action>
3243 </actions>
3244 </object>
3245
3246 <object type="text" color="%text_fail_color%">
3247 <condition var1="tw_password_fail" var2="1" />
3248 <font resource="font" />
3249 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3250 <text>Password Failed, Please Try Again</text>
3251 </object>
3252
3253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003255 <placement x="%col_center_x%" y="%row2_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>Cancel</text>
3258 <image resource="main_button" />
3259 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003260 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003261 <action function="page">main</action>
3262 </actions>
3263 </object>
3264
3265 <object type="template" name="keyboardtemplate" />
3266
Dees_Troy51a0e822012-09-05 15:24:24 -04003267 <object type="template" name="footer" />
3268 </page>
3269
3270 <page name="trydecrypt">
3271 <object type="template" name="header" />
3272
3273 <object type="text" color="%text_color%">
3274 <font resource="font" />
3275 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3276 <text>Trying Decryption with Your Password</text>
3277 </object>
3278
3279 <object type="template" name="action_page_console" />
3280
3281 <object type="template" name="progress_bar" />
3282
3283 <object type="action">
3284 <action function="decrypt"></action>
3285 </object>
3286
3287 <object type="action">
3288 <conditions>
3289 <condition var1="tw_operation_state" var2="1" />
3290 <condition var1="tw_operation_status" op="!=" var2="0" />
3291 </conditions>
3292 <actions>
3293 <action function="set">tw_password_fail=1</action>
3294 <action function="page">decrypt</action>
3295 </actions>
3296 </object>
3297
3298 <object type="action">
3299 <conditions>
3300 <condition var1="tw_operation_state" var2="1" />
3301 <condition var1="tw_operation_status" op="=" var2="0" />
3302 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003303 <actions>
3304 <action function="set">tw_page_done=1</action>
3305 <action function="page">main</action>
3306 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003307 </object>
3308 </page>
3309
3310 <page name="terminalfolder">
3311 <object type="template" name="header" />
3312
3313 <object type="text" color="%text_color%">
3314 <font resource="font" />
3315 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3316 <text>Browse to Starting Folder</text>
3317 </object>
3318
3319 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003320 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003321 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3322 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003323 <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 -04003324 <text>%tw_terminal_location%</text>
3325 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3326 <sort name="tw_gui_sort_order" />
3327 <icon folder="folder_icon" file="file_icon" />
3328 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003329 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003330 <filter folders="1" files="0" />
3331 <path name="tw_terminal_location" default="/" />
3332 <data name="tw_terminal" />
3333 <selection name="tw_terminal_selection" />
3334 </object>
3335
3336 <object type="template" name="sort_options" />
3337
3338 <object type="action">
3339 <touch key="home" />
3340 <action function="page">main</action>
3341 </object>
3342
3343 <object type="action">
3344 <touch key="back" />
3345 <action function="page">advanced</action>
3346 </object>
3347
3348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003350 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3351 <font resource="font" color="%button_text_color%" />
3352 <text>Select</text>
3353 <image resource="medium_button" />
3354 <actions>
3355 <action function="page">terminalcommand</action>
3356 </actions>
3357 </object>
3358
3359 <object type="template" name="footer" />
3360 </page>
3361
3362 <page name="terminalcommand">
3363 <object type="template" name="header" />
3364
3365 <object type="console">
3366 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3368 <font resource="fixed" />
3369 </object>
3370
3371 <object type="text" color="%text_color%">
3372 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3373 <font resource="font" />
3374 <text>Starting Path: %tw_terminal_location%</text>
3375 </object>
3376
3377 <object type="input">
3378 <condition var1="tw_terminal_state" var2="0" />
3379 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3380 <background color="%input_background_color%" />
3381 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3382 <font resource="font" color="%text_color%" />
3383 <text>%tw_terminal_command%</text>
3384 <data name="tw_terminal_command" />
3385 <restrict minlen="1" />
3386 <action function="terminalcommand">%tw_terminal_command%</action>
3387 </object>
3388
3389 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003390 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003391 <condition var1="tw_terminal_state" var2="1" />
3392 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3393 <font resource="font" color="%button_text_color%" />
3394 <text>KILL</text>
3395 <image resource="medium_button" />
3396 <action function="killterminal"></action>
3397 </object>
3398
3399 <object type="template" name="keyboardtemplate" />
3400
3401 <object type="action">
3402 <touch key="home" />
3403 <action function="page">main</action>
3404 </object>
3405
3406 <object type="action">
3407 <touch key="back" />
3408 <action function="page">terminalfolder</action>
3409 </object>
3410 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003411
3412 <page name="sideload">
3413 <object type="template" name="header" />
3414
3415 <object type="text" color="%text_color%">
3416 <font resource="font" />
3417 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3418 <text>ADB Sideload</text>
3419 </object>
3420
3421 <object type="checkbox">
3422 <placement x="%col1_x%" y="%row2_text_y%" />
3423 <font resource="font" color="%text_color%" />
3424 <text>Wipe Dalvik Cache.</text>
3425 <data variable="tw_wipe_dalvik" />
3426 <image checked="checkbox_true" unchecked="checkbox_false" />
3427 </object>
3428
3429 <object type="checkbox">
3430 <placement x="%col1_x%" y="%row3_text_y%" />
3431 <font resource="font" color="%text_color%" />
3432 <text>Wipe Cache.</text>
3433 <data variable="tw_wipe_cache" />
3434 <image checked="checkbox_true" unchecked="checkbox_false" />
3435 </object>
3436
3437 <object type="slider">
3438 <placement x="%slider_x%" y="%slider_y%" />
3439 <resource base="slider" used="slider-used" touch="slider-touch" />
3440 <actions>
3441 <action function="set">tw_back=advanced</action>
3442 <action function="set">tw_action=adbsideload</action>
3443 <action function="set">tw_action_text1=ADB Sideload</action>
3444 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3445 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3446 <action function="set">tw_has_cancel=1</action>
3447 <action function="set">tw_show_reboot=1</action>
3448 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3449 <action function="page">action_page</action>
3450 </actions>
3451 </object>
3452
3453 <object type="text" color="%text_color%">
3454 <font resource="font" />
3455 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3456 <text>Swipe to Start Sideload</text>
3457 </object>
3458
3459 <object type="action">
3460 <touch key="home" />
3461 <action function="page">main</action>
3462 </object>
3463
3464 <object type="action">
3465 <touch key="back" />
3466 <action function="page">advanced</action>
3467 </object>
3468
3469 <object type="template" name="footer" />
3470 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003471
3472 <page name="installsu">
3473 <object type="template" name="header" />
3474
3475 <object type="text" color="%text_color%">
3476 <font resource="font" />
3477 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3478 <text>Install SuperSU?</text>
3479 </object>
3480
3481 <object type="text" color="%text_color%">
3482 <font resource="font" />
3483 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3484 <text>Your device does not appear to be rooted.</text>
3485 </object>
3486
3487 <object type="text" color="%text_color%">
3488 <font resource="font" />
3489 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3490 <text>Install SuperSU now?</text>
3491 </object>
3492
3493 <object type="text" color="%text_color%">
3494 <font resource="font" />
3495 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3496 <text>This will root your device.</text>
3497 </object>
3498
3499 <object type="button">
3500 <highlight color="%highlight_color%" />
3501 <placement x="%col_center_x%" y="%row3_y%" />
3502 <font resource="font" color="%button_text_color%" />
3503 <text>Do Not Install</text>
3504 <image resource="main_button" />
3505 <action function="set">tw_page_done=1</action>
3506 </object>
3507
3508 <object type="slider">
3509 <placement x="%slider_x%" y="%slider_y%" />
3510 <resource base="slider" used="slider-used" touch="slider-touch" />
3511 <actions>
3512 <action function="set">tw_action=installsu</action>
3513 <action function="set">tw_action_text1=Installing SuperSU</action>
3514 <action function="set">tw_action_text2=</action>
3515 <action function="page">singleaction_page</action>
3516 </actions>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3522 <text>Swipe to Install</text>
3523 </object>
3524 </page>
3525
3526 <page name="fixsu">
3527 <object type="template" name="header" />
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3532 <text>Fix Superuser Permissions?</text>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3538 <text>Root permissions appear to be lost.</text>
3539 </object>
3540
3541 <object type="text" color="%text_color%">
3542 <font resource="font" />
3543 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3544 <text>Fix root permissions now?</text>
3545 </object>
3546
3547 <object type="text" color="%text_color%">
3548 <font resource="font" />
3549 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3550 <text>(Fixes permissions on su binary & app)</text>
3551 </object>
3552
3553 <object type="button">
3554 <highlight color="%highlight_color%" />
3555 <placement x="%col_center_x%" y="%row3_y%" />
3556 <font resource="font" color="%button_text_color%" />
3557 <text>Do Not Fix</text>
3558 <image resource="main_button" />
3559 <action function="set">tw_page_done=1</action>
3560 </object>
3561
3562 <object type="slider">
3563 <placement x="%slider_x%" y="%slider_y%" />
3564 <resource base="slider" used="slider-used" touch="slider-touch" />
3565 <actions>
3566 <action function="set">tw_action=fixsu</action>
3567 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3568 <action function="set">tw_action_text2=</action>
3569 <action function="page">singleaction_page</action>
3570 </actions>
3571 </object>
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3576 <text>Swipe to Fix Root</text>
3577 </object>
3578 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003579 </pages>
3580</recovery>