blob: f1ec1443ec237ebd077a6a94c0fb8cd27efb5546 [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="600" />
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="600" />
54 <variable name="col_progressbar_x" value="386" />
55 <variable name="row_progressbar_y" value="540" />
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="200" />
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="440" />
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="195" />
94 <variable name="nandcheck_row3" value="240" />
95 <variable name="nandcheck_row4" value="285" />
96 <variable name="nandcheck_row5" value="330" />
97 <variable name="nandcheck_row6" value="375" />
98 <variable name="nandcheck_row7" value="410" />
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="470" />
106 <variable name="slider_text_y" value="520" />
107 <variable name="sort_text_x" value="270" />
108 <variable name="sort_asc_text_y" value="510" />
109 <variable name="sort_asc_button_y" value="505" />
110 <variable name="sort_desc_text_y" value="545" />
111 <variable name="sort_desc_button_y" value="542" />
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="382" />
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" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500152 <variable name="fastscroll_linecolor" value="#808080" />
153 <variable name="fastscroll_rectcolor" value="#808080" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100154 <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="495" />
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="220" />
174 <variable name="terminal_console_y" value="0" />
175 <variable name="terminal_console_height" value="300" />
176 <variable name="terminal_text_y" value="307" />
177 <variable name="terminal_button_y" value="298" />
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="360" />
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="320" />
194 <variable name="mount_list_height" value="400" />
195 <variable name="mount_storage_row" value="500" />
196 <variable name="wipe_list_height" value="300" />
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="340" />
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="265" />
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="497" />
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="341" />
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="65" width="92" />
380 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="104:c:8" />
381 <row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" />
382 <row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
383 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
384 </layout1>
385 <layout2>
386 <keysize height="65" width="92" />
387 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="104:c:8" />
388 <row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" />
389 <row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
390 <row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
391 </layout2>
392 <layout3>
393 <keysize height="65" width="92" />
394 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" />
395 <row2 key01="138:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" />
396 <row3 key01="102:layout4" key02="91:<" key03="91:>" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" />
397 <row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" />
398 </layout3>
399 <layout4>
400 <keysize height="65" width="92" />
401 <row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" />
402 <row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" />
403 <row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" />
404 <row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " />
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%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002433 <placement x="%col2_x%" y="%row2_y%" />
2434 <font resource="font" color="%button_text_color%" />
2435 <text>Restore Defaults</text>
2436 <image resource="main_button" />
2437 <action function="restoredefaultsettings"></action>
2438 </object>
2439
2440 <object type="button">
2441 <highlight color="%highlight_color%" />
2442 <placement x="%col3_x%" y="%row2_y%" />
2443 <font resource="font" color="%button_text_color%" />
2444 <text>Vibration Duration</text>
2445 <image resource="main_button" />
2446 <action function="page">Vibrate</action>
2447 </object>
2448
2449 <object type="button">
2450 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002451 <placement x="%col4_x%" y="%row2_y%" />
2452 <font resource="font" color="%button_text_color%" />
2453 <text>Screen</text>
2454 <image resource="main_button" />
2455 <action function="page">screen</action>
2456 </object>
2457
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <object type="action">
2459 <touch key="home" />
2460 <action function="page">main</action>
2461 </object>
2462
2463 <object type="action">
2464 <touch key="back" />
2465 <action function="page">main</action>
2466 </object>
2467
2468 <object type="template" name="footer" />
2469 </page>
2470
2471 <page name="timezone">
2472 <object type="template" name="header" />
2473
2474 <object type="text" color="%text_color%">
2475 <font resource="font" />
2476 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2477 <text>Select Time Zone</text>
2478 </object>
2479
2480 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002481 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002483 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002484 <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 -06002485 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002487 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002489 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002490 <data name="tw_time_zone_guisel" />
2491 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2492 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2493 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2494 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2495 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2496 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2497 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2498 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2499 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2500 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2501 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2502 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2503 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2504 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2505 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2506 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2507 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2508 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2509 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2510 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2511 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2512 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2513 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2514 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2515 </object>
2516
2517 <object type="checkbox">
2518 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2519 <font resource="font" color="%text_color%" />
2520 <text>Do you use daylight savings time (DST)?</text>
2521 <data variable="tw_time_zone_guidst" />
2522 <image checked="checkbox_true" unchecked="checkbox_false" />
2523 </object>
2524
2525 <object type="text" color="%text_color%">
2526 <font resource="font" />
2527 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2528 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
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="%col1_medium_x%" y="%row_offsetmedium_y%" />
2534 <font resource="font" color="%button_text_color%" />
2535 <text>0</text>
2536 <image resource="medium_button" />
2537 <action function="set">tw_time_zone_guioffset=0</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="%col2_medium_x%" y="%row_offsetmedium_y%" />
2543 <font resource="font" color="%button_text_color%" />
2544 <text>15</text>
2545 <image resource="medium_button" />
2546 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offsetmedium_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>30</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=30</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_medium_x%" y="%row_offsetmedium_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>45</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=45</action>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <placement x="%col4_x%" y="%row2_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>Set Time Zone</text>
2572 <image resource="main_button" />
2573 <action function="setguitimezone"></action>
2574 </object>
2575
2576 <object type="text" color="%text_color%">
2577 <font resource="font" />
2578 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2579 <text>Current Time Zone: %tw_time_zone%</text>
2580 </object>
2581
2582 <object type="action">
2583 <touch key="home" />
2584 <action function="page">main</action>
2585 </object>
2586
2587 <object type="action">
2588 <touch key="back" />
2589 <action function="page">settings</action>
2590 </object>
2591
2592 <object type="template" name="footer" />
2593 </page>
2594
Dees_Troy2f9117a2013-02-17 19:52:09 -06002595 <page name="screen">
2596 <object type="template" name="header" />
2597
2598 <object type="text" color="%text_color%">
2599 <font resource="font" />
2600 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2601 <text>Screen Settings</text>
2602 </object>
2603
Dees_Troy2f9117a2013-02-17 19:52:09 -06002604 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002605 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2606 <font resource="font" color="%text_color%" />
2607 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002608 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002609 <text>Enable screen timeout.</text>
2610 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002611 <action function="set">tw_screen_timeout_secs=60</action>
2612 </object>
2613
2614 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2616 <font resource="font" color="%text_color%" />
2617 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002618 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002619 <text>Enable screen timeout.</text>
2620 <image resource="checkbox_true" />
2621 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002622 </object>
2623
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <object type="slidervalue">
2625 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002626 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2628 <font resource="font" color="%text_color%" />
2629 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2630 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2631 <text>Screen timeout in seconds:</text>
2632 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002633 </object>
2634
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002636 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002637 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2638 <font resource="font" color="%text_color%" />
2639 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2640 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2641 <text>Brightness: %tw_brightness_pct%%</text>
2642 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002643 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <action function="set">tw_brightness=%tw_brightness_max%</action>
2645 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2646 <action function="compute">tw_brightness/100</action>
2647 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002648 </actions>
2649 </object>
2650
2651 <object type="action">
2652 <touch key="home" />
2653 <action function="page">main</action>
2654 </object>
2655
2656 <object type="action">
2657 <touch key="back" />
2658 <action function="page">settings</action>
2659 </object>
2660
2661 <object type="template" name="footer" />
2662 </page>
2663
Ethan Yonker03db3262014-02-05 08:02:06 -06002664 <page name="Vibrate">
2665 <object type="template" name="header" />
2666
2667 <object type="text" color="%text_color%">
2668 <font resource="font" />
2669 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2670 <text>Vibration Settings :</text>
2671 </object>
2672
2673 <object type="slidervalue">
2674 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2675 <font resource="font" color="%text_color%" />
2676 <text>Button Vibration:</text>
2677 <data variable="tw_button_vibrate" min="0" max="300" />
2678 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2679 </object>
2680
2681 <object type="slidervalue">
2682 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2683 <font resource="font" color="%text_color%" />
2684 <text>Keyboard Vibration:</text>
2685 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2686 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2687 </object>
2688
2689 <object type="slidervalue">
2690 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2691 <font resource="font" color="%text_color%" />
2692 <text>Action Vibration:</text>
2693 <data variable="tw_action_vibrate" min="0" max="500" />
2694 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2695 </object>
2696
2697 <object type="action">
2698 <touch key="home" />
2699 <action function="page">main</action>
2700 </object>
2701
2702 <object type="action">
2703 <touch key="back" />
2704 <action function="page">settings</action>
2705 </object>
2706
2707 <object type="template" name="footer" />
2708 </page>
2709
Dees_Troy51a0e822012-09-05 15:24:24 -04002710 <page name="advanced">
2711 <object type="template" name="header" />
2712
2713 <object type="text" color="%text_color%">
2714 <font resource="font" />
2715 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2716 <text>Advanced</text>
2717 </object>
2718
2719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002721 <placement x="%col1_x%" y="%row1_y%" />
2722 <font resource="font" color="%button_text_color%" />
2723 <text>Copy Log to SD</text>
2724 <image resource="main_button" />
2725 <actions>
2726 <action function="set">tw_back=advanced</action>
2727 <action function="set">tw_action=copylog</action>
2728 <action function="set">tw_text1=Copy Log to SD Card?</action>
2729 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2730 <action function="set">tw_complete_text1=Log Copy Complete</action>
2731 <action function="set">tw_slider_text=Swipe to Confirm</action>
2732 <action function="page">confirm_action</action>
2733 </actions>
2734 </object>
2735
2736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002738 <placement x="%col2_x%" y="%row1_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>Fix Permissions</text>
2741 <image resource="main_button" />
2742 <actions>
2743 <action function="set">tw_back=advanced</action>
2744 <action function="set">tw_action=fixpermissions</action>
2745 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2748 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002749 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <action function="page">confirm_action</action>
2751 </actions>
2752 </object>
2753
2754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <placement x="%col3_x%" y="%row1_y%" />
2757 <font resource="font" color="%button_text_color%" />
2758 <text>Terminal Command</text>
2759 <image resource="main_button" />
2760 <action function="page">terminalfolder</action>
2761 </object>
2762
2763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002764 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002765 <placement x="%col4_x%" y="%row1_y%" />
2766 <font resource="font" color="%button_text_color%" />
2767 <text>ADB Sideload</text>
2768 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002769 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002774 <condition var1="tw_allow_partition_sdcard" var2="1" />
2775 <placement x="%col1_x%" y="%row2_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text>Partition SD Card</text>
2778 <image resource="main_button" />
2779 <action function="page">partsdcard</action>
2780 </object>
2781
2782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <placement x="%col2_x%" y="%row2_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>File Manager</text>
2787 <image resource="main_button" />
2788 <action function="page">filemanagerlist</action>
2789 </object>
2790
2791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002792 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002793 <placement x="%col3_x%" y="%row2_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>Reload Theme</text>
2796 <image resource="main_button" />
2797 <action function="reload"></action>
2798 </object>
2799
2800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002801 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002802 <condition var1="tw_show_dumlock" var2="1" />
2803 <placement x="%col4_x%" y="%row2_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>HTC Dumlock</text>
2806 <image resource="main_button" />
2807 <action function="page">htcdumlock</action>
2808 </object>
2809
2810 <object type="action">
2811 <touch key="home" />
2812 <action function="page">main</action>
2813 </object>
2814
2815 <object type="action">
2816 <touch key="back" />
2817 <action function="page">main</action>
2818 </object>
2819
2820 <object type="template" name="footer" />
2821 </page>
2822
2823 <page name="partsdcard">
2824 <object type="template" name="header" />
2825
2826 <object type="text" color="%text_color%">
2827 <font resource="font" />
2828 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2829 <text>Partition SD Card</text>
2830 </object>
2831
2832 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002833 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002834 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2835 <font resource="font" color="%button_text_color%" />
2836 <text></text>
2837 <image resource="minus_button" />
2838 <action function="addsubtract">tw_sdext_size-128</action>
2839 </object>
2840
2841 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002842 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002843 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2844 <font resource="font" color="%button_text_color%" />
2845 <text></text>
2846 <image resource="plus_button" />
2847 <action function="addsubtract">tw_sdext_size+128</action>
2848 </object>
2849
2850 <object type="text" color="%text_color%">
2851 <font resource="font" />
2852 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2853 <text>EXT Size: %tw_sdext_size%</text>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text></text>
2861 <image resource="minus_button" />
2862 <action function="addsubtract">tw_swap_size-32</action>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2868 <font resource="font" color="%button_text_color%" />
2869 <text></text>
2870 <image resource="plus_button" />
2871 <action function="addsubtract">tw_swap_size+32</action>
2872 </object>
2873
2874 <object type="text" color="%text_color%">
2875 <font resource="font" />
2876 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2877 <text>Swap Size: %tw_swap_size%</text>
2878 </object>
2879
2880 <object type="text" color="%text_color%">
2881 <font resource="font" />
2882 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2883 <text>File system: %tw_sdpart_file_system%</text>
2884 </object>
2885
2886 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002887 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002888 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2889 <font resource="font" color="%button_text_color%" />
2890 <text>EXT3</text>
2891 <image resource="medium_button" />
2892 <action function="set">tw_sdpart_file_system=ext3</action>
2893 </object>
2894
2895 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002896 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002897 <condition var1="tw_sdext_disable_ext4" var2="0" />
2898 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2899 <font resource="font" color="%button_text_color%" />
2900 <text>EXT4</text>
2901 <image resource="medium_button" />
2902 <action function="set">tw_sdpart_file_system=ext4</action>
2903 </object>
2904
2905 <object type="text" color="%text_color%">
2906 <font resource="font" />
2907 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2908 <text>You will lose all files on your SD card!</text>
2909 </object>
2910
2911 <object type="text" color="%text_color%">
2912 <font resource="font" />
2913 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2914 <text>This action cannot be undone!</text>
2915 </object>
2916
2917 <object type="slider">
2918 <placement x="%slider_x%" y="%slider_y%" />
2919 <resource base="slider" used="slider-used" touch="slider-touch" />
2920 <actions>
2921 <action function="set">tw_back=partsdcard</action>
2922 <action function="set">tw_action=partitionsd</action>
2923 <action function="set">tw_has_action2=1</action>
2924 <action function="set">tw_action2=set</action>
2925 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2926 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2927 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002928 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002929 <action function="page">action_page</action>
2930 </actions>
2931 </object>
2932
2933 <object type="text" color="%text_color%">
2934 <font resource="font" />
2935 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2936 <text>Swipe to Confirm Partition</text>
2937 </object>
2938
2939 <object type="action">
2940 <touch key="home" />
2941 <action function="page">main</action>
2942 </object>
2943
2944 <object type="action">
2945 <touch key="back" />
2946 <action function="page">advanced</action>
2947 </object>
2948
2949 <object type="template" name="footer" />
2950 </page>
2951
2952
2953 <page name="htcdumlock">
2954 <object type="template" name="header" />
2955
2956 <object type="text" color="%text_color%">
2957 <font resource="font" />
2958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2959 <text>HTC Dumlock</text>
2960 </object>
2961
2962 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002963 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002964 <condition var1="tw_show_dumlock" var2="1" />
2965 <placement x="%col1_x%" y="%row1_y%" />
2966 <font resource="font" color="%button_text_color%" />
2967 <text>Restore Original Boot</text>
2968 <image resource="main_button" />
2969 <actions>
2970 <action function="set">tw_back=htcdumlock</action>
2971 <action function="set">tw_action=htcdumlockrestoreboot</action>
2972 <action function="set">tw_text1=Restore original boot image?</action>
2973 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2974 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2975 <action function="set">tw_slider_text=Swipe to Confirm</action>
2976 <action function="page">confirm_action</action>
2977 </actions>
2978 </object>
2979
2980 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002981 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002982 <condition var1="tw_show_dumlock" var2="1" />
2983 <placement x="%col2_x%" y="%row1_y%" />
2984 <font resource="font" color="%button_text_color%" />
2985 <text>Reflash Recovery->Boot</text>
2986 <image resource="main_button" />
2987 <actions>
2988 <action function="set">tw_back=htcdumlock</action>
2989 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2990 <action function="set">tw_text1=Reflash recovery to boot?</action>
2991 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2992 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2993 <action function="set">tw_slider_text=Swipe to Confirm</action>
2994 <action function="page">confirm_action</action>
2995 </actions>
2996 </object>
2997
2998 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002999 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003000 <condition var1="tw_show_dumlock" var2="1" />
3001 <placement x="%col1_x%" y="%row2_y%" />
3002 <font resource="font" color="%button_text_color%" />
3003 <text>Install HTC Dumlock</text>
3004 <image resource="main_button" />
3005 <actions>
3006 <action function="set">tw_back=htcdumlock</action>
3007 <action function="set">tw_action=installhtcdumlock</action>
3008 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3009 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3010 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3011 <action function="set">tw_slider_text=Swipe to Confirm</action>
3012 <action function="page">confirm_action</action>
3013 </actions>
3014 </object>
3015
3016 <object type="action">
3017 <touch key="home" />
3018 <action function="page">main</action>
3019 </object>
3020
3021 <object type="action">
3022 <touch key="back" />
3023 <action function="page">advanced</action>
3024 </object>
3025
3026 <object type="template" name="footer" />
3027 </page>
3028
3029 <page name="lock">
3030 <background color="#000000A0" />
3031
3032 <object type="image">
3033 <image resource="unlock-icon" />
3034 <placement x="%lock_x%" y="%lock_y%" />
3035 </object>
3036
3037 <object type="slider">
3038 <placement x="%slider_x%" y="%slider_y%" />
3039 <resource base="slider" used="slider-used" touch="slider-touch" />
3040 <action function="overlay"></action>
3041 </object>
3042
3043 <object type="text" color="%text_color%">
3044 <font resource="font" />
3045 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3046 <text>Swipe to Unlock</text>
3047 </object>
3048 </page>
3049
3050
3051 <page name="filemanagerlist">
3052 <object type="template" name="header" />
3053
3054 <object type="text" color="%text_color%">
3055 <font resource="font" />
3056 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3057 <text>File Manager: Select a File or Folder</text>
3058 </object>
3059
3060 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003061 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003062 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3063 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003064 <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 -04003065 <text>Folders:</text>
3066 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3067 <sort name="tw_gui_sort_order" />
3068 <icon folder="folder_icon" file="file_icon" />
3069 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003070 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003071 <filter folders="1" files="0" />
3072 <path name="tw_file_location1" default="/sdcard" />
3073 <data name="select" />
3074 <selection name="tw_selection1" />
3075 </object>
3076
3077 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003078 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3080 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003081 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003082 <text>%tw_file_location1%</text>
3083 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3084 <sort name="tw_gui_sort_order" />
3085 <icon folder="folder_icon" file="file_icon" />
3086 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003087 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003088 <filter folders="0" files="1" />
3089 <path name="tw_file_location1" default="/" />
3090 <data name="tw_filename1" />
3091 <selection name="tw_selection1" />
3092 </object>
3093
3094 <object type="template" name="sort_options" />
3095
3096 <object type="action">
3097 <actions>
3098 <action function="set">tw_fm_type=File</action>
3099 <action function="set">tw_fm_isfolder=0</action>
3100 </actions>
3101 </object>
3102
3103 <object type="action">
3104 <touch key="home" />
3105 <action function="page">main</action>
3106 </object>
3107
3108 <object type="action">
3109 <touch key="back" />
3110 <action function="page">advanced</action>
3111 </object>
3112
3113 <object type="action">
3114 <condition var1="tw_filename1" op="modified" />
3115 <actions>
3116 <action function="page">filemanageroptions</action>
3117 </actions>
3118 </object>
3119
3120 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003121 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3123 <font resource="font" color="%button_text_color%" />
3124 <text>Select Folder</text>
3125 <image resource="main_button" />
3126 <actions>
3127 <action function="set">tw_filename1=tw_file_location1</action>
3128 <action function="set">tw_fm_isfolder=1</action>
3129 <action function="set">tw_fm_type=Folder</action>
3130 <action function="page">filemanageroptions</action>
3131 </actions>
3132 </object>
3133
3134 <object type="template" name="footer" />
3135 </page>
3136
3137 <page name="filemanageroptions">
3138 <object type="template" name="header" />
3139
3140 <object type="text" color="%text_color%">
3141 <font resource="font" />
3142 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3143 <text>%tw_fm_type% Selected:</text>
3144 </object>
3145
3146 <object type="text" color="%text_color%">
3147 <font resource="font" />
3148 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3149 <text>%tw_filename1%</text>
3150 </object>
3151
3152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003153 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003154 <condition var1="tw_fm_isfolder" var2="0" />
3155 <placement x="%col1_x%" y="%row2_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Copy File</text>
3158 <image resource="main_button" />
3159 <actions>
3160 <action function="set">tw_filemanager_command=cp</action>
3161 <action function="set">tw_fm_text1=Copying</action>
3162 <action function="page">choosedestinationfolder</action>
3163 </actions>
3164 </object>
3165
3166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003167 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003168 <condition var1="tw_fm_isfolder" var2="1" />
3169 <placement x="%col1_x%" y="%row2_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>Copy Folder</text>
3172 <image resource="main_button" />
3173 <actions>
3174 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3175 <action function="set">tw_fm_text1=Copying</action>
3176 <action function="page">choosedestinationfolder</action>
3177 </actions>
3178 </object>
3179
3180 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003181 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003182 <placement x="%col2_x%" y="%row2_y%" />
3183 <font resource="font" color="%button_text_color%" />
3184 <text>Move</text>
3185 <image resource="main_button" />
3186 <actions>
3187 <action function="set">tw_filemanager_command=mv</action>
3188 <action function="set">tw_fm_text1=Moving</action>
3189 <action function="page">choosedestinationfolder</action>
3190 </actions>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <placement x="%col3_x%" y="%row2_y%" />
3196 <font resource="font" color="%button_text_color%" />
3197 <text>chmod 755</text>
3198 <image resource="main_button" />
3199 <actions>
3200 <action function="set">tw_filemanager_command=chmod 755</action>
3201 <action function="set">tw_fm_text1=chmod 755</action>
3202 <action function="set">tw_fm_text2=</action>
3203 <action function="set">tw_fm_text3=</action>
3204 <action function="set">tw_include_text3=0</action>
3205 <action function="set">tw_back=filemanageroptions</action>
3206 <action function="page">filemanagerconfirm</action>
3207 </actions>
3208 </object>
3209
3210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003211 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003212 <placement x="%col4_x%" y="%row2_y%" />
3213 <font resource="font" color="%button_text_color%" />
3214 <text>chmod</text>
3215 <image resource="main_button" />
3216 <actions>
3217 <action function="set">tw_filemanager_rename=0000</action>
3218 <action function="set">tw_fm_text2=</action>
3219 <action function="set">tw_fm_text3=</action>
3220 <action function="set">tw_include_text3=0</action>
3221 <action function="set">tw_back=filemanageroptions</action>
3222 <action function="page">filemanagerchmod</action>
3223 </actions>
3224 </object>
3225
3226 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003227 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003228 <placement x="%col1_x%" y="%row1_y%" />
3229 <font resource="font" color="%button_text_color%" />
3230 <text>Delete</text>
3231 <image resource="main_button" />
3232 <actions>
3233 <action function="set">tw_filemanager_command=rm -rf</action>
3234 <action function="set">tw_fm_text1=Deleting</action>
3235 <action function="set">tw_fm_text2=</action>
3236 <action function="set">tw_fm_text3=</action>
3237 <action function="set">tw_include_text3=0</action>
3238 <action function="set">tw_back=filemanageroptions</action>
3239 <action function="page">filemanagerconfirm</action>
3240 </actions>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <condition var1="tw_fm_isfolder" var2="0" />
3246 <placement x="%col4_x%" y="%row1_y%" />
3247 <font resource="font" color="%button_text_color%" />
3248 <text>Rename File</text>
3249 <image resource="main_button" />
3250 <actions>
3251 <action function="set">tw_filemanager_rename=tw_selection1</action>
3252 <action function="set">tw_fm_text1=Renaming</action>
3253 <action function="set">tw_filemanager_command=mv</action>
3254 <action function="page">filemanagerrenamefile</action>
3255 </actions>
3256 </object>
3257
3258 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003259 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003260 <condition var1="tw_fm_isfolder" var2="1" />
3261 <placement x="%col4_x%" y="%row1_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Rename Folder</text>
3264 <image resource="main_button" />
3265 <actions>
3266 <action function="set">tw_filemanager_rename=tw_selection1</action>
3267 <action function="set">tw_fm_text1=Renaming</action>
3268 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3269 <action function="page">filemanagerrenamefolder</action>
3270 </actions>
3271 </object>
3272
3273 <object type="action">
3274 <touch key="home" />
3275 <action function="page">main</action>
3276 </object>
3277
3278 <object type="action">
3279 <touch key="back" />
3280 <action function="page">filemanagerlist</action>
3281 </object>
3282
3283 <object type="template" name="footer" />
3284 </page>
3285
3286 <page name="choosedestinationfolder">
3287 <object type="template" name="header" />
3288
3289 <object type="text" color="%text_color%">
3290 <font resource="font" />
3291 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3292 <text>Browse to Destination Folder & Press Select</text>
3293 </object>
3294
3295 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003296 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003297 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3298 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003299 <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 -04003300 <text>%tw_file_location2%</text>
3301 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3302 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003303 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <icon folder="folder_icon" file="file_icon" />
3305 <background color="%fileselector_background%" />
3306 <filter folders="1" files="0" />
3307 <path name="tw_file_location2" default="/sdcard" />
3308 <data name="tw_filename2" />
3309 </object>
3310
3311 <object type="template" name="sort_options" />
3312
3313 <object type="action">
3314 <touch key="home" />
3315 <action function="page">main</action>
3316 </object>
3317
3318 <object type="action">
3319 <touch key="back" />
3320 <action function="page">filemanageroptions</action>
3321 </object>
3322
3323 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003324 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003325 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3326 <font resource="font" color="%button_text_color%" />
3327 <text>Select Folder</text>
3328 <image resource="main_button" />
3329 <actions>
3330 <action function="set">tw_fm_text2=to</action>
3331 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3332 <action function="set">tw_include_text3=1</action>
3333 <action function="set">tw_back=filemanageroptions</action>
3334 <action function="page">filemanagerconfirm</action>
3335 </actions>
3336 </object>
3337
3338 <object type="template" name="footer" />
3339 </page>
3340
3341 <page name="filemanagerrenamefile">
3342 <object type="template" name="header" />
3343
3344 <object type="text" color="%text_color%">
3345 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3346 <font resource="font" />
3347 <text>Please Enter a New %tw_fm_type% Name</text>
3348 </object>
3349
3350 <object type="input">
3351 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3352 <background color="%input_background_color%" />
3353 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3354 <font resource="font" color="%text_color%" />
3355 <text>%tw_filemanager_rename%</text>
3356 <data name="tw_filemanager_rename" />
3357 <restrict minlen="1" maxlen="128" />
3358 <actions>
3359 <action function="set">tw_fm_text2=to</action>
3360 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3361 <action function="set">tw_include_text3=1</action>
3362 <action function="set">tw_back=filemanageroptions</action>
3363 <action function="page">filemanagerconfirm</action>
3364 </actions>
3365 </object>
3366
3367 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003368 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003369 <placement x="%col_center_x%" y="%cancel_button_y%" />
3370 <font resource="font" color="%button_text_color%" />
3371 <text>Cancel</text>
3372 <image resource="main_button" />
3373 <action function="page">filemanageroptions</action>
3374 </object>
3375
3376 <object type="template" name="keyboardtemplate" />
3377
3378 <object type="action">
3379 <touch key="home" />
3380 <action function="page">main</action>
3381 </object>
3382
3383 <object type="action">
3384 <touch key="back" />
3385 <action function="page">filemanageroptions</action>
3386 </object>
3387
3388 <object type="template" name="footer" />
3389 </page>
3390
3391 <page name="filemanagerrenamefolder">
3392 <object type="template" name="header" />
3393
3394 <object type="text" color="%text_color%">
3395 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3396 <font resource="font" />
3397 <text>Please Enter a New %tw_fm_type% Name</text>
3398 </object>
3399
3400 <object type="input">
3401 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3402 <background color="%input_background_color%" />
3403 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3404 <font resource="font" color="%text_color%" />
3405 <text>%tw_filemanager_rename%</text>
3406 <data name="tw_filemanager_rename" />
3407 <restrict minlen="1" maxlen="128" />
3408 <actions>
3409 <action function="set">tw_fm_text2=to</action>
3410 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3411 <action function="set">tw_include_text3=1</action>
3412 <action function="set">tw_back=filemanageroptions</action>
3413 <action function="page">filemanagerconfirm</action>
3414 </actions>
3415 </object>
3416
3417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003419 <placement x="%col_center_x%" y="%cancel_button_y%" />
3420 <font resource="font" color="%button_text_color%" />
3421 <text>Cancel</text>
3422 <image resource="main_button" />
3423 <action function="page">filemanageroptions</action>
3424 </object>
3425
3426 <object type="template" name="keyboardtemplate" />
3427
3428 <object type="action">
3429 <touch key="home" />
3430 <action function="page">main</action>
3431 </object>
3432
3433 <object type="action">
3434 <touch key="back" />
3435 <action function="page">filemanageroptions</action>
3436 </object>
3437
3438 <object type="template" name="footer" />
3439 </page>
3440
3441 <page name="filemanagerchmod">
3442 <object type="template" name="header" />
3443
3444 <object type="text" color="%text_color%">
3445 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3446 <font resource="font" />
3447 <text>Please Enter New Permissions</text>
3448 </object>
3449
3450 <object type="input">
3451 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3452 <background color="%input_background_color%" />
3453 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3454 <font resource="font" color="%text_color%" />
3455 <text>%tw_filemanager_rename%</text>
3456 <data name="tw_filemanager_rename" />
3457 <restrict minlen="3" maxlen="4" allow="0123456789" />
3458 <actions>
3459 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3460 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3461 <action function="set">tw_back=filemanageroptions</action>
3462 <action function="page">filemanagerconfirm</action>
3463 </actions>
3464 </object>
3465
3466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003468 <placement x="%col_center_x%" y="%cancel_button_y%" />
3469 <font resource="font" color="%button_text_color%" />
3470 <text>Cancel</text>
3471 <image resource="main_button" />
3472 <action function="page">filemanageroptions</action>
3473 </object>
3474
3475 <object type="template" name="keyboardtemplate" />
3476
3477 <object type="action">
3478 <touch key="home" />
3479 <action function="page">main</action>
3480 </object>
3481
3482 <object type="action">
3483 <touch key="back" />
3484 <action function="page">filemanageroptions</action>
3485 </object>
3486
3487 <object type="template" name="footer" />
3488 </page>
3489
3490 <page name="filemanagerconfirm">
3491 <object type="template" name="header" />
3492
3493 <object type="text" color="%text_color%">
3494 <font resource="font" />
3495 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3496 <text>%tw_fm_text1%</text>
3497 </object>
3498
3499 <object type="text" color="%text_color%">
3500 <font resource="font" />
3501 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3502 <text>%tw_filename1%</text>
3503 </object>
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3508 <text>%tw_fm_text2%</text>
3509 </object>
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3514 <text>%tw_fm_text3%</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3520 <text>Press back button to cancel.</text>
3521 </object>
3522
3523 <object type="slider">
3524 <placement x="%slider_x%" y="%slider_y%" />
3525 <resource base="slider" used="slider-used" touch="slider-touch" />
3526 <action function="page">filemanageracction</action>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3532 <text>Swipe to Confirm</text>
3533 </object>
3534
3535 <object type="action">
3536 <touch key="back" />
3537 <action function="page">%tw_back%</action>
3538 </object>
3539
3540 <object type="action">
3541 <touch key="home" />
3542 <action function="page">main</action>
3543 </object>
3544
3545 <object type="template" name="footer" />
3546 </page>
3547
3548 <page name="filemanageracction">
3549 <object type="template" name="header" />
3550
3551 <object type="text" color="%text_color%">
3552 <font resource="font" />
3553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3554 <text>%tw_fm_text1%</text>
3555 </object>
3556
3557 <object type="template" name="action_page_console" />
3558
3559 <object type="template" name="progress_bar" />
3560
3561 <object type="action">
3562 <conditions>
3563 <condition var1="tw_operation_state" var2="1" />
3564 <condition var1="tw_operation_status" var2="0" />
3565 </conditions>
3566 <actions>
3567 <action function="set">tw_back=filemanagerlist</action>
3568 <action function="set">tw_complete_text1=File Operation Complete</action>
3569 <action function="page">action_complete</action>
3570 </actions>
3571 </object>
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" op="!=" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_complete_text1=File Operation Complete</action>
3580 <action function="page">action_complete</action>
3581 </actions>
3582 </object>
3583
3584 <object type="action">
3585 <condition var1="tw_include_text3" var2="0" />
3586 <actions>
3587 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3588 </actions>
3589 </object>
3590
3591 <object type="action">
3592 <condition var1="tw_include_text3" var2="1" />
3593 <actions>
3594 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3595 </actions>
3596 </object>
3597 </page>
3598
3599 <page name="decrypt">
3600 <object type="template" name="header" />
3601
3602 <object type="text" color="%text_color%">
3603 <font resource="font" />
3604 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3605 <text>Please Enter Your Password</text>
3606 </object>
3607
3608 <object type="input">
3609 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3610 <background color="%input_background_color%" />
3611 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3612 <font resource="font" color="%text_color%" />
3613 <text>%tw_crypto_display%</text>
3614 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3615 <restrict minlen="1" maxlen="254" />
3616 <actions>
3617 <action function="page">trydecrypt</action>
3618 </actions>
3619 </object>
3620
3621 <object type="text" color="%text_fail_color%">
3622 <condition var1="tw_password_fail" var2="1" />
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3625 <text>Password Failed, Please Try Again</text>
3626 </object>
3627
3628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003630 <placement x="%col_center_x%" y="%cancel_button_y%" />
3631 <font resource="font" color="%button_text_color%" />
3632 <text>Cancel</text>
3633 <image resource="main_button" />
3634 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003635 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <action function="page">main</action>
3637 </actions>
3638 </object>
3639
3640 <object type="template" name="keyboardtemplate" />
3641
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <object type="template" name="footer" />
3643 </page>
3644
3645 <page name="trydecrypt">
3646 <object type="template" name="header" />
3647
3648 <object type="text" color="%text_color%">
3649 <font resource="font" />
3650 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3651 <text>Trying Decryption with Your Password</text>
3652 </object>
3653
3654 <object type="template" name="action_page_console" />
3655
3656 <object type="template" name="progress_bar" />
3657
3658 <object type="action">
3659 <action function="decrypt"></action>
3660 </object>
3661
3662 <object type="action">
3663 <conditions>
3664 <condition var1="tw_operation_state" var2="1" />
3665 <condition var1="tw_operation_status" op="!=" var2="0" />
3666 </conditions>
3667 <actions>
3668 <action function="set">tw_password_fail=1</action>
3669 <action function="page">decrypt</action>
3670 </actions>
3671 </object>
3672
3673 <object type="action">
3674 <conditions>
3675 <condition var1="tw_operation_state" var2="1" />
3676 <condition var1="tw_operation_status" op="=" var2="0" />
3677 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003678 <actions>
3679 <action function="set">tw_page_done=1</action>
3680 <action function="page">main</action>
3681 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003682 </object>
3683 </page>
3684
3685 <page name="terminalfolder">
3686 <object type="template" name="header" />
3687
3688 <object type="text" color="%text_color%">
3689 <font resource="font" />
3690 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3691 <text>Browse to Starting Folder</text>
3692 </object>
3693
3694 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003695 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003696 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3697 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003698 <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 -04003699 <text>%tw_terminal_location%</text>
3700 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3701 <sort name="tw_gui_sort_order" />
3702 <icon folder="folder_icon" file="file_icon" />
3703 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003704 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 <filter folders="1" files="0" />
3706 <path name="tw_terminal_location" default="/" />
3707 <data name="tw_terminal" />
3708 <selection name="tw_terminal_selection" />
3709 </object>
3710
3711 <object type="template" name="sort_options" />
3712
3713 <object type="action">
3714 <touch key="home" />
3715 <action function="page">main</action>
3716 </object>
3717
3718 <object type="action">
3719 <touch key="back" />
3720 <action function="page">advanced</action>
3721 </object>
3722
3723 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003724 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003725 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3726 <font resource="font" color="%button_text_color%" />
3727 <text>Select Folder</text>
3728 <image resource="main_button" />
3729 <actions>
3730 <action function="page">terminalcommand</action>
3731 </actions>
3732 </object>
3733
3734 <object type="template" name="footer" />
3735 </page>
3736
3737 <page name="terminalcommand">
3738 <background color="#000000FF" />
3739
3740 <object type="console">
3741 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3742 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3743 <font resource="fixed" />
3744 </object>
3745
3746 <object type="text" color="%text_color%">
3747 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3748 <font resource="font" />
3749 <text>Starting Path: %tw_terminal_location%</text>
3750 </object>
3751
3752 <object type="input">
3753 <condition var1="tw_terminal_state" var2="0" />
3754 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3755 <background color="%input_background_color%" />
3756 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3757 <font resource="font" color="%text_color%" />
3758 <text>%tw_terminal_command%</text>
3759 <data name="tw_terminal_command" />
3760 <restrict minlen="1" />
3761 <action function="terminalcommand">%tw_terminal_command%</action>
3762 </object>
3763
3764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <condition var1="tw_terminal_state" var2="1" />
3767 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3768 <font resource="font" color="%button_text_color%" />
3769 <text>KILL</text>
3770 <image resource="medium_button" />
3771 <action function="killterminal"></action>
3772 </object>
3773
3774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003776 <placement x="%home_button_x%" y="%terminal_button_y%" />
3777 <font resource="font" color="%button_text_color%" />
3778 <text></text>
3779 <image resource="home_icon" />
3780 <condition var1="tw_busy" var2="0" />
3781 <action function="key">home</action>
3782 </object>
3783
3784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003786 <placement x="%back_button_x%" y="%terminal_button_y%" />
3787 <font resource="font" color="%button_text_color%" />
3788 <text></text>
3789 <image resource="back_icon" />
3790 <condition var1="tw_busy" var2="0" />
3791 <action function="key">back</action>
3792 </object>
3793
3794 <object type="action">
3795 <touch key="power" />
3796 <action function="overlay">lock</action>
3797 </object>
3798
3799 <object type="template" name="keyboardtemplate" />
3800
3801 <object type="action">
3802 <touch key="home" />
3803 <action function="page">main</action>
3804 </object>
3805
3806 <object type="action">
3807 <touch key="back" />
3808 <action function="page">terminalfolder</action>
3809 </object>
3810 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003811
3812 <page name="sideload">
3813 <object type="template" name="header" />
3814
3815 <object type="text" color="%text_color%">
3816 <font resource="font" />
3817 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3818 <text>ADB Sideload</text>
3819 </object>
3820
3821 <object type="checkbox">
3822 <placement x="%col1_x%" y="%row3_text_y%" />
3823 <font resource="font" color="%text_color%" />
3824 <text>Wipe Dalvik Cache.</text>
3825 <data variable="tw_wipe_dalvik" />
3826 <image checked="checkbox_true" unchecked="checkbox_false" />
3827 </object>
3828
3829 <object type="checkbox">
3830 <placement x="%col1_x%" y="%row4_text_y%" />
3831 <font resource="font" color="%text_color%" />
3832 <text>Wipe Cache.</text>
3833 <data variable="tw_wipe_cache" />
3834 <image checked="checkbox_true" unchecked="checkbox_false" />
3835 </object>
3836
3837 <object type="slider">
3838 <placement x="%slider_x%" y="%slider_y%" />
3839 <resource base="slider" used="slider-used" touch="slider-touch" />
3840 <actions>
3841 <action function="set">tw_back=advanced</action>
3842 <action function="set">tw_action=adbsideload</action>
3843 <action function="set">tw_action_text1=ADB Sideload</action>
3844 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3845 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3846 <action function="set">tw_has_cancel=1</action>
3847 <action function="set">tw_show_reboot=1</action>
3848 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3849 <action function="page">action_page</action>
3850 </actions>
3851 </object>
3852
3853 <object type="text" color="%text_color%">
3854 <font resource="font" />
3855 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3856 <text>Swipe to Start Sideload</text>
3857 </object>
3858
3859 <object type="action">
3860 <touch key="home" />
3861 <action function="page">main</action>
3862 </object>
3863
3864 <object type="action">
3865 <touch key="back" />
3866 <action function="page">advanced</action>
3867 </object>
3868
3869 <object type="template" name="footer" />
3870 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003871
3872 <page name="installsu">
3873 <object type="template" name="header" />
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3878 <text>Install SuperSU?</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3884 <text>Your device does not appear to be rooted.</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3890 <text>Install SuperSU now? This will root your device.</text>
3891 </object>
3892
3893 <object type="button">
3894 <highlight color="%highlight_color%" />
3895 <placement x="%col_center_x%" y="%row2_medium_y%" />
3896 <font resource="font" color="%button_text_color%" />
3897 <text>Do Not Install</text>
3898 <image resource="main_button" />
3899 <action function="set">tw_page_done=1</action>
3900 </object>
3901
3902 <object type="slider">
3903 <placement x="%slider_x%" y="%slider_y%" />
3904 <resource base="slider" used="slider-used" touch="slider-touch" />
3905 <actions>
3906 <action function="set">tw_action=installsu</action>
3907 <action function="set">tw_action_text1=Installing SuperSU</action>
3908 <action function="set">tw_action_text2=</action>
3909 <action function="page">singleaction_page</action>
3910 </actions>
3911 </object>
3912
3913 <object type="text" color="%text_color%">
3914 <font resource="font" />
3915 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3916 <text>Swipe to Install</text>
3917 </object>
3918 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003919 </pages>
3920</recovery>