blob: 562cb169ed562081da9db6c0297a0b0bbef85333 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="480" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-16" />
14 <resource name="base" type="image" filename="background.jpg" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
44 </resources>
45
46 <variables>
47 <variable name="col1_x" value="23" />
48 <variable name="col2_x" value="210" />
49 <variable name="col3_x" value="410" />
50 <variable name="col4_x" value="610" />
51 <variable name="row1_y" value="90" />
52 <variable name="row2_y" value="340" />
53 <variable name="col_center_x" value="310" />
54 <variable name="center_x" value="400" />
55 <variable name="screen_width" value="800" />
56 <variable name="screen_height" value="480" />
57 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040058 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040059 <variable name="col1_medium_x" value="120" />
60 <variable name="col2_medium_x" value="250" />
61 <variable name="col3_medium_x" value="380" />
62 <variable name="col4_medium_x" value="510" />
63 <variable name="row1_medium_y" value="105" />
64 <variable name="row2_medium_y" value="175" />
65 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060066 <variable name="row4_medium_y" value="340" />
Dees_Troy51a0e822012-09-05 15:24:24 -040067 <variable name="row5_medium_y" value="320" />
68 <variable name="row1_text_y" value="58" />
69 <variable name="row2_text_y" value="78" />
70 <variable name="row3_text_y" value="100" />
71 <variable name="row4_text_y" value="120" />
72 <variable name="row5_text_y" value="140" />
73 <variable name="row6_text_y" value="160" />
74 <variable name="row7_text_y" value="180" />
75 <variable name="row8_text_y" value="200" />
76 <variable name="row9_text_y" value="220" />
77 <variable name="row10_text_y" value="240" />
78 <variable name="row11_text_y" value="260" />
79 <variable name="row12_text_y" value="280" />
80 <variable name="row13_text_y" value="300" />
81 <variable name="row14_text_y" value="320" />
82 <variable name="row15_text_y" value="340" />
83 <variable name="row16_text_y" value="360" />
84 <variable name="row17_text_y" value="380" />
85 <variable name="row18_text_y" value="400" />
86 <variable name="row_offsetmedium_y" value="320" />
87 <variable name="home_button_x" value="589" />
88 <variable name="home_button_y" value="5" />
89 <variable name="back_button_x" value="659" />
90 <variable name="back_button_y" value="5" />
91 <variable name="console_button_x" value="729" />
92 <variable name="console_button_y" value="5" />
93 <variable name="nandcheck_col1" value="23" />
94 <variable name="nandcheck_col2" value="360" />
95 <variable name="nandcheck_row1" value="130" />
96 <variable name="nandcheck_row2" value="160" />
97 <variable name="nandcheck_row3" value="190" />
98 <variable name="nandcheck_row4" value="220" />
99 <variable name="nandcheck_row5" value="250" />
100 <variable name="nandcheck_row6" value="280" />
101 <variable name="nandcheck_row7" value="310" />
102 <variable name="button_text_color" value="#AAAAAA" />
103 <variable name="text_color" value="#A0A0A0" />
104 <variable name="text_success_color" value="#33B5E5" />
105 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600106 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400107 <variable name="slider_x" value="225" />
108 <variable name="slider_y" value="390" />
109 <variable name="slider_text_y" value="425" />
110 <variable name="sort_text_x" value="170" />
111 <variable name="sort_asc_text_y" value="418" />
112 <variable name="sort_asc_button_y" value="413" />
113 <variable name="sort_desc_text_y" value="452" />
114 <variable name="sort_desc_button_y" value="447" />
115 <variable name="sort_col1_button_x" value="300" />
116 <variable name="sort_col2_button_x" value="370" />
117 <variable name="sort_col3_button_x" value="440" />
118 <variable name="col1_sdext_x" value="265" />
119 <variable name="col2_sdext_x" value="475" />
120 <variable name="row1_sdext_y" value="85" />
121 <variable name="row2_sdext_y" value="150" />
122 <variable name="row_extsize_y" value="85" />
123 <variable name="row_swapsize_y" value="150" />
124 <variable name="input_x" value="28" />
125 <variable name="input_width" value="720" />
126 <variable name="input_height" value="25" />
127 <variable name="input_background_color" value="#303030" />
128 <variable name="input_cursor_color" value="#33B5E5" />
129 <variable name="input_cursor_width" value="2" />
130 <variable name="console_x" value="25" />
131 <variable name="console_width" value="750" />
132 <variable name="console_foreground" value="#A0A0A0" />
133 <variable name="console_background" value="#303030" />
134 <variable name="console_scroll" value="#303030" />
135 <variable name="console_action_height" value="230" />
136 <variable name="console_install_height" value="260" />
137 <variable name="console_installdone_height" value="260" />
138 <variable name="fileselector_folder_x" value="28" />
139 <variable name="fileselector_folder_width" value="248" />
140 <variable name="fileselector_folderonly_width" value="460" />
141 <variable name="fileselector_file_x" value="278" />
142 <variable name="fileselector_file_width" value="506" />
143 <variable name="fileselector_install_y" value="120" />
144 <variable name="fileselector_install_height" value="290" />
145 <variable name="fileselector_header_background" value="#202020" />
146 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
147 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
148 <variable name="fileselector_header_separatorheight" value="2" />
149 <variable name="fileselector_separatorcolor" value="#505050" />
150 <variable name="fileselector_separatorheight" value="1" />
151 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600152 <variable name="fileselector_highlight_color" value="#505050" />
153 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400154 <variable name="fileselector_spacing" value="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100155 <variable name="fastscroll_linecolor" value="#808080" />
156 <variable name="fastscroll_rectcolor" value="#808080" />
157 <variable name="fastscroll_w" value="25" />
158 <variable name="fastscroll_linew" value="2" />
159 <variable name="fastscroll_rectw" value="19" />
160 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="zipstorage_text_y" value="88" />
162 <variable name="listbox_x" value="156" />
163 <variable name="listbox_y" value="90" />
164 <variable name="listbox_width" value="460" />
165 <variable name="listbox_tz_height" value="170" />
166 <variable name="listbox_background" value="#303030" />
167 <variable name="listbox_spacing" value="12" />
168 <variable name="sd_plus_x" value="280" />
169 <variable name="lock_x" value="250" />
170 <variable name="lock_y" value="90" />
171 <variable name="filemanager_select_x" value="610" />
172 <variable name="filemanager_select_y" value="413" />
173 <variable name="backup_name_text_y" value="440" />
174 <variable name="backup_name_button_y" value="195" />
175 <variable name="col_right_x" value="772" />
176 <variable name="cancel_button_y" value="180" />
177 <variable name="terminal_console_y" value="0" />
178 <variable name="terminal_console_height" value="240" />
179 <variable name="terminal_text_y" value="247" />
180 <variable name="terminal_button_y" value="237" />
181 <variable name="terminal_input_width" value="551" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="button_fill_color" value="#303030" />
183 <variable name="button_fill_full_width" value="400" />
184 <variable name="button_fill_main_width" value="367" />
185 <variable name="button_fill_main_height" value="120" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000186 <variable name="button_fill_half_height" value="40" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500187 <variable name="button_fill_quarter_height" value="30" />
188 <variable name="button_full_center_x" value="200" />
189 <variable name="backup_list_x" value="23" />
190 <variable name="backup_list_y" value="80" />
191 <variable name="backup_list_width" value="367" />
192 <variable name="backup_list_height" value="290" />
193 <variable name="backup_storage_y" value="190" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000194 <variable name="backup_encrypt_y" value="235" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500195 <variable name="restore_list_y" value="100" />
196 <variable name="restore_list_height" value="270" />
197 <variable name="mount_list_height" value="360" />
198 <variable name="mount_storage_row" value="500" />
199 <variable name="wipe_list_height" value="300" />
200 <variable name="wipe_button_y" value="150" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200201 <variable name="slidervalue_x" value="200" />
202 <variable name="slidervalue_w" value="400" />
203 <variable name="slidervalue_line_clr" value="#FFFFFF" />
204 <variable name="slidervalue_slider_clr" value="#33B5E5" />
205 <variable name="slidervalue_lineh" value="1" />
206 <variable name="slidervalue_padding" value="0" />
207 <variable name="slidervalue_sliderw" value="7" />
208 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400209 </variables>
210
211 <templates>
212 <template name="header">
213 <background color="#000000FF" />
214
215 <object type="image">
216 <image resource="side" />
217 <placement x="0" y="0" />
218 </object>
219
220 <object type="image">
221 <image resource="side" />
222 <placement x="770" y="0" />
223 </object>
224
225 <object type="image">
226 <image resource="base" />
227 <placement x="0" y="0" />
228 </object>
229
230 <object type="image">
231 <image resource="bottom" />
232 <placement x="1" y="450" />
233 </object>
234
235 <object type="image">
236 <image resource="large_black" />
237 <placement x="0" y="0" />
238 </object>
239
240 <object type="text" color="%text_color%">
241 <font resource="font" />
242 <placement x="250" y="2" />
243 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
244 </object>
245
246 <object type="text" color="%text_color%">
247 <font resource="font" />
248 <placement x="250" y="37" />
249 <conditions>
250 <condition var1="tw_no_battery_percent" var2="0" />
251 <condition var1="tw_battery" op=">" var2="0" />
252 <condition var1="tw_battery" op="<" var2="101" />
253 </conditions>
254 <text>Battery Level: %tw_battery%</text>
255 </object>
256
257 <object type="text" color="%text_color%">
258 <font resource="font" />
259 <placement x="450" y="37" />
260 <text>%tw_time%</text>
261 </object>
262
263 <object type="text" color="%text_color%">
264 <condition var1="tw_simulate_actions" var2="1" />
265 <font resource="font" />
266 <placement x="250" y="20" />
267 <text>SIMULATING ACTIONS</text>
268 </object>
269
270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600271 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400272 <placement x="%home_button_x%" y="%home_button_y%" />
273 <font resource="font" color="%button_text_color%" />
274 <text></text>
275 <image resource="home_icon" />
276 <condition var1="tw_busy" var2="0" />
277 <action function="key">home</action>
278 </object>
279
280 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600281 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400282 <placement x="%back_button_x%" y="%back_button_y%" />
283 <font resource="font" color="%button_text_color%" />
284 <text></text>
285 <image resource="back_icon" />
286 <condition var1="tw_busy" var2="0" />
287 <action function="key">back</action>
288 </object>
289
290 <object type="action">
291 <touch key="power" />
292 <action function="overlay">lock</action>
293 </object>
294 </template>
295
296 <template name="progress_bar">
297 <object type="progressbar">
298 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
299 <resource empty="progress_empty" full="progress_full" />
300 <data name="ui_progress" />
301 </object>
302
303 <object type="animation">
304 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
305 <resource name="progress" />
306 <speed fps="15" render="2" />
307 <loop frame="1" />
308 </object>
309 </template>
310
311 <template name="sort_options">
312 <object type="text" color="%text_color%">
313 <font resource="font" />
314 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
315 <text>Sort Ascending:</text>
316 </object>
317
318 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600319 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400320 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
321 <font resource="font" color="%button_text_color%" />
322 <text>Name</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=1</action>
325 </object>
326
327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400329 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
330 <font resource="font" color="%button_text_color%" />
331 <text>Date</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=2</action>
334 </object>
335
336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400338 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
339 <font resource="font" color="%button_text_color%" />
340 <text>Size</text>
341 <image resource="sort_button" />
342 <action function="set">tw_gui_sort_order=3</action>
343 </object>
344
345 <object type="text" color="%text_color%">
346 <font resource="font" />
347 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
348 <text>Sort Descending:</text>
349 </object>
350
351 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600352 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400353 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
354 <font resource="font" color="%button_text_color%" />
355 <text>Name</text>
356 <image resource="sort_button" />
357 <action function="set">tw_gui_sort_order=-1</action>
358 </object>
359
360 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600361 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400362 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
363 <font resource="font" color="%button_text_color%" />
364 <text>Date</text>
365 <image resource="sort_button" />
366 <action function="set">tw_gui_sort_order=-2</action>
367 </object>
368
369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
372 <font resource="font" color="%button_text_color%" />
373 <text>Size</text>
374 <image resource="sort_button" />
375 <action function="set">tw_gui_sort_order=-3</action>
376 </object>
377 </template>
378
379 <template name="flash_zip_console">
380 <object type="console">
381 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
382 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
383 <font resource="fixed" />
384 </object>
385 </template>
386
387 <template name="action_page_console">
388 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400389 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400390 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
391 <font resource="fixed" />
392 </object>
393 </template>
394
395 <template name="footer">
396 <object type="console">
397 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
398 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
399 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
400 <font resource="fixed" />
401 </object>
402 </template>
403
404 <template name="keyboardtemplate">
405 <object type="keyboard">
406 <placement x="0" y="277" />
407 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400409 <layout1>
410 <keysize height="51" width="73" />
411 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="70:c:8" />
412 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
413 <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
414 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
415 </layout1>
416 <layout2>
417 <keysize height="51" width="73" />
418 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="70:c:8" />
419 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
420 <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
421 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
422 </layout2>
423 <layout3>
424 <keysize height="51" width="73" />
425 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
426 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
427 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
428 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
429 </layout3>
430 <layout4>
431 <keysize height="51" width="73" />
432 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
433 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
434 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
435 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
436 </layout4>
437 </object>
438 </template>
439 </templates>
440
441 <pages>
442 <page name="main">
443 <object type="action">
444 <actions>
445 <action function="set">tw_clear_destination=main2</action>
446 <action function="page">clear_vars</action>
447 </actions>
448 </object>
449 </page>
450
451 <page name="main2">
452 <object type="template" name="header" />
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col1_x%" y="%row1_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Install</text>
459 <image resource="main_button" />
460 <actions>
461 <action function="queueclear"></action>
462 <action function="page">install</action>
463 </actions>
464 </object>
465
466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <placement x="%col2_x%" y="%row1_y%" />
469 <font resource="font" color="%button_text_color%" />
470 <text>Backup</text>
471 <image resource="main_button" />
472 <action function="page">backup</action>
473 </object>
474
475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400477 <placement x="%col3_x%" y="%row1_y%" />
478 <font resource="font" color="%button_text_color%" />
479 <text>Restore</text>
480 <image resource="main_button" />
481 <action function="page">restore</action>
482 </object>
483
484 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600485 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400486 <placement x="%col4_x%" y="%row1_y%" />
487 <font resource="font" color="%button_text_color%" />
488 <text>Wipe</text>
489 <image resource="main_button" />
490 <action function="page">wipe</action>
491 </object>
492
493 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600494 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400495 <placement x="%col1_x%" y="%row2_y%" />
496 <font resource="font" color="%button_text_color%" />
497 <text>Mount</text>
498 <image resource="main_button" />
499 <action function="page">mount</action>
500 </object>
501
502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600503 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400504 <placement x="%col2_x%" y="%row2_y%" />
505 <font resource="font" color="%button_text_color%" />
506 <text>Settings</text>
507 <image resource="main_button" />
508 <action function="page">settings</action>
509 </object>
510
511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400513 <placement x="%col3_x%" y="%row2_y%" />
514 <font resource="font" color="%button_text_color%" />
515 <text>Advanced</text>
516 <image resource="main_button" />
517 <action function="page">advanced</action>
518 </object>
519
520 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600521 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400522 <placement x="%col4_x%" y="%row2_y%" />
523 <font resource="font" color="%button_text_color%" />
524 <text>Reboot</text>
525 <image resource="main_button" />
526 <action function="page">reboot</action>
527 </object>
528
529 <object type="template" name="footer" />
530 </page>
531
532 <page name="install">
533 <object type="template" name="header" />
534
535 <object type="text" color="%text_color%">
536 <font resource="font" />
537 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
538 <text>Select Zip to Install</text>
539 </object>
540
541 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500542 <highlight color="%highlight_color%" />
543 <fill color="%button_fill_color%" />
544 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
545 <font resource="font" color="%button_text_color%" />
546 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
547 <actions>
548 <action function="set">tw_back=install</action>
549 <action function="page">selectstorage</action>
550 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400551 </object>
552
553 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600554 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400555 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
556 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100557 <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 -0400558 <text>Folders:</text>
559 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
560 <sort name="tw_gui_sort_order" />
561 <icon folder="folder_icon" file="file_icon" />
562 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600563 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400564 <filter folders="1" files="0" />
565 <path name="tw_zip_location" default="/sdcard" />
566 <data name="select" />
567 </object>
568
569 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600570 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
572 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100573 <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 -0400574 <text>%tw_zip_location%</text>
575 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
576 <sort name="tw_gui_sort_order" />
577 <icon folder="folder_icon" file="file_icon" />
578 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600579 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400580 <filter extn=".zip" folders="0" files="1" />
581 <path name="tw_zip_location" />
582 <data name="tw_filename" />
583 <selection name="tw_file" />
584 </object>
585
586 <object type="template" name="sort_options" />
587
588 <object type="action">
589 <condition var1="tw_filename" op="modified" />
590 <actions>
591 <action function="queuezip"></action>
592 <action function="page">flash_confirm</action>
593 </actions>
594 </object>
595
596 <object type="action">
597 <touch key="back" />
598 <action function="page">main</action>
599 </object>
600
601 <object type="action">
602 <touch key="home" />
603 <action function="page">main</action>
604 </object>
605
606 <object type="template" name="footer" />
607 </page>
608
609 <page name="flash_confirm">
610 <object type="template" name="header" />
611
612 <object type="text" color="%text_color%">
613 <font resource="font" />
614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
615 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
621 <text>Folder:</text>
622 </object>
623
624 <object type="text" color="%text_color%">
625 <font resource="font" />
626 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
627 <text>%tw_zip_location%</text>
628 </object>
629
630 <object type="text" color="%text_color%">
631 <font resource="font" />
632 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
633 <text>File to flash:</text>
634 </object>
635
636 <object type="text" color="%text_color%">
637 <font resource="font" />
638 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
639 <text>%tw_file%</text>
640 </object>
641
642 <object type="text" color="%text_color%">
643 <font resource="font" />
644 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
645 <text>Press back to cancel adding this zip.</text>
646 </object>
647
648 <object type="checkbox">
649 <placement x="%col2_x%" y="%row7_text_y%" />
650 <font resource="font" color="%text_color%" />
651 <text>Zip file signature verification?</text>
652 <data variable="tw_signed_zip_verify" />
653 <image checked="checkbox_true" unchecked="checkbox_false" />
654 </object>
655
Dees_Troy51a0e822012-09-05 15:24:24 -0400656 <object type="text" color="%text_color%">
657 <font resource="font" />
658 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
659 <text>File %tw_zip_queue_count% of max of 10</text>
660 </object>
661
662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600663 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400664 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
665 <placement x="%col2_x%" y="%row5_medium_y%" />
666 <font resource="font" color="%button_text_color%" />
667 <text>Add More Zips</text>
668 <image resource="mediumwide_button" />
669 <action function="page">install</action>
670 </object>
671
672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600673 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400674 <placement x="%col3_x%" y="%row5_medium_y%" />
675 <font resource="font" color="%button_text_color%" />
676 <text>Clear Queue</text>
677 <image resource="mediumwide_button" />
678 <actions>
679 <action function="queueclear"></action>
680 <action function="page">install</action>
681 </actions>
682 </object>
683
684 <object type="slider">
685 <placement x="%slider_x%" y="%slider_y%" />
686 <resource base="slider" used="slider-used" touch="slider-touch" />
687 <action function="flash">flash_zip</action>
688 </object>
689
690 <object type="text" color="%text_color%">
691 <font resource="font" />
692 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
693 <text>Swipe to Confirm Flash</text>
694 </object>
695
696 <object type="action">
697 <touch key="back" />
698 <actions>
699 <action function="cancelzip"></action>
700 <action function="page">install</action>
701 </actions>
702 </object>
703
704 <object type="action">
705 <touch key="home" />
706 <action function="page">main</action>
707 </object>
708
709 <object type="template" name="footer" />
710 </page>
711
712 <page name="flash_zip">
713 <object type="template" name="header" />
714
715 <object type="template" name="flash_zip_console" />
716
717 <object type="text" color="%text_color%">
718 <font resource="font" />
719 <placement x="%col1_x%" y="%row16_text_y%" />
720 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
721 </object>
722
723 <object type="text" color="%text_color%">
724 <font resource="font" />
725 <placement x="%col1_x%" y="%row17_text_y%" />
726 <text>%tw_filename%</text>
727 </object>
728
729 <object type="template" name="progress_bar" />
730
731 <object type="action">
732 <condition var1="tw_operation_state" var2="1" />
733 <action function="page">flash_done</action>
734 </object>
735 </page>
736
737 <page name="flash_done">
738 <object type="template" name="header" />
739
740 <object type="template" name="flash_zip_console" />
741
742 <object type="text" color="%text_fail_color%">
743 <condition var1="tw_operation_status" op="!=" var2="0" />
744 <font resource="font" />
745 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
746 <text>Failed</text>
747 </object>
748
749 <object type="text" color="%text_success_color%">
750 <condition var1="tw_operation_status" var2="0" />
751 <font resource="font" />
752 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
753 <text>Successful</text>
754 </object>
755
756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <placement x="%col1_x%" y="%slider_y%" />
759 <font resource="font" color="%button_text_color%" />
760 <text>Wipe Cache/Dalvik</text>
761 <image resource="main_button" />
762 <actions>
763 <action function="set">tw_back=flash_done</action>
764 <action function="set">tw_action=wipe</action>
765 <action function="set">tw_action_param=/cache</action>
766 <action function="set">tw_has_action2=1</action>
767 <action function="set">tw_action2=wipe</action>
768 <action function="set">tw_action2_param=dalvik</action>
769 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
770 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
771 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
772 <action function="set">tw_slider_text=Swipe to Wipe</action>
773 <action function="page">confirm_action</action>
774 </actions>
775 </object>
776
777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400779 <condition var1="tw_reboot_system" var2="1" />
780 <placement x="%col4_x%" y="%slider_y%" />
781 <font resource="font" color="%button_text_color%" />
782 <text>Reboot System</text>
783 <image resource="main_button" />
784 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400785 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400786 <action function="set">tw_action=reboot</action>
787 <action function="set">tw_action_param=system</action>
788 <action function="set">tw_has_action2=0</action>
789 <action function="set">tw_text1=No OS Installed! Are you</action>
790 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400791 <action function="set">tw_text3=</action>
792 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400793 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400794 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400795 <action function="set">tw_complete_text1=Rebooting...</action>
796 <action function="set">tw_slider_text=Swipe to Reboot</action>
797 <action function="page">rebootcheck</action>
798 </actions>
799 </object>
800
801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400803 <placement x="%col_center_x%" y="%slider_y%" />
804 <font resource="font" color="%button_text_color%" />
805 <text>Home</text>
806 <image resource="main_button" />
807 <actions>
808 <action function="set">tw_clear_destination=main2</action>
809 <action function="page">clear_vars</action>
810 </actions>
811 </object>
812
813 <object type="action">
814 <touch key="back" />
815 <actions>
816 <action function="set">tw_clear_destination=install</action>
817 <action function="page">clear_vars</action>
818 </actions>
819 </object>
820
821 <object type="action">
822 <touch key="home" />
823 <actions>
824 <action function="set">tw_clear_destination=main2</action>
825 <action function="page">clear_vars</action>
826 </actions>
827 </object>
828 </page>
829
830 <page name="clear_vars">
831 <object type="action">
832 <action function="set">tw_operation_state=0</action>
833 <action function="set">tw_text1=</action>
834 <action function="set">tw_text2=</action>
835 <action function="set">tw_text3=</action>
836 <action function="set">tw_text4=</action>
837 <action function="set">tw_action_text1=</action>
838 <action function="set">tw_action_text2=</action>
839 <action function="set">tw_action_param=</action>
840 <action function="set">tw_has_action2=0</action>
841 <action function="set">tw_action2=</action>
842 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400843 <action function="set">tw_has_cancel=0</action>
844 <action function="set">tw_cancel_action=</action>
845 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400846 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400847 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400848 <action function="page">%tw_clear_destination%</action>
849 </object>
850 </page>
851
852 <page name="confirm_action">
853 <object type="template" name="header" />
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
858 <text>%tw_text1%</text>
859 </object>
860
861 <object type="text" color="%text_color%">
862 <font resource="font" />
863 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
864 <text>%tw_text2%</text>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
869 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
870 <text>%tw_text3%</text>
871 </object>
872
873 <object type="text" color="%text_color%">
874 <font resource="font" />
875 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
876 <text>%tw_text4%</text>
877 </object>
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400881 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400882 <text>Press back button to cancel.</text>
883 </object>
884
885 <object type="slider">
886 <placement x="%slider_x%" y="%slider_y%" />
887 <resource base="slider" used="slider-used" touch="slider-touch" />
888 <action function="page">action_page</action>
889 </object>
890
891 <object type="text" color="%text_color%">
892 <font resource="font" />
893 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
894 <text>%tw_slider_text%</text>
895 </object>
896
897 <object type="action">
898 <touch key="back" />
899 <actions>
900 <action function="set">tw_clear_destination=%tw_back%</action>
901 <action function="page">clear_vars</action>
902 </actions>
903 </object>
904
905 <object type="action">
906 <touch key="home" />
907 <action function="page">main</action>
908 </object>
909
910 <object type="template" name="footer" />
911 </page>
912
913 <page name="action_page">
914 <object type="template" name="header" />
915
916 <object type="text" color="%text_color%">
917 <font resource="font" />
918 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
919 <text>%tw_action_text1%</text>
920 </object>
921
922 <object type="text" color="%text_color%">
923 <font resource="font" />
924 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
925 <text>%tw_action_text2%</text>
926 </object>
927
928 <object type="template" name="action_page_console" />
929
Dees_Troy2691f9d2012-09-24 11:15:49 -0400930 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600931 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400932 <condition var1="tw_has_cancel" var2="1" />
933 <placement x="%col4_x%" y="%slider_y%" />
934 <font resource="font" color="%button_text_color%" />
935 <text>Cancel</text>
936 <image resource="main_button" />
937 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
938 </object>
939
Dees_Troy51a0e822012-09-05 15:24:24 -0400940 <object type="template" name="progress_bar" />
941
942 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400943 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400944 <actions>
945 <action function="page">action_complete</action>
946 </actions>
947 </object>
948
949 <object type="action">
950 <condition var1="tw_has_action2" var2="0" />
951 <actions>
952 <action function="%tw_action%">%tw_action_param%</action>
953 </actions>
954 </object>
955
956 <object type="action">
957 <condition var1="tw_has_action2" var2="1" />
958 <actions>
959 <action function="%tw_action%">%tw_action_param%</action>
960 <action function="%tw_action2%">%tw_action2_param%</action>
961 </actions>
962 </object>
963 </page>
964
Dees_Troy6ef66352013-02-21 08:26:57 -0600965 <page name="singleaction_page">
966 <object type="template" name="header" />
967
968 <object type="text" color="%text_color%">
969 <font resource="font" />
970 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
971 <text>%tw_action_text1%</text>
972 </object>
973
974 <object type="text" color="%text_color%">
975 <font resource="font" />
976 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
977 <text>%tw_action_text2%</text>
978 </object>
979
980 <object type="template" name="action_page_console" />
981
982 <object type="template" name="progress_bar" />
983
984 <object type="action">
985 <condition var1="tw_operation_state" var2="1" />
986 <actions>
987 <action function="set">tw_page_done=1</action>
988 </actions>
989 </object>
990
991 <object type="action">
992 <condition var1="tw_has_action2" var2="0" />
993 <actions>
994 <action function="%tw_action%">%tw_action_param%</action>
995 </actions>
996 </object>
997
998 <object type="action">
999 <condition var1="tw_has_action2" var2="1" />
1000 <actions>
1001 <action function="%tw_action%">%tw_action_param%</action>
1002 <action function="%tw_action2%">%tw_action2_param%</action>
1003 </actions>
1004 </object>
1005 </page>
1006
Dees_Troy51a0e822012-09-05 15:24:24 -04001007 <page name="action_complete">
1008 <object type="template" name="header" />
1009
1010 <object type="text" color="%text_color%">
1011 <font resource="font" />
1012 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1013 <text>%tw_complete_text1%</text>
1014 </object>
1015
1016 <object type="text" color="%text_fail_color%">
1017 <condition var1="tw_operation_status" op="!=" var2="0" />
1018 <font resource="font" />
1019 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1020 <text>Failed</text>
1021 </object>
1022
1023 <object type="text" color="%text_success_color%">
1024 <condition var1="tw_operation_status" var2="0" />
1025 <font resource="font" />
1026 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1027 <text>Successful</text>
1028 </object>
1029
1030 <object type="template" name="action_page_console" />
1031
1032 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001033 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001034 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001035 <placement x="%col_center_x%" y="%slider_y%" />
1036 <font resource="font" color="%button_text_color%" />
1037 <text>Back</text>
1038 <image resource="main_button" />
1039 <actions>
1040 <action function="set">tw_clear_destination=%tw_back%</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </object>
1044
Dees_Troya3f81542012-10-08 10:58:53 -04001045 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001046 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001047 <condition var1="tw_show_reboot" var2="1" />
1048 <placement x="%col_center_x%" y="%slider_y%" />
1049 <font resource="font" color="%button_text_color%" />
1050 <text>Reboot System</text>
1051 <image resource="main_button" />
1052 <actions>
1053 <action function="set">tw_back=main2</action>
1054 <action function="set">tw_action=reboot</action>
1055 <action function="set">tw_action_param=system</action>
1056 <action function="set">tw_has_action2=0</action>
1057 <action function="set">tw_text1=No OS Installed! Are you</action>
1058 <action function="set">tw_text2=sure you wish to reboot?</action>
1059 <action function="set">tw_text3=</action>
1060 <action function="set">tw_text4=</action>
1061 <action function="set">tw_action_text1=Rebooting...</action>
1062 <action function="set">tw_action_text2=</action>
1063 <action function="set">tw_complete_text1=Rebooting...</action>
1064 <action function="set">tw_slider_text=Swipe to Reboot</action>
1065 <action function="page">rebootcheck</action>
1066 </actions>
1067 </object>
1068
Dees_Troy51a0e822012-09-05 15:24:24 -04001069 <object type="action">
1070 <touch key="home" />
1071 <actions>
1072 <action function="set">tw_clear_destination=main2</action>
1073 <action function="page">clear_vars</action>
1074 </actions>
1075 </object>
1076
1077 <object type="action">
1078 <touch key="back" />
1079 <actions>
1080 <action function="set">tw_clear_destination=%tw_back%</action>
1081 <action function="page">clear_vars</action>
1082 </actions>
1083 </object>
1084 </page>
1085
1086 <page name="filecheck">
1087 <object type="action">
1088 <action function="fileexists">%tw_filecheck%</action>
1089 </object>
1090
1091 <object type="action">
1092 <conditions>
1093 <condition var1="tw_operation_state" var2="1" />
1094 <condition var1="tw_operation_status" var2="0" />
1095 </conditions>
1096 <actions>
1097 <action function="set">tw_fileexists=1</action>
1098 <action function="page">%tw_existpage%</action>
1099 </actions>
1100 </object>
1101
1102 <object type="action">
1103 <conditions>
1104 <condition var1="tw_operation_state" var2="1" />
1105 <condition var1="tw_operation_status" var2="1" />
1106 </conditions>
1107 <actions>
1108 <action function="set">tw_fileexists=0</action>
1109 <action function="page">%tw_notexistpage%</action>
1110 </actions>
1111 </object>
1112 </page>
1113
1114 <page name="rebootcheck">
1115 <object type="action">
1116 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1117 <action function="reboot">%tw_action_param%</action>
1118 </object>
1119
1120 <object type="action">
1121 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1122 <action function="page">confirm_action</action>
1123 </object>
1124 </page>
1125
1126 <page name="reboot">
1127 <object type="template" name="header" />
1128
1129 <object type="text" color="%text_color%">
1130 <font resource="font" />
1131 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1132 <text>Reboot Menu</text>
1133 </object>
1134
1135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <condition var1="tw_reboot_system" var2="1" />
1138 <placement x="%col1_x%" y="%row1_y%" />
1139 <font resource="font" color="%button_text_color%" />
1140 <text>System</text>
1141 <image resource="main_button" />
1142 <actions>
1143 <action function="set">tw_back=reboot</action>
1144 <action function="set">tw_action=reboot</action>
1145 <action function="set">tw_action_param=system</action>
1146 <action function="set">tw_has_action2=0</action>
1147 <action function="set">tw_text1=No OS Installed! Are you</action>
1148 <action function="set">tw_text2=sure you wish to reboot?</action>
1149 <action function="set">tw_action_text1=Rebooting...</action>
1150 <action function="set">tw_complete_text1=Rebooting...</action>
1151 <action function="set">tw_slider_text=Swipe to Reboot</action>
1152 <action function="page">rebootcheck</action>
1153 </actions>
1154 </object>
1155
1156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001157 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <condition var1="tw_reboot_poweroff" var2="1" />
1159 <placement x="%col2_x%" y="%row1_y%" />
1160 <font resource="font" color="%button_text_color%" />
1161 <text>Power Off</text>
1162 <image resource="main_button" />
1163 <actions>
1164 <action function="set">tw_back=reboot</action>
1165 <action function="set">tw_action=reboot</action>
1166 <action function="set">tw_action_param=poweroff</action>
1167 <action function="set">tw_has_action2=0</action>
1168 <action function="set">tw_text1=No OS Installed! Are you</action>
1169 <action function="set">tw_text2=sure you wish to power off?</action>
1170 <action function="set">tw_action_text1=Turning Off...</action>
1171 <action function="set">tw_complete_text1=Turning Off...</action>
1172 <action function="set">tw_slider_text=Swipe to Power Off</action>
1173 <action function="page">rebootcheck</action>
1174 </actions>
1175 </object>
1176
1177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001179 <condition var1="tw_reboot_recovery" var2="1" />
1180 <placement x="%col1_x%" y="%row2_y%" />
1181 <font resource="font" color="%button_text_color%" />
1182 <text>Recovery</text>
1183 <image resource="main_button" />
1184 <actions>
1185 <action function="set">tw_back=reboot</action>
1186 <action function="set">tw_action=reboot</action>
1187 <action function="set">tw_action_param=recovery</action>
1188 <action function="set">tw_has_action2=0</action>
1189 <action function="set">tw_text1=No OS Installed! Are you</action>
1190 <action function="set">tw_text2=sure you wish to reboot?</action>
1191 <action function="set">tw_action_text1=Rebooting...</action>
1192 <action function="set">tw_complete_text1=Rebooting...</action>
1193 <action function="set">tw_slider_text=Swipe to Reboot</action>
1194 <action function="page">rebootcheck</action>
1195 </actions>
1196 </object>
1197
1198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001199 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001200 <condition var1="tw_reboot_bootloader" var2="1" />
1201 <placement x="%col2_x%" y="%row2_y%" />
1202 <font resource="font" color="%button_text_color%" />
1203 <text>Bootloader</text>
1204 <image resource="main_button" />
1205 <actions>
1206 <action function="set">tw_back=reboot</action>
1207 <action function="set">tw_action=reboot</action>
1208 <action function="set">tw_action_param=bootloader</action>
1209 <action function="set">tw_has_action2=0</action>
1210 <action function="set">tw_text1=No OS Installed! Are you</action>
1211 <action function="set">tw_text2=sure you wish to reboot?</action>
1212 <action function="set">tw_action_text1=Rebooting...</action>
1213 <action function="set">tw_complete_text1=Rebooting...</action>
1214 <action function="set">tw_slider_text=Swipe to Reboot</action>
1215 <action function="page">rebootcheck</action>
1216 </actions>
1217 </object>
1218
1219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001221 <condition var1="tw_download_mode" var2="1" />
1222 <placement x="%col3_x%" y="%row2_y%" />
1223 <font resource="font" color="%button_text_color%" />
1224 <text>Download</text>
1225 <image resource="main_button" />
1226 <actions>
1227 <action function="set">tw_back=reboot</action>
1228 <action function="set">tw_action=reboot</action>
1229 <action function="set">tw_action_param=download</action>
1230 <action function="set">tw_has_action2=0</action>
1231 <action function="set">tw_text1=No OS Installed! Are you</action>
1232 <action function="set">tw_text2=sure you wish to reboot?</action>
1233 <action function="set">tw_action_text1=Rebooting...</action>
1234 <action function="set">tw_complete_text1=Rebooting...</action>
1235 <action function="set">tw_slider_text=Swipe to Reboot</action>
1236 <action function="page">rebootcheck</action>
1237 </actions>
1238 </object>
1239
1240 <object type="action">
1241 <touch key="home" />
1242 <action function="page">main</action>
1243 </object>
1244
1245 <object type="action">
1246 <touch key="back" />
1247 <action function="page">main</action>
1248 </object>
1249
1250 <object type="template" name="footer" />
1251 </page>
1252
Dees_Troya13d74f2013-03-24 08:54:55 -05001253 <page name="selectstorage">
1254 <object type="template" name="header" />
1255
1256 <object type="partitionlist">
1257 <highlight color="%fileselector_highlight_color%" />
1258 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1259 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1260 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1261 <text>Select Storage:</text>
1262 <icon selected="radio_true" unselected="radio_false" />
1263 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1264 <background color="%listbox_background%" />
1265 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1266 <data name="tw_storage_path" />
1267 <listtype name="storage" />
1268 </object>
1269
1270 <object type="action">
1271 <touch key="home" />
1272 <action function="page">main</action>
1273 </object>
1274
1275 <object type="action">
1276 <touch key="back" />
1277 <actions>
1278 <action function="page">%tw_back%</action>
1279 </actions>
1280 </object>
1281
1282 <object type="template" name="footer" />
1283 </page>
1284
Dees_Troy51a0e822012-09-05 15:24:24 -04001285 <page name="mount">
1286 <object type="template" name="header" />
1287
1288 <object type="text" color="%text_color%">
1289 <font resource="font" />
1290 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1291 <text>Mount Menu</text>
1292 </object>
1293
Dees_Troya13d74f2013-03-24 08:54:55 -05001294 <object type="partitionlist">
1295 <highlight color="%fileselector_highlight_color%" />
1296 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1297 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1298 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1299 <text>Select Partitions to Mount:</text>
1300 <icon selected="checkbox_true" unselected="checkbox_false" />
1301 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1302 <background color="%listbox_background%" />
1303 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1304 <listtype name="mount" />
1305 </object>
1306
1307 <object type="button">
1308 <highlight color="%highlight_color%" />
1309 <conditions>
1310 <condition var1="tw_is_encrypted" var2="1" />
1311 <condition var1="tw_is_decrypted" var2="0" />
1312 </conditions>
1313 <placement x="%col3_x%" y="row1_y" />
1314 <font resource="font" color="%button_text_color%" />
1315 <text>Decrypt Data</text>
1316 <image resource="main_button" />
1317 <action function="page">decrypt</action>
1318 </object>
1319
Dees_Troy51a0e822012-09-05 15:24:24 -04001320 <object type="button">
1321 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001322 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001323 <font resource="font" color="%button_text_color%" />
1324 <text>Mount USB Storage</text>
1325 <image resource="main_button" />
1326 <action function="page">usb_mount</action>
1327 </object>
1328
1329 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001330 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001331 <fill color="%button_fill_color%" />
1332 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1333 <font resource="font" color="%button_text_color%" />
1334 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1335 <actions>
1336 <action function="set">tw_back=mount</action>
1337 <action function="page">selectstorage</action>
1338 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001339 </object>
1340
1341 <object type="action">
1342 <touch key="home" />
1343 <action function="page">main</action>
1344 </object>
1345
1346 <object type="action">
1347 <touch key="back" />
1348 <action function="page">main</action>
1349 </object>
1350
1351 <object type="template" name="footer" />
1352 </page>
1353
1354 <page name="usb_mount">
1355 <object type="template" name="header" />
1356
1357 <object type="text" color="%text_color%">
1358 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1359 <font resource="font" />
1360 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1361 </object>
1362
1363 <object type="text" color="%text_color%">
1364 <placement x="%col1_x%" y="%row2_text_y%" />
1365 <font resource="font" />
1366 <text></text>
1367 </object>
1368
1369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001371 <placement x="%col_center_x%" y="%row1_y%" />
1372 <font resource="font" color="%button_text_color%" />
1373 <text>Unmount</text>
1374 <image resource="main_button" />
1375 <action function="page">usb_umount</action>
1376 </object>
1377
1378 <object type="action">
1379 <action function="mount">usb</action>
1380 </object>
1381
1382 <object type="template" name="footer" />
1383 </page>
1384
1385 <page name="usb_umount">
1386 <object type="action">
1387 <action function="unmount">usb</action>
1388 </object>
1389
1390 <object type="action">
1391 <action function="page">mount</action>
1392 </object>
1393
1394 <object type="template" name="footer" />
1395 </page>
1396
1397 <page name="wipe">
1398 <object type="template" name="header" />
1399
1400 <object type="text" color="%text_color%">
1401 <font resource="font" />
1402 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001403 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1404 </object>
1405
1406 <object type="text" color="%text_color%">
1407 <condition var1="tw_has_data_media" var2="0" />
1408 <font resource="font" />
1409 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1410 <text>.android_secure</text>
1411 </object>
1412
1413 <object type="text" color="%text_color%">
1414 <condition var1="tw_has_data_media" var2="1" />
1415 <font resource="font" />
1416 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1417 <text>(not including internal storage)</text>
1418 </object>
1419
1420 <object type="text" color="%text_color%">
1421 <condition var1="tw_has_sdext_partition" var2="1" />
1422 <font resource="font" />
1423 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1424 <text>SD-EXT</text>
1425 </object>
1426
1427 <object type="text" color="%text_color%">
1428 <font resource="font" />
1429 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1430 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 </object>
1432
1433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001434 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001435 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001437 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001439 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001440 </object>
1441
1442 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001443 <conditions>
1444 <condition var1="tw_has_internal" var2="1" />
1445 <condition var1="tw_has_data_media" var2="1" />
1446 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001447 <highlight color="%highlight_color%" />
1448 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001449 <font resource="font" color="%button_text_color%" />
1450 <text>Format Data</text>
1451 <image resource="main_button" />
1452 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001453 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001454 </actions>
1455 </object>
1456
Dees_Troya13d74f2013-03-24 08:54:55 -05001457 <object type="text" color="%text_color%">
1458 <font resource="font" />
1459 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1460 <text>Press back button to cancel.</text>
1461 </object>
1462
1463 <object type="slider">
1464 <placement x="%slider_x%" y="%slider_y%" />
1465 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001466 <actions>
1467 <action function="set">tw_back=wipe</action>
1468 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001469 <action function="set">tw_action_param=data</action>
1470 <action function="set">tw_action_text1=Factory Reset...</action>
1471 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1472 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001473 </actions>
1474 </object>
1475
Dees_Troya13d74f2013-03-24 08:54:55 -05001476 <object type="text" color="%text_color%">
1477 <font resource="font" />
1478 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1479 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001480 </object>
1481
1482 <object type="action">
1483 <touch key="home" />
1484 <action function="page">main</action>
1485 </object>
1486
1487 <object type="action">
1488 <touch key="back" />
1489 <action function="page">main</action>
1490 </object>
1491
1492 <object type="template" name="footer" />
1493 </page>
1494
Dees_Troya13d74f2013-03-24 08:54:55 -05001495 <page name="advancedwipe">
1496 <object type="template" name="header" />
1497
1498 <object type="partitionlist">
1499 <highlight color="%fileselector_highlight_color%" />
1500 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1501 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1502 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1503 <text>Select Partitions to Wipe:</text>
1504 <icon selected="checkbox_true" unselected="checkbox_false" />
1505 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1506 <background color="%listbox_background%" />
1507 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1508 <data name="tw_wipe_list" />
1509 <listtype name="wipe" />
1510 </object>
1511
1512 <object type="slider">
1513 <placement x="%slider_x%" y="%slider_y%" />
1514 <resource base="slider" used="slider-used" touch="slider-touch" />
1515 <actions>
1516 <action function="set">tw_back=advancedwipe</action>
1517 <action function="set">tw_action=wipe</action>
1518 <action function="set">tw_action_param=LIST</action>
1519 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1520 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1521 <action function="set">tw_complete_text1=Wipe Complete</action>
1522 <action function="page">action_page</action>
1523 </actions>
1524 </object>
1525
1526 <object type="text" color="%text_color%">
1527 <font resource="font" />
1528 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1529 <text>Swipe to Wipe</text>
1530 </object>
1531
1532 <object type="action">
1533 <touch key="home" />
1534 <action function="page">main</action>
1535 </object>
1536
1537 <object type="action">
1538 <touch key="back" />
1539 <action function="page">wipe</action>
1540 </object>
1541
1542 <object type="template" name="footer" />
1543 </page>
1544
1545 <page name="formatdata">
1546 <object type="template" name="header" />
1547
1548 <object type="text" color="%text_color%">
1549 <font resource="font" />
1550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1551 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1552 </object>
1553
1554 <object type="text" color="%text_color%">
1555 <font resource="font" />
1556 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1557 <text>videos, media, and removes encryption on internal storage.</text>
1558 </object>
1559
1560 <object type="text" color="%text_color%">
1561 <font resource="font" />
1562 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1563 <text>This cannot be undone. Press back to cancel.</text>
1564 </object>
1565
1566 <object type="text" color="%text_color%">
1567 <font resource="font" />
1568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1569 <text>Type yes to continue.</text>
1570 </object>
1571
1572 <object type="input">
1573 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1574 <background color="%input_background_color%" />
1575 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1576 <font resource="font" color="%text_color%" />
1577 <text>%tw_confirm_formatdata%</text>
1578 <data name="tw_confirm_formatdata" />
1579 <restrict minlen="3" maxlen="3" allow="yes" />
1580 <action function="page">formatdata_confirm</action>
1581 </object>
1582
1583 <object type="template" name="keyboardtemplate" />
1584
1585 <object type="action">
1586 <touch key="home" />
1587 <action function="page">main</action>
1588 </object>
1589
1590 <object type="action">
1591 <touch key="back" />
1592 <action function="page">wipe</action>
1593 </object>
1594
1595 <object type="template" name="footer" />
1596 </page>
1597
1598 <page name="formatdata_confirm">
1599 <object type="action">
1600 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1601 <actions>
1602 <action function="set">tw_back=formatdata</action>
1603 <action function="set">tw_action=wipe</action>
1604 <action function="set">tw_action_param=DATAMEDIA</action>
1605 <action function="set">tw_action_text1=Formatting Data...</action>
1606 <action function="set">tw_complete_text1=Data Format Complete</action>
1607 <action function="page">action_page</action>
1608 </actions>
1609 </object>
1610
1611 <object type="action">
1612 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1613 <action function="page">formatdata</function>
1614 </object>
1615 </page>
1616
Dees_Troy51a0e822012-09-05 15:24:24 -04001617 <page name="backup">
1618 <object type="template" name="header" />
1619
1620 <object type="text" color="%text_color%">
1621 <font resource="font" />
1622 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1623 <text>Back Up Device</text>
1624 </object>
1625
Dees_Troya13d74f2013-03-24 08:54:55 -05001626 <object type="partitionlist">
1627 <highlight color="%fileselector_highlight_color%" />
1628 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1629 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1630 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1631 <text>Select Partitions to Back Up:</text>
1632 <icon selected="checkbox_true" unselected="checkbox_false" />
1633 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1634 <background color="%listbox_background%" />
1635 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1636 <data name="tw_backup_list" />
1637 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001638 </object>
1639
1640 <object type="text" color="%text_color%">
1641 <font resource="font" />
1642 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1643 <text>Backup Name: %tw_backup_name%</text>
1644 </object>
1645
Dees_Troya13d74f2013-03-24 08:54:55 -05001646 <object type="button">
1647 <highlight color="%highlight_color%" />
1648 <placement x="%col3_x%" y="%row1_y%" />
1649 <font resource="font" color="%button_text_color%" />
1650 <text>Refresh Sizes</text>
1651 <image resource="main_button" />
1652 <action function="refreshsizes"></action>
1653 </object>
1654
1655 <object type="button">
1656 <highlight color="%highlight_color%" />
1657 <placement x="%col4_x%" y="%row1_y%" />
1658 <font resource="font" color="%button_text_color%" />
1659 <text>Set Backup Name</text>
1660 <image resource="main_button" />
1661 <actions>
1662 <action function="set">tw_fileexists=0</action>
1663 <action function="page">backupname1</action>
1664 </actions>
1665 </object>
1666
1667 <object type="button">
1668 <highlight color="%highlight_color%" />
1669 <fill color="%button_fill_color%" />
1670 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1671 <font resource="font" color="%button_text_color%" />
1672 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1673 <actions>
1674 <action function="set">tw_back=backup</action>
1675 <action function="page">selectstorage</action>
1676 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001677 </object>
1678
Dees_Troy83bd4832013-05-04 12:39:56 +00001679 <object type="button">
1680 <conditions>
1681 <condition var1="tw_include_encrypted_backup" var2="1" />
1682 <condition var1="tw_encrypt_backup" var2="0" />
1683 </conditions>
1684 <highlight color="%highlight_color%" />
1685 <fill color="%button_fill_color%" />
1686 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1687 <font resource="font" color="%button_text_color%" />
1688 <text>No Encryption</text>
1689 <actions>
1690 <action function="page">backupencryption</action>
1691 </actions>
1692 </object>
1693
1694 <object type="button">
1695 <conditions>
1696 <condition var1="tw_include_encrypted_backup" var2="1" />
1697 <condition var1="tw_encrypt_backup" var2="1" />
1698 </conditions>
1699 <highlight color="%highlight_color%" />
1700 <fill color="%button_fill_color%" />
1701 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1702 <font resource="font" color="%button_text_color%" />
1703 <text>Using Encryption</text>
1704 <actions>
1705 <action function="page">backupencryption</action>
1706 </actions>
1707 </object>
1708
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001710 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <font resource="font" color="%text_color%" />
1712 <text>Enable Compression (Requires more time)</text>
1713 <data variable="tw_use_compression" />
1714 <image checked="checkbox_true" unchecked="checkbox_false" />
1715 </object>
1716
1717 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001718 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001719 <font resource="font" color="%text_color%" />
1720 <text>Skip MD5 generation on backups</text>
1721 <data variable="tw_skip_md5_generate" />
1722 <image checked="checkbox_true" unchecked="checkbox_false" />
1723 </object>
1724
Dees_Troy51a0e822012-09-05 15:24:24 -04001725 <object type="slider">
1726 <placement x="%slider_x%" y="%slider_y%" />
1727 <resource base="slider" used="slider-used" touch="slider-touch" />
1728 <actions>
1729 <action function="set">tw_operation_state=0</action>
1730 <action function="page">backup_run</action>
1731 </actions>
1732 </object>
1733
1734 <object type="text" color="%text_color%">
1735 <font resource="font" />
1736 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1737 <text>Swipe to Back Up</text>
1738 </object>
1739
Dees_Troy51a0e822012-09-05 15:24:24 -04001740 <object type="action">
1741 <touch key="home" />
1742 <action function="page">main</action>
1743 </object>
1744
1745 <object type="action">
1746 <touch key="back" />
1747 <action function="page">main</action>
1748 </object>
1749
1750 <object type="template" name="footer" />
1751 </page>
1752
1753 <page name="backupname1">
1754 <object type="action">
1755 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1756 <action function="set">tw_backup_name=</function>
1757 </object>
1758
1759 <object type="action">
1760 <action function="page">backupname2</function>
1761 </object>
1762 </page>
1763
1764 <page name="backupname2">
1765 <object type="template" name="header" />
1766
1767 <object type="text" color="%text_color%">
1768 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1769 <font resource="font" />
1770 <text>Please Enter a Backup Name</text>
1771 </object>
1772
1773 <object type="input">
1774 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1775 <background color="%input_background_color%" />
1776 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1777 <font resource="font" color="%text_color%" />
1778 <text>%tw_backup_name%</text>
1779 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001780 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001781 <actions>
1782 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1783 <action function="set">tw_existpage=backupname2</action>
1784 <action function="set">tw_notexistpage=backup</action>
1785 <action function="page">filecheck</action>
1786 </actions>
1787 </object>
1788
1789 <object type="text" color="%text_fail_color%">
1790 <condition var1="tw_fileexists" var2="1" />
1791 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1792 <font resource="font" />
1793 <text>A backup with that name already exists!</text>
1794 </object>
1795
1796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001797 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001798 <placement x="%col_center_x%" y="%cancel_button_y%" />
1799 <font resource="font" color="%button_text_color%" />
1800 <text>Cancel / Clear</text>
1801 <image resource="main_button" />
1802 <actions>
1803 <action function="set">tw_backup_name=(Current Date)</action>
1804 <action function="page">backup</action>
1805 </actions>
1806 </object>
1807
1808 <object type="template" name="keyboardtemplate" />
1809
1810 <object type="action">
1811 <touch key="home" />
1812 <actions>
1813 <action function="set">tw_backup_name=(Current Date)</action>
1814 <action function="page">main</action>
1815 </actions>
1816 </object>
1817
1818 <object type="action">
1819 <touch key="back" />
1820 <actions>
1821 <action function="set">tw_backup_name=(Current Date)</action>
1822 <action function="page">backup</action>
1823 </actions>
1824 </object>
1825
1826 <object type="template" name="footer" />
1827 </page>
1828
Dees_Troy83bd4832013-05-04 12:39:56 +00001829 <page name="backupencryption">
1830 <object type="template" name="header" />
1831
1832 <object type="text" color="%text_color%">
1833 <font resource="font" />
1834 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1835 <text>Encrypt your backup? Please enter a password:</text>
1836 </object>
1837
1838 <object type="input">
1839 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1840 <background color="%input_background_color%" />
1841 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1842 <font resource="font" color="%text_color%" />
1843 <text>%tw_backup_encrypt_display%</text>
1844 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1845 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1846 <action function="page">backupencryption2</action>
1847 </object>
1848
1849 <object type="text" color="%text_fail_color%">
1850 <condition var1="tw_password_not_match" var2="1" />
1851 <font resource="font" />
1852 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1853 <text>Passwords Do Not Match</text>
1854 </object>
1855
1856 <object type="button">
1857 <highlight color="%highlight_color%" />
1858 <placement x="%col_center_x%" y="%cancel_button_y%" />
1859 <font resource="font" color="%button_text_color%" />
1860 <text>Cancel</text>
1861 <image resource="main_button" />
1862 <actions>
1863 <action function="set">tw_encrypt_backup=0</action>
1864 <action function="set">tw_backup_password=</action>
1865 <action function="set">tw_backup_password2=</action>
1866 <action function="set">tw_backup_encrypt_display=</action>
1867 <action function="set">tw_backup_encrypt_display2=</action>
1868 <action function="page">backup</action>
1869 </actions>
1870 </object>
1871
1872 <object type="template" name="keyboardtemplate" />
1873
1874 <object type="action">
1875 <touch key="home" />
1876 <action function="page">main</action>
1877 </object>
1878
1879 <object type="action">
1880 <touch key="back" />
1881 <action function="page">backup</action>
1882 </object>
1883
1884 <object type="template" name="footer" />
1885 </page>
1886
1887 <page name="backupencryption2">
1888 <object type="template" name="header" />
1889
1890 <object type="text" color="%text_color%">
1891 <font resource="font" />
1892 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1893 <text>Encrypt your backup? Please Enter Password Again:</text>
1894 </object>
1895
1896 <object type="input">
1897 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1898 <background color="%input_background_color%" />
1899 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1900 <font resource="font" color="%text_color%" />
1901 <text>%tw_backup_encrypt_display2%</text>
1902 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1903 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1904 <actions>
1905 <action function="page">checkbackuppassword</action>
1906 </actions>
1907 </object>
1908
1909 <object type="button">
1910 <highlight color="%highlight_color%" />
1911 <placement x="%col_center_x%" y="%cancel_button_y%" />
1912 <font resource="font" color="%button_text_color%" />
1913 <text>Cancel</text>
1914 <image resource="main_button" />
1915 <actions>
1916 <action function="set">tw_encrypt_backup=0</action>
1917 <action function="set">tw_backup_password=</action>
1918 <action function="set">tw_backup_password2=</action>
1919 <action function="set">tw_backup_encrypt_display=</action>
1920 <action function="set">tw_backup_encrypt_display2=</action>
1921 <action function="page">backup</action>
1922 </actions>
1923 </object>
1924
1925 <object type="template" name="keyboardtemplate" />
1926
1927 <object type="action">
1928 <touch key="home" />
1929 <action function="page">main</action>
1930 </object>
1931
1932 <object type="action">
1933 <touch key="back" />
1934 <action function="page">backup</action>
1935 </object>
1936
1937 <object type="template" name="footer" />
1938 </page>
1939
1940 <page name="checkbackuppassword">
1941 <object type="action">
1942 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1943 <actions>
1944 <action function="set">tw_encrypt_backup=1</action>
1945 <action function="page">backup</action>
1946 </actions>
1947 </object>
1948
1949 <object type="action">
1950 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1951 <actions>
1952 <action function="set">tw_encrypt_backup=0</action>
1953 <action function="set">tw_password_not_match=1</action>
1954 <action function="set">tw_backup_password=</action>
1955 <action function="set">tw_backup_password2=</action>
1956 <action function="set">tw_backup_encrypt_display=</action>
1957 <action function="set">tw_backup_encrypt_display2=</action>
1958 <action function="page">backupencryption</action>
1959 </actions>
1960 </object>
1961 </page>
1962
Dees_Troy51a0e822012-09-05 15:24:24 -04001963 <page name="backup_run">
1964 <object type="template" name="header" />
1965
1966 <object type="text" color="%text_color%">
1967 <font resource="font" />
1968 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1969 <text>%tw_operation% %tw_partition%</text>
1970 </object>
1971
1972 <object type="template" name="action_page_console" />
1973
1974 <object type="template" name="progress_bar" />
1975
1976 <object type="action">
1977 <action function="nandroid">backup</action>
1978 </object>
1979
1980 <object type="action">
1981 <condition var1="tw_operation_state" var2="1" />
1982 <actions>
1983 <action function="set">tw_back=backup</action>
1984 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001985 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001986 <action function="page">action_complete</action>
1987 </actions>
1988 </object>
1989
1990 <object type="template" name="footer" />
1991 </page>
1992
1993 <page name="restore">
1994 <object type="template" name="header" />
1995
1996 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001997 <highlight color="%highlight_color%" />
1998 <fill color="%button_fill_color%" />
1999 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2000 <font resource="font" color="%button_text_color%" />
2001 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2002 <actions>
2003 <action function="set">tw_back=restore</action>
2004 <action function="page">selectstorage</action>
2005 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002006 </object>
2007
2008 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002009 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002010 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2011 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002012 <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 -04002013 <text>Select Package to Restore:</text>
2014 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2015 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002016 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002017 <icon folder="folder_icon" file="file_icon" />
2018 <background color="%fileselector_background%" />
2019 <filter folders="1" files="0" nav="0" />
2020 <path name="tw_backups_folder" />
2021 <data name="tw_restore" default="" />
2022 <selection name="tw_restore_name" />
2023 </object>
2024
2025 <object type="template" name="sort_options" />
2026
2027 <object type="action">
2028 <condition var1="tw_restore" op="modified" />
2029 <actions>
2030 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002031 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002032 </actions>
2033 </object>
2034
2035 <object type="action">
2036 <touch key="home" />
2037 <action function="page">main</action>
2038 </object>
2039
2040 <object type="action">
2041 <touch key="back" />
2042 <action function="page">main</action>
2043 </object>
2044
2045 <object type="template" name="footer" />
2046 </page>
2047
Dees_Troy83bd4832013-05-04 12:39:56 +00002048 <page name="restore_read">
2049 <object type="action">
2050 <condition var1="tw_restore_encrypted" var2="1" />
2051 <actions>
2052 <action function="set">tw_password_fail=0</action>
2053 <action function="page">restore_decrypt</action>
2054 </actions>
2055 </object>
2056
2057 <object type="action">
2058 <condition var1="tw_restore_encrypted" var2="0" />
2059 <actions>
2060 <action function="page">restore_select</action>
2061 </actions>
2062 </object>
2063 </page>
2064
2065 <page name="restore_decrypt">
2066 <object type="template" name="header" />
2067
2068 <object type="text" color="%text_color%">
2069 <font resource="font" />
2070 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2071 <text>Backup encrypted. Please enter your password:</text>
2072 </object>
2073
2074 <object type="input">
2075 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2076 <background color="%input_background_color%" />
2077 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2078 <font resource="font" color="%text_color%" />
2079 <text>%tw_restore_display%</text>
2080 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2081 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2082 <actions>
2083 <action function="page">try_restore_decrypt</action>
2084 </actions>
2085 </object>
2086
2087 <object type="text" color="%text_fail_color%">
2088 <condition var1="tw_password_fail" var2="1" />
2089 <font resource="font" />
2090 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2091 <text>Password Failed, Please Try Again</text>
2092 </object>
2093
2094 <object type="button">
2095 <highlight color="%highlight_color%" />
2096 <placement x="%col2_x%" y="%cancel_button_y%" />
2097 <font resource="font" color="%button_text_color%" />
2098 <text>Cancel</text>
2099 <image resource="main_button" />
2100 <actions>
2101 <action function="set">tw_page_done=1</action>
2102 <action function="page">restore</action>
2103 </actions>
2104 </object>
2105
2106 <object type="button">
2107 <highlight color="%highlight_color%" />
2108 <placement x="%col3_x%" y="%cancel_button_y%" />
2109 <font resource="font" color="%button_text_color%" />
2110 <text>Delete</text>
2111 <image resource="main_button" />
2112 <actions>
2113 <action function="set">tw_back=restore</action>
2114 <action function="set">tw_action=cmd</action>
2115 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2116 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2117 <action function="set">tw_text2=This cannot be undone!</action>
2118 <action function="set">tw_action_text1=Deleting Backup...</action>
2119 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2120 <action function="set">tw_slider_text=Swipe to Delete</action>
2121 <action function="page">confirm_action</action>
2122 </actions>
2123 </object>
2124
2125 <object type="template" name="keyboardtemplate" />
2126
2127 <object type="action">
2128 <touch key="home" />
2129 <action function="page">main</action>
2130 </object>
2131
2132 <object type="action">
2133 <touch key="back" />
2134 <action function="page">restore</action>
2135 </object>
2136
2137 <object type="template" name="footer" />
2138 </page>
2139
2140 <page name="try_restore_decrypt">
2141 <object type="template" name="header" />
2142
2143 <object type="text" color="%text_color%">
2144 <font resource="font" />
2145 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2146 <text>Trying Decryption with Your Password</text>
2147 </object>
2148
2149 <object type="template" name="action_page_console" />
2150
2151 <object type="template" name="progress_bar" />
2152
2153 <object type="action">
2154 <action function="decrypt_backup"></action>
2155 </object>
2156
2157 <object type="action">
2158 <conditions>
2159 <condition var1="tw_operation_state" var2="1" />
2160 <condition var1="tw_operation_status" op="!=" var2="0" />
2161 </conditions>
2162 <actions>
2163 <action function="set">tw_password_fail=1</action>
2164 <action function="page">restore_decrypt</action>
2165 </actions>
2166 </object>
2167
2168 <object type="action">
2169 <conditions>
2170 <condition var1="tw_operation_state" var2="1" />
2171 <condition var1="tw_operation_status" op="=" var2="0" />
2172 </conditions>
2173 <actions>
2174 <action function="set">tw_page_done=1</action>
2175 <action function="page">restore_select</action>
2176 </actions>
2177 </object>
2178 </page>
2179
Dees_Troy51a0e822012-09-05 15:24:24 -04002180 <page name="restore_select">
2181 <object type="template" name="header" />
2182
2183 <object type="text" color="%text_color%">
2184 <font resource="font" />
2185 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2186 <text>Package to Restore: %tw_restore_name%</text>
2187 </object>
2188
2189 <object type="text" color="%text_color%">
2190 <font resource="font" />
2191 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2192 <text>Package Date: %tw_restore_file_date%</text>
2193 </object>
2194
Dees_Troya13d74f2013-03-24 08:54:55 -05002195 <object type="partitionlist">
2196 <highlight color="%fileselector_highlight_color%" />
2197 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2198 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2199 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2200 <text>Select Partitions to Restore:</text>
2201 <icon selected="checkbox_true" unselected="checkbox_false" />
2202 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2203 <background color="%listbox_background%" />
2204 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2205 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2206 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002207 </object>
2208
2209 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002210 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002211 <font resource="font" color="%text_color%" />
2212 <text>Enable MD5 checking of backup files</text>
2213 <data variable="tw_skip_md5_check" />
2214 <image checked="checkbox_true" unchecked="checkbox_false" />
2215 </object>
2216
2217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002219 <placement x="%col4_x%" y="%row1_y%" />
2220 <font resource="font" color="%button_text_color%" />
2221 <text>Rename Backup</text>
2222 <image resource="main_button" />
2223 <actions>
2224 <action function="set">tw_backup_rename=</action>
2225 <action function="set">tw_fileexists=0</action>
2226 <action function="page">renamebackup</action>
2227 </actions>
2228 </object>
2229
2230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002231 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002232 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002233 <font resource="font" color="%button_text_color%" />
2234 <text>Delete Backup</text>
2235 <image resource="main_button" />
2236 <actions>
2237 <action function="set">tw_back=restore</action>
2238 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002239 <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 -04002240 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2241 <action function="set">tw_text2=This cannot be undone!</action>
2242 <action function="set">tw_action_text1=Deleting Backup...</action>
2243 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2244 <action function="set">tw_slider_text=Swipe to Delete</action>
2245 <action function="page">confirm_action</action>
2246 </actions>
2247 </object>
2248
2249 <object type="slider">
2250 <placement x="%slider_x%" y="%slider_y%" />
2251 <resource base="slider" used="slider-used" touch="slider-touch" />
2252 <action function="page">restore_run</action>
2253 </object>
2254
2255 <object type="text" color="%text_color%">
2256 <font resource="font" />
2257 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2258 <text>Swipe to Restore</text>
2259 </object>
2260
2261 <object type="action">
2262 <touch key="home" />
2263 <action function="page">main</action>
2264 </object>
2265
2266 <object type="action">
2267 <touch key="back" />
2268 <action function="page">restore</action>
2269 </object>
2270
2271 <object type="template" name="footer" />
2272 </page>
2273
2274 <page name="renamebackup">
2275 <object type="template" name="header" />
2276
2277 <object type="text" color="%text_color%">
2278 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2279 <font resource="font" />
2280 <text>Please Enter a New Backup Name</text>
2281 </object>
2282
2283 <object type="input">
2284 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2285 <background color="%input_background_color%" />
2286 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2287 <font resource="font" color="%text_color%" />
2288 <text>%tw_backup_rename%</text>
2289 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002290 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <actions>
2292 <action function="set">tw_back=restore</action>
2293 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002294 <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 -04002295 <action function="set">tw_text1=Rename Backup?</action>
2296 <action function="set">tw_text2=This cannot be undone!</action>
2297 <action function="set">tw_action_text1=Renaming Backup...</action>
2298 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2299 <action function="set">tw_slider_text=Swipe to Rename</action>
2300 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2301 <action function="set">tw_existpage=renamebackup</action>
2302 <action function="set">tw_notexistpage=confirm_action</action>
2303 <action function="page">filecheck</action>
2304 </actions>
2305 </object>
2306
2307 <object type="text" color="%text_fail_color%">
2308 <condition var1="tw_fileexists" var2="1" />
2309 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2310 <font resource="font" />
2311 <text>A backup with that name already exists!</text>
2312 </object>
2313
2314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <placement x="%col_center_x%" y="%cancel_button_y%" />
2317 <font resource="font" color="%button_text_color%" />
2318 <text>Cancel</text>
2319 <image resource="main_button" />
2320 <action function="page">restore_select</action>
2321 </object>
2322
2323 <object type="template" name="keyboardtemplate" />
2324
2325 <object type="action">
2326 <touch key="home" />
2327 <action function="page">main</action>
2328 </object>
2329
2330 <object type="action">
2331 <touch key="back" />
2332 <action function="page">restore_select</action>
2333 </object>
2334
2335 <object type="template" name="footer" />
2336 </page>
2337
2338 <page name="restore_run">
2339 <object type="template" name="header" />
2340
2341 <object type="text" color="%text_color%">
2342 <font resource="font" />
2343 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2344 <text>%tw_operation% %tw_partition%</text>
2345 </object>
2346
2347 <object type="template" name="action_page_console" />
2348
2349 <object type="template" name="progress_bar" />
2350
2351 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002352 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002353 <actions>
2354 <action function="set">tw_back=restore_select</action>
2355 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002356 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002357 <action function="page">action_complete</action>
2358 </actions>
2359 </object>
2360
2361 <object type="action">
2362 <action function="nandroid">restore</action>
2363 </object>
2364 </page>
2365
2366 <page name="settings">
2367 <object type="template" name="header" />
2368
2369 <object type="text" color="%text_color%">
2370 <font resource="font" />
2371 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2372 <text>Settings</text>
2373 </object>
2374
2375 <object type="checkbox">
2376 <placement x="%col1_x%" y="%row2_text_y%" />
2377 <font resource="font" color="%text_color%" />
2378 <text>Zip file signature verification?</text>
2379 <data variable="tw_signed_zip_verify" />
2380 <image checked="checkbox_true" unchecked="checkbox_false" />
2381 </object>
2382
2383 <object type="checkbox">
2384 <placement x="%col1_x%" y="%row3_text_y%" />
2385 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <text>Use rm -rf instead of formatting?</text>
2387 <data variable="tw_rm_rf" />
2388 <image checked="checkbox_true" unchecked="checkbox_false" />
2389 </object>
2390
2391 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002392 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <font resource="font" color="%text_color%" />
2394 <text>Skip MD5 generation on backups</text>
2395 <data variable="tw_skip_md5_generate" />
2396 <image checked="checkbox_true" unchecked="checkbox_false" />
2397 </object>
2398
2399 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002400 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <font resource="font" color="%text_color%" />
2402 <text>Enable MD5 checking of backup files</text>
2403 <data variable="tw_skip_md5_check" />
2404 <image checked="checkbox_true" unchecked="checkbox_false" />
2405 </object>
2406
2407 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002408 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002410 <text>Use Military Time</text>
2411 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <image checked="checkbox_true" unchecked="checkbox_false" />
2413 </object>
2414
2415 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002416 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <font resource="font" color="%text_color%" />
2418 <text>Simulate most actions for theme testing</text>
2419 <data variable="tw_simulate_actions" />
2420 <image checked="checkbox_true" unchecked="checkbox_false" />
2421 </object>
2422
2423 <object type="checkbox">
2424 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002425 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <font resource="font" color="%text_color%" />
2427 <text>Simulate failure for actions</text>
2428 <data variable="tw_simulate_fail" />
2429 <image checked="checkbox_true" unchecked="checkbox_false" />
2430 </object>
2431
2432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <placement x="%col1_x%" y="%row2_y%" />
2435 <font resource="font" color="%button_text_color%" />
2436 <text>Time Zone</text>
2437 <image resource="main_button" />
2438 <action function="page">timezone</action>
2439 </object>
2440
2441 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002442 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002443 <placement x="%col4_x%" y="%row2_y%" />
2444 <font resource="font" color="%button_text_color%" />
2445 <text>Screen</text>
2446 <image resource="main_button" />
2447 <action function="page">screen</action>
2448 </object>
2449
2450 <object type="button">
2451 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002452 <placement x="%col_center_x%" y="%slider_y%" />
2453 <font resource="font" color="%button_text_color%" />
2454 <text>Restore Defaults</text>
2455 <image resource="main_button" />
2456 <action function="restoredefaultsettings"></action>
2457 </object>
2458
2459 <object type="action">
2460 <touch key="home" />
2461 <action function="page">main</action>
2462 </object>
2463
2464 <object type="action">
2465 <touch key="back" />
2466 <action function="page">main</action>
2467 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002468
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <object type="template" name="footer" />
2470 </page>
2471
2472 <page name="timezone">
2473 <object type="template" name="header" />
2474
2475 <object type="text" color="%text_color%">
2476 <font resource="font" />
2477 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2478 <text>Select Time Zone</text>
2479 </object>
2480
2481 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002482 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002483 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002484 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002485 <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 -06002486 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002487 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002488 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002489 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002490 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002491 <data name="tw_time_zone_guisel" />
2492 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2493 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2494 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2495 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2496 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2497 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2498 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2499 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2500 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2501 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2502 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2503 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2504 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2505 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2506 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2507 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2508 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2509 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2510 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2511 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2512 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2513 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2514 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2515 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2516 </object>
2517
2518 <object type="checkbox">
2519 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2520 <font resource="font" color="%text_color%" />
2521 <text>Do you use daylight savings time (DST)?</text>
2522 <data variable="tw_time_zone_guidst" />
2523 <image checked="checkbox_true" unchecked="checkbox_false" />
2524 </object>
2525
2526 <object type="text" color="%text_color%">
2527 <font resource="font" />
2528 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2529 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2530 </object>
2531
2532 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002533 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002534 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2535 <font resource="font" color="%button_text_color%" />
2536 <text>0</text>
2537 <image resource="medium_button" />
2538 <action function="set">tw_time_zone_guioffset=0</action>
2539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002543 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2544 <font resource="font" color="%button_text_color%" />
2545 <text>15</text>
2546 <image resource="medium_button" />
2547 <action function="set">tw_time_zone_guioffset=15</action>
2548 </object>
2549
2550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2553 <font resource="font" color="%button_text_color%" />
2554 <text>30</text>
2555 <image resource="medium_button" />
2556 <action function="set">tw_time_zone_guioffset=30</action>
2557 </object>
2558
2559 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002560 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2562 <font resource="font" color="%button_text_color%" />
2563 <text>45</text>
2564 <image resource="medium_button" />
2565 <action function="set">tw_time_zone_guioffset=45</action>
2566 </object>
2567
2568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002569 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <placement x="%col4_x%" y="%row2_y%" />
2571 <font resource="font" color="%button_text_color%" />
2572 <text>Set Time Zone</text>
2573 <image resource="main_button" />
2574 <action function="setguitimezone"></action>
2575 </object>
2576
2577 <object type="text" color="%text_color%">
2578 <font resource="font" />
2579 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2580 <text>Current Time Zone: %tw_time_zone%</text>
2581 </object>
2582
2583 <object type="action">
2584 <touch key="home" />
2585 <action function="page">main</action>
2586 </object>
2587
2588 <object type="action">
2589 <touch key="back" />
2590 <action function="page">settings</action>
2591 </object>
2592
2593 <object type="template" name="footer" />
2594 </page>
2595
Dees_Troy2f9117a2013-02-17 19:52:09 -06002596 <page name="screen">
2597 <object type="template" name="header" />
2598
2599 <object type="text" color="%text_color%">
2600 <font resource="font" />
2601 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2602 <text>Screen Settings</text>
2603 </object>
2604
Dees_Troy2f9117a2013-02-17 19:52:09 -06002605 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002606 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2607 <font resource="font" color="%text_color%" />
2608 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2609 <text>Enable screen timeout.</text>
2610 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002611 <action function="set">tw_screen_timeout_secs=60</action>
2612 </object>
2613
2614 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2616 <font resource="font" color="%text_color%" />
2617 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2618 <text>Enable screen timeout.</text>
2619 <image resource="checkbox_true" />
2620 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002621 </object>
2622
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <object type="slidervalue">
2624 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2625 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2626 <font resource="font" color="%text_color%" />
2627 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2628 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2629 <text>Screen timeout in seconds:</text>
2630 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 </object>
2632
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2636 <font resource="font" color="%text_color%" />
2637 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2638 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2639 <text>Brightness: %tw_brightness_pct%%</text>
2640 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002641 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <action function="set">tw_brightness=%tw_brightness_max%</action>
2643 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2644 <action function="compute">tw_brightness/100</action>
2645 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002646 </actions>
2647 </object>
2648
2649 <object type="action">
2650 <touch key="home" />
2651 <action function="page">main</action>
2652 </object>
2653
2654 <object type="action">
2655 <touch key="back" />
2656 <action function="page">settings</action>
2657 </object>
2658
2659 <object type="template" name="footer" />
2660 </page>
2661
Dees_Troy51a0e822012-09-05 15:24:24 -04002662 <page name="advanced">
2663 <object type="template" name="header" />
2664
2665 <object type="text" color="%text_color%">
2666 <font resource="font" />
2667 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2668 <text>Advanced</text>
2669 </object>
2670
2671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002673 <placement x="%col1_x%" y="%row1_y%" />
2674 <font resource="font" color="%button_text_color%" />
2675 <text>Copy Log to SD</text>
2676 <image resource="main_button" />
2677 <actions>
2678 <action function="set">tw_back=advanced</action>
2679 <action function="set">tw_action=copylog</action>
2680 <action function="set">tw_text1=Copy Log to SD Card?</action>
2681 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2682 <action function="set">tw_complete_text1=Log Copy Complete</action>
2683 <action function="set">tw_slider_text=Swipe to Confirm</action>
2684 <action function="page">confirm_action</action>
2685 </actions>
2686 </object>
2687
2688 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002689 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <placement x="%col2_x%" y="%row1_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text>Fix Permissions</text>
2693 <image resource="main_button" />
2694 <actions>
2695 <action function="set">tw_back=advanced</action>
2696 <action function="set">tw_action=fixpermissions</action>
2697 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002698 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002699 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2700 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002701 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002702 <action function="page">confirm_action</action>
2703 </actions>
2704 </object>
2705
2706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002708 <placement x="%col3_x%" y="%row1_y%" />
2709 <font resource="font" color="%button_text_color%" />
2710 <text>Terminal Command</text>
2711 <image resource="main_button" />
2712 <action function="page">terminalfolder</action>
2713 </object>
2714
2715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002716 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002717 <placement x="%col4_x%" y="%row1_y%" />
2718 <font resource="font" color="%button_text_color%" />
2719 <text>ADB Sideload</text>
2720 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002721 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002722 </object>
2723
2724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002725 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <condition var1="tw_allow_partition_sdcard" var2="1" />
2727 <placement x="%col1_x%" y="%row2_y%" />
2728 <font resource="font" color="%button_text_color%" />
2729 <text>Partition SD Card</text>
2730 <image resource="main_button" />
2731 <action function="page">partsdcard</action>
2732 </object>
2733
2734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <placement x="%col2_x%" y="%row2_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>File Manager</text>
2739 <image resource="main_button" />
2740 <action function="page">filemanagerlist</action>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002745 <placement x="%col3_x%" y="%row2_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>Reload Theme</text>
2748 <image resource="main_button" />
2749 <action function="reload"></action>
2750 </object>
2751
2752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <condition var1="tw_show_dumlock" var2="1" />
2755 <placement x="%col4_x%" y="%row2_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>HTC Dumlock</text>
2758 <image resource="main_button" />
2759 <action function="page">htcdumlock</action>
2760 </object>
2761
2762 <object type="action">
2763 <touch key="home" />
2764 <action function="page">main</action>
2765 </object>
2766
2767 <object type="action">
2768 <touch key="back" />
2769 <action function="page">main</action>
2770 </object>
2771
2772 <object type="template" name="footer" />
2773 </page>
2774
2775 <page name="partsdcard">
2776 <object type="template" name="header" />
2777
2778 <object type="text" color="%text_color%">
2779 <font resource="font" />
2780 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2781 <text>Partition SD Card</text>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text></text>
2789 <image resource="minus_button" />
2790 <action function="addsubtract">tw_sdext_size-128</action>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text></text>
2798 <image resource="plus_button" />
2799 <action function="addsubtract">tw_sdext_size+128</action>
2800 </object>
2801
2802 <object type="text" color="%text_color%">
2803 <font resource="font" />
2804 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2805 <text>EXT Size: %tw_sdext_size%</text>
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text></text>
2813 <image resource="minus_button" />
2814 <action function="addsubtract">tw_swap_size-32</action>
2815 </object>
2816
2817 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002818 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text></text>
2822 <image resource="plus_button" />
2823 <action function="addsubtract">tw_swap_size+32</action>
2824 </object>
2825
2826 <object type="text" color="%text_color%">
2827 <font resource="font" />
2828 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2829 <text>Swap Size: %tw_swap_size%</text>
2830 </object>
2831
2832 <object type="text" color="%text_color%">
2833 <font resource="font" />
2834 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2835 <text>File system: %tw_sdpart_file_system%</text>
2836 </object>
2837
2838 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002839 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2841 <font resource="font" color="%button_text_color%" />
2842 <text>EXT3</text>
2843 <image resource="medium_button" />
2844 <action function="set">tw_sdpart_file_system=ext3</action>
2845 </object>
2846
2847 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002848 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002849 <condition var1="tw_sdext_disable_ext4" var2="0" />
2850 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text>EXT4</text>
2853 <image resource="medium_button" />
2854 <action function="set">tw_sdpart_file_system=ext4</action>
2855 </object>
2856
2857 <object type="text" color="%text_color%">
2858 <font resource="font" />
2859 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2860 <text>You will lose all files on your SD card!</text>
2861 </object>
2862
2863 <object type="text" color="%text_color%">
2864 <font resource="font" />
2865 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2866 <text>This action cannot be undone!</text>
2867 </object>
2868
2869 <object type="slider">
2870 <placement x="%slider_x%" y="%slider_y%" />
2871 <resource base="slider" used="slider-used" touch="slider-touch" />
2872 <actions>
2873 <action function="set">tw_back=partsdcard</action>
2874 <action function="set">tw_action=partitionsd</action>
2875 <action function="set">tw_has_action2=1</action>
2876 <action function="set">tw_action2=set</action>
2877 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2878 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2879 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002880 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <action function="page">action_page</action>
2882 </actions>
2883 </object>
2884
2885 <object type="text" color="%text_color%">
2886 <font resource="font" />
2887 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2888 <text>Swipe to Confirm Partition</text>
2889 </object>
2890
2891 <object type="action">
2892 <touch key="home" />
2893 <action function="page">main</action>
2894 </object>
2895
2896 <object type="action">
2897 <touch key="back" />
2898 <action function="page">advanced</action>
2899 </object>
2900
2901 <object type="template" name="footer" />
2902 </page>
2903
2904
2905 <page name="htcdumlock">
2906 <object type="template" name="header" />
2907
2908 <object type="text" color="%text_color%">
2909 <font resource="font" />
2910 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2911 <text>HTC Dumlock</text>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <condition var1="tw_show_dumlock" var2="1" />
2917 <placement x="%col1_x%" y="%row1_y%" />
2918 <font resource="font" color="%button_text_color%" />
2919 <text>Restore Original Boot</text>
2920 <image resource="main_button" />
2921 <actions>
2922 <action function="set">tw_back=htcdumlock</action>
2923 <action function="set">tw_action=htcdumlockrestoreboot</action>
2924 <action function="set">tw_text1=Restore original boot image?</action>
2925 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2926 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2927 <action function="set">tw_slider_text=Swipe to Confirm</action>
2928 <action function="page">confirm_action</action>
2929 </actions>
2930 </object>
2931
2932 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002933 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002934 <condition var1="tw_show_dumlock" var2="1" />
2935 <placement x="%col2_x%" y="%row1_y%" />
2936 <font resource="font" color="%button_text_color%" />
2937 <text>Reflash Recovery->Boot</text>
2938 <image resource="main_button" />
2939 <actions>
2940 <action function="set">tw_back=htcdumlock</action>
2941 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2942 <action function="set">tw_text1=Reflash recovery to boot?</action>
2943 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2944 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2945 <action function="set">tw_slider_text=Swipe to Confirm</action>
2946 <action function="page">confirm_action</action>
2947 </actions>
2948 </object>
2949
2950 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002951 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <condition var1="tw_show_dumlock" var2="1" />
2953 <placement x="%col1_x%" y="%row2_y%" />
2954 <font resource="font" color="%button_text_color%" />
2955 <text>Install HTC Dumlock</text>
2956 <image resource="main_button" />
2957 <actions>
2958 <action function="set">tw_back=htcdumlock</action>
2959 <action function="set">tw_action=installhtcdumlock</action>
2960 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2961 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2962 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2963 <action function="set">tw_slider_text=Swipe to Confirm</action>
2964 <action function="page">confirm_action</action>
2965 </actions>
2966 </object>
2967
2968 <object type="action">
2969 <touch key="home" />
2970 <action function="page">main</action>
2971 </object>
2972
2973 <object type="action">
2974 <touch key="back" />
2975 <action function="page">advanced</action>
2976 </object>
2977
2978 <object type="template" name="footer" />
2979 </page>
2980
2981 <page name="lock">
2982 <background color="#000000A0" />
2983
2984 <object type="image">
2985 <image resource="unlock-icon" />
2986 <placement x="%lock_x%" y="%lock_y%" />
2987 </object>
2988
2989 <object type="slider">
2990 <placement x="%slider_x%" y="%slider_y%" />
2991 <resource base="slider" used="slider-used" touch="slider-touch" />
2992 <action function="overlay"></action>
2993 </object>
2994
2995 <object type="text" color="%text_color%">
2996 <font resource="font" />
2997 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2998 <text>Swipe to Unlock</text>
2999 </object>
3000 </page>
3001
3002
3003 <page name="filemanagerlist">
3004 <object type="template" name="header" />
3005
3006 <object type="text" color="%text_color%">
3007 <font resource="font" />
3008 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3009 <text>File Manager: Select a File or Folder</text>
3010 </object>
3011
3012 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003013 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003014 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3015 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003016 <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 -04003017 <text>Folders:</text>
3018 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3019 <sort name="tw_gui_sort_order" />
3020 <icon folder="folder_icon" file="file_icon" />
3021 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003022 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <filter folders="1" files="0" />
3024 <path name="tw_file_location1" default="/sdcard" />
3025 <data name="select" />
3026 <selection name="tw_selection1" />
3027 </object>
3028
3029 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003030 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003031 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3032 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003033 <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 -04003034 <text>%tw_file_location1%</text>
3035 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3036 <sort name="tw_gui_sort_order" />
3037 <icon folder="folder_icon" file="file_icon" />
3038 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003039 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003040 <filter folders="0" files="1" />
3041 <path name="tw_file_location1" default="/" />
3042 <data name="tw_filename1" />
3043 <selection name="tw_selection1" />
3044 </object>
3045
3046 <object type="template" name="sort_options" />
3047
3048 <object type="action">
3049 <actions>
3050 <action function="set">tw_fm_type=File</action>
3051 <action function="set">tw_fm_isfolder=0</action>
3052 </actions>
3053 </object>
3054
3055 <object type="action">
3056 <touch key="home" />
3057 <action function="page">main</action>
3058 </object>
3059
3060 <object type="action">
3061 <touch key="back" />
3062 <action function="page">advanced</action>
3063 </object>
3064
3065 <object type="action">
3066 <condition var1="tw_filename1" op="modified" />
3067 <actions>
3068 <action function="page">filemanageroptions</action>
3069 </actions>
3070 </object>
3071
3072 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003073 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003074 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3075 <font resource="font" color="%button_text_color%" />
3076 <text>Select Folder</text>
3077 <image resource="main_button" />
3078 <actions>
3079 <action function="set">tw_filename1=tw_file_location1</action>
3080 <action function="set">tw_fm_isfolder=1</action>
3081 <action function="set">tw_fm_type=Folder</action>
3082 <action function="page">filemanageroptions</action>
3083 </actions>
3084 </object>
3085
3086 <object type="template" name="footer" />
3087 </page>
3088
3089 <page name="filemanageroptions">
3090 <object type="template" name="header" />
3091
3092 <object type="text" color="%text_color%">
3093 <font resource="font" />
3094 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3095 <text>%tw_fm_type% Selected:</text>
3096 </object>
3097
3098 <object type="text" color="%text_color%">
3099 <font resource="font" />
3100 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3101 <text>%tw_filename1%</text>
3102 </object>
3103
3104 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003105 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003106 <condition var1="tw_fm_isfolder" var2="0" />
3107 <placement x="%col1_x%" y="%row2_y%" />
3108 <font resource="font" color="%button_text_color%" />
3109 <text>Copy File</text>
3110 <image resource="main_button" />
3111 <actions>
3112 <action function="set">tw_filemanager_command=cp</action>
3113 <action function="set">tw_fm_text1=Copying</action>
3114 <action function="page">choosedestinationfolder</action>
3115 </actions>
3116 </object>
3117
3118 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003119 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003120 <condition var1="tw_fm_isfolder" var2="1" />
3121 <placement x="%col1_x%" y="%row2_y%" />
3122 <font resource="font" color="%button_text_color%" />
3123 <text>Copy Folder</text>
3124 <image resource="main_button" />
3125 <actions>
3126 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3127 <action function="set">tw_fm_text1=Copying</action>
3128 <action function="page">choosedestinationfolder</action>
3129 </actions>
3130 </object>
3131
3132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003133 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003134 <placement x="%col2_x%" y="%row2_y%" />
3135 <font resource="font" color="%button_text_color%" />
3136 <text>Move</text>
3137 <image resource="main_button" />
3138 <actions>
3139 <action function="set">tw_filemanager_command=mv</action>
3140 <action function="set">tw_fm_text1=Moving</action>
3141 <action function="page">choosedestinationfolder</action>
3142 </actions>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <placement x="%col3_x%" y="%row2_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>chmod 755</text>
3150 <image resource="main_button" />
3151 <actions>
3152 <action function="set">tw_filemanager_command=chmod 755</action>
3153 <action function="set">tw_fm_text1=chmod 755</action>
3154 <action function="set">tw_fm_text2=</action>
3155 <action function="set">tw_fm_text3=</action>
3156 <action function="set">tw_include_text3=0</action>
3157 <action function="set">tw_back=filemanageroptions</action>
3158 <action function="page">filemanagerconfirm</action>
3159 </actions>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <placement x="%col4_x%" y="%row2_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>chmod</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_rename=0000</action>
3170 <action function="set">tw_fm_text2=</action>
3171 <action function="set">tw_fm_text3=</action>
3172 <action function="set">tw_include_text3=0</action>
3173 <action function="set">tw_back=filemanageroptions</action>
3174 <action function="page">filemanagerchmod</action>
3175 </actions>
3176 </object>
3177
3178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003180 <placement x="%col1_x%" y="%row1_y%" />
3181 <font resource="font" color="%button_text_color%" />
3182 <text>Delete</text>
3183 <image resource="main_button" />
3184 <actions>
3185 <action function="set">tw_filemanager_command=rm -rf</action>
3186 <action function="set">tw_fm_text1=Deleting</action>
3187 <action function="set">tw_fm_text2=</action>
3188 <action function="set">tw_fm_text3=</action>
3189 <action function="set">tw_include_text3=0</action>
3190 <action function="set">tw_back=filemanageroptions</action>
3191 <action function="page">filemanagerconfirm</action>
3192 </actions>
3193 </object>
3194
3195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003197 <condition var1="tw_fm_isfolder" var2="0" />
3198 <placement x="%col4_x%" y="%row1_y%" />
3199 <font resource="font" color="%button_text_color%" />
3200 <text>Rename File</text>
3201 <image resource="main_button" />
3202 <actions>
3203 <action function="set">tw_filemanager_rename=tw_selection1</action>
3204 <action function="set">tw_fm_text1=Renaming</action>
3205 <action function="set">tw_filemanager_command=mv</action>
3206 <action function="page">filemanagerrenamefile</action>
3207 </actions>
3208 </object>
3209
3210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003211 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003212 <condition var1="tw_fm_isfolder" var2="1" />
3213 <placement x="%col4_x%" y="%row1_y%" />
3214 <font resource="font" color="%button_text_color%" />
3215 <text>Rename Folder</text>
3216 <image resource="main_button" />
3217 <actions>
3218 <action function="set">tw_filemanager_rename=tw_selection1</action>
3219 <action function="set">tw_fm_text1=Renaming</action>
3220 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3221 <action function="page">filemanagerrenamefolder</action>
3222 </actions>
3223 </object>
3224
3225 <object type="action">
3226 <touch key="home" />
3227 <action function="page">main</action>
3228 </object>
3229
3230 <object type="action">
3231 <touch key="back" />
3232 <action function="page">filemanagerlist</action>
3233 </object>
3234
3235 <object type="template" name="footer" />
3236 </page>
3237
3238 <page name="choosedestinationfolder">
3239 <object type="template" name="header" />
3240
3241 <object type="text" color="%text_color%">
3242 <font resource="font" />
3243 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3244 <text>Browse to Destination Folder & Press Select</text>
3245 </object>
3246
3247 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003248 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3250 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003251 <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 -04003252 <text>%tw_file_location2%</text>
3253 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3254 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003255 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003256 <icon folder="folder_icon" file="file_icon" />
3257 <background color="%fileselector_background%" />
3258 <filter folders="1" files="0" />
3259 <path name="tw_file_location2" default="/sdcard" />
3260 <data name="tw_filename2" />
3261 </object>
3262
3263 <object type="template" name="sort_options" />
3264
3265 <object type="action">
3266 <touch key="home" />
3267 <action function="page">main</action>
3268 </object>
3269
3270 <object type="action">
3271 <touch key="back" />
3272 <action function="page">filemanageroptions</action>
3273 </object>
3274
3275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003277 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>Select Folder</text>
3280 <image resource="main_button" />
3281 <actions>
3282 <action function="set">tw_fm_text2=to</action>
3283 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3284 <action function="set">tw_include_text3=1</action>
3285 <action function="set">tw_back=filemanageroptions</action>
3286 <action function="page">filemanagerconfirm</action>
3287 </actions>
3288 </object>
3289
3290 <object type="template" name="footer" />
3291 </page>
3292
3293 <page name="filemanagerrenamefile">
3294 <object type="template" name="header" />
3295
3296 <object type="text" color="%text_color%">
3297 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3298 <font resource="font" />
3299 <text>Please Enter a New %tw_fm_type% Name</text>
3300 </object>
3301
3302 <object type="input">
3303 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3304 <background color="%input_background_color%" />
3305 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3306 <font resource="font" color="%text_color%" />
3307 <text>%tw_filemanager_rename%</text>
3308 <data name="tw_filemanager_rename" />
3309 <restrict minlen="1" maxlen="128" />
3310 <actions>
3311 <action function="set">tw_fm_text2=to</action>
3312 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3313 <action function="set">tw_include_text3=1</action>
3314 <action function="set">tw_back=filemanageroptions</action>
3315 <action function="page">filemanagerconfirm</action>
3316 </actions>
3317 </object>
3318
3319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003321 <placement x="%col_center_x%" y="%cancel_button_y%" />
3322 <font resource="font" color="%button_text_color%" />
3323 <text>Cancel</text>
3324 <image resource="main_button" />
3325 <action function="page">filemanageroptions</action>
3326 </object>
3327
3328 <object type="template" name="keyboardtemplate" />
3329
3330 <object type="action">
3331 <touch key="home" />
3332 <action function="page">main</action>
3333 </object>
3334
3335 <object type="action">
3336 <touch key="back" />
3337 <action function="page">filemanageroptions</action>
3338 </object>
3339
3340 <object type="template" name="footer" />
3341 </page>
3342
3343 <page name="filemanagerrenamefolder">
3344 <object type="template" name="header" />
3345
3346 <object type="text" color="%text_color%">
3347 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3348 <font resource="font" />
3349 <text>Please Enter a New %tw_fm_type% Name</text>
3350 </object>
3351
3352 <object type="input">
3353 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3354 <background color="%input_background_color%" />
3355 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3356 <font resource="font" color="%text_color%" />
3357 <text>%tw_filemanager_rename%</text>
3358 <data name="tw_filemanager_rename" />
3359 <restrict minlen="1" maxlen="128" />
3360 <actions>
3361 <action function="set">tw_fm_text2=to</action>
3362 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3363 <action function="set">tw_include_text3=1</action>
3364 <action function="set">tw_back=filemanageroptions</action>
3365 <action function="page">filemanagerconfirm</action>
3366 </actions>
3367 </object>
3368
3369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003371 <placement x="%col_center_x%" y="%cancel_button_y%" />
3372 <font resource="font" color="%button_text_color%" />
3373 <text>Cancel</text>
3374 <image resource="main_button" />
3375 <action function="page">filemanageroptions</action>
3376 </object>
3377
3378 <object type="template" name="keyboardtemplate" />
3379
3380 <object type="action">
3381 <touch key="home" />
3382 <action function="page">main</action>
3383 </object>
3384
3385 <object type="action">
3386 <touch key="back" />
3387 <action function="page">filemanageroptions</action>
3388 </object>
3389
3390 <object type="template" name="footer" />
3391 </page>
3392
3393 <page name="filemanagerchmod">
3394 <object type="template" name="header" />
3395
3396 <object type="text" color="%text_color%">
3397 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3398 <font resource="font" />
3399 <text>Please Enter New Permissions</text>
3400 </object>
3401
3402 <object type="input">
3403 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3404 <background color="%input_background_color%" />
3405 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3406 <font resource="font" color="%text_color%" />
3407 <text>%tw_filemanager_rename%</text>
3408 <data name="tw_filemanager_rename" />
3409 <restrict minlen="3" maxlen="4" allow="0123456789" />
3410 <actions>
3411 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3412 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3413 <action function="set">tw_back=filemanageroptions</action>
3414 <action function="page">filemanagerconfirm</action>
3415 </actions>
3416 </object>
3417
3418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003419 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003420 <placement x="%col_center_x%" y="%cancel_button_y%" />
3421 <font resource="font" color="%button_text_color%" />
3422 <text>Cancel</text>
3423 <image resource="main_button" />
3424 <action function="page">filemanageroptions</action>
3425 </object>
3426
3427 <object type="template" name="keyboardtemplate" />
3428
3429 <object type="action">
3430 <touch key="home" />
3431 <action function="page">main</action>
3432 </object>
3433
3434 <object type="action">
3435 <touch key="back" />
3436 <action function="page">filemanageroptions</action>
3437 </object>
3438
3439 <object type="template" name="footer" />
3440 </page>
3441
3442 <page name="filemanagerconfirm">
3443 <object type="template" name="header" />
3444
3445 <object type="text" color="%text_color%">
3446 <font resource="font" />
3447 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3448 <text>%tw_fm_text1%</text>
3449 </object>
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3454 <text>%tw_filename1%</text>
3455 </object>
3456
3457 <object type="text" color="%text_color%">
3458 <font resource="font" />
3459 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3460 <text>%tw_fm_text2%</text>
3461 </object>
3462
3463 <object type="text" color="%text_color%">
3464 <font resource="font" />
3465 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3466 <text>%tw_fm_text3%</text>
3467 </object>
3468
3469 <object type="text" color="%text_color%">
3470 <font resource="font" />
3471 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3472 <text>Press back button to cancel.</text>
3473 </object>
3474
3475 <object type="slider">
3476 <placement x="%slider_x%" y="%slider_y%" />
3477 <resource base="slider" used="slider-used" touch="slider-touch" />
3478 <action function="page">filemanageracction</action>
3479 </object>
3480
3481 <object type="text" color="%text_color%">
3482 <font resource="font" />
3483 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3484 <text>Swipe to Confirm</text>
3485 </object>
3486
3487 <object type="action">
3488 <touch key="back" />
3489 <action function="page">%tw_back%</action>
3490 </object>
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="template" name="footer" />
3498 </page>
3499
3500 <page name="filemanageracction">
3501 <object type="template" name="header" />
3502
3503 <object type="text" color="%text_color%">
3504 <font resource="font" />
3505 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3506 <text>%tw_fm_text1%</text>
3507 </object>
3508
3509 <object type="template" name="action_page_console" />
3510
3511 <object type="template" name="progress_bar" />
3512
3513 <object type="action">
3514 <conditions>
3515 <condition var1="tw_operation_state" var2="1" />
3516 <condition var1="tw_operation_status" var2="0" />
3517 </conditions>
3518 <actions>
3519 <action function="set">tw_back=filemanagerlist</action>
3520 <action function="set">tw_complete_text1=File Operation Complete</action>
3521 <action function="page">action_complete</action>
3522 </actions>
3523 </object>
3524
3525 <object type="action">
3526 <conditions>
3527 <condition var1="tw_operation_state" var2="1" />
3528 <condition var1="tw_operation_status" op="!=" var2="0" />
3529 </conditions>
3530 <actions>
3531 <action function="set">tw_complete_text1=File Operation Complete</action>
3532 <action function="page">action_complete</action>
3533 </actions>
3534 </object>
3535
3536 <object type="action">
3537 <condition var1="tw_include_text3" var2="0" />
3538 <actions>
3539 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3540 </actions>
3541 </object>
3542
3543 <object type="action">
3544 <condition var1="tw_include_text3" var2="1" />
3545 <actions>
3546 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3547 </actions>
3548 </object>
3549 </page>
3550
3551 <page name="decrypt">
3552 <object type="template" name="header" />
3553
3554 <object type="text" color="%text_color%">
3555 <font resource="font" />
3556 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3557 <text>Please Enter Your Password</text>
3558 </object>
3559
3560 <object type="input">
3561 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3562 <background color="%input_background_color%" />
3563 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3564 <font resource="font" color="%text_color%" />
3565 <text>%tw_crypto_display%</text>
3566 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3567 <restrict minlen="1" maxlen="254" />
3568 <actions>
3569 <action function="page">trydecrypt</action>
3570 </actions>
3571 </object>
3572
3573 <object type="text" color="%text_fail_color%">
3574 <condition var1="tw_password_fail" var2="1" />
3575 <font resource="font" />
3576 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3577 <text>Password Failed, Please Try Again</text>
3578 </object>
3579
3580 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003581 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003582 <placement x="%col_center_x%" y="%cancel_button_y%" />
3583 <font resource="font" color="%button_text_color%" />
3584 <text>Cancel</text>
3585 <image resource="main_button" />
3586 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003587 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003588 <action function="page">main</action>
3589 </actions>
3590 </object>
3591
3592 <object type="template" name="keyboardtemplate" />
3593
Dees_Troy51a0e822012-09-05 15:24:24 -04003594 <object type="template" name="footer" />
3595 </page>
3596
3597 <page name="trydecrypt">
3598 <object type="template" name="header" />
3599
3600 <object type="text" color="%text_color%">
3601 <font resource="font" />
3602 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3603 <text>Trying Decryption with Your Password</text>
3604 </object>
3605
3606 <object type="template" name="action_page_console" />
3607
3608 <object type="template" name="progress_bar" />
3609
3610 <object type="action">
3611 <action function="decrypt"></action>
3612 </object>
3613
3614 <object type="action">
3615 <conditions>
3616 <condition var1="tw_operation_state" var2="1" />
3617 <condition var1="tw_operation_status" op="!=" var2="0" />
3618 </conditions>
3619 <actions>
3620 <action function="set">tw_password_fail=1</action>
3621 <action function="page">decrypt</action>
3622 </actions>
3623 </object>
3624
3625 <object type="action">
3626 <conditions>
3627 <condition var1="tw_operation_state" var2="1" />
3628 <condition var1="tw_operation_status" op="=" var2="0" />
3629 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003630 <actions>
3631 <action function="set">tw_page_done=1</action>
3632 <action function="page">main</action>
3633 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003634 </object>
3635 </page>
3636
3637 <page name="terminalfolder">
3638 <object type="template" name="header" />
3639
3640 <object type="text" color="%text_color%">
3641 <font resource="font" />
3642 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3643 <text>Browse to Starting Folder</text>
3644 </object>
3645
3646 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003647 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003648 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3649 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003650 <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 -04003651 <text>%tw_terminal_location%</text>
3652 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3653 <sort name="tw_gui_sort_order" />
3654 <icon folder="folder_icon" file="file_icon" />
3655 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003656 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003657 <filter folders="1" files="0" />
3658 <path name="tw_terminal_location" default="/" />
3659 <data name="tw_terminal" />
3660 <selection name="tw_terminal_selection" />
3661 </object>
3662
3663 <object type="template" name="sort_options" />
3664
3665 <object type="action">
3666 <touch key="home" />
3667 <action function="page">main</action>
3668 </object>
3669
3670 <object type="action">
3671 <touch key="back" />
3672 <action function="page">advanced</action>
3673 </object>
3674
3675 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003676 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003677 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3678 <font resource="font" color="%button_text_color%" />
3679 <text>Select Folder</text>
3680 <image resource="main_button" />
3681 <actions>
3682 <action function="page">terminalcommand</action>
3683 </actions>
3684 </object>
3685
3686 <object type="template" name="footer" />
3687 </page>
3688
3689 <page name="terminalcommand">
3690 <background color="#000000FF" />
3691
3692 <object type="console">
3693 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3694 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3695 <font resource="fixed" />
3696 </object>
3697
3698 <object type="text" color="%text_color%">
3699 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3700 <font resource="font" />
3701 <text>Starting Path: %tw_terminal_location%</text>
3702 </object>
3703
3704 <object type="input">
3705 <condition var1="tw_terminal_state" var2="0" />
3706 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3707 <background color="%input_background_color%" />
3708 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3709 <font resource="font" color="%text_color%" />
3710 <text>%tw_terminal_command%</text>
3711 <data name="tw_terminal_command" />
3712 <restrict minlen="1" />
3713 <action function="terminalcommand">%tw_terminal_command%</action>
3714 </object>
3715
3716 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003717 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003718 <condition var1="tw_terminal_state" var2="1" />
3719 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3720 <font resource="font" color="%button_text_color%" />
3721 <text>KILL</text>
3722 <image resource="medium_button" />
3723 <action function="killterminal"></action>
3724 </object>
3725
3726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003727 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003728 <placement x="%home_button_x%" y="%terminal_button_y%" />
3729 <font resource="font" color="%button_text_color%" />
3730 <text></text>
3731 <image resource="home_icon" />
3732 <condition var1="tw_busy" var2="0" />
3733 <action function="key">home</action>
3734 </object>
3735
3736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <placement x="%back_button_x%" y="%terminal_button_y%" />
3739 <font resource="font" color="%button_text_color%" />
3740 <text></text>
3741 <image resource="back_icon" />
3742 <condition var1="tw_busy" var2="0" />
3743 <action function="key">back</action>
3744 </object>
3745
3746 <object type="action">
3747 <touch key="power" />
3748 <action function="overlay">lock</action>
3749 </object>
3750
3751 <object type="template" name="keyboardtemplate" />
3752
3753 <object type="action">
3754 <touch key="home" />
3755 <action function="page">main</action>
3756 </object>
3757
3758 <object type="action">
3759 <touch key="back" />
3760 <action function="page">terminalfolder</action>
3761 </object>
3762 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003763
3764 <page name="sideload">
3765 <object type="template" name="header" />
3766
3767 <object type="text" color="%text_color%">
3768 <font resource="font" />
3769 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3770 <text>ADB Sideload</text>
3771 </object>
3772
3773 <object type="checkbox">
3774 <placement x="%col1_x%" y="%row3_text_y%" />
3775 <font resource="font" color="%text_color%" />
3776 <text>Wipe Dalvik Cache.</text>
3777 <data variable="tw_wipe_dalvik" />
3778 <image checked="checkbox_true" unchecked="checkbox_false" />
3779 </object>
3780
3781 <object type="checkbox">
3782 <placement x="%col1_x%" y="%row4_text_y%" />
3783 <font resource="font" color="%text_color%" />
3784 <text>Wipe Cache.</text>
3785 <data variable="tw_wipe_cache" />
3786 <image checked="checkbox_true" unchecked="checkbox_false" />
3787 </object>
3788
3789 <object type="slider">
3790 <placement x="%slider_x%" y="%slider_y%" />
3791 <resource base="slider" used="slider-used" touch="slider-touch" />
3792 <actions>
3793 <action function="set">tw_back=advanced</action>
3794 <action function="set">tw_action=adbsideload</action>
3795 <action function="set">tw_action_text1=ADB Sideload</action>
3796 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3797 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3798 <action function="set">tw_has_cancel=1</action>
3799 <action function="set">tw_show_reboot=1</action>
3800 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3801 <action function="page">action_page</action>
3802 </actions>
3803 </object>
3804
3805 <object type="text" color="%text_color%">
3806 <font resource="font" />
3807 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3808 <text>Swipe to Start Sideload</text>
3809 </object>
3810
3811 <object type="action">
3812 <touch key="home" />
3813 <action function="page">main</action>
3814 </object>
3815
3816 <object type="action">
3817 <touch key="back" />
3818 <action function="page">advanced</action>
3819 </object>
3820
3821 <object type="template" name="footer" />
3822 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003823
3824 <page name="installsu">
3825 <object type="template" name="header" />
3826
3827 <object type="text" color="%text_color%">
3828 <font resource="font" />
3829 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3830 <text>Install SuperSU?</text>
3831 </object>
3832
3833 <object type="text" color="%text_color%">
3834 <font resource="font" />
3835 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3836 <text>Your device does not appear to be rooted.</text>
3837 </object>
3838
3839 <object type="text" color="%text_color%">
3840 <font resource="font" />
3841 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3842 <text>Install SuperSU now? This will root your device.</text>
3843 </object>
3844
3845 <object type="button">
3846 <highlight color="%highlight_color%" />
3847 <placement x="%col_center_x%" y="%row2_medium_y%" />
3848 <font resource="font" color="%button_text_color%" />
3849 <text>Do Not Install</text>
3850 <image resource="main_button" />
3851 <action function="set">tw_page_done=1</action>
3852 </object>
3853
3854 <object type="slider">
3855 <placement x="%slider_x%" y="%slider_y%" />
3856 <resource base="slider" used="slider-used" touch="slider-touch" />
3857 <actions>
3858 <action function="set">tw_action=installsu</action>
3859 <action function="set">tw_action_text1=Installing SuperSU</action>
3860 <action function="set">tw_action_text2=</action>
3861 <action function="page">singleaction_page</action>
3862 </actions>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3868 <text>Swipe to Install</text>
3869 </object>
3870 </page>
3871
3872 <page name="fixsu">
3873 <object type="template" name="header" />
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3878 <text>Fix Superuser Permissions?</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3884 <text>Root permissions appear to be lost.</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3890 <text>Fix root permissions now?</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3896 <text>(Fixes permissions on su binary & app)</text>
3897 </object>
3898
3899 <object type="button">
3900 <highlight color="%highlight_color%" />
3901 <placement x="%col_center_x%" y="%row2_medium_y%" />
3902 <font resource="font" color="%button_text_color%" />
3903 <text>Do Not Fix</text>
3904 <image resource="main_button" />
3905 <action function="set">tw_page_done=1</action>
3906 </object>
3907
3908 <object type="slider">
3909 <placement x="%slider_x%" y="%slider_y%" />
3910 <resource base="slider" used="slider-used" touch="slider-touch" />
3911 <actions>
3912 <action function="set">tw_action=fixsu</action>
3913 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3914 <action function="set">tw_action_text2=</action>
3915 <action function="page">singleaction_page</action>
3916 </actions>
3917 </object>
3918
3919 <object type="text" color="%text_color%">
3920 <font resource="font" />
3921 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3922 <text>Swipe to Fix Root</text>
3923 </object>
3924 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003925 </pages>
3926</recovery>