blob: 8f881d7798841c996df60a9e614ae487230f0339 [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" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="main_button" type="image" filename="button" />
16 <resource name="file_icon" type="image" filename="file" />
17 <resource name="folder_icon" type="image" filename="folder" />
18 <resource name="progress" type="animation" filename="indeterminate" />
19 <resource name="progress_empty" type="image" filename="progress_empty" />
20 <resource name="progress_full" type="image" filename="progress_fill" />
21 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
22 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
23 <resource name="radio_false" type="image" filename="radio_empty" />
24 <resource name="radio_true" type="image" filename="radio_selected" />
25 <resource name="medium_button" type="image" filename="medium-button" />
26 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
27 <resource name="sort_button" type="image" filename="sort-button" />
28 <resource name="minus_button" type="image" filename="minus-button" />
29 <resource name="plus_button" type="image" filename="plus-button" />
30 <resource name="home_icon" type="image" filename="home-icon" />
31 <resource name="back_icon" type="image" filename="back-icon" />
32 <resource name="console_button" type="image" filename="console-toggle" />
33 <resource name="slider" type="image" filename="slider" />
34 <resource name="slider-used" type="image" filename="slider-used" />
35 <resource name="slider-touch" type="image" filename="slider-touch" />
36 <resource name="unlock-icon" type="image" filename="unlock" />
37 <resource name="keyboard1" type="image" filename="keyboard1" />
38 <resource name="keyboard2" type="image" filename="keyboard2" />
39 <resource name="keyboard3" type="image" filename="keyboard3" />
40 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010041 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040042 </resources>
43
44 <variables>
45 <variable name="col1_x" value="23" />
46 <variable name="col2_x" value="210" />
47 <variable name="col3_x" value="410" />
48 <variable name="col4_x" value="610" />
49 <variable name="row1_y" value="90" />
50 <variable name="row2_y" value="340" />
51 <variable name="col_center_x" value="310" />
52 <variable name="center_x" value="400" />
53 <variable name="screen_width" value="800" />
54 <variable name="screen_height" value="480" />
55 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040056 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040057 <variable name="col1_medium_x" value="120" />
58 <variable name="col2_medium_x" value="250" />
59 <variable name="col3_medium_x" value="380" />
60 <variable name="col4_medium_x" value="510" />
61 <variable name="row1_medium_y" value="105" />
62 <variable name="row2_medium_y" value="175" />
63 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row4_medium_y" value="340" />
Dees_Troy51a0e822012-09-05 15:24:24 -040065 <variable name="row5_medium_y" value="320" />
66 <variable name="row1_text_y" value="58" />
67 <variable name="row2_text_y" value="78" />
68 <variable name="row3_text_y" value="100" />
69 <variable name="row4_text_y" value="120" />
70 <variable name="row5_text_y" value="140" />
71 <variable name="row6_text_y" value="160" />
72 <variable name="row7_text_y" value="180" />
73 <variable name="row8_text_y" value="200" />
74 <variable name="row9_text_y" value="220" />
75 <variable name="row10_text_y" value="240" />
76 <variable name="row11_text_y" value="260" />
77 <variable name="row12_text_y" value="280" />
78 <variable name="row13_text_y" value="300" />
79 <variable name="row14_text_y" value="320" />
80 <variable name="row15_text_y" value="340" />
81 <variable name="row16_text_y" value="360" />
82 <variable name="row17_text_y" value="380" />
83 <variable name="row18_text_y" value="400" />
84 <variable name="row_offsetmedium_y" value="320" />
85 <variable name="home_button_x" value="589" />
86 <variable name="home_button_y" value="5" />
87 <variable name="back_button_x" value="659" />
88 <variable name="back_button_y" value="5" />
89 <variable name="console_button_x" value="729" />
90 <variable name="console_button_y" value="5" />
91 <variable name="nandcheck_col1" value="23" />
92 <variable name="nandcheck_col2" value="360" />
93 <variable name="nandcheck_row1" value="130" />
94 <variable name="nandcheck_row2" value="160" />
95 <variable name="nandcheck_row3" value="190" />
96 <variable name="nandcheck_row4" value="220" />
97 <variable name="nandcheck_row5" value="250" />
98 <variable name="nandcheck_row6" value="280" />
99 <variable name="nandcheck_row7" value="310" />
100 <variable name="button_text_color" value="#AAAAAA" />
101 <variable name="text_color" value="#A0A0A0" />
102 <variable name="text_success_color" value="#33B5E5" />
103 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600104 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400105 <variable name="slider_x" value="225" />
106 <variable name="slider_y" value="390" />
107 <variable name="slider_text_y" value="425" />
108 <variable name="sort_text_x" value="170" />
109 <variable name="sort_asc_text_y" value="418" />
110 <variable name="sort_asc_button_y" value="413" />
111 <variable name="sort_desc_text_y" value="452" />
112 <variable name="sort_desc_button_y" value="447" />
113 <variable name="sort_col1_button_x" value="300" />
114 <variable name="sort_col2_button_x" value="370" />
115 <variable name="sort_col3_button_x" value="440" />
116 <variable name="col1_sdext_x" value="265" />
117 <variable name="col2_sdext_x" value="475" />
118 <variable name="row1_sdext_y" value="85" />
119 <variable name="row2_sdext_y" value="150" />
120 <variable name="row_extsize_y" value="85" />
121 <variable name="row_swapsize_y" value="150" />
122 <variable name="input_x" value="28" />
123 <variable name="input_width" value="720" />
124 <variable name="input_height" value="25" />
125 <variable name="input_background_color" value="#303030" />
126 <variable name="input_cursor_color" value="#33B5E5" />
127 <variable name="input_cursor_width" value="2" />
128 <variable name="console_x" value="25" />
129 <variable name="console_width" value="750" />
130 <variable name="console_foreground" value="#A0A0A0" />
131 <variable name="console_background" value="#303030" />
132 <variable name="console_scroll" value="#303030" />
133 <variable name="console_action_height" value="230" />
134 <variable name="console_install_height" value="260" />
135 <variable name="console_installdone_height" value="260" />
136 <variable name="fileselector_folder_x" value="28" />
137 <variable name="fileselector_folder_width" value="248" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000138 <variable name="fileselector_folderonly_width" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400139 <variable name="fileselector_file_x" value="278" />
140 <variable name="fileselector_file_width" value="506" />
141 <variable name="fileselector_install_y" value="120" />
142 <variable name="fileselector_install_height" value="290" />
143 <variable name="fileselector_header_background" value="#202020" />
144 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
145 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
146 <variable name="fileselector_header_separatorheight" value="2" />
147 <variable name="fileselector_separatorcolor" value="#505050" />
148 <variable name="fileselector_separatorheight" value="1" />
149 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600150 <variable name="fileselector_highlight_color" value="#505050" />
151 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="fileselector_spacing" value="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100153 <variable name="fastscroll_linecolor" value="#808080" />
154 <variable name="fastscroll_rectcolor" value="#808080" />
155 <variable name="fastscroll_w" value="25" />
156 <variable name="fastscroll_linew" value="2" />
157 <variable name="fastscroll_rectw" value="19" />
158 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400159 <variable name="zipstorage_text_y" value="88" />
160 <variable name="listbox_x" value="156" />
161 <variable name="listbox_y" value="90" />
162 <variable name="listbox_width" value="460" />
163 <variable name="listbox_tz_height" value="170" />
164 <variable name="listbox_background" value="#303030" />
165 <variable name="listbox_spacing" value="12" />
166 <variable name="sd_plus_x" value="280" />
167 <variable name="lock_x" value="250" />
168 <variable name="lock_y" value="90" />
169 <variable name="filemanager_select_x" value="610" />
170 <variable name="filemanager_select_y" value="413" />
171 <variable name="backup_name_text_y" value="440" />
172 <variable name="backup_name_button_y" value="195" />
173 <variable name="col_right_x" value="772" />
174 <variable name="cancel_button_y" value="180" />
175 <variable name="terminal_console_y" value="0" />
176 <variable name="terminal_console_height" value="240" />
177 <variable name="terminal_text_y" value="247" />
178 <variable name="terminal_button_y" value="237" />
179 <variable name="terminal_input_width" value="551" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="button_fill_color" value="#303030" />
181 <variable name="button_fill_full_width" value="400" />
182 <variable name="button_fill_main_width" value="367" />
183 <variable name="button_fill_main_height" value="120" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000184 <variable name="button_fill_half_height" value="40" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500185 <variable name="button_fill_quarter_height" value="30" />
186 <variable name="button_full_center_x" value="200" />
187 <variable name="backup_list_x" value="23" />
188 <variable name="backup_list_y" value="80" />
189 <variable name="backup_list_width" value="367" />
190 <variable name="backup_list_height" value="290" />
191 <variable name="backup_storage_y" value="190" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000192 <variable name="backup_encrypt_y" value="235" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500193 <variable name="restore_list_y" value="100" />
194 <variable name="restore_list_height" value="270" />
195 <variable name="mount_list_height" value="360" />
196 <variable name="mount_storage_row" value="500" />
197 <variable name="wipe_list_height" value="300" />
198 <variable name="wipe_button_y" value="150" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200199 <variable name="slidervalue_x" value="200" />
200 <variable name="slidervalue_w" value="400" />
201 <variable name="slidervalue_line_clr" value="#FFFFFF" />
202 <variable name="slidervalue_slider_clr" value="#33B5E5" />
203 <variable name="slidervalue_lineh" value="1" />
204 <variable name="slidervalue_padding" value="0" />
205 <variable name="slidervalue_sliderw" value="7" />
206 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400207 </variables>
208
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100209 <mousecursor>
210 <placement w="15" h="15" />
211 <background color="#FFFF00FF" resource="cursor" />
212 <speed multiplier="1.5" />
213 </mousecursor>
214
Dees_Troy51a0e822012-09-05 15:24:24 -0400215 <templates>
216 <template name="header">
217 <background color="#000000FF" />
218
219 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400220 <image resource="base" />
221 <placement x="0" y="0" />
222 </object>
223
Dees_Troy51a0e822012-09-05 15:24:24 -0400224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="250" y="2" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000227 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
232 <placement x="250" y="37" />
233 <conditions>
234 <condition var1="tw_no_battery_percent" var2="0" />
235 <condition var1="tw_battery" op=">" var2="0" />
236 <condition var1="tw_battery" op="<" var2="101" />
237 </conditions>
238 <text>Battery Level: %tw_battery%</text>
239 </object>
240
241 <object type="text" color="%text_color%">
242 <font resource="font" />
243 <placement x="450" y="37" />
244 <text>%tw_time%</text>
245 </object>
246
247 <object type="text" color="%text_color%">
248 <condition var1="tw_simulate_actions" var2="1" />
249 <font resource="font" />
250 <placement x="250" y="20" />
251 <text>SIMULATING ACTIONS</text>
252 </object>
253
254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400256 <placement x="%home_button_x%" y="%home_button_y%" />
257 <font resource="font" color="%button_text_color%" />
258 <text></text>
259 <image resource="home_icon" />
260 <condition var1="tw_busy" var2="0" />
261 <action function="key">home</action>
262 </object>
263
264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400266 <placement x="%back_button_x%" y="%back_button_y%" />
267 <font resource="font" color="%button_text_color%" />
268 <text></text>
269 <image resource="back_icon" />
270 <condition var1="tw_busy" var2="0" />
271 <action function="key">back</action>
272 </object>
273
274 <object type="action">
275 <touch key="power" />
276 <action function="overlay">lock</action>
277 </object>
278 </template>
279
280 <template name="progress_bar">
281 <object type="progressbar">
282 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
283 <resource empty="progress_empty" full="progress_full" />
284 <data name="ui_progress" />
285 </object>
286
287 <object type="animation">
288 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
289 <resource name="progress" />
290 <speed fps="15" render="2" />
291 <loop frame="1" />
292 </object>
293 </template>
294
295 <template name="sort_options">
296 <object type="text" color="%text_color%">
297 <font resource="font" />
298 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
299 <text>Sort Ascending:</text>
300 </object>
301
302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400304 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
305 <font resource="font" color="%button_text_color%" />
306 <text>Name</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=1</action>
309 </object>
310
311 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600312 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400313 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Date</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=2</action>
318 </object>
319
320 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600321 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400322 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
323 <font resource="font" color="%button_text_color%" />
324 <text>Size</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=3</action>
327 </object>
328
329 <object type="text" color="%text_color%">
330 <font resource="font" />
331 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
332 <text>Sort Descending:</text>
333 </object>
334
335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400337 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
338 <font resource="font" color="%button_text_color%" />
339 <text>Name</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-1</action>
342 </object>
343
344 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400346 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Date</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-2</action>
351 </object>
352
353 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600354 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400355 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
356 <font resource="font" color="%button_text_color%" />
357 <text>Size</text>
358 <image resource="sort_button" />
359 <action function="set">tw_gui_sort_order=-3</action>
360 </object>
361 </template>
362
363 <template name="flash_zip_console">
364 <object type="console">
365 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
366 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
367 <font resource="fixed" />
368 </object>
369 </template>
370
371 <template name="action_page_console">
372 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400373 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400374 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
375 <font resource="fixed" />
376 </object>
377 </template>
378
379 <template name="footer">
380 <object type="console">
381 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
382 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
383 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
384 <font resource="fixed" />
385 </object>
386 </template>
387
388 <template name="keyboardtemplate">
389 <object type="keyboard">
390 <placement x="0" y="277" />
391 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400393 <layout1>
394 <keysize height="51" width="73" />
395 <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" />
396 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
397 <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="+" />
398 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
399 </layout1>
400 <layout2>
401 <keysize height="51" width="73" />
402 <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" />
403 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
404 <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="+" />
405 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
406 </layout2>
407 <layout3>
408 <keysize height="51" width="73" />
409 <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" />
410 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
411 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
412 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
413 </layout3>
414 <layout4>
415 <keysize height="51" width="73" />
416 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
417 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
418 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
419 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
420 </layout4>
421 </object>
422 </template>
423 </templates>
424
425 <pages>
426 <page name="main">
427 <object type="action">
428 <actions>
429 <action function="set">tw_clear_destination=main2</action>
430 <action function="page">clear_vars</action>
431 </actions>
432 </object>
433 </page>
434
435 <page name="main2">
436 <object type="template" name="header" />
437
438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400440 <placement x="%col1_x%" y="%row1_y%" />
441 <font resource="font" color="%button_text_color%" />
442 <text>Install</text>
443 <image resource="main_button" />
444 <actions>
445 <action function="queueclear"></action>
446 <action function="page">install</action>
447 </actions>
448 </object>
449
450 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600451 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400452 <placement x="%col2_x%" y="%row1_y%" />
453 <font resource="font" color="%button_text_color%" />
454 <text>Backup</text>
455 <image resource="main_button" />
456 <action function="page">backup</action>
457 </object>
458
459 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600460 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400461 <placement x="%col3_x%" y="%row1_y%" />
462 <font resource="font" color="%button_text_color%" />
463 <text>Restore</text>
464 <image resource="main_button" />
465 <action function="page">restore</action>
466 </object>
467
468 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600469 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400470 <placement x="%col4_x%" y="%row1_y%" />
471 <font resource="font" color="%button_text_color%" />
472 <text>Wipe</text>
473 <image resource="main_button" />
474 <action function="page">wipe</action>
475 </object>
476
477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400479 <placement x="%col1_x%" y="%row2_y%" />
480 <font resource="font" color="%button_text_color%" />
481 <text>Mount</text>
482 <image resource="main_button" />
483 <action function="page">mount</action>
484 </object>
485
486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600487 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <placement x="%col2_x%" y="%row2_y%" />
489 <font resource="font" color="%button_text_color%" />
490 <text>Settings</text>
491 <image resource="main_button" />
492 <action function="page">settings</action>
493 </object>
494
495 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600496 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400497 <placement x="%col3_x%" y="%row2_y%" />
498 <font resource="font" color="%button_text_color%" />
499 <text>Advanced</text>
500 <image resource="main_button" />
501 <action function="page">advanced</action>
502 </object>
503
504 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600505 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <placement x="%col4_x%" y="%row2_y%" />
507 <font resource="font" color="%button_text_color%" />
508 <text>Reboot</text>
509 <image resource="main_button" />
510 <action function="page">reboot</action>
511 </object>
512
513 <object type="template" name="footer" />
514 </page>
515
516 <page name="install">
517 <object type="template" name="header" />
518
519 <object type="text" color="%text_color%">
520 <font resource="font" />
521 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
522 <text>Select Zip to Install</text>
523 </object>
524
525 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500526 <highlight color="%highlight_color%" />
527 <fill color="%button_fill_color%" />
528 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
529 <font resource="font" color="%button_text_color%" />
530 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
531 <actions>
532 <action function="set">tw_back=install</action>
533 <action function="page">selectstorage</action>
534 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400535 </object>
536
537 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600538 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400539 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
540 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100541 <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 -0400542 <text>Folders:</text>
543 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
544 <sort name="tw_gui_sort_order" />
545 <icon folder="folder_icon" file="file_icon" />
546 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600547 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400548 <filter folders="1" files="0" />
549 <path name="tw_zip_location" default="/sdcard" />
550 <data name="select" />
551 </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_file_x%" y="%fileselector_install_y%" w="%fileselector_file_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>%tw_zip_location%</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 extn=".zip" folders="0" files="1" />
565 <path name="tw_zip_location" />
566 <data name="tw_filename" />
567 <selection name="tw_file" />
568 </object>
569
570 <object type="template" name="sort_options" />
571
572 <object type="action">
573 <condition var1="tw_filename" op="modified" />
574 <actions>
575 <action function="queuezip"></action>
576 <action function="page">flash_confirm</action>
577 </actions>
578 </object>
579
580 <object type="action">
581 <touch key="back" />
582 <action function="page">main</action>
583 </object>
584
585 <object type="action">
586 <touch key="home" />
587 <action function="page">main</action>
588 </object>
589
590 <object type="template" name="footer" />
591 </page>
592
593 <page name="flash_confirm">
594 <object type="template" name="header" />
595
596 <object type="text" color="%text_color%">
597 <font resource="font" />
598 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
599 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
600 </object>
601
602 <object type="text" color="%text_color%">
603 <font resource="font" />
604 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
605 <text>Folder:</text>
606 </object>
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
611 <text>%tw_zip_location%</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
617 <text>File to flash:</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
623 <text>%tw_file%</text>
624 </object>
625
626 <object type="text" color="%text_color%">
627 <font resource="font" />
628 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
629 <text>Press back to cancel adding this zip.</text>
630 </object>
631
632 <object type="checkbox">
633 <placement x="%col2_x%" y="%row7_text_y%" />
634 <font resource="font" color="%text_color%" />
635 <text>Zip file signature verification?</text>
636 <data variable="tw_signed_zip_verify" />
637 <image checked="checkbox_true" unchecked="checkbox_false" />
638 </object>
639
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <object type="text" color="%text_color%">
641 <font resource="font" />
642 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
643 <text>File %tw_zip_queue_count% of max of 10</text>
644 </object>
645
646 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600647 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400648 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
649 <placement x="%col2_x%" y="%row5_medium_y%" />
650 <font resource="font" color="%button_text_color%" />
651 <text>Add More Zips</text>
652 <image resource="mediumwide_button" />
653 <action function="page">install</action>
654 </object>
655
656 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600657 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400658 <placement x="%col3_x%" y="%row5_medium_y%" />
659 <font resource="font" color="%button_text_color%" />
660 <text>Clear Queue</text>
661 <image resource="mediumwide_button" />
662 <actions>
663 <action function="queueclear"></action>
664 <action function="page">install</action>
665 </actions>
666 </object>
667
668 <object type="slider">
669 <placement x="%slider_x%" y="%slider_y%" />
670 <resource base="slider" used="slider-used" touch="slider-touch" />
671 <action function="flash">flash_zip</action>
672 </object>
673
674 <object type="text" color="%text_color%">
675 <font resource="font" />
676 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
677 <text>Swipe to Confirm Flash</text>
678 </object>
679
680 <object type="action">
681 <touch key="back" />
682 <actions>
683 <action function="cancelzip"></action>
684 <action function="page">install</action>
685 </actions>
686 </object>
687
688 <object type="action">
689 <touch key="home" />
690 <action function="page">main</action>
691 </object>
692
693 <object type="template" name="footer" />
694 </page>
695
696 <page name="flash_zip">
697 <object type="template" name="header" />
698
699 <object type="template" name="flash_zip_console" />
700
701 <object type="text" color="%text_color%">
702 <font resource="font" />
703 <placement x="%col1_x%" y="%row16_text_y%" />
704 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
705 </object>
706
707 <object type="text" color="%text_color%">
708 <font resource="font" />
709 <placement x="%col1_x%" y="%row17_text_y%" />
710 <text>%tw_filename%</text>
711 </object>
712
713 <object type="template" name="progress_bar" />
714
715 <object type="action">
716 <condition var1="tw_operation_state" var2="1" />
717 <action function="page">flash_done</action>
718 </object>
719 </page>
720
721 <page name="flash_done">
722 <object type="template" name="header" />
723
724 <object type="template" name="flash_zip_console" />
725
726 <object type="text" color="%text_fail_color%">
727 <condition var1="tw_operation_status" op="!=" var2="0" />
728 <font resource="font" />
729 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
730 <text>Failed</text>
731 </object>
732
733 <object type="text" color="%text_success_color%">
734 <condition var1="tw_operation_status" var2="0" />
735 <font resource="font" />
736 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
737 <text>Successful</text>
738 </object>
739
740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400742 <placement x="%col1_x%" y="%slider_y%" />
743 <font resource="font" color="%button_text_color%" />
744 <text>Wipe Cache/Dalvik</text>
745 <image resource="main_button" />
746 <actions>
747 <action function="set">tw_back=flash_done</action>
748 <action function="set">tw_action=wipe</action>
749 <action function="set">tw_action_param=/cache</action>
750 <action function="set">tw_has_action2=1</action>
751 <action function="set">tw_action2=wipe</action>
752 <action function="set">tw_action2_param=dalvik</action>
753 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
754 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
755 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
756 <action function="set">tw_slider_text=Swipe to Wipe</action>
757 <action function="page">confirm_action</action>
758 </actions>
759 </object>
760
761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <condition var1="tw_reboot_system" var2="1" />
764 <placement x="%col4_x%" y="%slider_y%" />
765 <font resource="font" color="%button_text_color%" />
766 <text>Reboot System</text>
767 <image resource="main_button" />
768 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400769 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400770 <action function="set">tw_action=reboot</action>
771 <action function="set">tw_action_param=system</action>
772 <action function="set">tw_has_action2=0</action>
773 <action function="set">tw_text1=No OS Installed! Are you</action>
774 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400775 <action function="set">tw_text3=</action>
776 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400777 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400778 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400779 <action function="set">tw_complete_text1=Rebooting...</action>
780 <action function="set">tw_slider_text=Swipe to Reboot</action>
781 <action function="page">rebootcheck</action>
782 </actions>
783 </object>
784
785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400787 <placement x="%col_center_x%" y="%slider_y%" />
788 <font resource="font" color="%button_text_color%" />
789 <text>Home</text>
790 <image resource="main_button" />
791 <actions>
792 <action function="set">tw_clear_destination=main2</action>
793 <action function="page">clear_vars</action>
794 </actions>
795 </object>
796
797 <object type="action">
798 <touch key="back" />
799 <actions>
800 <action function="set">tw_clear_destination=install</action>
801 <action function="page">clear_vars</action>
802 </actions>
803 </object>
804
805 <object type="action">
806 <touch key="home" />
807 <actions>
808 <action function="set">tw_clear_destination=main2</action>
809 <action function="page">clear_vars</action>
810 </actions>
811 </object>
812 </page>
813
814 <page name="clear_vars">
815 <object type="action">
816 <action function="set">tw_operation_state=0</action>
817 <action function="set">tw_text1=</action>
818 <action function="set">tw_text2=</action>
819 <action function="set">tw_text3=</action>
820 <action function="set">tw_text4=</action>
821 <action function="set">tw_action_text1=</action>
822 <action function="set">tw_action_text2=</action>
823 <action function="set">tw_action_param=</action>
824 <action function="set">tw_has_action2=0</action>
825 <action function="set">tw_action2=</action>
826 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400827 <action function="set">tw_has_cancel=0</action>
828 <action function="set">tw_cancel_action=</action>
829 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400830 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400831 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400832 <action function="page">%tw_clear_destination%</action>
833 </object>
834 </page>
835
836 <page name="confirm_action">
837 <object type="template" name="header" />
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
842 <text>%tw_text1%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
848 <text>%tw_text2%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
854 <text>%tw_text3%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
859 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
860 <text>%tw_text4%</text>
861 </object>
862
863 <object type="text" color="%text_color%">
864 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400865 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400866 <text>Press back button to cancel.</text>
867 </object>
868
869 <object type="slider">
870 <placement x="%slider_x%" y="%slider_y%" />
871 <resource base="slider" used="slider-used" touch="slider-touch" />
872 <action function="page">action_page</action>
873 </object>
874
875 <object type="text" color="%text_color%">
876 <font resource="font" />
877 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
878 <text>%tw_slider_text%</text>
879 </object>
880
881 <object type="action">
882 <touch key="back" />
883 <actions>
884 <action function="set">tw_clear_destination=%tw_back%</action>
885 <action function="page">clear_vars</action>
886 </actions>
887 </object>
888
889 <object type="action">
890 <touch key="home" />
891 <action function="page">main</action>
892 </object>
893
894 <object type="template" name="footer" />
895 </page>
896
897 <page name="action_page">
898 <object type="template" name="header" />
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
902 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
903 <text>%tw_action_text1%</text>
904 </object>
905
906 <object type="text" color="%text_color%">
907 <font resource="font" />
908 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
909 <text>%tw_action_text2%</text>
910 </object>
911
912 <object type="template" name="action_page_console" />
913
Dees_Troy2691f9d2012-09-24 11:15:49 -0400914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600915 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400916 <condition var1="tw_has_cancel" var2="1" />
917 <placement x="%col4_x%" y="%slider_y%" />
918 <font resource="font" color="%button_text_color%" />
919 <text>Cancel</text>
920 <image resource="main_button" />
921 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
922 </object>
923
Dees_Troy51a0e822012-09-05 15:24:24 -0400924 <object type="template" name="progress_bar" />
925
926 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400927 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400928 <actions>
929 <action function="page">action_complete</action>
930 </actions>
931 </object>
932
933 <object type="action">
934 <condition var1="tw_has_action2" var2="0" />
935 <actions>
936 <action function="%tw_action%">%tw_action_param%</action>
937 </actions>
938 </object>
939
940 <object type="action">
941 <condition var1="tw_has_action2" var2="1" />
942 <actions>
943 <action function="%tw_action%">%tw_action_param%</action>
944 <action function="%tw_action2%">%tw_action2_param%</action>
945 </actions>
946 </object>
947 </page>
948
Dees_Troy6ef66352013-02-21 08:26:57 -0600949 <page name="singleaction_page">
950 <object type="template" name="header" />
951
952 <object type="text" color="%text_color%">
953 <font resource="font" />
954 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
955 <text>%tw_action_text1%</text>
956 </object>
957
958 <object type="text" color="%text_color%">
959 <font resource="font" />
960 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
961 <text>%tw_action_text2%</text>
962 </object>
963
964 <object type="template" name="action_page_console" />
965
966 <object type="template" name="progress_bar" />
967
968 <object type="action">
969 <condition var1="tw_operation_state" var2="1" />
970 <actions>
971 <action function="set">tw_page_done=1</action>
972 </actions>
973 </object>
974
975 <object type="action">
976 <condition var1="tw_has_action2" var2="0" />
977 <actions>
978 <action function="%tw_action%">%tw_action_param%</action>
979 </actions>
980 </object>
981
982 <object type="action">
983 <condition var1="tw_has_action2" var2="1" />
984 <actions>
985 <action function="%tw_action%">%tw_action_param%</action>
986 <action function="%tw_action2%">%tw_action2_param%</action>
987 </actions>
988 </object>
989 </page>
990
Dees_Troy51a0e822012-09-05 15:24:24 -0400991 <page name="action_complete">
992 <object type="template" name="header" />
993
994 <object type="text" color="%text_color%">
995 <font resource="font" />
996 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
997 <text>%tw_complete_text1%</text>
998 </object>
999
1000 <object type="text" color="%text_fail_color%">
1001 <condition var1="tw_operation_status" op="!=" var2="0" />
1002 <font resource="font" />
1003 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1004 <text>Failed</text>
1005 </object>
1006
1007 <object type="text" color="%text_success_color%">
1008 <condition var1="tw_operation_status" var2="0" />
1009 <font resource="font" />
1010 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1011 <text>Successful</text>
1012 </object>
1013
1014 <object type="template" name="action_page_console" />
1015
1016 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001017 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001018 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001019 <placement x="%col_center_x%" y="%slider_y%" />
1020 <font resource="font" color="%button_text_color%" />
1021 <text>Back</text>
1022 <image resource="main_button" />
1023 <actions>
1024 <action function="set">tw_clear_destination=%tw_back%</action>
1025 <action function="page">clear_vars</action>
1026 </actions>
1027 </object>
1028
Dees_Troya3f81542012-10-08 10:58:53 -04001029 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001030 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001031 <condition var1="tw_show_reboot" var2="1" />
1032 <placement x="%col_center_x%" y="%slider_y%" />
1033 <font resource="font" color="%button_text_color%" />
1034 <text>Reboot System</text>
1035 <image resource="main_button" />
1036 <actions>
1037 <action function="set">tw_back=main2</action>
1038 <action function="set">tw_action=reboot</action>
1039 <action function="set">tw_action_param=system</action>
1040 <action function="set">tw_has_action2=0</action>
1041 <action function="set">tw_text1=No OS Installed! Are you</action>
1042 <action function="set">tw_text2=sure you wish to reboot?</action>
1043 <action function="set">tw_text3=</action>
1044 <action function="set">tw_text4=</action>
1045 <action function="set">tw_action_text1=Rebooting...</action>
1046 <action function="set">tw_action_text2=</action>
1047 <action function="set">tw_complete_text1=Rebooting...</action>
1048 <action function="set">tw_slider_text=Swipe to Reboot</action>
1049 <action function="page">rebootcheck</action>
1050 </actions>
1051 </object>
1052
Dees_Troy51a0e822012-09-05 15:24:24 -04001053 <object type="action">
1054 <touch key="home" />
1055 <actions>
1056 <action function="set">tw_clear_destination=main2</action>
1057 <action function="page">clear_vars</action>
1058 </actions>
1059 </object>
1060
1061 <object type="action">
1062 <touch key="back" />
1063 <actions>
1064 <action function="set">tw_clear_destination=%tw_back%</action>
1065 <action function="page">clear_vars</action>
1066 </actions>
1067 </object>
1068 </page>
1069
1070 <page name="filecheck">
1071 <object type="action">
1072 <action function="fileexists">%tw_filecheck%</action>
1073 </object>
1074
1075 <object type="action">
1076 <conditions>
1077 <condition var1="tw_operation_state" var2="1" />
1078 <condition var1="tw_operation_status" var2="0" />
1079 </conditions>
1080 <actions>
1081 <action function="set">tw_fileexists=1</action>
1082 <action function="page">%tw_existpage%</action>
1083 </actions>
1084 </object>
1085
1086 <object type="action">
1087 <conditions>
1088 <condition var1="tw_operation_state" var2="1" />
1089 <condition var1="tw_operation_status" var2="1" />
1090 </conditions>
1091 <actions>
1092 <action function="set">tw_fileexists=0</action>
1093 <action function="page">%tw_notexistpage%</action>
1094 </actions>
1095 </object>
1096 </page>
1097
1098 <page name="rebootcheck">
1099 <object type="action">
1100 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1101 <action function="reboot">%tw_action_param%</action>
1102 </object>
1103
1104 <object type="action">
1105 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1106 <action function="page">confirm_action</action>
1107 </object>
1108 </page>
1109
1110 <page name="reboot">
1111 <object type="template" name="header" />
1112
1113 <object type="text" color="%text_color%">
1114 <font resource="font" />
1115 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1116 <text>Reboot Menu</text>
1117 </object>
1118
1119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001121 <condition var1="tw_reboot_system" var2="1" />
1122 <placement x="%col1_x%" y="%row1_y%" />
1123 <font resource="font" color="%button_text_color%" />
1124 <text>System</text>
1125 <image resource="main_button" />
1126 <actions>
1127 <action function="set">tw_back=reboot</action>
1128 <action function="set">tw_action=reboot</action>
1129 <action function="set">tw_action_param=system</action>
1130 <action function="set">tw_has_action2=0</action>
1131 <action function="set">tw_text1=No OS Installed! Are you</action>
1132 <action function="set">tw_text2=sure you wish to reboot?</action>
1133 <action function="set">tw_action_text1=Rebooting...</action>
1134 <action function="set">tw_complete_text1=Rebooting...</action>
1135 <action function="set">tw_slider_text=Swipe to Reboot</action>
1136 <action function="page">rebootcheck</action>
1137 </actions>
1138 </object>
1139
1140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 <condition var1="tw_reboot_poweroff" var2="1" />
1143 <placement x="%col2_x%" y="%row1_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>Power Off</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=reboot</action>
1149 <action function="set">tw_action=reboot</action>
1150 <action function="set">tw_action_param=poweroff</action>
1151 <action function="set">tw_has_action2=0</action>
1152 <action function="set">tw_text1=No OS Installed! Are you</action>
1153 <action function="set">tw_text2=sure you wish to power off?</action>
1154 <action function="set">tw_action_text1=Turning Off...</action>
1155 <action function="set">tw_complete_text1=Turning Off...</action>
1156 <action function="set">tw_slider_text=Swipe to Power Off</action>
1157 <action function="page">rebootcheck</action>
1158 </actions>
1159 </object>
1160
1161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <condition var1="tw_reboot_recovery" var2="1" />
1164 <placement x="%col1_x%" y="%row2_y%" />
1165 <font resource="font" color="%button_text_color%" />
1166 <text>Recovery</text>
1167 <image resource="main_button" />
1168 <actions>
1169 <action function="set">tw_back=reboot</action>
1170 <action function="set">tw_action=reboot</action>
1171 <action function="set">tw_action_param=recovery</action>
1172 <action function="set">tw_has_action2=0</action>
1173 <action function="set">tw_text1=No OS Installed! Are you</action>
1174 <action function="set">tw_text2=sure you wish to reboot?</action>
1175 <action function="set">tw_action_text1=Rebooting...</action>
1176 <action function="set">tw_complete_text1=Rebooting...</action>
1177 <action function="set">tw_slider_text=Swipe to Reboot</action>
1178 <action function="page">rebootcheck</action>
1179 </actions>
1180 </object>
1181
1182 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001183 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001184 <condition var1="tw_reboot_bootloader" var2="1" />
1185 <placement x="%col2_x%" y="%row2_y%" />
1186 <font resource="font" color="%button_text_color%" />
1187 <text>Bootloader</text>
1188 <image resource="main_button" />
1189 <actions>
1190 <action function="set">tw_back=reboot</action>
1191 <action function="set">tw_action=reboot</action>
1192 <action function="set">tw_action_param=bootloader</action>
1193 <action function="set">tw_has_action2=0</action>
1194 <action function="set">tw_text1=No OS Installed! Are you</action>
1195 <action function="set">tw_text2=sure you wish to reboot?</action>
1196 <action function="set">tw_action_text1=Rebooting...</action>
1197 <action function="set">tw_complete_text1=Rebooting...</action>
1198 <action function="set">tw_slider_text=Swipe to Reboot</action>
1199 <action function="page">rebootcheck</action>
1200 </actions>
1201 </object>
1202
1203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001205 <condition var1="tw_download_mode" var2="1" />
1206 <placement x="%col3_x%" y="%row2_y%" />
1207 <font resource="font" color="%button_text_color%" />
1208 <text>Download</text>
1209 <image resource="main_button" />
1210 <actions>
1211 <action function="set">tw_back=reboot</action>
1212 <action function="set">tw_action=reboot</action>
1213 <action function="set">tw_action_param=download</action>
1214 <action function="set">tw_has_action2=0</action>
1215 <action function="set">tw_text1=No OS Installed! Are you</action>
1216 <action function="set">tw_text2=sure you wish to reboot?</action>
1217 <action function="set">tw_action_text1=Rebooting...</action>
1218 <action function="set">tw_complete_text1=Rebooting...</action>
1219 <action function="set">tw_slider_text=Swipe to Reboot</action>
1220 <action function="page">rebootcheck</action>
1221 </actions>
1222 </object>
1223
1224 <object type="action">
1225 <touch key="home" />
1226 <action function="page">main</action>
1227 </object>
1228
1229 <object type="action">
1230 <touch key="back" />
1231 <action function="page">main</action>
1232 </object>
1233
1234 <object type="template" name="footer" />
1235 </page>
1236
Dees_Troya13d74f2013-03-24 08:54:55 -05001237 <page name="selectstorage">
1238 <object type="template" name="header" />
1239
1240 <object type="partitionlist">
1241 <highlight color="%fileselector_highlight_color%" />
1242 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1243 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1244 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1245 <text>Select Storage:</text>
1246 <icon selected="radio_true" unselected="radio_false" />
1247 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1248 <background color="%listbox_background%" />
1249 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1250 <data name="tw_storage_path" />
1251 <listtype name="storage" />
1252 </object>
1253
Dees_Troye7e0ae82013-07-05 14:46:07 +00001254 <object type="button">
1255 <highlight color="%highlight_color%" />
1256 <placement x="%filemanager_select_x%" y="%row2_y%" />
1257 <font resource="font" color="%button_text_color%" />
1258 <text>OK</text>
1259 <image resource="main_button" />
1260 <actions>
1261 <action function="set">tw_clear_destination=%tw_back%</action>
1262 <action function="page">clear_vars</action>
1263 </actions>
1264 </object>
1265
Dees_Troya13d74f2013-03-24 08:54:55 -05001266 <object type="action">
1267 <touch key="home" />
1268 <action function="page">main</action>
1269 </object>
1270
1271 <object type="action">
1272 <touch key="back" />
1273 <actions>
1274 <action function="page">%tw_back%</action>
1275 </actions>
1276 </object>
1277
1278 <object type="template" name="footer" />
1279 </page>
1280
Dees_Troy51a0e822012-09-05 15:24:24 -04001281 <page name="mount">
1282 <object type="template" name="header" />
1283
1284 <object type="text" color="%text_color%">
1285 <font resource="font" />
1286 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1287 <text>Mount Menu</text>
1288 </object>
1289
Dees_Troya13d74f2013-03-24 08:54:55 -05001290 <object type="partitionlist">
1291 <highlight color="%fileselector_highlight_color%" />
1292 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1293 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1294 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1295 <text>Select Partitions to Mount:</text>
1296 <icon selected="checkbox_true" unselected="checkbox_false" />
1297 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1298 <background color="%listbox_background%" />
1299 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1300 <listtype name="mount" />
1301 </object>
1302
1303 <object type="button">
1304 <highlight color="%highlight_color%" />
1305 <conditions>
1306 <condition var1="tw_is_encrypted" var2="1" />
1307 <condition var1="tw_is_decrypted" var2="0" />
1308 </conditions>
1309 <placement x="%col3_x%" y="row1_y" />
1310 <font resource="font" color="%button_text_color%" />
1311 <text>Decrypt Data</text>
1312 <image resource="main_button" />
1313 <action function="page">decrypt</action>
1314 </object>
1315
Dees_Troy51a0e822012-09-05 15:24:24 -04001316 <object type="button">
1317 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001318 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001319 <font resource="font" color="%button_text_color%" />
1320 <text>Mount USB Storage</text>
1321 <image resource="main_button" />
1322 <action function="page">usb_mount</action>
1323 </object>
1324
1325 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001326 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001327 <fill color="%button_fill_color%" />
1328 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1329 <font resource="font" color="%button_text_color%" />
1330 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1331 <actions>
1332 <action function="set">tw_back=mount</action>
1333 <action function="page">selectstorage</action>
1334 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001335 </object>
1336
1337 <object type="action">
1338 <touch key="home" />
1339 <action function="page">main</action>
1340 </object>
1341
1342 <object type="action">
1343 <touch key="back" />
1344 <action function="page">main</action>
1345 </object>
1346
1347 <object type="template" name="footer" />
1348 </page>
1349
1350 <page name="usb_mount">
1351 <object type="template" name="header" />
1352
1353 <object type="text" color="%text_color%">
1354 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1355 <font resource="font" />
1356 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1357 </object>
1358
1359 <object type="text" color="%text_color%">
1360 <placement x="%col1_x%" y="%row2_text_y%" />
1361 <font resource="font" />
1362 <text></text>
1363 </object>
1364
1365 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001366 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001367 <placement x="%col_center_x%" y="%row1_y%" />
1368 <font resource="font" color="%button_text_color%" />
1369 <text>Unmount</text>
1370 <image resource="main_button" />
1371 <action function="page">usb_umount</action>
1372 </object>
1373
1374 <object type="action">
1375 <action function="mount">usb</action>
1376 </object>
1377
1378 <object type="template" name="footer" />
1379 </page>
1380
1381 <page name="usb_umount">
1382 <object type="action">
1383 <action function="unmount">usb</action>
1384 </object>
1385
1386 <object type="action">
1387 <action function="page">mount</action>
1388 </object>
1389
1390 <object type="template" name="footer" />
1391 </page>
1392
1393 <page name="wipe">
1394 <object type="template" name="header" />
1395
1396 <object type="text" color="%text_color%">
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001399 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <condition var1="tw_has_data_media" var2="0" />
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1406 <text>.android_secure</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <condition var1="tw_has_data_media" var2="1" />
1411 <font resource="font" />
1412 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1413 <text>(not including internal storage)</text>
1414 </object>
1415
1416 <object type="text" color="%text_color%">
1417 <condition var1="tw_has_sdext_partition" var2="1" />
1418 <font resource="font" />
1419 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1420 <text>SD-EXT</text>
1421 </object>
1422
1423 <object type="text" color="%text_color%">
1424 <font resource="font" />
1425 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1426 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 </object>
1428
1429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001430 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001431 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001433 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001435 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 </object>
1437
1438 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <conditions>
1440 <condition var1="tw_has_internal" var2="1" />
1441 <condition var1="tw_has_data_media" var2="1" />
1442 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001443 <highlight color="%highlight_color%" />
1444 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001445 <font resource="font" color="%button_text_color%" />
1446 <text>Format Data</text>
1447 <image resource="main_button" />
1448 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001449 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 </actions>
1451 </object>
1452
Dees_Troya13d74f2013-03-24 08:54:55 -05001453 <object type="text" color="%text_color%">
1454 <font resource="font" />
1455 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1456 <text>Press back button to cancel.</text>
1457 </object>
1458
1459 <object type="slider">
1460 <placement x="%slider_x%" y="%slider_y%" />
1461 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001462 <actions>
1463 <action function="set">tw_back=wipe</action>
1464 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001465 <action function="set">tw_action_param=data</action>
1466 <action function="set">tw_action_text1=Factory Reset...</action>
1467 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1468 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001469 </actions>
1470 </object>
1471
Dees_Troya13d74f2013-03-24 08:54:55 -05001472 <object type="text" color="%text_color%">
1473 <font resource="font" />
1474 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1475 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001476 </object>
1477
1478 <object type="action">
1479 <touch key="home" />
1480 <action function="page">main</action>
1481 </object>
1482
1483 <object type="action">
1484 <touch key="back" />
1485 <action function="page">main</action>
1486 </object>
1487
1488 <object type="template" name="footer" />
1489 </page>
1490
Dees_Troya13d74f2013-03-24 08:54:55 -05001491 <page name="advancedwipe">
1492 <object type="template" name="header" />
1493
1494 <object type="partitionlist">
1495 <highlight color="%fileselector_highlight_color%" />
1496 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1497 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1498 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1499 <text>Select Partitions to Wipe:</text>
1500 <icon selected="checkbox_true" unselected="checkbox_false" />
1501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1502 <background color="%listbox_background%" />
1503 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1504 <data name="tw_wipe_list" />
1505 <listtype name="wipe" />
1506 </object>
1507
1508 <object type="slider">
1509 <placement x="%slider_x%" y="%slider_y%" />
1510 <resource base="slider" used="slider-used" touch="slider-touch" />
1511 <actions>
1512 <action function="set">tw_back=advancedwipe</action>
1513 <action function="set">tw_action=wipe</action>
1514 <action function="set">tw_action_param=LIST</action>
1515 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1516 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1517 <action function="set">tw_complete_text1=Wipe Complete</action>
1518 <action function="page">action_page</action>
1519 </actions>
1520 </object>
1521
1522 <object type="text" color="%text_color%">
1523 <font resource="font" />
1524 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1525 <text>Swipe to Wipe</text>
1526 </object>
1527
1528 <object type="action">
1529 <touch key="home" />
1530 <action function="page">main</action>
1531 </object>
1532
1533 <object type="action">
1534 <touch key="back" />
1535 <action function="page">wipe</action>
1536 </object>
1537
1538 <object type="template" name="footer" />
1539 </page>
1540
1541 <page name="formatdata">
1542 <object type="template" name="header" />
1543
1544 <object type="text" color="%text_color%">
1545 <font resource="font" />
1546 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1547 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1548 </object>
1549
1550 <object type="text" color="%text_color%">
1551 <font resource="font" />
1552 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1553 <text>videos, media, and removes encryption on internal storage.</text>
1554 </object>
1555
1556 <object type="text" color="%text_color%">
1557 <font resource="font" />
1558 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1559 <text>This cannot be undone. Press back to cancel.</text>
1560 </object>
1561
1562 <object type="text" color="%text_color%">
1563 <font resource="font" />
1564 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1565 <text>Type yes to continue.</text>
1566 </object>
1567
1568 <object type="input">
1569 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1570 <background color="%input_background_color%" />
1571 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1572 <font resource="font" color="%text_color%" />
1573 <text>%tw_confirm_formatdata%</text>
1574 <data name="tw_confirm_formatdata" />
1575 <restrict minlen="3" maxlen="3" allow="yes" />
1576 <action function="page">formatdata_confirm</action>
1577 </object>
1578
1579 <object type="template" name="keyboardtemplate" />
1580
1581 <object type="action">
1582 <touch key="home" />
1583 <action function="page">main</action>
1584 </object>
1585
1586 <object type="action">
1587 <touch key="back" />
1588 <action function="page">wipe</action>
1589 </object>
1590
1591 <object type="template" name="footer" />
1592 </page>
1593
1594 <page name="formatdata_confirm">
1595 <object type="action">
1596 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1597 <actions>
1598 <action function="set">tw_back=formatdata</action>
1599 <action function="set">tw_action=wipe</action>
1600 <action function="set">tw_action_param=DATAMEDIA</action>
1601 <action function="set">tw_action_text1=Formatting Data...</action>
1602 <action function="set">tw_complete_text1=Data Format Complete</action>
1603 <action function="page">action_page</action>
1604 </actions>
1605 </object>
1606
1607 <object type="action">
1608 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1609 <action function="page">formatdata</function>
1610 </object>
1611 </page>
1612
Dees_Troy51a0e822012-09-05 15:24:24 -04001613 <page name="backup">
1614 <object type="template" name="header" />
1615
1616 <object type="text" color="%text_color%">
1617 <font resource="font" />
1618 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1619 <text>Back Up Device</text>
1620 </object>
1621
Dees_Troya13d74f2013-03-24 08:54:55 -05001622 <object type="partitionlist">
1623 <highlight color="%fileselector_highlight_color%" />
1624 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1625 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1626 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1627 <text>Select Partitions to Back Up:</text>
1628 <icon selected="checkbox_true" unselected="checkbox_false" />
1629 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1630 <background color="%listbox_background%" />
1631 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1632 <data name="tw_backup_list" />
1633 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001634 </object>
1635
1636 <object type="text" color="%text_color%">
1637 <font resource="font" />
1638 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1639 <text>Backup Name: %tw_backup_name%</text>
1640 </object>
1641
Dees_Troya13d74f2013-03-24 08:54:55 -05001642 <object type="button">
1643 <highlight color="%highlight_color%" />
1644 <placement x="%col3_x%" y="%row1_y%" />
1645 <font resource="font" color="%button_text_color%" />
1646 <text>Refresh Sizes</text>
1647 <image resource="main_button" />
1648 <action function="refreshsizes"></action>
1649 </object>
1650
1651 <object type="button">
1652 <highlight color="%highlight_color%" />
1653 <placement x="%col4_x%" y="%row1_y%" />
1654 <font resource="font" color="%button_text_color%" />
1655 <text>Set Backup Name</text>
1656 <image resource="main_button" />
1657 <actions>
1658 <action function="set">tw_fileexists=0</action>
1659 <action function="page">backupname1</action>
1660 </actions>
1661 </object>
1662
1663 <object type="button">
1664 <highlight color="%highlight_color%" />
1665 <fill color="%button_fill_color%" />
1666 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1667 <font resource="font" color="%button_text_color%" />
1668 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1669 <actions>
1670 <action function="set">tw_back=backup</action>
1671 <action function="page">selectstorage</action>
1672 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001673 </object>
1674
Dees_Troy83bd4832013-05-04 12:39:56 +00001675 <object type="button">
1676 <conditions>
1677 <condition var1="tw_include_encrypted_backup" var2="1" />
1678 <condition var1="tw_encrypt_backup" var2="0" />
1679 </conditions>
1680 <highlight color="%highlight_color%" />
1681 <fill color="%button_fill_color%" />
1682 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1683 <font resource="font" color="%button_text_color%" />
1684 <text>No Encryption</text>
1685 <actions>
1686 <action function="page">backupencryption</action>
1687 </actions>
1688 </object>
1689
1690 <object type="button">
1691 <conditions>
1692 <condition var1="tw_include_encrypted_backup" var2="1" />
1693 <condition var1="tw_encrypt_backup" var2="1" />
1694 </conditions>
1695 <highlight color="%highlight_color%" />
1696 <fill color="%button_fill_color%" />
1697 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1698 <font resource="font" color="%button_text_color%" />
1699 <text>Using Encryption</text>
1700 <actions>
1701 <action function="page">backupencryption</action>
1702 </actions>
1703 </object>
1704
Dees_Troy51a0e822012-09-05 15:24:24 -04001705 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001706 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <font resource="font" color="%text_color%" />
1708 <text>Enable Compression (Requires more time)</text>
1709 <data variable="tw_use_compression" />
1710 <image checked="checkbox_true" unchecked="checkbox_false" />
1711 </object>
1712
1713 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <font resource="font" color="%text_color%" />
1716 <text>Skip MD5 generation on backups</text>
1717 <data variable="tw_skip_md5_generate" />
1718 <image checked="checkbox_true" unchecked="checkbox_false" />
1719 </object>
1720
Dees_Troy51a0e822012-09-05 15:24:24 -04001721 <object type="slider">
1722 <placement x="%slider_x%" y="%slider_y%" />
1723 <resource base="slider" used="slider-used" touch="slider-touch" />
1724 <actions>
1725 <action function="set">tw_operation_state=0</action>
1726 <action function="page">backup_run</action>
1727 </actions>
1728 </object>
1729
1730 <object type="text" color="%text_color%">
1731 <font resource="font" />
1732 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1733 <text>Swipe to Back Up</text>
1734 </object>
1735
Dees_Troy51a0e822012-09-05 15:24:24 -04001736 <object type="action">
1737 <touch key="home" />
1738 <action function="page">main</action>
1739 </object>
1740
1741 <object type="action">
1742 <touch key="back" />
1743 <action function="page">main</action>
1744 </object>
1745
1746 <object type="template" name="footer" />
1747 </page>
1748
1749 <page name="backupname1">
1750 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001751 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1752 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001753 </object>
1754
1755 <object type="action">
1756 <action function="page">backupname2</function>
1757 </object>
1758 </page>
1759
1760 <page name="backupname2">
1761 <object type="template" name="header" />
1762
1763 <object type="text" color="%text_color%">
1764 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1765 <font resource="font" />
1766 <text>Please Enter a Backup Name</text>
1767 </object>
1768
1769 <object type="input">
1770 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1771 <background color="%input_background_color%" />
1772 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1773 <font resource="font" color="%text_color%" />
1774 <text>%tw_backup_name%</text>
1775 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001776 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001777 <actions>
1778 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1779 <action function="set">tw_existpage=backupname2</action>
1780 <action function="set">tw_notexistpage=backup</action>
1781 <action function="page">filecheck</action>
1782 </actions>
1783 </object>
1784
1785 <object type="text" color="%text_fail_color%">
1786 <condition var1="tw_fileexists" var2="1" />
1787 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1788 <font resource="font" />
1789 <text>A backup with that name already exists!</text>
1790 </object>
1791
1792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001793 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001794 <placement x="%col2_x%" y="%cancel_button_y%" />
1795 <font resource="font" color="%button_text_color%" />
1796 <text>Append Date</text>
1797 <image resource="main_button" />
1798 <action function="appenddatetobackupname"></action>
1799 </object>
1800
1801 <object type="button">
1802 <highlight color="%highlight_color%" />
1803 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001804 <font resource="font" color="%button_text_color%" />
1805 <text>Cancel / Clear</text>
1806 <image resource="main_button" />
1807 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001808 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001809 <action function="page">backup</action>
1810 </actions>
1811 </object>
1812
1813 <object type="template" name="keyboardtemplate" />
1814
1815 <object type="action">
1816 <touch key="home" />
1817 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001818 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001819 <action function="page">main</action>
1820 </actions>
1821 </object>
1822
1823 <object type="action">
1824 <touch key="back" />
1825 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001826 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001827 <action function="page">backup</action>
1828 </actions>
1829 </object>
1830
1831 <object type="template" name="footer" />
1832 </page>
1833
Dees_Troy83bd4832013-05-04 12:39:56 +00001834 <page name="backupencryption">
1835 <object type="template" name="header" />
1836
1837 <object type="text" color="%text_color%">
1838 <font resource="font" />
1839 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1840 <text>Encrypt your backup? Please enter a password:</text>
1841 </object>
1842
1843 <object type="input">
1844 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1845 <background color="%input_background_color%" />
1846 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1847 <font resource="font" color="%text_color%" />
1848 <text>%tw_backup_encrypt_display%</text>
1849 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1850 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1851 <action function="page">backupencryption2</action>
1852 </object>
1853
1854 <object type="text" color="%text_fail_color%">
1855 <condition var1="tw_password_not_match" var2="1" />
1856 <font resource="font" />
1857 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1858 <text>Passwords Do Not Match</text>
1859 </object>
1860
1861 <object type="button">
1862 <highlight color="%highlight_color%" />
1863 <placement x="%col_center_x%" y="%cancel_button_y%" />
1864 <font resource="font" color="%button_text_color%" />
1865 <text>Cancel</text>
1866 <image resource="main_button" />
1867 <actions>
1868 <action function="set">tw_encrypt_backup=0</action>
1869 <action function="set">tw_backup_password=</action>
1870 <action function="set">tw_backup_password2=</action>
1871 <action function="set">tw_backup_encrypt_display=</action>
1872 <action function="set">tw_backup_encrypt_display2=</action>
1873 <action function="page">backup</action>
1874 </actions>
1875 </object>
1876
1877 <object type="template" name="keyboardtemplate" />
1878
1879 <object type="action">
1880 <touch key="home" />
1881 <action function="page">main</action>
1882 </object>
1883
1884 <object type="action">
1885 <touch key="back" />
1886 <action function="page">backup</action>
1887 </object>
1888
1889 <object type="template" name="footer" />
1890 </page>
1891
1892 <page name="backupencryption2">
1893 <object type="template" name="header" />
1894
1895 <object type="text" color="%text_color%">
1896 <font resource="font" />
1897 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1898 <text>Encrypt your backup? Please Enter Password Again:</text>
1899 </object>
1900
1901 <object type="input">
1902 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1903 <background color="%input_background_color%" />
1904 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1905 <font resource="font" color="%text_color%" />
1906 <text>%tw_backup_encrypt_display2%</text>
1907 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1908 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1909 <actions>
1910 <action function="page">checkbackuppassword</action>
1911 </actions>
1912 </object>
1913
1914 <object type="button">
1915 <highlight color="%highlight_color%" />
1916 <placement x="%col_center_x%" y="%cancel_button_y%" />
1917 <font resource="font" color="%button_text_color%" />
1918 <text>Cancel</text>
1919 <image resource="main_button" />
1920 <actions>
1921 <action function="set">tw_encrypt_backup=0</action>
1922 <action function="set">tw_backup_password=</action>
1923 <action function="set">tw_backup_password2=</action>
1924 <action function="set">tw_backup_encrypt_display=</action>
1925 <action function="set">tw_backup_encrypt_display2=</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </object>
1929
1930 <object type="template" name="keyboardtemplate" />
1931
1932 <object type="action">
1933 <touch key="home" />
1934 <action function="page">main</action>
1935 </object>
1936
1937 <object type="action">
1938 <touch key="back" />
1939 <action function="page">backup</action>
1940 </object>
1941
1942 <object type="template" name="footer" />
1943 </page>
1944
1945 <page name="checkbackuppassword">
1946 <object type="action">
1947 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1948 <actions>
1949 <action function="set">tw_encrypt_backup=1</action>
1950 <action function="page">backup</action>
1951 </actions>
1952 </object>
1953
1954 <object type="action">
1955 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1956 <actions>
1957 <action function="set">tw_encrypt_backup=0</action>
1958 <action function="set">tw_password_not_match=1</action>
1959 <action function="set">tw_backup_password=</action>
1960 <action function="set">tw_backup_password2=</action>
1961 <action function="set">tw_backup_encrypt_display=</action>
1962 <action function="set">tw_backup_encrypt_display2=</action>
1963 <action function="page">backupencryption</action>
1964 </actions>
1965 </object>
1966 </page>
1967
Dees_Troy51a0e822012-09-05 15:24:24 -04001968 <page name="backup_run">
1969 <object type="template" name="header" />
1970
1971 <object type="text" color="%text_color%">
1972 <font resource="font" />
1973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1974 <text>%tw_operation% %tw_partition%</text>
1975 </object>
1976
1977 <object type="template" name="action_page_console" />
1978
1979 <object type="template" name="progress_bar" />
1980
1981 <object type="action">
1982 <action function="nandroid">backup</action>
1983 </object>
1984
1985 <object type="action">
1986 <condition var1="tw_operation_state" var2="1" />
1987 <actions>
1988 <action function="set">tw_back=backup</action>
1989 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001990 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001991 <action function="page">action_complete</action>
1992 </actions>
1993 </object>
1994
1995 <object type="template" name="footer" />
1996 </page>
1997
1998 <page name="restore">
1999 <object type="template" name="header" />
2000
2001 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002002 <highlight color="%highlight_color%" />
2003 <fill color="%button_fill_color%" />
2004 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2005 <font resource="font" color="%button_text_color%" />
2006 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2007 <actions>
2008 <action function="set">tw_back=restore</action>
2009 <action function="page">selectstorage</action>
2010 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002011 </object>
2012
2013 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002014 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002015 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2016 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002017 <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 -04002018 <text>Select Package to Restore:</text>
2019 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2020 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002021 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002022 <icon folder="folder_icon" file="file_icon" />
2023 <background color="%fileselector_background%" />
2024 <filter folders="1" files="0" nav="0" />
2025 <path name="tw_backups_folder" />
2026 <data name="tw_restore" default="" />
2027 <selection name="tw_restore_name" />
2028 </object>
2029
2030 <object type="template" name="sort_options" />
2031
2032 <object type="action">
2033 <condition var1="tw_restore" op="modified" />
2034 <actions>
2035 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002036 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 </actions>
2038 </object>
2039
2040 <object type="action">
2041 <touch key="home" />
2042 <action function="page">main</action>
2043 </object>
2044
2045 <object type="action">
2046 <touch key="back" />
2047 <action function="page">main</action>
2048 </object>
2049
2050 <object type="template" name="footer" />
2051 </page>
2052
Dees_Troy83bd4832013-05-04 12:39:56 +00002053 <page name="restore_read">
2054 <object type="action">
2055 <condition var1="tw_restore_encrypted" var2="1" />
2056 <actions>
2057 <action function="set">tw_password_fail=0</action>
2058 <action function="page">restore_decrypt</action>
2059 </actions>
2060 </object>
2061
2062 <object type="action">
2063 <condition var1="tw_restore_encrypted" var2="0" />
2064 <actions>
2065 <action function="page">restore_select</action>
2066 </actions>
2067 </object>
2068 </page>
2069
2070 <page name="restore_decrypt">
2071 <object type="template" name="header" />
2072
2073 <object type="text" color="%text_color%">
2074 <font resource="font" />
2075 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2076 <text>Backup encrypted. Please enter your password:</text>
2077 </object>
2078
2079 <object type="input">
2080 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2081 <background color="%input_background_color%" />
2082 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2083 <font resource="font" color="%text_color%" />
2084 <text>%tw_restore_display%</text>
2085 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2086 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2087 <actions>
2088 <action function="page">try_restore_decrypt</action>
2089 </actions>
2090 </object>
2091
2092 <object type="text" color="%text_fail_color%">
2093 <condition var1="tw_password_fail" var2="1" />
2094 <font resource="font" />
2095 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2096 <text>Password Failed, Please Try Again</text>
2097 </object>
2098
2099 <object type="button">
2100 <highlight color="%highlight_color%" />
2101 <placement x="%col2_x%" y="%cancel_button_y%" />
2102 <font resource="font" color="%button_text_color%" />
2103 <text>Cancel</text>
2104 <image resource="main_button" />
2105 <actions>
2106 <action function="set">tw_page_done=1</action>
2107 <action function="page">restore</action>
2108 </actions>
2109 </object>
2110
2111 <object type="button">
2112 <highlight color="%highlight_color%" />
2113 <placement x="%col3_x%" y="%cancel_button_y%" />
2114 <font resource="font" color="%button_text_color%" />
2115 <text>Delete</text>
2116 <image resource="main_button" />
2117 <actions>
2118 <action function="set">tw_back=restore</action>
2119 <action function="set">tw_action=cmd</action>
2120 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2121 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2122 <action function="set">tw_text2=This cannot be undone!</action>
2123 <action function="set">tw_action_text1=Deleting Backup...</action>
2124 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2125 <action function="set">tw_slider_text=Swipe to Delete</action>
2126 <action function="page">confirm_action</action>
2127 </actions>
2128 </object>
2129
2130 <object type="template" name="keyboardtemplate" />
2131
2132 <object type="action">
2133 <touch key="home" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="action">
2138 <touch key="back" />
2139 <action function="page">restore</action>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
2145 <page name="try_restore_decrypt">
2146 <object type="template" name="header" />
2147
2148 <object type="text" color="%text_color%">
2149 <font resource="font" />
2150 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2151 <text>Trying Decryption with Your Password</text>
2152 </object>
2153
2154 <object type="template" name="action_page_console" />
2155
2156 <object type="template" name="progress_bar" />
2157
2158 <object type="action">
2159 <action function="decrypt_backup"></action>
2160 </object>
2161
2162 <object type="action">
2163 <conditions>
2164 <condition var1="tw_operation_state" var2="1" />
2165 <condition var1="tw_operation_status" op="!=" var2="0" />
2166 </conditions>
2167 <actions>
2168 <action function="set">tw_password_fail=1</action>
2169 <action function="page">restore_decrypt</action>
2170 </actions>
2171 </object>
2172
2173 <object type="action">
2174 <conditions>
2175 <condition var1="tw_operation_state" var2="1" />
2176 <condition var1="tw_operation_status" op="=" var2="0" />
2177 </conditions>
2178 <actions>
2179 <action function="set">tw_page_done=1</action>
2180 <action function="page">restore_select</action>
2181 </actions>
2182 </object>
2183 </page>
2184
Dees_Troy51a0e822012-09-05 15:24:24 -04002185 <page name="restore_select">
2186 <object type="template" name="header" />
2187
2188 <object type="text" color="%text_color%">
2189 <font resource="font" />
2190 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2191 <text>Package to Restore: %tw_restore_name%</text>
2192 </object>
2193
2194 <object type="text" color="%text_color%">
2195 <font resource="font" />
2196 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2197 <text>Package Date: %tw_restore_file_date%</text>
2198 </object>
2199
Dees_Troya13d74f2013-03-24 08:54:55 -05002200 <object type="partitionlist">
2201 <highlight color="%fileselector_highlight_color%" />
2202 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2204 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2205 <text>Select Partitions to Restore:</text>
2206 <icon selected="checkbox_true" unselected="checkbox_false" />
2207 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2208 <background color="%listbox_background%" />
2209 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2210 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2211 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002212 </object>
2213
2214 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002215 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <font resource="font" color="%text_color%" />
2217 <text>Enable MD5 checking of backup files</text>
2218 <data variable="tw_skip_md5_check" />
2219 <image checked="checkbox_true" unchecked="checkbox_false" />
2220 </object>
2221
2222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <placement x="%col4_x%" y="%row1_y%" />
2225 <font resource="font" color="%button_text_color%" />
2226 <text>Rename Backup</text>
2227 <image resource="main_button" />
2228 <actions>
2229 <action function="set">tw_backup_rename=</action>
2230 <action function="set">tw_fileexists=0</action>
2231 <action function="page">renamebackup</action>
2232 </actions>
2233 </object>
2234
2235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002236 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002237 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002238 <font resource="font" color="%button_text_color%" />
2239 <text>Delete Backup</text>
2240 <image resource="main_button" />
2241 <actions>
2242 <action function="set">tw_back=restore</action>
2243 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002244 <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 -04002245 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2246 <action function="set">tw_text2=This cannot be undone!</action>
2247 <action function="set">tw_action_text1=Deleting Backup...</action>
2248 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2249 <action function="set">tw_slider_text=Swipe to Delete</action>
2250 <action function="page">confirm_action</action>
2251 </actions>
2252 </object>
2253
2254 <object type="slider">
2255 <placement x="%slider_x%" y="%slider_y%" />
2256 <resource base="slider" used="slider-used" touch="slider-touch" />
2257 <action function="page">restore_run</action>
2258 </object>
2259
2260 <object type="text" color="%text_color%">
2261 <font resource="font" />
2262 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2263 <text>Swipe to Restore</text>
2264 </object>
2265
2266 <object type="action">
2267 <touch key="home" />
2268 <action function="page">main</action>
2269 </object>
2270
2271 <object type="action">
2272 <touch key="back" />
2273 <action function="page">restore</action>
2274 </object>
2275
2276 <object type="template" name="footer" />
2277 </page>
2278
2279 <page name="renamebackup">
2280 <object type="template" name="header" />
2281
2282 <object type="text" color="%text_color%">
2283 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2284 <font resource="font" />
2285 <text>Please Enter a New Backup Name</text>
2286 </object>
2287
2288 <object type="input">
2289 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2290 <background color="%input_background_color%" />
2291 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2292 <font resource="font" color="%text_color%" />
2293 <text>%tw_backup_rename%</text>
2294 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002295 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002296 <actions>
2297 <action function="set">tw_back=restore</action>
2298 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002299 <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 -04002300 <action function="set">tw_text1=Rename Backup?</action>
2301 <action function="set">tw_text2=This cannot be undone!</action>
2302 <action function="set">tw_action_text1=Renaming Backup...</action>
2303 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2304 <action function="set">tw_slider_text=Swipe to Rename</action>
2305 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2306 <action function="set">tw_existpage=renamebackup</action>
2307 <action function="set">tw_notexistpage=confirm_action</action>
2308 <action function="page">filecheck</action>
2309 </actions>
2310 </object>
2311
2312 <object type="text" color="%text_fail_color%">
2313 <condition var1="tw_fileexists" var2="1" />
2314 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2315 <font resource="font" />
2316 <text>A backup with that name already exists!</text>
2317 </object>
2318
2319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002320 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <placement x="%col_center_x%" y="%cancel_button_y%" />
2322 <font resource="font" color="%button_text_color%" />
2323 <text>Cancel</text>
2324 <image resource="main_button" />
2325 <action function="page">restore_select</action>
2326 </object>
2327
2328 <object type="template" name="keyboardtemplate" />
2329
2330 <object type="action">
2331 <touch key="home" />
2332 <action function="page">main</action>
2333 </object>
2334
2335 <object type="action">
2336 <touch key="back" />
2337 <action function="page">restore_select</action>
2338 </object>
2339
2340 <object type="template" name="footer" />
2341 </page>
2342
2343 <page name="restore_run">
2344 <object type="template" name="header" />
2345
2346 <object type="text" color="%text_color%">
2347 <font resource="font" />
2348 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2349 <text>%tw_operation% %tw_partition%</text>
2350 </object>
2351
2352 <object type="template" name="action_page_console" />
2353
2354 <object type="template" name="progress_bar" />
2355
2356 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002357 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <actions>
2359 <action function="set">tw_back=restore_select</action>
2360 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002361 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002362 <action function="page">action_complete</action>
2363 </actions>
2364 </object>
2365
2366 <object type="action">
2367 <action function="nandroid">restore</action>
2368 </object>
2369 </page>
2370
2371 <page name="settings">
2372 <object type="template" name="header" />
2373
2374 <object type="text" color="%text_color%">
2375 <font resource="font" />
2376 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2377 <text>Settings</text>
2378 </object>
2379
2380 <object type="checkbox">
2381 <placement x="%col1_x%" y="%row2_text_y%" />
2382 <font resource="font" color="%text_color%" />
2383 <text>Zip file signature verification?</text>
2384 <data variable="tw_signed_zip_verify" />
2385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
2389 <placement x="%col1_x%" y="%row3_text_y%" />
2390 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <text>Use rm -rf instead of formatting?</text>
2392 <data variable="tw_rm_rf" />
2393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002397 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
2399 <text>Skip MD5 generation on backups</text>
2400 <data variable="tw_skip_md5_generate" />
2401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002405 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
2407 <text>Enable MD5 checking of backup files</text>
2408 <data variable="tw_skip_md5_check" />
2409 <image checked="checkbox_true" unchecked="checkbox_false" />
2410 </object>
2411
2412 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002413 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002415 <text>Use Military Time</text>
2416 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002421 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
2423 <text>Simulate most actions for theme testing</text>
2424 <data variable="tw_simulate_actions" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
2429 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002430 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <font resource="font" color="%text_color%" />
2432 <text>Simulate failure for actions</text>
2433 <data variable="tw_simulate_fail" />
2434 <image checked="checkbox_true" unchecked="checkbox_false" />
2435 </object>
2436
2437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <placement x="%col1_x%" y="%row2_y%" />
2440 <font resource="font" color="%button_text_color%" />
2441 <text>Time Zone</text>
2442 <image resource="main_button" />
2443 <action function="page">timezone</action>
2444 </object>
2445
2446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002447 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002448 <placement x="%col2_x%" y="%row2_y%" />
2449 <font resource="font" color="%button_text_color%" />
2450 <text>Restore Defaults</text>
2451 <image resource="main_button" />
2452 <action function="restoredefaultsettings"></action>
2453 </object>
2454
2455 <object type="button">
2456 <highlight color="%highlight_color%" />
2457 <placement x="%col3_x%" y="%row2_y%" />
2458 <font resource="font" color="%button_text_color%" />
2459 <text>Vibration Duration</text>
2460 <image resource="main_button" />
2461 <action function="page">Vibrate</action>
2462 </object>
2463
2464 <object type="button">
2465 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002466 <placement x="%col4_x%" y="%row2_y%" />
2467 <font resource="font" color="%button_text_color%" />
2468 <text>Screen</text>
2469 <image resource="main_button" />
2470 <action function="page">screen</action>
2471 </object>
2472
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <object type="action">
2474 <touch key="home" />
2475 <action function="page">main</action>
2476 </object>
2477
2478 <object type="action">
2479 <touch key="back" />
2480 <action function="page">main</action>
2481 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002482
Dees_Troy51a0e822012-09-05 15:24:24 -04002483 <object type="template" name="footer" />
2484 </page>
2485
2486 <page name="timezone">
2487 <object type="template" name="header" />
2488
2489 <object type="text" color="%text_color%">
2490 <font resource="font" />
2491 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2492 <text>Select Time Zone</text>
2493 </object>
2494
2495 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002499 <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 -06002500 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002504 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <data name="tw_time_zone_guisel" />
2506 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2507 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2508 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2509 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2510 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2511 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2512 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2513 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2514 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2515 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2516 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2517 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2518 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2519 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2520 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2521 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2522 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2523 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2524 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2525 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2526 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2527 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2528 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2529 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2530 </object>
2531
2532 <object type="checkbox">
2533 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2534 <font resource="font" color="%text_color%" />
2535 <text>Do you use daylight savings time (DST)?</text>
2536 <data variable="tw_time_zone_guidst" />
2537 <image checked="checkbox_true" unchecked="checkbox_false" />
2538 </object>
2539
2540 <object type="text" color="%text_color%">
2541 <font resource="font" />
2542 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2543 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2549 <font resource="font" color="%button_text_color%" />
2550 <text>0</text>
2551 <image resource="medium_button" />
2552 <action function="set">tw_time_zone_guioffset=0</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2558 <font resource="font" color="%button_text_color%" />
2559 <text>15</text>
2560 <image resource="medium_button" />
2561 <action function="set">tw_time_zone_guioffset=15</action>
2562 </object>
2563
2564 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002565 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2567 <font resource="font" color="%button_text_color%" />
2568 <text>30</text>
2569 <image resource="medium_button" />
2570 <action function="set">tw_time_zone_guioffset=30</action>
2571 </object>
2572
2573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002574 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002575 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2576 <font resource="font" color="%button_text_color%" />
2577 <text>45</text>
2578 <image resource="medium_button" />
2579 <action function="set">tw_time_zone_guioffset=45</action>
2580 </object>
2581
2582 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002583 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002584 <placement x="%col4_x%" y="%row2_y%" />
2585 <font resource="font" color="%button_text_color%" />
2586 <text>Set Time Zone</text>
2587 <image resource="main_button" />
2588 <action function="setguitimezone"></action>
2589 </object>
2590
2591 <object type="text" color="%text_color%">
2592 <font resource="font" />
2593 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2594 <text>Current Time Zone: %tw_time_zone%</text>
2595 </object>
2596
2597 <object type="action">
2598 <touch key="home" />
2599 <action function="page">main</action>
2600 </object>
2601
2602 <object type="action">
2603 <touch key="back" />
2604 <action function="page">settings</action>
2605 </object>
2606
2607 <object type="template" name="footer" />
2608 </page>
2609
Dees_Troy2f9117a2013-02-17 19:52:09 -06002610 <page name="screen">
2611 <object type="template" name="header" />
2612
2613 <object type="text" color="%text_color%">
2614 <font resource="font" />
2615 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2616 <text>Screen Settings</text>
2617 </object>
2618
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002620 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2621 <font resource="font" color="%text_color%" />
2622 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002623 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <text>Enable screen timeout.</text>
2625 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002626 <action function="set">tw_screen_timeout_secs=60</action>
2627 </object>
2628
2629 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002630 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2631 <font resource="font" color="%text_color%" />
2632 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002633 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <text>Enable screen timeout.</text>
2635 <image resource="checkbox_true" />
2636 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002637 </object>
2638
Vojtech Bocek85932342013-04-01 22:11:33 +02002639 <object type="slidervalue">
2640 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002641 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2643 <font resource="font" color="%text_color%" />
2644 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2645 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2646 <text>Screen timeout in seconds:</text>
2647 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002648 </object>
2649
Vojtech Bocek85932342013-04-01 22:11:33 +02002650 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002651 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002652 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2653 <font resource="font" color="%text_color%" />
2654 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2655 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2656 <text>Brightness: %tw_brightness_pct%%</text>
2657 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002658 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002659 <action function="set">tw_brightness=%tw_brightness_max%</action>
2660 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2661 <action function="compute">tw_brightness/100</action>
2662 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002663 </actions>
2664 </object>
2665
2666 <object type="action">
2667 <touch key="home" />
2668 <action function="page">main</action>
2669 </object>
2670
2671 <object type="action">
2672 <touch key="back" />
2673 <action function="page">settings</action>
2674 </object>
2675
2676 <object type="template" name="footer" />
2677 </page>
2678
Ethan Yonker03db3262014-02-05 08:02:06 -06002679 <page name="Vibrate">
2680 <object type="template" name="header" />
2681
2682 <object type="text" color="%text_color%">
2683 <font resource="font" />
2684 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2685 <text>Vibration Settings :</text>
2686 </object>
2687
2688 <object type="slidervalue">
2689 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2690 <font resource="font" color="%text_color%" />
2691 <text>Button Vibration:</text>
2692 <data variable="tw_button_vibrate" min="0" max="300" />
2693 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2694 </object>
2695
2696 <object type="slidervalue">
2697 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2698 <font resource="font" color="%text_color%" />
2699 <text>Keyboard Vibration:</text>
2700 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2701 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2702 </object>
2703
2704 <object type="slidervalue">
2705 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2706 <font resource="font" color="%text_color%" />
2707 <text>Action Vibration:</text>
2708 <data variable="tw_action_vibrate" min="0" max="500" />
2709 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2710 </object>
2711
2712 <object type="action">
2713 <touch key="home" />
2714 <action function="page">main</action>
2715 </object>
2716
2717 <object type="action">
2718 <touch key="back" />
2719 <action function="page">settings</action>
2720 </object>
2721
2722 <object type="template" name="footer" />
2723 </page>
2724
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <page name="advanced">
2726 <object type="template" name="header" />
2727
2728 <object type="text" color="%text_color%">
2729 <font resource="font" />
2730 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2731 <text>Advanced</text>
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="%col1_x%" y="%row1_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Copy Log to SD</text>
2739 <image resource="main_button" />
2740 <actions>
2741 <action function="set">tw_back=advanced</action>
2742 <action function="set">tw_action=copylog</action>
2743 <action function="set">tw_text1=Copy Log to SD Card?</action>
2744 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2745 <action function="set">tw_complete_text1=Log Copy Complete</action>
2746 <action function="set">tw_slider_text=Swipe to Confirm</action>
2747 <action function="page">confirm_action</action>
2748 </actions>
2749 </object>
2750
2751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <placement x="%col2_x%" y="%row1_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text>Fix Permissions</text>
2756 <image resource="main_button" />
2757 <actions>
2758 <action function="set">tw_back=advanced</action>
2759 <action function="set">tw_action=fixpermissions</action>
2760 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2763 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002764 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <action function="page">confirm_action</action>
2766 </actions>
2767 </object>
2768
2769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%col3_x%" y="%row1_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Terminal Command</text>
2774 <image resource="main_button" />
2775 <action function="page">terminalfolder</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002780 <placement x="%col4_x%" y="%row1_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>ADB Sideload</text>
2783 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002784 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <condition var1="tw_allow_partition_sdcard" var2="1" />
2790 <placement x="%col1_x%" y="%row2_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text>Partition SD Card</text>
2793 <image resource="main_button" />
2794 <action function="page">partsdcard</action>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <placement x="%col2_x%" y="%row2_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>File Manager</text>
2802 <image resource="main_button" />
2803 <action function="page">filemanagerlist</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002808 <placement x="%col3_x%" y="%row2_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>Reload Theme</text>
2811 <image resource="main_button" />
2812 <action function="reload"></action>
2813 </object>
2814
2815 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002816 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002817 <condition var1="tw_show_dumlock" var2="1" />
2818 <placement x="%col4_x%" y="%row2_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>HTC Dumlock</text>
2821 <image resource="main_button" />
2822 <action function="page">htcdumlock</action>
2823 </object>
2824
2825 <object type="action">
2826 <touch key="home" />
2827 <action function="page">main</action>
2828 </object>
2829
2830 <object type="action">
2831 <touch key="back" />
2832 <action function="page">main</action>
2833 </object>
2834
2835 <object type="template" name="footer" />
2836 </page>
2837
2838 <page name="partsdcard">
2839 <object type="template" name="header" />
2840
2841 <object type="text" color="%text_color%">
2842 <font resource="font" />
2843 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2844 <text>Partition SD Card</text>
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 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2850 <font resource="font" color="%button_text_color%" />
2851 <text></text>
2852 <image resource="minus_button" />
2853 <action function="addsubtract">tw_sdext_size-128</action>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text></text>
2861 <image resource="plus_button" />
2862 <action function="addsubtract">tw_sdext_size+128</action>
2863 </object>
2864
2865 <object type="text" color="%text_color%">
2866 <font resource="font" />
2867 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2868 <text>EXT Size: %tw_sdext_size%</text>
2869 </object>
2870
2871 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002872 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002873 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2874 <font resource="font" color="%button_text_color%" />
2875 <text></text>
2876 <image resource="minus_button" />
2877 <action function="addsubtract">tw_swap_size-32</action>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="plus_button" />
2886 <action function="addsubtract">tw_swap_size+32</action>
2887 </object>
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2892 <text>Swap Size: %tw_swap_size%</text>
2893 </object>
2894
2895 <object type="text" color="%text_color%">
2896 <font resource="font" />
2897 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2898 <text>File system: %tw_sdpart_file_system%</text>
2899 </object>
2900
2901 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002902 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002903 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2904 <font resource="font" color="%button_text_color%" />
2905 <text>EXT3</text>
2906 <image resource="medium_button" />
2907 <action function="set">tw_sdpart_file_system=ext3</action>
2908 </object>
2909
2910 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002911 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002912 <condition var1="tw_sdext_disable_ext4" var2="0" />
2913 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>EXT4</text>
2916 <image resource="medium_button" />
2917 <action function="set">tw_sdpart_file_system=ext4</action>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2923 <text>You will lose all files on your SD card!</text>
2924 </object>
2925
2926 <object type="text" color="%text_color%">
2927 <font resource="font" />
2928 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2929 <text>This action cannot be undone!</text>
2930 </object>
2931
2932 <object type="slider">
2933 <placement x="%slider_x%" y="%slider_y%" />
2934 <resource base="slider" used="slider-used" touch="slider-touch" />
2935 <actions>
2936 <action function="set">tw_back=partsdcard</action>
2937 <action function="set">tw_action=partitionsd</action>
2938 <action function="set">tw_has_action2=1</action>
2939 <action function="set">tw_action2=set</action>
2940 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2941 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2942 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002943 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <action function="page">action_page</action>
2945 </actions>
2946 </object>
2947
2948 <object type="text" color="%text_color%">
2949 <font resource="font" />
2950 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2951 <text>Swipe to Confirm Partition</text>
2952 </object>
2953
2954 <object type="action">
2955 <touch key="home" />
2956 <action function="page">main</action>
2957 </object>
2958
2959 <object type="action">
2960 <touch key="back" />
2961 <action function="page">advanced</action>
2962 </object>
2963
2964 <object type="template" name="footer" />
2965 </page>
2966
2967
2968 <page name="htcdumlock">
2969 <object type="template" name="header" />
2970
2971 <object type="text" color="%text_color%">
2972 <font resource="font" />
2973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2974 <text>HTC Dumlock</text>
2975 </object>
2976
2977 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002978 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <condition var1="tw_show_dumlock" var2="1" />
2980 <placement x="%col1_x%" y="%row1_y%" />
2981 <font resource="font" color="%button_text_color%" />
2982 <text>Restore Original Boot</text>
2983 <image resource="main_button" />
2984 <actions>
2985 <action function="set">tw_back=htcdumlock</action>
2986 <action function="set">tw_action=htcdumlockrestoreboot</action>
2987 <action function="set">tw_text1=Restore original boot image?</action>
2988 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2989 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2990 <action function="set">tw_slider_text=Swipe to Confirm</action>
2991 <action function="page">confirm_action</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002996 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <condition var1="tw_show_dumlock" var2="1" />
2998 <placement x="%col2_x%" y="%row1_y%" />
2999 <font resource="font" color="%button_text_color%" />
3000 <text>Reflash Recovery->Boot</text>
3001 <image resource="main_button" />
3002 <actions>
3003 <action function="set">tw_back=htcdumlock</action>
3004 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3005 <action function="set">tw_text1=Reflash recovery to boot?</action>
3006 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3007 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3008 <action function="set">tw_slider_text=Swipe to Confirm</action>
3009 <action function="page">confirm_action</action>
3010 </actions>
3011 </object>
3012
3013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003014 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003015 <condition var1="tw_show_dumlock" var2="1" />
3016 <placement x="%col1_x%" y="%row2_y%" />
3017 <font resource="font" color="%button_text_color%" />
3018 <text>Install HTC Dumlock</text>
3019 <image resource="main_button" />
3020 <actions>
3021 <action function="set">tw_back=htcdumlock</action>
3022 <action function="set">tw_action=installhtcdumlock</action>
3023 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3024 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3025 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3026 <action function="set">tw_slider_text=Swipe to Confirm</action>
3027 <action function="page">confirm_action</action>
3028 </actions>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="home" />
3033 <action function="page">main</action>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="back" />
3038 <action function="page">advanced</action>
3039 </object>
3040
3041 <object type="template" name="footer" />
3042 </page>
3043
3044 <page name="lock">
3045 <background color="#000000A0" />
3046
3047 <object type="image">
3048 <image resource="unlock-icon" />
3049 <placement x="%lock_x%" y="%lock_y%" />
3050 </object>
3051
3052 <object type="slider">
3053 <placement x="%slider_x%" y="%slider_y%" />
3054 <resource base="slider" used="slider-used" touch="slider-touch" />
3055 <action function="overlay"></action>
3056 </object>
3057
3058 <object type="text" color="%text_color%">
3059 <font resource="font" />
3060 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3061 <text>Swipe to Unlock</text>
3062 </object>
3063 </page>
3064
3065
3066 <page name="filemanagerlist">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3072 <text>File Manager: Select a File or Folder</text>
3073 </object>
3074
3075 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003076 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3078 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003079 <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 -04003080 <text>Folders:</text>
3081 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3082 <sort name="tw_gui_sort_order" />
3083 <icon folder="folder_icon" file="file_icon" />
3084 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003085 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <filter folders="1" files="0" />
3087 <path name="tw_file_location1" default="/sdcard" />
3088 <data name="select" />
3089 <selection name="tw_selection1" />
3090 </object>
3091
3092 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003093 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3095 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003096 <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 -04003097 <text>%tw_file_location1%</text>
3098 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3099 <sort name="tw_gui_sort_order" />
3100 <icon folder="folder_icon" file="file_icon" />
3101 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003102 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <filter folders="0" files="1" />
3104 <path name="tw_file_location1" default="/" />
3105 <data name="tw_filename1" />
3106 <selection name="tw_selection1" />
3107 </object>
3108
3109 <object type="template" name="sort_options" />
3110
3111 <object type="action">
3112 <actions>
3113 <action function="set">tw_fm_type=File</action>
3114 <action function="set">tw_fm_isfolder=0</action>
3115 </actions>
3116 </object>
3117
3118 <object type="action">
3119 <touch key="home" />
3120 <action function="page">main</action>
3121 </object>
3122
3123 <object type="action">
3124 <touch key="back" />
3125 <action function="page">advanced</action>
3126 </object>
3127
3128 <object type="action">
3129 <condition var1="tw_filename1" op="modified" />
3130 <actions>
3131 <action function="page">filemanageroptions</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>Select Folder</text>
3140 <image resource="main_button" />
3141 <actions>
3142 <action function="set">tw_filename1=tw_file_location1</action>
3143 <action function="set">tw_fm_isfolder=1</action>
3144 <action function="set">tw_fm_type=Folder</action>
3145 <action function="page">filemanageroptions</action>
3146 </actions>
3147 </object>
3148
3149 <object type="template" name="footer" />
3150 </page>
3151
3152 <page name="filemanageroptions">
3153 <object type="template" name="header" />
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3158 <text>%tw_fm_type% Selected:</text>
3159 </object>
3160
3161 <object type="text" color="%text_color%">
3162 <font resource="font" />
3163 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3164 <text>%tw_filename1%</text>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003169 <condition var1="tw_fm_isfolder" var2="0" />
3170 <placement x="%col1_x%" y="%row2_y%" />
3171 <font resource="font" color="%button_text_color%" />
3172 <text>Copy File</text>
3173 <image resource="main_button" />
3174 <actions>
3175 <action function="set">tw_filemanager_command=cp</action>
3176 <action function="set">tw_fm_text1=Copying</action>
3177 <action function="page">choosedestinationfolder</action>
3178 </actions>
3179 </object>
3180
3181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003183 <condition var1="tw_fm_isfolder" var2="1" />
3184 <placement x="%col1_x%" y="%row2_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Copy Folder</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3190 <action function="set">tw_fm_text1=Copying</action>
3191 <action function="page">choosedestinationfolder</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 <placement x="%col2_x%" y="%row2_y%" />
3198 <font resource="font" color="%button_text_color%" />
3199 <text>Move</text>
3200 <image resource="main_button" />
3201 <actions>
3202 <action function="set">tw_filemanager_command=mv</action>
3203 <action function="set">tw_fm_text1=Moving</action>
3204 <action function="page">choosedestinationfolder</action>
3205 </actions>
3206 </object>
3207
3208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003210 <placement x="%col3_x%" y="%row2_y%" />
3211 <font resource="font" color="%button_text_color%" />
3212 <text>chmod 755</text>
3213 <image resource="main_button" />
3214 <actions>
3215 <action function="set">tw_filemanager_command=chmod 755</action>
3216 <action function="set">tw_fm_text1=chmod 755</action>
3217 <action function="set">tw_fm_text2=</action>
3218 <action function="set">tw_fm_text3=</action>
3219 <action function="set">tw_include_text3=0</action>
3220 <action function="set">tw_back=filemanageroptions</action>
3221 <action function="page">filemanagerconfirm</action>
3222 </actions>
3223 </object>
3224
3225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003227 <placement x="%col4_x%" y="%row2_y%" />
3228 <font resource="font" color="%button_text_color%" />
3229 <text>chmod</text>
3230 <image resource="main_button" />
3231 <actions>
3232 <action function="set">tw_filemanager_rename=0000</action>
3233 <action function="set">tw_fm_text2=</action>
3234 <action function="set">tw_fm_text3=</action>
3235 <action function="set">tw_include_text3=0</action>
3236 <action function="set">tw_back=filemanageroptions</action>
3237 <action function="page">filemanagerchmod</action>
3238 </actions>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%col1_x%" y="%row1_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text>Delete</text>
3246 <image resource="main_button" />
3247 <actions>
3248 <action function="set">tw_filemanager_command=rm -rf</action>
3249 <action function="set">tw_fm_text1=Deleting</action>
3250 <action function="set">tw_fm_text2=</action>
3251 <action function="set">tw_fm_text3=</action>
3252 <action function="set">tw_include_text3=0</action>
3253 <action function="set">tw_back=filemanageroptions</action>
3254 <action function="page">filemanagerconfirm</action>
3255 </actions>
3256 </object>
3257
3258 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003259 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003260 <condition var1="tw_fm_isfolder" var2="0" />
3261 <placement x="%col4_x%" y="%row1_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Rename File</text>
3264 <image resource="main_button" />
3265 <actions>
3266 <action function="set">tw_filemanager_rename=tw_selection1</action>
3267 <action function="set">tw_fm_text1=Renaming</action>
3268 <action function="set">tw_filemanager_command=mv</action>
3269 <action function="page">filemanagerrenamefile</action>
3270 </actions>
3271 </object>
3272
3273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003275 <condition var1="tw_fm_isfolder" var2="1" />
3276 <placement x="%col4_x%" y="%row1_y%" />
3277 <font resource="font" color="%button_text_color%" />
3278 <text>Rename Folder</text>
3279 <image resource="main_button" />
3280 <actions>
3281 <action function="set">tw_filemanager_rename=tw_selection1</action>
3282 <action function="set">tw_fm_text1=Renaming</action>
3283 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3284 <action function="page">filemanagerrenamefolder</action>
3285 </actions>
3286 </object>
3287
3288 <object type="action">
3289 <touch key="home" />
3290 <action function="page">main</action>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="back" />
3295 <action function="page">filemanagerlist</action>
3296 </object>
3297
3298 <object type="template" name="footer" />
3299 </page>
3300
3301 <page name="choosedestinationfolder">
3302 <object type="template" name="header" />
3303
3304 <object type="text" color="%text_color%">
3305 <font resource="font" />
3306 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3307 <text>Browse to Destination Folder & Press Select</text>
3308 </object>
3309
3310 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003311 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3313 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003314 <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 -04003315 <text>%tw_file_location2%</text>
3316 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3317 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003318 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003319 <icon folder="folder_icon" file="file_icon" />
3320 <background color="%fileselector_background%" />
3321 <filter folders="1" files="0" />
3322 <path name="tw_file_location2" default="/sdcard" />
3323 <data name="tw_filename2" />
3324 </object>
3325
3326 <object type="template" name="sort_options" />
3327
3328 <object type="action">
3329 <touch key="home" />
3330 <action function="page">main</action>
3331 </object>
3332
3333 <object type="action">
3334 <touch key="back" />
3335 <action function="page">filemanageroptions</action>
3336 </object>
3337
3338 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3341 <font resource="font" color="%button_text_color%" />
3342 <text>Select Folder</text>
3343 <image resource="main_button" />
3344 <actions>
3345 <action function="set">tw_fm_text2=to</action>
3346 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3347 <action function="set">tw_include_text3=1</action>
3348 <action function="set">tw_back=filemanageroptions</action>
3349 <action function="page">filemanagerconfirm</action>
3350 </actions>
3351 </object>
3352
3353 <object type="template" name="footer" />
3354 </page>
3355
3356 <page name="filemanagerrenamefile">
3357 <object type="template" name="header" />
3358
3359 <object type="text" color="%text_color%">
3360 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3361 <font resource="font" />
3362 <text>Please Enter a New %tw_fm_type% Name</text>
3363 </object>
3364
3365 <object type="input">
3366 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3367 <background color="%input_background_color%" />
3368 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3369 <font resource="font" color="%text_color%" />
3370 <text>%tw_filemanager_rename%</text>
3371 <data name="tw_filemanager_rename" />
3372 <restrict minlen="1" maxlen="128" />
3373 <actions>
3374 <action function="set">tw_fm_text2=to</action>
3375 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3376 <action function="set">tw_include_text3=1</action>
3377 <action function="set">tw_back=filemanageroptions</action>
3378 <action function="page">filemanagerconfirm</action>
3379 </actions>
3380 </object>
3381
3382 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003383 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003384 <placement x="%col_center_x%" y="%cancel_button_y%" />
3385 <font resource="font" color="%button_text_color%" />
3386 <text>Cancel</text>
3387 <image resource="main_button" />
3388 <action function="page">filemanageroptions</action>
3389 </object>
3390
3391 <object type="template" name="keyboardtemplate" />
3392
3393 <object type="action">
3394 <touch key="home" />
3395 <action function="page">main</action>
3396 </object>
3397
3398 <object type="action">
3399 <touch key="back" />
3400 <action function="page">filemanageroptions</action>
3401 </object>
3402
3403 <object type="template" name="footer" />
3404 </page>
3405
3406 <page name="filemanagerrenamefolder">
3407 <object type="template" name="header" />
3408
3409 <object type="text" color="%text_color%">
3410 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3411 <font resource="font" />
3412 <text>Please Enter a New %tw_fm_type% Name</text>
3413 </object>
3414
3415 <object type="input">
3416 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3417 <background color="%input_background_color%" />
3418 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3419 <font resource="font" color="%text_color%" />
3420 <text>%tw_filemanager_rename%</text>
3421 <data name="tw_filemanager_rename" />
3422 <restrict minlen="1" maxlen="128" />
3423 <actions>
3424 <action function="set">tw_fm_text2=to</action>
3425 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3426 <action function="set">tw_include_text3=1</action>
3427 <action function="set">tw_back=filemanageroptions</action>
3428 <action function="page">filemanagerconfirm</action>
3429 </actions>
3430 </object>
3431
3432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003434 <placement x="%col_center_x%" y="%cancel_button_y%" />
3435 <font resource="font" color="%button_text_color%" />
3436 <text>Cancel</text>
3437 <image resource="main_button" />
3438 <action function="page">filemanageroptions</action>
3439 </object>
3440
3441 <object type="template" name="keyboardtemplate" />
3442
3443 <object type="action">
3444 <touch key="home" />
3445 <action function="page">main</action>
3446 </object>
3447
3448 <object type="action">
3449 <touch key="back" />
3450 <action function="page">filemanageroptions</action>
3451 </object>
3452
3453 <object type="template" name="footer" />
3454 </page>
3455
3456 <page name="filemanagerchmod">
3457 <object type="template" name="header" />
3458
3459 <object type="text" color="%text_color%">
3460 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3461 <font resource="font" />
3462 <text>Please Enter New Permissions</text>
3463 </object>
3464
3465 <object type="input">
3466 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3467 <background color="%input_background_color%" />
3468 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3469 <font resource="font" color="%text_color%" />
3470 <text>%tw_filemanager_rename%</text>
3471 <data name="tw_filemanager_rename" />
3472 <restrict minlen="3" maxlen="4" allow="0123456789" />
3473 <actions>
3474 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3475 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3476 <action function="set">tw_back=filemanageroptions</action>
3477 <action function="page">filemanagerconfirm</action>
3478 </actions>
3479 </object>
3480
3481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003483 <placement x="%col_center_x%" y="%cancel_button_y%" />
3484 <font resource="font" color="%button_text_color%" />
3485 <text>Cancel</text>
3486 <image resource="main_button" />
3487 <action function="page">filemanageroptions</action>
3488 </object>
3489
3490 <object type="template" name="keyboardtemplate" />
3491
3492 <object type="action">
3493 <touch key="home" />
3494 <action function="page">main</action>
3495 </object>
3496
3497 <object type="action">
3498 <touch key="back" />
3499 <action function="page">filemanageroptions</action>
3500 </object>
3501
3502 <object type="template" name="footer" />
3503 </page>
3504
3505 <page name="filemanagerconfirm">
3506 <object type="template" name="header" />
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3511 <text>%tw_fm_text1%</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3517 <text>%tw_filename1%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3523 <text>%tw_fm_text2%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3529 <text>%tw_fm_text3%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3535 <text>Press back button to cancel.</text>
3536 </object>
3537
3538 <object type="slider">
3539 <placement x="%slider_x%" y="%slider_y%" />
3540 <resource base="slider" used="slider-used" touch="slider-touch" />
3541 <action function="page">filemanageracction</action>
3542 </object>
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3547 <text>Swipe to Confirm</text>
3548 </object>
3549
3550 <object type="action">
3551 <touch key="back" />
3552 <action function="page">%tw_back%</action>
3553 </object>
3554
3555 <object type="action">
3556 <touch key="home" />
3557 <action function="page">main</action>
3558 </object>
3559
3560 <object type="template" name="footer" />
3561 </page>
3562
3563 <page name="filemanageracction">
3564 <object type="template" name="header" />
3565
3566 <object type="text" color="%text_color%">
3567 <font resource="font" />
3568 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3569 <text>%tw_fm_text1%</text>
3570 </object>
3571
3572 <object type="template" name="action_page_console" />
3573
3574 <object type="template" name="progress_bar" />
3575
3576 <object type="action">
3577 <conditions>
3578 <condition var1="tw_operation_state" var2="1" />
3579 <condition var1="tw_operation_status" var2="0" />
3580 </conditions>
3581 <actions>
3582 <action function="set">tw_back=filemanagerlist</action>
3583 <action function="set">tw_complete_text1=File Operation Complete</action>
3584 <action function="page">action_complete</action>
3585 </actions>
3586 </object>
3587
3588 <object type="action">
3589 <conditions>
3590 <condition var1="tw_operation_state" var2="1" />
3591 <condition var1="tw_operation_status" op="!=" var2="0" />
3592 </conditions>
3593 <actions>
3594 <action function="set">tw_complete_text1=File Operation Complete</action>
3595 <action function="page">action_complete</action>
3596 </actions>
3597 </object>
3598
3599 <object type="action">
3600 <condition var1="tw_include_text3" var2="0" />
3601 <actions>
3602 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3603 </actions>
3604 </object>
3605
3606 <object type="action">
3607 <condition var1="tw_include_text3" var2="1" />
3608 <actions>
3609 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3610 </actions>
3611 </object>
3612 </page>
3613
3614 <page name="decrypt">
3615 <object type="template" name="header" />
3616
3617 <object type="text" color="%text_color%">
3618 <font resource="font" />
3619 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3620 <text>Please Enter Your Password</text>
3621 </object>
3622
3623 <object type="input">
3624 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3625 <background color="%input_background_color%" />
3626 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3627 <font resource="font" color="%text_color%" />
3628 <text>%tw_crypto_display%</text>
3629 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3630 <restrict minlen="1" maxlen="254" />
3631 <actions>
3632 <action function="page">trydecrypt</action>
3633 </actions>
3634 </object>
3635
3636 <object type="text" color="%text_fail_color%">
3637 <condition var1="tw_password_fail" var2="1" />
3638 <font resource="font" />
3639 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3640 <text>Password Failed, Please Try Again</text>
3641 </object>
3642
3643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003645 <placement x="%col_center_x%" y="%cancel_button_y%" />
3646 <font resource="font" color="%button_text_color%" />
3647 <text>Cancel</text>
3648 <image resource="main_button" />
3649 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003650 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <action function="page">main</action>
3652 </actions>
3653 </object>
3654
3655 <object type="template" name="keyboardtemplate" />
3656
Dees_Troy51a0e822012-09-05 15:24:24 -04003657 <object type="template" name="footer" />
3658 </page>
3659
3660 <page name="trydecrypt">
3661 <object type="template" name="header" />
3662
3663 <object type="text" color="%text_color%">
3664 <font resource="font" />
3665 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3666 <text>Trying Decryption with Your Password</text>
3667 </object>
3668
3669 <object type="template" name="action_page_console" />
3670
3671 <object type="template" name="progress_bar" />
3672
3673 <object type="action">
3674 <action function="decrypt"></action>
3675 </object>
3676
3677 <object type="action">
3678 <conditions>
3679 <condition var1="tw_operation_state" var2="1" />
3680 <condition var1="tw_operation_status" op="!=" var2="0" />
3681 </conditions>
3682 <actions>
3683 <action function="set">tw_password_fail=1</action>
3684 <action function="page">decrypt</action>
3685 </actions>
3686 </object>
3687
3688 <object type="action">
3689 <conditions>
3690 <condition var1="tw_operation_state" var2="1" />
3691 <condition var1="tw_operation_status" op="=" var2="0" />
3692 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003693 <actions>
3694 <action function="set">tw_page_done=1</action>
3695 <action function="page">main</action>
3696 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003697 </object>
3698 </page>
3699
3700 <page name="terminalfolder">
3701 <object type="template" name="header" />
3702
3703 <object type="text" color="%text_color%">
3704 <font resource="font" />
3705 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3706 <text>Browse to Starting Folder</text>
3707 </object>
3708
3709 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003710 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003711 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3712 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003713 <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 -04003714 <text>%tw_terminal_location%</text>
3715 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3716 <sort name="tw_gui_sort_order" />
3717 <icon folder="folder_icon" file="file_icon" />
3718 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003719 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003720 <filter folders="1" files="0" />
3721 <path name="tw_terminal_location" default="/" />
3722 <data name="tw_terminal" />
3723 <selection name="tw_terminal_selection" />
3724 </object>
3725
3726 <object type="template" name="sort_options" />
3727
3728 <object type="action">
3729 <touch key="home" />
3730 <action function="page">main</action>
3731 </object>
3732
3733 <object type="action">
3734 <touch key="back" />
3735 <action function="page">advanced</action>
3736 </object>
3737
3738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003740 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3741 <font resource="font" color="%button_text_color%" />
3742 <text>Select Folder</text>
3743 <image resource="main_button" />
3744 <actions>
3745 <action function="page">terminalcommand</action>
3746 </actions>
3747 </object>
3748
3749 <object type="template" name="footer" />
3750 </page>
3751
3752 <page name="terminalcommand">
3753 <background color="#000000FF" />
3754
3755 <object type="console">
3756 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3757 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3758 <font resource="fixed" />
3759 </object>
3760
3761 <object type="text" color="%text_color%">
3762 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3763 <font resource="font" />
3764 <text>Starting Path: %tw_terminal_location%</text>
3765 </object>
3766
3767 <object type="input">
3768 <condition var1="tw_terminal_state" var2="0" />
3769 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3770 <background color="%input_background_color%" />
3771 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3772 <font resource="font" color="%text_color%" />
3773 <text>%tw_terminal_command%</text>
3774 <data name="tw_terminal_command" />
3775 <restrict minlen="1" />
3776 <action function="terminalcommand">%tw_terminal_command%</action>
3777 </object>
3778
3779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003781 <condition var1="tw_terminal_state" var2="1" />
3782 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3783 <font resource="font" color="%button_text_color%" />
3784 <text>KILL</text>
3785 <image resource="medium_button" />
3786 <action function="killterminal"></action>
3787 </object>
3788
3789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003791 <placement x="%home_button_x%" y="%terminal_button_y%" />
3792 <font resource="font" color="%button_text_color%" />
3793 <text></text>
3794 <image resource="home_icon" />
3795 <condition var1="tw_busy" var2="0" />
3796 <action function="key">home</action>
3797 </object>
3798
3799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003800 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003801 <placement x="%back_button_x%" y="%terminal_button_y%" />
3802 <font resource="font" color="%button_text_color%" />
3803 <text></text>
3804 <image resource="back_icon" />
3805 <condition var1="tw_busy" var2="0" />
3806 <action function="key">back</action>
3807 </object>
3808
3809 <object type="action">
3810 <touch key="power" />
3811 <action function="overlay">lock</action>
3812 </object>
3813
3814 <object type="template" name="keyboardtemplate" />
3815
3816 <object type="action">
3817 <touch key="home" />
3818 <action function="page">main</action>
3819 </object>
3820
3821 <object type="action">
3822 <touch key="back" />
3823 <action function="page">terminalfolder</action>
3824 </object>
3825 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003826
3827 <page name="sideload">
3828 <object type="template" name="header" />
3829
3830 <object type="text" color="%text_color%">
3831 <font resource="font" />
3832 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3833 <text>ADB Sideload</text>
3834 </object>
3835
3836 <object type="checkbox">
3837 <placement x="%col1_x%" y="%row3_text_y%" />
3838 <font resource="font" color="%text_color%" />
3839 <text>Wipe Dalvik Cache.</text>
3840 <data variable="tw_wipe_dalvik" />
3841 <image checked="checkbox_true" unchecked="checkbox_false" />
3842 </object>
3843
3844 <object type="checkbox">
3845 <placement x="%col1_x%" y="%row4_text_y%" />
3846 <font resource="font" color="%text_color%" />
3847 <text>Wipe Cache.</text>
3848 <data variable="tw_wipe_cache" />
3849 <image checked="checkbox_true" unchecked="checkbox_false" />
3850 </object>
3851
3852 <object type="slider">
3853 <placement x="%slider_x%" y="%slider_y%" />
3854 <resource base="slider" used="slider-used" touch="slider-touch" />
3855 <actions>
3856 <action function="set">tw_back=advanced</action>
3857 <action function="set">tw_action=adbsideload</action>
3858 <action function="set">tw_action_text1=ADB Sideload</action>
3859 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3860 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3861 <action function="set">tw_has_cancel=1</action>
3862 <action function="set">tw_show_reboot=1</action>
3863 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3864 <action function="page">action_page</action>
3865 </actions>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3871 <text>Swipe to Start Sideload</text>
3872 </object>
3873
3874 <object type="action">
3875 <touch key="home" />
3876 <action function="page">main</action>
3877 </object>
3878
3879 <object type="action">
3880 <touch key="back" />
3881 <action function="page">advanced</action>
3882 </object>
3883
3884 <object type="template" name="footer" />
3885 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003886
3887 <page name="installsu">
3888 <object type="template" name="header" />
3889
3890 <object type="text" color="%text_color%">
3891 <font resource="font" />
3892 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3893 <text>Install SuperSU?</text>
3894 </object>
3895
3896 <object type="text" color="%text_color%">
3897 <font resource="font" />
3898 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3899 <text>Your device does not appear to be rooted.</text>
3900 </object>
3901
3902 <object type="text" color="%text_color%">
3903 <font resource="font" />
3904 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3905 <text>Install SuperSU now? This will root your device.</text>
3906 </object>
3907
3908 <object type="button">
3909 <highlight color="%highlight_color%" />
3910 <placement x="%col_center_x%" y="%row2_medium_y%" />
3911 <font resource="font" color="%button_text_color%" />
3912 <text>Do Not Install</text>
3913 <image resource="main_button" />
3914 <action function="set">tw_page_done=1</action>
3915 </object>
3916
3917 <object type="slider">
3918 <placement x="%slider_x%" y="%slider_y%" />
3919 <resource base="slider" used="slider-used" touch="slider-touch" />
3920 <actions>
3921 <action function="set">tw_action=installsu</action>
3922 <action function="set">tw_action_text1=Installing SuperSU</action>
3923 <action function="set">tw_action_text2=</action>
3924 <action function="page">singleaction_page</action>
3925 </actions>
3926 </object>
3927
3928 <object type="text" color="%text_color%">
3929 <font resource="font" />
3930 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3931 <text>Swipe to Install</text>
3932 </object>
3933 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003934 </pages>
3935</recovery>