blob: 2958ba07028711264557e49162d895cad89315c6 [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" />
Matt Mowercd8169c2014-04-02 04:24:08 -05001650 <actions>
1651 <action function="refreshsizes"></action>
1652 <action function="page">backup</action>
1653 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001654 </object>
1655
1656 <object type="button">
1657 <highlight color="%highlight_color%" />
1658 <placement x="%col4_x%" y="%row1_y%" />
1659 <font resource="font" color="%button_text_color%" />
1660 <text>Set Backup Name</text>
1661 <image resource="main_button" />
1662 <actions>
1663 <action function="set">tw_fileexists=0</action>
1664 <action function="page">backupname1</action>
1665 </actions>
1666 </object>
1667
1668 <object type="button">
1669 <highlight color="%highlight_color%" />
1670 <fill color="%button_fill_color%" />
1671 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1672 <font resource="font" color="%button_text_color%" />
1673 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1674 <actions>
1675 <action function="set">tw_back=backup</action>
1676 <action function="page">selectstorage</action>
1677 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001678 </object>
1679
Dees_Troy83bd4832013-05-04 12:39:56 +00001680 <object type="button">
1681 <conditions>
1682 <condition var1="tw_include_encrypted_backup" var2="1" />
1683 <condition var1="tw_encrypt_backup" var2="0" />
1684 </conditions>
1685 <highlight color="%highlight_color%" />
1686 <fill color="%button_fill_color%" />
1687 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1688 <font resource="font" color="%button_text_color%" />
1689 <text>No Encryption</text>
1690 <actions>
1691 <action function="page">backupencryption</action>
1692 </actions>
1693 </object>
1694
1695 <object type="button">
1696 <conditions>
1697 <condition var1="tw_include_encrypted_backup" var2="1" />
1698 <condition var1="tw_encrypt_backup" var2="1" />
1699 </conditions>
1700 <highlight color="%highlight_color%" />
1701 <fill color="%button_fill_color%" />
1702 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1703 <font resource="font" color="%button_text_color%" />
1704 <text>Using Encryption</text>
1705 <actions>
1706 <action function="page">backupencryption</action>
1707 </actions>
1708 </object>
1709
Dees_Troy51a0e822012-09-05 15:24:24 -04001710 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001711 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001712 <font resource="font" color="%text_color%" />
1713 <text>Enable Compression (Requires more time)</text>
1714 <data variable="tw_use_compression" />
1715 <image checked="checkbox_true" unchecked="checkbox_false" />
1716 </object>
1717
1718 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001719 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001720 <font resource="font" color="%text_color%" />
1721 <text>Skip MD5 generation on backups</text>
1722 <data variable="tw_skip_md5_generate" />
1723 <image checked="checkbox_true" unchecked="checkbox_false" />
1724 </object>
1725
Dees_Troy51a0e822012-09-05 15:24:24 -04001726 <object type="slider">
1727 <placement x="%slider_x%" y="%slider_y%" />
1728 <resource base="slider" used="slider-used" touch="slider-touch" />
1729 <actions>
1730 <action function="set">tw_operation_state=0</action>
1731 <action function="page">backup_run</action>
1732 </actions>
1733 </object>
1734
1735 <object type="text" color="%text_color%">
1736 <font resource="font" />
1737 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1738 <text>Swipe to Back Up</text>
1739 </object>
1740
Dees_Troy51a0e822012-09-05 15:24:24 -04001741 <object type="action">
1742 <touch key="home" />
1743 <action function="page">main</action>
1744 </object>
1745
1746 <object type="action">
1747 <touch key="back" />
1748 <action function="page">main</action>
1749 </object>
1750
1751 <object type="template" name="footer" />
1752 </page>
1753
1754 <page name="backupname1">
1755 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001756 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1757 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001758 </object>
1759
1760 <object type="action">
1761 <action function="page">backupname2</function>
1762 </object>
1763 </page>
1764
1765 <page name="backupname2">
1766 <object type="template" name="header" />
1767
1768 <object type="text" color="%text_color%">
1769 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1770 <font resource="font" />
1771 <text>Please Enter a Backup Name</text>
1772 </object>
1773
1774 <object type="input">
1775 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1776 <background color="%input_background_color%" />
1777 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1778 <font resource="font" color="%text_color%" />
1779 <text>%tw_backup_name%</text>
1780 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001781 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001782 <actions>
1783 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1784 <action function="set">tw_existpage=backupname2</action>
1785 <action function="set">tw_notexistpage=backup</action>
1786 <action function="page">filecheck</action>
1787 </actions>
1788 </object>
1789
1790 <object type="text" color="%text_fail_color%">
1791 <condition var1="tw_fileexists" var2="1" />
1792 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1793 <font resource="font" />
1794 <text>A backup with that name already exists!</text>
1795 </object>
1796
1797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001798 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001799 <placement x="%col2_x%" y="%cancel_button_y%" />
1800 <font resource="font" color="%button_text_color%" />
1801 <text>Append Date</text>
1802 <image resource="main_button" />
1803 <action function="appenddatetobackupname"></action>
1804 </object>
1805
1806 <object type="button">
1807 <highlight color="%highlight_color%" />
1808 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001809 <font resource="font" color="%button_text_color%" />
1810 <text>Cancel / Clear</text>
1811 <image resource="main_button" />
1812 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001813 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001814 <action function="page">backup</action>
1815 </actions>
1816 </object>
1817
1818 <object type="template" name="keyboardtemplate" />
1819
1820 <object type="action">
1821 <touch key="home" />
1822 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001823 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001824 <action function="page">main</action>
1825 </actions>
1826 </object>
1827
1828 <object type="action">
1829 <touch key="back" />
1830 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001831 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001832 <action function="page">backup</action>
1833 </actions>
1834 </object>
1835
1836 <object type="template" name="footer" />
1837 </page>
1838
Dees_Troy83bd4832013-05-04 12:39:56 +00001839 <page name="backupencryption">
1840 <object type="template" name="header" />
1841
1842 <object type="text" color="%text_color%">
1843 <font resource="font" />
1844 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1845 <text>Encrypt your backup? Please enter a password:</text>
1846 </object>
1847
1848 <object type="input">
1849 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1850 <background color="%input_background_color%" />
1851 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1852 <font resource="font" color="%text_color%" />
1853 <text>%tw_backup_encrypt_display%</text>
1854 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1855 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1856 <action function="page">backupencryption2</action>
1857 </object>
1858
1859 <object type="text" color="%text_fail_color%">
1860 <condition var1="tw_password_not_match" var2="1" />
1861 <font resource="font" />
1862 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1863 <text>Passwords Do Not Match</text>
1864 </object>
1865
1866 <object type="button">
1867 <highlight color="%highlight_color%" />
1868 <placement x="%col_center_x%" y="%cancel_button_y%" />
1869 <font resource="font" color="%button_text_color%" />
1870 <text>Cancel</text>
1871 <image resource="main_button" />
1872 <actions>
1873 <action function="set">tw_encrypt_backup=0</action>
1874 <action function="set">tw_backup_password=</action>
1875 <action function="set">tw_backup_password2=</action>
1876 <action function="set">tw_backup_encrypt_display=</action>
1877 <action function="set">tw_backup_encrypt_display2=</action>
1878 <action function="page">backup</action>
1879 </actions>
1880 </object>
1881
1882 <object type="template" name="keyboardtemplate" />
1883
1884 <object type="action">
1885 <touch key="home" />
1886 <action function="page">main</action>
1887 </object>
1888
1889 <object type="action">
1890 <touch key="back" />
1891 <action function="page">backup</action>
1892 </object>
1893
1894 <object type="template" name="footer" />
1895 </page>
1896
1897 <page name="backupencryption2">
1898 <object type="template" name="header" />
1899
1900 <object type="text" color="%text_color%">
1901 <font resource="font" />
1902 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1903 <text>Encrypt your backup? Please Enter Password Again:</text>
1904 </object>
1905
1906 <object type="input">
1907 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1908 <background color="%input_background_color%" />
1909 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1910 <font resource="font" color="%text_color%" />
1911 <text>%tw_backup_encrypt_display2%</text>
1912 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1913 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1914 <actions>
1915 <action function="page">checkbackuppassword</action>
1916 </actions>
1917 </object>
1918
1919 <object type="button">
1920 <highlight color="%highlight_color%" />
1921 <placement x="%col_center_x%" y="%cancel_button_y%" />
1922 <font resource="font" color="%button_text_color%" />
1923 <text>Cancel</text>
1924 <image resource="main_button" />
1925 <actions>
1926 <action function="set">tw_encrypt_backup=0</action>
1927 <action function="set">tw_backup_password=</action>
1928 <action function="set">tw_backup_password2=</action>
1929 <action function="set">tw_backup_encrypt_display=</action>
1930 <action function="set">tw_backup_encrypt_display2=</action>
1931 <action function="page">backup</action>
1932 </actions>
1933 </object>
1934
1935 <object type="template" name="keyboardtemplate" />
1936
1937 <object type="action">
1938 <touch key="home" />
1939 <action function="page">main</action>
1940 </object>
1941
1942 <object type="action">
1943 <touch key="back" />
1944 <action function="page">backup</action>
1945 </object>
1946
1947 <object type="template" name="footer" />
1948 </page>
1949
1950 <page name="checkbackuppassword">
1951 <object type="action">
1952 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1953 <actions>
1954 <action function="set">tw_encrypt_backup=1</action>
1955 <action function="page">backup</action>
1956 </actions>
1957 </object>
1958
1959 <object type="action">
1960 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1961 <actions>
1962 <action function="set">tw_encrypt_backup=0</action>
1963 <action function="set">tw_password_not_match=1</action>
1964 <action function="set">tw_backup_password=</action>
1965 <action function="set">tw_backup_password2=</action>
1966 <action function="set">tw_backup_encrypt_display=</action>
1967 <action function="set">tw_backup_encrypt_display2=</action>
1968 <action function="page">backupencryption</action>
1969 </actions>
1970 </object>
1971 </page>
1972
Dees_Troy51a0e822012-09-05 15:24:24 -04001973 <page name="backup_run">
1974 <object type="template" name="header" />
1975
1976 <object type="text" color="%text_color%">
1977 <font resource="font" />
1978 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1979 <text>%tw_operation% %tw_partition%</text>
1980 </object>
1981
1982 <object type="template" name="action_page_console" />
1983
1984 <object type="template" name="progress_bar" />
1985
1986 <object type="action">
1987 <action function="nandroid">backup</action>
1988 </object>
1989
1990 <object type="action">
1991 <condition var1="tw_operation_state" var2="1" />
1992 <actions>
1993 <action function="set">tw_back=backup</action>
1994 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001995 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001996 <action function="page">action_complete</action>
1997 </actions>
1998 </object>
1999
2000 <object type="template" name="footer" />
2001 </page>
2002
2003 <page name="restore">
2004 <object type="template" name="header" />
2005
2006 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002007 <highlight color="%highlight_color%" />
2008 <fill color="%button_fill_color%" />
2009 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2010 <font resource="font" color="%button_text_color%" />
2011 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2012 <actions>
2013 <action function="set">tw_back=restore</action>
2014 <action function="page">selectstorage</action>
2015 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002016 </object>
2017
2018 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002019 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002020 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2021 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002022 <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 -04002023 <text>Select Package to Restore:</text>
2024 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2025 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002026 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002027 <icon folder="folder_icon" file="file_icon" />
2028 <background color="%fileselector_background%" />
2029 <filter folders="1" files="0" nav="0" />
2030 <path name="tw_backups_folder" />
2031 <data name="tw_restore" default="" />
2032 <selection name="tw_restore_name" />
2033 </object>
2034
2035 <object type="template" name="sort_options" />
2036
2037 <object type="action">
2038 <condition var1="tw_restore" op="modified" />
2039 <actions>
2040 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002041 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002042 </actions>
2043 </object>
2044
2045 <object type="action">
2046 <touch key="home" />
2047 <action function="page">main</action>
2048 </object>
2049
2050 <object type="action">
2051 <touch key="back" />
2052 <action function="page">main</action>
2053 </object>
2054
2055 <object type="template" name="footer" />
2056 </page>
2057
Dees_Troy83bd4832013-05-04 12:39:56 +00002058 <page name="restore_read">
2059 <object type="action">
2060 <condition var1="tw_restore_encrypted" var2="1" />
2061 <actions>
2062 <action function="set">tw_password_fail=0</action>
2063 <action function="page">restore_decrypt</action>
2064 </actions>
2065 </object>
2066
2067 <object type="action">
2068 <condition var1="tw_restore_encrypted" var2="0" />
2069 <actions>
2070 <action function="page">restore_select</action>
2071 </actions>
2072 </object>
2073 </page>
2074
2075 <page name="restore_decrypt">
2076 <object type="template" name="header" />
2077
2078 <object type="text" color="%text_color%">
2079 <font resource="font" />
2080 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2081 <text>Backup encrypted. Please enter your password:</text>
2082 </object>
2083
2084 <object type="input">
2085 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2086 <background color="%input_background_color%" />
2087 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2088 <font resource="font" color="%text_color%" />
2089 <text>%tw_restore_display%</text>
2090 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2091 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2092 <actions>
2093 <action function="page">try_restore_decrypt</action>
2094 </actions>
2095 </object>
2096
2097 <object type="text" color="%text_fail_color%">
2098 <condition var1="tw_password_fail" var2="1" />
2099 <font resource="font" />
2100 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2101 <text>Password Failed, Please Try Again</text>
2102 </object>
2103
2104 <object type="button">
2105 <highlight color="%highlight_color%" />
2106 <placement x="%col2_x%" y="%cancel_button_y%" />
2107 <font resource="font" color="%button_text_color%" />
2108 <text>Cancel</text>
2109 <image resource="main_button" />
2110 <actions>
2111 <action function="set">tw_page_done=1</action>
2112 <action function="page">restore</action>
2113 </actions>
2114 </object>
2115
2116 <object type="button">
2117 <highlight color="%highlight_color%" />
2118 <placement x="%col3_x%" y="%cancel_button_y%" />
2119 <font resource="font" color="%button_text_color%" />
2120 <text>Delete</text>
2121 <image resource="main_button" />
2122 <actions>
2123 <action function="set">tw_back=restore</action>
2124 <action function="set">tw_action=cmd</action>
2125 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2126 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2127 <action function="set">tw_text2=This cannot be undone!</action>
2128 <action function="set">tw_action_text1=Deleting Backup...</action>
2129 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2130 <action function="set">tw_slider_text=Swipe to Delete</action>
2131 <action function="page">confirm_action</action>
2132 </actions>
2133 </object>
2134
2135 <object type="template" name="keyboardtemplate" />
2136
2137 <object type="action">
2138 <touch key="home" />
2139 <action function="page">main</action>
2140 </object>
2141
2142 <object type="action">
2143 <touch key="back" />
2144 <action function="page">restore</action>
2145 </object>
2146
2147 <object type="template" name="footer" />
2148 </page>
2149
2150 <page name="try_restore_decrypt">
2151 <object type="template" name="header" />
2152
2153 <object type="text" color="%text_color%">
2154 <font resource="font" />
2155 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2156 <text>Trying Decryption with Your Password</text>
2157 </object>
2158
2159 <object type="template" name="action_page_console" />
2160
2161 <object type="template" name="progress_bar" />
2162
2163 <object type="action">
2164 <action function="decrypt_backup"></action>
2165 </object>
2166
2167 <object type="action">
2168 <conditions>
2169 <condition var1="tw_operation_state" var2="1" />
2170 <condition var1="tw_operation_status" op="!=" var2="0" />
2171 </conditions>
2172 <actions>
2173 <action function="set">tw_password_fail=1</action>
2174 <action function="page">restore_decrypt</action>
2175 </actions>
2176 </object>
2177
2178 <object type="action">
2179 <conditions>
2180 <condition var1="tw_operation_state" var2="1" />
2181 <condition var1="tw_operation_status" op="=" var2="0" />
2182 </conditions>
2183 <actions>
2184 <action function="set">tw_page_done=1</action>
2185 <action function="page">restore_select</action>
2186 </actions>
2187 </object>
2188 </page>
2189
Dees_Troy51a0e822012-09-05 15:24:24 -04002190 <page name="restore_select">
2191 <object type="template" name="header" />
2192
2193 <object type="text" color="%text_color%">
2194 <font resource="font" />
2195 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2196 <text>Package to Restore: %tw_restore_name%</text>
2197 </object>
2198
2199 <object type="text" color="%text_color%">
2200 <font resource="font" />
2201 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2202 <text>Package Date: %tw_restore_file_date%</text>
2203 </object>
2204
Dees_Troya13d74f2013-03-24 08:54:55 -05002205 <object type="partitionlist">
2206 <highlight color="%fileselector_highlight_color%" />
2207 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2208 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2209 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2210 <text>Select Partitions to Restore:</text>
2211 <icon selected="checkbox_true" unselected="checkbox_false" />
2212 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2213 <background color="%listbox_background%" />
2214 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2215 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2216 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002217 </object>
2218
2219 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002220 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002221 <font resource="font" color="%text_color%" />
2222 <text>Enable MD5 checking of backup files</text>
2223 <data variable="tw_skip_md5_check" />
2224 <image checked="checkbox_true" unchecked="checkbox_false" />
2225 </object>
2226
2227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002228 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002229 <placement x="%col4_x%" y="%row1_y%" />
2230 <font resource="font" color="%button_text_color%" />
2231 <text>Rename Backup</text>
2232 <image resource="main_button" />
2233 <actions>
2234 <action function="set">tw_backup_rename=</action>
2235 <action function="set">tw_fileexists=0</action>
2236 <action function="page">renamebackup</action>
2237 </actions>
2238 </object>
2239
2240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002241 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002242 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002243 <font resource="font" color="%button_text_color%" />
2244 <text>Delete Backup</text>
2245 <image resource="main_button" />
2246 <actions>
2247 <action function="set">tw_back=restore</action>
2248 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002249 <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 -04002250 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2251 <action function="set">tw_text2=This cannot be undone!</action>
2252 <action function="set">tw_action_text1=Deleting Backup...</action>
2253 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2254 <action function="set">tw_slider_text=Swipe to Delete</action>
2255 <action function="page">confirm_action</action>
2256 </actions>
2257 </object>
2258
2259 <object type="slider">
2260 <placement x="%slider_x%" y="%slider_y%" />
2261 <resource base="slider" used="slider-used" touch="slider-touch" />
2262 <action function="page">restore_run</action>
2263 </object>
2264
2265 <object type="text" color="%text_color%">
2266 <font resource="font" />
2267 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2268 <text>Swipe to Restore</text>
2269 </object>
2270
2271 <object type="action">
2272 <touch key="home" />
2273 <action function="page">main</action>
2274 </object>
2275
2276 <object type="action">
2277 <touch key="back" />
2278 <action function="page">restore</action>
2279 </object>
2280
2281 <object type="template" name="footer" />
2282 </page>
2283
2284 <page name="renamebackup">
2285 <object type="template" name="header" />
2286
2287 <object type="text" color="%text_color%">
2288 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2289 <font resource="font" />
2290 <text>Please Enter a New Backup Name</text>
2291 </object>
2292
2293 <object type="input">
2294 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2295 <background color="%input_background_color%" />
2296 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2297 <font resource="font" color="%text_color%" />
2298 <text>%tw_backup_rename%</text>
2299 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002300 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002301 <actions>
2302 <action function="set">tw_back=restore</action>
2303 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002304 <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 -04002305 <action function="set">tw_text1=Rename Backup?</action>
2306 <action function="set">tw_text2=This cannot be undone!</action>
2307 <action function="set">tw_action_text1=Renaming Backup...</action>
2308 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2309 <action function="set">tw_slider_text=Swipe to Rename</action>
2310 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2311 <action function="set">tw_existpage=renamebackup</action>
2312 <action function="set">tw_notexistpage=confirm_action</action>
2313 <action function="page">filecheck</action>
2314 </actions>
2315 </object>
2316
2317 <object type="text" color="%text_fail_color%">
2318 <condition var1="tw_fileexists" var2="1" />
2319 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2320 <font resource="font" />
2321 <text>A backup with that name already exists!</text>
2322 </object>
2323
2324 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002325 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002326 <placement x="%col_center_x%" y="%cancel_button_y%" />
2327 <font resource="font" color="%button_text_color%" />
2328 <text>Cancel</text>
2329 <image resource="main_button" />
2330 <action function="page">restore_select</action>
2331 </object>
2332
2333 <object type="template" name="keyboardtemplate" />
2334
2335 <object type="action">
2336 <touch key="home" />
2337 <action function="page">main</action>
2338 </object>
2339
2340 <object type="action">
2341 <touch key="back" />
2342 <action function="page">restore_select</action>
2343 </object>
2344
2345 <object type="template" name="footer" />
2346 </page>
2347
2348 <page name="restore_run">
2349 <object type="template" name="header" />
2350
2351 <object type="text" color="%text_color%">
2352 <font resource="font" />
2353 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2354 <text>%tw_operation% %tw_partition%</text>
2355 </object>
2356
2357 <object type="template" name="action_page_console" />
2358
2359 <object type="template" name="progress_bar" />
2360
2361 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002362 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002363 <actions>
2364 <action function="set">tw_back=restore_select</action>
2365 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002366 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 <action function="page">action_complete</action>
2368 </actions>
2369 </object>
2370
2371 <object type="action">
2372 <action function="nandroid">restore</action>
2373 </object>
2374 </page>
2375
2376 <page name="settings">
2377 <object type="template" name="header" />
2378
2379 <object type="text" color="%text_color%">
2380 <font resource="font" />
2381 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2382 <text>Settings</text>
2383 </object>
2384
2385 <object type="checkbox">
2386 <placement x="%col1_x%" y="%row2_text_y%" />
2387 <font resource="font" color="%text_color%" />
2388 <text>Zip file signature verification?</text>
2389 <data variable="tw_signed_zip_verify" />
2390 <image checked="checkbox_true" unchecked="checkbox_false" />
2391 </object>
2392
2393 <object type="checkbox">
2394 <placement x="%col1_x%" y="%row3_text_y%" />
2395 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <text>Use rm -rf instead of formatting?</text>
2397 <data variable="tw_rm_rf" />
2398 <image checked="checkbox_true" unchecked="checkbox_false" />
2399 </object>
2400
2401 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002402 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <font resource="font" color="%text_color%" />
2404 <text>Skip MD5 generation on backups</text>
2405 <data variable="tw_skip_md5_generate" />
2406 <image checked="checkbox_true" unchecked="checkbox_false" />
2407 </object>
2408
2409 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002410 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <font resource="font" color="%text_color%" />
2412 <text>Enable MD5 checking of backup files</text>
2413 <data variable="tw_skip_md5_check" />
2414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002418 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002420 <text>Use Military Time</text>
2421 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <image checked="checkbox_true" unchecked="checkbox_false" />
2423 </object>
2424
2425 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002426 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <font resource="font" color="%text_color%" />
2428 <text>Simulate most actions for theme testing</text>
2429 <data variable="tw_simulate_actions" />
2430 <image checked="checkbox_true" unchecked="checkbox_false" />
2431 </object>
2432
2433 <object type="checkbox">
2434 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002435 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <font resource="font" color="%text_color%" />
2437 <text>Simulate failure for actions</text>
2438 <data variable="tw_simulate_fail" />
2439 <image checked="checkbox_true" unchecked="checkbox_false" />
2440 </object>
2441
2442 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002443 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002444 <placement x="%col1_x%" y="%row2_y%" />
2445 <font resource="font" color="%button_text_color%" />
2446 <text>Time Zone</text>
2447 <image resource="main_button" />
2448 <action function="page">timezone</action>
2449 </object>
2450
2451 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002452 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002453 <placement x="%col2_x%" y="%row2_y%" />
2454 <font resource="font" color="%button_text_color%" />
2455 <text>Restore Defaults</text>
2456 <image resource="main_button" />
2457 <action function="restoredefaultsettings"></action>
2458 </object>
2459
2460 <object type="button">
2461 <highlight color="%highlight_color%" />
2462 <placement x="%col3_x%" y="%row2_y%" />
2463 <font resource="font" color="%button_text_color%" />
2464 <text>Vibration Duration</text>
2465 <image resource="main_button" />
2466 <action function="page">Vibrate</action>
2467 </object>
2468
2469 <object type="button">
2470 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002471 <placement x="%col4_x%" y="%row2_y%" />
2472 <font resource="font" color="%button_text_color%" />
2473 <text>Screen</text>
2474 <image resource="main_button" />
2475 <action function="page">screen</action>
2476 </object>
2477
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <object type="action">
2479 <touch key="home" />
2480 <action function="page">main</action>
2481 </object>
2482
2483 <object type="action">
2484 <touch key="back" />
2485 <action function="page">main</action>
2486 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002487
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <object type="template" name="footer" />
2489 </page>
2490
2491 <page name="timezone">
2492 <object type="template" name="header" />
2493
2494 <object type="text" color="%text_color%">
2495 <font resource="font" />
2496 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2497 <text>Select Time Zone</text>
2498 </object>
2499
2500 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002501 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002502 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002503 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002504 <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 -06002505 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002507 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002509 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002510 <data name="tw_time_zone_guisel" />
2511 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2512 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2513 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2514 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2515 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2516 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2517 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2518 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2519 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2520 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2521 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2522 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2523 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2524 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2525 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2526 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2527 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2528 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2529 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2530 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2531 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2532 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2533 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2534 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2535 </object>
2536
2537 <object type="checkbox">
2538 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2539 <font resource="font" color="%text_color%" />
2540 <text>Do you use daylight savings time (DST)?</text>
2541 <data variable="tw_time_zone_guidst" />
2542 <image checked="checkbox_true" unchecked="checkbox_false" />
2543 </object>
2544
2545 <object type="text" color="%text_color%">
2546 <font resource="font" />
2547 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2548 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2549 </object>
2550
2551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002552 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>0</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_time_zone_guioffset=0</action>
2558 </object>
2559
2560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002562 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>15</text>
2565 <image resource="medium_button" />
2566 <action function="set">tw_time_zone_guioffset=15</action>
2567 </object>
2568
2569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>30</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=30</action>
2576 </object>
2577
2578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002579 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002580 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>45</text>
2583 <image resource="medium_button" />
2584 <action function="set">tw_time_zone_guioffset=45</action>
2585 </object>
2586
2587 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002588 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002589 <placement x="%col4_x%" y="%row2_y%" />
2590 <font resource="font" color="%button_text_color%" />
2591 <text>Set Time Zone</text>
2592 <image resource="main_button" />
2593 <action function="setguitimezone"></action>
2594 </object>
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2599 <text>Current Time Zone: %tw_time_zone%</text>
2600 </object>
2601
2602 <object type="action">
2603 <touch key="home" />
2604 <action function="page">main</action>
2605 </object>
2606
2607 <object type="action">
2608 <touch key="back" />
2609 <action function="page">settings</action>
2610 </object>
2611
2612 <object type="template" name="footer" />
2613 </page>
2614
Dees_Troy2f9117a2013-02-17 19:52:09 -06002615 <page name="screen">
2616 <object type="template" name="header" />
2617
2618 <object type="text" color="%text_color%">
2619 <font resource="font" />
2620 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2621 <text>Screen Settings</text>
2622 </object>
2623
Dees_Troy2f9117a2013-02-17 19:52:09 -06002624 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2626 <font resource="font" color="%text_color%" />
2627 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002628 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002629 <text>Enable screen timeout.</text>
2630 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 <action function="set">tw_screen_timeout_secs=60</action>
2632 </object>
2633
2634 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2636 <font resource="font" color="%text_color%" />
2637 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002638 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002639 <text>Enable screen timeout.</text>
2640 <image resource="checkbox_true" />
2641 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002642 </object>
2643
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <object type="slidervalue">
2645 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002646 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002647 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2648 <font resource="font" color="%text_color%" />
2649 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2650 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2651 <text>Screen timeout in seconds:</text>
2652 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002653 </object>
2654
Vojtech Bocek85932342013-04-01 22:11:33 +02002655 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002656 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002657 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2658 <font resource="font" color="%text_color%" />
2659 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2660 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2661 <text>Brightness: %tw_brightness_pct%%</text>
2662 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002663 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002664 <action function="set">tw_brightness=%tw_brightness_max%</action>
2665 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2666 <action function="compute">tw_brightness/100</action>
2667 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002668 </actions>
2669 </object>
2670
2671 <object type="action">
2672 <touch key="home" />
2673 <action function="page">main</action>
2674 </object>
2675
2676 <object type="action">
2677 <touch key="back" />
2678 <action function="page">settings</action>
2679 </object>
2680
2681 <object type="template" name="footer" />
2682 </page>
2683
Ethan Yonker03db3262014-02-05 08:02:06 -06002684 <page name="Vibrate">
2685 <object type="template" name="header" />
2686
2687 <object type="text" color="%text_color%">
2688 <font resource="font" />
2689 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2690 <text>Vibration Settings :</text>
2691 </object>
2692
2693 <object type="slidervalue">
2694 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2695 <font resource="font" color="%text_color%" />
2696 <text>Button Vibration:</text>
2697 <data variable="tw_button_vibrate" min="0" max="300" />
2698 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2699 </object>
2700
2701 <object type="slidervalue">
2702 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2703 <font resource="font" color="%text_color%" />
2704 <text>Keyboard Vibration:</text>
2705 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2706 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2707 </object>
2708
2709 <object type="slidervalue">
2710 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2711 <font resource="font" color="%text_color%" />
2712 <text>Action Vibration:</text>
2713 <data variable="tw_action_vibrate" min="0" max="500" />
2714 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2715 </object>
2716
2717 <object type="action">
2718 <touch key="home" />
2719 <action function="page">main</action>
2720 </object>
2721
2722 <object type="action">
2723 <touch key="back" />
2724 <action function="page">settings</action>
2725 </object>
2726
2727 <object type="template" name="footer" />
2728 </page>
2729
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <page name="advanced">
2731 <object type="template" name="header" />
2732
2733 <object type="text" color="%text_color%">
2734 <font resource="font" />
2735 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2736 <text>Advanced</text>
2737 </object>
2738
2739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002741 <placement x="%col1_x%" y="%row1_y%" />
2742 <font resource="font" color="%button_text_color%" />
2743 <text>Copy Log to SD</text>
2744 <image resource="main_button" />
2745 <actions>
2746 <action function="set">tw_back=advanced</action>
2747 <action function="set">tw_action=copylog</action>
2748 <action function="set">tw_text1=Copy Log to SD Card?</action>
2749 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2750 <action function="set">tw_complete_text1=Log Copy Complete</action>
2751 <action function="set">tw_slider_text=Swipe to Confirm</action>
2752 <action function="page">confirm_action</action>
2753 </actions>
2754 </object>
2755
2756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <placement x="%col2_x%" y="%row1_y%" />
2759 <font resource="font" color="%button_text_color%" />
2760 <text>Fix Permissions</text>
2761 <image resource="main_button" />
2762 <actions>
2763 <action function="set">tw_back=advanced</action>
2764 <action function="set">tw_action=fixpermissions</action>
2765 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2768 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002769 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <action function="page">confirm_action</action>
2771 </actions>
2772 </object>
2773
2774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <placement x="%col3_x%" y="%row1_y%" />
2777 <font resource="font" color="%button_text_color%" />
2778 <text>Terminal Command</text>
2779 <image resource="main_button" />
2780 <action function="page">terminalfolder</action>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002785 <placement x="%col4_x%" y="%row1_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>ADB Sideload</text>
2788 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002789 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <condition var1="tw_allow_partition_sdcard" var2="1" />
2795 <placement x="%col1_x%" y="%row2_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Partition SD Card</text>
2798 <image resource="main_button" />
2799 <action function="page">partsdcard</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <placement x="%col2_x%" y="%row2_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>File Manager</text>
2807 <image resource="main_button" />
2808 <action function="page">filemanagerlist</action>
2809 </object>
2810
2811 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002812 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002813 <placement x="%col3_x%" y="%row2_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>Reload Theme</text>
2816 <image resource="main_button" />
2817 <action function="reload"></action>
2818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <condition var1="tw_show_dumlock" var2="1" />
2823 <placement x="%col4_x%" y="%row2_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>HTC Dumlock</text>
2826 <image resource="main_button" />
2827 <action function="page">htcdumlock</action>
2828 </object>
2829
2830 <object type="action">
2831 <touch key="home" />
2832 <action function="page">main</action>
2833 </object>
2834
2835 <object type="action">
2836 <touch key="back" />
2837 <action function="page">main</action>
2838 </object>
2839
2840 <object type="template" name="footer" />
2841 </page>
2842
2843 <page name="partsdcard">
2844 <object type="template" name="header" />
2845
2846 <object type="text" color="%text_color%">
2847 <font resource="font" />
2848 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2849 <text>Partition SD Card</text>
2850 </object>
2851
2852 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002853 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002854 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2855 <font resource="font" color="%button_text_color%" />
2856 <text></text>
2857 <image resource="minus_button" />
2858 <action function="addsubtract">tw_sdext_size-128</action>
2859 </object>
2860
2861 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002862 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002863 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2864 <font resource="font" color="%button_text_color%" />
2865 <text></text>
2866 <image resource="plus_button" />
2867 <action function="addsubtract">tw_sdext_size+128</action>
2868 </object>
2869
2870 <object type="text" color="%text_color%">
2871 <font resource="font" />
2872 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2873 <text>EXT Size: %tw_sdext_size%</text>
2874 </object>
2875
2876 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002877 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002878 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2879 <font resource="font" color="%button_text_color%" />
2880 <text></text>
2881 <image resource="minus_button" />
2882 <action function="addsubtract">tw_swap_size-32</action>
2883 </object>
2884
2885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002886 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text></text>
2890 <image resource="plus_button" />
2891 <action function="addsubtract">tw_swap_size+32</action>
2892 </object>
2893
2894 <object type="text" color="%text_color%">
2895 <font resource="font" />
2896 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2897 <text>Swap Size: %tw_swap_size%</text>
2898 </object>
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
2902 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2903 <text>File system: %tw_sdpart_file_system%</text>
2904 </object>
2905
2906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002907 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2909 <font resource="font" color="%button_text_color%" />
2910 <text>EXT3</text>
2911 <image resource="medium_button" />
2912 <action function="set">tw_sdpart_file_system=ext3</action>
2913 </object>
2914
2915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002916 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002917 <condition var1="tw_sdext_disable_ext4" var2="0" />
2918 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2919 <font resource="font" color="%button_text_color%" />
2920 <text>EXT4</text>
2921 <image resource="medium_button" />
2922 <action function="set">tw_sdpart_file_system=ext4</action>
2923 </object>
2924
2925 <object type="text" color="%text_color%">
2926 <font resource="font" />
2927 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2928 <text>You will lose all files on your SD card!</text>
2929 </object>
2930
2931 <object type="text" color="%text_color%">
2932 <font resource="font" />
2933 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2934 <text>This action cannot be undone!</text>
2935 </object>
2936
2937 <object type="slider">
2938 <placement x="%slider_x%" y="%slider_y%" />
2939 <resource base="slider" used="slider-used" touch="slider-touch" />
2940 <actions>
2941 <action function="set">tw_back=partsdcard</action>
2942 <action function="set">tw_action=partitionsd</action>
2943 <action function="set">tw_has_action2=1</action>
2944 <action function="set">tw_action2=set</action>
2945 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2946 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2947 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002948 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002949 <action function="page">action_page</action>
2950 </actions>
2951 </object>
2952
2953 <object type="text" color="%text_color%">
2954 <font resource="font" />
2955 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2956 <text>Swipe to Confirm Partition</text>
2957 </object>
2958
2959 <object type="action">
2960 <touch key="home" />
2961 <action function="page">main</action>
2962 </object>
2963
2964 <object type="action">
2965 <touch key="back" />
2966 <action function="page">advanced</action>
2967 </object>
2968
2969 <object type="template" name="footer" />
2970 </page>
2971
2972
2973 <page name="htcdumlock">
2974 <object type="template" name="header" />
2975
2976 <object type="text" color="%text_color%">
2977 <font resource="font" />
2978 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2979 <text>HTC Dumlock</text>
2980 </object>
2981
2982 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002983 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002984 <condition var1="tw_show_dumlock" var2="1" />
2985 <placement x="%col1_x%" y="%row1_y%" />
2986 <font resource="font" color="%button_text_color%" />
2987 <text>Restore Original Boot</text>
2988 <image resource="main_button" />
2989 <actions>
2990 <action function="set">tw_back=htcdumlock</action>
2991 <action function="set">tw_action=htcdumlockrestoreboot</action>
2992 <action function="set">tw_text1=Restore original boot image?</action>
2993 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2994 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2995 <action function="set">tw_slider_text=Swipe to Confirm</action>
2996 <action function="page">confirm_action</action>
2997 </actions>
2998 </object>
2999
3000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003001 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003002 <condition var1="tw_show_dumlock" var2="1" />
3003 <placement x="%col2_x%" y="%row1_y%" />
3004 <font resource="font" color="%button_text_color%" />
3005 <text>Reflash Recovery->Boot</text>
3006 <image resource="main_button" />
3007 <actions>
3008 <action function="set">tw_back=htcdumlock</action>
3009 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3010 <action function="set">tw_text1=Reflash recovery to boot?</action>
3011 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3012 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3013 <action function="set">tw_slider_text=Swipe to Confirm</action>
3014 <action function="page">confirm_action</action>
3015 </actions>
3016 </object>
3017
3018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003019 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003020 <condition var1="tw_show_dumlock" var2="1" />
3021 <placement x="%col1_x%" y="%row2_y%" />
3022 <font resource="font" color="%button_text_color%" />
3023 <text>Install HTC Dumlock</text>
3024 <image resource="main_button" />
3025 <actions>
3026 <action function="set">tw_back=htcdumlock</action>
3027 <action function="set">tw_action=installhtcdumlock</action>
3028 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3029 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3030 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3031 <action function="set">tw_slider_text=Swipe to Confirm</action>
3032 <action function="page">confirm_action</action>
3033 </actions>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="home" />
3038 <action function="page">main</action>
3039 </object>
3040
3041 <object type="action">
3042 <touch key="back" />
3043 <action function="page">advanced</action>
3044 </object>
3045
3046 <object type="template" name="footer" />
3047 </page>
3048
3049 <page name="lock">
3050 <background color="#000000A0" />
3051
3052 <object type="image">
3053 <image resource="unlock-icon" />
3054 <placement x="%lock_x%" y="%lock_y%" />
3055 </object>
3056
3057 <object type="slider">
3058 <placement x="%slider_x%" y="%slider_y%" />
3059 <resource base="slider" used="slider-used" touch="slider-touch" />
3060 <action function="overlay"></action>
3061 </object>
3062
3063 <object type="text" color="%text_color%">
3064 <font resource="font" />
3065 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3066 <text>Swipe to Unlock</text>
3067 </object>
3068 </page>
3069
3070
3071 <page name="filemanagerlist">
3072 <object type="template" name="header" />
3073
3074 <object type="text" color="%text_color%">
3075 <font resource="font" />
3076 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3077 <text>File Manager: Select a File or Folder</text>
3078 </object>
3079
3080 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003081 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003082 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3083 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003084 <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 -04003085 <text>Folders:</text>
3086 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3087 <sort name="tw_gui_sort_order" />
3088 <icon folder="folder_icon" file="file_icon" />
3089 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003090 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003091 <filter folders="1" files="0" />
3092 <path name="tw_file_location1" default="/sdcard" />
3093 <data name="select" />
3094 <selection name="tw_selection1" />
3095 </object>
3096
3097 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003098 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003099 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3100 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003101 <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 -04003102 <text>%tw_file_location1%</text>
3103 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3104 <sort name="tw_gui_sort_order" />
3105 <icon folder="folder_icon" file="file_icon" />
3106 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003107 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003108 <filter folders="0" files="1" />
3109 <path name="tw_file_location1" default="/" />
3110 <data name="tw_filename1" />
3111 <selection name="tw_selection1" />
3112 </object>
3113
3114 <object type="template" name="sort_options" />
3115
3116 <object type="action">
3117 <actions>
3118 <action function="set">tw_fm_type=File</action>
3119 <action function="set">tw_fm_isfolder=0</action>
3120 </actions>
3121 </object>
3122
3123 <object type="action">
3124 <touch key="home" />
3125 <action function="page">main</action>
3126 </object>
3127
3128 <object type="action">
3129 <touch key="back" />
3130 <action function="page">advanced</action>
3131 </object>
3132
3133 <object type="action">
3134 <condition var1="tw_filename1" op="modified" />
3135 <actions>
3136 <action function="page">filemanageroptions</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>Select Folder</text>
3145 <image resource="main_button" />
3146 <actions>
3147 <action function="set">tw_filename1=tw_file_location1</action>
3148 <action function="set">tw_fm_isfolder=1</action>
3149 <action function="set">tw_fm_type=Folder</action>
3150 <action function="page">filemanageroptions</action>
3151 </actions>
3152 </object>
3153
3154 <object type="template" name="footer" />
3155 </page>
3156
3157 <page name="filemanageroptions">
3158 <object type="template" name="header" />
3159
3160 <object type="text" color="%text_color%">
3161 <font resource="font" />
3162 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3163 <text>%tw_fm_type% Selected:</text>
3164 </object>
3165
3166 <object type="text" color="%text_color%">
3167 <font resource="font" />
3168 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3169 <text>%tw_filename1%</text>
3170 </object>
3171
3172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003173 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003174 <condition var1="tw_fm_isfolder" var2="0" />
3175 <placement x="%col1_x%" y="%row2_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Copy File</text>
3178 <image resource="main_button" />
3179 <actions>
3180 <action function="set">tw_filemanager_command=cp</action>
3181 <action function="set">tw_fm_text1=Copying</action>
3182 <action function="page">choosedestinationfolder</action>
3183 </actions>
3184 </object>
3185
3186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003188 <condition var1="tw_fm_isfolder" var2="1" />
3189 <placement x="%col1_x%" y="%row2_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Copy Folder</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3195 <action function="set">tw_fm_text1=Copying</action>
3196 <action function="page">choosedestinationfolder</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <placement x="%col2_x%" y="%row2_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Move</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=mv</action>
3208 <action function="set">tw_fm_text1=Moving</action>
3209 <action function="page">choosedestinationfolder</action>
3210 </actions>
3211 </object>
3212
3213 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003214 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003215 <placement x="%col3_x%" y="%row2_y%" />
3216 <font resource="font" color="%button_text_color%" />
3217 <text>chmod 755</text>
3218 <image resource="main_button" />
3219 <actions>
3220 <action function="set">tw_filemanager_command=chmod 755</action>
3221 <action function="set">tw_fm_text1=chmod 755</action>
3222 <action function="set">tw_fm_text2=</action>
3223 <action function="set">tw_fm_text3=</action>
3224 <action function="set">tw_include_text3=0</action>
3225 <action function="set">tw_back=filemanageroptions</action>
3226 <action function="page">filemanagerconfirm</action>
3227 </actions>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%col4_x%" y="%row2_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text>chmod</text>
3235 <image resource="main_button" />
3236 <actions>
3237 <action function="set">tw_filemanager_rename=0000</action>
3238 <action function="set">tw_fm_text2=</action>
3239 <action function="set">tw_fm_text3=</action>
3240 <action function="set">tw_include_text3=0</action>
3241 <action function="set">tw_back=filemanageroptions</action>
3242 <action function="page">filemanagerchmod</action>
3243 </actions>
3244 </object>
3245
3246 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003247 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003248 <placement x="%col1_x%" y="%row1_y%" />
3249 <font resource="font" color="%button_text_color%" />
3250 <text>Delete</text>
3251 <image resource="main_button" />
3252 <actions>
3253 <action function="set">tw_filemanager_command=rm -rf</action>
3254 <action function="set">tw_fm_text1=Deleting</action>
3255 <action function="set">tw_fm_text2=</action>
3256 <action function="set">tw_fm_text3=</action>
3257 <action function="set">tw_include_text3=0</action>
3258 <action function="set">tw_back=filemanageroptions</action>
3259 <action function="page">filemanagerconfirm</action>
3260 </actions>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <condition var1="tw_fm_isfolder" var2="0" />
3266 <placement x="%col4_x%" y="%row1_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>Rename File</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_filemanager_rename=tw_selection1</action>
3272 <action function="set">tw_fm_text1=Renaming</action>
3273 <action function="set">tw_filemanager_command=mv</action>
3274 <action function="page">filemanagerrenamefile</action>
3275 </actions>
3276 </object>
3277
3278 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003279 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003280 <condition var1="tw_fm_isfolder" var2="1" />
3281 <placement x="%col4_x%" y="%row1_y%" />
3282 <font resource="font" color="%button_text_color%" />
3283 <text>Rename Folder</text>
3284 <image resource="main_button" />
3285 <actions>
3286 <action function="set">tw_filemanager_rename=tw_selection1</action>
3287 <action function="set">tw_fm_text1=Renaming</action>
3288 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3289 <action function="page">filemanagerrenamefolder</action>
3290 </actions>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="home" />
3295 <action function="page">main</action>
3296 </object>
3297
3298 <object type="action">
3299 <touch key="back" />
3300 <action function="page">filemanagerlist</action>
3301 </object>
3302
3303 <object type="template" name="footer" />
3304 </page>
3305
3306 <page name="choosedestinationfolder">
3307 <object type="template" name="header" />
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3312 <text>Browse to Destination Folder & Press Select</text>
3313 </object>
3314
3315 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003316 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003317 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3318 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003319 <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 -04003320 <text>%tw_file_location2%</text>
3321 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3322 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003323 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <icon folder="folder_icon" file="file_icon" />
3325 <background color="%fileselector_background%" />
3326 <filter folders="1" files="0" />
3327 <path name="tw_file_location2" default="/sdcard" />
3328 <data name="tw_filename2" />
3329 </object>
3330
3331 <object type="template" name="sort_options" />
3332
3333 <object type="action">
3334 <touch key="home" />
3335 <action function="page">main</action>
3336 </object>
3337
3338 <object type="action">
3339 <touch key="back" />
3340 <action function="page">filemanageroptions</action>
3341 </object>
3342
3343 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003344 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003345 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3346 <font resource="font" color="%button_text_color%" />
3347 <text>Select Folder</text>
3348 <image resource="main_button" />
3349 <actions>
3350 <action function="set">tw_fm_text2=to</action>
3351 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3352 <action function="set">tw_include_text3=1</action>
3353 <action function="set">tw_back=filemanageroptions</action>
3354 <action function="page">filemanagerconfirm</action>
3355 </actions>
3356 </object>
3357
3358 <object type="template" name="footer" />
3359 </page>
3360
3361 <page name="filemanagerrenamefile">
3362 <object type="template" name="header" />
3363
3364 <object type="text" color="%text_color%">
3365 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3366 <font resource="font" />
3367 <text>Please Enter a New %tw_fm_type% Name</text>
3368 </object>
3369
3370 <object type="input">
3371 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3372 <background color="%input_background_color%" />
3373 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3374 <font resource="font" color="%text_color%" />
3375 <text>%tw_filemanager_rename%</text>
3376 <data name="tw_filemanager_rename" />
3377 <restrict minlen="1" maxlen="128" />
3378 <actions>
3379 <action function="set">tw_fm_text2=to</action>
3380 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3381 <action function="set">tw_include_text3=1</action>
3382 <action function="set">tw_back=filemanageroptions</action>
3383 <action function="page">filemanagerconfirm</action>
3384 </actions>
3385 </object>
3386
3387 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003388 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003389 <placement x="%col_center_x%" y="%cancel_button_y%" />
3390 <font resource="font" color="%button_text_color%" />
3391 <text>Cancel</text>
3392 <image resource="main_button" />
3393 <action function="page">filemanageroptions</action>
3394 </object>
3395
3396 <object type="template" name="keyboardtemplate" />
3397
3398 <object type="action">
3399 <touch key="home" />
3400 <action function="page">main</action>
3401 </object>
3402
3403 <object type="action">
3404 <touch key="back" />
3405 <action function="page">filemanageroptions</action>
3406 </object>
3407
3408 <object type="template" name="footer" />
3409 </page>
3410
3411 <page name="filemanagerrenamefolder">
3412 <object type="template" name="header" />
3413
3414 <object type="text" color="%text_color%">
3415 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3416 <font resource="font" />
3417 <text>Please Enter a New %tw_fm_type% Name</text>
3418 </object>
3419
3420 <object type="input">
3421 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3422 <background color="%input_background_color%" />
3423 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3424 <font resource="font" color="%text_color%" />
3425 <text>%tw_filemanager_rename%</text>
3426 <data name="tw_filemanager_rename" />
3427 <restrict minlen="1" maxlen="128" />
3428 <actions>
3429 <action function="set">tw_fm_text2=to</action>
3430 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3431 <action function="set">tw_include_text3=1</action>
3432 <action function="set">tw_back=filemanageroptions</action>
3433 <action function="page">filemanagerconfirm</action>
3434 </actions>
3435 </object>
3436
3437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003439 <placement x="%col_center_x%" y="%cancel_button_y%" />
3440 <font resource="font" color="%button_text_color%" />
3441 <text>Cancel</text>
3442 <image resource="main_button" />
3443 <action function="page">filemanageroptions</action>
3444 </object>
3445
3446 <object type="template" name="keyboardtemplate" />
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">filemanageroptions</action>
3456 </object>
3457
3458 <object type="template" name="footer" />
3459 </page>
3460
3461 <page name="filemanagerchmod">
3462 <object type="template" name="header" />
3463
3464 <object type="text" color="%text_color%">
3465 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3466 <font resource="font" />
3467 <text>Please Enter New Permissions</text>
3468 </object>
3469
3470 <object type="input">
3471 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3472 <background color="%input_background_color%" />
3473 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3474 <font resource="font" color="%text_color%" />
3475 <text>%tw_filemanager_rename%</text>
3476 <data name="tw_filemanager_rename" />
3477 <restrict minlen="3" maxlen="4" allow="0123456789" />
3478 <actions>
3479 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3480 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3481 <action function="set">tw_back=filemanageroptions</action>
3482 <action function="page">filemanagerconfirm</action>
3483 </actions>
3484 </object>
3485
3486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003487 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003488 <placement x="%col_center_x%" y="%cancel_button_y%" />
3489 <font resource="font" color="%button_text_color%" />
3490 <text>Cancel</text>
3491 <image resource="main_button" />
3492 <action function="page">filemanageroptions</action>
3493 </object>
3494
3495 <object type="template" name="keyboardtemplate" />
3496
3497 <object type="action">
3498 <touch key="home" />
3499 <action function="page">main</action>
3500 </object>
3501
3502 <object type="action">
3503 <touch key="back" />
3504 <action function="page">filemanageroptions</action>
3505 </object>
3506
3507 <object type="template" name="footer" />
3508 </page>
3509
3510 <page name="filemanagerconfirm">
3511 <object type="template" name="header" />
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3516 <text>%tw_fm_text1%</text>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3522 <text>%tw_filename1%</text>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3528 <text>%tw_fm_text2%</text>
3529 </object>
3530
3531 <object type="text" color="%text_color%">
3532 <font resource="font" />
3533 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3534 <text>%tw_fm_text3%</text>
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3540 <text>Press back button to cancel.</text>
3541 </object>
3542
3543 <object type="slider">
3544 <placement x="%slider_x%" y="%slider_y%" />
3545 <resource base="slider" used="slider-used" touch="slider-touch" />
3546 <action function="page">filemanageracction</action>
3547 </object>
3548
3549 <object type="text" color="%text_color%">
3550 <font resource="font" />
3551 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3552 <text>Swipe to Confirm</text>
3553 </object>
3554
3555 <object type="action">
3556 <touch key="back" />
3557 <action function="page">%tw_back%</action>
3558 </object>
3559
3560 <object type="action">
3561 <touch key="home" />
3562 <action function="page">main</action>
3563 </object>
3564
3565 <object type="template" name="footer" />
3566 </page>
3567
3568 <page name="filemanageracction">
3569 <object type="template" name="header" />
3570
3571 <object type="text" color="%text_color%">
3572 <font resource="font" />
3573 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3574 <text>%tw_fm_text1%</text>
3575 </object>
3576
3577 <object type="template" name="action_page_console" />
3578
3579 <object type="template" name="progress_bar" />
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" var2="0" />
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_back=filemanagerlist</action>
3588 <action function="set">tw_complete_text1=File Operation Complete</action>
3589 <action function="page">action_complete</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <conditions>
3595 <condition var1="tw_operation_state" var2="1" />
3596 <condition var1="tw_operation_status" op="!=" var2="0" />
3597 </conditions>
3598 <actions>
3599 <action function="set">tw_complete_text1=File Operation Complete</action>
3600 <action function="page">action_complete</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <condition var1="tw_include_text3" var2="0" />
3606 <actions>
3607 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3608 </actions>
3609 </object>
3610
3611 <object type="action">
3612 <condition var1="tw_include_text3" var2="1" />
3613 <actions>
3614 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3615 </actions>
3616 </object>
3617 </page>
3618
3619 <page name="decrypt">
3620 <object type="template" name="header" />
3621
3622 <object type="text" color="%text_color%">
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3625 <text>Please Enter Your Password</text>
3626 </object>
3627
3628 <object type="input">
3629 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3630 <background color="%input_background_color%" />
3631 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3632 <font resource="font" color="%text_color%" />
3633 <text>%tw_crypto_display%</text>
3634 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3635 <restrict minlen="1" maxlen="254" />
3636 <actions>
3637 <action function="page">trydecrypt</action>
3638 </actions>
3639 </object>
3640
3641 <object type="text" color="%text_fail_color%">
3642 <condition var1="tw_password_fail" var2="1" />
3643 <font resource="font" />
3644 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3645 <text>Password Failed, Please Try Again</text>
3646 </object>
3647
3648 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003649 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003650 <placement x="%col_center_x%" y="%cancel_button_y%" />
3651 <font resource="font" color="%button_text_color%" />
3652 <text>Cancel</text>
3653 <image resource="main_button" />
3654 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003655 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003656 <action function="page">main</action>
3657 </actions>
3658 </object>
3659
3660 <object type="template" name="keyboardtemplate" />
3661
Dees_Troy51a0e822012-09-05 15:24:24 -04003662 <object type="template" name="footer" />
3663 </page>
3664
3665 <page name="trydecrypt">
3666 <object type="template" name="header" />
3667
3668 <object type="text" color="%text_color%">
3669 <font resource="font" />
3670 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3671 <text>Trying Decryption with Your Password</text>
3672 </object>
3673
3674 <object type="template" name="action_page_console" />
3675
3676 <object type="template" name="progress_bar" />
3677
3678 <object type="action">
3679 <action function="decrypt"></action>
3680 </object>
3681
3682 <object type="action">
3683 <conditions>
3684 <condition var1="tw_operation_state" var2="1" />
3685 <condition var1="tw_operation_status" op="!=" var2="0" />
3686 </conditions>
3687 <actions>
3688 <action function="set">tw_password_fail=1</action>
3689 <action function="page">decrypt</action>
3690 </actions>
3691 </object>
3692
3693 <object type="action">
3694 <conditions>
3695 <condition var1="tw_operation_state" var2="1" />
3696 <condition var1="tw_operation_status" op="=" var2="0" />
3697 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003698 <actions>
3699 <action function="set">tw_page_done=1</action>
3700 <action function="page">main</action>
3701 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003702 </object>
3703 </page>
3704
3705 <page name="terminalfolder">
3706 <object type="template" name="header" />
3707
3708 <object type="text" color="%text_color%">
3709 <font resource="font" />
3710 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3711 <text>Browse to Starting Folder</text>
3712 </object>
3713
3714 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003715 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3717 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003718 <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 -04003719 <text>%tw_terminal_location%</text>
3720 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3721 <sort name="tw_gui_sort_order" />
3722 <icon folder="folder_icon" file="file_icon" />
3723 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003724 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003725 <filter folders="1" files="0" />
3726 <path name="tw_terminal_location" default="/" />
3727 <data name="tw_terminal" />
3728 <selection name="tw_terminal_selection" />
3729 </object>
3730
3731 <object type="template" name="sort_options" />
3732
3733 <object type="action">
3734 <touch key="home" />
3735 <action function="page">main</action>
3736 </object>
3737
3738 <object type="action">
3739 <touch key="back" />
3740 <action function="page">advanced</action>
3741 </object>
3742
3743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3746 <font resource="font" color="%button_text_color%" />
3747 <text>Select Folder</text>
3748 <image resource="main_button" />
3749 <actions>
3750 <action function="page">terminalcommand</action>
3751 </actions>
3752 </object>
3753
3754 <object type="template" name="footer" />
3755 </page>
3756
3757 <page name="terminalcommand">
3758 <background color="#000000FF" />
3759
3760 <object type="console">
3761 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3762 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3763 <font resource="fixed" />
3764 </object>
3765
3766 <object type="text" color="%text_color%">
3767 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3768 <font resource="font" />
3769 <text>Starting Path: %tw_terminal_location%</text>
3770 </object>
3771
3772 <object type="input">
3773 <condition var1="tw_terminal_state" var2="0" />
3774 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3775 <background color="%input_background_color%" />
3776 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3777 <font resource="font" color="%text_color%" />
3778 <text>%tw_terminal_command%</text>
3779 <data name="tw_terminal_command" />
3780 <restrict minlen="1" />
3781 <action function="terminalcommand">%tw_terminal_command%</action>
3782 </object>
3783
3784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003786 <condition var1="tw_terminal_state" var2="1" />
3787 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3788 <font resource="font" color="%button_text_color%" />
3789 <text>KILL</text>
3790 <image resource="medium_button" />
3791 <action function="killterminal"></action>
3792 </object>
3793
3794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003796 <placement x="%home_button_x%" y="%terminal_button_y%" />
3797 <font resource="font" color="%button_text_color%" />
3798 <text></text>
3799 <image resource="home_icon" />
3800 <condition var1="tw_busy" var2="0" />
3801 <action function="key">home</action>
3802 </object>
3803
3804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003806 <placement x="%back_button_x%" y="%terminal_button_y%" />
3807 <font resource="font" color="%button_text_color%" />
3808 <text></text>
3809 <image resource="back_icon" />
3810 <condition var1="tw_busy" var2="0" />
3811 <action function="key">back</action>
3812 </object>
3813
3814 <object type="action">
3815 <touch key="power" />
3816 <action function="overlay">lock</action>
3817 </object>
3818
3819 <object type="template" name="keyboardtemplate" />
3820
3821 <object type="action">
3822 <touch key="home" />
3823 <action function="page">main</action>
3824 </object>
3825
3826 <object type="action">
3827 <touch key="back" />
3828 <action function="page">terminalfolder</action>
3829 </object>
3830 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003831
3832 <page name="sideload">
3833 <object type="template" name="header" />
3834
3835 <object type="text" color="%text_color%">
3836 <font resource="font" />
3837 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3838 <text>ADB Sideload</text>
3839 </object>
3840
3841 <object type="checkbox">
3842 <placement x="%col1_x%" y="%row3_text_y%" />
3843 <font resource="font" color="%text_color%" />
3844 <text>Wipe Dalvik Cache.</text>
3845 <data variable="tw_wipe_dalvik" />
3846 <image checked="checkbox_true" unchecked="checkbox_false" />
3847 </object>
3848
3849 <object type="checkbox">
3850 <placement x="%col1_x%" y="%row4_text_y%" />
3851 <font resource="font" color="%text_color%" />
3852 <text>Wipe Cache.</text>
3853 <data variable="tw_wipe_cache" />
3854 <image checked="checkbox_true" unchecked="checkbox_false" />
3855 </object>
3856
3857 <object type="slider">
3858 <placement x="%slider_x%" y="%slider_y%" />
3859 <resource base="slider" used="slider-used" touch="slider-touch" />
3860 <actions>
3861 <action function="set">tw_back=advanced</action>
3862 <action function="set">tw_action=adbsideload</action>
3863 <action function="set">tw_action_text1=ADB Sideload</action>
3864 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3865 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3866 <action function="set">tw_has_cancel=1</action>
3867 <action function="set">tw_show_reboot=1</action>
3868 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3869 <action function="page">action_page</action>
3870 </actions>
3871 </object>
3872
3873 <object type="text" color="%text_color%">
3874 <font resource="font" />
3875 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3876 <text>Swipe to Start Sideload</text>
3877 </object>
3878
3879 <object type="action">
3880 <touch key="home" />
3881 <action function="page">main</action>
3882 </object>
3883
3884 <object type="action">
3885 <touch key="back" />
3886 <action function="page">advanced</action>
3887 </object>
3888
3889 <object type="template" name="footer" />
3890 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003891
3892 <page name="installsu">
3893 <object type="template" name="header" />
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3898 <text>Install SuperSU?</text>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3904 <text>Your device does not appear to be rooted.</text>
3905 </object>
3906
3907 <object type="text" color="%text_color%">
3908 <font resource="font" />
3909 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3910 <text>Install SuperSU now? This will root your device.</text>
3911 </object>
3912
3913 <object type="button">
3914 <highlight color="%highlight_color%" />
3915 <placement x="%col_center_x%" y="%row2_medium_y%" />
3916 <font resource="font" color="%button_text_color%" />
3917 <text>Do Not Install</text>
3918 <image resource="main_button" />
3919 <action function="set">tw_page_done=1</action>
3920 </object>
3921
3922 <object type="slider">
3923 <placement x="%slider_x%" y="%slider_y%" />
3924 <resource base="slider" used="slider-used" touch="slider-touch" />
3925 <actions>
3926 <action function="set">tw_action=installsu</action>
3927 <action function="set">tw_action_text1=Installing SuperSU</action>
3928 <action function="set">tw_action_text2=</action>
3929 <action function="page">singleaction_page</action>
3930 </actions>
3931 </object>
3932
3933 <object type="text" color="%text_color%">
3934 <font resource="font" />
3935 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3936 <text>Swipe to Install</text>
3937 </object>
3938 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003939 </pages>
3940</recovery>