blob: 35ca6e275ea5107a1dfe822905007953e286ac32 [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%">
1405 <condition var1="tw_has_data_media" var2="0" />
1406 <font resource="font" />
1407 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1408 <text>.android_secure</text>
1409 </object>
1410
1411 <object type="text" color="%text_color%">
1412 <condition var1="tw_has_data_media" var2="1" />
1413 <font resource="font" />
1414 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1415 <text>(not including internal storage)</text>
1416 </object>
1417
1418 <object type="text" color="%text_color%">
1419 <condition var1="tw_has_sdext_partition" var2="1" />
1420 <font resource="font" />
1421 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1422 <text>SD-EXT</text>
1423 </object>
1424
1425 <object type="text" color="%text_color%">
1426 <font resource="font" />
1427 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1428 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 </object>
1430
1431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001432 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001433 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001435 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001437 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 </object>
1439
1440 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 <conditions>
1442 <condition var1="tw_has_internal" var2="1" />
1443 <condition var1="tw_has_data_media" var2="1" />
1444 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001445 <highlight color="%highlight_color%" />
1446 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <font resource="font" color="%button_text_color%" />
1448 <text>Format Data</text>
1449 <image resource="main_button" />
1450 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001451 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001452 </actions>
1453 </object>
1454
Dees_Troya13d74f2013-03-24 08:54:55 -05001455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1458 <text>Press back button to cancel.</text>
1459 </object>
1460
1461 <object type="slider">
1462 <placement x="%slider_x%" y="%slider_y%" />
1463 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001464 <actions>
1465 <action function="set">tw_back=wipe</action>
1466 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001467 <action function="set">tw_action_param=data</action>
1468 <action function="set">tw_action_text1=Factory Reset...</action>
1469 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1470 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001471 </actions>
1472 </object>
1473
Dees_Troya13d74f2013-03-24 08:54:55 -05001474 <object type="text" color="%text_color%">
1475 <font resource="font" />
1476 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1477 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001478 </object>
1479
1480 <object type="action">
1481 <touch key="home" />
1482 <action function="page">main</action>
1483 </object>
1484
1485 <object type="action">
1486 <touch key="back" />
1487 <action function="page">main</action>
1488 </object>
1489
1490 <object type="template" name="footer" />
1491 </page>
1492
Dees_Troya13d74f2013-03-24 08:54:55 -05001493 <page name="advancedwipe">
1494 <object type="template" name="header" />
1495
1496 <object type="partitionlist">
1497 <highlight color="%fileselector_highlight_color%" />
1498 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1499 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1500 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1501 <text>Select Partitions to Wipe:</text>
1502 <icon selected="checkbox_true" unselected="checkbox_false" />
1503 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1504 <background color="%listbox_background%" />
1505 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1506 <data name="tw_wipe_list" />
1507 <listtype name="wipe" />
1508 </object>
1509
1510 <object type="slider">
1511 <placement x="%slider_x%" y="%slider_y%" />
1512 <resource base="slider" used="slider-used" touch="slider-touch" />
1513 <actions>
1514 <action function="set">tw_back=advancedwipe</action>
1515 <action function="set">tw_action=wipe</action>
1516 <action function="set">tw_action_param=LIST</action>
1517 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1518 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1519 <action function="set">tw_complete_text1=Wipe Complete</action>
1520 <action function="page">action_page</action>
1521 </actions>
1522 </object>
1523
1524 <object type="text" color="%text_color%">
1525 <font resource="font" />
1526 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1527 <text>Swipe to Wipe</text>
1528 </object>
1529
1530 <object type="action">
1531 <touch key="home" />
1532 <action function="page">main</action>
1533 </object>
1534
1535 <object type="action">
1536 <touch key="back" />
1537 <action function="page">wipe</action>
1538 </object>
1539
1540 <object type="template" name="footer" />
1541 </page>
1542
1543 <page name="formatdata">
1544 <object type="template" name="header" />
1545
1546 <object type="text" color="%text_color%">
1547 <font resource="font" />
1548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1549 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1550 </object>
1551
1552 <object type="text" color="%text_color%">
1553 <font resource="font" />
1554 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1555 <text>videos, media, and removes encryption on internal storage.</text>
1556 </object>
1557
1558 <object type="text" color="%text_color%">
1559 <font resource="font" />
1560 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1561 <text>This cannot be undone. Press back to cancel.</text>
1562 </object>
1563
1564 <object type="text" color="%text_color%">
1565 <font resource="font" />
1566 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1567 <text>Type yes to continue.</text>
1568 </object>
1569
1570 <object type="input">
1571 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1572 <background color="%input_background_color%" />
1573 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1574 <font resource="font" color="%text_color%" />
1575 <text>%tw_confirm_formatdata%</text>
1576 <data name="tw_confirm_formatdata" />
1577 <restrict minlen="3" maxlen="3" allow="yes" />
1578 <action function="page">formatdata_confirm</action>
1579 </object>
1580
1581 <object type="template" name="keyboardtemplate" />
1582
1583 <object type="action">
1584 <touch key="home" />
1585 <action function="page">main</action>
1586 </object>
1587
1588 <object type="action">
1589 <touch key="back" />
1590 <action function="page">wipe</action>
1591 </object>
1592
1593 <object type="template" name="footer" />
1594 </page>
1595
1596 <page name="formatdata_confirm">
1597 <object type="action">
1598 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1599 <actions>
1600 <action function="set">tw_back=formatdata</action>
1601 <action function="set">tw_action=wipe</action>
1602 <action function="set">tw_action_param=DATAMEDIA</action>
1603 <action function="set">tw_action_text1=Formatting Data...</action>
1604 <action function="set">tw_complete_text1=Data Format Complete</action>
1605 <action function="page">action_page</action>
1606 </actions>
1607 </object>
1608
1609 <object type="action">
1610 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1611 <action function="page">formatdata</function>
1612 </object>
1613 </page>
1614
Dees_Troy51a0e822012-09-05 15:24:24 -04001615 <page name="backup">
1616 <object type="template" name="header" />
1617
1618 <object type="text" color="%text_color%">
1619 <font resource="font" />
1620 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1621 <text>Back Up Device</text>
1622 </object>
1623
Dees_Troya13d74f2013-03-24 08:54:55 -05001624 <object type="partitionlist">
1625 <highlight color="%fileselector_highlight_color%" />
1626 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1627 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1628 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1629 <text>Select Partitions to Back Up:</text>
1630 <icon selected="checkbox_true" unselected="checkbox_false" />
1631 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1632 <background color="%listbox_background%" />
1633 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1634 <data name="tw_backup_list" />
1635 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001636 </object>
1637
1638 <object type="text" color="%text_color%">
1639 <font resource="font" />
1640 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1641 <text>Backup Name: %tw_backup_name%</text>
1642 </object>
1643
Dees_Troya13d74f2013-03-24 08:54:55 -05001644 <object type="button">
1645 <highlight color="%highlight_color%" />
1646 <placement x="%col3_x%" y="%row1_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Refresh Sizes</text>
1649 <image resource="main_button" />
1650 <action function="refreshsizes"></action>
1651 </object>
1652
1653 <object type="button">
1654 <highlight color="%highlight_color%" />
1655 <placement x="%col4_x%" y="%row1_y%" />
1656 <font resource="font" color="%button_text_color%" />
1657 <text>Set Backup Name</text>
1658 <image resource="main_button" />
1659 <actions>
1660 <action function="set">tw_fileexists=0</action>
1661 <action function="page">backupname1</action>
1662 </actions>
1663 </object>
1664
1665 <object type="button">
1666 <highlight color="%highlight_color%" />
1667 <fill color="%button_fill_color%" />
1668 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1669 <font resource="font" color="%button_text_color%" />
1670 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1671 <actions>
1672 <action function="set">tw_back=backup</action>
1673 <action function="page">selectstorage</action>
1674 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001675 </object>
1676
Dees_Troy83bd4832013-05-04 12:39:56 +00001677 <object type="button">
1678 <conditions>
1679 <condition var1="tw_include_encrypted_backup" var2="1" />
1680 <condition var1="tw_encrypt_backup" var2="0" />
1681 </conditions>
1682 <highlight color="%highlight_color%" />
1683 <fill color="%button_fill_color%" />
1684 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1685 <font resource="font" color="%button_text_color%" />
1686 <text>No Encryption</text>
1687 <actions>
1688 <action function="page">backupencryption</action>
1689 </actions>
1690 </object>
1691
1692 <object type="button">
1693 <conditions>
1694 <condition var1="tw_include_encrypted_backup" var2="1" />
1695 <condition var1="tw_encrypt_backup" var2="1" />
1696 </conditions>
1697 <highlight color="%highlight_color%" />
1698 <fill color="%button_fill_color%" />
1699 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1700 <font resource="font" color="%button_text_color%" />
1701 <text>Using Encryption</text>
1702 <actions>
1703 <action function="page">backupencryption</action>
1704 </actions>
1705 </object>
1706
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001708 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 <font resource="font" color="%text_color%" />
1710 <text>Enable Compression (Requires more time)</text>
1711 <data variable="tw_use_compression" />
1712 <image checked="checkbox_true" unchecked="checkbox_false" />
1713 </object>
1714
1715 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001716 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001717 <font resource="font" color="%text_color%" />
1718 <text>Skip MD5 generation on backups</text>
1719 <data variable="tw_skip_md5_generate" />
1720 <image checked="checkbox_true" unchecked="checkbox_false" />
1721 </object>
1722
Dees_Troy51a0e822012-09-05 15:24:24 -04001723 <object type="slider">
1724 <placement x="%slider_x%" y="%slider_y%" />
1725 <resource base="slider" used="slider-used" touch="slider-touch" />
1726 <actions>
1727 <action function="set">tw_operation_state=0</action>
1728 <action function="page">backup_run</action>
1729 </actions>
1730 </object>
1731
1732 <object type="text" color="%text_color%">
1733 <font resource="font" />
1734 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1735 <text>Swipe to Back Up</text>
1736 </object>
1737
Dees_Troy51a0e822012-09-05 15:24:24 -04001738 <object type="action">
1739 <touch key="home" />
1740 <action function="page">main</action>
1741 </object>
1742
1743 <object type="action">
1744 <touch key="back" />
1745 <action function="page">main</action>
1746 </object>
1747
1748 <object type="template" name="footer" />
1749 </page>
1750
1751 <page name="backupname1">
1752 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001753 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1754 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001755 </object>
1756
1757 <object type="action">
1758 <action function="page">backupname2</function>
1759 </object>
1760 </page>
1761
1762 <page name="backupname2">
1763 <object type="template" name="header" />
1764
1765 <object type="text" color="%text_color%">
1766 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1767 <font resource="font" />
1768 <text>Please Enter a Backup Name</text>
1769 </object>
1770
1771 <object type="input">
1772 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1773 <background color="%input_background_color%" />
1774 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>%tw_backup_name%</text>
1777 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001778 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001779 <actions>
1780 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1781 <action function="set">tw_existpage=backupname2</action>
1782 <action function="set">tw_notexistpage=backup</action>
1783 <action function="page">filecheck</action>
1784 </actions>
1785 </object>
1786
1787 <object type="text" color="%text_fail_color%">
1788 <condition var1="tw_fileexists" var2="1" />
1789 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1790 <font resource="font" />
1791 <text>A backup with that name already exists!</text>
1792 </object>
1793
1794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001795 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001796 <placement x="%col2_x%" y="%cancel_button_y%" />
1797 <font resource="font" color="%button_text_color%" />
1798 <text>Append Date</text>
1799 <image resource="main_button" />
1800 <action function="appenddatetobackupname"></action>
1801 </object>
1802
1803 <object type="button">
1804 <highlight color="%highlight_color%" />
1805 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001806 <font resource="font" color="%button_text_color%" />
1807 <text>Cancel / Clear</text>
1808 <image resource="main_button" />
1809 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001810 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001811 <action function="page">backup</action>
1812 </actions>
1813 </object>
1814
1815 <object type="template" name="keyboardtemplate" />
1816
1817 <object type="action">
1818 <touch key="home" />
1819 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001820 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001821 <action function="page">main</action>
1822 </actions>
1823 </object>
1824
1825 <object type="action">
1826 <touch key="back" />
1827 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001828 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001829 <action function="page">backup</action>
1830 </actions>
1831 </object>
1832
1833 <object type="template" name="footer" />
1834 </page>
1835
Dees_Troy83bd4832013-05-04 12:39:56 +00001836 <page name="backupencryption">
1837 <object type="template" name="header" />
1838
1839 <object type="text" color="%text_color%">
1840 <font resource="font" />
1841 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1842 <text>Encrypt your backup? Please enter a password:</text>
1843 </object>
1844
1845 <object type="input">
1846 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1847 <background color="%input_background_color%" />
1848 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1849 <font resource="font" color="%text_color%" />
1850 <text>%tw_backup_encrypt_display%</text>
1851 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1852 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1853 <action function="page">backupencryption2</action>
1854 </object>
1855
1856 <object type="text" color="%text_fail_color%">
1857 <condition var1="tw_password_not_match" var2="1" />
1858 <font resource="font" />
1859 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1860 <text>Passwords Do Not Match</text>
1861 </object>
1862
1863 <object type="button">
1864 <highlight color="%highlight_color%" />
1865 <placement x="%col_center_x%" y="%cancel_button_y%" />
1866 <font resource="font" color="%button_text_color%" />
1867 <text>Cancel</text>
1868 <image resource="main_button" />
1869 <actions>
1870 <action function="set">tw_encrypt_backup=0</action>
1871 <action function="set">tw_backup_password=</action>
1872 <action function="set">tw_backup_password2=</action>
1873 <action function="set">tw_backup_encrypt_display=</action>
1874 <action function="set">tw_backup_encrypt_display2=</action>
1875 <action function="page">backup</action>
1876 </actions>
1877 </object>
1878
1879 <object type="template" name="keyboardtemplate" />
1880
1881 <object type="action">
1882 <touch key="home" />
1883 <action function="page">main</action>
1884 </object>
1885
1886 <object type="action">
1887 <touch key="back" />
1888 <action function="page">backup</action>
1889 </object>
1890
1891 <object type="template" name="footer" />
1892 </page>
1893
1894 <page name="backupencryption2">
1895 <object type="template" name="header" />
1896
1897 <object type="text" color="%text_color%">
1898 <font resource="font" />
1899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1900 <text>Encrypt your backup? Please Enter Password Again:</text>
1901 </object>
1902
1903 <object type="input">
1904 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1905 <background color="%input_background_color%" />
1906 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1907 <font resource="font" color="%text_color%" />
1908 <text>%tw_backup_encrypt_display2%</text>
1909 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1910 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1911 <actions>
1912 <action function="page">checkbackuppassword</action>
1913 </actions>
1914 </object>
1915
1916 <object type="button">
1917 <highlight color="%highlight_color%" />
1918 <placement x="%col_center_x%" y="%cancel_button_y%" />
1919 <font resource="font" color="%button_text_color%" />
1920 <text>Cancel</text>
1921 <image resource="main_button" />
1922 <actions>
1923 <action function="set">tw_encrypt_backup=0</action>
1924 <action function="set">tw_backup_password=</action>
1925 <action function="set">tw_backup_password2=</action>
1926 <action function="set">tw_backup_encrypt_display=</action>
1927 <action function="set">tw_backup_encrypt_display2=</action>
1928 <action function="page">backup</action>
1929 </actions>
1930 </object>
1931
1932 <object type="template" name="keyboardtemplate" />
1933
1934 <object type="action">
1935 <touch key="home" />
1936 <action function="page">main</action>
1937 </object>
1938
1939 <object type="action">
1940 <touch key="back" />
1941 <action function="page">backup</action>
1942 </object>
1943
1944 <object type="template" name="footer" />
1945 </page>
1946
1947 <page name="checkbackuppassword">
1948 <object type="action">
1949 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1950 <actions>
1951 <action function="set">tw_encrypt_backup=1</action>
1952 <action function="page">backup</action>
1953 </actions>
1954 </object>
1955
1956 <object type="action">
1957 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1958 <actions>
1959 <action function="set">tw_encrypt_backup=0</action>
1960 <action function="set">tw_password_not_match=1</action>
1961 <action function="set">tw_backup_password=</action>
1962 <action function="set">tw_backup_password2=</action>
1963 <action function="set">tw_backup_encrypt_display=</action>
1964 <action function="set">tw_backup_encrypt_display2=</action>
1965 <action function="page">backupencryption</action>
1966 </actions>
1967 </object>
1968 </page>
1969
Dees_Troy51a0e822012-09-05 15:24:24 -04001970 <page name="backup_run">
1971 <object type="template" name="header" />
1972
1973 <object type="text" color="%text_color%">
1974 <font resource="font" />
1975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1976 <text>%tw_operation% %tw_partition%</text>
1977 </object>
1978
1979 <object type="template" name="action_page_console" />
1980
1981 <object type="template" name="progress_bar" />
1982
1983 <object type="action">
1984 <action function="nandroid">backup</action>
1985 </object>
1986
1987 <object type="action">
1988 <condition var1="tw_operation_state" var2="1" />
1989 <actions>
1990 <action function="set">tw_back=backup</action>
1991 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001992 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001993 <action function="page">action_complete</action>
1994 </actions>
1995 </object>
1996
1997 <object type="template" name="footer" />
1998 </page>
1999
2000 <page name="restore">
2001 <object type="template" name="header" />
2002
2003 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002004 <highlight color="%highlight_color%" />
2005 <fill color="%button_fill_color%" />
2006 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2007 <font resource="font" color="%button_text_color%" />
2008 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2009 <actions>
2010 <action function="set">tw_back=restore</action>
2011 <action function="page">selectstorage</action>
2012 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002013 </object>
2014
2015 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002016 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002017 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2018 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002019 <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 -04002020 <text>Select Package to Restore:</text>
2021 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2022 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002023 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002024 <icon folder="folder_icon" file="file_icon" />
2025 <background color="%fileselector_background%" />
2026 <filter folders="1" files="0" nav="0" />
2027 <path name="tw_backups_folder" />
2028 <data name="tw_restore" default="" />
2029 <selection name="tw_restore_name" />
2030 </object>
2031
2032 <object type="template" name="sort_options" />
2033
2034 <object type="action">
2035 <condition var1="tw_restore" op="modified" />
2036 <actions>
2037 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002038 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002039 </actions>
2040 </object>
2041
2042 <object type="action">
2043 <touch key="home" />
2044 <action function="page">main</action>
2045 </object>
2046
2047 <object type="action">
2048 <touch key="back" />
2049 <action function="page">main</action>
2050 </object>
2051
2052 <object type="template" name="footer" />
2053 </page>
2054
Dees_Troy83bd4832013-05-04 12:39:56 +00002055 <page name="restore_read">
2056 <object type="action">
2057 <condition var1="tw_restore_encrypted" var2="1" />
2058 <actions>
2059 <action function="set">tw_password_fail=0</action>
2060 <action function="page">restore_decrypt</action>
2061 </actions>
2062 </object>
2063
2064 <object type="action">
2065 <condition var1="tw_restore_encrypted" var2="0" />
2066 <actions>
2067 <action function="page">restore_select</action>
2068 </actions>
2069 </object>
2070 </page>
2071
2072 <page name="restore_decrypt">
2073 <object type="template" name="header" />
2074
2075 <object type="text" color="%text_color%">
2076 <font resource="font" />
2077 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2078 <text>Backup encrypted. Please enter your password:</text>
2079 </object>
2080
2081 <object type="input">
2082 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2083 <background color="%input_background_color%" />
2084 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2085 <font resource="font" color="%text_color%" />
2086 <text>%tw_restore_display%</text>
2087 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2088 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2089 <actions>
2090 <action function="page">try_restore_decrypt</action>
2091 </actions>
2092 </object>
2093
2094 <object type="text" color="%text_fail_color%">
2095 <condition var1="tw_password_fail" var2="1" />
2096 <font resource="font" />
2097 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2098 <text>Password Failed, Please Try Again</text>
2099 </object>
2100
2101 <object type="button">
2102 <highlight color="%highlight_color%" />
2103 <placement x="%col2_x%" y="%cancel_button_y%" />
2104 <font resource="font" color="%button_text_color%" />
2105 <text>Cancel</text>
2106 <image resource="main_button" />
2107 <actions>
2108 <action function="set">tw_page_done=1</action>
2109 <action function="page">restore</action>
2110 </actions>
2111 </object>
2112
2113 <object type="button">
2114 <highlight color="%highlight_color%" />
2115 <placement x="%col3_x%" y="%cancel_button_y%" />
2116 <font resource="font" color="%button_text_color%" />
2117 <text>Delete</text>
2118 <image resource="main_button" />
2119 <actions>
2120 <action function="set">tw_back=restore</action>
2121 <action function="set">tw_action=cmd</action>
2122 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2123 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2124 <action function="set">tw_text2=This cannot be undone!</action>
2125 <action function="set">tw_action_text1=Deleting Backup...</action>
2126 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2127 <action function="set">tw_slider_text=Swipe to Delete</action>
2128 <action function="page">confirm_action</action>
2129 </actions>
2130 </object>
2131
2132 <object type="template" name="keyboardtemplate" />
2133
2134 <object type="action">
2135 <touch key="home" />
2136 <action function="page">main</action>
2137 </object>
2138
2139 <object type="action">
2140 <touch key="back" />
2141 <action function="page">restore</action>
2142 </object>
2143
2144 <object type="template" name="footer" />
2145 </page>
2146
2147 <page name="try_restore_decrypt">
2148 <object type="template" name="header" />
2149
2150 <object type="text" color="%text_color%">
2151 <font resource="font" />
2152 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2153 <text>Trying Decryption with Your Password</text>
2154 </object>
2155
2156 <object type="template" name="action_page_console" />
2157
2158 <object type="template" name="progress_bar" />
2159
2160 <object type="action">
2161 <action function="decrypt_backup"></action>
2162 </object>
2163
2164 <object type="action">
2165 <conditions>
2166 <condition var1="tw_operation_state" var2="1" />
2167 <condition var1="tw_operation_status" op="!=" var2="0" />
2168 </conditions>
2169 <actions>
2170 <action function="set">tw_password_fail=1</action>
2171 <action function="page">restore_decrypt</action>
2172 </actions>
2173 </object>
2174
2175 <object type="action">
2176 <conditions>
2177 <condition var1="tw_operation_state" var2="1" />
2178 <condition var1="tw_operation_status" op="=" var2="0" />
2179 </conditions>
2180 <actions>
2181 <action function="set">tw_page_done=1</action>
2182 <action function="page">restore_select</action>
2183 </actions>
2184 </object>
2185 </page>
2186
Dees_Troy51a0e822012-09-05 15:24:24 -04002187 <page name="restore_select">
2188 <object type="template" name="header" />
2189
2190 <object type="text" color="%text_color%">
2191 <font resource="font" />
2192 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2193 <text>Package to Restore: %tw_restore_name%</text>
2194 </object>
2195
2196 <object type="text" color="%text_color%">
2197 <font resource="font" />
2198 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2199 <text>Package Date: %tw_restore_file_date%</text>
2200 </object>
2201
Dees_Troya13d74f2013-03-24 08:54:55 -05002202 <object type="partitionlist">
2203 <highlight color="%fileselector_highlight_color%" />
2204 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2205 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2206 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2207 <text>Select Partitions to Restore:</text>
2208 <icon selected="checkbox_true" unselected="checkbox_false" />
2209 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2210 <background color="%listbox_background%" />
2211 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2212 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2213 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002214 </object>
2215
2216 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002217 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002218 <font resource="font" color="%text_color%" />
2219 <text>Enable MD5 checking of backup files</text>
2220 <data variable="tw_skip_md5_check" />
2221 <image checked="checkbox_true" unchecked="checkbox_false" />
2222 </object>
2223
2224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002226 <placement x="%col4_x%" y="%row1_y%" />
2227 <font resource="font" color="%button_text_color%" />
2228 <text>Rename Backup</text>
2229 <image resource="main_button" />
2230 <actions>
2231 <action function="set">tw_backup_rename=</action>
2232 <action function="set">tw_fileexists=0</action>
2233 <action function="page">renamebackup</action>
2234 </actions>
2235 </object>
2236
2237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002238 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002239 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002240 <font resource="font" color="%button_text_color%" />
2241 <text>Delete Backup</text>
2242 <image resource="main_button" />
2243 <actions>
2244 <action function="set">tw_back=restore</action>
2245 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002246 <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 -04002247 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2248 <action function="set">tw_text2=This cannot be undone!</action>
2249 <action function="set">tw_action_text1=Deleting Backup...</action>
2250 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2251 <action function="set">tw_slider_text=Swipe to Delete</action>
2252 <action function="page">confirm_action</action>
2253 </actions>
2254 </object>
2255
2256 <object type="slider">
2257 <placement x="%slider_x%" y="%slider_y%" />
2258 <resource base="slider" used="slider-used" touch="slider-touch" />
2259 <action function="page">restore_run</action>
2260 </object>
2261
2262 <object type="text" color="%text_color%">
2263 <font resource="font" />
2264 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2265 <text>Swipe to Restore</text>
2266 </object>
2267
2268 <object type="action">
2269 <touch key="home" />
2270 <action function="page">main</action>
2271 </object>
2272
2273 <object type="action">
2274 <touch key="back" />
2275 <action function="page">restore</action>
2276 </object>
2277
2278 <object type="template" name="footer" />
2279 </page>
2280
2281 <page name="renamebackup">
2282 <object type="template" name="header" />
2283
2284 <object type="text" color="%text_color%">
2285 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2286 <font resource="font" />
2287 <text>Please Enter a New Backup Name</text>
2288 </object>
2289
2290 <object type="input">
2291 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2292 <background color="%input_background_color%" />
2293 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2294 <font resource="font" color="%text_color%" />
2295 <text>%tw_backup_rename%</text>
2296 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002297 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 <actions>
2299 <action function="set">tw_back=restore</action>
2300 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002301 <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 -04002302 <action function="set">tw_text1=Rename Backup?</action>
2303 <action function="set">tw_text2=This cannot be undone!</action>
2304 <action function="set">tw_action_text1=Renaming Backup...</action>
2305 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2306 <action function="set">tw_slider_text=Swipe to Rename</action>
2307 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2308 <action function="set">tw_existpage=renamebackup</action>
2309 <action function="set">tw_notexistpage=confirm_action</action>
2310 <action function="page">filecheck</action>
2311 </actions>
2312 </object>
2313
2314 <object type="text" color="%text_fail_color%">
2315 <condition var1="tw_fileexists" var2="1" />
2316 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2317 <font resource="font" />
2318 <text>A backup with that name already exists!</text>
2319 </object>
2320
2321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002323 <placement x="%col_center_x%" y="%cancel_button_y%" />
2324 <font resource="font" color="%button_text_color%" />
2325 <text>Cancel</text>
2326 <image resource="main_button" />
2327 <action function="page">restore_select</action>
2328 </object>
2329
2330 <object type="template" name="keyboardtemplate" />
2331
2332 <object type="action">
2333 <touch key="home" />
2334 <action function="page">main</action>
2335 </object>
2336
2337 <object type="action">
2338 <touch key="back" />
2339 <action function="page">restore_select</action>
2340 </object>
2341
2342 <object type="template" name="footer" />
2343 </page>
2344
2345 <page name="restore_run">
2346 <object type="template" name="header" />
2347
2348 <object type="text" color="%text_color%">
2349 <font resource="font" />
2350 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2351 <text>%tw_operation% %tw_partition%</text>
2352 </object>
2353
2354 <object type="template" name="action_page_console" />
2355
2356 <object type="template" name="progress_bar" />
2357
2358 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002359 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002360 <actions>
2361 <action function="set">tw_back=restore_select</action>
2362 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002363 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002364 <action function="page">action_complete</action>
2365 </actions>
2366 </object>
2367
2368 <object type="action">
2369 <action function="nandroid">restore</action>
2370 </object>
2371 </page>
2372
2373 <page name="settings">
2374 <object type="template" name="header" />
2375
2376 <object type="text" color="%text_color%">
2377 <font resource="font" />
2378 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2379 <text>Settings</text>
2380 </object>
2381
2382 <object type="checkbox">
2383 <placement x="%col1_x%" y="%row2_text_y%" />
2384 <font resource="font" color="%text_color%" />
2385 <text>Zip file signature verification?</text>
2386 <data variable="tw_signed_zip_verify" />
2387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
2391 <placement x="%col1_x%" y="%row3_text_y%" />
2392 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <text>Use rm -rf instead of formatting?</text>
2394 <data variable="tw_rm_rf" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002399 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <font resource="font" color="%text_color%" />
2401 <text>Skip MD5 generation on backups</text>
2402 <data variable="tw_skip_md5_generate" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002407 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <font resource="font" color="%text_color%" />
2409 <text>Enable MD5 checking of backup files</text>
2410 <data variable="tw_skip_md5_check" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002415 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002417 <text>Use Military Time</text>
2418 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002423 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <font resource="font" color="%text_color%" />
2425 <text>Simulate most actions for theme testing</text>
2426 <data variable="tw_simulate_actions" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
2431 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002432 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <font resource="font" color="%text_color%" />
2434 <text>Simulate failure for actions</text>
2435 <data variable="tw_simulate_fail" />
2436 <image checked="checkbox_true" unchecked="checkbox_false" />
2437 </object>
2438
2439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <placement x="%col1_x%" y="%row2_y%" />
2442 <font resource="font" color="%button_text_color%" />
2443 <text>Time Zone</text>
2444 <image resource="main_button" />
2445 <action function="page">timezone</action>
2446 </object>
2447
2448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002449 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002450 <placement x="%col2_x%" y="%row2_y%" />
2451 <font resource="font" color="%button_text_color%" />
2452 <text>Restore Defaults</text>
2453 <image resource="main_button" />
2454 <action function="restoredefaultsettings"></action>
2455 </object>
2456
2457 <object type="button">
2458 <highlight color="%highlight_color%" />
2459 <placement x="%col3_x%" y="%row2_y%" />
2460 <font resource="font" color="%button_text_color%" />
2461 <text>Vibration Duration</text>
2462 <image resource="main_button" />
2463 <action function="page">Vibrate</action>
2464 </object>
2465
2466 <object type="button">
2467 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002468 <placement x="%col4_x%" y="%row2_y%" />
2469 <font resource="font" color="%button_text_color%" />
2470 <text>Screen</text>
2471 <image resource="main_button" />
2472 <action function="page">screen</action>
2473 </object>
2474
Dees_Troy51a0e822012-09-05 15:24:24 -04002475 <object type="action">
2476 <touch key="home" />
2477 <action function="page">main</action>
2478 </object>
2479
2480 <object type="action">
2481 <touch key="back" />
2482 <action function="page">main</action>
2483 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002484
Dees_Troy51a0e822012-09-05 15:24:24 -04002485 <object type="template" name="footer" />
2486 </page>
2487
2488 <page name="timezone">
2489 <object type="template" name="header" />
2490
2491 <object type="text" color="%text_color%">
2492 <font resource="font" />
2493 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2494 <text>Select Time Zone</text>
2495 </object>
2496
2497 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002500 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002501 <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 -06002502 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002503 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002504 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002506 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <data name="tw_time_zone_guisel" />
2508 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2509 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2510 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2511 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2512 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2513 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2514 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2515 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2516 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2517 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2518 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2519 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2520 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2521 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2522 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2523 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2524 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2525 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2526 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2527 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2528 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2529 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2530 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2531 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2532 </object>
2533
2534 <object type="checkbox">
2535 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2536 <font resource="font" color="%text_color%" />
2537 <text>Do you use daylight savings time (DST)?</text>
2538 <data variable="tw_time_zone_guidst" />
2539 <image checked="checkbox_true" unchecked="checkbox_false" />
2540 </object>
2541
2542 <object type="text" color="%text_color%">
2543 <font resource="font" />
2544 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2545 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text>0</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=0</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text>15</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=15</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2569 <font resource="font" color="%button_text_color%" />
2570 <text>30</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=30</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2578 <font resource="font" color="%button_text_color%" />
2579 <text>45</text>
2580 <image resource="medium_button" />
2581 <action function="set">tw_time_zone_guioffset=45</action>
2582 </object>
2583
2584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002585 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002586 <placement x="%col4_x%" y="%row2_y%" />
2587 <font resource="font" color="%button_text_color%" />
2588 <text>Set Time Zone</text>
2589 <image resource="main_button" />
2590 <action function="setguitimezone"></action>
2591 </object>
2592
2593 <object type="text" color="%text_color%">
2594 <font resource="font" />
2595 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2596 <text>Current Time Zone: %tw_time_zone%</text>
2597 </object>
2598
2599 <object type="action">
2600 <touch key="home" />
2601 <action function="page">main</action>
2602 </object>
2603
2604 <object type="action">
2605 <touch key="back" />
2606 <action function="page">settings</action>
2607 </object>
2608
2609 <object type="template" name="footer" />
2610 </page>
2611
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 <page name="screen">
2613 <object type="template" name="header" />
2614
2615 <object type="text" color="%text_color%">
2616 <font resource="font" />
2617 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2618 <text>Screen Settings</text>
2619 </object>
2620
Dees_Troy2f9117a2013-02-17 19:52:09 -06002621 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002622 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2623 <font resource="font" color="%text_color%" />
2624 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002625 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <text>Enable screen timeout.</text>
2627 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002628 <action function="set">tw_screen_timeout_secs=60</action>
2629 </object>
2630
2631 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2633 <font resource="font" color="%text_color%" />
2634 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002635 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002636 <text>Enable screen timeout.</text>
2637 <image resource="checkbox_true" />
2638 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002639 </object>
2640
Vojtech Bocek85932342013-04-01 22:11:33 +02002641 <object type="slidervalue">
2642 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002643 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2645 <font resource="font" color="%text_color%" />
2646 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2647 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2648 <text>Screen timeout in seconds:</text>
2649 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002650 </object>
2651
Vojtech Bocek85932342013-04-01 22:11:33 +02002652 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002653 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002654 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2655 <font resource="font" color="%text_color%" />
2656 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2657 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2658 <text>Brightness: %tw_brightness_pct%%</text>
2659 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002660 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002661 <action function="set">tw_brightness=%tw_brightness_max%</action>
2662 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2663 <action function="compute">tw_brightness/100</action>
2664 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002665 </actions>
2666 </object>
2667
2668 <object type="action">
2669 <touch key="home" />
2670 <action function="page">main</action>
2671 </object>
2672
2673 <object type="action">
2674 <touch key="back" />
2675 <action function="page">settings</action>
2676 </object>
2677
2678 <object type="template" name="footer" />
2679 </page>
2680
Ethan Yonker03db3262014-02-05 08:02:06 -06002681 <page name="Vibrate">
2682 <object type="template" name="header" />
2683
2684 <object type="text" color="%text_color%">
2685 <font resource="font" />
2686 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2687 <text>Vibration Settings :</text>
2688 </object>
2689
2690 <object type="slidervalue">
2691 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2692 <font resource="font" color="%text_color%" />
2693 <text>Button Vibration:</text>
2694 <data variable="tw_button_vibrate" min="0" max="300" />
2695 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2696 </object>
2697
2698 <object type="slidervalue">
2699 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2700 <font resource="font" color="%text_color%" />
2701 <text>Keyboard Vibration:</text>
2702 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2703 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2704 </object>
2705
2706 <object type="slidervalue">
2707 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2708 <font resource="font" color="%text_color%" />
2709 <text>Action Vibration:</text>
2710 <data variable="tw_action_vibrate" min="0" max="500" />
2711 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2712 </object>
2713
2714 <object type="action">
2715 <touch key="home" />
2716 <action function="page">main</action>
2717 </object>
2718
2719 <object type="action">
2720 <touch key="back" />
2721 <action function="page">settings</action>
2722 </object>
2723
2724 <object type="template" name="footer" />
2725 </page>
2726
Dees_Troy51a0e822012-09-05 15:24:24 -04002727 <page name="advanced">
2728 <object type="template" name="header" />
2729
2730 <object type="text" color="%text_color%">
2731 <font resource="font" />
2732 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2733 <text>Advanced</text>
2734 </object>
2735
2736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <placement x="%col1_x%" y="%row1_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>Copy Log to SD</text>
2741 <image resource="main_button" />
2742 <actions>
2743 <action function="set">tw_back=advanced</action>
2744 <action function="set">tw_action=copylog</action>
2745 <action function="set">tw_text1=Copy Log to SD Card?</action>
2746 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2747 <action function="set">tw_complete_text1=Log Copy Complete</action>
2748 <action function="set">tw_slider_text=Swipe to Confirm</action>
2749 <action function="page">confirm_action</action>
2750 </actions>
2751 </object>
2752
2753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <placement x="%col2_x%" y="%row1_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>Fix Permissions</text>
2758 <image resource="main_button" />
2759 <actions>
2760 <action function="set">tw_back=advanced</action>
2761 <action function="set">tw_action=fixpermissions</action>
2762 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2765 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002766 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <action function="page">confirm_action</action>
2768 </actions>
2769 </object>
2770
2771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <placement x="%col3_x%" y="%row1_y%" />
2774 <font resource="font" color="%button_text_color%" />
2775 <text>Terminal Command</text>
2776 <image resource="main_button" />
2777 <action function="page">terminalfolder</action>
2778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002782 <placement x="%col4_x%" y="%row1_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>ADB Sideload</text>
2785 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002786 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <condition var1="tw_allow_partition_sdcard" var2="1" />
2792 <placement x="%col1_x%" y="%row2_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>Partition SD Card</text>
2795 <image resource="main_button" />
2796 <action function="page">partsdcard</action>
2797 </object>
2798
2799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002800 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002801 <placement x="%col2_x%" y="%row2_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>File Manager</text>
2804 <image resource="main_button" />
2805 <action function="page">filemanagerlist</action>
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002810 <placement x="%col3_x%" y="%row2_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>Reload Theme</text>
2813 <image resource="main_button" />
2814 <action function="reload"></action>
2815 </object>
2816
2817 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002818 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <condition var1="tw_show_dumlock" var2="1" />
2820 <placement x="%col4_x%" y="%row2_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text>HTC Dumlock</text>
2823 <image resource="main_button" />
2824 <action function="page">htcdumlock</action>
2825 </object>
2826
2827 <object type="action">
2828 <touch key="home" />
2829 <action function="page">main</action>
2830 </object>
2831
2832 <object type="action">
2833 <touch key="back" />
2834 <action function="page">main</action>
2835 </object>
2836
2837 <object type="template" name="footer" />
2838 </page>
2839
2840 <page name="partsdcard">
2841 <object type="template" name="header" />
2842
2843 <object type="text" color="%text_color%">
2844 <font resource="font" />
2845 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2846 <text>Partition SD Card</text>
2847 </object>
2848
2849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002850 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002851 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text></text>
2854 <image resource="minus_button" />
2855 <action function="addsubtract">tw_sdext_size-128</action>
2856 </object>
2857
2858 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002859 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002860 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2861 <font resource="font" color="%button_text_color%" />
2862 <text></text>
2863 <image resource="plus_button" />
2864 <action function="addsubtract">tw_sdext_size+128</action>
2865 </object>
2866
2867 <object type="text" color="%text_color%">
2868 <font resource="font" />
2869 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2870 <text>EXT Size: %tw_sdext_size%</text>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2876 <font resource="font" color="%button_text_color%" />
2877 <text></text>
2878 <image resource="minus_button" />
2879 <action function="addsubtract">tw_swap_size-32</action>
2880 </object>
2881
2882 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002883 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002884 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2885 <font resource="font" color="%button_text_color%" />
2886 <text></text>
2887 <image resource="plus_button" />
2888 <action function="addsubtract">tw_swap_size+32</action>
2889 </object>
2890
2891 <object type="text" color="%text_color%">
2892 <font resource="font" />
2893 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2894 <text>Swap Size: %tw_swap_size%</text>
2895 </object>
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2900 <text>File system: %tw_sdpart_file_system%</text>
2901 </object>
2902
2903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002904 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002905 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text>EXT3</text>
2908 <image resource="medium_button" />
2909 <action function="set">tw_sdpart_file_system=ext3</action>
2910 </object>
2911
2912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002914 <condition var1="tw_sdext_disable_ext4" var2="0" />
2915 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2916 <font resource="font" color="%button_text_color%" />
2917 <text>EXT4</text>
2918 <image resource="medium_button" />
2919 <action function="set">tw_sdpart_file_system=ext4</action>
2920 </object>
2921
2922 <object type="text" color="%text_color%">
2923 <font resource="font" />
2924 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2925 <text>You will lose all files on your SD card!</text>
2926 </object>
2927
2928 <object type="text" color="%text_color%">
2929 <font resource="font" />
2930 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2931 <text>This action cannot be undone!</text>
2932 </object>
2933
2934 <object type="slider">
2935 <placement x="%slider_x%" y="%slider_y%" />
2936 <resource base="slider" used="slider-used" touch="slider-touch" />
2937 <actions>
2938 <action function="set">tw_back=partsdcard</action>
2939 <action function="set">tw_action=partitionsd</action>
2940 <action function="set">tw_has_action2=1</action>
2941 <action function="set">tw_action2=set</action>
2942 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2943 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2944 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002945 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002946 <action function="page">action_page</action>
2947 </actions>
2948 </object>
2949
2950 <object type="text" color="%text_color%">
2951 <font resource="font" />
2952 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2953 <text>Swipe to Confirm Partition</text>
2954 </object>
2955
2956 <object type="action">
2957 <touch key="home" />
2958 <action function="page">main</action>
2959 </object>
2960
2961 <object type="action">
2962 <touch key="back" />
2963 <action function="page">advanced</action>
2964 </object>
2965
2966 <object type="template" name="footer" />
2967 </page>
2968
2969
2970 <page name="htcdumlock">
2971 <object type="template" name="header" />
2972
2973 <object type="text" color="%text_color%">
2974 <font resource="font" />
2975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2976 <text>HTC Dumlock</text>
2977 </object>
2978
2979 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002980 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002981 <condition var1="tw_show_dumlock" var2="1" />
2982 <placement x="%col1_x%" y="%row1_y%" />
2983 <font resource="font" color="%button_text_color%" />
2984 <text>Restore Original Boot</text>
2985 <image resource="main_button" />
2986 <actions>
2987 <action function="set">tw_back=htcdumlock</action>
2988 <action function="set">tw_action=htcdumlockrestoreboot</action>
2989 <action function="set">tw_text1=Restore original boot image?</action>
2990 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2991 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2992 <action function="set">tw_slider_text=Swipe to Confirm</action>
2993 <action function="page">confirm_action</action>
2994 </actions>
2995 </object>
2996
2997 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002998 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002999 <condition var1="tw_show_dumlock" var2="1" />
3000 <placement x="%col2_x%" y="%row1_y%" />
3001 <font resource="font" color="%button_text_color%" />
3002 <text>Reflash Recovery->Boot</text>
3003 <image resource="main_button" />
3004 <actions>
3005 <action function="set">tw_back=htcdumlock</action>
3006 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3007 <action function="set">tw_text1=Reflash recovery to boot?</action>
3008 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3009 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3010 <action function="set">tw_slider_text=Swipe to Confirm</action>
3011 <action function="page">confirm_action</action>
3012 </actions>
3013 </object>
3014
3015 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003016 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003017 <condition var1="tw_show_dumlock" var2="1" />
3018 <placement x="%col1_x%" y="%row2_y%" />
3019 <font resource="font" color="%button_text_color%" />
3020 <text>Install HTC Dumlock</text>
3021 <image resource="main_button" />
3022 <actions>
3023 <action function="set">tw_back=htcdumlock</action>
3024 <action function="set">tw_action=installhtcdumlock</action>
3025 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3026 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3027 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3028 <action function="set">tw_slider_text=Swipe to Confirm</action>
3029 <action function="page">confirm_action</action>
3030 </actions>
3031 </object>
3032
3033 <object type="action">
3034 <touch key="home" />
3035 <action function="page">main</action>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="back" />
3040 <action function="page">advanced</action>
3041 </object>
3042
3043 <object type="template" name="footer" />
3044 </page>
3045
3046 <page name="lock">
3047 <background color="#000000A0" />
3048
3049 <object type="image">
3050 <image resource="unlock-icon" />
3051 <placement x="%lock_x%" y="%lock_y%" />
3052 </object>
3053
3054 <object type="slider">
3055 <placement x="%slider_x%" y="%slider_y%" />
3056 <resource base="slider" used="slider-used" touch="slider-touch" />
3057 <action function="overlay"></action>
3058 </object>
3059
3060 <object type="text" color="%text_color%">
3061 <font resource="font" />
3062 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3063 <text>Swipe to Unlock</text>
3064 </object>
3065 </page>
3066
3067
3068 <page name="filemanagerlist">
3069 <object type="template" name="header" />
3070
3071 <object type="text" color="%text_color%">
3072 <font resource="font" />
3073 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3074 <text>File Manager: Select a File or Folder</text>
3075 </object>
3076
3077 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003078 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3080 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003081 <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 -04003082 <text>Folders:</text>
3083 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3084 <sort name="tw_gui_sort_order" />
3085 <icon folder="folder_icon" file="file_icon" />
3086 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003087 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003088 <filter folders="1" files="0" />
3089 <path name="tw_file_location1" default="/sdcard" />
3090 <data name="select" />
3091 <selection name="tw_selection1" />
3092 </object>
3093
3094 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003095 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3097 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003098 <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 -04003099 <text>%tw_file_location1%</text>
3100 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3101 <sort name="tw_gui_sort_order" />
3102 <icon folder="folder_icon" file="file_icon" />
3103 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003104 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003105 <filter folders="0" files="1" />
3106 <path name="tw_file_location1" default="/" />
3107 <data name="tw_filename1" />
3108 <selection name="tw_selection1" />
3109 </object>
3110
3111 <object type="template" name="sort_options" />
3112
3113 <object type="action">
3114 <actions>
3115 <action function="set">tw_fm_type=File</action>
3116 <action function="set">tw_fm_isfolder=0</action>
3117 </actions>
3118 </object>
3119
3120 <object type="action">
3121 <touch key="home" />
3122 <action function="page">main</action>
3123 </object>
3124
3125 <object type="action">
3126 <touch key="back" />
3127 <action function="page">advanced</action>
3128 </object>
3129
3130 <object type="action">
3131 <condition var1="tw_filename1" op="modified" />
3132 <actions>
3133 <action function="page">filemanageroptions</action>
3134 </actions>
3135 </object>
3136
3137 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003138 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003139 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3140 <font resource="font" color="%button_text_color%" />
3141 <text>Select Folder</text>
3142 <image resource="main_button" />
3143 <actions>
3144 <action function="set">tw_filename1=tw_file_location1</action>
3145 <action function="set">tw_fm_isfolder=1</action>
3146 <action function="set">tw_fm_type=Folder</action>
3147 <action function="page">filemanageroptions</action>
3148 </actions>
3149 </object>
3150
3151 <object type="template" name="footer" />
3152 </page>
3153
3154 <page name="filemanageroptions">
3155 <object type="template" name="header" />
3156
3157 <object type="text" color="%text_color%">
3158 <font resource="font" />
3159 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3160 <text>%tw_fm_type% Selected:</text>
3161 </object>
3162
3163 <object type="text" color="%text_color%">
3164 <font resource="font" />
3165 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3166 <text>%tw_filename1%</text>
3167 </object>
3168
3169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003170 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003171 <condition var1="tw_fm_isfolder" var2="0" />
3172 <placement x="%col1_x%" y="%row2_y%" />
3173 <font resource="font" color="%button_text_color%" />
3174 <text>Copy File</text>
3175 <image resource="main_button" />
3176 <actions>
3177 <action function="set">tw_filemanager_command=cp</action>
3178 <action function="set">tw_fm_text1=Copying</action>
3179 <action function="page">choosedestinationfolder</action>
3180 </actions>
3181 </object>
3182
3183 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003184 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003185 <condition var1="tw_fm_isfolder" var2="1" />
3186 <placement x="%col1_x%" y="%row2_y%" />
3187 <font resource="font" color="%button_text_color%" />
3188 <text>Copy Folder</text>
3189 <image resource="main_button" />
3190 <actions>
3191 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3192 <action function="set">tw_fm_text1=Copying</action>
3193 <action function="page">choosedestinationfolder</action>
3194 </actions>
3195 </object>
3196
3197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003199 <placement x="%col2_x%" y="%row2_y%" />
3200 <font resource="font" color="%button_text_color%" />
3201 <text>Move</text>
3202 <image resource="main_button" />
3203 <actions>
3204 <action function="set">tw_filemanager_command=mv</action>
3205 <action function="set">tw_fm_text1=Moving</action>
3206 <action function="page">choosedestinationfolder</action>
3207 </actions>
3208 </object>
3209
3210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003211 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003212 <placement x="%col3_x%" y="%row2_y%" />
3213 <font resource="font" color="%button_text_color%" />
3214 <text>chmod 755</text>
3215 <image resource="main_button" />
3216 <actions>
3217 <action function="set">tw_filemanager_command=chmod 755</action>
3218 <action function="set">tw_fm_text1=chmod 755</action>
3219 <action function="set">tw_fm_text2=</action>
3220 <action function="set">tw_fm_text3=</action>
3221 <action function="set">tw_include_text3=0</action>
3222 <action function="set">tw_back=filemanageroptions</action>
3223 <action function="page">filemanagerconfirm</action>
3224 </actions>
3225 </object>
3226
3227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003229 <placement x="%col4_x%" y="%row2_y%" />
3230 <font resource="font" color="%button_text_color%" />
3231 <text>chmod</text>
3232 <image resource="main_button" />
3233 <actions>
3234 <action function="set">tw_filemanager_rename=0000</action>
3235 <action function="set">tw_fm_text2=</action>
3236 <action function="set">tw_fm_text3=</action>
3237 <action function="set">tw_include_text3=0</action>
3238 <action function="set">tw_back=filemanageroptions</action>
3239 <action function="page">filemanagerchmod</action>
3240 </actions>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <placement x="%col1_x%" y="%row1_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>Delete</text>
3248 <image resource="main_button" />
3249 <actions>
3250 <action function="set">tw_filemanager_command=rm -rf</action>
3251 <action function="set">tw_fm_text1=Deleting</action>
3252 <action function="set">tw_fm_text2=</action>
3253 <action function="set">tw_fm_text3=</action>
3254 <action function="set">tw_include_text3=0</action>
3255 <action function="set">tw_back=filemanageroptions</action>
3256 <action function="page">filemanagerconfirm</action>
3257 </actions>
3258 </object>
3259
3260 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003261 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003262 <condition var1="tw_fm_isfolder" var2="0" />
3263 <placement x="%col4_x%" y="%row1_y%" />
3264 <font resource="font" color="%button_text_color%" />
3265 <text>Rename File</text>
3266 <image resource="main_button" />
3267 <actions>
3268 <action function="set">tw_filemanager_rename=tw_selection1</action>
3269 <action function="set">tw_fm_text1=Renaming</action>
3270 <action function="set">tw_filemanager_command=mv</action>
3271 <action function="page">filemanagerrenamefile</action>
3272 </actions>
3273 </object>
3274
3275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003277 <condition var1="tw_fm_isfolder" var2="1" />
3278 <placement x="%col4_x%" y="%row1_y%" />
3279 <font resource="font" color="%button_text_color%" />
3280 <text>Rename Folder</text>
3281 <image resource="main_button" />
3282 <actions>
3283 <action function="set">tw_filemanager_rename=tw_selection1</action>
3284 <action function="set">tw_fm_text1=Renaming</action>
3285 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3286 <action function="page">filemanagerrenamefolder</action>
3287 </actions>
3288 </object>
3289
3290 <object type="action">
3291 <touch key="home" />
3292 <action function="page">main</action>
3293 </object>
3294
3295 <object type="action">
3296 <touch key="back" />
3297 <action function="page">filemanagerlist</action>
3298 </object>
3299
3300 <object type="template" name="footer" />
3301 </page>
3302
3303 <page name="choosedestinationfolder">
3304 <object type="template" name="header" />
3305
3306 <object type="text" color="%text_color%">
3307 <font resource="font" />
3308 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3309 <text>Browse to Destination Folder & Press Select</text>
3310 </object>
3311
3312 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003313 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003314 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3315 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003316 <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 -04003317 <text>%tw_file_location2%</text>
3318 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3319 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003320 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003321 <icon folder="folder_icon" file="file_icon" />
3322 <background color="%fileselector_background%" />
3323 <filter folders="1" files="0" />
3324 <path name="tw_file_location2" default="/sdcard" />
3325 <data name="tw_filename2" />
3326 </object>
3327
3328 <object type="template" name="sort_options" />
3329
3330 <object type="action">
3331 <touch key="home" />
3332 <action function="page">main</action>
3333 </object>
3334
3335 <object type="action">
3336 <touch key="back" />
3337 <action function="page">filemanageroptions</action>
3338 </object>
3339
3340 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003341 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003342 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3343 <font resource="font" color="%button_text_color%" />
3344 <text>Select Folder</text>
3345 <image resource="main_button" />
3346 <actions>
3347 <action function="set">tw_fm_text2=to</action>
3348 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3349 <action function="set">tw_include_text3=1</action>
3350 <action function="set">tw_back=filemanageroptions</action>
3351 <action function="page">filemanagerconfirm</action>
3352 </actions>
3353 </object>
3354
3355 <object type="template" name="footer" />
3356 </page>
3357
3358 <page name="filemanagerrenamefile">
3359 <object type="template" name="header" />
3360
3361 <object type="text" color="%text_color%">
3362 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3363 <font resource="font" />
3364 <text>Please Enter a New %tw_fm_type% Name</text>
3365 </object>
3366
3367 <object type="input">
3368 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3369 <background color="%input_background_color%" />
3370 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3371 <font resource="font" color="%text_color%" />
3372 <text>%tw_filemanager_rename%</text>
3373 <data name="tw_filemanager_rename" />
3374 <restrict minlen="1" maxlen="128" />
3375 <actions>
3376 <action function="set">tw_fm_text2=to</action>
3377 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3378 <action function="set">tw_include_text3=1</action>
3379 <action function="set">tw_back=filemanageroptions</action>
3380 <action function="page">filemanagerconfirm</action>
3381 </actions>
3382 </object>
3383
3384 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003386 <placement x="%col_center_x%" y="%cancel_button_y%" />
3387 <font resource="font" color="%button_text_color%" />
3388 <text>Cancel</text>
3389 <image resource="main_button" />
3390 <action function="page">filemanageroptions</action>
3391 </object>
3392
3393 <object type="template" name="keyboardtemplate" />
3394
3395 <object type="action">
3396 <touch key="home" />
3397 <action function="page">main</action>
3398 </object>
3399
3400 <object type="action">
3401 <touch key="back" />
3402 <action function="page">filemanageroptions</action>
3403 </object>
3404
3405 <object type="template" name="footer" />
3406 </page>
3407
3408 <page name="filemanagerrenamefolder">
3409 <object type="template" name="header" />
3410
3411 <object type="text" color="%text_color%">
3412 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3413 <font resource="font" />
3414 <text>Please Enter a New %tw_fm_type% Name</text>
3415 </object>
3416
3417 <object type="input">
3418 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3419 <background color="%input_background_color%" />
3420 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3421 <font resource="font" color="%text_color%" />
3422 <text>%tw_filemanager_rename%</text>
3423 <data name="tw_filemanager_rename" />
3424 <restrict minlen="1" maxlen="128" />
3425 <actions>
3426 <action function="set">tw_fm_text2=to</action>
3427 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3428 <action function="set">tw_include_text3=1</action>
3429 <action function="set">tw_back=filemanageroptions</action>
3430 <action function="page">filemanagerconfirm</action>
3431 </actions>
3432 </object>
3433
3434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003436 <placement x="%col_center_x%" y="%cancel_button_y%" />
3437 <font resource="font" color="%button_text_color%" />
3438 <text>Cancel</text>
3439 <image resource="main_button" />
3440 <action function="page">filemanageroptions</action>
3441 </object>
3442
3443 <object type="template" name="keyboardtemplate" />
3444
3445 <object type="action">
3446 <touch key="home" />
3447 <action function="page">main</action>
3448 </object>
3449
3450 <object type="action">
3451 <touch key="back" />
3452 <action function="page">filemanageroptions</action>
3453 </object>
3454
3455 <object type="template" name="footer" />
3456 </page>
3457
3458 <page name="filemanagerchmod">
3459 <object type="template" name="header" />
3460
3461 <object type="text" color="%text_color%">
3462 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3463 <font resource="font" />
3464 <text>Please Enter New Permissions</text>
3465 </object>
3466
3467 <object type="input">
3468 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3469 <background color="%input_background_color%" />
3470 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3471 <font resource="font" color="%text_color%" />
3472 <text>%tw_filemanager_rename%</text>
3473 <data name="tw_filemanager_rename" />
3474 <restrict minlen="3" maxlen="4" allow="0123456789" />
3475 <actions>
3476 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3477 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3478 <action function="set">tw_back=filemanageroptions</action>
3479 <action function="page">filemanagerconfirm</action>
3480 </actions>
3481 </object>
3482
3483 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003484 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003485 <placement x="%col_center_x%" y="%cancel_button_y%" />
3486 <font resource="font" color="%button_text_color%" />
3487 <text>Cancel</text>
3488 <image resource="main_button" />
3489 <action function="page">filemanageroptions</action>
3490 </object>
3491
3492 <object type="template" name="keyboardtemplate" />
3493
3494 <object type="action">
3495 <touch key="home" />
3496 <action function="page">main</action>
3497 </object>
3498
3499 <object type="action">
3500 <touch key="back" />
3501 <action function="page">filemanageroptions</action>
3502 </object>
3503
3504 <object type="template" name="footer" />
3505 </page>
3506
3507 <page name="filemanagerconfirm">
3508 <object type="template" name="header" />
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3513 <text>%tw_fm_text1%</text>
3514 </object>
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3519 <text>%tw_filename1%</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3525 <text>%tw_fm_text2%</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3531 <text>%tw_fm_text3%</text>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3537 <text>Press back button to cancel.</text>
3538 </object>
3539
3540 <object type="slider">
3541 <placement x="%slider_x%" y="%slider_y%" />
3542 <resource base="slider" used="slider-used" touch="slider-touch" />
3543 <action function="page">filemanageracction</action>
3544 </object>
3545
3546 <object type="text" color="%text_color%">
3547 <font resource="font" />
3548 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3549 <text>Swipe to Confirm</text>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="back" />
3554 <action function="page">%tw_back%</action>
3555 </object>
3556
3557 <object type="action">
3558 <touch key="home" />
3559 <action function="page">main</action>
3560 </object>
3561
3562 <object type="template" name="footer" />
3563 </page>
3564
3565 <page name="filemanageracction">
3566 <object type="template" name="header" />
3567
3568 <object type="text" color="%text_color%">
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3571 <text>%tw_fm_text1%</text>
3572 </object>
3573
3574 <object type="template" name="action_page_console" />
3575
3576 <object type="template" name="progress_bar" />
3577
3578 <object type="action">
3579 <conditions>
3580 <condition var1="tw_operation_state" var2="1" />
3581 <condition var1="tw_operation_status" var2="0" />
3582 </conditions>
3583 <actions>
3584 <action function="set">tw_back=filemanagerlist</action>
3585 <action function="set">tw_complete_text1=File Operation Complete</action>
3586 <action function="page">action_complete</action>
3587 </actions>
3588 </object>
3589
3590 <object type="action">
3591 <conditions>
3592 <condition var1="tw_operation_state" var2="1" />
3593 <condition var1="tw_operation_status" op="!=" var2="0" />
3594 </conditions>
3595 <actions>
3596 <action function="set">tw_complete_text1=File Operation Complete</action>
3597 <action function="page">action_complete</action>
3598 </actions>
3599 </object>
3600
3601 <object type="action">
3602 <condition var1="tw_include_text3" var2="0" />
3603 <actions>
3604 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3605 </actions>
3606 </object>
3607
3608 <object type="action">
3609 <condition var1="tw_include_text3" var2="1" />
3610 <actions>
3611 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3612 </actions>
3613 </object>
3614 </page>
3615
3616 <page name="decrypt">
3617 <object type="template" name="header" />
3618
3619 <object type="text" color="%text_color%">
3620 <font resource="font" />
3621 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3622 <text>Please Enter Your Password</text>
3623 </object>
3624
3625 <object type="input">
3626 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3627 <background color="%input_background_color%" />
3628 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3629 <font resource="font" color="%text_color%" />
3630 <text>%tw_crypto_display%</text>
3631 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3632 <restrict minlen="1" maxlen="254" />
3633 <actions>
3634 <action function="page">trydecrypt</action>
3635 </actions>
3636 </object>
3637
3638 <object type="text" color="%text_fail_color%">
3639 <condition var1="tw_password_fail" var2="1" />
3640 <font resource="font" />
3641 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3642 <text>Password Failed, Please Try Again</text>
3643 </object>
3644
3645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003647 <placement x="%col_center_x%" y="%cancel_button_y%" />
3648 <font resource="font" color="%button_text_color%" />
3649 <text>Cancel</text>
3650 <image resource="main_button" />
3651 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003652 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003653 <action function="page">main</action>
3654 </actions>
3655 </object>
3656
3657 <object type="template" name="keyboardtemplate" />
3658
Dees_Troy51a0e822012-09-05 15:24:24 -04003659 <object type="template" name="footer" />
3660 </page>
3661
3662 <page name="trydecrypt">
3663 <object type="template" name="header" />
3664
3665 <object type="text" color="%text_color%">
3666 <font resource="font" />
3667 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3668 <text>Trying Decryption with Your Password</text>
3669 </object>
3670
3671 <object type="template" name="action_page_console" />
3672
3673 <object type="template" name="progress_bar" />
3674
3675 <object type="action">
3676 <action function="decrypt"></action>
3677 </object>
3678
3679 <object type="action">
3680 <conditions>
3681 <condition var1="tw_operation_state" var2="1" />
3682 <condition var1="tw_operation_status" op="!=" var2="0" />
3683 </conditions>
3684 <actions>
3685 <action function="set">tw_password_fail=1</action>
3686 <action function="page">decrypt</action>
3687 </actions>
3688 </object>
3689
3690 <object type="action">
3691 <conditions>
3692 <condition var1="tw_operation_state" var2="1" />
3693 <condition var1="tw_operation_status" op="=" var2="0" />
3694 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003695 <actions>
3696 <action function="set">tw_page_done=1</action>
3697 <action function="page">main</action>
3698 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003699 </object>
3700 </page>
3701
3702 <page name="terminalfolder">
3703 <object type="template" name="header" />
3704
3705 <object type="text" color="%text_color%">
3706 <font resource="font" />
3707 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3708 <text>Browse to Starting Folder</text>
3709 </object>
3710
3711 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003712 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003713 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3714 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003715 <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 -04003716 <text>%tw_terminal_location%</text>
3717 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3718 <sort name="tw_gui_sort_order" />
3719 <icon folder="folder_icon" file="file_icon" />
3720 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003721 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003722 <filter folders="1" files="0" />
3723 <path name="tw_terminal_location" default="/" />
3724 <data name="tw_terminal" />
3725 <selection name="tw_terminal_selection" />
3726 </object>
3727
3728 <object type="template" name="sort_options" />
3729
3730 <object type="action">
3731 <touch key="home" />
3732 <action function="page">main</action>
3733 </object>
3734
3735 <object type="action">
3736 <touch key="back" />
3737 <action function="page">advanced</action>
3738 </object>
3739
3740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003742 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3743 <font resource="font" color="%button_text_color%" />
3744 <text>Select Folder</text>
3745 <image resource="main_button" />
3746 <actions>
3747 <action function="page">terminalcommand</action>
3748 </actions>
3749 </object>
3750
3751 <object type="template" name="footer" />
3752 </page>
3753
3754 <page name="terminalcommand">
3755 <background color="#000000FF" />
3756
3757 <object type="console">
3758 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3759 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3760 <font resource="fixed" />
3761 </object>
3762
3763 <object type="text" color="%text_color%">
3764 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3765 <font resource="font" />
3766 <text>Starting Path: %tw_terminal_location%</text>
3767 </object>
3768
3769 <object type="input">
3770 <condition var1="tw_terminal_state" var2="0" />
3771 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3772 <background color="%input_background_color%" />
3773 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3774 <font resource="font" color="%text_color%" />
3775 <text>%tw_terminal_command%</text>
3776 <data name="tw_terminal_command" />
3777 <restrict minlen="1" />
3778 <action function="terminalcommand">%tw_terminal_command%</action>
3779 </object>
3780
3781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003783 <condition var1="tw_terminal_state" var2="1" />
3784 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3785 <font resource="font" color="%button_text_color%" />
3786 <text>KILL</text>
3787 <image resource="medium_button" />
3788 <action function="killterminal"></action>
3789 </object>
3790
3791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003792 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003793 <placement x="%home_button_x%" y="%terminal_button_y%" />
3794 <font resource="font" color="%button_text_color%" />
3795 <text></text>
3796 <image resource="home_icon" />
3797 <condition var1="tw_busy" var2="0" />
3798 <action function="key">home</action>
3799 </object>
3800
3801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003803 <placement x="%back_button_x%" y="%terminal_button_y%" />
3804 <font resource="font" color="%button_text_color%" />
3805 <text></text>
3806 <image resource="back_icon" />
3807 <condition var1="tw_busy" var2="0" />
3808 <action function="key">back</action>
3809 </object>
3810
3811 <object type="action">
3812 <touch key="power" />
3813 <action function="overlay">lock</action>
3814 </object>
3815
3816 <object type="template" name="keyboardtemplate" />
3817
3818 <object type="action">
3819 <touch key="home" />
3820 <action function="page">main</action>
3821 </object>
3822
3823 <object type="action">
3824 <touch key="back" />
3825 <action function="page">terminalfolder</action>
3826 </object>
3827 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003828
3829 <page name="sideload">
3830 <object type="template" name="header" />
3831
3832 <object type="text" color="%text_color%">
3833 <font resource="font" />
3834 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3835 <text>ADB Sideload</text>
3836 </object>
3837
3838 <object type="checkbox">
3839 <placement x="%col1_x%" y="%row3_text_y%" />
3840 <font resource="font" color="%text_color%" />
3841 <text>Wipe Dalvik Cache.</text>
3842 <data variable="tw_wipe_dalvik" />
3843 <image checked="checkbox_true" unchecked="checkbox_false" />
3844 </object>
3845
3846 <object type="checkbox">
3847 <placement x="%col1_x%" y="%row4_text_y%" />
3848 <font resource="font" color="%text_color%" />
3849 <text>Wipe Cache.</text>
3850 <data variable="tw_wipe_cache" />
3851 <image checked="checkbox_true" unchecked="checkbox_false" />
3852 </object>
3853
3854 <object type="slider">
3855 <placement x="%slider_x%" y="%slider_y%" />
3856 <resource base="slider" used="slider-used" touch="slider-touch" />
3857 <actions>
3858 <action function="set">tw_back=advanced</action>
3859 <action function="set">tw_action=adbsideload</action>
3860 <action function="set">tw_action_text1=ADB Sideload</action>
3861 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3862 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3863 <action function="set">tw_has_cancel=1</action>
3864 <action function="set">tw_show_reboot=1</action>
3865 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3866 <action function="page">action_page</action>
3867 </actions>
3868 </object>
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3873 <text>Swipe to Start Sideload</text>
3874 </object>
3875
3876 <object type="action">
3877 <touch key="home" />
3878 <action function="page">main</action>
3879 </object>
3880
3881 <object type="action">
3882 <touch key="back" />
3883 <action function="page">advanced</action>
3884 </object>
3885
3886 <object type="template" name="footer" />
3887 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003888
3889 <page name="installsu">
3890 <object type="template" name="header" />
3891
3892 <object type="text" color="%text_color%">
3893 <font resource="font" />
3894 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3895 <text>Install SuperSU?</text>
3896 </object>
3897
3898 <object type="text" color="%text_color%">
3899 <font resource="font" />
3900 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3901 <text>Your device does not appear to be rooted.</text>
3902 </object>
3903
3904 <object type="text" color="%text_color%">
3905 <font resource="font" />
3906 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3907 <text>Install SuperSU now? This will root your device.</text>
3908 </object>
3909
3910 <object type="button">
3911 <highlight color="%highlight_color%" />
3912 <placement x="%col_center_x%" y="%row2_medium_y%" />
3913 <font resource="font" color="%button_text_color%" />
3914 <text>Do Not Install</text>
3915 <image resource="main_button" />
3916 <action function="set">tw_page_done=1</action>
3917 </object>
3918
3919 <object type="slider">
3920 <placement x="%slider_x%" y="%slider_y%" />
3921 <resource base="slider" used="slider-used" touch="slider-touch" />
3922 <actions>
3923 <action function="set">tw_action=installsu</action>
3924 <action function="set">tw_action_text1=Installing SuperSU</action>
3925 <action function="set">tw_action_text2=</action>
3926 <action function="page">singleaction_page</action>
3927 </actions>
3928 </object>
3929
3930 <object type="text" color="%text_color%">
3931 <font resource="font" />
3932 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3933 <text>Swipe to Install</text>
3934 </object>
3935 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003936 </pages>
3937</recovery>