blob: 6f8797a74d8928317f9ce47373201d087c038dcf [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1024" height="768" />
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-Regular-20" />
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" />
41 </resources>
42
43 <variables>
44 <variable name="col1_x" value="23" />
45 <variable name="col2_x" value="269" />
46 <variable name="col3_x" value="515" />
47 <variable name="col4_x" value="761" />
48 <variable name="row1_y" value="127" />
49 <variable name="row2_y" value="388" />
50 <variable name="col_center_x" value="392" />
51 <variable name="center_x" value="512" />
52 <variable name="screen_width" value="1024" />
53 <variable name="screen_height" value="768" />
54 <variable name="col_progressbar_x" value="386" />
55 <variable name="row_progressbar_y" value="700" />
56 <variable name="col1_medium_x" value="257" />
57 <variable name="col2_medium_x" value="387" />
58 <variable name="col3_medium_x" value="517" />
59 <variable name="col4_medium_x" value="647" />
60 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060061 <variable name="row2_medium_y" value="245" />
Dees_Troy51a0e822012-09-05 15:24:24 -040062 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060063 <variable name="row4_medium_y" value="450" />
Dees_Troy51a0e822012-09-05 15:24:24 -040064 <variable name="row5_medium_y" value="405" />
65 <variable name="row1_text_y" value="58" />
66 <variable name="row2_text_y" value="105" />
67 <variable name="row3_text_y" value="140" />
68 <variable name="row4_text_y" value="170" />
69 <variable name="row5_text_y" value="200" />
70 <variable name="row6_text_y" value="230" />
71 <variable name="row7_text_y" value="260" />
72 <variable name="row8_text_y" value="290" />
73 <variable name="row9_text_y" value="320" />
74 <variable name="row10_text_y" value="350" />
75 <variable name="row11_text_y" value="380" />
76 <variable name="row12_text_y" value="410" />
77 <variable name="row13_text_y" value="440" />
78 <variable name="row14_text_y" value="470" />
79 <variable name="row15_text_y" value="500" />
80 <variable name="row16_text_y" value="530" />
81 <variable name="row17_text_y" value="560" />
82 <variable name="row18_text_y" value="590" />
83 <variable name="row_offsetmedium_y" value="465" />
84 <variable name="home_button_x" value="813" />
85 <variable name="home_button_y" value="5" />
86 <variable name="back_button_x" value="883" />
87 <variable name="back_button_y" value="5" />
88 <variable name="console_button_x" value="953" />
89 <variable name="console_button_y" value="5" />
90 <variable name="nandcheck_col1" value="150" />
91 <variable name="nandcheck_col2" value="450" />
92 <variable name="nandcheck_row1" value="150" />
93 <variable name="nandcheck_row2" value="200" />
94 <variable name="nandcheck_row3" value="250" />
95 <variable name="nandcheck_row4" value="300" />
96 <variable name="nandcheck_row5" value="350" />
97 <variable name="nandcheck_row6" value="400" />
98 <variable name="nandcheck_row7" value="450" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#A0A0A0" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="slider_x" value="307" />
105 <variable name="slider_y" value="600" />
106 <variable name="slider_text_y" value="650" />
107 <variable name="sort_text_x" value="270" />
108 <variable name="sort_asc_text_y" value="655" />
109 <variable name="sort_asc_button_y" value="650" />
110 <variable name="sort_desc_text_y" value="700" />
111 <variable name="sort_desc_button_y" value="695" />
112 <variable name="sort_col1_button_x" value="440" />
113 <variable name="sort_col2_button_x" value="510" />
114 <variable name="sort_col3_button_x" value="580" />
115 <variable name="col1_sdext_x" value="370" />
116 <variable name="col2_sdext_x" value="600" />
117 <variable name="row1_sdext_y" value="115" />
118 <variable name="row2_sdext_y" value="180" />
119 <variable name="row_extsize_y" value="115" />
120 <variable name="row_swapsize_y" value="180" />
121 <variable name="input_x" value="28" />
122 <variable name="input_width" value="944" />
123 <variable name="input_height" value="30" />
124 <variable name="input_background_color" value="#303030" />
125 <variable name="input_cursor_color" value="#33B5E5" />
126 <variable name="input_cursor_width" value="3" />
127 <variable name="console_x" value="25" />
128 <variable name="console_width" value="974" />
129 <variable name="console_foreground" value="#A0A0A0" />
130 <variable name="console_background" value="#303030" />
131 <variable name="console_scroll" value="#303030" />
132 <variable name="console_action_height" value="320" />
133 <variable name="console_install_height" value="440" />
134 <variable name="console_installdone_height" value="300" />
135 <variable name="fileselector_folder_x" value="28" />
136 <variable name="fileselector_folder_width" value="282" />
137 <variable name="fileselector_folderonly_width" value="460" />
138 <variable name="fileselector_file_x" value="317" />
139 <variable name="fileselector_file_width" value="682" />
140 <variable name="fileselector_install_y" value="120" />
141 <variable name="fileselector_install_height" value="510" />
142 <variable name="fileselector_header_background" value="#202020" />
143 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
144 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
145 <variable name="fileselector_header_separatorheight" value="3" />
146 <variable name="fileselector_separatorcolor" value="#505050" />
147 <variable name="fileselector_separatorheight" value="2" />
148 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600149 <variable name="fileselector_highlight_color" value="#505050" />
150 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100152 <variable name="fastscroll_linecolor" value="#808080" />
153 <variable name="fastscroll_rectcolor" value="#808080" />
154 <variable name="fastscroll_w" value="32" />
155 <variable name="fastscroll_linew" value="2" />
156 <variable name="fastscroll_rectw" value="24" />
157 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400158 <variable name="zipstorage_text_y" value="88" />
159 <variable name="listbox_x" value="269" />
160 <variable name="listbox_y" value="90" />
161 <variable name="listbox_width" value="460" />
162 <variable name="listbox_tz_height" value="290" />
163 <variable name="listbox_background" value="#303030" />
164 <variable name="listbox_spacing" value="18" />
165 <variable name="sd_plus_x" value="280" />
166 <variable name="lock_x" value="312" />
167 <variable name="lock_y" value="184" />
168 <variable name="filemanager_select_x" value="761" />
169 <variable name="filemanager_select_y" value="620" />
170 <variable name="backup_name_text_y" value="440" />
171 <variable name="backup_name_button_y" value="240" />
172 <variable name="col_right_x" value="996" />
173 <variable name="cancel_button_y" value="240" />
174 <variable name="terminal_console_y" value="0" />
175 <variable name="terminal_console_height" value="362" />
176 <variable name="terminal_text_y" value="368" />
177 <variable name="terminal_button_y" value="358" />
178 <variable name="terminal_input_width" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="button_fill_color" value="#303030" />
180 <variable name="button_fill_full_width" value="512" />
181 <variable name="button_fill_main_width" value="486" />
182 <variable name="button_fill_main_height" value="150" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000183 <variable name="button_fill_half_height" value="50" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="button_fill_quarter_height" value="30" />
185 <variable name="button_full_center_x" value="256" />
186 <variable name="backup_list_x" value="23" />
187 <variable name="backup_list_y" value="105" />
188 <variable name="backup_list_width" value="486" />
189 <variable name="backup_list_height" value="450" />
190 <variable name="backup_storage_y" value="250" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000191 <variable name="backup_encrypt_y" value="310" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500192 <variable name="restore_list_y" value="140" />
193 <variable name="restore_list_height" value="400" />
194 <variable name="mount_list_height" value="500" />
195 <variable name="mount_storage_row" value="500" />
196 <variable name="wipe_list_height" value="400" />
197 <variable name="wipe_button_y" value="190" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200198 <variable name="slidervalue_x" value="256" />
199 <variable name="slidervalue_w" value="512" />
200 <variable name="slidervalue_line_clr" value="#FFFFFF" />
201 <variable name="slidervalue_slider_clr" value="#33B5E5" />
202 <variable name="slidervalue_lineh" value="2" />
203 <variable name="slidervalue_padding" value="0" />
204 <variable name="slidervalue_sliderw" value="10" />
205 <variable name="slidervalue_sliderh" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400206 </variables>
207
208 <templates>
209 <template name="header">
210 <background color="#000000FF" />
211
212 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400213 <image resource="base" />
214 <placement x="0" y="0" />
215 </object>
216
Dees_Troy51a0e822012-09-05 15:24:24 -0400217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000220 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="250" y="30" />
226 <conditions>
227 <condition var1="tw_no_battery_percent" var2="0" />
228 <condition var1="tw_battery" op=">" var2="0" />
229 <condition var1="tw_battery" op="<" var2="101" />
230 </conditions>
231 <text>Battery Level: %tw_battery%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="450" y="30" />
237 <text>%tw_time%</text>
238 </object>
239
240 <object type="text" color="%text_color%">
241 <condition var1="tw_simulate_actions" var2="1" />
242 <font resource="font" />
243 <placement x="550" y="30" />
244 <text>SIMULATING ACTIONS</text>
245 </object>
246
247 <object type="button">
248 <placement x="%home_button_x%" y="%home_button_y%" />
249 <font resource="font" color="%button_text_color%" />
250 <text></text>
251 <image resource="home_icon" />
252 <condition var1="tw_busy" var2="0" />
253 <action function="key">home</action>
254 </object>
255
256 <object type="button">
257 <placement x="%back_button_x%" y="%back_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="back_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">back</action>
263 </object>
264
265 <object type="action">
266 <touch key="power" />
267 <action function="overlay">lock</action>
268 </object>
269 </template>
270
271 <template name="progress_bar">
272 <object type="progressbar">
273 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
274 <resource empty="progress_empty" full="progress_full" />
275 <data name="ui_progress" />
276 </object>
277
278 <object type="animation">
279 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
280 <resource name="progress" />
281 <speed fps="15" render="2" />
282 <loop frame="1" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
294 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
295 <font resource="font" color="%button_text_color%" />
296 <text>Name</text>
297 <image resource="sort_button" />
298 <action function="set">tw_gui_sort_order=1</action>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
303 <font resource="font" color="%button_text_color%" />
304 <text>Date</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=2</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=3</action>
315 </object>
316
317 <object type="text" color="%text_color%">
318 <font resource="font" />
319 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
320 <text>Sort Descending:</text>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
325 <font resource="font" color="%button_text_color%" />
326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=-1</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
341 <font resource="font" color="%button_text_color%" />
342 <text>Size</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-3</action>
345 </object>
346 </template>
347
348 <template name="flash_zip_console">
349 <object type="console">
350 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
351 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
352 <font resource="fixed" />
353 </object>
354 </template>
355
356 <template name="action_page_console">
357 <object type="console">
358 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="footer">
365 <object type="console">
366 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
367 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
368 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
369 <font resource="fixed" />
370 </object>
371 </template>
372
373 <template name="keyboardtemplate">
374 <object type="keyboard">
375 <placement x="0" y="408" />
376 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600377 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400378 <layout1>
379 <keysize height="90" width="85" />
380 <row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" />
381 <row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" />
382 <row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" />
383 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
384 </layout1>
385 <layout2>
386 <keysize height="90" width="85" />
387 <row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" />
388 <row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" />
389 <row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" />
390 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
391 </layout2>
392 <layout3>
393 <keysize height="90" width="85" />
394 <row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" />
395 <row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" />
396 <row3 key01="140:layout4" key02="82:<" key03="82:>" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" />
397 <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" />
398 </layout3>
399 <layout4>
400 <keysize height="90" width="85" />
401 <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" />
402 <row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" />
403 <row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" />
404 <row4 key01="320:" key02="385: " />
405 </layout4>
406 </object>
407 </template>
408 </templates>
409
410 <pages>
411 <page name="main">
412 <object type="action">
413 <actions>
414 <action function="set">tw_clear_destination=main2</action>
415 <action function="page">clear_vars</action>
416 </actions>
417 </object>
418 </page>
419
420 <page name="main2">
421 <object type="template" name="header" />
422
423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600424 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400425 <placement x="%col1_x%" y="%row1_y%" />
426 <font resource="font" color="%button_text_color%" />
427 <text>Install</text>
428 <image resource="main_button" />
429 <actions>
430 <action function="queueclear"></action>
431 <action function="page">install</action>
432 </actions>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col2_x%" y="%row1_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Backup</text>
440 <image resource="main_button" />
441 <action function="page">backup</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col3_x%" y="%row1_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Restore</text>
449 <image resource="main_button" />
450 <action function="page">restore</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col4_x%" y="%row1_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Wipe</text>
458 <image resource="main_button" />
459 <action function="page">wipe</action>
460 </object>
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col1_x%" y="%row2_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Mount</text>
467 <image resource="main_button" />
468 <action function="page">mount</action>
469 </object>
470
471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <placement x="%col2_x%" y="%row2_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Settings</text>
476 <image resource="main_button" />
477 <action function="page">settings</action>
478 </object>
479
480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <placement x="%col3_x%" y="%row2_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Advanced</text>
485 <image resource="main_button" />
486 <action function="page">advanced</action>
487 </object>
488
489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400491 <placement x="%col4_x%" y="%row2_y%" />
492 <font resource="font" color="%button_text_color%" />
493 <text>Reboot</text>
494 <image resource="main_button" />
495 <action function="page">reboot</action>
496 </object>
497
498 <object type="template" name="footer" />
499 </page>
500
501 <page name="install">
502 <object type="template" name="header" />
503
504 <object type="text" color="%text_color%">
505 <font resource="font" />
506 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
507 <text>Select Zip to Install</text>
508 </object>
509
510 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500511 <highlight color="%highlight_color%" />
512 <fill color="%button_fill_color%" />
513 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
514 <font resource="font" color="%button_text_color%" />
515 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
516 <actions>
517 <action function="set">tw_back=install</action>
518 <action function="page">selectstorage</action>
519 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 </object>
521
522 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600523 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400524 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
525 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100526 <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 -0400527 <text>Folders:</text>
528 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
529 <sort name="tw_gui_sort_order" />
530 <icon folder="folder_icon" file="file_icon" />
531 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600532 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400533 <filter folders="1" files="0" />
534 <path name="tw_zip_location" default="/sdcard" />
535 <data name="select" />
536 </object>
537
538 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600539 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400540 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
541 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100542 <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 -0400543 <text>%tw_zip_location%</text>
544 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
545 <sort name="tw_gui_sort_order" />
546 <icon folder="folder_icon" file="file_icon" />
547 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600548 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400549 <filter extn=".zip" folders="0" files="1" />
550 <path name="tw_zip_location" />
551 <data name="tw_filename" />
552 <selection name="tw_file" />
553 </object>
554
555 <object type="template" name="sort_options" />
556
557 <object type="action">
558 <condition var1="tw_filename" op="modified" />
559 <actions>
560 <action function="queuezip"></action>
561 <action function="page">flash_confirm</action>
562 </actions>
563 </object>
564
565 <object type="action">
566 <touch key="back" />
567 <action function="page">main</action>
568 </object>
569
570 <object type="action">
571 <touch key="home" />
572 <action function="page">main</action>
573 </object>
574
575 <object type="template" name="footer" />
576 </page>
577
578 <page name="flash_confirm">
579 <object type="template" name="header" />
580
581 <object type="text" color="%text_color%">
582 <font resource="font" />
583 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
584 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
590 <text>Folder:</text>
591 </object>
592
593 <object type="text" color="%text_color%">
594 <font resource="font" />
595 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
596 <text>%tw_zip_location%</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
602 <text>File to flash:</text>
603 </object>
604
605 <object type="text" color="%text_color%">
606 <font resource="font" />
607 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
608 <text>%tw_file%</text>
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
613 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
614 <text>Press back to cancel adding this zip.</text>
615 </object>
616
617 <object type="checkbox">
618 <placement x="%col2_x%" y="%row7_text_y%" />
619 <font resource="font" color="%text_color%" />
620 <text>Zip file signature verification?</text>
621 <data variable="tw_signed_zip_verify" />
622 <image checked="checkbox_true" unchecked="checkbox_false" />
623 </object>
624
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <object type="text" color="%text_color%">
626 <font resource="font" />
627 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
628 <text>File %tw_zip_queue_count% of max of 10</text>
629 </object>
630
631 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600632 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400633 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
634 <placement x="%col2_x%" y="%row5_medium_y%" />
635 <font resource="font" color="%button_text_color%" />
636 <text>Add More Zips</text>
637 <image resource="mediumwide_button" />
638 <action function="page">install</action>
639 </object>
640
641 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600642 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400643 <placement x="%col3_x%" y="%row5_medium_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Clear Queue</text>
646 <image resource="mediumwide_button" />
647 <actions>
648 <action function="queueclear"></action>
649 <action function="page">install</action>
650 </actions>
651 </object>
652
653 <object type="slider">
654 <placement x="%slider_x%" y="%slider_y%" />
655 <resource base="slider" used="slider-used" touch="slider-touch" />
656 <action function="flash">flash_zip</action>
657 </object>
658
659 <object type="text" color="%text_color%">
660 <font resource="font" />
661 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
662 <text>Swipe to Confirm Flash</text>
663 </object>
664
665 <object type="action">
666 <touch key="back" />
667 <actions>
668 <action function="cancelzip"></action>
669 <action function="page">install</action>
670 </actions>
671 </object>
672
673 <object type="action">
674 <touch key="home" />
675 <action function="page">main</action>
676 </object>
677
678 <object type="template" name="footer" />
679 </page>
680
681 <page name="flash_zip">
682 <object type="template" name="header" />
683
684 <object type="template" name="flash_zip_console" />
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%col1_x%" y="%row16_text_y%" />
689 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
690 </object>
691
692 <object type="text" color="%text_color%">
693 <font resource="font" />
694 <placement x="%col1_x%" y="%row17_text_y%" />
695 <text>%tw_filename%</text>
696 </object>
697
698 <object type="template" name="progress_bar" />
699
700 <object type="action">
701 <condition var1="tw_operation_state" var2="1" />
702 <action function="page">flash_done</action>
703 </object>
704 </page>
705
706 <page name="flash_done">
707 <object type="template" name="header" />
708
709 <object type="template" name="flash_zip_console" />
710
711 <object type="text" color="%text_fail_color%">
712 <condition var1="tw_operation_status" op="!=" var2="0" />
713 <font resource="font" />
714 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
715 <text>Failed</text>
716 </object>
717
718 <object type="text" color="%text_success_color%">
719 <condition var1="tw_operation_status" var2="0" />
720 <font resource="font" />
721 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
722 <text>Successful</text>
723 </object>
724
725 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600726 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <placement x="%col1_x%" y="%slider_y%" />
728 <font resource="font" color="%button_text_color%" />
729 <text>Wipe Cache/Dalvik</text>
730 <image resource="main_button" />
731 <actions>
732 <action function="set">tw_back=flash_done</action>
733 <action function="set">tw_action=wipe</action>
734 <action function="set">tw_action_param=/cache</action>
735 <action function="set">tw_has_action2=1</action>
736 <action function="set">tw_action2=wipe</action>
737 <action function="set">tw_action2_param=dalvik</action>
738 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
739 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
740 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
741 <action function="set">tw_slider_text=Swipe to Wipe</action>
742 <action function="page">confirm_action</action>
743 </actions>
744 </object>
745
746 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600747 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <condition var1="tw_reboot_system" var2="1" />
749 <placement x="%col4_x%" y="%slider_y%" />
750 <font resource="font" color="%button_text_color%" />
751 <text>Reboot System</text>
752 <image resource="main_button" />
753 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400754 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <action function="set">tw_action=reboot</action>
756 <action function="set">tw_action_param=system</action>
757 <action function="set">tw_has_action2=0</action>
758 <action function="set">tw_text1=No OS Installed! Are you</action>
759 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400760 <action function="set">tw_text3=</action>
761 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400763 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400764 <action function="set">tw_complete_text1=Rebooting...</action>
765 <action function="set">tw_slider_text=Swipe to Reboot</action>
766 <action function="page">rebootcheck</action>
767 </actions>
768 </object>
769
770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600771 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400772 <placement x="%col_center_x%" y="%slider_y%" />
773 <font resource="font" color="%button_text_color%" />
774 <text>Home</text>
775 <image resource="main_button" />
776 <actions>
777 <action function="set">tw_clear_destination=main2</action>
778 <action function="page">clear_vars</action>
779 </actions>
780 </object>
781
782 <object type="action">
783 <touch key="back" />
784 <actions>
785 <action function="set">tw_clear_destination=install</action>
786 <action function="page">clear_vars</action>
787 </actions>
788 </object>
789
790 <object type="action">
791 <touch key="home" />
792 <actions>
793 <action function="set">tw_clear_destination=main2</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </object>
797 </page>
798
799 <page name="clear_vars">
800 <object type="action">
801 <action function="set">tw_operation_state=0</action>
802 <action function="set">tw_text1=</action>
803 <action function="set">tw_text2=</action>
804 <action function="set">tw_text3=</action>
805 <action function="set">tw_text4=</action>
806 <action function="set">tw_action_text1=</action>
807 <action function="set">tw_action_text2=</action>
808 <action function="set">tw_action_param=</action>
809 <action function="set">tw_has_action2=0</action>
810 <action function="set">tw_action2=</action>
811 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400812 <action function="set">tw_has_cancel=0</action>
813 <action function="set">tw_cancel_action=</action>
814 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400815 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400816 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400817 <action function="page">%tw_clear_destination%</action>
818 </object>
819 </page>
820
821 <page name="confirm_action">
822 <object type="template" name="header" />
823
824 <object type="text" color="%text_color%">
825 <font resource="font" />
826 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
827 <text>%tw_text1%</text>
828 </object>
829
830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
833 <text>%tw_text2%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
839 <text>%tw_text3%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
845 <text>%tw_text4%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400850 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400851 <text>Press back button to cancel.</text>
852 </object>
853
854 <object type="slider">
855 <placement x="%slider_x%" y="%slider_y%" />
856 <resource base="slider" used="slider-used" touch="slider-touch" />
857 <action function="page">action_page</action>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
863 <text>%tw_slider_text%</text>
864 </object>
865
866 <object type="action">
867 <touch key="back" />
868 <actions>
869 <action function="set">tw_clear_destination=%tw_back%</action>
870 <action function="page">clear_vars</action>
871 </actions>
872 </object>
873
874 <object type="action">
875 <touch key="home" />
876 <action function="page">main</action>
877 </object>
878
879 <object type="template" name="footer" />
880 </page>
881
882 <page name="action_page">
883 <object type="template" name="header" />
884
885 <object type="text" color="%text_color%">
886 <font resource="font" />
887 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
888 <text>%tw_action_text1%</text>
889 </object>
890
891 <object type="text" color="%text_color%">
892 <font resource="font" />
893 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
894 <text>%tw_action_text2%</text>
895 </object>
896
897 <object type="template" name="action_page_console" />
898
Dees_Troy2691f9d2012-09-24 11:15:49 -0400899 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600900 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400901 <condition var1="tw_has_cancel" var2="1" />
902 <placement x="%col4_x%" y="%slider_y%" />
903 <font resource="font" color="%button_text_color%" />
904 <text>Cancel</text>
905 <image resource="main_button" />
906 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
907 </object>
908
Dees_Troy51a0e822012-09-05 15:24:24 -0400909 <object type="template" name="progress_bar" />
910
911 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400912 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400913 <actions>
914 <action function="page">action_complete</action>
915 </actions>
916 </object>
917
918 <object type="action">
919 <condition var1="tw_has_action2" var2="0" />
920 <actions>
921 <action function="%tw_action%">%tw_action_param%</action>
922 </actions>
923 </object>
924
925 <object type="action">
926 <condition var1="tw_has_action2" var2="1" />
927 <actions>
928 <action function="%tw_action%">%tw_action_param%</action>
929 <action function="%tw_action2%">%tw_action2_param%</action>
930 </actions>
931 </object>
932 </page>
933
Dees_Troy6ef66352013-02-21 08:26:57 -0600934 <page name="singleaction_page">
935 <object type="template" name="header" />
936
937 <object type="text" color="%text_color%">
938 <font resource="font" />
939 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
940 <text>%tw_action_text1%</text>
941 </object>
942
943 <object type="text" color="%text_color%">
944 <font resource="font" />
945 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
946 <text>%tw_action_text2%</text>
947 </object>
948
949 <object type="template" name="action_page_console" />
950
951 <object type="template" name="progress_bar" />
952
953 <object type="action">
954 <condition var1="tw_operation_state" var2="1" />
955 <actions>
956 <action function="set">tw_page_done=1</action>
957 </actions>
958 </object>
959
960 <object type="action">
961 <condition var1="tw_has_action2" var2="0" />
962 <actions>
963 <action function="%tw_action%">%tw_action_param%</action>
964 </actions>
965 </object>
966
967 <object type="action">
968 <condition var1="tw_has_action2" var2="1" />
969 <actions>
970 <action function="%tw_action%">%tw_action_param%</action>
971 <action function="%tw_action2%">%tw_action2_param%</action>
972 </actions>
973 </object>
974 </page>
975
Dees_Troy51a0e822012-09-05 15:24:24 -0400976 <page name="action_complete">
977 <object type="template" name="header" />
978
979 <object type="text" color="%text_color%">
980 <font resource="font" />
981 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
982 <text>%tw_complete_text1%</text>
983 </object>
984
985 <object type="text" color="%text_fail_color%">
986 <condition var1="tw_operation_status" op="!=" var2="0" />
987 <font resource="font" />
988 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
989 <text>Failed</text>
990 </object>
991
992 <object type="text" color="%text_success_color%">
993 <condition var1="tw_operation_status" var2="0" />
994 <font resource="font" />
995 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
996 <text>Successful</text>
997 </object>
998
999 <object type="template" name="action_page_console" />
1000
1001 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001002 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001003 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001004 <placement x="%col_center_x%" y="%slider_y%" />
1005 <font resource="font" color="%button_text_color%" />
1006 <text>Back</text>
1007 <image resource="main_button" />
1008 <actions>
1009 <action function="set">tw_clear_destination=%tw_back%</action>
1010 <action function="page">clear_vars</action>
1011 </actions>
1012 </object>
1013
Dees_Troya3f81542012-10-08 10:58:53 -04001014 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001015 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001016 <condition var1="tw_show_reboot" var2="1" />
1017 <placement x="%col_center_x%" y="%slider_y%" />
1018 <font resource="font" color="%button_text_color%" />
1019 <text>Reboot System</text>
1020 <image resource="main_button" />
1021 <actions>
1022 <action function="set">tw_back=main2</action>
1023 <action function="set">tw_action=reboot</action>
1024 <action function="set">tw_action_param=system</action>
1025 <action function="set">tw_has_action2=0</action>
1026 <action function="set">tw_text1=No OS Installed! Are you</action>
1027 <action function="set">tw_text2=sure you wish to reboot?</action>
1028 <action function="set">tw_text3=</action>
1029 <action function="set">tw_text4=</action>
1030 <action function="set">tw_action_text1=Rebooting...</action>
1031 <action function="set">tw_action_text2=</action>
1032 <action function="set">tw_complete_text1=Rebooting...</action>
1033 <action function="set">tw_slider_text=Swipe to Reboot</action>
1034 <action function="page">rebootcheck</action>
1035 </actions>
1036 </object>
1037
Dees_Troy51a0e822012-09-05 15:24:24 -04001038 <object type="action">
1039 <touch key="home" />
1040 <actions>
1041 <action function="set">tw_clear_destination=main2</action>
1042 <action function="page">clear_vars</action>
1043 </actions>
1044 </object>
1045
1046 <object type="action">
1047 <touch key="back" />
1048 <actions>
1049 <action function="set">tw_clear_destination=%tw_back%</action>
1050 <action function="page">clear_vars</action>
1051 </actions>
1052 </object>
1053 </page>
1054
1055 <page name="filecheck">
1056 <object type="action">
1057 <action function="fileexists">%tw_filecheck%</action>
1058 </object>
1059
1060 <object type="action">
1061 <conditions>
1062 <condition var1="tw_operation_state" var2="1" />
1063 <condition var1="tw_operation_status" var2="0" />
1064 </conditions>
1065 <actions>
1066 <action function="set">tw_fileexists=1</action>
1067 <action function="page">%tw_existpage%</action>
1068 </actions>
1069 </object>
1070
1071 <object type="action">
1072 <conditions>
1073 <condition var1="tw_operation_state" var2="1" />
1074 <condition var1="tw_operation_status" var2="1" />
1075 </conditions>
1076 <actions>
1077 <action function="set">tw_fileexists=0</action>
1078 <action function="page">%tw_notexistpage%</action>
1079 </actions>
1080 </object>
1081 </page>
1082
1083 <page name="rebootcheck">
1084 <object type="action">
1085 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1086 <action function="reboot">%tw_action_param%</action>
1087 </object>
1088
1089 <object type="action">
1090 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1091 <action function="page">confirm_action</action>
1092 </object>
1093 </page>
1094
1095 <page name="reboot">
1096 <object type="template" name="header" />
1097
1098 <object type="text" color="%text_color%">
1099 <font resource="font" />
1100 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1101 <text>Reboot Menu</text>
1102 </object>
1103
1104 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001105 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001106 <condition var1="tw_reboot_system" var2="1" />
1107 <placement x="%col1_x%" y="%row1_y%" />
1108 <font resource="font" color="%button_text_color%" />
1109 <text>System</text>
1110 <image resource="main_button" />
1111 <actions>
1112 <action function="set">tw_back=reboot</action>
1113 <action function="set">tw_action=reboot</action>
1114 <action function="set">tw_action_param=system</action>
1115 <action function="set">tw_has_action2=0</action>
1116 <action function="set">tw_text1=No OS Installed! Are you</action>
1117 <action function="set">tw_text2=sure you wish to reboot?</action>
1118 <action function="set">tw_action_text1=Rebooting...</action>
1119 <action function="set">tw_complete_text1=Rebooting...</action>
1120 <action function="set">tw_slider_text=Swipe to Reboot</action>
1121 <action function="page">rebootcheck</action>
1122 </actions>
1123 </object>
1124
1125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001127 <condition var1="tw_reboot_poweroff" var2="1" />
1128 <placement x="%col2_x%" y="%row1_y%" />
1129 <font resource="font" color="%button_text_color%" />
1130 <text>Power Off</text>
1131 <image resource="main_button" />
1132 <actions>
1133 <action function="set">tw_back=reboot</action>
1134 <action function="set">tw_action=reboot</action>
1135 <action function="set">tw_action_param=poweroff</action>
1136 <action function="set">tw_has_action2=0</action>
1137 <action function="set">tw_text1=No OS Installed! Are you</action>
1138 <action function="set">tw_text2=sure you wish to power off?</action>
1139 <action function="set">tw_action_text1=Turning Off...</action>
1140 <action function="set">tw_complete_text1=Turning Off...</action>
1141 <action function="set">tw_slider_text=Swipe to Power Off</action>
1142 <action function="page">rebootcheck</action>
1143 </actions>
1144 </object>
1145
1146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 <condition var1="tw_reboot_recovery" var2="1" />
1149 <placement x="%col1_x%" y="%row2_y%" />
1150 <font resource="font" color="%button_text_color%" />
1151 <text>Recovery</text>
1152 <image resource="main_button" />
1153 <actions>
1154 <action function="set">tw_back=reboot</action>
1155 <action function="set">tw_action=reboot</action>
1156 <action function="set">tw_action_param=recovery</action>
1157 <action function="set">tw_has_action2=0</action>
1158 <action function="set">tw_text1=No OS Installed! Are you</action>
1159 <action function="set">tw_text2=sure you wish to reboot?</action>
1160 <action function="set">tw_action_text1=Rebooting...</action>
1161 <action function="set">tw_complete_text1=Rebooting...</action>
1162 <action function="set">tw_slider_text=Swipe to Reboot</action>
1163 <action function="page">rebootcheck</action>
1164 </actions>
1165 </object>
1166
1167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <condition var1="tw_reboot_bootloader" var2="1" />
1170 <placement x="%col2_x%" y="%row2_y%" />
1171 <font resource="font" color="%button_text_color%" />
1172 <text>Bootloader</text>
1173 <image resource="main_button" />
1174 <actions>
1175 <action function="set">tw_back=reboot</action>
1176 <action function="set">tw_action=reboot</action>
1177 <action function="set">tw_action_param=bootloader</action>
1178 <action function="set">tw_has_action2=0</action>
1179 <action function="set">tw_text1=No OS Installed! Are you</action>
1180 <action function="set">tw_text2=sure you wish to reboot?</action>
1181 <action function="set">tw_action_text1=Rebooting...</action>
1182 <action function="set">tw_complete_text1=Rebooting...</action>
1183 <action function="set">tw_slider_text=Swipe to Reboot</action>
1184 <action function="page">rebootcheck</action>
1185 </actions>
1186 </object>
1187
1188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001190 <condition var1="tw_download_mode" var2="1" />
1191 <placement x="%col3_x%" y="%row2_y%" />
1192 <font resource="font" color="%button_text_color%" />
1193 <text>Download</text>
1194 <image resource="main_button" />
1195 <actions>
1196 <action function="set">tw_back=reboot</action>
1197 <action function="set">tw_action=reboot</action>
1198 <action function="set">tw_action_param=download</action>
1199 <action function="set">tw_has_action2=0</action>
1200 <action function="set">tw_text1=No OS Installed! Are you</action>
1201 <action function="set">tw_text2=sure you wish to reboot?</action>
1202 <action function="set">tw_action_text1=Rebooting...</action>
1203 <action function="set">tw_complete_text1=Rebooting...</action>
1204 <action function="set">tw_slider_text=Swipe to Reboot</action>
1205 <action function="page">rebootcheck</action>
1206 </actions>
1207 </object>
1208
1209 <object type="action">
1210 <touch key="home" />
1211 <action function="page">main</action>
1212 </object>
1213
1214 <object type="action">
1215 <touch key="back" />
1216 <action function="page">main</action>
1217 </object>
1218
1219 <object type="template" name="footer" />
1220 </page>
1221
Dees_Troya13d74f2013-03-24 08:54:55 -05001222 <page name="selectstorage">
1223 <object type="template" name="header" />
1224
1225 <object type="partitionlist">
1226 <highlight color="%fileselector_highlight_color%" />
1227 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1228 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1229 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1230 <text>Select Storage:</text>
1231 <icon selected="radio_true" unselected="radio_false" />
1232 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1233 <background color="%listbox_background%" />
1234 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1235 <data name="tw_storage_path" />
1236 <listtype name="storage" />
1237 </object>
1238
Dees_Troye7e0ae82013-07-05 14:46:07 +00001239 <object type="button">
1240 <highlight color="%highlight_color%" />
1241 <placement x="%filemanager_select_x%" y="%row2_y%" />
1242 <font resource="font" color="%button_text_color%" />
1243 <text>OK</text>
1244 <image resource="main_button" />
1245 <actions>
1246 <action function="set">tw_clear_destination=%tw_back%</action>
1247 <action function="page">clear_vars</action>
1248 </actions>
1249 </object>
1250
Dees_Troya13d74f2013-03-24 08:54:55 -05001251 <object type="action">
1252 <touch key="home" />
1253 <action function="page">main</action>
1254 </object>
1255
1256 <object type="action">
1257 <touch key="back" />
1258 <actions>
1259 <action function="page">%tw_back%</action>
1260 </actions>
1261 </object>
1262
1263 <object type="template" name="footer" />
1264 </page>
1265
Dees_Troy51a0e822012-09-05 15:24:24 -04001266 <page name="mount">
1267 <object type="template" name="header" />
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1272 <text>Mount Menu</text>
1273 </object>
1274
Dees_Troya13d74f2013-03-24 08:54:55 -05001275 <object type="partitionlist">
1276 <highlight color="%fileselector_highlight_color%" />
1277 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1278 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1279 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1280 <text>Select Partitions to Mount:</text>
1281 <icon selected="checkbox_true" unselected="checkbox_false" />
1282 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1283 <background color="%listbox_background%" />
1284 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1285 <listtype name="mount" />
1286 </object>
1287
1288 <object type="button">
1289 <highlight color="%highlight_color%" />
1290 <conditions>
1291 <condition var1="tw_is_encrypted" var2="1" />
1292 <condition var1="tw_is_decrypted" var2="0" />
1293 </conditions>
1294 <placement x="%col3_x%" y="row1_y" />
1295 <font resource="font" color="%button_text_color%" />
1296 <text>Decrypt Data</text>
1297 <image resource="main_button" />
1298 <action function="page">decrypt</action>
1299 </object>
1300
Dees_Troy51a0e822012-09-05 15:24:24 -04001301 <object type="button">
1302 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001303 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001304 <font resource="font" color="%button_text_color%" />
1305 <text>Mount USB Storage</text>
1306 <image resource="main_button" />
1307 <action function="page">usb_mount</action>
1308 </object>
1309
1310 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001311 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001312 <fill color="%button_fill_color%" />
1313 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1314 <font resource="font" color="%button_text_color%" />
1315 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1316 <actions>
1317 <action function="set">tw_back=mount</action>
1318 <action function="page">selectstorage</action>
1319 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001320 </object>
1321
1322 <object type="action">
1323 <touch key="home" />
1324 <action function="page">main</action>
1325 </object>
1326
1327 <object type="action">
1328 <touch key="back" />
1329 <action function="page">main</action>
1330 </object>
1331
1332 <object type="template" name="footer" />
1333 </page>
1334
1335 <page name="usb_mount">
1336 <object type="template" name="header" />
1337
1338 <object type="text" color="%text_color%">
1339 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1340 <font resource="font" />
1341 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1342 </object>
1343
1344 <object type="text" color="%text_color%">
1345 <placement x="%col1_x%" y="%row2_text_y%" />
1346 <font resource="font" />
1347 <text></text>
1348 </object>
1349
1350 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001351 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001352 <placement x="%col_center_x%" y="%row1_y%" />
1353 <font resource="font" color="%button_text_color%" />
1354 <text>Unmount</text>
1355 <image resource="main_button" />
1356 <action function="page">usb_umount</action>
1357 </object>
1358
1359 <object type="action">
1360 <action function="mount">usb</action>
1361 </object>
1362
1363 <object type="template" name="footer" />
1364 </page>
1365
1366 <page name="usb_umount">
1367 <object type="action">
1368 <action function="unmount">usb</action>
1369 </object>
1370
1371 <object type="action">
1372 <action function="page">mount</action>
1373 </object>
1374
1375 <object type="template" name="footer" />
1376 </page>
1377
1378 <page name="wipe">
1379 <object type="template" name="header" />
1380
1381 <object type="text" color="%text_color%">
1382 <font resource="font" />
1383 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001384 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1385 </object>
1386
1387 <object type="text" color="%text_color%">
1388 <condition var1="tw_has_data_media" var2="0" />
1389 <font resource="font" />
1390 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1391 <text>.android_secure</text>
1392 </object>
1393
1394 <object type="text" color="%text_color%">
1395 <condition var1="tw_has_data_media" var2="1" />
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1398 <text>(not including internal storage)</text>
1399 </object>
1400
1401 <object type="text" color="%text_color%">
1402 <condition var1="tw_has_sdext_partition" var2="1" />
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1405 <text>SD-EXT</text>
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <font resource="font" />
1410 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1411 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001412 </object>
1413
1414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001415 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001416 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001417 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001418 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001420 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 </object>
1422
1423 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001424 <conditions>
1425 <condition var1="tw_has_internal" var2="1" />
1426 <condition var1="tw_has_data_media" var2="1" />
1427 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001428 <highlight color="%highlight_color%" />
1429 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 <font resource="font" color="%button_text_color%" />
1431 <text>Format Data</text>
1432 <image resource="main_button" />
1433 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001434 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 </actions>
1436 </object>
1437
Dees_Troya13d74f2013-03-24 08:54:55 -05001438 <object type="text" color="%text_color%">
1439 <font resource="font" />
1440 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1441 <text>Press back button to cancel.</text>
1442 </object>
1443
1444 <object type="slider">
1445 <placement x="%slider_x%" y="%slider_y%" />
1446 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001447 <actions>
1448 <action function="set">tw_back=wipe</action>
1449 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001450 <action function="set">tw_action_param=data</action>
1451 <action function="set">tw_action_text1=Factory Reset...</action>
1452 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1453 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001454 </actions>
1455 </object>
1456
Dees_Troya13d74f2013-03-24 08:54:55 -05001457 <object type="text" color="%text_color%">
1458 <font resource="font" />
1459 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1460 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001461 </object>
1462
1463 <object type="action">
1464 <touch key="home" />
1465 <action function="page">main</action>
1466 </object>
1467
1468 <object type="action">
1469 <touch key="back" />
1470 <action function="page">main</action>
1471 </object>
1472
1473 <object type="template" name="footer" />
1474 </page>
1475
Dees_Troya13d74f2013-03-24 08:54:55 -05001476 <page name="advancedwipe">
1477 <object type="template" name="header" />
1478
1479 <object type="partitionlist">
1480 <highlight color="%fileselector_highlight_color%" />
1481 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1482 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1483 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1484 <text>Select Partitions to Wipe:</text>
1485 <icon selected="checkbox_true" unselected="checkbox_false" />
1486 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1487 <background color="%listbox_background%" />
1488 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1489 <data name="tw_wipe_list" />
1490 <listtype name="wipe" />
1491 </object>
1492
1493 <object type="slider">
1494 <placement x="%slider_x%" y="%slider_y%" />
1495 <resource base="slider" used="slider-used" touch="slider-touch" />
1496 <actions>
1497 <action function="set">tw_back=advancedwipe</action>
1498 <action function="set">tw_action=wipe</action>
1499 <action function="set">tw_action_param=LIST</action>
1500 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1501 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1502 <action function="set">tw_complete_text1=Wipe Complete</action>
1503 <action function="page">action_page</action>
1504 </actions>
1505 </object>
1506
1507 <object type="text" color="%text_color%">
1508 <font resource="font" />
1509 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1510 <text>Swipe to Wipe</text>
1511 </object>
1512
1513 <object type="action">
1514 <touch key="home" />
1515 <action function="page">main</action>
1516 </object>
1517
1518 <object type="action">
1519 <touch key="back" />
1520 <action function="page">wipe</action>
1521 </object>
1522
1523 <object type="template" name="footer" />
1524 </page>
1525
1526 <page name="formatdata">
1527 <object type="template" name="header" />
1528
1529 <object type="text" color="%text_color%">
1530 <font resource="font" />
1531 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1532 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1533 </object>
1534
1535 <object type="text" color="%text_color%">
1536 <font resource="font" />
1537 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1538 <text>videos, media, and removes encryption on internal storage.</text>
1539 </object>
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1544 <text>This cannot be undone. Press back to cancel.</text>
1545 </object>
1546
1547 <object type="text" color="%text_color%">
1548 <font resource="font" />
1549 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1550 <text>Type yes to continue.</text>
1551 </object>
1552
1553 <object type="input">
1554 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1555 <background color="%input_background_color%" />
1556 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1557 <font resource="font" color="%text_color%" />
1558 <text>%tw_confirm_formatdata%</text>
1559 <data name="tw_confirm_formatdata" />
1560 <restrict minlen="3" maxlen="3" allow="yes" />
1561 <action function="page">formatdata_confirm</action>
1562 </object>
1563
1564 <object type="template" name="keyboardtemplate" />
1565
1566 <object type="action">
1567 <touch key="home" />
1568 <action function="page">main</action>
1569 </object>
1570
1571 <object type="action">
1572 <touch key="back" />
1573 <action function="page">wipe</action>
1574 </object>
1575
1576 <object type="template" name="footer" />
1577 </page>
1578
1579 <page name="formatdata_confirm">
1580 <object type="action">
1581 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1582 <actions>
1583 <action function="set">tw_back=formatdata</action>
1584 <action function="set">tw_action=wipe</action>
1585 <action function="set">tw_action_param=DATAMEDIA</action>
1586 <action function="set">tw_action_text1=Formatting Data...</action>
1587 <action function="set">tw_complete_text1=Data Format Complete</action>
1588 <action function="page">action_page</action>
1589 </actions>
1590 </object>
1591
1592 <object type="action">
1593 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1594 <action function="page">formatdata</function>
1595 </object>
1596 </page>
1597
Dees_Troy51a0e822012-09-05 15:24:24 -04001598 <page name="backup">
1599 <object type="template" name="header" />
1600
1601 <object type="text" color="%text_color%">
1602 <font resource="font" />
1603 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1604 <text>Back Up Device</text>
1605 </object>
1606
Dees_Troya13d74f2013-03-24 08:54:55 -05001607 <object type="partitionlist">
1608 <highlight color="%fileselector_highlight_color%" />
1609 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1610 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1611 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1612 <text>Select Partitions to Back Up:</text>
1613 <icon selected="checkbox_true" unselected="checkbox_false" />
1614 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1615 <background color="%listbox_background%" />
1616 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1617 <data name="tw_backup_list" />
1618 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001619 </object>
1620
1621 <object type="text" color="%text_color%">
1622 <font resource="font" />
1623 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1624 <text>Backup Name: %tw_backup_name%</text>
1625 </object>
1626
Dees_Troya13d74f2013-03-24 08:54:55 -05001627 <object type="button">
1628 <highlight color="%highlight_color%" />
1629 <placement x="%col3_x%" y="%row1_y%" />
1630 <font resource="font" color="%button_text_color%" />
1631 <text>Refresh Sizes</text>
1632 <image resource="main_button" />
1633 <action function="refreshsizes"></action>
1634 </object>
1635
1636 <object type="button">
1637 <highlight color="%highlight_color%" />
1638 <placement x="%col4_x%" y="%row1_y%" />
1639 <font resource="font" color="%button_text_color%" />
1640 <text>Set Backup Name</text>
1641 <image resource="main_button" />
1642 <actions>
1643 <action function="set">tw_fileexists=0</action>
1644 <action function="page">backupname1</action>
1645 </actions>
1646 </object>
1647
1648 <object type="button">
1649 <highlight color="%highlight_color%" />
1650 <fill color="%button_fill_color%" />
1651 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1652 <font resource="font" color="%button_text_color%" />
1653 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1654 <actions>
1655 <action function="set">tw_back=backup</action>
1656 <action function="page">selectstorage</action>
1657 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001658 </object>
1659
Dees_Troy83bd4832013-05-04 12:39:56 +00001660 <object type="button">
1661 <conditions>
1662 <condition var1="tw_include_encrypted_backup" var2="1" />
1663 <condition var1="tw_encrypt_backup" var2="0" />
1664 </conditions>
1665 <highlight color="%highlight_color%" />
1666 <fill color="%button_fill_color%" />
1667 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1668 <font resource="font" color="%button_text_color%" />
1669 <text>No Encryption</text>
1670 <actions>
1671 <action function="page">backupencryption</action>
1672 </actions>
1673 </object>
1674
1675 <object type="button">
1676 <conditions>
1677 <condition var1="tw_include_encrypted_backup" var2="1" />
1678 <condition var1="tw_encrypt_backup" var2="1" />
1679 </conditions>
1680 <highlight color="%highlight_color%" />
1681 <fill color="%button_fill_color%" />
1682 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1683 <font resource="font" color="%button_text_color%" />
1684 <text>Using Encryption</text>
1685 <actions>
1686 <action function="page">backupencryption</action>
1687 </actions>
1688 </object>
1689
Dees_Troy51a0e822012-09-05 15:24:24 -04001690 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001691 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001692 <font resource="font" color="%text_color%" />
1693 <text>Enable Compression (Requires more time)</text>
1694 <data variable="tw_use_compression" />
1695 <image checked="checkbox_true" unchecked="checkbox_false" />
1696 </object>
1697
1698 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001699 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001700 <font resource="font" color="%text_color%" />
1701 <text>Skip MD5 generation on backups</text>
1702 <data variable="tw_skip_md5_generate" />
1703 <image checked="checkbox_true" unchecked="checkbox_false" />
1704 </object>
1705
Dees_Troy51a0e822012-09-05 15:24:24 -04001706 <object type="slider">
1707 <placement x="%slider_x%" y="%slider_y%" />
1708 <resource base="slider" used="slider-used" touch="slider-touch" />
1709 <actions>
1710 <action function="set">tw_operation_state=0</action>
1711 <action function="page">backup_run</action>
1712 </actions>
1713 </object>
1714
1715 <object type="text" color="%text_color%">
1716 <font resource="font" />
1717 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1718 <text>Swipe to Back Up</text>
1719 </object>
1720
Dees_Troy51a0e822012-09-05 15:24:24 -04001721 <object type="action">
1722 <touch key="home" />
1723 <action function="page">main</action>
1724 </object>
1725
1726 <object type="action">
1727 <touch key="back" />
1728 <action function="page">main</action>
1729 </object>
1730
1731 <object type="template" name="footer" />
1732 </page>
1733
1734 <page name="backupname1">
1735 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001736 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1737 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001738 </object>
1739
1740 <object type="action">
1741 <action function="page">backupname2</function>
1742 </object>
1743 </page>
1744
1745 <page name="backupname2">
1746 <object type="template" name="header" />
1747
1748 <object type="text" color="%text_color%">
1749 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1750 <font resource="font" />
1751 <text>Please Enter a Backup Name</text>
1752 </object>
1753
1754 <object type="input">
1755 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1756 <background color="%input_background_color%" />
1757 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1758 <font resource="font" color="%text_color%" />
1759 <text>%tw_backup_name%</text>
1760 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001761 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001762 <actions>
1763 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1764 <action function="set">tw_existpage=backupname2</action>
1765 <action function="set">tw_notexistpage=backup</action>
1766 <action function="page">filecheck</action>
1767 </actions>
1768 </object>
1769
1770 <object type="text" color="%text_fail_color%">
1771 <condition var1="tw_fileexists" var2="1" />
1772 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1773 <font resource="font" />
1774 <text>A backup with that name already exists!</text>
1775 </object>
1776
1777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001778 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001779 <placement x="%col2_x%" y="%cancel_button_y%" />
1780 <font resource="font" color="%button_text_color%" />
1781 <text>Append Date</text>
1782 <image resource="main_button" />
1783 <action function="appenddatetobackupname"></action>
1784 </object>
1785
1786 <object type="button">
1787 <highlight color="%highlight_color%" />
1788 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001789 <font resource="font" color="%button_text_color%" />
1790 <text>Cancel / Clear</text>
1791 <image resource="main_button" />
1792 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001793 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001794 <action function="page">backup</action>
1795 </actions>
1796 </object>
1797
1798 <object type="template" name="keyboardtemplate" />
1799
1800 <object type="action">
1801 <touch key="home" />
1802 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001803 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001804 <action function="page">main</action>
1805 </actions>
1806 </object>
1807
1808 <object type="action">
1809 <touch key="back" />
1810 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001811 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001812 <action function="page">backup</action>
1813 </actions>
1814 </object>
1815
1816 <object type="template" name="footer" />
1817 </page>
1818
Dees_Troy83bd4832013-05-04 12:39:56 +00001819 <page name="backupencryption">
1820 <object type="template" name="header" />
1821
1822 <object type="text" color="%text_color%">
1823 <font resource="font" />
1824 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1825 <text>Encrypt your backup? Please enter a password:</text>
1826 </object>
1827
1828 <object type="input">
1829 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1830 <background color="%input_background_color%" />
1831 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1832 <font resource="font" color="%text_color%" />
1833 <text>%tw_backup_encrypt_display%</text>
1834 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1835 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1836 <action function="page">backupencryption2</action>
1837 </object>
1838
1839 <object type="text" color="%text_fail_color%">
1840 <condition var1="tw_password_not_match" var2="1" />
1841 <font resource="font" />
1842 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1843 <text>Passwords Do Not Match</text>
1844 </object>
1845
1846 <object type="button">
1847 <highlight color="%highlight_color%" />
1848 <placement x="%col_center_x%" y="%cancel_button_y%" />
1849 <font resource="font" color="%button_text_color%" />
1850 <text>Cancel</text>
1851 <image resource="main_button" />
1852 <actions>
1853 <action function="set">tw_encrypt_backup=0</action>
1854 <action function="set">tw_backup_password=</action>
1855 <action function="set">tw_backup_password2=</action>
1856 <action function="set">tw_backup_encrypt_display=</action>
1857 <action function="set">tw_backup_encrypt_display2=</action>
1858 <action function="page">backup</action>
1859 </actions>
1860 </object>
1861
1862 <object type="template" name="keyboardtemplate" />
1863
1864 <object type="action">
1865 <touch key="home" />
1866 <action function="page">main</action>
1867 </object>
1868
1869 <object type="action">
1870 <touch key="back" />
1871 <action function="page">backup</action>
1872 </object>
1873
1874 <object type="template" name="footer" />
1875 </page>
1876
1877 <page name="backupencryption2">
1878 <object type="template" name="header" />
1879
1880 <object type="text" color="%text_color%">
1881 <font resource="font" />
1882 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1883 <text>Encrypt your backup? Please Enter Password Again:</text>
1884 </object>
1885
1886 <object type="input">
1887 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1888 <background color="%input_background_color%" />
1889 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1890 <font resource="font" color="%text_color%" />
1891 <text>%tw_backup_encrypt_display2%</text>
1892 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1893 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1894 <actions>
1895 <action function="page">checkbackuppassword</action>
1896 </actions>
1897 </object>
1898
1899 <object type="button">
1900 <highlight color="%highlight_color%" />
1901 <placement x="%col_center_x%" y="%cancel_button_y%" />
1902 <font resource="font" color="%button_text_color%" />
1903 <text>Cancel</text>
1904 <image resource="main_button" />
1905 <actions>
1906 <action function="set">tw_encrypt_backup=0</action>
1907 <action function="set">tw_backup_password=</action>
1908 <action function="set">tw_backup_password2=</action>
1909 <action function="set">tw_backup_encrypt_display=</action>
1910 <action function="set">tw_backup_encrypt_display2=</action>
1911 <action function="page">backup</action>
1912 </actions>
1913 </object>
1914
1915 <object type="template" name="keyboardtemplate" />
1916
1917 <object type="action">
1918 <touch key="home" />
1919 <action function="page">main</action>
1920 </object>
1921
1922 <object type="action">
1923 <touch key="back" />
1924 <action function="page">backup</action>
1925 </object>
1926
1927 <object type="template" name="footer" />
1928 </page>
1929
1930 <page name="checkbackuppassword">
1931 <object type="action">
1932 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1933 <actions>
1934 <action function="set">tw_encrypt_backup=1</action>
1935 <action function="page">backup</action>
1936 </actions>
1937 </object>
1938
1939 <object type="action">
1940 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1941 <actions>
1942 <action function="set">tw_encrypt_backup=0</action>
1943 <action function="set">tw_password_not_match=1</action>
1944 <action function="set">tw_backup_password=</action>
1945 <action function="set">tw_backup_password2=</action>
1946 <action function="set">tw_backup_encrypt_display=</action>
1947 <action function="set">tw_backup_encrypt_display2=</action>
1948 <action function="page">backupencryption</action>
1949 </actions>
1950 </object>
1951 </page>
1952
Dees_Troy51a0e822012-09-05 15:24:24 -04001953 <page name="backup_run">
1954 <object type="template" name="header" />
1955
1956 <object type="text" color="%text_color%">
1957 <font resource="font" />
1958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1959 <text>%tw_operation% %tw_partition%</text>
1960 </object>
1961
1962 <object type="template" name="action_page_console" />
1963
1964 <object type="template" name="progress_bar" />
1965
1966 <object type="action">
1967 <action function="nandroid">backup</action>
1968 </object>
1969
1970 <object type="action">
1971 <condition var1="tw_operation_state" var2="1" />
1972 <actions>
1973 <action function="set">tw_back=backup</action>
1974 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001975 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001976 <action function="page">action_complete</action>
1977 </actions>
1978 </object>
1979
1980 <object type="template" name="footer" />
1981 </page>
1982
1983 <page name="restore">
1984 <object type="template" name="header" />
1985
1986 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001987 <highlight color="%highlight_color%" />
1988 <fill color="%button_fill_color%" />
1989 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1990 <font resource="font" color="%button_text_color%" />
1991 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1992 <actions>
1993 <action function="set">tw_back=restore</action>
1994 <action function="page">selectstorage</action>
1995 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001996 </object>
1997
1998 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001999 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002000 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2001 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002002 <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 -04002003 <text>Select Package to Restore:</text>
2004 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2005 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002006 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002007 <icon folder="folder_icon" file="file_icon" />
2008 <background color="%fileselector_background%" />
2009 <filter folders="1" files="0" nav="0" />
2010 <path name="tw_backups_folder" />
2011 <data name="tw_restore" default="" />
2012 <selection name="tw_restore_name" />
2013 </object>
2014
2015 <object type="template" name="sort_options" />
2016
2017 <object type="action">
2018 <condition var1="tw_restore" op="modified" />
2019 <actions>
2020 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002021 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002022 </actions>
2023 </object>
2024
2025 <object type="action">
2026 <touch key="home" />
2027 <action function="page">main</action>
2028 </object>
2029
2030 <object type="action">
2031 <touch key="back" />
2032 <action function="page">main</action>
2033 </object>
2034
2035 <object type="template" name="footer" />
2036 </page>
2037
Dees_Troy83bd4832013-05-04 12:39:56 +00002038 <page name="restore_read">
2039 <object type="action">
2040 <condition var1="tw_restore_encrypted" var2="1" />
2041 <actions>
2042 <action function="set">tw_password_fail=0</action>
2043 <action function="page">restore_decrypt</action>
2044 </actions>
2045 </object>
2046
2047 <object type="action">
2048 <condition var1="tw_restore_encrypted" var2="0" />
2049 <actions>
2050 <action function="page">restore_select</action>
2051 </actions>
2052 </object>
2053 </page>
2054
2055 <page name="restore_decrypt">
2056 <object type="template" name="header" />
2057
2058 <object type="text" color="%text_color%">
2059 <font resource="font" />
2060 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2061 <text>Backup encrypted. Please enter your password:</text>
2062 </object>
2063
2064 <object type="input">
2065 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2066 <background color="%input_background_color%" />
2067 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2068 <font resource="font" color="%text_color%" />
2069 <text>%tw_restore_display%</text>
2070 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2071 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2072 <actions>
2073 <action function="page">try_restore_decrypt</action>
2074 </actions>
2075 </object>
2076
2077 <object type="text" color="%text_fail_color%">
2078 <condition var1="tw_password_fail" var2="1" />
2079 <font resource="font" />
2080 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2081 <text>Password Failed, Please Try Again</text>
2082 </object>
2083
2084 <object type="button">
2085 <highlight color="%highlight_color%" />
2086 <placement x="%col2_x%" y="%cancel_button_y%" />
2087 <font resource="font" color="%button_text_color%" />
2088 <text>Cancel</text>
2089 <image resource="main_button" />
2090 <actions>
2091 <action function="set">tw_page_done=1</action>
2092 <action function="page">restore</action>
2093 </actions>
2094 </object>
2095
2096 <object type="button">
2097 <highlight color="%highlight_color%" />
2098 <placement x="%col3_x%" y="%cancel_button_y%" />
2099 <font resource="font" color="%button_text_color%" />
2100 <text>Delete</text>
2101 <image resource="main_button" />
2102 <actions>
2103 <action function="set">tw_back=restore</action>
2104 <action function="set">tw_action=cmd</action>
2105 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2106 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2107 <action function="set">tw_text2=This cannot be undone!</action>
2108 <action function="set">tw_action_text1=Deleting Backup...</action>
2109 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2110 <action function="set">tw_slider_text=Swipe to Delete</action>
2111 <action function="page">confirm_action</action>
2112 </actions>
2113 </object>
2114
2115 <object type="template" name="keyboardtemplate" />
2116
2117 <object type="action">
2118 <touch key="home" />
2119 <action function="page">main</action>
2120 </object>
2121
2122 <object type="action">
2123 <touch key="back" />
2124 <action function="page">restore</action>
2125 </object>
2126
2127 <object type="template" name="footer" />
2128 </page>
2129
2130 <page name="try_restore_decrypt">
2131 <object type="template" name="header" />
2132
2133 <object type="text" color="%text_color%">
2134 <font resource="font" />
2135 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2136 <text>Trying Decryption with Your Password</text>
2137 </object>
2138
2139 <object type="template" name="action_page_console" />
2140
2141 <object type="template" name="progress_bar" />
2142
2143 <object type="action">
2144 <action function="decrypt_backup"></action>
2145 </object>
2146
2147 <object type="action">
2148 <conditions>
2149 <condition var1="tw_operation_state" var2="1" />
2150 <condition var1="tw_operation_status" op="!=" var2="0" />
2151 </conditions>
2152 <actions>
2153 <action function="set">tw_password_fail=1</action>
2154 <action function="page">restore_decrypt</action>
2155 </actions>
2156 </object>
2157
2158 <object type="action">
2159 <conditions>
2160 <condition var1="tw_operation_state" var2="1" />
2161 <condition var1="tw_operation_status" op="=" var2="0" />
2162 </conditions>
2163 <actions>
2164 <action function="set">tw_page_done=1</action>
2165 <action function="page">restore_select</action>
2166 </actions>
2167 </object>
2168 </page>
2169
Dees_Troy51a0e822012-09-05 15:24:24 -04002170 <page name="restore_select">
2171 <object type="template" name="header" />
2172
2173 <object type="text" color="%text_color%">
2174 <font resource="font" />
2175 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2176 <text>Package to Restore: %tw_restore_name%</text>
2177 </object>
2178
2179 <object type="text" color="%text_color%">
2180 <font resource="font" />
2181 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2182 <text>Package Date: %tw_restore_file_date%</text>
2183 </object>
2184
Dees_Troya13d74f2013-03-24 08:54:55 -05002185 <object type="partitionlist">
2186 <highlight color="%fileselector_highlight_color%" />
2187 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2188 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2189 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2190 <text>Select Partitions to Restore:</text>
2191 <icon selected="checkbox_true" unselected="checkbox_false" />
2192 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2193 <background color="%listbox_background%" />
2194 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2195 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2196 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002197 </object>
2198
2199 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002200 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002201 <font resource="font" color="%text_color%" />
2202 <text>Enable MD5 checking of backup files</text>
2203 <data variable="tw_skip_md5_check" />
2204 <image checked="checkbox_true" unchecked="checkbox_false" />
2205 </object>
2206
2207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002209 <placement x="%col4_x%" y="%row1_y%" />
2210 <font resource="font" color="%button_text_color%" />
2211 <text>Rename Backup</text>
2212 <image resource="main_button" />
2213 <actions>
2214 <action function="set">tw_backup_rename=</action>
2215 <action function="set">tw_fileexists=0</action>
2216 <action function="page">renamebackup</action>
2217 </actions>
2218 </object>
2219
2220 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002221 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002222 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002223 <font resource="font" color="%button_text_color%" />
2224 <text>Delete Backup</text>
2225 <image resource="main_button" />
2226 <actions>
2227 <action function="set">tw_back=restore</action>
2228 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002229 <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 -04002230 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2231 <action function="set">tw_text2=This cannot be undone!</action>
2232 <action function="set">tw_action_text1=Deleting Backup...</action>
2233 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2234 <action function="set">tw_slider_text=Swipe to Delete</action>
2235 <action function="page">confirm_action</action>
2236 </actions>
2237 </object>
2238
2239 <object type="slider">
2240 <placement x="%slider_x%" y="%slider_y%" />
2241 <resource base="slider" used="slider-used" touch="slider-touch" />
2242 <action function="page">restore_run</action>
2243 </object>
2244
2245 <object type="text" color="%text_color%">
2246 <font resource="font" />
2247 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2248 <text>Swipe to Restore</text>
2249 </object>
2250
2251 <object type="action">
2252 <touch key="home" />
2253 <action function="page">main</action>
2254 </object>
2255
2256 <object type="action">
2257 <touch key="back" />
2258 <action function="page">restore</action>
2259 </object>
2260
2261 <object type="template" name="footer" />
2262 </page>
2263
2264 <page name="renamebackup">
2265 <object type="template" name="header" />
2266
2267 <object type="text" color="%text_color%">
2268 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2269 <font resource="font" />
2270 <text>Please Enter a New Backup Name</text>
2271 </object>
2272
2273 <object type="input">
2274 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2275 <background color="%input_background_color%" />
2276 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2277 <font resource="font" color="%text_color%" />
2278 <text>%tw_backup_rename%</text>
2279 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002280 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002281 <actions>
2282 <action function="set">tw_back=restore</action>
2283 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002284 <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 -04002285 <action function="set">tw_text1=Rename Backup?</action>
2286 <action function="set">tw_text2=This cannot be undone!</action>
2287 <action function="set">tw_action_text1=Renaming Backup...</action>
2288 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2289 <action function="set">tw_slider_text=Swipe to Rename</action>
2290 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2291 <action function="set">tw_existpage=renamebackup</action>
2292 <action function="set">tw_notexistpage=confirm_action</action>
2293 <action function="page">filecheck</action>
2294 </actions>
2295 </object>
2296
2297 <object type="text" color="%text_fail_color%">
2298 <condition var1="tw_fileexists" var2="1" />
2299 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2300 <font resource="font" />
2301 <text>A backup with that name already exists!</text>
2302 </object>
2303
2304 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002305 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002306 <placement x="%col_center_x%" y="%cancel_button_y%" />
2307 <font resource="font" color="%button_text_color%" />
2308 <text>Cancel</text>
2309 <image resource="main_button" />
2310 <action function="page">restore_select</action>
2311 </object>
2312
2313 <object type="template" name="keyboardtemplate" />
2314
2315 <object type="action">
2316 <touch key="home" />
2317 <action function="page">main</action>
2318 </object>
2319
2320 <object type="action">
2321 <touch key="back" />
2322 <action function="page">restore_select</action>
2323 </object>
2324
2325 <object type="template" name="footer" />
2326 </page>
2327
2328 <page name="restore_run">
2329 <object type="template" name="header" />
2330
2331 <object type="text" color="%text_color%">
2332 <font resource="font" />
2333 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2334 <text>%tw_operation% %tw_partition%</text>
2335 </object>
2336
2337 <object type="template" name="action_page_console" />
2338
2339 <object type="template" name="progress_bar" />
2340
2341 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002342 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002343 <actions>
2344 <action function="set">tw_back=restore_select</action>
2345 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002346 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002347 <action function="page">action_complete</action>
2348 </actions>
2349 </object>
2350
2351 <object type="action">
2352 <action function="nandroid">restore</action>
2353 </object>
2354 </page>
2355
2356 <page name="settings">
2357 <object type="template" name="header" />
2358
2359 <object type="text" color="%text_color%">
2360 <font resource="font" />
2361 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2362 <text>Settings</text>
2363 </object>
2364
2365 <object type="checkbox">
2366 <placement x="%col1_x%" y="%row2_text_y%" />
2367 <font resource="font" color="%text_color%" />
2368 <text>Zip file signature verification?</text>
2369 <data variable="tw_signed_zip_verify" />
2370 <image checked="checkbox_true" unchecked="checkbox_false" />
2371 </object>
2372
2373 <object type="checkbox">
2374 <placement x="%col1_x%" y="%row3_text_y%" />
2375 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <text>Use rm -rf instead of formatting?</text>
2377 <data variable="tw_rm_rf" />
2378 <image checked="checkbox_true" unchecked="checkbox_false" />
2379 </object>
2380
2381 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002382 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <font resource="font" color="%text_color%" />
2384 <text>Skip MD5 generation on backups</text>
2385 <data variable="tw_skip_md5_generate" />
2386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002390 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <font resource="font" color="%text_color%" />
2392 <text>Enable MD5 checking of backup files</text>
2393 <data variable="tw_skip_md5_check" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002398 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002400 <text>Use Military Time</text>
2401 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002406 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <font resource="font" color="%text_color%" />
2408 <text>Simulate most actions for theme testing</text>
2409 <data variable="tw_simulate_actions" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="checkbox">
2414 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002415 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
2417 <text>Simulate failure for actions</text>
2418 <data variable="tw_simulate_fail" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <placement x="%col1_x%" y="%row2_y%" />
2425 <font resource="font" color="%button_text_color%" />
2426 <text>Time Zone</text>
2427 <image resource="main_button" />
2428 <action function="page">timezone</action>
2429 </object>
2430
2431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002432 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002433 <placement x="%col4_x%" y="%row2_y%" />
2434 <font resource="font" color="%button_text_color%" />
2435 <text>Screen</text>
2436 <image resource="main_button" />
2437 <action function="page">screen</action>
2438 </object>
2439
2440 <object type="button">
2441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <placement x="%col_center_x%" y="%slider_y%" />
2443 <font resource="font" color="%button_text_color%" />
2444 <text>Restore Defaults</text>
2445 <image resource="main_button" />
2446 <action function="restoredefaultsettings"></action>
2447 </object>
2448
2449 <object type="action">
2450 <touch key="home" />
2451 <action function="page">main</action>
2452 </object>
2453
2454 <object type="action">
2455 <touch key="back" />
2456 <action function="page">main</action>
2457 </object>
2458
2459 <object type="template" name="footer" />
2460 </page>
2461
2462 <page name="timezone">
2463 <object type="template" name="header" />
2464
2465 <object type="text" color="%text_color%">
2466 <font resource="font" />
2467 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2468 <text>Select Time Zone</text>
2469 </object>
2470
2471 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002472 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002474 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002475 <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 -06002476 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002477 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002478 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002480 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <data name="tw_time_zone_guisel" />
2482 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2483 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2484 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2485 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2486 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2487 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2488 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2489 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2490 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2491 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2492 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2493 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2494 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2495 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2496 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2497 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2498 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2499 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2500 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2501 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2502 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2503 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2504 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2505 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2506 </object>
2507
2508 <object type="checkbox">
2509 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2510 <font resource="font" color="%text_color%" />
2511 <text>Do you use daylight savings time (DST)?</text>
2512 <data variable="tw_time_zone_guidst" />
2513 <image checked="checkbox_true" unchecked="checkbox_false" />
2514 </object>
2515
2516 <object type="text" color="%text_color%">
2517 <font resource="font" />
2518 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2519 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2520 </object>
2521
2522 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002523 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2525 <font resource="font" color="%button_text_color%" />
2526 <text>0</text>
2527 <image resource="medium_button" />
2528 <action function="set">tw_time_zone_guioffset=0</action>
2529 </object>
2530
2531 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002532 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2534 <font resource="font" color="%button_text_color%" />
2535 <text>15</text>
2536 <image resource="medium_button" />
2537 <action function="set">tw_time_zone_guioffset=15</action>
2538 </object>
2539
2540 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002541 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2543 <font resource="font" color="%button_text_color%" />
2544 <text>30</text>
2545 <image resource="medium_button" />
2546 <action function="set">tw_time_zone_guioffset=30</action>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>45</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=45</action>
2556 </object>
2557
2558 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002559 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <placement x="%col4_x%" y="%row2_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>Set Time Zone</text>
2563 <image resource="main_button" />
2564 <action function="setguitimezone"></action>
2565 </object>
2566
2567 <object type="text" color="%text_color%">
2568 <font resource="font" />
2569 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2570 <text>Current Time Zone: %tw_time_zone%</text>
2571 </object>
2572
2573 <object type="action">
2574 <touch key="home" />
2575 <action function="page">main</action>
2576 </object>
2577
2578 <object type="action">
2579 <touch key="back" />
2580 <action function="page">settings</action>
2581 </object>
2582
2583 <object type="template" name="footer" />
2584 </page>
2585
Dees_Troy2f9117a2013-02-17 19:52:09 -06002586 <page name="screen">
2587 <object type="template" name="header" />
2588
2589 <object type="text" color="%text_color%">
2590 <font resource="font" />
2591 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2592 <text>Screen Settings</text>
2593 </object>
2594
Dees_Troy2f9117a2013-02-17 19:52:09 -06002595 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002596 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2597 <font resource="font" color="%text_color%" />
2598 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002599 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002600 <text>Enable screen timeout.</text>
2601 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002602 <action function="set">tw_screen_timeout_secs=60</action>
2603 </object>
2604
2605 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002606 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2607 <font resource="font" color="%text_color%" />
2608 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002609 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002610 <text>Enable screen timeout.</text>
2611 <image resource="checkbox_true" />
2612 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 </object>
2614
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <object type="slidervalue">
2616 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002617 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002618 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2619 <font resource="font" color="%text_color%" />
2620 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2621 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2622 <text>Screen timeout in seconds:</text>
2623 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002624 </object>
2625
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002627 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002628 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2629 <font resource="font" color="%text_color%" />
2630 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2631 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2632 <text>Brightness: %tw_brightness_pct%%</text>
2633 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <action function="set">tw_brightness=%tw_brightness_max%</action>
2636 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2637 <action function="compute">tw_brightness/100</action>
2638 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002639 </actions>
2640 </object>
2641
2642 <object type="action">
2643 <touch key="home" />
2644 <action function="page">main</action>
2645 </object>
2646
2647 <object type="action">
2648 <touch key="back" />
2649 <action function="page">settings</action>
2650 </object>
2651
2652 <object type="template" name="footer" />
2653 </page>
2654
Dees_Troy51a0e822012-09-05 15:24:24 -04002655 <page name="advanced">
2656 <object type="template" name="header" />
2657
2658 <object type="text" color="%text_color%">
2659 <font resource="font" />
2660 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2661 <text>Advanced</text>
2662 </object>
2663
2664 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002665 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002666 <placement x="%col1_x%" y="%row1_y%" />
2667 <font resource="font" color="%button_text_color%" />
2668 <text>Copy Log to SD</text>
2669 <image resource="main_button" />
2670 <actions>
2671 <action function="set">tw_back=advanced</action>
2672 <action function="set">tw_action=copylog</action>
2673 <action function="set">tw_text1=Copy Log to SD Card?</action>
2674 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2675 <action function="set">tw_complete_text1=Log Copy Complete</action>
2676 <action function="set">tw_slider_text=Swipe to Confirm</action>
2677 <action function="page">confirm_action</action>
2678 </actions>
2679 </object>
2680
2681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <placement x="%col2_x%" y="%row1_y%" />
2684 <font resource="font" color="%button_text_color%" />
2685 <text>Fix Permissions</text>
2686 <image resource="main_button" />
2687 <actions>
2688 <action function="set">tw_back=advanced</action>
2689 <action function="set">tw_action=fixpermissions</action>
2690 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002692 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2693 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002694 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002695 <action function="page">confirm_action</action>
2696 </actions>
2697 </object>
2698
2699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002701 <placement x="%col3_x%" y="%row1_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>Terminal Command</text>
2704 <image resource="main_button" />
2705 <action function="page">terminalfolder</action>
2706 </object>
2707
2708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002709 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002710 <placement x="%col4_x%" y="%row1_y%" />
2711 <font resource="font" color="%button_text_color%" />
2712 <text>ADB Sideload</text>
2713 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002714 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002715 </object>
2716
2717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <condition var1="tw_allow_partition_sdcard" var2="1" />
2720 <placement x="%col1_x%" y="%row2_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>Partition SD Card</text>
2723 <image resource="main_button" />
2724 <action function="page">partsdcard</action>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <placement x="%col2_x%" y="%row2_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>File Manager</text>
2732 <image resource="main_button" />
2733 <action function="page">filemanagerlist</action>
2734 </object>
2735
2736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002737 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002738 <placement x="%col3_x%" y="%row2_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>Reload Theme</text>
2741 <image resource="main_button" />
2742 <action function="reload"></action>
2743 </object>
2744
2745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <condition var1="tw_show_dumlock" var2="1" />
2748 <placement x="%col4_x%" y="%row2_y%" />
2749 <font resource="font" color="%button_text_color%" />
2750 <text>HTC Dumlock</text>
2751 <image resource="main_button" />
2752 <action function="page">htcdumlock</action>
2753 </object>
2754
2755 <object type="action">
2756 <touch key="home" />
2757 <action function="page">main</action>
2758 </object>
2759
2760 <object type="action">
2761 <touch key="back" />
2762 <action function="page">main</action>
2763 </object>
2764
2765 <object type="template" name="footer" />
2766 </page>
2767
2768 <page name="partsdcard">
2769 <object type="template" name="header" />
2770
2771 <object type="text" color="%text_color%">
2772 <font resource="font" />
2773 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2774 <text>Partition SD Card</text>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text></text>
2782 <image resource="minus_button" />
2783 <action function="addsubtract">tw_sdext_size-128</action>
2784 </object>
2785
2786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002787 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text></text>
2791 <image resource="plus_button" />
2792 <action function="addsubtract">tw_sdext_size+128</action>
2793 </object>
2794
2795 <object type="text" color="%text_color%">
2796 <font resource="font" />
2797 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2798 <text>EXT Size: %tw_sdext_size%</text>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text></text>
2806 <image resource="minus_button" />
2807 <action function="addsubtract">tw_swap_size-32</action>
2808 </object>
2809
2810 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002811 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text></text>
2815 <image resource="plus_button" />
2816 <action function="addsubtract">tw_swap_size+32</action>
2817 </object>
2818
2819 <object type="text" color="%text_color%">
2820 <font resource="font" />
2821 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2822 <text>Swap Size: %tw_swap_size%</text>
2823 </object>
2824
2825 <object type="text" color="%text_color%">
2826 <font resource="font" />
2827 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2828 <text>File system: %tw_sdpart_file_system%</text>
2829 </object>
2830
2831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002832 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text>EXT3</text>
2836 <image resource="medium_button" />
2837 <action function="set">tw_sdpart_file_system=ext3</action>
2838 </object>
2839
2840 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002841 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <condition var1="tw_sdext_disable_ext4" var2="0" />
2843 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2844 <font resource="font" color="%button_text_color%" />
2845 <text>EXT4</text>
2846 <image resource="medium_button" />
2847 <action function="set">tw_sdpart_file_system=ext4</action>
2848 </object>
2849
2850 <object type="text" color="%text_color%">
2851 <font resource="font" />
2852 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2853 <text>You will lose all files on your SD card!</text>
2854 </object>
2855
2856 <object type="text" color="%text_color%">
2857 <font resource="font" />
2858 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2859 <text>This action cannot be undone!</text>
2860 </object>
2861
2862 <object type="slider">
2863 <placement x="%slider_x%" y="%slider_y%" />
2864 <resource base="slider" used="slider-used" touch="slider-touch" />
2865 <actions>
2866 <action function="set">tw_back=partsdcard</action>
2867 <action function="set">tw_action=partitionsd</action>
2868 <action function="set">tw_has_action2=1</action>
2869 <action function="set">tw_action2=set</action>
2870 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2871 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2872 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002873 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002874 <action function="page">action_page</action>
2875 </actions>
2876 </object>
2877
2878 <object type="text" color="%text_color%">
2879 <font resource="font" />
2880 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2881 <text>Swipe to Confirm Partition</text>
2882 </object>
2883
2884 <object type="action">
2885 <touch key="home" />
2886 <action function="page">main</action>
2887 </object>
2888
2889 <object type="action">
2890 <touch key="back" />
2891 <action function="page">advanced</action>
2892 </object>
2893
2894 <object type="template" name="footer" />
2895 </page>
2896
2897
2898 <page name="htcdumlock">
2899 <object type="template" name="header" />
2900
2901 <object type="text" color="%text_color%">
2902 <font resource="font" />
2903 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2904 <text>HTC Dumlock</text>
2905 </object>
2906
2907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002908 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <condition var1="tw_show_dumlock" var2="1" />
2910 <placement x="%col1_x%" y="%row1_y%" />
2911 <font resource="font" color="%button_text_color%" />
2912 <text>Restore Original Boot</text>
2913 <image resource="main_button" />
2914 <actions>
2915 <action function="set">tw_back=htcdumlock</action>
2916 <action function="set">tw_action=htcdumlockrestoreboot</action>
2917 <action function="set">tw_text1=Restore original boot image?</action>
2918 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2919 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2920 <action function="set">tw_slider_text=Swipe to Confirm</action>
2921 <action function="page">confirm_action</action>
2922 </actions>
2923 </object>
2924
2925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002926 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002927 <condition var1="tw_show_dumlock" var2="1" />
2928 <placement x="%col2_x%" y="%row1_y%" />
2929 <font resource="font" color="%button_text_color%" />
2930 <text>Reflash Recovery->Boot</text>
2931 <image resource="main_button" />
2932 <actions>
2933 <action function="set">tw_back=htcdumlock</action>
2934 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2935 <action function="set">tw_text1=Reflash recovery to boot?</action>
2936 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2937 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2938 <action function="set">tw_slider_text=Swipe to Confirm</action>
2939 <action function="page">confirm_action</action>
2940 </actions>
2941 </object>
2942
2943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002944 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002945 <condition var1="tw_show_dumlock" var2="1" />
2946 <placement x="%col1_x%" y="%row2_y%" />
2947 <font resource="font" color="%button_text_color%" />
2948 <text>Install HTC Dumlock</text>
2949 <image resource="main_button" />
2950 <actions>
2951 <action function="set">tw_back=htcdumlock</action>
2952 <action function="set">tw_action=installhtcdumlock</action>
2953 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2954 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2955 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2956 <action function="set">tw_slider_text=Swipe to Confirm</action>
2957 <action function="page">confirm_action</action>
2958 </actions>
2959 </object>
2960
2961 <object type="action">
2962 <touch key="home" />
2963 <action function="page">main</action>
2964 </object>
2965
2966 <object type="action">
2967 <touch key="back" />
2968 <action function="page">advanced</action>
2969 </object>
2970
2971 <object type="template" name="footer" />
2972 </page>
2973
2974 <page name="lock">
2975 <background color="#000000A0" />
2976
2977 <object type="image">
2978 <image resource="unlock-icon" />
2979 <placement x="%lock_x%" y="%lock_y%" />
2980 </object>
2981
2982 <object type="slider">
2983 <placement x="%slider_x%" y="%slider_y%" />
2984 <resource base="slider" used="slider-used" touch="slider-touch" />
2985 <action function="overlay"></action>
2986 </object>
2987
2988 <object type="text" color="%text_color%">
2989 <font resource="font" />
2990 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2991 <text>Swipe to Unlock</text>
2992 </object>
2993 </page>
2994
2995
2996 <page name="filemanagerlist">
2997 <object type="template" name="header" />
2998
2999 <object type="text" color="%text_color%">
3000 <font resource="font" />
3001 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3002 <text>File Manager: Select a File or Folder</text>
3003 </object>
3004
3005 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003006 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003007 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3008 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003009 <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 -04003010 <text>Folders:</text>
3011 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3012 <sort name="tw_gui_sort_order" />
3013 <icon folder="folder_icon" file="file_icon" />
3014 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003015 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003016 <filter folders="1" files="0" />
3017 <path name="tw_file_location1" default="/sdcard" />
3018 <data name="select" />
3019 <selection name="tw_selection1" />
3020 </object>
3021
3022 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003023 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3025 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003026 <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 -04003027 <text>%tw_file_location1%</text>
3028 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3029 <sort name="tw_gui_sort_order" />
3030 <icon folder="folder_icon" file="file_icon" />
3031 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003032 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003033 <filter folders="0" files="1" />
3034 <path name="tw_file_location1" default="/" />
3035 <data name="tw_filename1" />
3036 <selection name="tw_selection1" />
3037 </object>
3038
3039 <object type="template" name="sort_options" />
3040
3041 <object type="action">
3042 <actions>
3043 <action function="set">tw_fm_type=File</action>
3044 <action function="set">tw_fm_isfolder=0</action>
3045 </actions>
3046 </object>
3047
3048 <object type="action">
3049 <touch key="home" />
3050 <action function="page">main</action>
3051 </object>
3052
3053 <object type="action">
3054 <touch key="back" />
3055 <action function="page">advanced</action>
3056 </object>
3057
3058 <object type="action">
3059 <condition var1="tw_filename1" op="modified" />
3060 <actions>
3061 <action function="page">filemanageroptions</action>
3062 </actions>
3063 </object>
3064
3065 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003066 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003067 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3068 <font resource="font" color="%button_text_color%" />
3069 <text>Select Folder</text>
3070 <image resource="main_button" />
3071 <actions>
3072 <action function="set">tw_filename1=tw_file_location1</action>
3073 <action function="set">tw_fm_isfolder=1</action>
3074 <action function="set">tw_fm_type=Folder</action>
3075 <action function="page">filemanageroptions</action>
3076 </actions>
3077 </object>
3078
3079 <object type="template" name="footer" />
3080 </page>
3081
3082 <page name="filemanageroptions">
3083 <object type="template" name="header" />
3084
3085 <object type="text" color="%text_color%">
3086 <font resource="font" />
3087 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3088 <text>%tw_fm_type% Selected:</text>
3089 </object>
3090
3091 <object type="text" color="%text_color%">
3092 <font resource="font" />
3093 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3094 <text>%tw_filename1%</text>
3095 </object>
3096
3097 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003098 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003099 <condition var1="tw_fm_isfolder" var2="0" />
3100 <placement x="%col1_x%" y="%row2_y%" />
3101 <font resource="font" color="%button_text_color%" />
3102 <text>Copy File</text>
3103 <image resource="main_button" />
3104 <actions>
3105 <action function="set">tw_filemanager_command=cp</action>
3106 <action function="set">tw_fm_text1=Copying</action>
3107 <action function="page">choosedestinationfolder</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <condition var1="tw_fm_isfolder" var2="1" />
3114 <placement x="%col1_x%" y="%row2_y%" />
3115 <font resource="font" color="%button_text_color%" />
3116 <text>Copy Folder</text>
3117 <image resource="main_button" />
3118 <actions>
3119 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3120 <action function="set">tw_fm_text1=Copying</action>
3121 <action function="page">choosedestinationfolder</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <placement x="%col2_x%" y="%row2_y%" />
3128 <font resource="font" color="%button_text_color%" />
3129 <text>Move</text>
3130 <image resource="main_button" />
3131 <actions>
3132 <action function="set">tw_filemanager_command=mv</action>
3133 <action function="set">tw_fm_text1=Moving</action>
3134 <action function="page">choosedestinationfolder</action>
3135 </actions>
3136 </object>
3137
3138 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003139 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003140 <placement x="%col3_x%" y="%row2_y%" />
3141 <font resource="font" color="%button_text_color%" />
3142 <text>chmod 755</text>
3143 <image resource="main_button" />
3144 <actions>
3145 <action function="set">tw_filemanager_command=chmod 755</action>
3146 <action function="set">tw_fm_text1=chmod 755</action>
3147 <action function="set">tw_fm_text2=</action>
3148 <action function="set">tw_fm_text3=</action>
3149 <action function="set">tw_include_text3=0</action>
3150 <action function="set">tw_back=filemanageroptions</action>
3151 <action function="page">filemanagerconfirm</action>
3152 </actions>
3153 </object>
3154
3155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003157 <placement x="%col4_x%" y="%row2_y%" />
3158 <font resource="font" color="%button_text_color%" />
3159 <text>chmod</text>
3160 <image resource="main_button" />
3161 <actions>
3162 <action function="set">tw_filemanager_rename=0000</action>
3163 <action function="set">tw_fm_text2=</action>
3164 <action function="set">tw_fm_text3=</action>
3165 <action function="set">tw_include_text3=0</action>
3166 <action function="set">tw_back=filemanageroptions</action>
3167 <action function="page">filemanagerchmod</action>
3168 </actions>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003173 <placement x="%col1_x%" y="%row1_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Delete</text>
3176 <image resource="main_button" />
3177 <actions>
3178 <action function="set">tw_filemanager_command=rm -rf</action>
3179 <action function="set">tw_fm_text1=Deleting</action>
3180 <action function="set">tw_fm_text2=</action>
3181 <action function="set">tw_fm_text3=</action>
3182 <action function="set">tw_include_text3=0</action>
3183 <action function="set">tw_back=filemanageroptions</action>
3184 <action function="page">filemanagerconfirm</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <condition var1="tw_fm_isfolder" var2="0" />
3191 <placement x="%col4_x%" y="%row1_y%" />
3192 <font resource="font" color="%button_text_color%" />
3193 <text>Rename File</text>
3194 <image resource="main_button" />
3195 <actions>
3196 <action function="set">tw_filemanager_rename=tw_selection1</action>
3197 <action function="set">tw_fm_text1=Renaming</action>
3198 <action function="set">tw_filemanager_command=mv</action>
3199 <action function="page">filemanagerrenamefile</action>
3200 </actions>
3201 </object>
3202
3203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003205 <condition var1="tw_fm_isfolder" var2="1" />
3206 <placement x="%col4_x%" y="%row1_y%" />
3207 <font resource="font" color="%button_text_color%" />
3208 <text>Rename Folder</text>
3209 <image resource="main_button" />
3210 <actions>
3211 <action function="set">tw_filemanager_rename=tw_selection1</action>
3212 <action function="set">tw_fm_text1=Renaming</action>
3213 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3214 <action function="page">filemanagerrenamefolder</action>
3215 </actions>
3216 </object>
3217
3218 <object type="action">
3219 <touch key="home" />
3220 <action function="page">main</action>
3221 </object>
3222
3223 <object type="action">
3224 <touch key="back" />
3225 <action function="page">filemanagerlist</action>
3226 </object>
3227
3228 <object type="template" name="footer" />
3229 </page>
3230
3231 <page name="choosedestinationfolder">
3232 <object type="template" name="header" />
3233
3234 <object type="text" color="%text_color%">
3235 <font resource="font" />
3236 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3237 <text>Browse to Destination Folder & Press Select</text>
3238 </object>
3239
3240 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003241 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003242 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3243 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003244 <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 -04003245 <text>%tw_file_location2%</text>
3246 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3247 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003248 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <icon folder="folder_icon" file="file_icon" />
3250 <background color="%fileselector_background%" />
3251 <filter folders="1" files="0" />
3252 <path name="tw_file_location2" default="/sdcard" />
3253 <data name="tw_filename2" />
3254 </object>
3255
3256 <object type="template" name="sort_options" />
3257
3258 <object type="action">
3259 <touch key="home" />
3260 <action function="page">main</action>
3261 </object>
3262
3263 <object type="action">
3264 <touch key="back" />
3265 <action function="page">filemanageroptions</action>
3266 </object>
3267
3268 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003269 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003270 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Select Folder</text>
3273 <image resource="main_button" />
3274 <actions>
3275 <action function="set">tw_fm_text2=to</action>
3276 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3277 <action function="set">tw_include_text3=1</action>
3278 <action function="set">tw_back=filemanageroptions</action>
3279 <action function="page">filemanagerconfirm</action>
3280 </actions>
3281 </object>
3282
3283 <object type="template" name="footer" />
3284 </page>
3285
3286 <page name="filemanagerrenamefile">
3287 <object type="template" name="header" />
3288
3289 <object type="text" color="%text_color%">
3290 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3291 <font resource="font" />
3292 <text>Please Enter a New %tw_fm_type% Name</text>
3293 </object>
3294
3295 <object type="input">
3296 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3297 <background color="%input_background_color%" />
3298 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3299 <font resource="font" color="%text_color%" />
3300 <text>%tw_filemanager_rename%</text>
3301 <data name="tw_filemanager_rename" />
3302 <restrict minlen="1" maxlen="128" />
3303 <actions>
3304 <action function="set">tw_fm_text2=to</action>
3305 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3306 <action function="set">tw_include_text3=1</action>
3307 <action function="set">tw_back=filemanageroptions</action>
3308 <action function="page">filemanagerconfirm</action>
3309 </actions>
3310 </object>
3311
3312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003313 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003314 <placement x="%col_center_x%" y="%cancel_button_y%" />
3315 <font resource="font" color="%button_text_color%" />
3316 <text>Cancel</text>
3317 <image resource="main_button" />
3318 <action function="page">filemanageroptions</action>
3319 </object>
3320
3321 <object type="template" name="keyboardtemplate" />
3322
3323 <object type="action">
3324 <touch key="home" />
3325 <action function="page">main</action>
3326 </object>
3327
3328 <object type="action">
3329 <touch key="back" />
3330 <action function="page">filemanageroptions</action>
3331 </object>
3332
3333 <object type="template" name="footer" />
3334 </page>
3335
3336 <page name="filemanagerrenamefolder">
3337 <object type="template" name="header" />
3338
3339 <object type="text" color="%text_color%">
3340 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3341 <font resource="font" />
3342 <text>Please Enter a New %tw_fm_type% Name</text>
3343 </object>
3344
3345 <object type="input">
3346 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3347 <background color="%input_background_color%" />
3348 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3349 <font resource="font" color="%text_color%" />
3350 <text>%tw_filemanager_rename%</text>
3351 <data name="tw_filemanager_rename" />
3352 <restrict minlen="1" maxlen="128" />
3353 <actions>
3354 <action function="set">tw_fm_text2=to</action>
3355 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3356 <action function="set">tw_include_text3=1</action>
3357 <action function="set">tw_back=filemanageroptions</action>
3358 <action function="page">filemanagerconfirm</action>
3359 </actions>
3360 </object>
3361
3362 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003364 <placement x="%col_center_x%" y="%cancel_button_y%" />
3365 <font resource="font" color="%button_text_color%" />
3366 <text>Cancel</text>
3367 <image resource="main_button" />
3368 <action function="page">filemanageroptions</action>
3369 </object>
3370
3371 <object type="template" name="keyboardtemplate" />
3372
3373 <object type="action">
3374 <touch key="home" />
3375 <action function="page">main</action>
3376 </object>
3377
3378 <object type="action">
3379 <touch key="back" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="footer" />
3384 </page>
3385
3386 <page name="filemanagerchmod">
3387 <object type="template" name="header" />
3388
3389 <object type="text" color="%text_color%">
3390 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3391 <font resource="font" />
3392 <text>Please Enter New Permissions</text>
3393 </object>
3394
3395 <object type="input">
3396 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3397 <background color="%input_background_color%" />
3398 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3399 <font resource="font" color="%text_color%" />
3400 <text>%tw_filemanager_rename%</text>
3401 <data name="tw_filemanager_rename" />
3402 <restrict minlen="3" maxlen="4" allow="0123456789" />
3403 <actions>
3404 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3405 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3406 <action function="set">tw_back=filemanageroptions</action>
3407 <action function="page">filemanagerconfirm</action>
3408 </actions>
3409 </object>
3410
3411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003413 <placement x="%col_center_x%" y="%cancel_button_y%" />
3414 <font resource="font" color="%button_text_color%" />
3415 <text>Cancel</text>
3416 <image resource="main_button" />
3417 <action function="page">filemanageroptions</action>
3418 </object>
3419
3420 <object type="template" name="keyboardtemplate" />
3421
3422 <object type="action">
3423 <touch key="home" />
3424 <action function="page">main</action>
3425 </object>
3426
3427 <object type="action">
3428 <touch key="back" />
3429 <action function="page">filemanageroptions</action>
3430 </object>
3431
3432 <object type="template" name="footer" />
3433 </page>
3434
3435 <page name="filemanagerconfirm">
3436 <object type="template" name="header" />
3437
3438 <object type="text" color="%text_color%">
3439 <font resource="font" />
3440 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3441 <text>%tw_fm_text1%</text>
3442 </object>
3443
3444 <object type="text" color="%text_color%">
3445 <font resource="font" />
3446 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3447 <text>%tw_filename1%</text>
3448 </object>
3449
3450 <object type="text" color="%text_color%">
3451 <font resource="font" />
3452 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3453 <text>%tw_fm_text2%</text>
3454 </object>
3455
3456 <object type="text" color="%text_color%">
3457 <font resource="font" />
3458 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3459 <text>%tw_fm_text3%</text>
3460 </object>
3461
3462 <object type="text" color="%text_color%">
3463 <font resource="font" />
3464 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3465 <text>Press back button to cancel.</text>
3466 </object>
3467
3468 <object type="slider">
3469 <placement x="%slider_x%" y="%slider_y%" />
3470 <resource base="slider" used="slider-used" touch="slider-touch" />
3471 <action function="page">filemanageracction</action>
3472 </object>
3473
3474 <object type="text" color="%text_color%">
3475 <font resource="font" />
3476 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3477 <text>Swipe to Confirm</text>
3478 </object>
3479
3480 <object type="action">
3481 <touch key="back" />
3482 <action function="page">%tw_back%</action>
3483 </object>
3484
3485 <object type="action">
3486 <touch key="home" />
3487 <action function="page">main</action>
3488 </object>
3489
3490 <object type="template" name="footer" />
3491 </page>
3492
3493 <page name="filemanageracction">
3494 <object type="template" name="header" />
3495
3496 <object type="text" color="%text_color%">
3497 <font resource="font" />
3498 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3499 <text>%tw_fm_text1%</text>
3500 </object>
3501
3502 <object type="template" name="action_page_console" />
3503
3504 <object type="template" name="progress_bar" />
3505
3506 <object type="action">
3507 <conditions>
3508 <condition var1="tw_operation_state" var2="1" />
3509 <condition var1="tw_operation_status" var2="0" />
3510 </conditions>
3511 <actions>
3512 <action function="set">tw_back=filemanagerlist</action>
3513 <action function="set">tw_complete_text1=File Operation Complete</action>
3514 <action function="page">action_complete</action>
3515 </actions>
3516 </object>
3517
3518 <object type="action">
3519 <conditions>
3520 <condition var1="tw_operation_state" var2="1" />
3521 <condition var1="tw_operation_status" op="!=" var2="0" />
3522 </conditions>
3523 <actions>
3524 <action function="set">tw_complete_text1=File Operation Complete</action>
3525 <action function="page">action_complete</action>
3526 </actions>
3527 </object>
3528
3529 <object type="action">
3530 <condition var1="tw_include_text3" var2="0" />
3531 <actions>
3532 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3533 </actions>
3534 </object>
3535
3536 <object type="action">
3537 <condition var1="tw_include_text3" var2="1" />
3538 <actions>
3539 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3540 </actions>
3541 </object>
3542 </page>
3543
3544 <page name="decrypt">
3545 <object type="template" name="header" />
3546
3547 <object type="text" color="%text_color%">
3548 <font resource="font" />
3549 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3550 <text>Please Enter Your Password</text>
3551 </object>
3552
3553 <object type="input">
3554 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3555 <background color="%input_background_color%" />
3556 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3557 <font resource="font" color="%text_color%" />
3558 <text>%tw_crypto_display%</text>
3559 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3560 <restrict minlen="1" maxlen="254" />
3561 <actions>
3562 <action function="page">trydecrypt</action>
3563 </actions>
3564 </object>
3565
3566 <object type="text" color="%text_fail_color%">
3567 <condition var1="tw_password_fail" var2="1" />
3568 <font resource="font" />
3569 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3570 <text>Password Failed, Please Try Again</text>
3571 </object>
3572
3573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003574 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003575 <placement x="%col_center_x%" y="%cancel_button_y%" />
3576 <font resource="font" color="%button_text_color%" />
3577 <text>Cancel</text>
3578 <image resource="main_button" />
3579 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003580 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003581 <action function="page">main</action>
3582 </actions>
3583 </object>
3584
3585 <object type="template" name="keyboardtemplate" />
3586
Dees_Troy51a0e822012-09-05 15:24:24 -04003587 <object type="template" name="footer" />
3588 </page>
3589
3590 <page name="trydecrypt">
3591 <object type="template" name="header" />
3592
3593 <object type="text" color="%text_color%">
3594 <font resource="font" />
3595 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3596 <text>Trying Decryption with Your Password</text>
3597 </object>
3598
3599 <object type="template" name="action_page_console" />
3600
3601 <object type="template" name="progress_bar" />
3602
3603 <object type="action">
3604 <action function="decrypt"></action>
3605 </object>
3606
3607 <object type="action">
3608 <conditions>
3609 <condition var1="tw_operation_state" var2="1" />
3610 <condition var1="tw_operation_status" op="!=" var2="0" />
3611 </conditions>
3612 <actions>
3613 <action function="set">tw_password_fail=1</action>
3614 <action function="page">decrypt</action>
3615 </actions>
3616 </object>
3617
3618 <object type="action">
3619 <conditions>
3620 <condition var1="tw_operation_state" var2="1" />
3621 <condition var1="tw_operation_status" op="=" var2="0" />
3622 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003623 <actions>
3624 <action function="set">tw_page_done=1</action>
3625 <action function="page">main</action>
3626 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003627 </object>
3628 </page>
3629
3630 <page name="terminalfolder">
3631 <object type="template" name="header" />
3632
3633 <object type="text" color="%text_color%">
3634 <font resource="font" />
3635 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3636 <text>Browse to Starting Folder</text>
3637 </object>
3638
3639 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003640 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003641 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3642 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003643 <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 -04003644 <text>%tw_terminal_location%</text>
3645 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3646 <sort name="tw_gui_sort_order" />
3647 <icon folder="folder_icon" file="file_icon" />
3648 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003649 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003650 <filter folders="1" files="0" />
3651 <path name="tw_terminal_location" default="/" />
3652 <data name="tw_terminal" />
3653 <selection name="tw_terminal_selection" />
3654 </object>
3655
3656 <object type="template" name="sort_options" />
3657
3658 <object type="action">
3659 <touch key="home" />
3660 <action function="page">main</action>
3661 </object>
3662
3663 <object type="action">
3664 <touch key="back" />
3665 <action function="page">advanced</action>
3666 </object>
3667
3668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003670 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3671 <font resource="font" color="%button_text_color%" />
3672 <text>Select Folder</text>
3673 <image resource="main_button" />
3674 <actions>
3675 <action function="page">terminalcommand</action>
3676 </actions>
3677 </object>
3678
3679 <object type="template" name="footer" />
3680 </page>
3681
3682 <page name="terminalcommand">
3683 <background color="#000000FF" />
3684
3685 <object type="console">
3686 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3687 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3688 <font resource="fixed" />
3689 </object>
3690
3691 <object type="text" color="%text_color%">
3692 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3693 <font resource="font" />
3694 <text>Starting Path: %tw_terminal_location%</text>
3695 </object>
3696
3697 <object type="input">
3698 <condition var1="tw_terminal_state" var2="0" />
3699 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3700 <background color="%input_background_color%" />
3701 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3702 <font resource="font" color="%text_color%" />
3703 <text>%tw_terminal_command%</text>
3704 <data name="tw_terminal_command" />
3705 <restrict minlen="1" />
3706 <action function="terminalcommand">%tw_terminal_command%</action>
3707 </object>
3708
3709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003711 <condition var1="tw_terminal_state" var2="1" />
3712 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3713 <font resource="font" color="%button_text_color%" />
3714 <text>KILL</text>
3715 <image resource="medium_button" />
3716 <action function="killterminal"></action>
3717 </object>
3718
3719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003721 <placement x="%home_button_x%" y="%terminal_button_y%" />
3722 <font resource="font" color="%button_text_color%" />
3723 <text></text>
3724 <image resource="home_icon" />
3725 <condition var1="tw_busy" var2="0" />
3726 <action function="key">home</action>
3727 </object>
3728
3729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003731 <placement x="%back_button_x%" y="%terminal_button_y%" />
3732 <font resource="font" color="%button_text_color%" />
3733 <text></text>
3734 <image resource="back_icon" />
3735 <condition var1="tw_busy" var2="0" />
3736 <action function="key">back</action>
3737 </object>
3738
3739 <object type="action">
3740 <touch key="power" />
3741 <action function="overlay">lock</action>
3742 </object>
3743
3744 <object type="template" name="keyboardtemplate" />
3745
3746 <object type="action">
3747 <touch key="home" />
3748 <action function="page">main</action>
3749 </object>
3750
3751 <object type="action">
3752 <touch key="back" />
3753 <action function="page">terminalfolder</action>
3754 </object>
3755 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003756
3757 <page name="sideload">
3758 <object type="template" name="header" />
3759
3760 <object type="text" color="%text_color%">
3761 <font resource="font" />
3762 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3763 <text>ADB Sideload</text>
3764 </object>
3765
3766 <object type="checkbox">
3767 <placement x="%col1_x%" y="%row3_text_y%" />
3768 <font resource="font" color="%text_color%" />
3769 <text>Wipe Dalvik Cache.</text>
3770 <data variable="tw_wipe_dalvik" />
3771 <image checked="checkbox_true" unchecked="checkbox_false" />
3772 </object>
3773
3774 <object type="checkbox">
3775 <placement x="%col1_x%" y="%row4_text_y%" />
3776 <font resource="font" color="%text_color%" />
3777 <text>Wipe Cache.</text>
3778 <data variable="tw_wipe_cache" />
3779 <image checked="checkbox_true" unchecked="checkbox_false" />
3780 </object>
3781
3782 <object type="slider">
3783 <placement x="%slider_x%" y="%slider_y%" />
3784 <resource base="slider" used="slider-used" touch="slider-touch" />
3785 <actions>
3786 <action function="set">tw_back=advanced</action>
3787 <action function="set">tw_action=adbsideload</action>
3788 <action function="set">tw_action_text1=ADB Sideload</action>
3789 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3790 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3791 <action function="set">tw_has_cancel=1</action>
3792 <action function="set">tw_show_reboot=1</action>
3793 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3794 <action function="page">action_page</action>
3795 </actions>
3796 </object>
3797
3798 <object type="text" color="%text_color%">
3799 <font resource="font" />
3800 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3801 <text>Swipe to Start Sideload</text>
3802 </object>
3803
3804 <object type="action">
3805 <touch key="home" />
3806 <action function="page">main</action>
3807 </object>
3808
3809 <object type="action">
3810 <touch key="back" />
3811 <action function="page">advanced</action>
3812 </object>
3813
3814 <object type="template" name="footer" />
3815 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003816
3817 <page name="installsu">
3818 <object type="template" name="header" />
3819
3820 <object type="text" color="%text_color%">
3821 <font resource="font" />
3822 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3823 <text>Install SuperSU?</text>
3824 </object>
3825
3826 <object type="text" color="%text_color%">
3827 <font resource="font" />
3828 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3829 <text>Your device does not appear to be rooted.</text>
3830 </object>
3831
3832 <object type="text" color="%text_color%">
3833 <font resource="font" />
3834 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3835 <text>Install SuperSU now? This will root your device.</text>
3836 </object>
3837
3838 <object type="button">
3839 <highlight color="%highlight_color%" />
3840 <placement x="%col_center_x%" y="%row2_medium_y%" />
3841 <font resource="font" color="%button_text_color%" />
3842 <text>Do Not Install</text>
3843 <image resource="main_button" />
3844 <action function="set">tw_page_done=1</action>
3845 </object>
3846
3847 <object type="slider">
3848 <placement x="%slider_x%" y="%slider_y%" />
3849 <resource base="slider" used="slider-used" touch="slider-touch" />
3850 <actions>
3851 <action function="set">tw_action=installsu</action>
3852 <action function="set">tw_action_text1=Installing SuperSU</action>
3853 <action function="set">tw_action_text2=</action>
3854 <action function="page">singleaction_page</action>
3855 </actions>
3856 </object>
3857
3858 <object type="text" color="%text_color%">
3859 <font resource="font" />
3860 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3861 <text>Swipe to Install</text>
3862 </object>
3863 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003864 </pages>
3865</recovery>