blob: b86f9917193f34184bdd6a0ec6eee4a47c30faed [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1280" height="800" />
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="151" />
45 <variable name="col2_x" value="397" />
46 <variable name="col3_x" value="643" />
47 <variable name="col4_x" value="889" />
48 <variable name="row1_y" value="127" />
49 <variable name="row2_y" value="388" />
50 <variable name="col_center_x" value="520" />
51 <variable name="center_x" value="640" />
52 <variable name="screen_width" value="1280" />
53 <variable name="screen_height" value="800" />
54 <variable name="col_progressbar_x" value="514" />
55 <variable name="row_progressbar_y" value="700" />
56 <variable name="col1_medium_x" value="385" />
57 <variable name="col2_medium_x" value="515" />
58 <variable name="col3_medium_x" value="645" />
59 <variable name="col4_medium_x" value="775" />
60 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060061 <variable name="row2_medium_y" value="245" />
Dees_Troy51a0e822012-09-05 15:24:24 -040062 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060063 <variable name="row4_medium_y" value="450" />
Dees_Troy51a0e822012-09-05 15:24:24 -040064 <variable name="row5_medium_y" value="405" />
65 <variable name="row1_text_y" value="58" />
66 <variable name="row2_text_y" value="105" />
67 <variable name="row3_text_y" value="140" />
68 <variable name="row4_text_y" value="170" />
69 <variable name="row5_text_y" value="200" />
70 <variable name="row6_text_y" value="230" />
71 <variable name="row7_text_y" value="260" />
72 <variable name="row8_text_y" value="290" />
73 <variable name="row9_text_y" value="320" />
74 <variable name="row10_text_y" value="350" />
75 <variable name="row11_text_y" value="380" />
76 <variable name="row12_text_y" value="410" />
77 <variable name="row13_text_y" value="440" />
78 <variable name="row14_text_y" value="470" />
79 <variable name="row15_text_y" value="500" />
80 <variable name="row16_text_y" value="530" />
81 <variable name="row17_text_y" value="560" />
82 <variable name="row18_text_y" value="590" />
83 <variable name="row_offsetmedium_y" value="465" />
84 <variable name="home_button_x" value="1069" />
85 <variable name="home_button_y" value="5" />
86 <variable name="back_button_x" value="1139" />
87 <variable name="back_button_y" value="5" />
88 <variable name="console_button_x" value="1209" />
89 <variable name="console_button_y" value="5" />
90 <variable name="nandcheck_col1" value="328" />
91 <variable name="nandcheck_col2" value="600" />
92 <variable name="nandcheck_row1" value="150" />
93 <variable name="nandcheck_row2" value="200" />
94 <variable name="nandcheck_row3" value="250" />
95 <variable name="nandcheck_row4" value="300" />
96 <variable name="nandcheck_row5" value="350" />
97 <variable name="nandcheck_row6" value="400" />
98 <variable name="nandcheck_row7" value="450" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#A0A0A0" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="slider_x" value="435" />
105 <variable name="slider_y" value="600" />
106 <variable name="slider_text_y" value="650" />
107 <variable name="sort_text_x" value="398" />
108 <variable name="sort_asc_text_y" value="655" />
109 <variable name="sort_asc_button_y" value="650" />
110 <variable name="sort_desc_text_y" value="700" />
111 <variable name="sort_desc_button_y" value="695" />
112 <variable name="sort_col1_button_x" value="568" />
113 <variable name="sort_col2_button_x" value="638" />
114 <variable name="sort_col3_button_x" value="708" />
115 <variable name="col1_sdext_x" value="508" />
116 <variable name="col2_sdext_x" value="718" />
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="1200" />
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="1230" />
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="410" />
137 <variable name="fileselector_folderonly_width" value="588" />
138 <variable name="fileselector_file_x" value="445" />
139 <variable name="fileselector_file_width" value="810" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500140 <variable name="fileselector_install_y" value="130" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_install_height" value="510" />
142 <variable name="fileselector_header_background" value="#202020" />
143 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
144 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
145 <variable name="fileselector_header_separatorheight" value="3" />
146 <variable name="fileselector_separatorcolor" value="#505050" />
147 <variable name="fileselector_separatorheight" value="2" />
148 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600149 <variable name="fileselector_highlight_color" value="#505050" />
150 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100152 <variable name="fastscroll_linecolor" value="#808080" />
153 <variable name="fastscroll_rectcolor" value="#808080" />
154 <variable name="fastscroll_w" value="40" />
155 <variable name="fastscroll_linew" value="2" />
156 <variable name="fastscroll_rectw" value="30" />
157 <variable name="fastscroll_recth" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400158 <variable name="zipstorage_text_y" value="88" />
159 <variable name="listbox_x" value="397" />
160 <variable name="listbox_y" value="90" />
161 <variable name="listbox_width" value="588" />
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="408" />
166 <variable name="lock_x" value="440" />
167 <variable name="lock_y" value="184" />
168 <variable name="filemanager_select_x" value="1017" />
169 <variable name="filemanager_select_y" value="620" />
170 <variable name="backup_name_text_y" value="440" />
171 <variable name="backup_name_button_y" value="240" />
172 <variable name="col_right_x" value="1252" />
173 <variable name="cancel_button_y" value="240" />
174 <variable name="terminal_console_y" value="0" />
175 <variable name="terminal_console_height" value="362" />
176 <variable name="terminal_text_y" value="368" />
177 <variable name="terminal_button_y" value="358" />
178 <variable name="terminal_input_width" value="1031" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="button_fill_color" value="#303030" />
180 <variable name="button_fill_full_width" value="640" />
181 <variable name="button_fill_main_width" value="609" />
182 <variable name="button_fill_main_height" value="160" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000183 <variable name="button_fill_half_height" value="53" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="button_fill_quarter_height" value="40" />
185 <variable name="button_full_center_x" value="320" />
186 <variable name="backup_list_x" value="28" />
187 <variable name="backup_list_y" value="105" />
188 <variable name="backup_list_width" value="609" />
189 <variable name="backup_list_height" value="440" />
190 <variable name="backup_storage_y" value="270" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000191 <variable name="backup_encrypt_y" value="330" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500192 <variable name="restore_list_y" value="140" />
193 <variable name="restore_list_height" value="400" />
194 <variable name="mount_list_height" value="600" />
195 <variable name="mount_storage_row" value="550" />
196 <variable name="wipe_list_height" value="420" />
197 <variable name="wipe_button_y" value="250" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200198 <variable name="slidervalue_x" value="320" />
199 <variable name="slidervalue_w" value="640" />
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="15" />
205 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400206 </variables>
207
208 <templates>
209 <template name="header">
210 <background color="#000000FF" />
211
212 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400213 <image resource="base" />
214 <placement x="0" y="0" />
215 </object>
216
Dees_Troy51a0e822012-09-05 15:24:24 -0400217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000220 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="250" y="30" />
226 <conditions>
227 <condition var1="tw_no_battery_percent" var2="0" />
228 <condition var1="tw_battery" op=">" var2="0" />
229 <condition var1="tw_battery" op="<" var2="101" />
230 </conditions>
231 <text>Battery Level: %tw_battery%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="450" y="30" />
237 <text>%tw_time%</text>
238 </object>
239
240 <object type="text" color="%text_color%">
241 <condition var1="tw_simulate_actions" var2="1" />
242 <font resource="font" />
243 <placement x="550" y="30" />
244 <text>SIMULATING ACTIONS</text>
245 </object>
246
247 <object type="button">
248 <placement x="%home_button_x%" y="%home_button_y%" />
249 <font resource="font" color="%button_text_color%" />
250 <text></text>
251 <image resource="home_icon" />
252 <condition var1="tw_busy" var2="0" />
253 <action function="key">home</action>
254 </object>
255
256 <object type="button">
257 <placement x="%back_button_x%" y="%back_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="back_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">back</action>
263 </object>
264
265 <object type="action">
266 <touch key="power" />
267 <action function="overlay">lock</action>
268 </object>
269 </template>
270
271 <template name="progress_bar">
272 <object type="progressbar">
273 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
274 <resource empty="progress_empty" full="progress_full" />
275 <data name="ui_progress" />
276 </object>
277
278 <object type="animation">
279 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
280 <resource name="progress" />
281 <speed fps="15" render="2" />
282 <loop frame="1" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
294 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
295 <font resource="font" color="%button_text_color%" />
296 <text>Name</text>
297 <image resource="sort_button" />
298 <action function="set">tw_gui_sort_order=1</action>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
303 <font resource="font" color="%button_text_color%" />
304 <text>Date</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=2</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=3</action>
315 </object>
316
317 <object type="text" color="%text_color%">
318 <font resource="font" />
319 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
320 <text>Sort Descending:</text>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
325 <font resource="font" color="%button_text_color%" />
326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=-1</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
341 <font resource="font" color="%button_text_color%" />
342 <text>Size</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-3</action>
345 </object>
346 </template>
347
348 <template name="flash_zip_console">
349 <object type="console">
350 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
351 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
352 <font resource="fixed" />
353 </object>
354 </template>
355
356 <template name="action_page_console">
357 <object type="console">
358 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="footer">
365 <object type="console">
366 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
367 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
368 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
369 <font resource="fixed" />
370 </object>
371 </template>
372
373 <template name="keyboardtemplate">
374 <object type="keyboard">
375 <placement x="0" y="438" />
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="91" width="106" />
380 <row1 key01="102:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="118:c:8" />
381 <row2 key01="142:layout3" key02="104:a" key03="104:s" key04="104:d" key05="104:f" key06="104:g" key07="104:h" key08="104:j" key09="104:k" key10="104:l" key11="202:action" />
382 <row3 key01="176:layout2" key02="103:z" key03="103:x" key04="103:c" key05="103:v" key06="103:b" key07="103:n" key08="103:m" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout2" />
383 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
384 </layout1>
385 <layout2>
386 <keysize height="90" width="106" />
387 <row1 key01="102:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="118:c:8" />
388 <row2 key01="142:layout3" key02="104:A" key03="104:S" key04="104:D" key05="104:F" key06="104:G" key07="104:H" key08="104:J" key09="104:K" key10="104:L" key11="202:action" />
389 <row3 key01="176:layout1" key02="103:Z" key03="103:X" key04="103:C" key05="103:V" key06="103:B" key07="103:N" key08="103:M" key09="103:," long09="!" key10="103:." long10="?" key11="177:layout1" />
390 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
391 </layout2>
392 <layout3>
393 <keysize height="90" width="106" />
394 <row1 key01="102:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="118:c:8" />
395 <row2 key01="142:layout1" key02="104:#" key03="104:$" key04="104:%" key05="104:&" key06="104:*" key07="104:-" key08="104:+" key09="104:(" key10="104:)" key11="202:action" />
396 <row3 key01="176:layout4" key02="103:<" key03="103:>" key04="103:=" key05="103:'" key06="103:;" key07="103:," key08="103:." key09="103:!" key10="103:?" key11="177:layout4" />
397 <row4 key01="190:" key02="/" key03="104:@" key04="480: " key05="102:c:34" key06="_" />
398 </layout3>
399 <layout4>
400 <keysize height="91" width="106" />
401 <row1 key01="102:" key02="~" key03="`" key04="|" key05="106:" key06="106:" key07="106:" key08="106:" key09="106:" key10="106:" key11="106:" key12="118:c:8" />
402 <row2 key01="142:layout1" key02="104:" key03="104:" key04="104:" key05="104:" key06="104:^" key07="104:" key08="104:" key09="104:{" key10="104:}" key11="202:action" />
403 <row3 key01="176:layout3" key02="103:\" key03="103:" key04="103:" key05="103:" key06="103:" key07="103:[" key08="103:]" key09="103:!" key10="103:?" key11="177:layout3" />
404 <row4 key01="400:" key02="480: " />
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">
1736 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1737 <action function="set">tw_backup_name=</function>
1738 </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_Troy51a0e822012-09-05 15:24:24 -04001779 <placement x="%col_center_x%" y="%cancel_button_y%" />
1780 <font resource="font" color="%button_text_color%" />
1781 <text>Cancel / Clear</text>
1782 <image resource="main_button" />
1783 <actions>
1784 <action function="set">tw_backup_name=(Current Date)</action>
1785 <action function="page">backup</action>
1786 </actions>
1787 </object>
1788
1789 <object type="template" name="keyboardtemplate" />
1790
1791 <object type="action">
1792 <touch key="home" />
1793 <actions>
1794 <action function="set">tw_backup_name=(Current Date)</action>
1795 <action function="page">main</action>
1796 </actions>
1797 </object>
1798
1799 <object type="action">
1800 <touch key="back" />
1801 <actions>
1802 <action function="set">tw_backup_name=(Current Date)</action>
1803 <action function="page">backup</action>
1804 </actions>
1805 </object>
1806
1807 <object type="template" name="footer" />
1808 </page>
1809
Dees_Troy83bd4832013-05-04 12:39:56 +00001810 <page name="backupencryption">
1811 <object type="template" name="header" />
1812
1813 <object type="text" color="%text_color%">
1814 <font resource="font" />
1815 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1816 <text>Encrypt your backup? Please enter a password:</text>
1817 </object>
1818
1819 <object type="input">
1820 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1821 <background color="%input_background_color%" />
1822 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1823 <font resource="font" color="%text_color%" />
1824 <text>%tw_backup_encrypt_display%</text>
1825 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1826 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1827 <action function="page">backupencryption2</action>
1828 </object>
1829
1830 <object type="text" color="%text_fail_color%">
1831 <condition var1="tw_password_not_match" var2="1" />
1832 <font resource="font" />
1833 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1834 <text>Passwords Do Not Match</text>
1835 </object>
1836
1837 <object type="button">
1838 <highlight color="%highlight_color%" />
1839 <placement x="%col_center_x%" y="%cancel_button_y%" />
1840 <font resource="font" color="%button_text_color%" />
1841 <text>Cancel</text>
1842 <image resource="main_button" />
1843 <actions>
1844 <action function="set">tw_encrypt_backup=0</action>
1845 <action function="set">tw_backup_password=</action>
1846 <action function="set">tw_backup_password2=</action>
1847 <action function="set">tw_backup_encrypt_display=</action>
1848 <action function="set">tw_backup_encrypt_display2=</action>
1849 <action function="page">backup</action>
1850 </actions>
1851 </object>
1852
1853 <object type="template" name="keyboardtemplate" />
1854
1855 <object type="action">
1856 <touch key="home" />
1857 <action function="page">main</action>
1858 </object>
1859
1860 <object type="action">
1861 <touch key="back" />
1862 <action function="page">backup</action>
1863 </object>
1864
1865 <object type="template" name="footer" />
1866 </page>
1867
1868 <page name="backupencryption2">
1869 <object type="template" name="header" />
1870
1871 <object type="text" color="%text_color%">
1872 <font resource="font" />
1873 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1874 <text>Encrypt your backup? Please Enter Password Again:</text>
1875 </object>
1876
1877 <object type="input">
1878 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1879 <background color="%input_background_color%" />
1880 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1881 <font resource="font" color="%text_color%" />
1882 <text>%tw_backup_encrypt_display2%</text>
1883 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1884 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1885 <actions>
1886 <action function="page">checkbackuppassword</action>
1887 </actions>
1888 </object>
1889
1890 <object type="button">
1891 <highlight color="%highlight_color%" />
1892 <placement x="%col_center_x%" y="%cancel_button_y%" />
1893 <font resource="font" color="%button_text_color%" />
1894 <text>Cancel</text>
1895 <image resource="main_button" />
1896 <actions>
1897 <action function="set">tw_encrypt_backup=0</action>
1898 <action function="set">tw_backup_password=</action>
1899 <action function="set">tw_backup_password2=</action>
1900 <action function="set">tw_backup_encrypt_display=</action>
1901 <action function="set">tw_backup_encrypt_display2=</action>
1902 <action function="page">backup</action>
1903 </actions>
1904 </object>
1905
1906 <object type="template" name="keyboardtemplate" />
1907
1908 <object type="action">
1909 <touch key="home" />
1910 <action function="page">main</action>
1911 </object>
1912
1913 <object type="action">
1914 <touch key="back" />
1915 <action function="page">backup</action>
1916 </object>
1917
1918 <object type="template" name="footer" />
1919 </page>
1920
1921 <page name="checkbackuppassword">
1922 <object type="action">
1923 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1924 <actions>
1925 <action function="set">tw_encrypt_backup=1</action>
1926 <action function="page">backup</action>
1927 </actions>
1928 </object>
1929
1930 <object type="action">
1931 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1932 <actions>
1933 <action function="set">tw_encrypt_backup=0</action>
1934 <action function="set">tw_password_not_match=1</action>
1935 <action function="set">tw_backup_password=</action>
1936 <action function="set">tw_backup_password2=</action>
1937 <action function="set">tw_backup_encrypt_display=</action>
1938 <action function="set">tw_backup_encrypt_display2=</action>
1939 <action function="page">backupencryption</action>
1940 </actions>
1941 </object>
1942 </page>
1943
Dees_Troy51a0e822012-09-05 15:24:24 -04001944 <page name="backup_run">
1945 <object type="template" name="header" />
1946
1947 <object type="text" color="%text_color%">
1948 <font resource="font" />
1949 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1950 <text>%tw_operation% %tw_partition%</text>
1951 </object>
1952
1953 <object type="template" name="action_page_console" />
1954
1955 <object type="template" name="progress_bar" />
1956
1957 <object type="action">
1958 <action function="nandroid">backup</action>
1959 </object>
1960
1961 <object type="action">
1962 <condition var1="tw_operation_state" var2="1" />
1963 <actions>
1964 <action function="set">tw_back=backup</action>
1965 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001966 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001967 <action function="page">action_complete</action>
1968 </actions>
1969 </object>
1970
1971 <object type="template" name="footer" />
1972 </page>
1973
1974 <page name="restore">
1975 <object type="template" name="header" />
1976
1977 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001978 <highlight color="%highlight_color%" />
1979 <fill color="%button_fill_color%" />
1980 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1981 <font resource="font" color="%button_text_color%" />
1982 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1983 <actions>
1984 <action function="set">tw_back=restore</action>
1985 <action function="page">selectstorage</action>
1986 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001987 </object>
1988
1989 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001990 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001991 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1992 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001993 <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 -04001994 <text>Select Package to Restore:</text>
1995 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1996 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001997 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001998 <icon folder="folder_icon" file="file_icon" />
1999 <background color="%fileselector_background%" />
2000 <filter folders="1" files="0" nav="0" />
2001 <path name="tw_backups_folder" />
2002 <data name="tw_restore" default="" />
2003 <selection name="tw_restore_name" />
2004 </object>
2005
2006 <object type="template" name="sort_options" />
2007
2008 <object type="action">
2009 <condition var1="tw_restore" op="modified" />
2010 <actions>
2011 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002012 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002013 </actions>
2014 </object>
2015
2016 <object type="action">
2017 <touch key="home" />
2018 <action function="page">main</action>
2019 </object>
2020
2021 <object type="action">
2022 <touch key="back" />
2023 <action function="page">main</action>
2024 </object>
2025
2026 <object type="template" name="footer" />
2027 </page>
2028
Dees_Troy83bd4832013-05-04 12:39:56 +00002029 <page name="restore_read">
2030 <object type="action">
2031 <condition var1="tw_restore_encrypted" var2="1" />
2032 <actions>
2033 <action function="set">tw_password_fail=0</action>
2034 <action function="page">restore_decrypt</action>
2035 </actions>
2036 </object>
2037
2038 <object type="action">
2039 <condition var1="tw_restore_encrypted" var2="0" />
2040 <actions>
2041 <action function="page">restore_select</action>
2042 </actions>
2043 </object>
2044 </page>
2045
2046 <page name="restore_decrypt">
2047 <object type="template" name="header" />
2048
2049 <object type="text" color="%text_color%">
2050 <font resource="font" />
2051 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2052 <text>Backup encrypted. Please enter your password:</text>
2053 </object>
2054
2055 <object type="input">
2056 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2057 <background color="%input_background_color%" />
2058 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2059 <font resource="font" color="%text_color%" />
2060 <text>%tw_restore_display%</text>
2061 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2062 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2063 <actions>
2064 <action function="page">try_restore_decrypt</action>
2065 </actions>
2066 </object>
2067
2068 <object type="text" color="%text_fail_color%">
2069 <condition var1="tw_password_fail" var2="1" />
2070 <font resource="font" />
2071 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2072 <text>Password Failed, Please Try Again</text>
2073 </object>
2074
2075 <object type="button">
2076 <highlight color="%highlight_color%" />
2077 <placement x="%col2_x%" y="%cancel_button_y%" />
2078 <font resource="font" color="%button_text_color%" />
2079 <text>Cancel</text>
2080 <image resource="main_button" />
2081 <actions>
2082 <action function="set">tw_page_done=1</action>
2083 <action function="page">restore</action>
2084 </actions>
2085 </object>
2086
2087 <object type="button">
2088 <highlight color="%highlight_color%" />
2089 <placement x="%col3_x%" y="%cancel_button_y%" />
2090 <font resource="font" color="%button_text_color%" />
2091 <text>Delete</text>
2092 <image resource="main_button" />
2093 <actions>
2094 <action function="set">tw_back=restore</action>
2095 <action function="set">tw_action=cmd</action>
2096 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2097 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2098 <action function="set">tw_text2=This cannot be undone!</action>
2099 <action function="set">tw_action_text1=Deleting Backup...</action>
2100 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2101 <action function="set">tw_slider_text=Swipe to Delete</action>
2102 <action function="page">confirm_action</action>
2103 </actions>
2104 </object>
2105
2106 <object type="template" name="keyboardtemplate" />
2107
2108 <object type="action">
2109 <touch key="home" />
2110 <action function="page">main</action>
2111 </object>
2112
2113 <object type="action">
2114 <touch key="back" />
2115 <action function="page">restore</action>
2116 </object>
2117
2118 <object type="template" name="footer" />
2119 </page>
2120
2121 <page name="try_restore_decrypt">
2122 <object type="template" name="header" />
2123
2124 <object type="text" color="%text_color%">
2125 <font resource="font" />
2126 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2127 <text>Trying Decryption with Your Password</text>
2128 </object>
2129
2130 <object type="template" name="action_page_console" />
2131
2132 <object type="template" name="progress_bar" />
2133
2134 <object type="action">
2135 <action function="decrypt_backup"></action>
2136 </object>
2137
2138 <object type="action">
2139 <conditions>
2140 <condition var1="tw_operation_state" var2="1" />
2141 <condition var1="tw_operation_status" op="!=" var2="0" />
2142 </conditions>
2143 <actions>
2144 <action function="set">tw_password_fail=1</action>
2145 <action function="page">restore_decrypt</action>
2146 </actions>
2147 </object>
2148
2149 <object type="action">
2150 <conditions>
2151 <condition var1="tw_operation_state" var2="1" />
2152 <condition var1="tw_operation_status" op="=" var2="0" />
2153 </conditions>
2154 <actions>
2155 <action function="set">tw_page_done=1</action>
2156 <action function="page">restore_select</action>
2157 </actions>
2158 </object>
2159 </page>
2160
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <page name="restore_select">
2162 <object type="template" name="header" />
2163
2164 <object type="text" color="%text_color%">
2165 <font resource="font" />
2166 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2167 <text>Package to Restore: %tw_restore_name%</text>
2168 </object>
2169
2170 <object type="text" color="%text_color%">
2171 <font resource="font" />
2172 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2173 <text>Package Date: %tw_restore_file_date%</text>
2174 </object>
2175
Dees_Troya13d74f2013-03-24 08:54:55 -05002176 <object type="partitionlist">
2177 <highlight color="%fileselector_highlight_color%" />
2178 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2179 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2180 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2181 <text>Select Partitions to Restore:</text>
2182 <icon selected="checkbox_true" unselected="checkbox_false" />
2183 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2184 <background color="%listbox_background%" />
2185 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2186 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2187 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002188 </object>
2189
2190 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002191 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002192 <font resource="font" color="%text_color%" />
2193 <text>Enable MD5 checking of backup files</text>
2194 <data variable="tw_skip_md5_check" />
2195 <image checked="checkbox_true" unchecked="checkbox_false" />
2196 </object>
2197
2198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002199 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002200 <placement x="%col4_x%" y="%row1_y%" />
2201 <font resource="font" color="%button_text_color%" />
2202 <text>Rename Backup</text>
2203 <image resource="main_button" />
2204 <actions>
2205 <action function="set">tw_backup_rename=</action>
2206 <action function="set">tw_fileexists=0</action>
2207 <action function="page">renamebackup</action>
2208 </actions>
2209 </object>
2210
2211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002212 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002213 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002214 <font resource="font" color="%button_text_color%" />
2215 <text>Delete Backup</text>
2216 <image resource="main_button" />
2217 <actions>
2218 <action function="set">tw_back=restore</action>
2219 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002220 <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 -04002221 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2222 <action function="set">tw_text2=This cannot be undone!</action>
2223 <action function="set">tw_action_text1=Deleting Backup...</action>
2224 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2225 <action function="set">tw_slider_text=Swipe to Delete</action>
2226 <action function="page">confirm_action</action>
2227 </actions>
2228 </object>
2229
2230 <object type="slider">
2231 <placement x="%slider_x%" y="%slider_y%" />
2232 <resource base="slider" used="slider-used" touch="slider-touch" />
2233 <action function="page">restore_run</action>
2234 </object>
2235
2236 <object type="text" color="%text_color%">
2237 <font resource="font" />
2238 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2239 <text>Swipe to Restore</text>
2240 </object>
2241
2242 <object type="action">
2243 <touch key="home" />
2244 <action function="page">main</action>
2245 </object>
2246
2247 <object type="action">
2248 <touch key="back" />
2249 <action function="page">restore</action>
2250 </object>
2251
2252 <object type="template" name="footer" />
2253 </page>
2254
2255 <page name="renamebackup">
2256 <object type="template" name="header" />
2257
2258 <object type="text" color="%text_color%">
2259 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2260 <font resource="font" />
2261 <text>Please Enter a New Backup Name</text>
2262 </object>
2263
2264 <object type="input">
2265 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2266 <background color="%input_background_color%" />
2267 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2268 <font resource="font" color="%text_color%" />
2269 <text>%tw_backup_rename%</text>
2270 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002271 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002272 <actions>
2273 <action function="set">tw_back=restore</action>
2274 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002275 <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 -04002276 <action function="set">tw_text1=Rename Backup?</action>
2277 <action function="set">tw_text2=This cannot be undone!</action>
2278 <action function="set">tw_action_text1=Renaming Backup...</action>
2279 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2280 <action function="set">tw_slider_text=Swipe to Rename</action>
2281 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2282 <action function="set">tw_existpage=renamebackup</action>
2283 <action function="set">tw_notexistpage=confirm_action</action>
2284 <action function="page">filecheck</action>
2285 </actions>
2286 </object>
2287
2288 <object type="text" color="%text_fail_color%">
2289 <condition var1="tw_fileexists" var2="1" />
2290 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2291 <font resource="font" />
2292 <text>A backup with that name already exists!</text>
2293 </object>
2294
2295 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002296 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002297 <placement x="%col_center_x%" y="%cancel_button_y%" />
2298 <font resource="font" color="%button_text_color%" />
2299 <text>Cancel</text>
2300 <image resource="main_button" />
2301 <action function="page">restore_select</action>
2302 </object>
2303
2304 <object type="template" name="keyboardtemplate" />
2305
2306 <object type="action">
2307 <touch key="home" />
2308 <action function="page">main</action>
2309 </object>
2310
2311 <object type="action">
2312 <touch key="back" />
2313 <action function="page">restore_select</action>
2314 </object>
2315
2316 <object type="template" name="footer" />
2317 </page>
2318
2319 <page name="restore_run">
2320 <object type="template" name="header" />
2321
2322 <object type="text" color="%text_color%">
2323 <font resource="font" />
2324 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2325 <text>%tw_operation% %tw_partition%</text>
2326 </object>
2327
2328 <object type="template" name="action_page_console" />
2329
2330 <object type="template" name="progress_bar" />
2331
2332 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002333 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002334 <actions>
2335 <action function="set">tw_back=restore_select</action>
2336 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002337 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002338 <action function="page">action_complete</action>
2339 </actions>
2340 </object>
2341
2342 <object type="action">
2343 <action function="nandroid">restore</action>
2344 </object>
2345 </page>
2346
2347 <page name="settings">
2348 <object type="template" name="header" />
2349
2350 <object type="text" color="%text_color%">
2351 <font resource="font" />
2352 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2353 <text>Settings</text>
2354 </object>
2355
2356 <object type="checkbox">
2357 <placement x="%col1_x%" y="%row2_text_y%" />
2358 <font resource="font" color="%text_color%" />
2359 <text>Zip file signature verification?</text>
2360 <data variable="tw_signed_zip_verify" />
2361 <image checked="checkbox_true" unchecked="checkbox_false" />
2362 </object>
2363
2364 <object type="checkbox">
2365 <placement x="%col1_x%" y="%row3_text_y%" />
2366 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 <text>Use rm -rf instead of formatting?</text>
2368 <data variable="tw_rm_rf" />
2369 <image checked="checkbox_true" unchecked="checkbox_false" />
2370 </object>
2371
2372 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002373 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <font resource="font" color="%text_color%" />
2375 <text>Skip MD5 generation on backups</text>
2376 <data variable="tw_skip_md5_generate" />
2377 <image checked="checkbox_true" unchecked="checkbox_false" />
2378 </object>
2379
2380 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002381 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <font resource="font" color="%text_color%" />
2383 <text>Enable MD5 checking of backup files</text>
2384 <data variable="tw_skip_md5_check" />
2385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002389 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002391 <text>Use Military Time</text>
2392 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002397 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
2399 <text>Simulate most actions for theme testing</text>
2400 <data variable="tw_simulate_actions" />
2401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
2405 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002406 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <font resource="font" color="%text_color%" />
2408 <text>Simulate failure for actions</text>
2409 <data variable="tw_simulate_fail" />
2410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002414 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <placement x="%col1_x%" y="%row2_y%" />
2416 <font resource="font" color="%button_text_color%" />
2417 <text>Time Zone</text>
2418 <image resource="main_button" />
2419 <action function="page">timezone</action>
2420 </object>
2421
2422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002423 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002424 <placement x="%col4_x%" y="%row2_y%" />
2425 <font resource="font" color="%button_text_color%" />
2426 <text>Screen</text>
2427 <image resource="main_button" />
2428 <action function="page">screen</action>
2429 </object>
2430
2431 <object type="button">
2432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <placement x="%col_center_x%" y="%slider_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="action">
2441 <touch key="home" />
2442 <action function="page">main</action>
2443 </object>
2444
2445 <object type="action">
2446 <touch key="back" />
2447 <action function="page">main</action>
2448 </object>
2449
2450 <object type="template" name="footer" />
2451 </page>
2452
2453 <page name="timezone">
2454 <object type="template" name="header" />
2455
2456 <object type="text" color="%text_color%">
2457 <font resource="font" />
2458 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2459 <text>Select Time Zone</text>
2460 </object>
2461
2462 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002463 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002464 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002465 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002466 <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 -06002467 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002468 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002469 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002470 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002471 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002472 <data name="tw_time_zone_guisel" />
2473 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2474 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2475 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2476 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2477 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2478 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2479 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2480 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2481 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2482 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2483 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2484 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2485 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2486 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2487 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2488 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2489 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2490 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2491 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2492 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2493 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2494 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2495 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2496 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2497 </object>
2498
2499 <object type="checkbox">
2500 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2501 <font resource="font" color="%text_color%" />
2502 <text>Do you use daylight savings time (DST)?</text>
2503 <data variable="tw_time_zone_guidst" />
2504 <image checked="checkbox_true" unchecked="checkbox_false" />
2505 </object>
2506
2507 <object type="text" color="%text_color%">
2508 <font resource="font" />
2509 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2510 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2511 </object>
2512
2513 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002514 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2516 <font resource="font" color="%button_text_color%" />
2517 <text>0</text>
2518 <image resource="medium_button" />
2519 <action function="set">tw_time_zone_guioffset=0</action>
2520 </object>
2521
2522 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002523 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2525 <font resource="font" color="%button_text_color%" />
2526 <text>15</text>
2527 <image resource="medium_button" />
2528 <action function="set">tw_time_zone_guioffset=15</action>
2529 </object>
2530
2531 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002532 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2534 <font resource="font" color="%button_text_color%" />
2535 <text>30</text>
2536 <image resource="medium_button" />
2537 <action function="set">tw_time_zone_guioffset=30</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="%col4_medium_x%" y="%row_offsetmedium_y%" />
2543 <font resource="font" color="%button_text_color%" />
2544 <text>45</text>
2545 <image resource="medium_button" />
2546 <action function="set">tw_time_zone_guioffset=45</action>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <placement x="%col4_x%" y="%row2_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>Set Time Zone</text>
2554 <image resource="main_button" />
2555 <action function="setguitimezone"></action>
2556 </object>
2557
2558 <object type="text" color="%text_color%">
2559 <font resource="font" />
2560 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2561 <text>Current Time Zone: %tw_time_zone%</text>
2562 </object>
2563
2564 <object type="action">
2565 <touch key="home" />
2566 <action function="page">main</action>
2567 </object>
2568
2569 <object type="action">
2570 <touch key="back" />
2571 <action function="page">settings</action>
2572 </object>
2573
2574 <object type="template" name="footer" />
2575 </page>
2576
Dees_Troy2f9117a2013-02-17 19:52:09 -06002577 <page name="screen">
2578 <object type="template" name="header" />
2579
2580 <object type="text" color="%text_color%">
2581 <font resource="font" />
2582 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2583 <text>Screen Settings</text>
2584 </object>
2585
Dees_Troy2f9117a2013-02-17 19:52:09 -06002586 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002587 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2588 <font resource="font" color="%text_color%" />
2589 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002590 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002591 <text>Enable screen timeout.</text>
2592 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002593 <action function="set">tw_screen_timeout_secs=60</action>
2594 </object>
2595
2596 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002597 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2598 <font resource="font" color="%text_color%" />
2599 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002600 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002601 <text>Enable screen timeout.</text>
2602 <image resource="checkbox_true" />
2603 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002604 </object>
2605
Vojtech Bocek85932342013-04-01 22:11:33 +02002606 <object type="slidervalue">
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 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2610 <font resource="font" color="%text_color%" />
2611 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2612 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2613 <text>Screen timeout in seconds:</text>
2614 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002615 </object>
2616
Vojtech Bocek85932342013-04-01 22:11:33 +02002617 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002618 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002619 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2620 <font resource="font" color="%text_color%" />
2621 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2622 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2623 <text>Brightness: %tw_brightness_pct%%</text>
2624 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002625 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <action function="set">tw_brightness=%tw_brightness_max%</action>
2627 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2628 <action function="compute">tw_brightness/100</action>
2629 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002630 </actions>
2631 </object>
2632
2633 <object type="action">
2634 <touch key="home" />
2635 <action function="page">main</action>
2636 </object>
2637
2638 <object type="action">
2639 <touch key="back" />
2640 <action function="page">settings</action>
2641 </object>
2642
2643 <object type="template" name="footer" />
2644 </page>
2645
Dees_Troy51a0e822012-09-05 15:24:24 -04002646 <page name="advanced">
2647 <object type="template" name="header" />
2648
2649 <object type="text" color="%text_color%">
2650 <font resource="font" />
2651 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2652 <text>Advanced</text>
2653 </object>
2654
2655 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002656 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002657 <placement x="%col1_x%" y="%row1_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>Copy Log to SD</text>
2660 <image resource="main_button" />
2661 <actions>
2662 <action function="set">tw_back=advanced</action>
2663 <action function="set">tw_action=copylog</action>
2664 <action function="set">tw_text1=Copy Log to SD Card?</action>
2665 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2666 <action function="set">tw_complete_text1=Log Copy Complete</action>
2667 <action function="set">tw_slider_text=Swipe to Confirm</action>
2668 <action function="page">confirm_action</action>
2669 </actions>
2670 </object>
2671
2672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002673 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002674 <placement x="%col2_x%" y="%row1_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>Fix Permissions</text>
2677 <image resource="main_button" />
2678 <actions>
2679 <action function="set">tw_back=advanced</action>
2680 <action function="set">tw_action=fixpermissions</action>
2681 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002682 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2684 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002685 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002686 <action function="page">confirm_action</action>
2687 </actions>
2688 </object>
2689
2690 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002691 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002692 <placement x="%col3_x%" y="%row1_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>Terminal Command</text>
2695 <image resource="main_button" />
2696 <action function="page">terminalfolder</action>
2697 </object>
2698
2699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002700 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002701 <placement x="%col4_x%" y="%row1_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text>ADB Sideload</text>
2704 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002705 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002706 </object>
2707
2708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002710 <condition var1="tw_allow_partition_sdcard" var2="1" />
2711 <placement x="%col1_x%" y="%row2_y%" />
2712 <font resource="font" color="%button_text_color%" />
2713 <text>Partition SD Card</text>
2714 <image resource="main_button" />
2715 <action function="page">partsdcard</action>
2716 </object>
2717
2718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <placement x="%col2_x%" y="%row2_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>File Manager</text>
2723 <image resource="main_button" />
2724 <action function="page">filemanagerlist</action>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002729 <placement x="%col3_x%" y="%row2_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>Reload Theme</text>
2732 <image resource="main_button" />
2733 <action function="reload"></action>
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 <condition var1="tw_show_dumlock" var2="1" />
2739 <placement x="%col4_x%" y="%row2_y%" />
2740 <font resource="font" color="%button_text_color%" />
2741 <text>HTC Dumlock</text>
2742 <image resource="main_button" />
2743 <action function="page">htcdumlock</action>
2744 </object>
2745
2746 <object type="action">
2747 <touch key="home" />
2748 <action function="page">main</action>
2749 </object>
2750
2751 <object type="action">
2752 <touch key="back" />
2753 <action function="page">main</action>
2754 </object>
2755
2756 <object type="template" name="footer" />
2757 </page>
2758
2759 <page name="partsdcard">
2760 <object type="template" name="header" />
2761
2762 <object type="text" color="%text_color%">
2763 <font resource="font" />
2764 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2765 <text>Partition SD Card</text>
2766 </object>
2767
2768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2771 <font resource="font" color="%button_text_color%" />
2772 <text></text>
2773 <image resource="minus_button" />
2774 <action function="addsubtract">tw_sdext_size-128</action>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text></text>
2782 <image resource="plus_button" />
2783 <action function="addsubtract">tw_sdext_size+128</action>
2784 </object>
2785
2786 <object type="text" color="%text_color%">
2787 <font resource="font" />
2788 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2789 <text>EXT Size: %tw_sdext_size%</text>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text></text>
2797 <image resource="minus_button" />
2798 <action function="addsubtract">tw_swap_size-32</action>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text></text>
2806 <image resource="plus_button" />
2807 <action function="addsubtract">tw_swap_size+32</action>
2808 </object>
2809
2810 <object type="text" color="%text_color%">
2811 <font resource="font" />
2812 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2813 <text>Swap Size: %tw_swap_size%</text>
2814 </object>
2815
2816 <object type="text" color="%text_color%">
2817 <font resource="font" />
2818 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2819 <text>File system: %tw_sdpart_file_system%</text>
2820 </object>
2821
2822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002823 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002824 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>EXT3</text>
2827 <image resource="medium_button" />
2828 <action function="set">tw_sdpart_file_system=ext3</action>
2829 </object>
2830
2831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002832 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <condition var1="tw_sdext_disable_ext4" var2="0" />
2834 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2835 <font resource="font" color="%button_text_color%" />
2836 <text>EXT4</text>
2837 <image resource="medium_button" />
2838 <action function="set">tw_sdpart_file_system=ext4</action>
2839 </object>
2840
2841 <object type="text" color="%text_color%">
2842 <font resource="font" />
2843 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2844 <text>You will lose all files on your SD card!</text>
2845 </object>
2846
2847 <object type="text" color="%text_color%">
2848 <font resource="font" />
2849 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2850 <text>This action cannot be undone!</text>
2851 </object>
2852
2853 <object type="slider">
2854 <placement x="%slider_x%" y="%slider_y%" />
2855 <resource base="slider" used="slider-used" touch="slider-touch" />
2856 <actions>
2857 <action function="set">tw_back=partsdcard</action>
2858 <action function="set">tw_action=partitionsd</action>
2859 <action function="set">tw_has_action2=1</action>
2860 <action function="set">tw_action2=set</action>
2861 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2862 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2863 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002864 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <action function="page">action_page</action>
2866 </actions>
2867 </object>
2868
2869 <object type="text" color="%text_color%">
2870 <font resource="font" />
2871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2872 <text>Swipe to Confirm Partition</text>
2873 </object>
2874
2875 <object type="action">
2876 <touch key="home" />
2877 <action function="page">main</action>
2878 </object>
2879
2880 <object type="action">
2881 <touch key="back" />
2882 <action function="page">advanced</action>
2883 </object>
2884
2885 <object type="template" name="footer" />
2886 </page>
2887
2888
2889 <page name="htcdumlock">
2890 <object type="template" name="header" />
2891
2892 <object type="text" color="%text_color%">
2893 <font resource="font" />
2894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2895 <text>HTC Dumlock</text>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <condition var1="tw_show_dumlock" var2="1" />
2901 <placement x="%col1_x%" y="%row1_y%" />
2902 <font resource="font" color="%button_text_color%" />
2903 <text>Restore Original Boot</text>
2904 <image resource="main_button" />
2905 <actions>
2906 <action function="set">tw_back=htcdumlock</action>
2907 <action function="set">tw_action=htcdumlockrestoreboot</action>
2908 <action function="set">tw_text1=Restore original boot image?</action>
2909 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2910 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2911 <action function="set">tw_slider_text=Swipe to Confirm</action>
2912 <action function="page">confirm_action</action>
2913 </actions>
2914 </object>
2915
2916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002917 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002918 <condition var1="tw_show_dumlock" var2="1" />
2919 <placement x="%col2_x%" y="%row1_y%" />
2920 <font resource="font" color="%button_text_color%" />
2921 <text>Reflash Recovery->Boot</text>
2922 <image resource="main_button" />
2923 <actions>
2924 <action function="set">tw_back=htcdumlock</action>
2925 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2926 <action function="set">tw_text1=Reflash recovery to boot?</action>
2927 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2928 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2929 <action function="set">tw_slider_text=Swipe to Confirm</action>
2930 <action function="page">confirm_action</action>
2931 </actions>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <condition var1="tw_show_dumlock" var2="1" />
2937 <placement x="%col1_x%" y="%row2_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>Install HTC Dumlock</text>
2940 <image resource="main_button" />
2941 <actions>
2942 <action function="set">tw_back=htcdumlock</action>
2943 <action function="set">tw_action=installhtcdumlock</action>
2944 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2945 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2946 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2947 <action function="set">tw_slider_text=Swipe to Confirm</action>
2948 <action function="page">confirm_action</action>
2949 </actions>
2950 </object>
2951
2952 <object type="action">
2953 <touch key="home" />
2954 <action function="page">main</action>
2955 </object>
2956
2957 <object type="action">
2958 <touch key="back" />
2959 <action function="page">advanced</action>
2960 </object>
2961
2962 <object type="template" name="footer" />
2963 </page>
2964
2965 <page name="lock">
2966 <background color="#000000A0" />
2967
2968 <object type="image">
2969 <image resource="unlock-icon" />
2970 <placement x="%lock_x%" y="%lock_y%" />
2971 </object>
2972
2973 <object type="slider">
2974 <placement x="%slider_x%" y="%slider_y%" />
2975 <resource base="slider" used="slider-used" touch="slider-touch" />
2976 <action function="overlay"></action>
2977 </object>
2978
2979 <object type="text" color="%text_color%">
2980 <font resource="font" />
2981 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2982 <text>Swipe to Unlock</text>
2983 </object>
2984 </page>
2985
2986
2987 <page name="filemanagerlist">
2988 <object type="template" name="header" />
2989
2990 <object type="text" color="%text_color%">
2991 <font resource="font" />
2992 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2993 <text>File Manager: Select a File or Folder</text>
2994 </object>
2995
2996 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002997 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002998 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
2999 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003000 <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 -04003001 <text>Folders:</text>
3002 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3003 <sort name="tw_gui_sort_order" />
3004 <icon folder="folder_icon" file="file_icon" />
3005 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003006 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003007 <filter folders="1" files="0" />
3008 <path name="tw_file_location1" default="/sdcard" />
3009 <data name="select" />
3010 <selection name="tw_selection1" />
3011 </object>
3012
3013 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003014 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003015 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3016 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003017 <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 -04003018 <text>%tw_file_location1%</text>
3019 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3020 <sort name="tw_gui_sort_order" />
3021 <icon folder="folder_icon" file="file_icon" />
3022 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003023 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <filter folders="0" files="1" />
3025 <path name="tw_file_location1" default="/" />
3026 <data name="tw_filename1" />
3027 <selection name="tw_selection1" />
3028 </object>
3029
3030 <object type="template" name="sort_options" />
3031
3032 <object type="action">
3033 <actions>
3034 <action function="set">tw_fm_type=File</action>
3035 <action function="set">tw_fm_isfolder=0</action>
3036 </actions>
3037 </object>
3038
3039 <object type="action">
3040 <touch key="home" />
3041 <action function="page">main</action>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="back" />
3046 <action function="page">advanced</action>
3047 </object>
3048
3049 <object type="action">
3050 <condition var1="tw_filename1" op="modified" />
3051 <actions>
3052 <action function="page">filemanageroptions</action>
3053 </actions>
3054 </object>
3055
3056 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003057 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003058 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3059 <font resource="font" color="%button_text_color%" />
3060 <text>Select Folder</text>
3061 <image resource="main_button" />
3062 <actions>
3063 <action function="set">tw_filename1=tw_file_location1</action>
3064 <action function="set">tw_fm_isfolder=1</action>
3065 <action function="set">tw_fm_type=Folder</action>
3066 <action function="page">filemanageroptions</action>
3067 </actions>
3068 </object>
3069
3070 <object type="template" name="footer" />
3071 </page>
3072
3073 <page name="filemanageroptions">
3074 <object type="template" name="header" />
3075
3076 <object type="text" color="%text_color%">
3077 <font resource="font" />
3078 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3079 <text>%tw_fm_type% Selected:</text>
3080 </object>
3081
3082 <object type="text" color="%text_color%">
3083 <font resource="font" />
3084 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3085 <text>%tw_filename1%</text>
3086 </object>
3087
3088 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003089 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003090 <condition var1="tw_fm_isfolder" var2="0" />
3091 <placement x="%col1_x%" y="%row2_y%" />
3092 <font resource="font" color="%button_text_color%" />
3093 <text>Copy File</text>
3094 <image resource="main_button" />
3095 <actions>
3096 <action function="set">tw_filemanager_command=cp</action>
3097 <action function="set">tw_fm_text1=Copying</action>
3098 <action function="page">choosedestinationfolder</action>
3099 </actions>
3100 </object>
3101
3102 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003103 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003104 <condition var1="tw_fm_isfolder" var2="1" />
3105 <placement x="%col1_x%" y="%row2_y%" />
3106 <font resource="font" color="%button_text_color%" />
3107 <text>Copy Folder</text>
3108 <image resource="main_button" />
3109 <actions>
3110 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3111 <action function="set">tw_fm_text1=Copying</action>
3112 <action function="page">choosedestinationfolder</action>
3113 </actions>
3114 </object>
3115
3116 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003117 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003118 <placement x="%col2_x%" y="%row2_y%" />
3119 <font resource="font" color="%button_text_color%" />
3120 <text>Move</text>
3121 <image resource="main_button" />
3122 <actions>
3123 <action function="set">tw_filemanager_command=mv</action>
3124 <action function="set">tw_fm_text1=Moving</action>
3125 <action function="page">choosedestinationfolder</action>
3126 </actions>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <placement x="%col3_x%" y="%row2_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>chmod 755</text>
3134 <image resource="main_button" />
3135 <actions>
3136 <action function="set">tw_filemanager_command=chmod 755</action>
3137 <action function="set">tw_fm_text1=chmod 755</action>
3138 <action function="set">tw_fm_text2=</action>
3139 <action function="set">tw_fm_text3=</action>
3140 <action function="set">tw_include_text3=0</action>
3141 <action function="set">tw_back=filemanageroptions</action>
3142 <action function="page">filemanagerconfirm</action>
3143 </actions>
3144 </object>
3145
3146 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003147 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003148 <placement x="%col4_x%" y="%row2_y%" />
3149 <font resource="font" color="%button_text_color%" />
3150 <text>chmod</text>
3151 <image resource="main_button" />
3152 <actions>
3153 <action function="set">tw_filemanager_rename=0000</action>
3154 <action function="set">tw_fm_text2=</action>
3155 <action function="set">tw_fm_text3=</action>
3156 <action function="set">tw_include_text3=0</action>
3157 <action function="set">tw_back=filemanageroptions</action>
3158 <action function="page">filemanagerchmod</action>
3159 </actions>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <placement x="%col1_x%" y="%row1_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Delete</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_command=rm -rf</action>
3170 <action function="set">tw_fm_text1=Deleting</action>
3171 <action function="set">tw_fm_text2=</action>
3172 <action function="set">tw_fm_text3=</action>
3173 <action function="set">tw_include_text3=0</action>
3174 <action function="set">tw_back=filemanageroptions</action>
3175 <action function="page">filemanagerconfirm</action>
3176 </actions>
3177 </object>
3178
3179 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003180 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003181 <condition var1="tw_fm_isfolder" var2="0" />
3182 <placement x="%col4_x%" y="%row1_y%" />
3183 <font resource="font" color="%button_text_color%" />
3184 <text>Rename File</text>
3185 <image resource="main_button" />
3186 <actions>
3187 <action function="set">tw_filemanager_rename=tw_selection1</action>
3188 <action function="set">tw_fm_text1=Renaming</action>
3189 <action function="set">tw_filemanager_command=mv</action>
3190 <action function="page">filemanagerrenamefile</action>
3191 </actions>
3192 </object>
3193
3194 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003195 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003196 <condition var1="tw_fm_isfolder" var2="1" />
3197 <placement x="%col4_x%" y="%row1_y%" />
3198 <font resource="font" color="%button_text_color%" />
3199 <text>Rename Folder</text>
3200 <image resource="main_button" />
3201 <actions>
3202 <action function="set">tw_filemanager_rename=tw_selection1</action>
3203 <action function="set">tw_fm_text1=Renaming</action>
3204 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3205 <action function="page">filemanagerrenamefolder</action>
3206 </actions>
3207 </object>
3208
3209 <object type="action">
3210 <touch key="home" />
3211 <action function="page">main</action>
3212 </object>
3213
3214 <object type="action">
3215 <touch key="back" />
3216 <action function="page">filemanagerlist</action>
3217 </object>
3218
3219 <object type="template" name="footer" />
3220 </page>
3221
3222 <page name="choosedestinationfolder">
3223 <object type="template" name="header" />
3224
3225 <object type="text" color="%text_color%">
3226 <font resource="font" />
3227 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3228 <text>Browse to Destination Folder & Press Select</text>
3229 </object>
3230
3231 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003232 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3234 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003235 <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 -04003236 <text>%tw_file_location2%</text>
3237 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3238 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003239 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003240 <icon folder="folder_icon" file="file_icon" />
3241 <background color="%fileselector_background%" />
3242 <filter folders="1" files="0" />
3243 <path name="tw_file_location2" default="/sdcard" />
3244 <data name="tw_filename2" />
3245 </object>
3246
3247 <object type="template" name="sort_options" />
3248
3249 <object type="action">
3250 <touch key="home" />
3251 <action function="page">main</action>
3252 </object>
3253
3254 <object type="action">
3255 <touch key="back" />
3256 <action function="page">filemanageroptions</action>
3257 </object>
3258
3259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003261 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Select Folder</text>
3264 <image resource="main_button" />
3265 <actions>
3266 <action function="set">tw_fm_text2=to</action>
3267 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3268 <action function="set">tw_include_text3=1</action>
3269 <action function="set">tw_back=filemanageroptions</action>
3270 <action function="page">filemanagerconfirm</action>
3271 </actions>
3272 </object>
3273
3274 <object type="template" name="footer" />
3275 </page>
3276
3277 <page name="filemanagerrenamefile">
3278 <object type="template" name="header" />
3279
3280 <object type="text" color="%text_color%">
3281 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3282 <font resource="font" />
3283 <text>Please Enter a New %tw_fm_type% Name</text>
3284 </object>
3285
3286 <object type="input">
3287 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3288 <background color="%input_background_color%" />
3289 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3290 <font resource="font" color="%text_color%" />
3291 <text>%tw_filemanager_rename%</text>
3292 <data name="tw_filemanager_rename" />
3293 <restrict minlen="1" maxlen="128" />
3294 <actions>
3295 <action function="set">tw_fm_text2=to</action>
3296 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3297 <action function="set">tw_include_text3=1</action>
3298 <action function="set">tw_back=filemanageroptions</action>
3299 <action function="page">filemanagerconfirm</action>
3300 </actions>
3301 </object>
3302
3303 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003304 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003305 <placement x="%col_center_x%" y="%cancel_button_y%" />
3306 <font resource="font" color="%button_text_color%" />
3307 <text>Cancel</text>
3308 <image resource="main_button" />
3309 <action function="page">filemanageroptions</action>
3310 </object>
3311
3312 <object type="template" name="keyboardtemplate" />
3313
3314 <object type="action">
3315 <touch key="home" />
3316 <action function="page">main</action>
3317 </object>
3318
3319 <object type="action">
3320 <touch key="back" />
3321 <action function="page">filemanageroptions</action>
3322 </object>
3323
3324 <object type="template" name="footer" />
3325 </page>
3326
3327 <page name="filemanagerrenamefolder">
3328 <object type="template" name="header" />
3329
3330 <object type="text" color="%text_color%">
3331 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3332 <font resource="font" />
3333 <text>Please Enter a New %tw_fm_type% Name</text>
3334 </object>
3335
3336 <object type="input">
3337 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3338 <background color="%input_background_color%" />
3339 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3340 <font resource="font" color="%text_color%" />
3341 <text>%tw_filemanager_rename%</text>
3342 <data name="tw_filemanager_rename" />
3343 <restrict minlen="1" maxlen="128" />
3344 <actions>
3345 <action function="set">tw_fm_text2=to</action>
3346 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3347 <action function="set">tw_include_text3=1</action>
3348 <action function="set">tw_back=filemanageroptions</action>
3349 <action function="page">filemanagerconfirm</action>
3350 </actions>
3351 </object>
3352
3353 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003354 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003355 <placement x="%col_center_x%" y="%cancel_button_y%" />
3356 <font resource="font" color="%button_text_color%" />
3357 <text>Cancel</text>
3358 <image resource="main_button" />
3359 <action function="page">filemanageroptions</action>
3360 </object>
3361
3362 <object type="template" name="keyboardtemplate" />
3363
3364 <object type="action">
3365 <touch key="home" />
3366 <action function="page">main</action>
3367 </object>
3368
3369 <object type="action">
3370 <touch key="back" />
3371 <action function="page">filemanageroptions</action>
3372 </object>
3373
3374 <object type="template" name="footer" />
3375 </page>
3376
3377 <page name="filemanagerchmod">
3378 <object type="template" name="header" />
3379
3380 <object type="text" color="%text_color%">
3381 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3382 <font resource="font" />
3383 <text>Please Enter New Permissions</text>
3384 </object>
3385
3386 <object type="input">
3387 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3388 <background color="%input_background_color%" />
3389 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3390 <font resource="font" color="%text_color%" />
3391 <text>%tw_filemanager_rename%</text>
3392 <data name="tw_filemanager_rename" />
3393 <restrict minlen="3" maxlen="4" allow="0123456789" />
3394 <actions>
3395 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3396 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3397 <action function="set">tw_back=filemanageroptions</action>
3398 <action function="page">filemanagerconfirm</action>
3399 </actions>
3400 </object>
3401
3402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003404 <placement x="%col_center_x%" y="%cancel_button_y%" />
3405 <font resource="font" color="%button_text_color%" />
3406 <text>Cancel</text>
3407 <image resource="main_button" />
3408 <action function="page">filemanageroptions</action>
3409 </object>
3410
3411 <object type="template" name="keyboardtemplate" />
3412
3413 <object type="action">
3414 <touch key="home" />
3415 <action function="page">main</action>
3416 </object>
3417
3418 <object type="action">
3419 <touch key="back" />
3420 <action function="page">filemanageroptions</action>
3421 </object>
3422
3423 <object type="template" name="footer" />
3424 </page>
3425
3426 <page name="filemanagerconfirm">
3427 <object type="template" name="header" />
3428
3429 <object type="text" color="%text_color%">
3430 <font resource="font" />
3431 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3432 <text>%tw_fm_text1%</text>
3433 </object>
3434
3435 <object type="text" color="%text_color%">
3436 <font resource="font" />
3437 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3438 <text>%tw_filename1%</text>
3439 </object>
3440
3441 <object type="text" color="%text_color%">
3442 <font resource="font" />
3443 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3444 <text>%tw_fm_text2%</text>
3445 </object>
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3450 <text>%tw_fm_text3%</text>
3451 </object>
3452
3453 <object type="text" color="%text_color%">
3454 <font resource="font" />
3455 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3456 <text>Press back button to cancel.</text>
3457 </object>
3458
3459 <object type="slider">
3460 <placement x="%slider_x%" y="%slider_y%" />
3461 <resource base="slider" used="slider-used" touch="slider-touch" />
3462 <action function="page">filemanageracction</action>
3463 </object>
3464
3465 <object type="text" color="%text_color%">
3466 <font resource="font" />
3467 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3468 <text>Swipe to Confirm</text>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="back" />
3473 <action function="page">%tw_back%</action>
3474 </object>
3475
3476 <object type="action">
3477 <touch key="home" />
3478 <action function="page">main</action>
3479 </object>
3480
3481 <object type="template" name="footer" />
3482 </page>
3483
3484 <page name="filemanageracction">
3485 <object type="template" name="header" />
3486
3487 <object type="text" color="%text_color%">
3488 <font resource="font" />
3489 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3490 <text>%tw_fm_text1%</text>
3491 </object>
3492
3493 <object type="template" name="action_page_console" />
3494
3495 <object type="template" name="progress_bar" />
3496
3497 <object type="action">
3498 <conditions>
3499 <condition var1="tw_operation_state" var2="1" />
3500 <condition var1="tw_operation_status" var2="0" />
3501 </conditions>
3502 <actions>
3503 <action function="set">tw_back=filemanagerlist</action>
3504 <action function="set">tw_complete_text1=File Operation Complete</action>
3505 <action function="page">action_complete</action>
3506 </actions>
3507 </object>
3508
3509 <object type="action">
3510 <conditions>
3511 <condition var1="tw_operation_state" var2="1" />
3512 <condition var1="tw_operation_status" op="!=" var2="0" />
3513 </conditions>
3514 <actions>
3515 <action function="set">tw_complete_text1=File Operation Complete</action>
3516 <action function="page">action_complete</action>
3517 </actions>
3518 </object>
3519
3520 <object type="action">
3521 <condition var1="tw_include_text3" var2="0" />
3522 <actions>
3523 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3524 </actions>
3525 </object>
3526
3527 <object type="action">
3528 <condition var1="tw_include_text3" var2="1" />
3529 <actions>
3530 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3531 </actions>
3532 </object>
3533 </page>
3534
3535 <page name="decrypt">
3536 <object type="template" name="header" />
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3541 <text>Please Enter Your Password</text>
3542 </object>
3543
3544 <object type="input">
3545 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3546 <background color="%input_background_color%" />
3547 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3548 <font resource="font" color="%text_color%" />
3549 <text>%tw_crypto_display%</text>
3550 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3551 <restrict minlen="1" maxlen="254" />
3552 <actions>
3553 <action function="page">trydecrypt</action>
3554 </actions>
3555 </object>
3556
3557 <object type="text" color="%text_fail_color%">
3558 <condition var1="tw_password_fail" var2="1" />
3559 <font resource="font" />
3560 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3561 <text>Password Failed, Please Try Again</text>
3562 </object>
3563
3564 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003565 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003566 <placement x="%col_center_x%" y="%cancel_button_y%" />
3567 <font resource="font" color="%button_text_color%" />
3568 <text>Cancel</text>
3569 <image resource="main_button" />
3570 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003571 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003572 <action function="page">main</action>
3573 </actions>
3574 </object>
3575
3576 <object type="template" name="keyboardtemplate" />
3577
Dees_Troy51a0e822012-09-05 15:24:24 -04003578 <object type="template" name="footer" />
3579 </page>
3580
3581 <page name="trydecrypt">
3582 <object type="template" name="header" />
3583
3584 <object type="text" color="%text_color%">
3585 <font resource="font" />
3586 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3587 <text>Trying Decryption with Your Password</text>
3588 </object>
3589
3590 <object type="template" name="action_page_console" />
3591
3592 <object type="template" name="progress_bar" />
3593
3594 <object type="action">
3595 <action function="decrypt"></action>
3596 </object>
3597
3598 <object type="action">
3599 <conditions>
3600 <condition var1="tw_operation_state" var2="1" />
3601 <condition var1="tw_operation_status" op="!=" var2="0" />
3602 </conditions>
3603 <actions>
3604 <action function="set">tw_password_fail=1</action>
3605 <action function="page">decrypt</action>
3606 </actions>
3607 </object>
3608
3609 <object type="action">
3610 <conditions>
3611 <condition var1="tw_operation_state" var2="1" />
3612 <condition var1="tw_operation_status" op="=" var2="0" />
3613 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003614 <actions>
3615 <action function="set">tw_page_done=1</action>
3616 <action function="page">main</action>
3617 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003618 </object>
3619 </page>
3620
3621 <page name="terminalfolder">
3622 <object type="template" name="header" />
3623
3624 <object type="text" color="%text_color%">
3625 <font resource="font" />
3626 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3627 <text>Browse to Starting Folder</text>
3628 </object>
3629
3630 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003631 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003632 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3633 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003634 <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 -04003635 <text>%tw_terminal_location%</text>
3636 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3637 <sort name="tw_gui_sort_order" />
3638 <icon folder="folder_icon" file="file_icon" />
3639 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003640 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003641 <filter folders="1" files="0" />
3642 <path name="tw_terminal_location" default="/" />
3643 <data name="tw_terminal" />
3644 <selection name="tw_terminal_selection" />
3645 </object>
3646
3647 <object type="template" name="sort_options" />
3648
3649 <object type="action">
3650 <touch key="home" />
3651 <action function="page">main</action>
3652 </object>
3653
3654 <object type="action">
3655 <touch key="back" />
3656 <action function="page">advanced</action>
3657 </object>
3658
3659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003660 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003661 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3662 <font resource="font" color="%button_text_color%" />
3663 <text>Select Folder</text>
3664 <image resource="main_button" />
3665 <actions>
3666 <action function="page">terminalcommand</action>
3667 </actions>
3668 </object>
3669
3670 <object type="template" name="footer" />
3671 </page>
3672
3673 <page name="terminalcommand">
3674 <background color="#000000FF" />
3675
3676 <object type="console">
3677 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3678 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3679 <font resource="fixed" />
3680 </object>
3681
3682 <object type="text" color="%text_color%">
3683 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3684 <font resource="font" />
3685 <text>Starting Path: %tw_terminal_location%</text>
3686 </object>
3687
3688 <object type="input">
3689 <condition var1="tw_terminal_state" var2="0" />
3690 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3691 <background color="%input_background_color%" />
3692 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3693 <font resource="font" color="%text_color%" />
3694 <text>%tw_terminal_command%</text>
3695 <data name="tw_terminal_command" />
3696 <restrict minlen="1" />
3697 <action function="terminalcommand">%tw_terminal_command%</action>
3698 </object>
3699
3700 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003701 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003702 <condition var1="tw_terminal_state" var2="1" />
3703 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3704 <font resource="font" color="%button_text_color%" />
3705 <text>KILL</text>
3706 <image resource="medium_button" />
3707 <action function="killterminal"></action>
3708 </object>
3709
3710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <placement x="%home_button_x%" y="%terminal_button_y%" />
3713 <font resource="font" color="%button_text_color%" />
3714 <text></text>
3715 <image resource="home_icon" />
3716 <condition var1="tw_busy" var2="0" />
3717 <action function="key">home</action>
3718 </object>
3719
3720 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003721 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003722 <placement x="%back_button_x%" y="%terminal_button_y%" />
3723 <font resource="font" color="%button_text_color%" />
3724 <text></text>
3725 <image resource="back_icon" />
3726 <condition var1="tw_busy" var2="0" />
3727 <action function="key">back</action>
3728 </object>
3729
3730 <object type="action">
3731 <touch key="power" />
3732 <action function="overlay">lock</action>
3733 </object>
3734
3735 <object type="template" name="keyboardtemplate" />
3736
3737 <object type="action">
3738 <touch key="home" />
3739 <action function="page">main</action>
3740 </object>
3741
3742 <object type="action">
3743 <touch key="back" />
3744 <action function="page">terminalfolder</action>
3745 </object>
3746 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003747
3748 <page name="sideload">
3749 <object type="template" name="header" />
3750
3751 <object type="text" color="%text_color%">
3752 <font resource="font" />
3753 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3754 <text>ADB Sideload</text>
3755 </object>
3756
3757 <object type="checkbox">
3758 <placement x="%col1_x%" y="%row3_text_y%" />
3759 <font resource="font" color="%text_color%" />
3760 <text>Wipe Dalvik Cache.</text>
3761 <data variable="tw_wipe_dalvik" />
3762 <image checked="checkbox_true" unchecked="checkbox_false" />
3763 </object>
3764
3765 <object type="checkbox">
3766 <placement x="%col1_x%" y="%row4_text_y%" />
3767 <font resource="font" color="%text_color%" />
3768 <text>Wipe Cache.</text>
3769 <data variable="tw_wipe_cache" />
3770 <image checked="checkbox_true" unchecked="checkbox_false" />
3771 </object>
3772
3773 <object type="slider">
3774 <placement x="%slider_x%" y="%slider_y%" />
3775 <resource base="slider" used="slider-used" touch="slider-touch" />
3776 <actions>
3777 <action function="set">tw_back=advanced</action>
3778 <action function="set">tw_action=adbsideload</action>
3779 <action function="set">tw_action_text1=ADB Sideload</action>
3780 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3781 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3782 <action function="set">tw_has_cancel=1</action>
3783 <action function="set">tw_show_reboot=1</action>
3784 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3785 <action function="page">action_page</action>
3786 </actions>
3787 </object>
3788
3789 <object type="text" color="%text_color%">
3790 <font resource="font" />
3791 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3792 <text>Swipe to Start Sideload</text>
3793 </object>
3794
3795 <object type="action">
3796 <touch key="home" />
3797 <action function="page">main</action>
3798 </object>
3799
3800 <object type="action">
3801 <touch key="back" />
3802 <action function="page">advanced</action>
3803 </object>
3804
3805 <object type="template" name="footer" />
3806 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003807
3808 <page name="installsu">
3809 <object type="template" name="header" />
3810
3811 <object type="text" color="%text_color%">
3812 <font resource="font" />
3813 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3814 <text>Install SuperSU?</text>
3815 </object>
3816
3817 <object type="text" color="%text_color%">
3818 <font resource="font" />
3819 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3820 <text>Your device does not appear to be rooted.</text>
3821 </object>
3822
3823 <object type="text" color="%text_color%">
3824 <font resource="font" />
3825 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3826 <text>Install SuperSU now? This will root your device.</text>
3827 </object>
3828
3829 <object type="button">
3830 <highlight color="%highlight_color%" />
3831 <placement x="%col_center_x%" y="%row2_medium_y%" />
3832 <font resource="font" color="%button_text_color%" />
3833 <text>Do Not Install</text>
3834 <image resource="main_button" />
3835 <action function="set">tw_page_done=1</action>
3836 </object>
3837
3838 <object type="slider">
3839 <placement x="%slider_x%" y="%slider_y%" />
3840 <resource base="slider" used="slider-used" touch="slider-touch" />
3841 <actions>
3842 <action function="set">tw_action=installsu</action>
3843 <action function="set">tw_action_text1=Installing SuperSU</action>
3844 <action function="set">tw_action_text2=</action>
3845 <action function="page">singleaction_page</action>
3846 </actions>
3847 </object>
3848
3849 <object type="text" color="%text_color%">
3850 <font resource="font" />
3851 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3852 <text>Swipe to Install</text>
3853 </object>
3854 </page>
3855
3856 <page name="fixsu">
3857 <object type="template" name="header" />
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3862 <text>Fix Superuser Permissions?</text>
3863 </object>
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3868 <text>Root permissions appear to be lost.</text>
3869 </object>
3870
3871 <object type="text" color="%text_color%">
3872 <font resource="font" />
3873 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3874 <text>Fix root permissions now?</text>
3875 </object>
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3880 <text>(Fixes permissions on su binary & app)</text>
3881 </object>
3882
3883 <object type="button">
3884 <highlight color="%highlight_color%" />
3885 <placement x="%col_center_x%" y="%row2_medium_y%" />
3886 <font resource="font" color="%button_text_color%" />
3887 <text>Do Not Fix</text>
3888 <image resource="main_button" />
3889 <action function="set">tw_page_done=1</action>
3890 </object>
3891
3892 <object type="slider">
3893 <placement x="%slider_x%" y="%slider_y%" />
3894 <resource base="slider" used="slider-used" touch="slider-touch" />
3895 <actions>
3896 <action function="set">tw_action=fixsu</action>
3897 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3898 <action function="set">tw_action_text2=</action>
3899 <action function="page">singleaction_page</action>
3900 </actions>
3901 </object>
3902
3903 <object type="text" color="%text_color%">
3904 <font resource="font" />
3905 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3906 <text>Swipe to Fix Root</text>
3907 </object>
3908 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003909 </pages>
3910</recovery>