blob: de693f17d90a58656a1a1365599e5d96ae3f033b [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" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600105 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400106 <variable name="slider_x" value="225" />
107 <variable name="slider_y" value="390" />
108 <variable name="slider_text_y" value="425" />
109 <variable name="sort_text_x" value="170" />
110 <variable name="sort_asc_text_y" value="418" />
111 <variable name="sort_asc_button_y" value="413" />
112 <variable name="sort_desc_text_y" value="452" />
113 <variable name="sort_desc_button_y" value="447" />
114 <variable name="sort_col1_button_x" value="300" />
115 <variable name="sort_col2_button_x" value="370" />
116 <variable name="sort_col3_button_x" value="440" />
117 <variable name="col1_sdext_x" value="265" />
118 <variable name="col2_sdext_x" value="475" />
119 <variable name="row1_sdext_y" value="85" />
120 <variable name="row2_sdext_y" value="150" />
121 <variable name="row_extsize_y" value="85" />
122 <variable name="row_swapsize_y" value="150" />
123 <variable name="input_x" value="28" />
124 <variable name="input_width" value="720" />
125 <variable name="input_height" value="25" />
126 <variable name="input_background_color" value="#303030" />
127 <variable name="input_cursor_color" value="#33B5E5" />
128 <variable name="input_cursor_width" value="2" />
129 <variable name="console_x" value="25" />
130 <variable name="console_width" value="750" />
131 <variable name="console_foreground" value="#A0A0A0" />
132 <variable name="console_background" value="#303030" />
133 <variable name="console_scroll" value="#303030" />
134 <variable name="console_action_height" value="230" />
135 <variable name="console_install_height" value="260" />
136 <variable name="console_installdone_height" value="260" />
137 <variable name="fileselector_folder_x" value="28" />
138 <variable name="fileselector_folder_width" value="248" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000139 <variable name="fileselector_folderonly_width" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400140 <variable name="fileselector_file_x" value="278" />
141 <variable name="fileselector_file_width" value="506" />
142 <variable name="fileselector_install_y" value="120" />
143 <variable name="fileselector_install_height" value="290" />
144 <variable name="fileselector_header_background" value="#202020" />
145 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
146 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
147 <variable name="fileselector_header_separatorheight" value="2" />
148 <variable name="fileselector_separatorcolor" value="#505050" />
149 <variable name="fileselector_separatorheight" value="1" />
150 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600151 <variable name="fileselector_highlight_color" value="#505050" />
152 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="fileselector_spacing" value="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100154 <variable name="fastscroll_linecolor" value="#808080" />
155 <variable name="fastscroll_rectcolor" value="#808080" />
156 <variable name="fastscroll_w" value="25" />
157 <variable name="fastscroll_linew" value="2" />
158 <variable name="fastscroll_rectw" value="19" />
159 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400160 <variable name="zipstorage_text_y" value="88" />
161 <variable name="listbox_x" value="156" />
162 <variable name="listbox_y" value="90" />
163 <variable name="listbox_width" value="460" />
164 <variable name="listbox_tz_height" value="170" />
165 <variable name="listbox_background" value="#303030" />
166 <variable name="listbox_spacing" value="12" />
167 <variable name="sd_plus_x" value="280" />
168 <variable name="lock_x" value="250" />
169 <variable name="lock_y" value="90" />
170 <variable name="filemanager_select_x" value="610" />
171 <variable name="filemanager_select_y" value="413" />
172 <variable name="backup_name_text_y" value="440" />
173 <variable name="backup_name_button_y" value="195" />
174 <variable name="col_right_x" value="772" />
175 <variable name="cancel_button_y" value="180" />
176 <variable name="terminal_console_y" value="0" />
177 <variable name="terminal_console_height" value="240" />
178 <variable name="terminal_text_y" value="247" />
179 <variable name="terminal_button_y" value="237" />
180 <variable name="terminal_input_width" value="551" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500181 <variable name="button_fill_color" value="#303030" />
182 <variable name="button_fill_full_width" value="400" />
183 <variable name="button_fill_main_width" value="367" />
184 <variable name="button_fill_main_height" value="120" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000185 <variable name="button_fill_half_height" value="40" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500186 <variable name="button_fill_quarter_height" value="30" />
187 <variable name="button_full_center_x" value="200" />
188 <variable name="backup_list_x" value="23" />
189 <variable name="backup_list_y" value="80" />
190 <variable name="backup_list_width" value="367" />
191 <variable name="backup_list_height" value="290" />
192 <variable name="backup_storage_y" value="190" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000193 <variable name="backup_encrypt_y" value="235" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500194 <variable name="restore_list_y" value="100" />
195 <variable name="restore_list_height" value="270" />
196 <variable name="mount_list_height" value="360" />
197 <variable name="mount_storage_row" value="500" />
198 <variable name="wipe_list_height" value="300" />
199 <variable name="wipe_button_y" value="150" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="200" />
201 <variable name="slidervalue_w" value="400" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="1" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="7" />
207 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400208 </variables>
209
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100210 <mousecursor>
211 <placement w="15" h="15" />
212 <background color="#FFFF00FF" resource="cursor" />
213 <speed multiplier="1.5" />
214 </mousecursor>
215
Dees_Troy51a0e822012-09-05 15:24:24 -0400216 <templates>
217 <template name="header">
218 <background color="#000000FF" />
219
220 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <image resource="base" />
222 <placement x="0" y="0" />
223 </object>
224
Dees_Troy51a0e822012-09-05 15:24:24 -0400225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="250" y="2" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000228 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
233 <placement x="250" y="37" />
234 <conditions>
235 <condition var1="tw_no_battery_percent" var2="0" />
236 <condition var1="tw_battery" op=">" var2="0" />
237 <condition var1="tw_battery" op="<" var2="101" />
238 </conditions>
239 <text>Battery Level: %tw_battery%</text>
240 </object>
241
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="450" y="37" />
245 <text>%tw_time%</text>
246 </object>
247
248 <object type="text" color="%text_color%">
249 <condition var1="tw_simulate_actions" var2="1" />
250 <font resource="font" />
251 <placement x="250" y="20" />
252 <text>SIMULATING ACTIONS</text>
253 </object>
254
255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400257 <placement x="%home_button_x%" y="%home_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="home_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">home</action>
263 </object>
264
265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400267 <placement x="%back_button_x%" y="%back_button_y%" />
268 <font resource="font" color="%button_text_color%" />
269 <text></text>
270 <image resource="back_icon" />
271 <condition var1="tw_busy" var2="0" />
272 <action function="key">back</action>
273 </object>
274
275 <object type="action">
276 <touch key="power" />
277 <action function="overlay">lock</action>
278 </object>
279 </template>
280
281 <template name="progress_bar">
282 <object type="progressbar">
283 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
284 <resource empty="progress_empty" full="progress_full" />
285 <data name="ui_progress" />
286 </object>
287
288 <object type="animation">
289 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
290 <resource name="progress" />
291 <speed fps="15" render="2" />
292 <loop frame="1" />
293 </object>
294 </template>
295
296 <template name="sort_options">
297 <object type="text" color="%text_color%">
298 <font resource="font" />
299 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
300 <text>Sort Ascending:</text>
301 </object>
302
303 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600304 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400305 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
306 <font resource="font" color="%button_text_color%" />
307 <text>Name</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=1</action>
310 </object>
311
312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600313 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400314 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
315 <font resource="font" color="%button_text_color%" />
316 <text>Date</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=2</action>
319 </object>
320
321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400323 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Size</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=3</action>
328 </object>
329
330 <object type="text" color="%text_color%">
331 <font resource="font" />
332 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
333 <text>Sort Descending:</text>
334 </object>
335
336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400338 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
339 <font resource="font" color="%button_text_color%" />
340 <text>Name</text>
341 <image resource="sort_button" />
342 <action function="set">tw_gui_sort_order=-1</action>
343 </object>
344
345 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600346 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400347 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
348 <font resource="font" color="%button_text_color%" />
349 <text>Date</text>
350 <image resource="sort_button" />
351 <action function="set">tw_gui_sort_order=-2</action>
352 </object>
353
354 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600355 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400356 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
357 <font resource="font" color="%button_text_color%" />
358 <text>Size</text>
359 <image resource="sort_button" />
360 <action function="set">tw_gui_sort_order=-3</action>
361 </object>
362 </template>
363
364 <template name="flash_zip_console">
365 <object type="console">
366 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
368 <font resource="fixed" />
369 </object>
370 </template>
371
372 <template name="action_page_console">
373 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400374 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400375 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
376 <font resource="fixed" />
377 </object>
378 </template>
379
380 <template name="footer">
381 <object type="console">
382 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
383 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
384 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
385 <font resource="fixed" />
386 </object>
387 </template>
388
389 <template name="keyboardtemplate">
390 <object type="keyboard">
391 <placement x="0" y="277" />
392 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600393 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600394 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400395 <layout1>
396 <keysize height="51" width="73" />
397 <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" />
398 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
399 <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="+" />
400 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
401 </layout1>
402 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600403 <keysize height="51" width="73" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400404 <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" />
405 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
406 <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="+" />
407 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
408 </layout2>
409 <layout3>
410 <keysize height="51" width="73" />
411 <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" />
412 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
413 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
414 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
415 </layout3>
416 <layout4>
417 <keysize height="51" width="73" />
418 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
419 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
420 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
421 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
422 </layout4>
423 </object>
424 </template>
425 </templates>
426
427 <pages>
428 <page name="main">
429 <object type="action">
430 <actions>
431 <action function="set">tw_clear_destination=main2</action>
432 <action function="page">clear_vars</action>
433 </actions>
434 </object>
435 </page>
436
437 <page name="main2">
438 <object type="template" name="header" />
439
440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400442 <placement x="%col1_x%" y="%row1_y%" />
443 <font resource="font" color="%button_text_color%" />
444 <text>Install</text>
445 <image resource="main_button" />
446 <actions>
447 <action function="queueclear"></action>
448 <action function="page">install</action>
449 </actions>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row1_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Backup</text>
457 <image resource="main_button" />
458 <action function="page">backup</action>
459 </object>
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col3_x%" y="%row1_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Restore</text>
466 <image resource="main_button" />
467 <action function="page">restore</action>
468 </object>
469
470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400472 <placement x="%col4_x%" y="%row1_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Wipe</text>
475 <image resource="main_button" />
476 <action function="page">wipe</action>
477 </object>
478
479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400481 <placement x="%col1_x%" y="%row2_y%" />
482 <font resource="font" color="%button_text_color%" />
483 <text>Mount</text>
484 <image resource="main_button" />
485 <action function="page">mount</action>
486 </object>
487
488 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600489 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400490 <placement x="%col2_x%" y="%row2_y%" />
491 <font resource="font" color="%button_text_color%" />
492 <text>Settings</text>
493 <image resource="main_button" />
494 <action function="page">settings</action>
495 </object>
496
497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600498 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <placement x="%col3_x%" y="%row2_y%" />
500 <font resource="font" color="%button_text_color%" />
501 <text>Advanced</text>
502 <image resource="main_button" />
503 <action function="page">advanced</action>
504 </object>
505
506 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600507 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 <placement x="%col4_x%" y="%row2_y%" />
509 <font resource="font" color="%button_text_color%" />
510 <text>Reboot</text>
511 <image resource="main_button" />
512 <action function="page">reboot</action>
513 </object>
514
515 <object type="template" name="footer" />
516 </page>
517
518 <page name="install">
519 <object type="template" name="header" />
520
521 <object type="text" color="%text_color%">
522 <font resource="font" />
523 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
524 <text>Select Zip to Install</text>
525 </object>
526
527 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500528 <highlight color="%highlight_color%" />
529 <fill color="%button_fill_color%" />
530 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
531 <font resource="font" color="%button_text_color%" />
532 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
533 <actions>
534 <action function="set">tw_back=install</action>
535 <action function="page">selectstorage</action>
536 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400537 </object>
538
539 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600540 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400541 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
542 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100543 <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 -0400544 <text>Folders:</text>
545 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
546 <sort name="tw_gui_sort_order" />
547 <icon folder="folder_icon" file="file_icon" />
548 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600549 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400550 <filter folders="1" files="0" />
551 <path name="tw_zip_location" default="/sdcard" />
552 <data name="select" />
553 </object>
554
555 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600556 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400557 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
558 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100559 <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 -0400560 <text>%tw_zip_location%</text>
561 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
562 <sort name="tw_gui_sort_order" />
563 <icon folder="folder_icon" file="file_icon" />
564 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600565 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400566 <filter extn=".zip" folders="0" files="1" />
567 <path name="tw_zip_location" />
568 <data name="tw_filename" />
569 <selection name="tw_file" />
570 </object>
571
572 <object type="template" name="sort_options" />
573
574 <object type="action">
575 <condition var1="tw_filename" op="modified" />
576 <actions>
577 <action function="queuezip"></action>
578 <action function="page">flash_confirm</action>
579 </actions>
580 </object>
581
582 <object type="action">
583 <touch key="back" />
584 <action function="page">main</action>
585 </object>
586
587 <object type="action">
588 <touch key="home" />
589 <action function="page">main</action>
590 </object>
591
592 <object type="template" name="footer" />
593 </page>
594
595 <page name="flash_confirm">
596 <object type="template" name="header" />
597
598 <object type="text" color="%text_color%">
599 <font resource="font" />
600 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
601 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
602 </object>
603
604 <object type="text" color="%text_color%">
605 <font resource="font" />
606 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
607 <text>Folder:</text>
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
613 <text>%tw_zip_location%</text>
614 </object>
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
618 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
619 <text>File to flash:</text>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
625 <text>%tw_file%</text>
626 </object>
627
628 <object type="text" color="%text_color%">
629 <font resource="font" />
630 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
631 <text>Press back to cancel adding this zip.</text>
632 </object>
633
634 <object type="checkbox">
635 <placement x="%col2_x%" y="%row7_text_y%" />
636 <font resource="font" color="%text_color%" />
637 <text>Zip file signature verification?</text>
638 <data variable="tw_signed_zip_verify" />
639 <image checked="checkbox_true" unchecked="checkbox_false" />
640 </object>
641
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <object type="text" color="%text_color%">
643 <font resource="font" />
644 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
645 <text>File %tw_zip_queue_count% of max of 10</text>
646 </object>
647
648 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600649 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400650 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
651 <placement x="%col2_x%" y="%row5_medium_y%" />
652 <font resource="font" color="%button_text_color%" />
653 <text>Add More Zips</text>
654 <image resource="mediumwide_button" />
655 <action function="page">install</action>
656 </object>
657
658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400660 <placement x="%col3_x%" y="%row5_medium_y%" />
661 <font resource="font" color="%button_text_color%" />
662 <text>Clear Queue</text>
663 <image resource="mediumwide_button" />
664 <actions>
665 <action function="queueclear"></action>
666 <action function="page">install</action>
667 </actions>
668 </object>
669
670 <object type="slider">
671 <placement x="%slider_x%" y="%slider_y%" />
672 <resource base="slider" used="slider-used" touch="slider-touch" />
673 <action function="flash">flash_zip</action>
674 </object>
675
676 <object type="text" color="%text_color%">
677 <font resource="font" />
678 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
679 <text>Swipe to Confirm Flash</text>
680 </object>
681
682 <object type="action">
683 <touch key="back" />
684 <actions>
685 <action function="cancelzip"></action>
686 <action function="page">install</action>
687 </actions>
688 </object>
689
690 <object type="action">
691 <touch key="home" />
692 <action function="page">main</action>
693 </object>
694
695 <object type="template" name="footer" />
696 </page>
697
698 <page name="flash_zip">
699 <object type="template" name="header" />
700
701 <object type="template" name="flash_zip_console" />
702
703 <object type="text" color="%text_color%">
704 <font resource="font" />
705 <placement x="%col1_x%" y="%row16_text_y%" />
706 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
707 </object>
708
709 <object type="text" color="%text_color%">
710 <font resource="font" />
711 <placement x="%col1_x%" y="%row17_text_y%" />
712 <text>%tw_filename%</text>
713 </object>
714
715 <object type="template" name="progress_bar" />
716
717 <object type="action">
718 <condition var1="tw_operation_state" var2="1" />
719 <action function="page">flash_done</action>
720 </object>
721 </page>
722
723 <page name="flash_done">
724 <object type="template" name="header" />
725
726 <object type="template" name="flash_zip_console" />
727
728 <object type="text" color="%text_fail_color%">
729 <condition var1="tw_operation_status" op="!=" var2="0" />
730 <font resource="font" />
731 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
732 <text>Failed</text>
733 </object>
734
735 <object type="text" color="%text_success_color%">
736 <condition var1="tw_operation_status" var2="0" />
737 <font resource="font" />
738 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
739 <text>Successful</text>
740 </object>
741
742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <placement x="%col1_x%" y="%slider_y%" />
745 <font resource="font" color="%button_text_color%" />
746 <text>Wipe Cache/Dalvik</text>
747 <image resource="main_button" />
748 <actions>
749 <action function="set">tw_back=flash_done</action>
750 <action function="set">tw_action=wipe</action>
751 <action function="set">tw_action_param=/cache</action>
752 <action function="set">tw_has_action2=1</action>
753 <action function="set">tw_action2=wipe</action>
754 <action function="set">tw_action2_param=dalvik</action>
755 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
756 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
757 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
758 <action function="set">tw_slider_text=Swipe to Wipe</action>
759 <action function="page">confirm_action</action>
760 </actions>
761 </object>
762
763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400765 <condition var1="tw_reboot_system" var2="1" />
766 <placement x="%col4_x%" y="%slider_y%" />
767 <font resource="font" color="%button_text_color%" />
768 <text>Reboot System</text>
769 <image resource="main_button" />
770 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400771 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400772 <action function="set">tw_action=reboot</action>
773 <action function="set">tw_action_param=system</action>
774 <action function="set">tw_has_action2=0</action>
775 <action function="set">tw_text1=No OS Installed! Are you</action>
776 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400777 <action function="set">tw_text3=</action>
778 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400779 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400780 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400781 <action function="set">tw_complete_text1=Rebooting...</action>
782 <action function="set">tw_slider_text=Swipe to Reboot</action>
783 <action function="page">rebootcheck</action>
784 </actions>
785 </object>
786
787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400789 <placement x="%col_center_x%" y="%slider_y%" />
790 <font resource="font" color="%button_text_color%" />
791 <text>Home</text>
792 <image resource="main_button" />
793 <actions>
794 <action function="set">tw_clear_destination=main2</action>
795 <action function="page">clear_vars</action>
796 </actions>
797 </object>
798
799 <object type="action">
800 <touch key="back" />
801 <actions>
802 <action function="set">tw_clear_destination=install</action>
803 <action function="page">clear_vars</action>
804 </actions>
805 </object>
806
807 <object type="action">
808 <touch key="home" />
809 <actions>
810 <action function="set">tw_clear_destination=main2</action>
811 <action function="page">clear_vars</action>
812 </actions>
813 </object>
814 </page>
815
816 <page name="clear_vars">
817 <object type="action">
818 <action function="set">tw_operation_state=0</action>
819 <action function="set">tw_text1=</action>
820 <action function="set">tw_text2=</action>
821 <action function="set">tw_text3=</action>
822 <action function="set">tw_text4=</action>
823 <action function="set">tw_action_text1=</action>
824 <action function="set">tw_action_text2=</action>
825 <action function="set">tw_action_param=</action>
826 <action function="set">tw_has_action2=0</action>
827 <action function="set">tw_action2=</action>
828 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400829 <action function="set">tw_has_cancel=0</action>
830 <action function="set">tw_cancel_action=</action>
831 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400832 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400833 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400834 <action function="page">%tw_clear_destination%</action>
835 </object>
836 </page>
837
838 <page name="confirm_action">
839 <object type="template" name="header" />
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
844 <text>%tw_text1%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
849 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
850 <text>%tw_text2%</text>
851 </object>
852
853 <object type="text" color="%text_color%">
854 <font resource="font" />
855 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
856 <text>%tw_text3%</text>
857 </object>
858
859 <object type="text" color="%text_color%">
860 <font resource="font" />
861 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
862 <text>%tw_text4%</text>
863 </object>
864
865 <object type="text" color="%text_color%">
866 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400867 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400868 <text>Press back button to cancel.</text>
869 </object>
870
871 <object type="slider">
872 <placement x="%slider_x%" y="%slider_y%" />
873 <resource base="slider" used="slider-used" touch="slider-touch" />
874 <action function="page">action_page</action>
875 </object>
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
880 <text>%tw_slider_text%</text>
881 </object>
882
883 <object type="action">
884 <touch key="back" />
885 <actions>
886 <action function="set">tw_clear_destination=%tw_back%</action>
887 <action function="page">clear_vars</action>
888 </actions>
889 </object>
890
891 <object type="action">
892 <touch key="home" />
893 <action function="page">main</action>
894 </object>
895
896 <object type="template" name="footer" />
897 </page>
898
899 <page name="action_page">
900 <object type="template" name="header" />
901
902 <object type="text" color="%text_color%">
903 <font resource="font" />
904 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
905 <text>%tw_action_text1%</text>
906 </object>
907
908 <object type="text" color="%text_color%">
909 <font resource="font" />
910 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
911 <text>%tw_action_text2%</text>
912 </object>
913
914 <object type="template" name="action_page_console" />
915
Dees_Troy2691f9d2012-09-24 11:15:49 -0400916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600917 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400918 <condition var1="tw_has_cancel" var2="1" />
919 <placement x="%col4_x%" y="%slider_y%" />
920 <font resource="font" color="%button_text_color%" />
921 <text>Cancel</text>
922 <image resource="main_button" />
923 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
924 </object>
925
Dees_Troy51a0e822012-09-05 15:24:24 -0400926 <object type="template" name="progress_bar" />
927
928 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400929 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400930 <actions>
931 <action function="page">action_complete</action>
932 </actions>
933 </object>
934
935 <object type="action">
936 <condition var1="tw_has_action2" var2="0" />
937 <actions>
938 <action function="%tw_action%">%tw_action_param%</action>
939 </actions>
940 </object>
941
942 <object type="action">
943 <condition var1="tw_has_action2" var2="1" />
944 <actions>
945 <action function="%tw_action%">%tw_action_param%</action>
946 <action function="%tw_action2%">%tw_action2_param%</action>
947 </actions>
948 </object>
949 </page>
950
Dees_Troy6ef66352013-02-21 08:26:57 -0600951 <page name="singleaction_page">
952 <object type="template" name="header" />
953
954 <object type="text" color="%text_color%">
955 <font resource="font" />
956 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
957 <text>%tw_action_text1%</text>
958 </object>
959
960 <object type="text" color="%text_color%">
961 <font resource="font" />
962 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
963 <text>%tw_action_text2%</text>
964 </object>
965
966 <object type="template" name="action_page_console" />
967
968 <object type="template" name="progress_bar" />
969
970 <object type="action">
971 <condition var1="tw_operation_state" var2="1" />
972 <actions>
973 <action function="set">tw_page_done=1</action>
974 </actions>
975 </object>
976
977 <object type="action">
978 <condition var1="tw_has_action2" var2="0" />
979 <actions>
980 <action function="%tw_action%">%tw_action_param%</action>
981 </actions>
982 </object>
983
984 <object type="action">
985 <condition var1="tw_has_action2" var2="1" />
986 <actions>
987 <action function="%tw_action%">%tw_action_param%</action>
988 <action function="%tw_action2%">%tw_action2_param%</action>
989 </actions>
990 </object>
991 </page>
992
Dees_Troy51a0e822012-09-05 15:24:24 -0400993 <page name="action_complete">
994 <object type="template" name="header" />
995
996 <object type="text" color="%text_color%">
997 <font resource="font" />
998 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
999 <text>%tw_complete_text1%</text>
1000 </object>
1001
1002 <object type="text" color="%text_fail_color%">
1003 <condition var1="tw_operation_status" op="!=" var2="0" />
1004 <font resource="font" />
1005 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1006 <text>Failed</text>
1007 </object>
1008
1009 <object type="text" color="%text_success_color%">
1010 <condition var1="tw_operation_status" var2="0" />
1011 <font resource="font" />
1012 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1013 <text>Successful</text>
1014 </object>
1015
1016 <object type="template" name="action_page_console" />
1017
1018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001019 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001020 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001021 <placement x="%col_center_x%" y="%slider_y%" />
1022 <font resource="font" color="%button_text_color%" />
1023 <text>Back</text>
1024 <image resource="main_button" />
1025 <actions>
1026 <action function="set">tw_clear_destination=%tw_back%</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030
Dees_Troya3f81542012-10-08 10:58:53 -04001031 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001032 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001033 <condition var1="tw_show_reboot" var2="1" />
1034 <placement x="%col_center_x%" y="%slider_y%" />
1035 <font resource="font" color="%button_text_color%" />
1036 <text>Reboot System</text>
1037 <image resource="main_button" />
1038 <actions>
1039 <action function="set">tw_back=main2</action>
1040 <action function="set">tw_action=reboot</action>
1041 <action function="set">tw_action_param=system</action>
1042 <action function="set">tw_has_action2=0</action>
1043 <action function="set">tw_text1=No OS Installed! Are you</action>
1044 <action function="set">tw_text2=sure you wish to reboot?</action>
1045 <action function="set">tw_text3=</action>
1046 <action function="set">tw_text4=</action>
1047 <action function="set">tw_action_text1=Rebooting...</action>
1048 <action function="set">tw_action_text2=</action>
1049 <action function="set">tw_complete_text1=Rebooting...</action>
1050 <action function="set">tw_slider_text=Swipe to Reboot</action>
1051 <action function="page">rebootcheck</action>
1052 </actions>
1053 </object>
1054
Dees_Troy51a0e822012-09-05 15:24:24 -04001055 <object type="action">
1056 <touch key="home" />
1057 <actions>
1058 <action function="set">tw_clear_destination=main2</action>
1059 <action function="page">clear_vars</action>
1060 </actions>
1061 </object>
1062
1063 <object type="action">
1064 <touch key="back" />
1065 <actions>
1066 <action function="set">tw_clear_destination=%tw_back%</action>
1067 <action function="page">clear_vars</action>
1068 </actions>
1069 </object>
1070 </page>
1071
1072 <page name="filecheck">
1073 <object type="action">
1074 <action function="fileexists">%tw_filecheck%</action>
1075 </object>
1076
1077 <object type="action">
1078 <conditions>
1079 <condition var1="tw_operation_state" var2="1" />
1080 <condition var1="tw_operation_status" var2="0" />
1081 </conditions>
1082 <actions>
1083 <action function="set">tw_fileexists=1</action>
1084 <action function="page">%tw_existpage%</action>
1085 </actions>
1086 </object>
1087
1088 <object type="action">
1089 <conditions>
1090 <condition var1="tw_operation_state" var2="1" />
1091 <condition var1="tw_operation_status" var2="1" />
1092 </conditions>
1093 <actions>
1094 <action function="set">tw_fileexists=0</action>
1095 <action function="page">%tw_notexistpage%</action>
1096 </actions>
1097 </object>
1098 </page>
1099
1100 <page name="rebootcheck">
1101 <object type="action">
1102 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1103 <action function="reboot">%tw_action_param%</action>
1104 </object>
1105
1106 <object type="action">
1107 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1108 <action function="page">confirm_action</action>
1109 </object>
1110 </page>
1111
1112 <page name="reboot">
1113 <object type="template" name="header" />
1114
1115 <object type="text" color="%text_color%">
1116 <font resource="font" />
1117 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1118 <text>Reboot Menu</text>
1119 </object>
1120
1121 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001122 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001123 <condition var1="tw_reboot_system" var2="1" />
1124 <placement x="%col1_x%" y="%row1_y%" />
1125 <font resource="font" color="%button_text_color%" />
1126 <text>System</text>
1127 <image resource="main_button" />
1128 <actions>
1129 <action function="set">tw_back=reboot</action>
1130 <action function="set">tw_action=reboot</action>
1131 <action function="set">tw_action_param=system</action>
1132 <action function="set">tw_has_action2=0</action>
1133 <action function="set">tw_text1=No OS Installed! Are you</action>
1134 <action function="set">tw_text2=sure you wish to reboot?</action>
1135 <action function="set">tw_action_text1=Rebooting...</action>
1136 <action function="set">tw_complete_text1=Rebooting...</action>
1137 <action function="set">tw_slider_text=Swipe to Reboot</action>
1138 <action function="page">rebootcheck</action>
1139 </actions>
1140 </object>
1141
1142 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001143 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <condition var1="tw_reboot_poweroff" var2="1" />
1145 <placement x="%col2_x%" y="%row1_y%" />
1146 <font resource="font" color="%button_text_color%" />
1147 <text>Power Off</text>
1148 <image resource="main_button" />
1149 <actions>
1150 <action function="set">tw_back=reboot</action>
1151 <action function="set">tw_action=reboot</action>
1152 <action function="set">tw_action_param=poweroff</action>
1153 <action function="set">tw_has_action2=0</action>
1154 <action function="set">tw_text1=No OS Installed! Are you</action>
1155 <action function="set">tw_text2=sure you wish to power off?</action>
1156 <action function="set">tw_action_text1=Turning Off...</action>
1157 <action function="set">tw_complete_text1=Turning Off...</action>
1158 <action function="set">tw_slider_text=Swipe to Power Off</action>
1159 <action function="page">rebootcheck</action>
1160 </actions>
1161 </object>
1162
1163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 <condition var1="tw_reboot_recovery" var2="1" />
1166 <placement x="%col1_x%" y="%row2_y%" />
1167 <font resource="font" color="%button_text_color%" />
1168 <text>Recovery</text>
1169 <image resource="main_button" />
1170 <actions>
1171 <action function="set">tw_back=reboot</action>
1172 <action function="set">tw_action=reboot</action>
1173 <action function="set">tw_action_param=recovery</action>
1174 <action function="set">tw_has_action2=0</action>
1175 <action function="set">tw_text1=No OS Installed! Are you</action>
1176 <action function="set">tw_text2=sure you wish to reboot?</action>
1177 <action function="set">tw_action_text1=Rebooting...</action>
1178 <action function="set">tw_complete_text1=Rebooting...</action>
1179 <action function="set">tw_slider_text=Swipe to Reboot</action>
1180 <action function="page">rebootcheck</action>
1181 </actions>
1182 </object>
1183
1184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001186 <condition var1="tw_reboot_bootloader" var2="1" />
1187 <placement x="%col2_x%" y="%row2_y%" />
1188 <font resource="font" color="%button_text_color%" />
1189 <text>Bootloader</text>
1190 <image resource="main_button" />
1191 <actions>
1192 <action function="set">tw_back=reboot</action>
1193 <action function="set">tw_action=reboot</action>
1194 <action function="set">tw_action_param=bootloader</action>
1195 <action function="set">tw_has_action2=0</action>
1196 <action function="set">tw_text1=No OS Installed! Are you</action>
1197 <action function="set">tw_text2=sure you wish to reboot?</action>
1198 <action function="set">tw_action_text1=Rebooting...</action>
1199 <action function="set">tw_complete_text1=Rebooting...</action>
1200 <action function="set">tw_slider_text=Swipe to Reboot</action>
1201 <action function="page">rebootcheck</action>
1202 </actions>
1203 </object>
1204
1205 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001206 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001207 <condition var1="tw_download_mode" var2="1" />
1208 <placement x="%col3_x%" y="%row2_y%" />
1209 <font resource="font" color="%button_text_color%" />
1210 <text>Download</text>
1211 <image resource="main_button" />
1212 <actions>
1213 <action function="set">tw_back=reboot</action>
1214 <action function="set">tw_action=reboot</action>
1215 <action function="set">tw_action_param=download</action>
1216 <action function="set">tw_has_action2=0</action>
1217 <action function="set">tw_text1=No OS Installed! Are you</action>
1218 <action function="set">tw_text2=sure you wish to reboot?</action>
1219 <action function="set">tw_action_text1=Rebooting...</action>
1220 <action function="set">tw_complete_text1=Rebooting...</action>
1221 <action function="set">tw_slider_text=Swipe to Reboot</action>
1222 <action function="page">rebootcheck</action>
1223 </actions>
1224 </object>
1225
1226 <object type="action">
1227 <touch key="home" />
1228 <action function="page">main</action>
1229 </object>
1230
1231 <object type="action">
1232 <touch key="back" />
1233 <action function="page">main</action>
1234 </object>
1235
1236 <object type="template" name="footer" />
1237 </page>
1238
Dees_Troya13d74f2013-03-24 08:54:55 -05001239 <page name="selectstorage">
1240 <object type="template" name="header" />
1241
1242 <object type="partitionlist">
1243 <highlight color="%fileselector_highlight_color%" />
1244 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1245 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1246 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1247 <text>Select Storage:</text>
1248 <icon selected="radio_true" unselected="radio_false" />
1249 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1250 <background color="%listbox_background%" />
1251 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1252 <data name="tw_storage_path" />
1253 <listtype name="storage" />
1254 </object>
1255
Dees_Troye7e0ae82013-07-05 14:46:07 +00001256 <object type="button">
1257 <highlight color="%highlight_color%" />
1258 <placement x="%filemanager_select_x%" y="%row2_y%" />
1259 <font resource="font" color="%button_text_color%" />
1260 <text>OK</text>
1261 <image resource="main_button" />
1262 <actions>
1263 <action function="set">tw_clear_destination=%tw_back%</action>
1264 <action function="page">clear_vars</action>
1265 </actions>
1266 </object>
1267
Dees_Troya13d74f2013-03-24 08:54:55 -05001268 <object type="action">
1269 <touch key="home" />
1270 <action function="page">main</action>
1271 </object>
1272
1273 <object type="action">
1274 <touch key="back" />
1275 <actions>
1276 <action function="page">%tw_back%</action>
1277 </actions>
1278 </object>
1279
1280 <object type="template" name="footer" />
1281 </page>
1282
Dees_Troy51a0e822012-09-05 15:24:24 -04001283 <page name="mount">
1284 <object type="template" name="header" />
1285
1286 <object type="text" color="%text_color%">
1287 <font resource="font" />
1288 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1289 <text>Mount Menu</text>
1290 </object>
1291
Dees_Troya13d74f2013-03-24 08:54:55 -05001292 <object type="partitionlist">
1293 <highlight color="%fileselector_highlight_color%" />
1294 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1295 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1296 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1297 <text>Select Partitions to Mount:</text>
1298 <icon selected="checkbox_true" unselected="checkbox_false" />
1299 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1300 <background color="%listbox_background%" />
1301 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1302 <listtype name="mount" />
1303 </object>
1304
1305 <object type="button">
1306 <highlight color="%highlight_color%" />
1307 <conditions>
1308 <condition var1="tw_is_encrypted" var2="1" />
1309 <condition var1="tw_is_decrypted" var2="0" />
1310 </conditions>
1311 <placement x="%col3_x%" y="row1_y" />
1312 <font resource="font" color="%button_text_color%" />
1313 <text>Decrypt Data</text>
1314 <image resource="main_button" />
1315 <action function="page">decrypt</action>
1316 </object>
1317
Dees_Troy51a0e822012-09-05 15:24:24 -04001318 <object type="button">
1319 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001320 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001321 <font resource="font" color="%button_text_color%" />
1322 <text>Mount USB Storage</text>
1323 <image resource="main_button" />
1324 <action function="page">usb_mount</action>
1325 </object>
1326
1327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001328 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001329 <fill color="%button_fill_color%" />
1330 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1331 <font resource="font" color="%button_text_color%" />
1332 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1333 <actions>
1334 <action function="set">tw_back=mount</action>
1335 <action function="page">selectstorage</action>
1336 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001337 </object>
1338
1339 <object type="action">
1340 <touch key="home" />
1341 <action function="page">main</action>
1342 </object>
1343
1344 <object type="action">
1345 <touch key="back" />
1346 <action function="page">main</action>
1347 </object>
1348
1349 <object type="template" name="footer" />
1350 </page>
1351
1352 <page name="usb_mount">
1353 <object type="template" name="header" />
1354
1355 <object type="text" color="%text_color%">
1356 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1357 <font resource="font" />
1358 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1359 </object>
1360
1361 <object type="text" color="%text_color%">
1362 <placement x="%col1_x%" y="%row2_text_y%" />
1363 <font resource="font" />
1364 <text></text>
1365 </object>
1366
1367 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001368 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001369 <placement x="%col_center_x%" y="%row1_y%" />
1370 <font resource="font" color="%button_text_color%" />
1371 <text>Unmount</text>
1372 <image resource="main_button" />
1373 <action function="page">usb_umount</action>
1374 </object>
1375
1376 <object type="action">
1377 <action function="mount">usb</action>
1378 </object>
1379
1380 <object type="template" name="footer" />
1381 </page>
1382
1383 <page name="usb_umount">
1384 <object type="action">
1385 <action function="unmount">usb</action>
1386 </object>
1387
1388 <object type="action">
1389 <action function="page">mount</action>
1390 </object>
1391
1392 <object type="template" name="footer" />
1393 </page>
1394
1395 <page name="wipe">
1396 <object type="template" name="header" />
1397
1398 <object type="text" color="%text_color%">
1399 <font resource="font" />
1400 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001401 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1402 </object>
1403
1404 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001405 <conditions>
1406 <condition var1="tw_has_android_secure" var2="1" />
1407 <condition var1="fileexists" var2="/and-sec" />
1408 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001409 <font resource="font" />
1410 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1411 <text>.android_secure</text>
1412 </object>
1413
1414 <object type="text" color="%text_color%">
1415 <condition var1="tw_has_data_media" var2="1" />
1416 <font resource="font" />
1417 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1418 <text>(not including internal storage)</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_has_sdext_partition" var2="1" />
1423 <font resource="font" />
1424 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1425 <text>SD-EXT</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <font resource="font" />
1430 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1431 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 </object>
1433
1434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001435 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001436 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001438 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001440 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 </object>
1442
1443 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 <conditions>
1445 <condition var1="tw_has_internal" var2="1" />
1446 <condition var1="tw_has_data_media" var2="1" />
1447 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001448 <highlight color="%highlight_color%" />
1449 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 <font resource="font" color="%button_text_color%" />
1451 <text>Format Data</text>
1452 <image resource="main_button" />
1453 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001454 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001455 </actions>
1456 </object>
1457
Dees_Troya13d74f2013-03-24 08:54:55 -05001458 <object type="text" color="%text_color%">
1459 <font resource="font" />
1460 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1461 <text>Press back button to cancel.</text>
1462 </object>
1463
1464 <object type="slider">
1465 <placement x="%slider_x%" y="%slider_y%" />
1466 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001467 <actions>
1468 <action function="set">tw_back=wipe</action>
1469 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001470 <action function="set">tw_action_param=data</action>
1471 <action function="set">tw_action_text1=Factory Reset...</action>
1472 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1473 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001474 </actions>
1475 </object>
1476
Dees_Troya13d74f2013-03-24 08:54:55 -05001477 <object type="text" color="%text_color%">
1478 <font resource="font" />
1479 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1480 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001481 </object>
1482
1483 <object type="action">
1484 <touch key="home" />
1485 <action function="page">main</action>
1486 </object>
1487
1488 <object type="action">
1489 <touch key="back" />
1490 <action function="page">main</action>
1491 </object>
1492
1493 <object type="template" name="footer" />
1494 </page>
1495
Dees_Troya13d74f2013-03-24 08:54:55 -05001496 <page name="advancedwipe">
1497 <object type="template" name="header" />
1498
1499 <object type="partitionlist">
1500 <highlight color="%fileselector_highlight_color%" />
1501 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1502 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1503 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1504 <text>Select Partitions to Wipe:</text>
1505 <icon selected="checkbox_true" unselected="checkbox_false" />
1506 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1507 <background color="%listbox_background%" />
1508 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1509 <data name="tw_wipe_list" />
1510 <listtype name="wipe" />
1511 </object>
1512
1513 <object type="slider">
1514 <placement x="%slider_x%" y="%slider_y%" />
1515 <resource base="slider" used="slider-used" touch="slider-touch" />
1516 <actions>
1517 <action function="set">tw_back=advancedwipe</action>
1518 <action function="set">tw_action=wipe</action>
1519 <action function="set">tw_action_param=LIST</action>
1520 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1521 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1522 <action function="set">tw_complete_text1=Wipe Complete</action>
1523 <action function="page">action_page</action>
1524 </actions>
1525 </object>
1526
1527 <object type="text" color="%text_color%">
1528 <font resource="font" />
1529 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1530 <text>Swipe to Wipe</text>
1531 </object>
1532
1533 <object type="action">
1534 <touch key="home" />
1535 <action function="page">main</action>
1536 </object>
1537
1538 <object type="action">
1539 <touch key="back" />
1540 <action function="page">wipe</action>
1541 </object>
1542
1543 <object type="template" name="footer" />
1544 </page>
1545
1546 <page name="formatdata">
1547 <object type="template" name="header" />
1548
1549 <object type="text" color="%text_color%">
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1552 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1553 </object>
1554
1555 <object type="text" color="%text_color%">
1556 <font resource="font" />
1557 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1558 <text>videos, media, and removes encryption on internal storage.</text>
1559 </object>
1560
1561 <object type="text" color="%text_color%">
1562 <font resource="font" />
1563 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1564 <text>This cannot be undone. Press back to cancel.</text>
1565 </object>
1566
1567 <object type="text" color="%text_color%">
1568 <font resource="font" />
1569 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1570 <text>Type yes to continue.</text>
1571 </object>
1572
1573 <object type="input">
1574 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1575 <background color="%input_background_color%" />
1576 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1577 <font resource="font" color="%text_color%" />
1578 <text>%tw_confirm_formatdata%</text>
1579 <data name="tw_confirm_formatdata" />
1580 <restrict minlen="3" maxlen="3" allow="yes" />
1581 <action function="page">formatdata_confirm</action>
1582 </object>
1583
1584 <object type="template" name="keyboardtemplate" />
1585
1586 <object type="action">
1587 <touch key="home" />
1588 <action function="page">main</action>
1589 </object>
1590
1591 <object type="action">
1592 <touch key="back" />
1593 <action function="page">wipe</action>
1594 </object>
1595
1596 <object type="template" name="footer" />
1597 </page>
1598
1599 <page name="formatdata_confirm">
1600 <object type="action">
1601 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1602 <actions>
1603 <action function="set">tw_back=formatdata</action>
1604 <action function="set">tw_action=wipe</action>
1605 <action function="set">tw_action_param=DATAMEDIA</action>
1606 <action function="set">tw_action_text1=Formatting Data...</action>
1607 <action function="set">tw_complete_text1=Data Format Complete</action>
1608 <action function="page">action_page</action>
1609 </actions>
1610 </object>
1611
1612 <object type="action">
1613 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1614 <action function="page">formatdata</function>
1615 </object>
1616 </page>
1617
Dees_Troy51a0e822012-09-05 15:24:24 -04001618 <page name="backup">
1619 <object type="template" name="header" />
1620
1621 <object type="text" color="%text_color%">
1622 <font resource="font" />
1623 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1624 <text>Back Up Device</text>
1625 </object>
1626
Dees_Troya13d74f2013-03-24 08:54:55 -05001627 <object type="partitionlist">
1628 <highlight color="%fileselector_highlight_color%" />
1629 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1630 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1631 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1632 <text>Select Partitions to Back Up:</text>
1633 <icon selected="checkbox_true" unselected="checkbox_false" />
1634 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1635 <background color="%listbox_background%" />
1636 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1637 <data name="tw_backup_list" />
1638 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001639 </object>
1640
1641 <object type="text" color="%text_color%">
1642 <font resource="font" />
1643 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1644 <text>Backup Name: %tw_backup_name%</text>
1645 </object>
1646
Dees_Troya13d74f2013-03-24 08:54:55 -05001647 <object type="button">
1648 <highlight color="%highlight_color%" />
1649 <placement x="%col3_x%" y="%row1_y%" />
1650 <font resource="font" color="%button_text_color%" />
1651 <text>Refresh Sizes</text>
1652 <image resource="main_button" />
Matt Mowercd8169c2014-04-02 04:24:08 -05001653 <actions>
1654 <action function="refreshsizes"></action>
1655 <action function="page">backup</action>
1656 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001657 </object>
1658
1659 <object type="button">
1660 <highlight color="%highlight_color%" />
1661 <placement x="%col4_x%" y="%row1_y%" />
1662 <font resource="font" color="%button_text_color%" />
1663 <text>Set Backup Name</text>
1664 <image resource="main_button" />
1665 <actions>
1666 <action function="set">tw_fileexists=0</action>
1667 <action function="page">backupname1</action>
1668 </actions>
1669 </object>
1670
1671 <object type="button">
1672 <highlight color="%highlight_color%" />
1673 <fill color="%button_fill_color%" />
1674 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1675 <font resource="font" color="%button_text_color%" />
1676 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1677 <actions>
1678 <action function="set">tw_back=backup</action>
1679 <action function="page">selectstorage</action>
1680 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001681 </object>
1682
Dees_Troy83bd4832013-05-04 12:39:56 +00001683 <object type="button">
1684 <conditions>
1685 <condition var1="tw_include_encrypted_backup" var2="1" />
1686 <condition var1="tw_encrypt_backup" var2="0" />
1687 </conditions>
1688 <highlight color="%highlight_color%" />
1689 <fill color="%button_fill_color%" />
1690 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1691 <font resource="font" color="%button_text_color%" />
1692 <text>No Encryption</text>
1693 <actions>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </object>
1697
1698 <object type="button">
1699 <conditions>
1700 <condition var1="tw_include_encrypted_backup" var2="1" />
1701 <condition var1="tw_encrypt_backup" var2="1" />
1702 </conditions>
1703 <highlight color="%highlight_color%" />
1704 <fill color="%button_fill_color%" />
1705 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1706 <font resource="font" color="%button_text_color%" />
1707 <text>Using Encryption</text>
1708 <actions>
1709 <action function="page">backupencryption</action>
1710 </actions>
1711 </object>
1712
Dees_Troy51a0e822012-09-05 15:24:24 -04001713 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <font resource="font" color="%text_color%" />
1716 <text>Enable Compression (Requires more time)</text>
1717 <data variable="tw_use_compression" />
1718 <image checked="checkbox_true" unchecked="checkbox_false" />
1719 </object>
1720
1721 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001722 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001723 <font resource="font" color="%text_color%" />
1724 <text>Skip MD5 generation on backups</text>
1725 <data variable="tw_skip_md5_generate" />
1726 <image checked="checkbox_true" unchecked="checkbox_false" />
1727 </object>
1728
Dees_Troy51a0e822012-09-05 15:24:24 -04001729 <object type="slider">
1730 <placement x="%slider_x%" y="%slider_y%" />
1731 <resource base="slider" used="slider-used" touch="slider-touch" />
1732 <actions>
1733 <action function="set">tw_operation_state=0</action>
1734 <action function="page">backup_run</action>
1735 </actions>
1736 </object>
1737
1738 <object type="text" color="%text_color%">
1739 <font resource="font" />
1740 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1741 <text>Swipe to Back Up</text>
1742 </object>
1743
Dees_Troy51a0e822012-09-05 15:24:24 -04001744 <object type="action">
1745 <touch key="home" />
1746 <action function="page">main</action>
1747 </object>
1748
1749 <object type="action">
1750 <touch key="back" />
1751 <action function="page">main</action>
1752 </object>
1753
1754 <object type="template" name="footer" />
1755 </page>
1756
1757 <page name="backupname1">
1758 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001759 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1760 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001761 </object>
1762
1763 <object type="action">
1764 <action function="page">backupname2</function>
1765 </object>
1766 </page>
1767
1768 <page name="backupname2">
1769 <object type="template" name="header" />
1770
1771 <object type="text" color="%text_color%">
1772 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1773 <font resource="font" />
1774 <text>Please Enter a Backup Name</text>
1775 </object>
1776
1777 <object type="input">
1778 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1779 <background color="%input_background_color%" />
1780 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1781 <font resource="font" color="%text_color%" />
1782 <text>%tw_backup_name%</text>
1783 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001784 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001785 <actions>
1786 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1787 <action function="set">tw_existpage=backupname2</action>
1788 <action function="set">tw_notexistpage=backup</action>
1789 <action function="page">filecheck</action>
1790 </actions>
1791 </object>
1792
1793 <object type="text" color="%text_fail_color%">
1794 <condition var1="tw_fileexists" var2="1" />
1795 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1796 <font resource="font" />
1797 <text>A backup with that name already exists!</text>
1798 </object>
1799
1800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001801 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001802 <placement x="%col2_x%" y="%cancel_button_y%" />
1803 <font resource="font" color="%button_text_color%" />
1804 <text>Append Date</text>
1805 <image resource="main_button" />
1806 <action function="appenddatetobackupname"></action>
1807 </object>
1808
1809 <object type="button">
1810 <highlight color="%highlight_color%" />
1811 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001812 <font resource="font" color="%button_text_color%" />
1813 <text>Cancel / Clear</text>
1814 <image resource="main_button" />
1815 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001816 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001817 <action function="page">backup</action>
1818 </actions>
1819 </object>
1820
1821 <object type="template" name="keyboardtemplate" />
1822
1823 <object type="action">
1824 <touch key="home" />
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">main</action>
1828 </actions>
1829 </object>
1830
1831 <object type="action">
1832 <touch key="back" />
1833 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001834 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001835 <action function="page">backup</action>
1836 </actions>
1837 </object>
1838
1839 <object type="template" name="footer" />
1840 </page>
1841
Dees_Troy83bd4832013-05-04 12:39:56 +00001842 <page name="backupencryption">
1843 <object type="template" name="header" />
1844
1845 <object type="text" color="%text_color%">
1846 <font resource="font" />
1847 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1848 <text>Encrypt your backup? Please enter a password:</text>
1849 </object>
1850
1851 <object type="input">
1852 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1853 <background color="%input_background_color%" />
1854 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1855 <font resource="font" color="%text_color%" />
1856 <text>%tw_backup_encrypt_display%</text>
1857 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1858 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1859 <action function="page">backupencryption2</action>
1860 </object>
1861
1862 <object type="text" color="%text_fail_color%">
1863 <condition var1="tw_password_not_match" var2="1" />
1864 <font resource="font" />
1865 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1866 <text>Passwords Do Not Match</text>
1867 </object>
1868
1869 <object type="button">
1870 <highlight color="%highlight_color%" />
1871 <placement x="%col_center_x%" y="%cancel_button_y%" />
1872 <font resource="font" color="%button_text_color%" />
1873 <text>Cancel</text>
1874 <image resource="main_button" />
1875 <actions>
1876 <action function="set">tw_encrypt_backup=0</action>
1877 <action function="set">tw_backup_password=</action>
1878 <action function="set">tw_backup_password2=</action>
1879 <action function="set">tw_backup_encrypt_display=</action>
1880 <action function="set">tw_backup_encrypt_display2=</action>
1881 <action function="page">backup</action>
1882 </actions>
1883 </object>
1884
1885 <object type="template" name="keyboardtemplate" />
1886
1887 <object type="action">
1888 <touch key="home" />
1889 <action function="page">main</action>
1890 </object>
1891
1892 <object type="action">
1893 <touch key="back" />
1894 <action function="page">backup</action>
1895 </object>
1896
1897 <object type="template" name="footer" />
1898 </page>
1899
1900 <page name="backupencryption2">
1901 <object type="template" name="header" />
1902
1903 <object type="text" color="%text_color%">
1904 <font resource="font" />
1905 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1906 <text>Encrypt your backup? Please Enter Password Again:</text>
1907 </object>
1908
1909 <object type="input">
1910 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1911 <background color="%input_background_color%" />
1912 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1913 <font resource="font" color="%text_color%" />
1914 <text>%tw_backup_encrypt_display2%</text>
1915 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1916 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1917 <actions>
1918 <action function="page">checkbackuppassword</action>
1919 </actions>
1920 </object>
1921
1922 <object type="button">
1923 <highlight color="%highlight_color%" />
1924 <placement x="%col_center_x%" y="%cancel_button_y%" />
1925 <font resource="font" color="%button_text_color%" />
1926 <text>Cancel</text>
1927 <image resource="main_button" />
1928 <actions>
1929 <action function="set">tw_encrypt_backup=0</action>
1930 <action function="set">tw_backup_password=</action>
1931 <action function="set">tw_backup_password2=</action>
1932 <action function="set">tw_backup_encrypt_display=</action>
1933 <action function="set">tw_backup_encrypt_display2=</action>
1934 <action function="page">backup</action>
1935 </actions>
1936 </object>
1937
1938 <object type="template" name="keyboardtemplate" />
1939
1940 <object type="action">
1941 <touch key="home" />
1942 <action function="page">main</action>
1943 </object>
1944
1945 <object type="action">
1946 <touch key="back" />
1947 <action function="page">backup</action>
1948 </object>
1949
1950 <object type="template" name="footer" />
1951 </page>
1952
1953 <page name="checkbackuppassword">
1954 <object type="action">
1955 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1956 <actions>
1957 <action function="set">tw_encrypt_backup=1</action>
1958 <action function="page">backup</action>
1959 </actions>
1960 </object>
1961
1962 <object type="action">
1963 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1964 <actions>
1965 <action function="set">tw_encrypt_backup=0</action>
1966 <action function="set">tw_password_not_match=1</action>
1967 <action function="set">tw_backup_password=</action>
1968 <action function="set">tw_backup_password2=</action>
1969 <action function="set">tw_backup_encrypt_display=</action>
1970 <action function="set">tw_backup_encrypt_display2=</action>
1971 <action function="page">backupencryption</action>
1972 </actions>
1973 </object>
1974 </page>
1975
Dees_Troy51a0e822012-09-05 15:24:24 -04001976 <page name="backup_run">
1977 <object type="template" name="header" />
1978
1979 <object type="text" color="%text_color%">
1980 <font resource="font" />
1981 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1982 <text>%tw_operation% %tw_partition%</text>
1983 </object>
1984
1985 <object type="template" name="action_page_console" />
1986
1987 <object type="template" name="progress_bar" />
1988
1989 <object type="action">
1990 <action function="nandroid">backup</action>
1991 </object>
1992
1993 <object type="action">
1994 <condition var1="tw_operation_state" var2="1" />
1995 <actions>
1996 <action function="set">tw_back=backup</action>
1997 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001998 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001999 <action function="page">action_complete</action>
2000 </actions>
2001 </object>
2002
2003 <object type="template" name="footer" />
2004 </page>
2005
2006 <page name="restore">
2007 <object type="template" name="header" />
2008
2009 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002010 <highlight color="%highlight_color%" />
2011 <fill color="%button_fill_color%" />
2012 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2013 <font resource="font" color="%button_text_color%" />
2014 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2015 <actions>
2016 <action function="set">tw_back=restore</action>
2017 <action function="page">selectstorage</action>
2018 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002019 </object>
2020
2021 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002022 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002023 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2024 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002025 <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 -04002026 <text>Select Package to Restore:</text>
2027 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2028 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002029 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002030 <icon folder="folder_icon" file="file_icon" />
2031 <background color="%fileselector_background%" />
2032 <filter folders="1" files="0" nav="0" />
2033 <path name="tw_backups_folder" />
2034 <data name="tw_restore" default="" />
2035 <selection name="tw_restore_name" />
2036 </object>
2037
2038 <object type="template" name="sort_options" />
2039
2040 <object type="action">
2041 <condition var1="tw_restore" op="modified" />
2042 <actions>
2043 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002044 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002045 </actions>
2046 </object>
2047
2048 <object type="action">
2049 <touch key="home" />
2050 <action function="page">main</action>
2051 </object>
2052
2053 <object type="action">
2054 <touch key="back" />
2055 <action function="page">main</action>
2056 </object>
2057
2058 <object type="template" name="footer" />
2059 </page>
2060
Dees_Troy83bd4832013-05-04 12:39:56 +00002061 <page name="restore_read">
2062 <object type="action">
2063 <condition var1="tw_restore_encrypted" var2="1" />
2064 <actions>
2065 <action function="set">tw_password_fail=0</action>
2066 <action function="page">restore_decrypt</action>
2067 </actions>
2068 </object>
2069
2070 <object type="action">
2071 <condition var1="tw_restore_encrypted" var2="0" />
2072 <actions>
2073 <action function="page">restore_select</action>
2074 </actions>
2075 </object>
2076 </page>
2077
2078 <page name="restore_decrypt">
2079 <object type="template" name="header" />
2080
2081 <object type="text" color="%text_color%">
2082 <font resource="font" />
2083 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2084 <text>Backup encrypted. Please enter your password:</text>
2085 </object>
2086
2087 <object type="input">
2088 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2089 <background color="%input_background_color%" />
2090 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2091 <font resource="font" color="%text_color%" />
2092 <text>%tw_restore_display%</text>
2093 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2094 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2095 <actions>
2096 <action function="page">try_restore_decrypt</action>
2097 </actions>
2098 </object>
2099
2100 <object type="text" color="%text_fail_color%">
2101 <condition var1="tw_password_fail" var2="1" />
2102 <font resource="font" />
2103 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2104 <text>Password Failed, Please Try Again</text>
2105 </object>
2106
2107 <object type="button">
2108 <highlight color="%highlight_color%" />
2109 <placement x="%col2_x%" y="%cancel_button_y%" />
2110 <font resource="font" color="%button_text_color%" />
2111 <text>Cancel</text>
2112 <image resource="main_button" />
2113 <actions>
2114 <action function="set">tw_page_done=1</action>
2115 <action function="page">restore</action>
2116 </actions>
2117 </object>
2118
2119 <object type="button">
2120 <highlight color="%highlight_color%" />
2121 <placement x="%col3_x%" y="%cancel_button_y%" />
2122 <font resource="font" color="%button_text_color%" />
2123 <text>Delete</text>
2124 <image resource="main_button" />
2125 <actions>
2126 <action function="set">tw_back=restore</action>
2127 <action function="set">tw_action=cmd</action>
2128 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2129 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2130 <action function="set">tw_text2=This cannot be undone!</action>
2131 <action function="set">tw_action_text1=Deleting Backup...</action>
2132 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2133 <action function="set">tw_slider_text=Swipe to Delete</action>
2134 <action function="page">confirm_action</action>
2135 </actions>
2136 </object>
2137
2138 <object type="template" name="keyboardtemplate" />
2139
2140 <object type="action">
2141 <touch key="home" />
2142 <action function="page">main</action>
2143 </object>
2144
2145 <object type="action">
2146 <touch key="back" />
2147 <action function="page">restore</action>
2148 </object>
2149
2150 <object type="template" name="footer" />
2151 </page>
2152
2153 <page name="try_restore_decrypt">
2154 <object type="template" name="header" />
2155
2156 <object type="text" color="%text_color%">
2157 <font resource="font" />
2158 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2159 <text>Trying Decryption with Your Password</text>
2160 </object>
2161
2162 <object type="template" name="action_page_console" />
2163
2164 <object type="template" name="progress_bar" />
2165
2166 <object type="action">
2167 <action function="decrypt_backup"></action>
2168 </object>
2169
2170 <object type="action">
2171 <conditions>
2172 <condition var1="tw_operation_state" var2="1" />
2173 <condition var1="tw_operation_status" op="!=" var2="0" />
2174 </conditions>
2175 <actions>
2176 <action function="set">tw_password_fail=1</action>
2177 <action function="page">restore_decrypt</action>
2178 </actions>
2179 </object>
2180
2181 <object type="action">
2182 <conditions>
2183 <condition var1="tw_operation_state" var2="1" />
2184 <condition var1="tw_operation_status" op="=" var2="0" />
2185 </conditions>
2186 <actions>
2187 <action function="set">tw_page_done=1</action>
2188 <action function="page">restore_select</action>
2189 </actions>
2190 </object>
2191 </page>
2192
Dees_Troy51a0e822012-09-05 15:24:24 -04002193 <page name="restore_select">
2194 <object type="template" name="header" />
2195
2196 <object type="text" color="%text_color%">
2197 <font resource="font" />
2198 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2199 <text>Package to Restore: %tw_restore_name%</text>
2200 </object>
2201
2202 <object type="text" color="%text_color%">
2203 <font resource="font" />
2204 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2205 <text>Package Date: %tw_restore_file_date%</text>
2206 </object>
2207
Dees_Troya13d74f2013-03-24 08:54:55 -05002208 <object type="partitionlist">
2209 <highlight color="%fileselector_highlight_color%" />
2210 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2211 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2212 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2213 <text>Select Partitions to Restore:</text>
2214 <icon selected="checkbox_true" unselected="checkbox_false" />
2215 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2216 <background color="%listbox_background%" />
2217 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2218 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2219 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002220 </object>
2221
2222 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002223 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <font resource="font" color="%text_color%" />
2225 <text>Enable MD5 checking of backup files</text>
2226 <data variable="tw_skip_md5_check" />
2227 <image checked="checkbox_true" unchecked="checkbox_false" />
2228 </object>
2229
2230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002232 <placement x="%col4_x%" y="%row1_y%" />
2233 <font resource="font" color="%button_text_color%" />
2234 <text>Rename Backup</text>
2235 <image resource="main_button" />
2236 <actions>
2237 <action function="set">tw_backup_rename=</action>
2238 <action function="set">tw_fileexists=0</action>
2239 <action function="page">renamebackup</action>
2240 </actions>
2241 </object>
2242
2243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002244 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002245 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <font resource="font" color="%button_text_color%" />
2247 <text>Delete Backup</text>
2248 <image resource="main_button" />
2249 <actions>
2250 <action function="set">tw_back=restore</action>
2251 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002252 <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 -04002253 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2254 <action function="set">tw_text2=This cannot be undone!</action>
2255 <action function="set">tw_action_text1=Deleting Backup...</action>
2256 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2257 <action function="set">tw_slider_text=Swipe to Delete</action>
2258 <action function="page">confirm_action</action>
2259 </actions>
2260 </object>
2261
2262 <object type="slider">
2263 <placement x="%slider_x%" y="%slider_y%" />
2264 <resource base="slider" used="slider-used" touch="slider-touch" />
2265 <action function="page">restore_run</action>
2266 </object>
2267
2268 <object type="text" color="%text_color%">
2269 <font resource="font" />
2270 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2271 <text>Swipe to Restore</text>
2272 </object>
2273
2274 <object type="action">
2275 <touch key="home" />
2276 <action function="page">main</action>
2277 </object>
2278
2279 <object type="action">
2280 <touch key="back" />
2281 <action function="page">restore</action>
2282 </object>
2283
2284 <object type="template" name="footer" />
2285 </page>
2286
2287 <page name="renamebackup">
2288 <object type="template" name="header" />
2289
2290 <object type="text" color="%text_color%">
2291 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2292 <font resource="font" />
2293 <text>Please Enter a New Backup Name</text>
2294 </object>
2295
2296 <object type="input">
2297 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2298 <background color="%input_background_color%" />
2299 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2300 <font resource="font" color="%text_color%" />
2301 <text>%tw_backup_rename%</text>
2302 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002303 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002304 <actions>
2305 <action function="set">tw_back=restore</action>
2306 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002307 <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 -04002308 <action function="set">tw_text1=Rename Backup?</action>
2309 <action function="set">tw_text2=This cannot be undone!</action>
2310 <action function="set">tw_action_text1=Renaming Backup...</action>
2311 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2312 <action function="set">tw_slider_text=Swipe to Rename</action>
2313 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2314 <action function="set">tw_existpage=renamebackup</action>
2315 <action function="set">tw_notexistpage=confirm_action</action>
2316 <action function="page">filecheck</action>
2317 </actions>
2318 </object>
2319
2320 <object type="text" color="%text_fail_color%">
2321 <condition var1="tw_fileexists" var2="1" />
2322 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2323 <font resource="font" />
2324 <text>A backup with that name already exists!</text>
2325 </object>
2326
2327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002329 <placement x="%col_center_x%" y="%cancel_button_y%" />
2330 <font resource="font" color="%button_text_color%" />
2331 <text>Cancel</text>
2332 <image resource="main_button" />
2333 <action function="page">restore_select</action>
2334 </object>
2335
2336 <object type="template" name="keyboardtemplate" />
2337
2338 <object type="action">
2339 <touch key="home" />
2340 <action function="page">main</action>
2341 </object>
2342
2343 <object type="action">
2344 <touch key="back" />
2345 <action function="page">restore_select</action>
2346 </object>
2347
2348 <object type="template" name="footer" />
2349 </page>
2350
2351 <page name="restore_run">
2352 <object type="template" name="header" />
2353
2354 <object type="text" color="%text_color%">
2355 <font resource="font" />
2356 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2357 <text>%tw_operation% %tw_partition%</text>
2358 </object>
2359
2360 <object type="template" name="action_page_console" />
2361
2362 <object type="template" name="progress_bar" />
2363
2364 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002365 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <actions>
2367 <action function="set">tw_back=restore_select</action>
2368 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002369 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002370 <action function="page">action_complete</action>
2371 </actions>
2372 </object>
2373
2374 <object type="action">
2375 <action function="nandroid">restore</action>
2376 </object>
2377 </page>
2378
2379 <page name="settings">
2380 <object type="template" name="header" />
2381
2382 <object type="text" color="%text_color%">
2383 <font resource="font" />
2384 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2385 <text>Settings</text>
2386 </object>
2387
2388 <object type="checkbox">
2389 <placement x="%col1_x%" y="%row2_text_y%" />
2390 <font resource="font" color="%text_color%" />
2391 <text>Zip file signature verification?</text>
2392 <data variable="tw_signed_zip_verify" />
2393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
2397 <placement x="%col1_x%" y="%row3_text_y%" />
2398 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <text>Use rm -rf instead of formatting?</text>
2400 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
2407 <text>Skip MD5 generation on backups</text>
2408 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <font resource="font" color="%text_color%" />
2415 <text>Enable MD5 checking of backup files</text>
2416 <data variable="tw_skip_md5_check" />
2417 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002423 <text>Use Military Time</text>
2424 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002429 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <font resource="font" color="%text_color%" />
2431 <text>Simulate most actions for theme testing</text>
2432 <data variable="tw_simulate_actions" />
2433 <image checked="checkbox_true" unchecked="checkbox_false" />
2434 </object>
2435
2436 <object type="checkbox">
2437 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002438 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002439 <font resource="font" color="%text_color%" />
2440 <text>Simulate failure for actions</text>
2441 <data variable="tw_simulate_fail" />
2442 <image checked="checkbox_true" unchecked="checkbox_false" />
2443 </object>
2444
2445 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002446 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <placement x="%col1_x%" y="%row2_y%" />
2448 <font resource="font" color="%button_text_color%" />
2449 <text>Time Zone</text>
2450 <image resource="main_button" />
2451 <action function="page">timezone</action>
2452 </object>
2453
2454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002455 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002456 <placement x="%col2_x%" y="%row2_y%" />
2457 <font resource="font" color="%button_text_color%" />
2458 <text>Restore Defaults</text>
2459 <image resource="main_button" />
2460 <action function="restoredefaultsettings"></action>
2461 </object>
2462
2463 <object type="button">
2464 <highlight color="%highlight_color%" />
2465 <placement x="%col3_x%" y="%row2_y%" />
2466 <font resource="font" color="%button_text_color%" />
2467 <text>Vibration Duration</text>
2468 <image resource="main_button" />
2469 <action function="page">Vibrate</action>
2470 </object>
2471
2472 <object type="button">
2473 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002474 <placement x="%col4_x%" y="%row2_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>Screen</text>
2477 <image resource="main_button" />
2478 <action function="page">screen</action>
2479 </object>
2480
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <object type="action">
2482 <touch key="home" />
2483 <action function="page">main</action>
2484 </object>
2485
2486 <object type="action">
2487 <touch key="back" />
2488 <action function="page">main</action>
2489 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002490
Dees_Troy51a0e822012-09-05 15:24:24 -04002491 <object type="template" name="footer" />
2492 </page>
2493
2494 <page name="timezone">
2495 <object type="template" name="header" />
2496
2497 <object type="text" color="%text_color%">
2498 <font resource="font" />
2499 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2500 <text>Select Time Zone</text>
2501 </object>
2502
2503 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002504 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002506 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002507 <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 -06002508 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002509 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002510 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002512 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <data name="tw_time_zone_guisel" />
2514 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2515 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2516 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2517 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2518 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2519 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2520 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2521 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2522 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2523 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2524 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2525 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2526 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2527 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2528 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2529 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2530 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2531 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2532 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2533 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2534 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2535 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2536 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2537 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2538 </object>
2539
2540 <object type="checkbox">
2541 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2542 <font resource="font" color="%text_color%" />
2543 <text>Do you use daylight savings time (DST)?</text>
2544 <data variable="tw_time_zone_guidst" />
2545 <image checked="checkbox_true" unchecked="checkbox_false" />
2546 </object>
2547
2548 <object type="text" color="%text_color%">
2549 <font resource="font" />
2550 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2551 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002556 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2557 <font resource="font" color="%button_text_color%" />
2558 <text>0</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=0</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2566 <font resource="font" color="%button_text_color%" />
2567 <text>15</text>
2568 <image resource="medium_button" />
2569 <action function="set">tw_time_zone_guioffset=15</action>
2570 </object>
2571
2572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002573 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002574 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2575 <font resource="font" color="%button_text_color%" />
2576 <text>30</text>
2577 <image resource="medium_button" />
2578 <action function="set">tw_time_zone_guioffset=30</action>
2579 </object>
2580
2581 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002582 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002583 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2584 <font resource="font" color="%button_text_color%" />
2585 <text>45</text>
2586 <image resource="medium_button" />
2587 <action function="set">tw_time_zone_guioffset=45</action>
2588 </object>
2589
2590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002592 <placement x="%col4_x%" y="%row2_y%" />
2593 <font resource="font" color="%button_text_color%" />
2594 <text>Set Time Zone</text>
2595 <image resource="main_button" />
2596 <action function="setguitimezone"></action>
2597 </object>
2598
2599 <object type="text" color="%text_color%">
2600 <font resource="font" />
2601 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2602 <text>Current Time Zone: %tw_time_zone%</text>
2603 </object>
2604
2605 <object type="action">
2606 <touch key="home" />
2607 <action function="page">main</action>
2608 </object>
2609
2610 <object type="action">
2611 <touch key="back" />
2612 <action function="page">settings</action>
2613 </object>
2614
2615 <object type="template" name="footer" />
2616 </page>
2617
Dees_Troy2f9117a2013-02-17 19:52:09 -06002618 <page name="screen">
2619 <object type="template" name="header" />
2620
2621 <object type="text" color="%text_color%">
2622 <font resource="font" />
2623 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2624 <text>Screen Settings</text>
2625 </object>
2626
Dees_Troy2f9117a2013-02-17 19:52:09 -06002627 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002628 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2629 <font resource="font" color="%text_color%" />
2630 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002631 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <text>Enable screen timeout.</text>
2633 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 <action function="set">tw_screen_timeout_secs=60</action>
2635 </object>
2636
2637 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002638 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2639 <font resource="font" color="%text_color%" />
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 <text>Enable screen timeout.</text>
2643 <image resource="checkbox_true" />
2644 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002645 </object>
2646
Vojtech Bocek85932342013-04-01 22:11:33 +02002647 <object type="slidervalue">
2648 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002649 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002650 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2651 <font resource="font" color="%text_color%" />
2652 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2653 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2654 <text>Screen timeout in seconds:</text>
2655 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002656 </object>
2657
Vojtech Bocek85932342013-04-01 22:11:33 +02002658 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002659 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002660 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2661 <font resource="font" color="%text_color%" />
2662 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2663 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2664 <text>Brightness: %tw_brightness_pct%%</text>
2665 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002666 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002667 <action function="set">tw_brightness=%tw_brightness_max%</action>
2668 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2669 <action function="compute">tw_brightness/100</action>
2670 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002671 </actions>
2672 </object>
2673
2674 <object type="action">
2675 <touch key="home" />
2676 <action function="page">main</action>
2677 </object>
2678
2679 <object type="action">
2680 <touch key="back" />
2681 <action function="page">settings</action>
2682 </object>
2683
2684 <object type="template" name="footer" />
2685 </page>
2686
Ethan Yonker03db3262014-02-05 08:02:06 -06002687 <page name="Vibrate">
2688 <object type="template" name="header" />
2689
2690 <object type="text" color="%text_color%">
2691 <font resource="font" />
2692 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2693 <text>Vibration Settings :</text>
2694 </object>
2695
2696 <object type="slidervalue">
2697 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2698 <font resource="font" color="%text_color%" />
2699 <text>Button Vibration:</text>
2700 <data variable="tw_button_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="%row7_text_y%" w="%slidervalue_w%" />
2706 <font resource="font" color="%text_color%" />
2707 <text>Keyboard Vibration:</text>
2708 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2709 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2710 </object>
2711
2712 <object type="slidervalue">
2713 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2714 <font resource="font" color="%text_color%" />
2715 <text>Action Vibration:</text>
2716 <data variable="tw_action_vibrate" min="0" max="500" />
2717 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2718 </object>
2719
2720 <object type="action">
2721 <touch key="home" />
2722 <action function="page">main</action>
2723 </object>
2724
2725 <object type="action">
2726 <touch key="back" />
2727 <action function="page">settings</action>
2728 </object>
2729
2730 <object type="template" name="footer" />
2731 </page>
2732
Dees_Troy51a0e822012-09-05 15:24:24 -04002733 <page name="advanced">
2734 <object type="template" name="header" />
2735
2736 <object type="text" color="%text_color%">
2737 <font resource="font" />
2738 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2739 <text>Advanced</text>
2740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <placement x="%col1_x%" y="%row1_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text>Copy Log to SD</text>
2747 <image resource="main_button" />
2748 <actions>
2749 <action function="set">tw_back=advanced</action>
2750 <action function="set">tw_action=copylog</action>
2751 <action function="set">tw_text1=Copy Log to SD Card?</action>
2752 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2753 <action function="set">tw_complete_text1=Log Copy Complete</action>
2754 <action function="set">tw_slider_text=Swipe to Confirm</action>
2755 <action function="page">confirm_action</action>
2756 </actions>
2757 </object>
2758
2759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <placement x="%col2_x%" y="%row1_y%" />
2762 <font resource="font" color="%button_text_color%" />
2763 <text>Fix Permissions</text>
2764 <image resource="main_button" />
2765 <actions>
2766 <action function="set">tw_back=advanced</action>
2767 <action function="set">tw_action=fixpermissions</action>
2768 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2771 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002772 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <action function="page">confirm_action</action>
2774 </actions>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <placement x="%col3_x%" y="%row1_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text>Terminal Command</text>
2782 <image resource="main_button" />
2783 <action function="page">terminalfolder</action>
2784 </object>
2785
2786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002787 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002788 <placement x="%col4_x%" y="%row1_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>ADB Sideload</text>
2791 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002792 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002793 </object>
2794
2795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002796 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002797 <condition var1="tw_allow_partition_sdcard" var2="1" />
2798 <placement x="%col1_x%" y="%row2_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>Partition SD Card</text>
2801 <image resource="main_button" />
2802 <action function="page">partsdcard</action>
2803 </object>
2804
2805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002806 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002807 <placement x="%col2_x%" y="%row2_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>File Manager</text>
2810 <image resource="main_button" />
2811 <action function="page">filemanagerlist</action>
2812 </object>
2813
2814 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002815 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002816 <placement x="%col3_x%" y="%row2_y%" />
2817 <font resource="font" color="%button_text_color%" />
2818 <text>Reload Theme</text>
2819 <image resource="main_button" />
2820 <action function="reload"></action>
2821 </object>
2822
2823 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002824 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002825 <condition var1="tw_show_dumlock" var2="1" />
2826 <placement x="%col4_x%" y="%row2_y%" />
2827 <font resource="font" color="%button_text_color%" />
2828 <text>HTC Dumlock</text>
2829 <image resource="main_button" />
2830 <action function="page">htcdumlock</action>
2831 </object>
2832
2833 <object type="action">
2834 <touch key="home" />
2835 <action function="page">main</action>
2836 </object>
2837
2838 <object type="action">
2839 <touch key="back" />
2840 <action function="page">main</action>
2841 </object>
2842
2843 <object type="template" name="footer" />
2844 </page>
2845
2846 <page name="partsdcard">
2847 <object type="template" name="header" />
2848
2849 <object type="text" color="%text_color%">
2850 <font resource="font" />
2851 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2852 <text>Partition SD Card</text>
2853 </object>
2854
2855 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002856 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002857 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2858 <font resource="font" color="%button_text_color%" />
2859 <text></text>
2860 <image resource="minus_button" />
2861 <action function="addsubtract">tw_sdext_size-128</action>
2862 </object>
2863
2864 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002865 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text></text>
2869 <image resource="plus_button" />
2870 <action function="addsubtract">tw_sdext_size+128</action>
2871 </object>
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2876 <text>EXT Size: %tw_sdext_size%</text>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="minus_button" />
2885 <action function="addsubtract">tw_swap_size-32</action>
2886 </object>
2887
2888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002889 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text></text>
2893 <image resource="plus_button" />
2894 <action function="addsubtract">tw_swap_size+32</action>
2895 </object>
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2900 <text>Swap Size: %tw_swap_size%</text>
2901 </object>
2902
2903 <object type="text" color="%text_color%">
2904 <font resource="font" />
2905 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2906 <text>File system: %tw_sdpart_file_system%</text>
2907 </object>
2908
2909 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002910 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2912 <font resource="font" color="%button_text_color%" />
2913 <text>EXT3</text>
2914 <image resource="medium_button" />
2915 <action function="set">tw_sdpart_file_system=ext3</action>
2916 </object>
2917
2918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002919 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <condition var1="tw_sdext_disable_ext4" var2="0" />
2921 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2922 <font resource="font" color="%button_text_color%" />
2923 <text>EXT4</text>
2924 <image resource="medium_button" />
2925 <action function="set">tw_sdpart_file_system=ext4</action>
2926 </object>
2927
2928 <object type="text" color="%text_color%">
2929 <font resource="font" />
2930 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2931 <text>You will lose all files on your SD card!</text>
2932 </object>
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2937 <text>This action cannot be undone!</text>
2938 </object>
2939
2940 <object type="slider">
2941 <placement x="%slider_x%" y="%slider_y%" />
2942 <resource base="slider" used="slider-used" touch="slider-touch" />
2943 <actions>
2944 <action function="set">tw_back=partsdcard</action>
2945 <action function="set">tw_action=partitionsd</action>
2946 <action function="set">tw_has_action2=1</action>
2947 <action function="set">tw_action2=set</action>
2948 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2949 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2950 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002951 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <action function="page">action_page</action>
2953 </actions>
2954 </object>
2955
2956 <object type="text" color="%text_color%">
2957 <font resource="font" />
2958 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2959 <text>Swipe to Confirm Partition</text>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="home" />
2964 <action function="page">main</action>
2965 </object>
2966
2967 <object type="action">
2968 <touch key="back" />
2969 <action function="page">advanced</action>
2970 </object>
2971
2972 <object type="template" name="footer" />
2973 </page>
2974
2975
2976 <page name="htcdumlock">
2977 <object type="template" name="header" />
2978
2979 <object type="text" color="%text_color%">
2980 <font resource="font" />
2981 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2982 <text>HTC Dumlock</text>
2983 </object>
2984
2985 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002986 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002987 <condition var1="tw_show_dumlock" var2="1" />
2988 <placement x="%col1_x%" y="%row1_y%" />
2989 <font resource="font" color="%button_text_color%" />
2990 <text>Restore Original Boot</text>
2991 <image resource="main_button" />
2992 <actions>
2993 <action function="set">tw_back=htcdumlock</action>
2994 <action function="set">tw_action=htcdumlockrestoreboot</action>
2995 <action function="set">tw_text1=Restore original boot image?</action>
2996 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2997 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2998 <action function="set">tw_slider_text=Swipe to Confirm</action>
2999 <action function="page">confirm_action</action>
3000 </actions>
3001 </object>
3002
3003 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003004 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003005 <condition var1="tw_show_dumlock" var2="1" />
3006 <placement x="%col2_x%" y="%row1_y%" />
3007 <font resource="font" color="%button_text_color%" />
3008 <text>Reflash Recovery->Boot</text>
3009 <image resource="main_button" />
3010 <actions>
3011 <action function="set">tw_back=htcdumlock</action>
3012 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3013 <action function="set">tw_text1=Reflash recovery to boot?</action>
3014 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3015 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3016 <action function="set">tw_slider_text=Swipe to Confirm</action>
3017 <action function="page">confirm_action</action>
3018 </actions>
3019 </object>
3020
3021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003022 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <condition var1="tw_show_dumlock" var2="1" />
3024 <placement x="%col1_x%" y="%row2_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>Install HTC Dumlock</text>
3027 <image resource="main_button" />
3028 <actions>
3029 <action function="set">tw_back=htcdumlock</action>
3030 <action function="set">tw_action=installhtcdumlock</action>
3031 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3032 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3033 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3034 <action function="set">tw_slider_text=Swipe to Confirm</action>
3035 <action function="page">confirm_action</action>
3036 </actions>
3037 </object>
3038
3039 <object type="action">
3040 <touch key="home" />
3041 <action function="page">main</action>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="back" />
3046 <action function="page">advanced</action>
3047 </object>
3048
3049 <object type="template" name="footer" />
3050 </page>
3051
3052 <page name="lock">
3053 <background color="#000000A0" />
3054
3055 <object type="image">
3056 <image resource="unlock-icon" />
3057 <placement x="%lock_x%" y="%lock_y%" />
3058 </object>
3059
3060 <object type="slider">
3061 <placement x="%slider_x%" y="%slider_y%" />
3062 <resource base="slider" used="slider-used" touch="slider-touch" />
3063 <action function="overlay"></action>
3064 </object>
3065
3066 <object type="text" color="%text_color%">
3067 <font resource="font" />
3068 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3069 <text>Swipe to Unlock</text>
3070 </object>
3071 </page>
3072
3073
3074 <page name="filemanagerlist">
3075 <object type="template" name="header" />
3076
3077 <object type="text" color="%text_color%">
3078 <font resource="font" />
3079 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3080 <text>File Manager: Select a File or Folder</text>
3081 </object>
3082
3083 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003084 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003085 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3086 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003087 <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 -04003088 <text>Folders:</text>
3089 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3090 <sort name="tw_gui_sort_order" />
3091 <icon folder="folder_icon" file="file_icon" />
3092 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003093 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <filter folders="1" files="0" />
3095 <path name="tw_file_location1" default="/sdcard" />
3096 <data name="select" />
3097 <selection name="tw_selection1" />
3098 </object>
3099
3100 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003101 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003102 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3103 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003104 <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 -04003105 <text>%tw_file_location1%</text>
3106 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3107 <sort name="tw_gui_sort_order" />
3108 <icon folder="folder_icon" file="file_icon" />
3109 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003110 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003111 <filter folders="0" files="1" />
3112 <path name="tw_file_location1" default="/" />
3113 <data name="tw_filename1" />
3114 <selection name="tw_selection1" />
3115 </object>
3116
3117 <object type="template" name="sort_options" />
3118
3119 <object type="action">
3120 <actions>
3121 <action function="set">tw_fm_type=File</action>
3122 <action function="set">tw_fm_isfolder=0</action>
3123 </actions>
3124 </object>
3125
3126 <object type="action">
3127 <touch key="home" />
3128 <action function="page">main</action>
3129 </object>
3130
3131 <object type="action">
3132 <touch key="back" />
3133 <action function="page">advanced</action>
3134 </object>
3135
3136 <object type="action">
3137 <condition var1="tw_filename1" op="modified" />
3138 <actions>
3139 <action function="page">filemanageroptions</action>
3140 </actions>
3141 </object>
3142
3143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003145 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3146 <font resource="font" color="%button_text_color%" />
3147 <text>Select Folder</text>
3148 <image resource="main_button" />
3149 <actions>
3150 <action function="set">tw_filename1=tw_file_location1</action>
3151 <action function="set">tw_fm_isfolder=1</action>
3152 <action function="set">tw_fm_type=Folder</action>
3153 <action function="page">filemanageroptions</action>
3154 </actions>
3155 </object>
3156
3157 <object type="template" name="footer" />
3158 </page>
3159
3160 <page name="filemanageroptions">
3161 <object type="template" name="header" />
3162
3163 <object type="text" color="%text_color%">
3164 <font resource="font" />
3165 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3166 <text>%tw_fm_type% Selected:</text>
3167 </object>
3168
3169 <object type="text" color="%text_color%">
3170 <font resource="font" />
3171 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3172 <text>%tw_filename1%</text>
3173 </object>
3174
3175 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003176 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003177 <condition var1="tw_fm_isfolder" var2="0" />
3178 <placement x="%col1_x%" y="%row2_y%" />
3179 <font resource="font" color="%button_text_color%" />
3180 <text>Copy File</text>
3181 <image resource="main_button" />
3182 <actions>
3183 <action function="set">tw_filemanager_command=cp</action>
3184 <action function="set">tw_fm_text1=Copying</action>
3185 <action function="page">choosedestinationfolder</action>
3186 </actions>
3187 </object>
3188
3189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003191 <condition var1="tw_fm_isfolder" var2="1" />
3192 <placement x="%col1_x%" y="%row2_y%" />
3193 <font resource="font" color="%button_text_color%" />
3194 <text>Copy Folder</text>
3195 <image resource="main_button" />
3196 <actions>
3197 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3198 <action function="set">tw_fm_text1=Copying</action>
3199 <action function="page">choosedestinationfolder</action>
3200 </actions>
3201 </object>
3202
3203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003205 <placement x="%col2_x%" y="%row2_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>Move</text>
3208 <image resource="main_button" />
3209 <actions>
3210 <action function="set">tw_filemanager_command=mv</action>
3211 <action function="set">tw_fm_text1=Moving</action>
3212 <action function="page">choosedestinationfolder</action>
3213 </actions>
3214 </object>
3215
3216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003218 <placement x="%col3_x%" y="%row2_y%" />
3219 <font resource="font" color="%button_text_color%" />
3220 <text>chmod 755</text>
3221 <image resource="main_button" />
3222 <actions>
3223 <action function="set">tw_filemanager_command=chmod 755</action>
3224 <action function="set">tw_fm_text1=chmod 755</action>
3225 <action function="set">tw_fm_text2=</action>
3226 <action function="set">tw_fm_text3=</action>
3227 <action function="set">tw_include_text3=0</action>
3228 <action function="set">tw_back=filemanageroptions</action>
3229 <action function="page">filemanagerconfirm</action>
3230 </actions>
3231 </object>
3232
3233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003235 <placement x="%col4_x%" y="%row2_y%" />
3236 <font resource="font" color="%button_text_color%" />
3237 <text>chmod</text>
3238 <image resource="main_button" />
3239 <actions>
3240 <action function="set">tw_filemanager_rename=0000</action>
3241 <action function="set">tw_fm_text2=</action>
3242 <action function="set">tw_fm_text3=</action>
3243 <action function="set">tw_include_text3=0</action>
3244 <action function="set">tw_back=filemanageroptions</action>
3245 <action function="page">filemanagerchmod</action>
3246 </actions>
3247 </object>
3248
3249 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003250 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003251 <placement x="%col1_x%" y="%row1_y%" />
3252 <font resource="font" color="%button_text_color%" />
3253 <text>Delete</text>
3254 <image resource="main_button" />
3255 <actions>
3256 <action function="set">tw_filemanager_command=rm -rf</action>
3257 <action function="set">tw_fm_text1=Deleting</action>
3258 <action function="set">tw_fm_text2=</action>
3259 <action function="set">tw_fm_text3=</action>
3260 <action function="set">tw_include_text3=0</action>
3261 <action function="set">tw_back=filemanageroptions</action>
3262 <action function="page">filemanagerconfirm</action>
3263 </actions>
3264 </object>
3265
3266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003268 <condition var1="tw_fm_isfolder" var2="0" />
3269 <placement x="%col4_x%" y="%row1_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Rename File</text>
3272 <image resource="main_button" />
3273 <actions>
3274 <action function="set">tw_filemanager_rename=tw_selection1</action>
3275 <action function="set">tw_fm_text1=Renaming</action>
3276 <action function="set">tw_filemanager_command=mv</action>
3277 <action function="page">filemanagerrenamefile</action>
3278 </actions>
3279 </object>
3280
3281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003283 <condition var1="tw_fm_isfolder" var2="1" />
3284 <placement x="%col4_x%" y="%row1_y%" />
3285 <font resource="font" color="%button_text_color%" />
3286 <text>Rename Folder</text>
3287 <image resource="main_button" />
3288 <actions>
3289 <action function="set">tw_filemanager_rename=tw_selection1</action>
3290 <action function="set">tw_fm_text1=Renaming</action>
3291 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3292 <action function="page">filemanagerrenamefolder</action>
3293 </actions>
3294 </object>
3295
3296 <object type="action">
3297 <touch key="home" />
3298 <action function="page">main</action>
3299 </object>
3300
3301 <object type="action">
3302 <touch key="back" />
3303 <action function="page">filemanagerlist</action>
3304 </object>
3305
3306 <object type="template" name="footer" />
3307 </page>
3308
3309 <page name="choosedestinationfolder">
3310 <object type="template" name="header" />
3311
3312 <object type="text" color="%text_color%">
3313 <font resource="font" />
3314 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3315 <text>Browse to Destination Folder & Press Select</text>
3316 </object>
3317
3318 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003319 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003320 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3321 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003322 <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 -04003323 <text>%tw_file_location2%</text>
3324 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3325 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003326 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003327 <icon folder="folder_icon" file="file_icon" />
3328 <background color="%fileselector_background%" />
3329 <filter folders="1" files="0" />
3330 <path name="tw_file_location2" default="/sdcard" />
3331 <data name="tw_filename2" />
3332 </object>
3333
3334 <object type="template" name="sort_options" />
3335
3336 <object type="action">
3337 <touch key="home" />
3338 <action function="page">main</action>
3339 </object>
3340
3341 <object type="action">
3342 <touch key="back" />
3343 <action function="page">filemanageroptions</action>
3344 </object>
3345
3346 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003347 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003348 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3349 <font resource="font" color="%button_text_color%" />
3350 <text>Select Folder</text>
3351 <image resource="main_button" />
3352 <actions>
3353 <action function="set">tw_fm_text2=to</action>
3354 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3355 <action function="set">tw_include_text3=1</action>
3356 <action function="set">tw_back=filemanageroptions</action>
3357 <action function="page">filemanagerconfirm</action>
3358 </actions>
3359 </object>
3360
3361 <object type="template" name="footer" />
3362 </page>
3363
3364 <page name="filemanagerrenamefile">
3365 <object type="template" name="header" />
3366
3367 <object type="text" color="%text_color%">
3368 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3369 <font resource="font" />
3370 <text>Please Enter a New %tw_fm_type% Name</text>
3371 </object>
3372
3373 <object type="input">
3374 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3375 <background color="%input_background_color%" />
3376 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3377 <font resource="font" color="%text_color%" />
3378 <text>%tw_filemanager_rename%</text>
3379 <data name="tw_filemanager_rename" />
3380 <restrict minlen="1" maxlen="128" />
3381 <actions>
3382 <action function="set">tw_fm_text2=to</action>
3383 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3384 <action function="set">tw_include_text3=1</action>
3385 <action function="set">tw_back=filemanageroptions</action>
3386 <action function="page">filemanagerconfirm</action>
3387 </actions>
3388 </object>
3389
3390 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003391 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003392 <placement x="%col_center_x%" y="%cancel_button_y%" />
3393 <font resource="font" color="%button_text_color%" />
3394 <text>Cancel</text>
3395 <image resource="main_button" />
3396 <action function="page">filemanageroptions</action>
3397 </object>
3398
3399 <object type="template" name="keyboardtemplate" />
3400
3401 <object type="action">
3402 <touch key="home" />
3403 <action function="page">main</action>
3404 </object>
3405
3406 <object type="action">
3407 <touch key="back" />
3408 <action function="page">filemanageroptions</action>
3409 </object>
3410
3411 <object type="template" name="footer" />
3412 </page>
3413
3414 <page name="filemanagerrenamefolder">
3415 <object type="template" name="header" />
3416
3417 <object type="text" color="%text_color%">
3418 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3419 <font resource="font" />
3420 <text>Please Enter a New %tw_fm_type% Name</text>
3421 </object>
3422
3423 <object type="input">
3424 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3425 <background color="%input_background_color%" />
3426 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3427 <font resource="font" color="%text_color%" />
3428 <text>%tw_filemanager_rename%</text>
3429 <data name="tw_filemanager_rename" />
3430 <restrict minlen="1" maxlen="128" />
3431 <actions>
3432 <action function="set">tw_fm_text2=to</action>
3433 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3434 <action function="set">tw_include_text3=1</action>
3435 <action function="set">tw_back=filemanageroptions</action>
3436 <action function="page">filemanagerconfirm</action>
3437 </actions>
3438 </object>
3439
3440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003442 <placement x="%col_center_x%" y="%cancel_button_y%" />
3443 <font resource="font" color="%button_text_color%" />
3444 <text>Cancel</text>
3445 <image resource="main_button" />
3446 <action function="page">filemanageroptions</action>
3447 </object>
3448
3449 <object type="template" name="keyboardtemplate" />
3450
3451 <object type="action">
3452 <touch key="home" />
3453 <action function="page">main</action>
3454 </object>
3455
3456 <object type="action">
3457 <touch key="back" />
3458 <action function="page">filemanageroptions</action>
3459 </object>
3460
3461 <object type="template" name="footer" />
3462 </page>
3463
3464 <page name="filemanagerchmod">
3465 <object type="template" name="header" />
3466
3467 <object type="text" color="%text_color%">
3468 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3469 <font resource="font" />
3470 <text>Please Enter New Permissions</text>
3471 </object>
3472
3473 <object type="input">
3474 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3475 <background color="%input_background_color%" />
3476 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3477 <font resource="font" color="%text_color%" />
3478 <text>%tw_filemanager_rename%</text>
3479 <data name="tw_filemanager_rename" />
3480 <restrict minlen="3" maxlen="4" allow="0123456789" />
3481 <actions>
3482 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3483 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3484 <action function="set">tw_back=filemanageroptions</action>
3485 <action function="page">filemanagerconfirm</action>
3486 </actions>
3487 </object>
3488
3489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003491 <placement x="%col_center_x%" y="%cancel_button_y%" />
3492 <font resource="font" color="%button_text_color%" />
3493 <text>Cancel</text>
3494 <image resource="main_button" />
3495 <action function="page">filemanageroptions</action>
3496 </object>
3497
3498 <object type="template" name="keyboardtemplate" />
3499
3500 <object type="action">
3501 <touch key="home" />
3502 <action function="page">main</action>
3503 </object>
3504
3505 <object type="action">
3506 <touch key="back" />
3507 <action function="page">filemanageroptions</action>
3508 </object>
3509
3510 <object type="template" name="footer" />
3511 </page>
3512
3513 <page name="filemanagerconfirm">
3514 <object type="template" name="header" />
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3519 <text>%tw_fm_text1%</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3525 <text>%tw_filename1%</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3531 <text>%tw_fm_text2%</text>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3537 <text>%tw_fm_text3%</text>
3538 </object>
3539
3540 <object type="text" color="%text_color%">
3541 <font resource="font" />
3542 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3543 <text>Press back button to cancel.</text>
3544 </object>
3545
3546 <object type="slider">
3547 <placement x="%slider_x%" y="%slider_y%" />
3548 <resource base="slider" used="slider-used" touch="slider-touch" />
3549 <action function="page">filemanageracction</action>
3550 </object>
3551
3552 <object type="text" color="%text_color%">
3553 <font resource="font" />
3554 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3555 <text>Swipe to Confirm</text>
3556 </object>
3557
3558 <object type="action">
3559 <touch key="back" />
3560 <action function="page">%tw_back%</action>
3561 </object>
3562
3563 <object type="action">
3564 <touch key="home" />
3565 <action function="page">main</action>
3566 </object>
3567
3568 <object type="template" name="footer" />
3569 </page>
3570
3571 <page name="filemanageracction">
3572 <object type="template" name="header" />
3573
3574 <object type="text" color="%text_color%">
3575 <font resource="font" />
3576 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3577 <text>%tw_fm_text1%</text>
3578 </object>
3579
3580 <object type="template" name="action_page_console" />
3581
3582 <object type="template" name="progress_bar" />
3583
3584 <object type="action">
3585 <conditions>
3586 <condition var1="tw_operation_state" var2="1" />
3587 <condition var1="tw_operation_status" var2="0" />
3588 </conditions>
3589 <actions>
3590 <action function="set">tw_back=filemanagerlist</action>
3591 <action function="set">tw_complete_text1=File Operation Complete</action>
3592 <action function="page">action_complete</action>
3593 </actions>
3594 </object>
3595
3596 <object type="action">
3597 <conditions>
3598 <condition var1="tw_operation_state" var2="1" />
3599 <condition var1="tw_operation_status" op="!=" var2="0" />
3600 </conditions>
3601 <actions>
3602 <action function="set">tw_complete_text1=File Operation Complete</action>
3603 <action function="page">action_complete</action>
3604 </actions>
3605 </object>
3606
3607 <object type="action">
3608 <condition var1="tw_include_text3" var2="0" />
3609 <actions>
3610 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3611 </actions>
3612 </object>
3613
3614 <object type="action">
3615 <condition var1="tw_include_text3" var2="1" />
3616 <actions>
3617 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3618 </actions>
3619 </object>
3620 </page>
3621
3622 <page name="decrypt">
3623 <object type="template" name="header" />
3624
3625 <object type="text" color="%text_color%">
3626 <font resource="font" />
3627 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3628 <text>Please Enter Your Password</text>
3629 </object>
3630
3631 <object type="input">
3632 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3633 <background color="%input_background_color%" />
3634 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3635 <font resource="font" color="%text_color%" />
3636 <text>%tw_crypto_display%</text>
3637 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3638 <restrict minlen="1" maxlen="254" />
3639 <actions>
3640 <action function="page">trydecrypt</action>
3641 </actions>
3642 </object>
3643
3644 <object type="text" color="%text_fail_color%">
3645 <condition var1="tw_password_fail" var2="1" />
3646 <font resource="font" />
3647 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3648 <text>Password Failed, Please Try Again</text>
3649 </object>
3650
3651 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003652 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003653 <placement x="%col_center_x%" y="%cancel_button_y%" />
3654 <font resource="font" color="%button_text_color%" />
3655 <text>Cancel</text>
3656 <image resource="main_button" />
3657 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003658 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003659 <action function="page">main</action>
3660 </actions>
3661 </object>
3662
3663 <object type="template" name="keyboardtemplate" />
3664
Dees_Troy51a0e822012-09-05 15:24:24 -04003665 <object type="template" name="footer" />
3666 </page>
3667
3668 <page name="trydecrypt">
3669 <object type="template" name="header" />
3670
3671 <object type="text" color="%text_color%">
3672 <font resource="font" />
3673 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3674 <text>Trying Decryption with Your Password</text>
3675 </object>
3676
3677 <object type="template" name="action_page_console" />
3678
3679 <object type="template" name="progress_bar" />
3680
3681 <object type="action">
3682 <action function="decrypt"></action>
3683 </object>
3684
3685 <object type="action">
3686 <conditions>
3687 <condition var1="tw_operation_state" var2="1" />
3688 <condition var1="tw_operation_status" op="!=" var2="0" />
3689 </conditions>
3690 <actions>
3691 <action function="set">tw_password_fail=1</action>
3692 <action function="page">decrypt</action>
3693 </actions>
3694 </object>
3695
3696 <object type="action">
3697 <conditions>
3698 <condition var1="tw_operation_state" var2="1" />
3699 <condition var1="tw_operation_status" op="=" var2="0" />
3700 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003701 <actions>
3702 <action function="set">tw_page_done=1</action>
3703 <action function="page">main</action>
3704 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 </object>
3706 </page>
3707
3708 <page name="terminalfolder">
3709 <object type="template" name="header" />
3710
3711 <object type="text" color="%text_color%">
3712 <font resource="font" />
3713 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3714 <text>Browse to Starting Folder</text>
3715 </object>
3716
3717 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003718 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003719 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3720 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003721 <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 -04003722 <text>%tw_terminal_location%</text>
3723 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3724 <sort name="tw_gui_sort_order" />
3725 <icon folder="folder_icon" file="file_icon" />
3726 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003727 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003728 <filter folders="1" files="0" />
3729 <path name="tw_terminal_location" default="/" />
3730 <data name="tw_terminal" />
3731 <selection name="tw_terminal_selection" />
3732 </object>
3733
3734 <object type="template" name="sort_options" />
3735
3736 <object type="action">
3737 <touch key="home" />
3738 <action function="page">main</action>
3739 </object>
3740
3741 <object type="action">
3742 <touch key="back" />
3743 <action function="page">advanced</action>
3744 </object>
3745
3746 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003747 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003748 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3749 <font resource="font" color="%button_text_color%" />
3750 <text>Select Folder</text>
3751 <image resource="main_button" />
3752 <actions>
3753 <action function="page">terminalcommand</action>
3754 </actions>
3755 </object>
3756
3757 <object type="template" name="footer" />
3758 </page>
3759
3760 <page name="terminalcommand">
3761 <background color="#000000FF" />
3762
3763 <object type="console">
3764 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3765 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3766 <font resource="fixed" />
3767 </object>
3768
3769 <object type="text" color="%text_color%">
3770 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3771 <font resource="font" />
3772 <text>Starting Path: %tw_terminal_location%</text>
3773 </object>
3774
3775 <object type="input">
3776 <condition var1="tw_terminal_state" var2="0" />
3777 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3778 <background color="%input_background_color%" />
3779 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3780 <font resource="font" color="%text_color%" />
3781 <text>%tw_terminal_command%</text>
3782 <data name="tw_terminal_command" />
3783 <restrict minlen="1" />
3784 <action function="terminalcommand">%tw_terminal_command%</action>
3785 </object>
3786
3787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003788 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003789 <condition var1="tw_terminal_state" var2="1" />
3790 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3791 <font resource="font" color="%button_text_color%" />
3792 <text>KILL</text>
3793 <image resource="medium_button" />
3794 <action function="killterminal"></action>
3795 </object>
3796
3797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003799 <placement x="%home_button_x%" y="%terminal_button_y%" />
3800 <font resource="font" color="%button_text_color%" />
3801 <text></text>
3802 <image resource="home_icon" />
3803 <condition var1="tw_busy" var2="0" />
3804 <action function="key">home</action>
3805 </object>
3806
3807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003809 <placement x="%back_button_x%" y="%terminal_button_y%" />
3810 <font resource="font" color="%button_text_color%" />
3811 <text></text>
3812 <image resource="back_icon" />
3813 <condition var1="tw_busy" var2="0" />
3814 <action function="key">back</action>
3815 </object>
3816
3817 <object type="action">
3818 <touch key="power" />
3819 <action function="overlay">lock</action>
3820 </object>
3821
3822 <object type="template" name="keyboardtemplate" />
3823
3824 <object type="action">
3825 <touch key="home" />
3826 <action function="page">main</action>
3827 </object>
3828
3829 <object type="action">
3830 <touch key="back" />
3831 <action function="page">terminalfolder</action>
3832 </object>
3833 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003834
3835 <page name="sideload">
3836 <object type="template" name="header" />
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3841 <text>ADB Sideload</text>
3842 </object>
3843
3844 <object type="checkbox">
3845 <placement x="%col1_x%" y="%row3_text_y%" />
3846 <font resource="font" color="%text_color%" />
3847 <text>Wipe Dalvik Cache.</text>
3848 <data variable="tw_wipe_dalvik" />
3849 <image checked="checkbox_true" unchecked="checkbox_false" />
3850 </object>
3851
3852 <object type="checkbox">
3853 <placement x="%col1_x%" y="%row4_text_y%" />
3854 <font resource="font" color="%text_color%" />
3855 <text>Wipe Cache.</text>
3856 <data variable="tw_wipe_cache" />
3857 <image checked="checkbox_true" unchecked="checkbox_false" />
3858 </object>
3859
3860 <object type="slider">
3861 <placement x="%slider_x%" y="%slider_y%" />
3862 <resource base="slider" used="slider-used" touch="slider-touch" />
3863 <actions>
3864 <action function="set">tw_back=advanced</action>
3865 <action function="set">tw_action=adbsideload</action>
3866 <action function="set">tw_action_text1=ADB Sideload</action>
3867 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3868 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3869 <action function="set">tw_has_cancel=1</action>
3870 <action function="set">tw_show_reboot=1</action>
3871 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3872 <action function="page">action_page</action>
3873 </actions>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3879 <text>Swipe to Start Sideload</text>
3880 </object>
3881
3882 <object type="action">
3883 <touch key="home" />
3884 <action function="page">main</action>
3885 </object>
3886
3887 <object type="action">
3888 <touch key="back" />
3889 <action function="page">advanced</action>
3890 </object>
3891
3892 <object type="template" name="footer" />
3893 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003894
3895 <page name="installsu">
3896 <object type="template" name="header" />
3897
3898 <object type="text" color="%text_color%">
3899 <font resource="font" />
3900 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3901 <text>Install SuperSU?</text>
3902 </object>
3903
3904 <object type="text" color="%text_color%">
3905 <font resource="font" />
3906 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3907 <text>Your device does not appear to be rooted.</text>
3908 </object>
3909
3910 <object type="text" color="%text_color%">
3911 <font resource="font" />
3912 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3913 <text>Install SuperSU now? This will root your device.</text>
3914 </object>
3915
3916 <object type="button">
3917 <highlight color="%highlight_color%" />
3918 <placement x="%col_center_x%" y="%row2_medium_y%" />
3919 <font resource="font" color="%button_text_color%" />
3920 <text>Do Not Install</text>
3921 <image resource="main_button" />
3922 <action function="set">tw_page_done=1</action>
3923 </object>
3924
3925 <object type="slider">
3926 <placement x="%slider_x%" y="%slider_y%" />
3927 <resource base="slider" used="slider-used" touch="slider-touch" />
3928 <actions>
3929 <action function="set">tw_action=installsu</action>
3930 <action function="set">tw_action_text1=Installing SuperSU</action>
3931 <action function="set">tw_action_text2=</action>
3932 <action function="page">singleaction_page</action>
3933 </actions>
3934 </object>
3935
3936 <object type="text" color="%text_color%">
3937 <font resource="font" />
3938 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3939 <text>Swipe to Install</text>
3940 </object>
3941 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003942 </pages>
3943</recovery>