blob: 8babda141cde3a3f8de47bb95112d73388447d48 [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" />
15 <resource name="side" type="image" filename="backgroundside.jpg" />
16 <resource name="bottom" type="image" filename="backgroundbottom.jpg" />
17 <resource name="large_black" type="image" filename="large_black" />
18 <resource name="main_button" type="image" filename="button" />
19 <resource name="file_icon" type="image" filename="file" />
20 <resource name="folder_icon" type="image" filename="folder" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
30 <resource name="sort_button" type="image" filename="sort-button" />
31 <resource name="minus_button" type="image" filename="minus-button" />
32 <resource name="plus_button" type="image" filename="plus-button" />
33 <resource name="home_icon" type="image" filename="home-icon" />
34 <resource name="back_icon" type="image" filename="back-icon" />
35 <resource name="console_button" type="image" filename="console-toggle" />
36 <resource name="slider" type="image" filename="slider" />
37 <resource name="slider-used" type="image" filename="slider-used" />
38 <resource name="slider-touch" type="image" filename="slider-touch" />
39 <resource name="unlock-icon" type="image" filename="unlock" />
40 <resource name="keyboard1" type="image" filename="keyboard1" />
41 <resource name="keyboard2" type="image" filename="keyboard2" />
42 <resource name="keyboard3" type="image" filename="keyboard3" />
43 <resource name="keyboard4" type="image" filename="keyboard4" />
44 </resources>
45
46 <variables>
47 <variable name="col1_x" value="151" />
48 <variable name="col2_x" value="397" />
49 <variable name="col3_x" value="643" />
50 <variable name="col4_x" value="889" />
51 <variable name="row1_y" value="127" />
52 <variable name="row2_y" value="388" />
53 <variable name="col_center_x" value="520" />
54 <variable name="center_x" value="640" />
55 <variable name="screen_width" value="1280" />
56 <variable name="screen_height" value="800" />
57 <variable name="col_progressbar_x" value="514" />
58 <variable name="row_progressbar_y" value="700" />
59 <variable name="col1_medium_x" value="385" />
60 <variable name="col2_medium_x" value="515" />
61 <variable name="col3_medium_x" value="645" />
62 <variable name="col4_medium_x" value="775" />
63 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row2_medium_y" value="245" />
Dees_Troy51a0e822012-09-05 15:24:24 -040065 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060066 <variable name="row4_medium_y" value="450" />
Dees_Troy51a0e822012-09-05 15:24:24 -040067 <variable name="row5_medium_y" value="405" />
68 <variable name="row1_text_y" value="58" />
69 <variable name="row2_text_y" value="105" />
70 <variable name="row3_text_y" value="140" />
71 <variable name="row4_text_y" value="170" />
72 <variable name="row5_text_y" value="200" />
73 <variable name="row6_text_y" value="230" />
74 <variable name="row7_text_y" value="260" />
75 <variable name="row8_text_y" value="290" />
76 <variable name="row9_text_y" value="320" />
77 <variable name="row10_text_y" value="350" />
78 <variable name="row11_text_y" value="380" />
79 <variable name="row12_text_y" value="410" />
80 <variable name="row13_text_y" value="440" />
81 <variable name="row14_text_y" value="470" />
82 <variable name="row15_text_y" value="500" />
83 <variable name="row16_text_y" value="530" />
84 <variable name="row17_text_y" value="560" />
85 <variable name="row18_text_y" value="590" />
86 <variable name="row_offsetmedium_y" value="465" />
87 <variable name="home_button_x" value="1069" />
88 <variable name="home_button_y" value="5" />
89 <variable name="back_button_x" value="1139" />
90 <variable name="back_button_y" value="5" />
91 <variable name="console_button_x" value="1209" />
92 <variable name="console_button_y" value="5" />
93 <variable name="nandcheck_col1" value="328" />
94 <variable name="nandcheck_col2" value="600" />
95 <variable name="nandcheck_row1" value="150" />
96 <variable name="nandcheck_row2" value="200" />
97 <variable name="nandcheck_row3" value="250" />
98 <variable name="nandcheck_row4" value="300" />
99 <variable name="nandcheck_row5" value="350" />
100 <variable name="nandcheck_row6" value="400" />
101 <variable name="nandcheck_row7" value="450" />
102 <variable name="button_text_color" value="#AAAAAA" />
103 <variable name="text_color" value="#A0A0A0" />
104 <variable name="text_success_color" value="#33B5E5" />
105 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600106 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400107 <variable name="slider_x" value="435" />
108 <variable name="slider_y" value="600" />
109 <variable name="slider_text_y" value="650" />
110 <variable name="sort_text_x" value="398" />
111 <variable name="sort_asc_text_y" value="655" />
112 <variable name="sort_asc_button_y" value="650" />
113 <variable name="sort_desc_text_y" value="700" />
114 <variable name="sort_desc_button_y" value="695" />
115 <variable name="sort_col1_button_x" value="568" />
116 <variable name="sort_col2_button_x" value="638" />
117 <variable name="sort_col3_button_x" value="708" />
118 <variable name="col1_sdext_x" value="508" />
119 <variable name="col2_sdext_x" value="718" />
120 <variable name="row1_sdext_y" value="115" />
121 <variable name="row2_sdext_y" value="180" />
122 <variable name="row_extsize_y" value="115" />
123 <variable name="row_swapsize_y" value="180" />
124 <variable name="input_x" value="28" />
125 <variable name="input_width" value="1200" />
126 <variable name="input_height" value="30" />
127 <variable name="input_background_color" value="#303030" />
128 <variable name="input_cursor_color" value="#33B5E5" />
129 <variable name="input_cursor_width" value="3" />
130 <variable name="console_x" value="25" />
131 <variable name="console_width" value="1230" />
132 <variable name="console_foreground" value="#A0A0A0" />
133 <variable name="console_background" value="#303030" />
134 <variable name="console_scroll" value="#303030" />
135 <variable name="console_action_height" value="320" />
136 <variable name="console_install_height" value="440" />
137 <variable name="console_installdone_height" value="300" />
138 <variable name="fileselector_folder_x" value="28" />
139 <variable name="fileselector_folder_width" value="410" />
140 <variable name="fileselector_folderonly_width" value="588" />
141 <variable name="fileselector_file_x" value="445" />
142 <variable name="fileselector_file_width" value="810" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500143 <variable name="fileselector_install_y" value="130" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="fileselector_install_height" value="510" />
145 <variable name="fileselector_header_background" value="#202020" />
146 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
147 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
148 <variable name="fileselector_header_separatorheight" value="3" />
149 <variable name="fileselector_separatorcolor" value="#505050" />
150 <variable name="fileselector_separatorheight" value="2" />
151 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600152 <variable name="fileselector_highlight_color" value="#505050" />
153 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400154 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100155 <variable name="fastscroll_linecolor" value="#808080" />
156 <variable name="fastscroll_rectcolor" value="#808080" />
157 <variable name="fastscroll_w" value="40" />
158 <variable name="fastscroll_linew" value="2" />
159 <variable name="fastscroll_rectw" value="30" />
160 <variable name="fastscroll_recth" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="zipstorage_text_y" value="88" />
162 <variable name="listbox_x" value="397" />
163 <variable name="listbox_y" value="90" />
164 <variable name="listbox_width" value="588" />
165 <variable name="listbox_tz_height" value="290" />
166 <variable name="listbox_background" value="#303030" />
167 <variable name="listbox_spacing" value="18" />
168 <variable name="sd_plus_x" value="408" />
169 <variable name="lock_x" value="440" />
170 <variable name="lock_y" value="184" />
171 <variable name="filemanager_select_x" value="1017" />
172 <variable name="filemanager_select_y" value="620" />
173 <variable name="backup_name_text_y" value="440" />
174 <variable name="backup_name_button_y" value="240" />
175 <variable name="col_right_x" value="1252" />
176 <variable name="cancel_button_y" value="240" />
177 <variable name="terminal_console_y" value="0" />
178 <variable name="terminal_console_height" value="362" />
179 <variable name="terminal_text_y" value="368" />
180 <variable name="terminal_button_y" value="358" />
181 <variable name="terminal_input_width" value="1031" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="button_fill_color" value="#303030" />
183 <variable name="button_fill_full_width" value="640" />
184 <variable name="button_fill_main_width" value="609" />
185 <variable name="button_fill_main_height" value="160" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000186 <variable name="button_fill_half_height" value="53" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500187 <variable name="button_fill_quarter_height" value="40" />
188 <variable name="button_full_center_x" value="320" />
189 <variable name="backup_list_x" value="28" />
190 <variable name="backup_list_y" value="105" />
191 <variable name="backup_list_width" value="609" />
192 <variable name="backup_list_height" value="440" />
193 <variable name="backup_storage_y" value="270" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000194 <variable name="backup_encrypt_y" value="330" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500195 <variable name="restore_list_y" value="140" />
196 <variable name="restore_list_height" value="400" />
197 <variable name="mount_list_height" value="600" />
198 <variable name="mount_storage_row" value="550" />
199 <variable name="wipe_list_height" value="420" />
200 <variable name="wipe_button_y" value="250" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200201 <variable name="slidervalue_x" value="320" />
202 <variable name="slidervalue_w" value="640" />
203 <variable name="slidervalue_line_clr" value="#FFFFFF" />
204 <variable name="slidervalue_slider_clr" value="#33B5E5" />
205 <variable name="slidervalue_lineh" value="2" />
206 <variable name="slidervalue_padding" value="0" />
207 <variable name="slidervalue_sliderw" value="15" />
208 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400209 </variables>
210
211 <templates>
212 <template name="header">
213 <background color="#000000FF" />
214
215 <object type="image">
216 <image resource="side" />
217 <placement x="0" y="0" />
218 </object>
219
220 <object type="image">
221 <image resource="side" />
222 <placement x="1250" y="0" />
223 </object>
224
225 <object type="image">
226 <image resource="base" />
227 <placement x="0" y="0" />
228 </object>
229
230 <object type="image">
231 <image resource="bottom" />
232 <placement x="1" y="770" />
233 </object>
234
235 <object type="image">
236 <image resource="large_black" />
237 <placement x="0" y="0" />
238 </object>
239
240 <object type="text" color="%text_color%">
241 <font resource="font" />
242 <placement x="250" y="5" />
243 <text>Team Win Recovery Project (twrp) v%tw_version%</text>
244 </object>
245
246 <object type="text" color="%text_color%">
247 <font resource="font" />
248 <placement x="250" y="30" />
249 <conditions>
250 <condition var1="tw_no_battery_percent" var2="0" />
251 <condition var1="tw_battery" op=">" var2="0" />
252 <condition var1="tw_battery" op="<" var2="101" />
253 </conditions>
254 <text>Battery Level: %tw_battery%</text>
255 </object>
256
257 <object type="text" color="%text_color%">
258 <font resource="font" />
259 <placement x="450" y="30" />
260 <text>%tw_time%</text>
261 </object>
262
263 <object type="text" color="%text_color%">
264 <condition var1="tw_simulate_actions" var2="1" />
265 <font resource="font" />
266 <placement x="550" y="30" />
267 <text>SIMULATING ACTIONS</text>
268 </object>
269
270 <object type="button">
271 <placement x="%home_button_x%" y="%home_button_y%" />
272 <font resource="font" color="%button_text_color%" />
273 <text></text>
274 <image resource="home_icon" />
275 <condition var1="tw_busy" var2="0" />
276 <action function="key">home</action>
277 </object>
278
279 <object type="button">
280 <placement x="%back_button_x%" y="%back_button_y%" />
281 <font resource="font" color="%button_text_color%" />
282 <text></text>
283 <image resource="back_icon" />
284 <condition var1="tw_busy" var2="0" />
285 <action function="key">back</action>
286 </object>
287
288 <object type="action">
289 <touch key="power" />
290 <action function="overlay">lock</action>
291 </object>
292 </template>
293
294 <template name="progress_bar">
295 <object type="progressbar">
296 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
297 <resource empty="progress_empty" full="progress_full" />
298 <data name="ui_progress" />
299 </object>
300
301 <object type="animation">
302 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
303 <resource name="progress" />
304 <speed fps="15" render="2" />
305 <loop frame="1" />
306 </object>
307 </template>
308
309 <template name="sort_options">
310 <object type="text" color="%text_color%">
311 <font resource="font" />
312 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
313 <text>Sort Ascending:</text>
314 </object>
315
316 <object type="button">
317 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Name</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=1</action>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=2</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
334 <font resource="font" color="%button_text_color%" />
335 <text>Size</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=3</action>
338 </object>
339
340 <object type="text" color="%text_color%">
341 <font resource="font" />
342 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
343 <text>Sort Descending:</text>
344 </object>
345
346 <object type="button">
347 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
348 <font resource="font" color="%button_text_color%" />
349 <text>Name</text>
350 <image resource="sort_button" />
351 <action function="set">tw_gui_sort_order=-1</action>
352 </object>
353
354 <object type="button">
355 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
356 <font resource="font" color="%button_text_color%" />
357 <text>Date</text>
358 <image resource="sort_button" />
359 <action function="set">tw_gui_sort_order=-2</action>
360 </object>
361
362 <object type="button">
363 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
364 <font resource="font" color="%button_text_color%" />
365 <text>Size</text>
366 <image resource="sort_button" />
367 <action function="set">tw_gui_sort_order=-3</action>
368 </object>
369 </template>
370
371 <template name="flash_zip_console">
372 <object type="console">
373 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
374 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
375 <font resource="fixed" />
376 </object>
377 </template>
378
379 <template name="action_page_console">
380 <object type="console">
381 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
382 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
383 <font resource="fixed" />
384 </object>
385 </template>
386
387 <template name="footer">
388 <object type="console">
389 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
390 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
391 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
392 <font resource="fixed" />
393 </object>
394 </template>
395
396 <template name="keyboardtemplate">
397 <object type="keyboard">
398 <placement x="0" y="438" />
399 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600400 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400401 <layout1>
402 <keysize height="91" width="106" />
403 <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" />
404 <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" />
405 <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" />
406 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
407 </layout1>
408 <layout2>
409 <keysize height="90" width="106" />
410 <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" />
411 <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" />
412 <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" />
413 <row4 key01="190:" key02=":" long02="+" key03="104:/" long03="@" key04="480: " key05="102:'" long05="102:c:34" key06="-" long06="_" />
414 </layout2>
415 <layout3>
416 <keysize height="90" width="106" />
417 <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" />
418 <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" />
419 <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" />
420 <row4 key01="190:" key02="/" key03="104:@" key04="480: " key05="102:c:34" key06="_" />
421 </layout3>
422 <layout4>
423 <keysize height="91" width="106" />
424 <row1 key01="102:" key02="~" key03="`" key04="|" key05="106:" key06="106:" key07="106:" key08="106:" key09="106:" key10="106:" key11="106:" key12="118:c:8" />
425 <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" />
426 <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" />
427 <row4 key01="400:" key02="480: " />
428 </layout4>
429 </object>
430 </template>
431 </templates>
432
433 <pages>
434 <page name="main">
435 <object type="action">
436 <actions>
437 <action function="set">tw_clear_destination=main2</action>
438 <action function="page">clear_vars</action>
439 </actions>
440 </object>
441 </page>
442
443 <page name="main2">
444 <object type="template" name="header" />
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col1_x%" y="%row1_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Install</text>
451 <image resource="main_button" />
452 <actions>
453 <action function="queueclear"></action>
454 <action function="page">install</action>
455 </actions>
456 </object>
457
458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400460 <placement x="%col2_x%" y="%row1_y%" />
461 <font resource="font" color="%button_text_color%" />
462 <text>Backup</text>
463 <image resource="main_button" />
464 <action function="page">backup</action>
465 </object>
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col3_x%" y="%row1_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Restore</text>
472 <image resource="main_button" />
473 <action function="page">restore</action>
474 </object>
475
476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400478 <placement x="%col4_x%" y="%row1_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Wipe</text>
481 <image resource="main_button" />
482 <action function="page">wipe</action>
483 </object>
484
485 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600486 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400487 <placement x="%col1_x%" y="%row2_y%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Mount</text>
490 <image resource="main_button" />
491 <action function="page">mount</action>
492 </object>
493
494 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600495 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400496 <placement x="%col2_x%" y="%row2_y%" />
497 <font resource="font" color="%button_text_color%" />
498 <text>Settings</text>
499 <image resource="main_button" />
500 <action function="page">settings</action>
501 </object>
502
503 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600504 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400505 <placement x="%col3_x%" y="%row2_y%" />
506 <font resource="font" color="%button_text_color%" />
507 <text>Advanced</text>
508 <image resource="main_button" />
509 <action function="page">advanced</action>
510 </object>
511
512 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600513 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400514 <placement x="%col4_x%" y="%row2_y%" />
515 <font resource="font" color="%button_text_color%" />
516 <text>Reboot</text>
517 <image resource="main_button" />
518 <action function="page">reboot</action>
519 </object>
520
521 <object type="template" name="footer" />
522 </page>
523
524 <page name="install">
525 <object type="template" name="header" />
526
527 <object type="text" color="%text_color%">
528 <font resource="font" />
529 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
530 <text>Select Zip to Install</text>
531 </object>
532
533 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500534 <highlight color="%highlight_color%" />
535 <fill color="%button_fill_color%" />
536 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
537 <font resource="font" color="%button_text_color%" />
538 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
539 <actions>
540 <action function="set">tw_back=install</action>
541 <action function="page">selectstorage</action>
542 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400543 </object>
544
545 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600546 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400547 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
548 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100549 <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 -0400550 <text>Folders:</text>
551 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
552 <sort name="tw_gui_sort_order" />
553 <icon folder="folder_icon" file="file_icon" />
554 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600555 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400556 <filter folders="1" files="0" />
557 <path name="tw_zip_location" default="/sdcard" />
558 <data name="select" />
559 </object>
560
561 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600562 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400563 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
564 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100565 <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 -0400566 <text>%tw_zip_location%</text>
567 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
568 <sort name="tw_gui_sort_order" />
569 <icon folder="folder_icon" file="file_icon" />
570 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600571 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <filter extn=".zip" folders="0" files="1" />
573 <path name="tw_zip_location" />
574 <data name="tw_filename" />
575 <selection name="tw_file" />
576 </object>
577
578 <object type="template" name="sort_options" />
579
580 <object type="action">
581 <condition var1="tw_filename" op="modified" />
582 <actions>
583 <action function="queuezip"></action>
584 <action function="page">flash_confirm</action>
585 </actions>
586 </object>
587
588 <object type="action">
589 <touch key="back" />
590 <action function="page">main</action>
591 </object>
592
593 <object type="action">
594 <touch key="home" />
595 <action function="page">main</action>
596 </object>
597
598 <object type="template" name="footer" />
599 </page>
600
601 <page name="flash_confirm">
602 <object type="template" name="header" />
603
604 <object type="text" color="%text_color%">
605 <font resource="font" />
606 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
607 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
613 <text>Folder:</text>
614 </object>
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
618 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
619 <text>%tw_zip_location%</text>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
625 <text>File to flash:</text>
626 </object>
627
628 <object type="text" color="%text_color%">
629 <font resource="font" />
630 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
631 <text>%tw_file%</text>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
637 <text>Press back to cancel adding this zip.</text>
638 </object>
639
640 <object type="checkbox">
641 <placement x="%col2_x%" y="%row7_text_y%" />
642 <font resource="font" color="%text_color%" />
643 <text>Zip file signature verification?</text>
644 <data variable="tw_signed_zip_verify" />
645 <image checked="checkbox_true" unchecked="checkbox_false" />
646 </object>
647
Dees_Troy51a0e822012-09-05 15:24:24 -0400648 <object type="text" color="%text_color%">
649 <font resource="font" />
650 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
651 <text>File %tw_zip_queue_count% of max of 10</text>
652 </object>
653
654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400656 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
657 <placement x="%col2_x%" y="%row5_medium_y%" />
658 <font resource="font" color="%button_text_color%" />
659 <text>Add More Zips</text>
660 <image resource="mediumwide_button" />
661 <action function="page">install</action>
662 </object>
663
664 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600665 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400666 <placement x="%col3_x%" y="%row5_medium_y%" />
667 <font resource="font" color="%button_text_color%" />
668 <text>Clear Queue</text>
669 <image resource="mediumwide_button" />
670 <actions>
671 <action function="queueclear"></action>
672 <action function="page">install</action>
673 </actions>
674 </object>
675
676 <object type="slider">
677 <placement x="%slider_x%" y="%slider_y%" />
678 <resource base="slider" used="slider-used" touch="slider-touch" />
679 <action function="flash">flash_zip</action>
680 </object>
681
682 <object type="text" color="%text_color%">
683 <font resource="font" />
684 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
685 <text>Swipe to Confirm Flash</text>
686 </object>
687
688 <object type="action">
689 <touch key="back" />
690 <actions>
691 <action function="cancelzip"></action>
692 <action function="page">install</action>
693 </actions>
694 </object>
695
696 <object type="action">
697 <touch key="home" />
698 <action function="page">main</action>
699 </object>
700
701 <object type="template" name="footer" />
702 </page>
703
704 <page name="flash_zip">
705 <object type="template" name="header" />
706
707 <object type="template" name="flash_zip_console" />
708
709 <object type="text" color="%text_color%">
710 <font resource="font" />
711 <placement x="%col1_x%" y="%row16_text_y%" />
712 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
713 </object>
714
715 <object type="text" color="%text_color%">
716 <font resource="font" />
717 <placement x="%col1_x%" y="%row17_text_y%" />
718 <text>%tw_filename%</text>
719 </object>
720
721 <object type="template" name="progress_bar" />
722
723 <object type="action">
724 <condition var1="tw_operation_state" var2="1" />
725 <action function="page">flash_done</action>
726 </object>
727 </page>
728
729 <page name="flash_done">
730 <object type="template" name="header" />
731
732 <object type="template" name="flash_zip_console" />
733
734 <object type="text" color="%text_fail_color%">
735 <condition var1="tw_operation_status" op="!=" var2="0" />
736 <font resource="font" />
737 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
738 <text>Failed</text>
739 </object>
740
741 <object type="text" color="%text_success_color%">
742 <condition var1="tw_operation_status" var2="0" />
743 <font resource="font" />
744 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
745 <text>Successful</text>
746 </object>
747
748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400750 <placement x="%col1_x%" y="%slider_y%" />
751 <font resource="font" color="%button_text_color%" />
752 <text>Wipe Cache/Dalvik</text>
753 <image resource="main_button" />
754 <actions>
755 <action function="set">tw_back=flash_done</action>
756 <action function="set">tw_action=wipe</action>
757 <action function="set">tw_action_param=/cache</action>
758 <action function="set">tw_has_action2=1</action>
759 <action function="set">tw_action2=wipe</action>
760 <action function="set">tw_action2_param=dalvik</action>
761 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
762 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
763 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
764 <action function="set">tw_slider_text=Swipe to Wipe</action>
765 <action function="page">confirm_action</action>
766 </actions>
767 </object>
768
769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400771 <condition var1="tw_reboot_system" var2="1" />
772 <placement x="%col4_x%" y="%slider_y%" />
773 <font resource="font" color="%button_text_color%" />
774 <text>Reboot System</text>
775 <image resource="main_button" />
776 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400777 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400778 <action function="set">tw_action=reboot</action>
779 <action function="set">tw_action_param=system</action>
780 <action function="set">tw_has_action2=0</action>
781 <action function="set">tw_text1=No OS Installed! Are you</action>
782 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400783 <action function="set">tw_text3=</action>
784 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400785 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400786 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400787 <action function="set">tw_complete_text1=Rebooting...</action>
788 <action function="set">tw_slider_text=Swipe to Reboot</action>
789 <action function="page">rebootcheck</action>
790 </actions>
791 </object>
792
793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400795 <placement x="%col_center_x%" y="%slider_y%" />
796 <font resource="font" color="%button_text_color%" />
797 <text>Home</text>
798 <image resource="main_button" />
799 <actions>
800 <action function="set">tw_clear_destination=main2</action>
801 <action function="page">clear_vars</action>
802 </actions>
803 </object>
804
805 <object type="action">
806 <touch key="back" />
807 <actions>
808 <action function="set">tw_clear_destination=install</action>
809 <action function="page">clear_vars</action>
810 </actions>
811 </object>
812
813 <object type="action">
814 <touch key="home" />
815 <actions>
816 <action function="set">tw_clear_destination=main2</action>
817 <action function="page">clear_vars</action>
818 </actions>
819 </object>
820 </page>
821
822 <page name="clear_vars">
823 <object type="action">
824 <action function="set">tw_operation_state=0</action>
825 <action function="set">tw_text1=</action>
826 <action function="set">tw_text2=</action>
827 <action function="set">tw_text3=</action>
828 <action function="set">tw_text4=</action>
829 <action function="set">tw_action_text1=</action>
830 <action function="set">tw_action_text2=</action>
831 <action function="set">tw_action_param=</action>
832 <action function="set">tw_has_action2=0</action>
833 <action function="set">tw_action2=</action>
834 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400835 <action function="set">tw_has_cancel=0</action>
836 <action function="set">tw_cancel_action=</action>
837 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400838 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400839 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400840 <action function="page">%tw_clear_destination%</action>
841 </object>
842 </page>
843
844 <page name="confirm_action">
845 <object type="template" name="header" />
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
849 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
850 <text>%tw_text1%</text>
851 </object>
852
853 <object type="text" color="%text_color%">
854 <font resource="font" />
855 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
856 <text>%tw_text2%</text>
857 </object>
858
859 <object type="text" color="%text_color%">
860 <font resource="font" />
861 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
862 <text>%tw_text3%</text>
863 </object>
864
865 <object type="text" color="%text_color%">
866 <font resource="font" />
867 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
868 <text>%tw_text4%</text>
869 </object>
870
871 <object type="text" color="%text_color%">
872 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400873 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400874 <text>Press back button to cancel.</text>
875 </object>
876
877 <object type="slider">
878 <placement x="%slider_x%" y="%slider_y%" />
879 <resource base="slider" used="slider-used" touch="slider-touch" />
880 <action function="page">action_page</action>
881 </object>
882
883 <object type="text" color="%text_color%">
884 <font resource="font" />
885 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
886 <text>%tw_slider_text%</text>
887 </object>
888
889 <object type="action">
890 <touch key="back" />
891 <actions>
892 <action function="set">tw_clear_destination=%tw_back%</action>
893 <action function="page">clear_vars</action>
894 </actions>
895 </object>
896
897 <object type="action">
898 <touch key="home" />
899 <action function="page">main</action>
900 </object>
901
902 <object type="template" name="footer" />
903 </page>
904
905 <page name="action_page">
906 <object type="template" name="header" />
907
908 <object type="text" color="%text_color%">
909 <font resource="font" />
910 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
911 <text>%tw_action_text1%</text>
912 </object>
913
914 <object type="text" color="%text_color%">
915 <font resource="font" />
916 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
917 <text>%tw_action_text2%</text>
918 </object>
919
920 <object type="template" name="action_page_console" />
921
Dees_Troy2691f9d2012-09-24 11:15:49 -0400922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600923 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400924 <condition var1="tw_has_cancel" var2="1" />
925 <placement x="%col4_x%" y="%slider_y%" />
926 <font resource="font" color="%button_text_color%" />
927 <text>Cancel</text>
928 <image resource="main_button" />
929 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
930 </object>
931
Dees_Troy51a0e822012-09-05 15:24:24 -0400932 <object type="template" name="progress_bar" />
933
934 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400935 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400936 <actions>
937 <action function="page">action_complete</action>
938 </actions>
939 </object>
940
941 <object type="action">
942 <condition var1="tw_has_action2" var2="0" />
943 <actions>
944 <action function="%tw_action%">%tw_action_param%</action>
945 </actions>
946 </object>
947
948 <object type="action">
949 <condition var1="tw_has_action2" var2="1" />
950 <actions>
951 <action function="%tw_action%">%tw_action_param%</action>
952 <action function="%tw_action2%">%tw_action2_param%</action>
953 </actions>
954 </object>
955 </page>
956
Dees_Troy6ef66352013-02-21 08:26:57 -0600957 <page name="singleaction_page">
958 <object type="template" name="header" />
959
960 <object type="text" color="%text_color%">
961 <font resource="font" />
962 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
963 <text>%tw_action_text1%</text>
964 </object>
965
966 <object type="text" color="%text_color%">
967 <font resource="font" />
968 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
969 <text>%tw_action_text2%</text>
970 </object>
971
972 <object type="template" name="action_page_console" />
973
974 <object type="template" name="progress_bar" />
975
976 <object type="action">
977 <condition var1="tw_operation_state" var2="1" />
978 <actions>
979 <action function="set">tw_page_done=1</action>
980 </actions>
981 </object>
982
983 <object type="action">
984 <condition var1="tw_has_action2" var2="0" />
985 <actions>
986 <action function="%tw_action%">%tw_action_param%</action>
987 </actions>
988 </object>
989
990 <object type="action">
991 <condition var1="tw_has_action2" var2="1" />
992 <actions>
993 <action function="%tw_action%">%tw_action_param%</action>
994 <action function="%tw_action2%">%tw_action2_param%</action>
995 </actions>
996 </object>
997 </page>
998
Dees_Troy51a0e822012-09-05 15:24:24 -0400999 <page name="action_complete">
1000 <object type="template" name="header" />
1001
1002 <object type="text" color="%text_color%">
1003 <font resource="font" />
1004 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1005 <text>%tw_complete_text1%</text>
1006 </object>
1007
1008 <object type="text" color="%text_fail_color%">
1009 <condition var1="tw_operation_status" op="!=" var2="0" />
1010 <font resource="font" />
1011 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1012 <text>Failed</text>
1013 </object>
1014
1015 <object type="text" color="%text_success_color%">
1016 <condition var1="tw_operation_status" var2="0" />
1017 <font resource="font" />
1018 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1019 <text>Successful</text>
1020 </object>
1021
1022 <object type="template" name="action_page_console" />
1023
1024 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001025 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001026 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001027 <placement x="%col_center_x%" y="%slider_y%" />
1028 <font resource="font" color="%button_text_color%" />
1029 <text>Back</text>
1030 <image resource="main_button" />
1031 <actions>
1032 <action function="set">tw_clear_destination=%tw_back%</action>
1033 <action function="page">clear_vars</action>
1034 </actions>
1035 </object>
1036
Dees_Troya3f81542012-10-08 10:58:53 -04001037 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001038 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001039 <condition var1="tw_show_reboot" var2="1" />
1040 <placement x="%col_center_x%" y="%slider_y%" />
1041 <font resource="font" color="%button_text_color%" />
1042 <text>Reboot System</text>
1043 <image resource="main_button" />
1044 <actions>
1045 <action function="set">tw_back=main2</action>
1046 <action function="set">tw_action=reboot</action>
1047 <action function="set">tw_action_param=system</action>
1048 <action function="set">tw_has_action2=0</action>
1049 <action function="set">tw_text1=No OS Installed! Are you</action>
1050 <action function="set">tw_text2=sure you wish to reboot?</action>
1051 <action function="set">tw_text3=</action>
1052 <action function="set">tw_text4=</action>
1053 <action function="set">tw_action_text1=Rebooting...</action>
1054 <action function="set">tw_action_text2=</action>
1055 <action function="set">tw_complete_text1=Rebooting...</action>
1056 <action function="set">tw_slider_text=Swipe to Reboot</action>
1057 <action function="page">rebootcheck</action>
1058 </actions>
1059 </object>
1060
Dees_Troy51a0e822012-09-05 15:24:24 -04001061 <object type="action">
1062 <touch key="home" />
1063 <actions>
1064 <action function="set">tw_clear_destination=main2</action>
1065 <action function="page">clear_vars</action>
1066 </actions>
1067 </object>
1068
1069 <object type="action">
1070 <touch key="back" />
1071 <actions>
1072 <action function="set">tw_clear_destination=%tw_back%</action>
1073 <action function="page">clear_vars</action>
1074 </actions>
1075 </object>
1076 </page>
1077
1078 <page name="filecheck">
1079 <object type="action">
1080 <action function="fileexists">%tw_filecheck%</action>
1081 </object>
1082
1083 <object type="action">
1084 <conditions>
1085 <condition var1="tw_operation_state" var2="1" />
1086 <condition var1="tw_operation_status" var2="0" />
1087 </conditions>
1088 <actions>
1089 <action function="set">tw_fileexists=1</action>
1090 <action function="page">%tw_existpage%</action>
1091 </actions>
1092 </object>
1093
1094 <object type="action">
1095 <conditions>
1096 <condition var1="tw_operation_state" var2="1" />
1097 <condition var1="tw_operation_status" var2="1" />
1098 </conditions>
1099 <actions>
1100 <action function="set">tw_fileexists=0</action>
1101 <action function="page">%tw_notexistpage%</action>
1102 </actions>
1103 </object>
1104 </page>
1105
1106 <page name="rebootcheck">
1107 <object type="action">
1108 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1109 <action function="reboot">%tw_action_param%</action>
1110 </object>
1111
1112 <object type="action">
1113 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1114 <action function="page">confirm_action</action>
1115 </object>
1116 </page>
1117
1118 <page name="reboot">
1119 <object type="template" name="header" />
1120
1121 <object type="text" color="%text_color%">
1122 <font resource="font" />
1123 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1124 <text>Reboot Menu</text>
1125 </object>
1126
1127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001129 <condition var1="tw_reboot_system" var2="1" />
1130 <placement x="%col1_x%" y="%row1_y%" />
1131 <font resource="font" color="%button_text_color%" />
1132 <text>System</text>
1133 <image resource="main_button" />
1134 <actions>
1135 <action function="set">tw_back=reboot</action>
1136 <action function="set">tw_action=reboot</action>
1137 <action function="set">tw_action_param=system</action>
1138 <action function="set">tw_has_action2=0</action>
1139 <action function="set">tw_text1=No OS Installed! Are you</action>
1140 <action function="set">tw_text2=sure you wish to reboot?</action>
1141 <action function="set">tw_action_text1=Rebooting...</action>
1142 <action function="set">tw_complete_text1=Rebooting...</action>
1143 <action function="set">tw_slider_text=Swipe to Reboot</action>
1144 <action function="page">rebootcheck</action>
1145 </actions>
1146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <condition var1="tw_reboot_poweroff" var2="1" />
1151 <placement x="%col2_x%" y="%row1_y%" />
1152 <font resource="font" color="%button_text_color%" />
1153 <text>Power Off</text>
1154 <image resource="main_button" />
1155 <actions>
1156 <action function="set">tw_back=reboot</action>
1157 <action function="set">tw_action=reboot</action>
1158 <action function="set">tw_action_param=poweroff</action>
1159 <action function="set">tw_has_action2=0</action>
1160 <action function="set">tw_text1=No OS Installed! Are you</action>
1161 <action function="set">tw_text2=sure you wish to power off?</action>
1162 <action function="set">tw_action_text1=Turning Off...</action>
1163 <action function="set">tw_complete_text1=Turning Off...</action>
1164 <action function="set">tw_slider_text=Swipe to Power Off</action>
1165 <action function="page">rebootcheck</action>
1166 </actions>
1167 </object>
1168
1169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001170 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001171 <condition var1="tw_reboot_recovery" var2="1" />
1172 <placement x="%col1_x%" y="%row2_y%" />
1173 <font resource="font" color="%button_text_color%" />
1174 <text>Recovery</text>
1175 <image resource="main_button" />
1176 <actions>
1177 <action function="set">tw_back=reboot</action>
1178 <action function="set">tw_action=reboot</action>
1179 <action function="set">tw_action_param=recovery</action>
1180 <action function="set">tw_has_action2=0</action>
1181 <action function="set">tw_text1=No OS Installed! Are you</action>
1182 <action function="set">tw_text2=sure you wish to reboot?</action>
1183 <action function="set">tw_action_text1=Rebooting...</action>
1184 <action function="set">tw_complete_text1=Rebooting...</action>
1185 <action function="set">tw_slider_text=Swipe to Reboot</action>
1186 <action function="page">rebootcheck</action>
1187 </actions>
1188 </object>
1189
1190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001192 <condition var1="tw_reboot_bootloader" var2="1" />
1193 <placement x="%col2_x%" y="%row2_y%" />
1194 <font resource="font" color="%button_text_color%" />
1195 <text>Bootloader</text>
1196 <image resource="main_button" />
1197 <actions>
1198 <action function="set">tw_back=reboot</action>
1199 <action function="set">tw_action=reboot</action>
1200 <action function="set">tw_action_param=bootloader</action>
1201 <action function="set">tw_has_action2=0</action>
1202 <action function="set">tw_text1=No OS Installed! Are you</action>
1203 <action function="set">tw_text2=sure you wish to reboot?</action>
1204 <action function="set">tw_action_text1=Rebooting...</action>
1205 <action function="set">tw_complete_text1=Rebooting...</action>
1206 <action function="set">tw_slider_text=Swipe to Reboot</action>
1207 <action function="page">rebootcheck</action>
1208 </actions>
1209 </object>
1210
1211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001212 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001213 <condition var1="tw_download_mode" var2="1" />
1214 <placement x="%col3_x%" y="%row2_y%" />
1215 <font resource="font" color="%button_text_color%" />
1216 <text>Download</text>
1217 <image resource="main_button" />
1218 <actions>
1219 <action function="set">tw_back=reboot</action>
1220 <action function="set">tw_action=reboot</action>
1221 <action function="set">tw_action_param=download</action>
1222 <action function="set">tw_has_action2=0</action>
1223 <action function="set">tw_text1=No OS Installed! Are you</action>
1224 <action function="set">tw_text2=sure you wish to reboot?</action>
1225 <action function="set">tw_action_text1=Rebooting...</action>
1226 <action function="set">tw_complete_text1=Rebooting...</action>
1227 <action function="set">tw_slider_text=Swipe to Reboot</action>
1228 <action function="page">rebootcheck</action>
1229 </actions>
1230 </object>
1231
1232 <object type="action">
1233 <touch key="home" />
1234 <action function="page">main</action>
1235 </object>
1236
1237 <object type="action">
1238 <touch key="back" />
1239 <action function="page">main</action>
1240 </object>
1241
1242 <object type="template" name="footer" />
1243 </page>
1244
Dees_Troya13d74f2013-03-24 08:54:55 -05001245 <page name="selectstorage">
1246 <object type="template" name="header" />
1247
1248 <object type="partitionlist">
1249 <highlight color="%fileselector_highlight_color%" />
1250 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1251 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1252 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1253 <text>Select Storage:</text>
1254 <icon selected="radio_true" unselected="radio_false" />
1255 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1256 <background color="%listbox_background%" />
1257 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1258 <data name="tw_storage_path" />
1259 <listtype name="storage" />
1260 </object>
1261
1262 <object type="action">
1263 <touch key="home" />
1264 <action function="page">main</action>
1265 </object>
1266
1267 <object type="action">
1268 <touch key="back" />
1269 <actions>
1270 <action function="page">%tw_back%</action>
1271 </actions>
1272 </object>
1273
1274 <object type="template" name="footer" />
1275 </page>
1276
Dees_Troy51a0e822012-09-05 15:24:24 -04001277 <page name="mount">
1278 <object type="template" name="header" />
1279
1280 <object type="text" color="%text_color%">
1281 <font resource="font" />
1282 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1283 <text>Mount Menu</text>
1284 </object>
1285
Dees_Troya13d74f2013-03-24 08:54:55 -05001286 <object type="partitionlist">
1287 <highlight color="%fileselector_highlight_color%" />
1288 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1289 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1290 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1291 <text>Select Partitions to Mount:</text>
1292 <icon selected="checkbox_true" unselected="checkbox_false" />
1293 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1294 <background color="%listbox_background%" />
1295 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1296 <listtype name="mount" />
1297 </object>
1298
1299 <object type="button">
1300 <highlight color="%highlight_color%" />
1301 <conditions>
1302 <condition var1="tw_is_encrypted" var2="1" />
1303 <condition var1="tw_is_decrypted" var2="0" />
1304 </conditions>
1305 <placement x="%col3_x%" y="row1_y" />
1306 <font resource="font" color="%button_text_color%" />
1307 <text>Decrypt Data</text>
1308 <image resource="main_button" />
1309 <action function="page">decrypt</action>
1310 </object>
1311
Dees_Troy51a0e822012-09-05 15:24:24 -04001312 <object type="button">
1313 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001314 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001315 <font resource="font" color="%button_text_color%" />
1316 <text>Mount USB Storage</text>
1317 <image resource="main_button" />
1318 <action function="page">usb_mount</action>
1319 </object>
1320
1321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001322 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001323 <fill color="%button_fill_color%" />
1324 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1325 <font resource="font" color="%button_text_color%" />
1326 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1327 <actions>
1328 <action function="set">tw_back=mount</action>
1329 <action function="page">selectstorage</action>
1330 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001331 </object>
1332
1333 <object type="action">
1334 <touch key="home" />
1335 <action function="page">main</action>
1336 </object>
1337
1338 <object type="action">
1339 <touch key="back" />
1340 <action function="page">main</action>
1341 </object>
1342
1343 <object type="template" name="footer" />
1344 </page>
1345
1346 <page name="usb_mount">
1347 <object type="template" name="header" />
1348
1349 <object type="text" color="%text_color%">
1350 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1351 <font resource="font" />
1352 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1353 </object>
1354
1355 <object type="text" color="%text_color%">
1356 <placement x="%col1_x%" y="%row2_text_y%" />
1357 <font resource="font" />
1358 <text></text>
1359 </object>
1360
1361 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001362 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001363 <placement x="%col_center_x%" y="%row1_y%" />
1364 <font resource="font" color="%button_text_color%" />
1365 <text>Unmount</text>
1366 <image resource="main_button" />
1367 <action function="page">usb_umount</action>
1368 </object>
1369
1370 <object type="action">
1371 <action function="mount">usb</action>
1372 </object>
1373
1374 <object type="template" name="footer" />
1375 </page>
1376
1377 <page name="usb_umount">
1378 <object type="action">
1379 <action function="unmount">usb</action>
1380 </object>
1381
1382 <object type="action">
1383 <action function="page">mount</action>
1384 </object>
1385
1386 <object type="template" name="footer" />
1387 </page>
1388
1389 <page name="wipe">
1390 <object type="template" name="header" />
1391
1392 <object type="text" color="%text_color%">
1393 <font resource="font" />
1394 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001395 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1396 </object>
1397
1398 <object type="text" color="%text_color%">
1399 <condition var1="tw_has_data_media" var2="0" />
1400 <font resource="font" />
1401 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1402 <text>.android_secure</text>
1403 </object>
1404
1405 <object type="text" color="%text_color%">
1406 <condition var1="tw_has_data_media" var2="1" />
1407 <font resource="font" />
1408 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1409 <text>(not including internal storage)</text>
1410 </object>
1411
1412 <object type="text" color="%text_color%">
1413 <condition var1="tw_has_sdext_partition" var2="1" />
1414 <font resource="font" />
1415 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1416 <text>SD-EXT</text>
1417 </object>
1418
1419 <object type="text" color="%text_color%">
1420 <font resource="font" />
1421 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1422 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001423 </object>
1424
1425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001426 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001427 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001429 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001431 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 </object>
1433
1434 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 <conditions>
1436 <condition var1="tw_has_internal" var2="1" />
1437 <condition var1="tw_has_data_media" var2="1" />
1438 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001439 <highlight color="%highlight_color%" />
1440 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 <font resource="font" color="%button_text_color%" />
1442 <text>Format Data</text>
1443 <image resource="main_button" />
1444 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001445 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 </actions>
1447 </object>
1448
Dees_Troya13d74f2013-03-24 08:54:55 -05001449 <object type="text" color="%text_color%">
1450 <font resource="font" />
1451 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1452 <text>Press back button to cancel.</text>
1453 </object>
1454
1455 <object type="slider">
1456 <placement x="%slider_x%" y="%slider_y%" />
1457 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001458 <actions>
1459 <action function="set">tw_back=wipe</action>
1460 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001461 <action function="set">tw_action_param=data</action>
1462 <action function="set">tw_action_text1=Factory Reset...</action>
1463 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1464 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001465 </actions>
1466 </object>
1467
Dees_Troya13d74f2013-03-24 08:54:55 -05001468 <object type="text" color="%text_color%">
1469 <font resource="font" />
1470 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1471 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001472 </object>
1473
1474 <object type="action">
1475 <touch key="home" />
1476 <action function="page">main</action>
1477 </object>
1478
1479 <object type="action">
1480 <touch key="back" />
1481 <action function="page">main</action>
1482 </object>
1483
1484 <object type="template" name="footer" />
1485 </page>
1486
Dees_Troya13d74f2013-03-24 08:54:55 -05001487 <page name="advancedwipe">
1488 <object type="template" name="header" />
1489
1490 <object type="partitionlist">
1491 <highlight color="%fileselector_highlight_color%" />
1492 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1493 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1494 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1495 <text>Select Partitions to Wipe:</text>
1496 <icon selected="checkbox_true" unselected="checkbox_false" />
1497 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1498 <background color="%listbox_background%" />
1499 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1500 <data name="tw_wipe_list" />
1501 <listtype name="wipe" />
1502 </object>
1503
1504 <object type="slider">
1505 <placement x="%slider_x%" y="%slider_y%" />
1506 <resource base="slider" used="slider-used" touch="slider-touch" />
1507 <actions>
1508 <action function="set">tw_back=advancedwipe</action>
1509 <action function="set">tw_action=wipe</action>
1510 <action function="set">tw_action_param=LIST</action>
1511 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1512 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1513 <action function="set">tw_complete_text1=Wipe Complete</action>
1514 <action function="page">action_page</action>
1515 </actions>
1516 </object>
1517
1518 <object type="text" color="%text_color%">
1519 <font resource="font" />
1520 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1521 <text>Swipe to Wipe</text>
1522 </object>
1523
1524 <object type="action">
1525 <touch key="home" />
1526 <action function="page">main</action>
1527 </object>
1528
1529 <object type="action">
1530 <touch key="back" />
1531 <action function="page">wipe</action>
1532 </object>
1533
1534 <object type="template" name="footer" />
1535 </page>
1536
1537 <page name="formatdata">
1538 <object type="template" name="header" />
1539
1540 <object type="text" color="%text_color%">
1541 <font resource="font" />
1542 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1543 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1544 </object>
1545
1546 <object type="text" color="%text_color%">
1547 <font resource="font" />
1548 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1549 <text>videos, media, and removes encryption on internal storage.</text>
1550 </object>
1551
1552 <object type="text" color="%text_color%">
1553 <font resource="font" />
1554 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1555 <text>This cannot be undone. Press back to cancel.</text>
1556 </object>
1557
1558 <object type="text" color="%text_color%">
1559 <font resource="font" />
1560 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1561 <text>Type yes to continue.</text>
1562 </object>
1563
1564 <object type="input">
1565 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1566 <background color="%input_background_color%" />
1567 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1568 <font resource="font" color="%text_color%" />
1569 <text>%tw_confirm_formatdata%</text>
1570 <data name="tw_confirm_formatdata" />
1571 <restrict minlen="3" maxlen="3" allow="yes" />
1572 <action function="page">formatdata_confirm</action>
1573 </object>
1574
1575 <object type="template" name="keyboardtemplate" />
1576
1577 <object type="action">
1578 <touch key="home" />
1579 <action function="page">main</action>
1580 </object>
1581
1582 <object type="action">
1583 <touch key="back" />
1584 <action function="page">wipe</action>
1585 </object>
1586
1587 <object type="template" name="footer" />
1588 </page>
1589
1590 <page name="formatdata_confirm">
1591 <object type="action">
1592 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1593 <actions>
1594 <action function="set">tw_back=formatdata</action>
1595 <action function="set">tw_action=wipe</action>
1596 <action function="set">tw_action_param=DATAMEDIA</action>
1597 <action function="set">tw_action_text1=Formatting Data...</action>
1598 <action function="set">tw_complete_text1=Data Format Complete</action>
1599 <action function="page">action_page</action>
1600 </actions>
1601 </object>
1602
1603 <object type="action">
1604 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1605 <action function="page">formatdata</function>
1606 </object>
1607 </page>
1608
Dees_Troy51a0e822012-09-05 15:24:24 -04001609 <page name="backup">
1610 <object type="template" name="header" />
1611
1612 <object type="text" color="%text_color%">
1613 <font resource="font" />
1614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1615 <text>Back Up Device</text>
1616 </object>
1617
Dees_Troya13d74f2013-03-24 08:54:55 -05001618 <object type="partitionlist">
1619 <highlight color="%fileselector_highlight_color%" />
1620 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1621 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1622 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1623 <text>Select Partitions to Back Up:</text>
1624 <icon selected="checkbox_true" unselected="checkbox_false" />
1625 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1626 <background color="%listbox_background%" />
1627 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1628 <data name="tw_backup_list" />
1629 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001630 </object>
1631
1632 <object type="text" color="%text_color%">
1633 <font resource="font" />
1634 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1635 <text>Backup Name: %tw_backup_name%</text>
1636 </object>
1637
Dees_Troya13d74f2013-03-24 08:54:55 -05001638 <object type="button">
1639 <highlight color="%highlight_color%" />
1640 <placement x="%col3_x%" y="%row1_y%" />
1641 <font resource="font" color="%button_text_color%" />
1642 <text>Refresh Sizes</text>
1643 <image resource="main_button" />
1644 <action function="refreshsizes"></action>
1645 </object>
1646
1647 <object type="button">
1648 <highlight color="%highlight_color%" />
1649 <placement x="%col4_x%" y="%row1_y%" />
1650 <font resource="font" color="%button_text_color%" />
1651 <text>Set Backup Name</text>
1652 <image resource="main_button" />
1653 <actions>
1654 <action function="set">tw_fileexists=0</action>
1655 <action function="page">backupname1</action>
1656 </actions>
1657 </object>
1658
1659 <object type="button">
1660 <highlight color="%highlight_color%" />
1661 <fill color="%button_fill_color%" />
1662 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1663 <font resource="font" color="%button_text_color%" />
1664 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1665 <actions>
1666 <action function="set">tw_back=backup</action>
1667 <action function="page">selectstorage</action>
1668 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001669 </object>
1670
Dees_Troy83bd4832013-05-04 12:39:56 +00001671 <object type="button">
1672 <conditions>
1673 <condition var1="tw_include_encrypted_backup" var2="1" />
1674 <condition var1="tw_encrypt_backup" var2="0" />
1675 </conditions>
1676 <highlight color="%highlight_color%" />
1677 <fill color="%button_fill_color%" />
1678 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1679 <font resource="font" color="%button_text_color%" />
1680 <text>No Encryption</text>
1681 <actions>
1682 <action function="page">backupencryption</action>
1683 </actions>
1684 </object>
1685
1686 <object type="button">
1687 <conditions>
1688 <condition var1="tw_include_encrypted_backup" var2="1" />
1689 <condition var1="tw_encrypt_backup" var2="1" />
1690 </conditions>
1691 <highlight color="%highlight_color%" />
1692 <fill color="%button_fill_color%" />
1693 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1694 <font resource="font" color="%button_text_color%" />
1695 <text>Using Encryption</text>
1696 <actions>
1697 <action function="page">backupencryption</action>
1698 </actions>
1699 </object>
1700
Dees_Troy51a0e822012-09-05 15:24:24 -04001701 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001702 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001703 <font resource="font" color="%text_color%" />
1704 <text>Enable Compression (Requires more time)</text>
1705 <data variable="tw_use_compression" />
1706 <image checked="checkbox_true" unchecked="checkbox_false" />
1707 </object>
1708
1709 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001710 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001711 <font resource="font" color="%text_color%" />
1712 <text>Skip MD5 generation on backups</text>
1713 <data variable="tw_skip_md5_generate" />
1714 <image checked="checkbox_true" unchecked="checkbox_false" />
1715 </object>
1716
Dees_Troy51a0e822012-09-05 15:24:24 -04001717 <object type="slider">
1718 <placement x="%slider_x%" y="%slider_y%" />
1719 <resource base="slider" used="slider-used" touch="slider-touch" />
1720 <actions>
1721 <action function="set">tw_operation_state=0</action>
1722 <action function="page">backup_run</action>
1723 </actions>
1724 </object>
1725
1726 <object type="text" color="%text_color%">
1727 <font resource="font" />
1728 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1729 <text>Swipe to Back Up</text>
1730 </object>
1731
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 <object type="action">
1733 <touch key="home" />
1734 <action function="page">main</action>
1735 </object>
1736
1737 <object type="action">
1738 <touch key="back" />
1739 <action function="page">main</action>
1740 </object>
1741
1742 <object type="template" name="footer" />
1743 </page>
1744
1745 <page name="backupname1">
1746 <object type="action">
1747 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1748 <action function="set">tw_backup_name=</function>
1749 </object>
1750
1751 <object type="action">
1752 <action function="page">backupname2</function>
1753 </object>
1754 </page>
1755
1756 <page name="backupname2">
1757 <object type="template" name="header" />
1758
1759 <object type="text" color="%text_color%">
1760 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1761 <font resource="font" />
1762 <text>Please Enter a Backup Name</text>
1763 </object>
1764
1765 <object type="input">
1766 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1767 <background color="%input_background_color%" />
1768 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1769 <font resource="font" color="%text_color%" />
1770 <text>%tw_backup_name%</text>
1771 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001772 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001773 <actions>
1774 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1775 <action function="set">tw_existpage=backupname2</action>
1776 <action function="set">tw_notexistpage=backup</action>
1777 <action function="page">filecheck</action>
1778 </actions>
1779 </object>
1780
1781 <object type="text" color="%text_fail_color%">
1782 <condition var1="tw_fileexists" var2="1" />
1783 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1784 <font resource="font" />
1785 <text>A backup with that name already exists!</text>
1786 </object>
1787
1788 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001789 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001790 <placement x="%col_center_x%" y="%cancel_button_y%" />
1791 <font resource="font" color="%button_text_color%" />
1792 <text>Cancel / Clear</text>
1793 <image resource="main_button" />
1794 <actions>
1795 <action function="set">tw_backup_name=(Current Date)</action>
1796 <action function="page">backup</action>
1797 </actions>
1798 </object>
1799
1800 <object type="template" name="keyboardtemplate" />
1801
1802 <object type="action">
1803 <touch key="home" />
1804 <actions>
1805 <action function="set">tw_backup_name=(Current Date)</action>
1806 <action function="page">main</action>
1807 </actions>
1808 </object>
1809
1810 <object type="action">
1811 <touch key="back" />
1812 <actions>
1813 <action function="set">tw_backup_name=(Current Date)</action>
1814 <action function="page">backup</action>
1815 </actions>
1816 </object>
1817
1818 <object type="template" name="footer" />
1819 </page>
1820
Dees_Troy83bd4832013-05-04 12:39:56 +00001821 <page name="backupencryption">
1822 <object type="template" name="header" />
1823
1824 <object type="text" color="%text_color%">
1825 <font resource="font" />
1826 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1827 <text>Encrypt your backup? Please enter a password:</text>
1828 </object>
1829
1830 <object type="input">
1831 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1832 <background color="%input_background_color%" />
1833 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1834 <font resource="font" color="%text_color%" />
1835 <text>%tw_backup_encrypt_display%</text>
1836 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1837 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1838 <action function="page">backupencryption2</action>
1839 </object>
1840
1841 <object type="text" color="%text_fail_color%">
1842 <condition var1="tw_password_not_match" var2="1" />
1843 <font resource="font" />
1844 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1845 <text>Passwords Do Not Match</text>
1846 </object>
1847
1848 <object type="button">
1849 <highlight color="%highlight_color%" />
1850 <placement x="%col_center_x%" y="%cancel_button_y%" />
1851 <font resource="font" color="%button_text_color%" />
1852 <text>Cancel</text>
1853 <image resource="main_button" />
1854 <actions>
1855 <action function="set">tw_encrypt_backup=0</action>
1856 <action function="set">tw_backup_password=</action>
1857 <action function="set">tw_backup_password2=</action>
1858 <action function="set">tw_backup_encrypt_display=</action>
1859 <action function="set">tw_backup_encrypt_display2=</action>
1860 <action function="page">backup</action>
1861 </actions>
1862 </object>
1863
1864 <object type="template" name="keyboardtemplate" />
1865
1866 <object type="action">
1867 <touch key="home" />
1868 <action function="page">main</action>
1869 </object>
1870
1871 <object type="action">
1872 <touch key="back" />
1873 <action function="page">backup</action>
1874 </object>
1875
1876 <object type="template" name="footer" />
1877 </page>
1878
1879 <page name="backupencryption2">
1880 <object type="template" name="header" />
1881
1882 <object type="text" color="%text_color%">
1883 <font resource="font" />
1884 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1885 <text>Encrypt your backup? Please Enter Password Again:</text>
1886 </object>
1887
1888 <object type="input">
1889 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1890 <background color="%input_background_color%" />
1891 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1892 <font resource="font" color="%text_color%" />
1893 <text>%tw_backup_encrypt_display2%</text>
1894 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1895 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1896 <actions>
1897 <action function="page">checkbackuppassword</action>
1898 </actions>
1899 </object>
1900
1901 <object type="button">
1902 <highlight color="%highlight_color%" />
1903 <placement x="%col_center_x%" y="%cancel_button_y%" />
1904 <font resource="font" color="%button_text_color%" />
1905 <text>Cancel</text>
1906 <image resource="main_button" />
1907 <actions>
1908 <action function="set">tw_encrypt_backup=0</action>
1909 <action function="set">tw_backup_password=</action>
1910 <action function="set">tw_backup_password2=</action>
1911 <action function="set">tw_backup_encrypt_display=</action>
1912 <action function="set">tw_backup_encrypt_display2=</action>
1913 <action function="page">backup</action>
1914 </actions>
1915 </object>
1916
1917 <object type="template" name="keyboardtemplate" />
1918
1919 <object type="action">
1920 <touch key="home" />
1921 <action function="page">main</action>
1922 </object>
1923
1924 <object type="action">
1925 <touch key="back" />
1926 <action function="page">backup</action>
1927 </object>
1928
1929 <object type="template" name="footer" />
1930 </page>
1931
1932 <page name="checkbackuppassword">
1933 <object type="action">
1934 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1935 <actions>
1936 <action function="set">tw_encrypt_backup=1</action>
1937 <action function="page">backup</action>
1938 </actions>
1939 </object>
1940
1941 <object type="action">
1942 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_password_not_match=1</action>
1946 <action function="set">tw_backup_password=</action>
1947 <action function="set">tw_backup_password2=</action>
1948 <action function="set">tw_backup_encrypt_display=</action>
1949 <action function="set">tw_backup_encrypt_display2=</action>
1950 <action function="page">backupencryption</action>
1951 </actions>
1952 </object>
1953 </page>
1954
Dees_Troy51a0e822012-09-05 15:24:24 -04001955 <page name="backup_run">
1956 <object type="template" name="header" />
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1961 <text>%tw_operation% %tw_partition%</text>
1962 </object>
1963
1964 <object type="template" name="action_page_console" />
1965
1966 <object type="template" name="progress_bar" />
1967
1968 <object type="action">
1969 <action function="nandroid">backup</action>
1970 </object>
1971
1972 <object type="action">
1973 <condition var1="tw_operation_state" var2="1" />
1974 <actions>
1975 <action function="set">tw_back=backup</action>
1976 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001977 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <action function="page">action_complete</action>
1979 </actions>
1980 </object>
1981
1982 <object type="template" name="footer" />
1983 </page>
1984
1985 <page name="restore">
1986 <object type="template" name="header" />
1987
1988 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001989 <highlight color="%highlight_color%" />
1990 <fill color="%button_fill_color%" />
1991 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1992 <font resource="font" color="%button_text_color%" />
1993 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1994 <actions>
1995 <action function="set">tw_back=restore</action>
1996 <action function="page">selectstorage</action>
1997 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001998 </object>
1999
2000 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002001 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002002 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2003 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002004 <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 -04002005 <text>Select Package to Restore:</text>
2006 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2007 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002008 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002009 <icon folder="folder_icon" file="file_icon" />
2010 <background color="%fileselector_background%" />
2011 <filter folders="1" files="0" nav="0" />
2012 <path name="tw_backups_folder" />
2013 <data name="tw_restore" default="" />
2014 <selection name="tw_restore_name" />
2015 </object>
2016
2017 <object type="template" name="sort_options" />
2018
2019 <object type="action">
2020 <condition var1="tw_restore" op="modified" />
2021 <actions>
2022 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002023 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002024 </actions>
2025 </object>
2026
2027 <object type="action">
2028 <touch key="home" />
2029 <action function="page">main</action>
2030 </object>
2031
2032 <object type="action">
2033 <touch key="back" />
2034 <action function="page">main</action>
2035 </object>
2036
2037 <object type="template" name="footer" />
2038 </page>
2039
Dees_Troy83bd4832013-05-04 12:39:56 +00002040 <page name="restore_read">
2041 <object type="action">
2042 <condition var1="tw_restore_encrypted" var2="1" />
2043 <actions>
2044 <action function="set">tw_password_fail=0</action>
2045 <action function="page">restore_decrypt</action>
2046 </actions>
2047 </object>
2048
2049 <object type="action">
2050 <condition var1="tw_restore_encrypted" var2="0" />
2051 <actions>
2052 <action function="page">restore_select</action>
2053 </actions>
2054 </object>
2055 </page>
2056
2057 <page name="restore_decrypt">
2058 <object type="template" name="header" />
2059
2060 <object type="text" color="%text_color%">
2061 <font resource="font" />
2062 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2063 <text>Backup encrypted. Please enter your password:</text>
2064 </object>
2065
2066 <object type="input">
2067 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2068 <background color="%input_background_color%" />
2069 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2070 <font resource="font" color="%text_color%" />
2071 <text>%tw_restore_display%</text>
2072 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2073 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2074 <actions>
2075 <action function="page">try_restore_decrypt</action>
2076 </actions>
2077 </object>
2078
2079 <object type="text" color="%text_fail_color%">
2080 <condition var1="tw_password_fail" var2="1" />
2081 <font resource="font" />
2082 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2083 <text>Password Failed, Please Try Again</text>
2084 </object>
2085
2086 <object type="button">
2087 <highlight color="%highlight_color%" />
2088 <placement x="%col2_x%" y="%cancel_button_y%" />
2089 <font resource="font" color="%button_text_color%" />
2090 <text>Cancel</text>
2091 <image resource="main_button" />
2092 <actions>
2093 <action function="set">tw_page_done=1</action>
2094 <action function="page">restore</action>
2095 </actions>
2096 </object>
2097
2098 <object type="button">
2099 <highlight color="%highlight_color%" />
2100 <placement x="%col3_x%" y="%cancel_button_y%" />
2101 <font resource="font" color="%button_text_color%" />
2102 <text>Delete</text>
2103 <image resource="main_button" />
2104 <actions>
2105 <action function="set">tw_back=restore</action>
2106 <action function="set">tw_action=cmd</action>
2107 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2108 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2109 <action function="set">tw_text2=This cannot be undone!</action>
2110 <action function="set">tw_action_text1=Deleting Backup...</action>
2111 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2112 <action function="set">tw_slider_text=Swipe to Delete</action>
2113 <action function="page">confirm_action</action>
2114 </actions>
2115 </object>
2116
2117 <object type="template" name="keyboardtemplate" />
2118
2119 <object type="action">
2120 <touch key="home" />
2121 <action function="page">main</action>
2122 </object>
2123
2124 <object type="action">
2125 <touch key="back" />
2126 <action function="page">restore</action>
2127 </object>
2128
2129 <object type="template" name="footer" />
2130 </page>
2131
2132 <page name="try_restore_decrypt">
2133 <object type="template" name="header" />
2134
2135 <object type="text" color="%text_color%">
2136 <font resource="font" />
2137 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2138 <text>Trying Decryption with Your Password</text>
2139 </object>
2140
2141 <object type="template" name="action_page_console" />
2142
2143 <object type="template" name="progress_bar" />
2144
2145 <object type="action">
2146 <action function="decrypt_backup"></action>
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_password_fail=1</action>
2156 <action function="page">restore_decrypt</action>
2157 </actions>
2158 </object>
2159
2160 <object type="action">
2161 <conditions>
2162 <condition var1="tw_operation_state" var2="1" />
2163 <condition var1="tw_operation_status" op="=" var2="0" />
2164 </conditions>
2165 <actions>
2166 <action function="set">tw_page_done=1</action>
2167 <action function="page">restore_select</action>
2168 </actions>
2169 </object>
2170 </page>
2171
Dees_Troy51a0e822012-09-05 15:24:24 -04002172 <page name="restore_select">
2173 <object type="template" name="header" />
2174
2175 <object type="text" color="%text_color%">
2176 <font resource="font" />
2177 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2178 <text>Package to Restore: %tw_restore_name%</text>
2179 </object>
2180
2181 <object type="text" color="%text_color%">
2182 <font resource="font" />
2183 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2184 <text>Package Date: %tw_restore_file_date%</text>
2185 </object>
2186
Dees_Troya13d74f2013-03-24 08:54:55 -05002187 <object type="partitionlist">
2188 <highlight color="%fileselector_highlight_color%" />
2189 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2190 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2191 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2192 <text>Select Partitions to Restore:</text>
2193 <icon selected="checkbox_true" unselected="checkbox_false" />
2194 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2195 <background color="%listbox_background%" />
2196 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2197 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2198 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002199 </object>
2200
2201 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002202 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <font resource="font" color="%text_color%" />
2204 <text>Enable MD5 checking of backup files</text>
2205 <data variable="tw_skip_md5_check" />
2206 <image checked="checkbox_true" unchecked="checkbox_false" />
2207 </object>
2208
2209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002211 <placement x="%col4_x%" y="%row1_y%" />
2212 <font resource="font" color="%button_text_color%" />
2213 <text>Rename Backup</text>
2214 <image resource="main_button" />
2215 <actions>
2216 <action function="set">tw_backup_rename=</action>
2217 <action function="set">tw_fileexists=0</action>
2218 <action function="page">renamebackup</action>
2219 </actions>
2220 </object>
2221
2222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002223 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002224 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002225 <font resource="font" color="%button_text_color%" />
2226 <text>Delete Backup</text>
2227 <image resource="main_button" />
2228 <actions>
2229 <action function="set">tw_back=restore</action>
2230 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002231 <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 -04002232 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2233 <action function="set">tw_text2=This cannot be undone!</action>
2234 <action function="set">tw_action_text1=Deleting Backup...</action>
2235 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2236 <action function="set">tw_slider_text=Swipe to Delete</action>
2237 <action function="page">confirm_action</action>
2238 </actions>
2239 </object>
2240
2241 <object type="slider">
2242 <placement x="%slider_x%" y="%slider_y%" />
2243 <resource base="slider" used="slider-used" touch="slider-touch" />
2244 <action function="page">restore_run</action>
2245 </object>
2246
2247 <object type="text" color="%text_color%">
2248 <font resource="font" />
2249 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2250 <text>Swipe to Restore</text>
2251 </object>
2252
2253 <object type="action">
2254 <touch key="home" />
2255 <action function="page">main</action>
2256 </object>
2257
2258 <object type="action">
2259 <touch key="back" />
2260 <action function="page">restore</action>
2261 </object>
2262
2263 <object type="template" name="footer" />
2264 </page>
2265
2266 <page name="renamebackup">
2267 <object type="template" name="header" />
2268
2269 <object type="text" color="%text_color%">
2270 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2271 <font resource="font" />
2272 <text>Please Enter a New Backup Name</text>
2273 </object>
2274
2275 <object type="input">
2276 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2277 <background color="%input_background_color%" />
2278 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2279 <font resource="font" color="%text_color%" />
2280 <text>%tw_backup_rename%</text>
2281 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002282 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 <actions>
2284 <action function="set">tw_back=restore</action>
2285 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002286 <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 -04002287 <action function="set">tw_text1=Rename Backup?</action>
2288 <action function="set">tw_text2=This cannot be undone!</action>
2289 <action function="set">tw_action_text1=Renaming Backup...</action>
2290 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2291 <action function="set">tw_slider_text=Swipe to Rename</action>
2292 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2293 <action function="set">tw_existpage=renamebackup</action>
2294 <action function="set">tw_notexistpage=confirm_action</action>
2295 <action function="page">filecheck</action>
2296 </actions>
2297 </object>
2298
2299 <object type="text" color="%text_fail_color%">
2300 <condition var1="tw_fileexists" var2="1" />
2301 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2302 <font resource="font" />
2303 <text>A backup with that name already exists!</text>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <placement x="%col_center_x%" y="%cancel_button_y%" />
2309 <font resource="font" color="%button_text_color%" />
2310 <text>Cancel</text>
2311 <image resource="main_button" />
2312 <action function="page">restore_select</action>
2313 </object>
2314
2315 <object type="template" name="keyboardtemplate" />
2316
2317 <object type="action">
2318 <touch key="home" />
2319 <action function="page">main</action>
2320 </object>
2321
2322 <object type="action">
2323 <touch key="back" />
2324 <action function="page">restore_select</action>
2325 </object>
2326
2327 <object type="template" name="footer" />
2328 </page>
2329
2330 <page name="restore_run">
2331 <object type="template" name="header" />
2332
2333 <object type="text" color="%text_color%">
2334 <font resource="font" />
2335 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2336 <text>%tw_operation% %tw_partition%</text>
2337 </object>
2338
2339 <object type="template" name="action_page_console" />
2340
2341 <object type="template" name="progress_bar" />
2342
2343 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002344 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002345 <actions>
2346 <action function="set">tw_back=restore_select</action>
2347 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002348 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002349 <action function="page">action_complete</action>
2350 </actions>
2351 </object>
2352
2353 <object type="action">
2354 <action function="nandroid">restore</action>
2355 </object>
2356 </page>
2357
2358 <page name="settings">
2359 <object type="template" name="header" />
2360
2361 <object type="text" color="%text_color%">
2362 <font resource="font" />
2363 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2364 <text>Settings</text>
2365 </object>
2366
2367 <object type="checkbox">
2368 <placement x="%col1_x%" y="%row2_text_y%" />
2369 <font resource="font" color="%text_color%" />
2370 <text>Zip file signature verification?</text>
2371 <data variable="tw_signed_zip_verify" />
2372 <image checked="checkbox_true" unchecked="checkbox_false" />
2373 </object>
2374
2375 <object type="checkbox">
2376 <placement x="%col1_x%" y="%row3_text_y%" />
2377 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002378 <text>Use rm -rf instead of formatting?</text>
2379 <data variable="tw_rm_rf" />
2380 <image checked="checkbox_true" unchecked="checkbox_false" />
2381 </object>
2382
2383 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002384 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <font resource="font" color="%text_color%" />
2386 <text>Skip MD5 generation on backups</text>
2387 <data variable="tw_skip_md5_generate" />
2388 <image checked="checkbox_true" unchecked="checkbox_false" />
2389 </object>
2390
2391 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002392 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002393 <font resource="font" color="%text_color%" />
2394 <text>Enable MD5 checking of backup files</text>
2395 <data variable="tw_skip_md5_check" />
2396 <image checked="checkbox_true" unchecked="checkbox_false" />
2397 </object>
2398
2399 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002400 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002402 <text>Use Military Time</text>
2403 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <image checked="checkbox_true" unchecked="checkbox_false" />
2405 </object>
2406
2407 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002408 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <font resource="font" color="%text_color%" />
2410 <text>Simulate most actions for theme testing</text>
2411 <data variable="tw_simulate_actions" />
2412 <image checked="checkbox_true" unchecked="checkbox_false" />
2413 </object>
2414
2415 <object type="checkbox">
2416 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002417 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <font resource="font" color="%text_color%" />
2419 <text>Simulate failure for actions</text>
2420 <data variable="tw_simulate_fail" />
2421 <image checked="checkbox_true" unchecked="checkbox_false" />
2422 </object>
2423
2424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <placement x="%col1_x%" y="%row2_y%" />
2427 <font resource="font" color="%button_text_color%" />
2428 <text>Time Zone</text>
2429 <image resource="main_button" />
2430 <action function="page">timezone</action>
2431 </object>
2432
2433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002434 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002435 <placement x="%col4_x%" y="%row2_y%" />
2436 <font resource="font" color="%button_text_color%" />
2437 <text>Screen</text>
2438 <image resource="main_button" />
2439 <action function="page">screen</action>
2440 </object>
2441
2442 <object type="button">
2443 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002444 <placement x="%col_center_x%" y="%slider_y%" />
2445 <font resource="font" color="%button_text_color%" />
2446 <text>Restore Defaults</text>
2447 <image resource="main_button" />
2448 <action function="restoredefaultsettings"></action>
2449 </object>
2450
2451 <object type="action">
2452 <touch key="home" />
2453 <action function="page">main</action>
2454 </object>
2455
2456 <object type="action">
2457 <touch key="back" />
2458 <action function="page">main</action>
2459 </object>
2460
2461 <object type="template" name="footer" />
2462 </page>
2463
2464 <page name="timezone">
2465 <object type="template" name="header" />
2466
2467 <object type="text" color="%text_color%">
2468 <font resource="font" />
2469 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2470 <text>Select Time Zone</text>
2471 </object>
2472
2473 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002474 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002475 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002476 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002477 <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 -06002478 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002480 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002482 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002483 <data name="tw_time_zone_guisel" />
2484 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2485 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2486 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2487 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2488 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2489 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2490 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2491 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2492 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2493 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2494 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2495 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2496 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2497 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2498 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2499 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2500 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2501 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2502 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2503 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2504 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2505 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2506 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2507 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2508 </object>
2509
2510 <object type="checkbox">
2511 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2512 <font resource="font" color="%text_color%" />
2513 <text>Do you use daylight savings time (DST)?</text>
2514 <data variable="tw_time_zone_guidst" />
2515 <image checked="checkbox_true" unchecked="checkbox_false" />
2516 </object>
2517
2518 <object type="text" color="%text_color%">
2519 <font resource="font" />
2520 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2521 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2522 </object>
2523
2524 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002525 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2527 <font resource="font" color="%button_text_color%" />
2528 <text>0</text>
2529 <image resource="medium_button" />
2530 <action function="set">tw_time_zone_guioffset=0</action>
2531 </object>
2532
2533 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002534 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2536 <font resource="font" color="%button_text_color%" />
2537 <text>15</text>
2538 <image resource="medium_button" />
2539 <action function="set">tw_time_zone_guioffset=15</action>
2540 </object>
2541
2542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002543 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2545 <font resource="font" color="%button_text_color%" />
2546 <text>30</text>
2547 <image resource="medium_button" />
2548 <action function="set">tw_time_zone_guioffset=30</action>
2549 </object>
2550
2551 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002552 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>45</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_time_zone_guioffset=45</action>
2558 </object>
2559
2560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002562 <placement x="%col4_x%" y="%row2_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>Set Time Zone</text>
2565 <image resource="main_button" />
2566 <action function="setguitimezone"></action>
2567 </object>
2568
2569 <object type="text" color="%text_color%">
2570 <font resource="font" />
2571 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2572 <text>Current Time Zone: %tw_time_zone%</text>
2573 </object>
2574
2575 <object type="action">
2576 <touch key="home" />
2577 <action function="page">main</action>
2578 </object>
2579
2580 <object type="action">
2581 <touch key="back" />
2582 <action function="page">settings</action>
2583 </object>
2584
2585 <object type="template" name="footer" />
2586 </page>
2587
Dees_Troy2f9117a2013-02-17 19:52:09 -06002588 <page name="screen">
2589 <object type="template" name="header" />
2590
2591 <object type="text" color="%text_color%">
2592 <font resource="font" />
2593 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2594 <text>Screen Settings</text>
2595 </object>
2596
Dees_Troy2f9117a2013-02-17 19:52:09 -06002597 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002598 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2599 <font resource="font" color="%text_color%" />
2600 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2601 <text>Enable screen timeout.</text>
2602 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002603 <action function="set">tw_screen_timeout_secs=60</action>
2604 </object>
2605
2606 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002607 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2608 <font resource="font" color="%text_color%" />
2609 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2610 <text>Enable screen timeout.</text>
2611 <image resource="checkbox_true" />
2612 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 </object>
2614
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <object type="slidervalue">
2616 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2617 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2618 <font resource="font" color="%text_color%" />
2619 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2620 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2621 <text>Screen timeout in seconds:</text>
2622 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002623 </object>
2624
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002626 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2628 <font resource="font" color="%text_color%" />
2629 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2630 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2631 <text>Brightness: %tw_brightness_pct%%</text>
2632 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002633 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <action function="set">tw_brightness=%tw_brightness_max%</action>
2635 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2636 <action function="compute">tw_brightness/100</action>
2637 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002638 </actions>
2639 </object>
2640
2641 <object type="action">
2642 <touch key="home" />
2643 <action function="page">main</action>
2644 </object>
2645
2646 <object type="action">
2647 <touch key="back" />
2648 <action function="page">settings</action>
2649 </object>
2650
2651 <object type="template" name="footer" />
2652 </page>
2653
Dees_Troy51a0e822012-09-05 15:24:24 -04002654 <page name="advanced">
2655 <object type="template" name="header" />
2656
2657 <object type="text" color="%text_color%">
2658 <font resource="font" />
2659 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2660 <text>Advanced</text>
2661 </object>
2662
2663 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002664 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002665 <placement x="%col1_x%" y="%row1_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>Copy Log to SD</text>
2668 <image resource="main_button" />
2669 <actions>
2670 <action function="set">tw_back=advanced</action>
2671 <action function="set">tw_action=copylog</action>
2672 <action function="set">tw_text1=Copy Log to SD Card?</action>
2673 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2674 <action function="set">tw_complete_text1=Log Copy Complete</action>
2675 <action function="set">tw_slider_text=Swipe to Confirm</action>
2676 <action function="page">confirm_action</action>
2677 </actions>
2678 </object>
2679
2680 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002681 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002682 <placement x="%col2_x%" y="%row1_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text>Fix Permissions</text>
2685 <image resource="main_button" />
2686 <actions>
2687 <action function="set">tw_back=advanced</action>
2688 <action function="set">tw_action=fixpermissions</action>
2689 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2692 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002693 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002694 <action function="page">confirm_action</action>
2695 </actions>
2696 </object>
2697
2698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002700 <placement x="%col3_x%" y="%row1_y%" />
2701 <font resource="font" color="%button_text_color%" />
2702 <text>Terminal Command</text>
2703 <image resource="main_button" />
2704 <action function="page">terminalfolder</action>
2705 </object>
2706
2707 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002708 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002709 <placement x="%col4_x%" y="%row1_y%" />
2710 <font resource="font" color="%button_text_color%" />
2711 <text>ADB Sideload</text>
2712 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002713 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002714 </object>
2715
2716 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002717 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002718 <condition var1="tw_allow_partition_sdcard" var2="1" />
2719 <placement x="%col1_x%" y="%row2_y%" />
2720 <font resource="font" color="%button_text_color%" />
2721 <text>Partition SD Card</text>
2722 <image resource="main_button" />
2723 <action function="page">partsdcard</action>
2724 </object>
2725
2726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002727 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002728 <placement x="%col2_x%" y="%row2_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>File Manager</text>
2731 <image resource="main_button" />
2732 <action function="page">filemanagerlist</action>
2733 </object>
2734
2735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002736 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002737 <placement x="%col3_x%" y="%row2_y%" />
2738 <font resource="font" color="%button_text_color%" />
2739 <text>Reload Theme</text>
2740 <image resource="main_button" />
2741 <action function="reload"></action>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <condition var1="tw_show_dumlock" var2="1" />
2747 <placement x="%col4_x%" y="%row2_y%" />
2748 <font resource="font" color="%button_text_color%" />
2749 <text>HTC Dumlock</text>
2750 <image resource="main_button" />
2751 <action function="page">htcdumlock</action>
2752 </object>
2753
2754 <object type="action">
2755 <touch key="home" />
2756 <action function="page">main</action>
2757 </object>
2758
2759 <object type="action">
2760 <touch key="back" />
2761 <action function="page">main</action>
2762 </object>
2763
2764 <object type="template" name="footer" />
2765 </page>
2766
2767 <page name="partsdcard">
2768 <object type="template" name="header" />
2769
2770 <object type="text" color="%text_color%">
2771 <font resource="font" />
2772 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2773 <text>Partition SD Card</text>
2774 </object>
2775
2776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text></text>
2781 <image resource="minus_button" />
2782 <action function="addsubtract">tw_sdext_size-128</action>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text></text>
2790 <image resource="plus_button" />
2791 <action function="addsubtract">tw_sdext_size+128</action>
2792 </object>
2793
2794 <object type="text" color="%text_color%">
2795 <font resource="font" />
2796 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2797 <text>EXT Size: %tw_sdext_size%</text>
2798 </object>
2799
2800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002801 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002802 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text></text>
2805 <image resource="minus_button" />
2806 <action function="addsubtract">tw_swap_size-32</action>
2807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text></text>
2814 <image resource="plus_button" />
2815 <action function="addsubtract">tw_swap_size+32</action>
2816 </object>
2817
2818 <object type="text" color="%text_color%">
2819 <font resource="font" />
2820 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2821 <text>Swap Size: %tw_swap_size%</text>
2822 </object>
2823
2824 <object type="text" color="%text_color%">
2825 <font resource="font" />
2826 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2827 <text>File system: %tw_sdpart_file_system%</text>
2828 </object>
2829
2830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002831 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2833 <font resource="font" color="%button_text_color%" />
2834 <text>EXT3</text>
2835 <image resource="medium_button" />
2836 <action function="set">tw_sdpart_file_system=ext3</action>
2837 </object>
2838
2839 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002840 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002841 <condition var1="tw_sdext_disable_ext4" var2="0" />
2842 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2843 <font resource="font" color="%button_text_color%" />
2844 <text>EXT4</text>
2845 <image resource="medium_button" />
2846 <action function="set">tw_sdpart_file_system=ext4</action>
2847 </object>
2848
2849 <object type="text" color="%text_color%">
2850 <font resource="font" />
2851 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2852 <text>You will lose all files on your SD card!</text>
2853 </object>
2854
2855 <object type="text" color="%text_color%">
2856 <font resource="font" />
2857 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2858 <text>This action cannot be undone!</text>
2859 </object>
2860
2861 <object type="slider">
2862 <placement x="%slider_x%" y="%slider_y%" />
2863 <resource base="slider" used="slider-used" touch="slider-touch" />
2864 <actions>
2865 <action function="set">tw_back=partsdcard</action>
2866 <action function="set">tw_action=partitionsd</action>
2867 <action function="set">tw_has_action2=1</action>
2868 <action function="set">tw_action2=set</action>
2869 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2870 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2871 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002872 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002873 <action function="page">action_page</action>
2874 </actions>
2875 </object>
2876
2877 <object type="text" color="%text_color%">
2878 <font resource="font" />
2879 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2880 <text>Swipe to Confirm Partition</text>
2881 </object>
2882
2883 <object type="action">
2884 <touch key="home" />
2885 <action function="page">main</action>
2886 </object>
2887
2888 <object type="action">
2889 <touch key="back" />
2890 <action function="page">advanced</action>
2891 </object>
2892
2893 <object type="template" name="footer" />
2894 </page>
2895
2896
2897 <page name="htcdumlock">
2898 <object type="template" name="header" />
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
2902 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2903 <text>HTC Dumlock</text>
2904 </object>
2905
2906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002907 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002908 <condition var1="tw_show_dumlock" var2="1" />
2909 <placement x="%col1_x%" y="%row1_y%" />
2910 <font resource="font" color="%button_text_color%" />
2911 <text>Restore Original Boot</text>
2912 <image resource="main_button" />
2913 <actions>
2914 <action function="set">tw_back=htcdumlock</action>
2915 <action function="set">tw_action=htcdumlockrestoreboot</action>
2916 <action function="set">tw_text1=Restore original boot image?</action>
2917 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2918 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2919 <action function="set">tw_slider_text=Swipe to Confirm</action>
2920 <action function="page">confirm_action</action>
2921 </actions>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002926 <condition var1="tw_show_dumlock" var2="1" />
2927 <placement x="%col2_x%" y="%row1_y%" />
2928 <font resource="font" color="%button_text_color%" />
2929 <text>Reflash Recovery->Boot</text>
2930 <image resource="main_button" />
2931 <actions>
2932 <action function="set">tw_back=htcdumlock</action>
2933 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2934 <action function="set">tw_text1=Reflash recovery to boot?</action>
2935 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2936 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2937 <action function="set">tw_slider_text=Swipe to Confirm</action>
2938 <action function="page">confirm_action</action>
2939 </actions>
2940 </object>
2941
2942 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002943 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <condition var1="tw_show_dumlock" var2="1" />
2945 <placement x="%col1_x%" y="%row2_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>Install HTC Dumlock</text>
2948 <image resource="main_button" />
2949 <actions>
2950 <action function="set">tw_back=htcdumlock</action>
2951 <action function="set">tw_action=installhtcdumlock</action>
2952 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2953 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2954 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2955 <action function="set">tw_slider_text=Swipe to Confirm</action>
2956 <action function="page">confirm_action</action>
2957 </actions>
2958 </object>
2959
2960 <object type="action">
2961 <touch key="home" />
2962 <action function="page">main</action>
2963 </object>
2964
2965 <object type="action">
2966 <touch key="back" />
2967 <action function="page">advanced</action>
2968 </object>
2969
2970 <object type="template" name="footer" />
2971 </page>
2972
2973 <page name="lock">
2974 <background color="#000000A0" />
2975
2976 <object type="image">
2977 <image resource="unlock-icon" />
2978 <placement x="%lock_x%" y="%lock_y%" />
2979 </object>
2980
2981 <object type="slider">
2982 <placement x="%slider_x%" y="%slider_y%" />
2983 <resource base="slider" used="slider-used" touch="slider-touch" />
2984 <action function="overlay"></action>
2985 </object>
2986
2987 <object type="text" color="%text_color%">
2988 <font resource="font" />
2989 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2990 <text>Swipe to Unlock</text>
2991 </object>
2992 </page>
2993
2994
2995 <page name="filemanagerlist">
2996 <object type="template" name="header" />
2997
2998 <object type="text" color="%text_color%">
2999 <font resource="font" />
3000 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3001 <text>File Manager: Select a File or Folder</text>
3002 </object>
3003
3004 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003005 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003006 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3007 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003008 <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 -04003009 <text>Folders:</text>
3010 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3011 <sort name="tw_gui_sort_order" />
3012 <icon folder="folder_icon" file="file_icon" />
3013 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003014 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003015 <filter folders="1" files="0" />
3016 <path name="tw_file_location1" default="/sdcard" />
3017 <data name="select" />
3018 <selection name="tw_selection1" />
3019 </object>
3020
3021 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003022 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3024 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003025 <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 -04003026 <text>%tw_file_location1%</text>
3027 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3028 <sort name="tw_gui_sort_order" />
3029 <icon folder="folder_icon" file="file_icon" />
3030 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003031 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003032 <filter folders="0" files="1" />
3033 <path name="tw_file_location1" default="/" />
3034 <data name="tw_filename1" />
3035 <selection name="tw_selection1" />
3036 </object>
3037
3038 <object type="template" name="sort_options" />
3039
3040 <object type="action">
3041 <actions>
3042 <action function="set">tw_fm_type=File</action>
3043 <action function="set">tw_fm_isfolder=0</action>
3044 </actions>
3045 </object>
3046
3047 <object type="action">
3048 <touch key="home" />
3049 <action function="page">main</action>
3050 </object>
3051
3052 <object type="action">
3053 <touch key="back" />
3054 <action function="page">advanced</action>
3055 </object>
3056
3057 <object type="action">
3058 <condition var1="tw_filename1" op="modified" />
3059 <actions>
3060 <action function="page">filemanageroptions</action>
3061 </actions>
3062 </object>
3063
3064 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003065 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Select Folder</text>
3069 <image resource="main_button" />
3070 <actions>
3071 <action function="set">tw_filename1=tw_file_location1</action>
3072 <action function="set">tw_fm_isfolder=1</action>
3073 <action function="set">tw_fm_type=Folder</action>
3074 <action function="page">filemanageroptions</action>
3075 </actions>
3076 </object>
3077
3078 <object type="template" name="footer" />
3079 </page>
3080
3081 <page name="filemanageroptions">
3082 <object type="template" name="header" />
3083
3084 <object type="text" color="%text_color%">
3085 <font resource="font" />
3086 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3087 <text>%tw_fm_type% Selected:</text>
3088 </object>
3089
3090 <object type="text" color="%text_color%">
3091 <font resource="font" />
3092 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3093 <text>%tw_filename1%</text>
3094 </object>
3095
3096 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003097 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003098 <condition var1="tw_fm_isfolder" var2="0" />
3099 <placement x="%col1_x%" y="%row2_y%" />
3100 <font resource="font" color="%button_text_color%" />
3101 <text>Copy File</text>
3102 <image resource="main_button" />
3103 <actions>
3104 <action function="set">tw_filemanager_command=cp</action>
3105 <action function="set">tw_fm_text1=Copying</action>
3106 <action function="page">choosedestinationfolder</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003112 <condition var1="tw_fm_isfolder" var2="1" />
3113 <placement x="%col1_x%" y="%row2_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Copy Folder</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3119 <action function="set">tw_fm_text1=Copying</action>
3120 <action function="page">choosedestinationfolder</action>
3121 </actions>
3122 </object>
3123
3124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <placement x="%col2_x%" y="%row2_y%" />
3127 <font resource="font" color="%button_text_color%" />
3128 <text>Move</text>
3129 <image resource="main_button" />
3130 <actions>
3131 <action function="set">tw_filemanager_command=mv</action>
3132 <action function="set">tw_fm_text1=Moving</action>
3133 <action function="page">choosedestinationfolder</action>
3134 </actions>
3135 </object>
3136
3137 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003138 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003139 <placement x="%col3_x%" y="%row2_y%" />
3140 <font resource="font" color="%button_text_color%" />
3141 <text>chmod 755</text>
3142 <image resource="main_button" />
3143 <actions>
3144 <action function="set">tw_filemanager_command=chmod 755</action>
3145 <action function="set">tw_fm_text1=chmod 755</action>
3146 <action function="set">tw_fm_text2=</action>
3147 <action function="set">tw_fm_text3=</action>
3148 <action function="set">tw_include_text3=0</action>
3149 <action function="set">tw_back=filemanageroptions</action>
3150 <action function="page">filemanagerconfirm</action>
3151 </actions>
3152 </object>
3153
3154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003155 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003156 <placement x="%col4_x%" y="%row2_y%" />
3157 <font resource="font" color="%button_text_color%" />
3158 <text>chmod</text>
3159 <image resource="main_button" />
3160 <actions>
3161 <action function="set">tw_filemanager_rename=0000</action>
3162 <action function="set">tw_fm_text2=</action>
3163 <action function="set">tw_fm_text3=</action>
3164 <action function="set">tw_include_text3=0</action>
3165 <action function="set">tw_back=filemanageroptions</action>
3166 <action function="page">filemanagerchmod</action>
3167 </actions>
3168 </object>
3169
3170 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003171 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003172 <placement x="%col1_x%" y="%row1_y%" />
3173 <font resource="font" color="%button_text_color%" />
3174 <text>Delete</text>
3175 <image resource="main_button" />
3176 <actions>
3177 <action function="set">tw_filemanager_command=rm -rf</action>
3178 <action function="set">tw_fm_text1=Deleting</action>
3179 <action function="set">tw_fm_text2=</action>
3180 <action function="set">tw_fm_text3=</action>
3181 <action function="set">tw_include_text3=0</action>
3182 <action function="set">tw_back=filemanageroptions</action>
3183 <action function="page">filemanagerconfirm</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003189 <condition var1="tw_fm_isfolder" var2="0" />
3190 <placement x="%col4_x%" y="%row1_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Rename File</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_rename=tw_selection1</action>
3196 <action function="set">tw_fm_text1=Renaming</action>
3197 <action function="set">tw_filemanager_command=mv</action>
3198 <action function="page">filemanagerrenamefile</action>
3199 </actions>
3200 </object>
3201
3202 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003203 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003204 <condition var1="tw_fm_isfolder" var2="1" />
3205 <placement x="%col4_x%" y="%row1_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>Rename Folder</text>
3208 <image resource="main_button" />
3209 <actions>
3210 <action function="set">tw_filemanager_rename=tw_selection1</action>
3211 <action function="set">tw_fm_text1=Renaming</action>
3212 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3213 <action function="page">filemanagerrenamefolder</action>
3214 </actions>
3215 </object>
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">filemanagerlist</action>
3225 </object>
3226
3227 <object type="template" name="footer" />
3228 </page>
3229
3230 <page name="choosedestinationfolder">
3231 <object type="template" name="header" />
3232
3233 <object type="text" color="%text_color%">
3234 <font resource="font" />
3235 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3236 <text>Browse to Destination Folder & Press Select</text>
3237 </object>
3238
3239 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003240 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3242 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003243 <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 -04003244 <text>%tw_file_location2%</text>
3245 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3246 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003247 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003248 <icon folder="folder_icon" file="file_icon" />
3249 <background color="%fileselector_background%" />
3250 <filter folders="1" files="0" />
3251 <path name="tw_file_location2" default="/sdcard" />
3252 <data name="tw_filename2" />
3253 </object>
3254
3255 <object type="template" name="sort_options" />
3256
3257 <object type="action">
3258 <touch key="home" />
3259 <action function="page">main</action>
3260 </object>
3261
3262 <object type="action">
3263 <touch key="back" />
3264 <action function="page">filemanageroptions</action>
3265 </object>
3266
3267 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003268 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003269 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Select Folder</text>
3272 <image resource="main_button" />
3273 <actions>
3274 <action function="set">tw_fm_text2=to</action>
3275 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3276 <action function="set">tw_include_text3=1</action>
3277 <action function="set">tw_back=filemanageroptions</action>
3278 <action function="page">filemanagerconfirm</action>
3279 </actions>
3280 </object>
3281
3282 <object type="template" name="footer" />
3283 </page>
3284
3285 <page name="filemanagerrenamefile">
3286 <object type="template" name="header" />
3287
3288 <object type="text" color="%text_color%">
3289 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3290 <font resource="font" />
3291 <text>Please Enter a New %tw_fm_type% Name</text>
3292 </object>
3293
3294 <object type="input">
3295 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3296 <background color="%input_background_color%" />
3297 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3298 <font resource="font" color="%text_color%" />
3299 <text>%tw_filemanager_rename%</text>
3300 <data name="tw_filemanager_rename" />
3301 <restrict minlen="1" maxlen="128" />
3302 <actions>
3303 <action function="set">tw_fm_text2=to</action>
3304 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3305 <action function="set">tw_include_text3=1</action>
3306 <action function="set">tw_back=filemanageroptions</action>
3307 <action function="page">filemanagerconfirm</action>
3308 </actions>
3309 </object>
3310
3311 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003312 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003313 <placement x="%col_center_x%" y="%cancel_button_y%" />
3314 <font resource="font" color="%button_text_color%" />
3315 <text>Cancel</text>
3316 <image resource="main_button" />
3317 <action function="page">filemanageroptions</action>
3318 </object>
3319
3320 <object type="template" name="keyboardtemplate" />
3321
3322 <object type="action">
3323 <touch key="home" />
3324 <action function="page">main</action>
3325 </object>
3326
3327 <object type="action">
3328 <touch key="back" />
3329 <action function="page">filemanageroptions</action>
3330 </object>
3331
3332 <object type="template" name="footer" />
3333 </page>
3334
3335 <page name="filemanagerrenamefolder">
3336 <object type="template" name="header" />
3337
3338 <object type="text" color="%text_color%">
3339 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3340 <font resource="font" />
3341 <text>Please Enter a New %tw_fm_type% Name</text>
3342 </object>
3343
3344 <object type="input">
3345 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3346 <background color="%input_background_color%" />
3347 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3348 <font resource="font" color="%text_color%" />
3349 <text>%tw_filemanager_rename%</text>
3350 <data name="tw_filemanager_rename" />
3351 <restrict minlen="1" maxlen="128" />
3352 <actions>
3353 <action function="set">tw_fm_text2=to</action>
3354 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3355 <action function="set">tw_include_text3=1</action>
3356 <action function="set">tw_back=filemanageroptions</action>
3357 <action function="page">filemanagerconfirm</action>
3358 </actions>
3359 </object>
3360
3361 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003362 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003363 <placement x="%col_center_x%" y="%cancel_button_y%" />
3364 <font resource="font" color="%button_text_color%" />
3365 <text>Cancel</text>
3366 <image resource="main_button" />
3367 <action function="page">filemanageroptions</action>
3368 </object>
3369
3370 <object type="template" name="keyboardtemplate" />
3371
3372 <object type="action">
3373 <touch key="home" />
3374 <action function="page">main</action>
3375 </object>
3376
3377 <object type="action">
3378 <touch key="back" />
3379 <action function="page">filemanageroptions</action>
3380 </object>
3381
3382 <object type="template" name="footer" />
3383 </page>
3384
3385 <page name="filemanagerchmod">
3386 <object type="template" name="header" />
3387
3388 <object type="text" color="%text_color%">
3389 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3390 <font resource="font" />
3391 <text>Please Enter New Permissions</text>
3392 </object>
3393
3394 <object type="input">
3395 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3396 <background color="%input_background_color%" />
3397 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3398 <font resource="font" color="%text_color%" />
3399 <text>%tw_filemanager_rename%</text>
3400 <data name="tw_filemanager_rename" />
3401 <restrict minlen="3" maxlen="4" allow="0123456789" />
3402 <actions>
3403 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3404 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3405 <action function="set">tw_back=filemanageroptions</action>
3406 <action function="page">filemanagerconfirm</action>
3407 </actions>
3408 </object>
3409
3410 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003411 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003412 <placement x="%col_center_x%" y="%cancel_button_y%" />
3413 <font resource="font" color="%button_text_color%" />
3414 <text>Cancel</text>
3415 <image resource="main_button" />
3416 <action function="page">filemanageroptions</action>
3417 </object>
3418
3419 <object type="template" name="keyboardtemplate" />
3420
3421 <object type="action">
3422 <touch key="home" />
3423 <action function="page">main</action>
3424 </object>
3425
3426 <object type="action">
3427 <touch key="back" />
3428 <action function="page">filemanageroptions</action>
3429 </object>
3430
3431 <object type="template" name="footer" />
3432 </page>
3433
3434 <page name="filemanagerconfirm">
3435 <object type="template" name="header" />
3436
3437 <object type="text" color="%text_color%">
3438 <font resource="font" />
3439 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3440 <text>%tw_fm_text1%</text>
3441 </object>
3442
3443 <object type="text" color="%text_color%">
3444 <font resource="font" />
3445 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3446 <text>%tw_filename1%</text>
3447 </object>
3448
3449 <object type="text" color="%text_color%">
3450 <font resource="font" />
3451 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3452 <text>%tw_fm_text2%</text>
3453 </object>
3454
3455 <object type="text" color="%text_color%">
3456 <font resource="font" />
3457 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3458 <text>%tw_fm_text3%</text>
3459 </object>
3460
3461 <object type="text" color="%text_color%">
3462 <font resource="font" />
3463 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3464 <text>Press back button to cancel.</text>
3465 </object>
3466
3467 <object type="slider">
3468 <placement x="%slider_x%" y="%slider_y%" />
3469 <resource base="slider" used="slider-used" touch="slider-touch" />
3470 <action function="page">filemanageracction</action>
3471 </object>
3472
3473 <object type="text" color="%text_color%">
3474 <font resource="font" />
3475 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3476 <text>Swipe to Confirm</text>
3477 </object>
3478
3479 <object type="action">
3480 <touch key="back" />
3481 <action function="page">%tw_back%</action>
3482 </object>
3483
3484 <object type="action">
3485 <touch key="home" />
3486 <action function="page">main</action>
3487 </object>
3488
3489 <object type="template" name="footer" />
3490 </page>
3491
3492 <page name="filemanageracction">
3493 <object type="template" name="header" />
3494
3495 <object type="text" color="%text_color%">
3496 <font resource="font" />
3497 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3498 <text>%tw_fm_text1%</text>
3499 </object>
3500
3501 <object type="template" name="action_page_console" />
3502
3503 <object type="template" name="progress_bar" />
3504
3505 <object type="action">
3506 <conditions>
3507 <condition var1="tw_operation_state" var2="1" />
3508 <condition var1="tw_operation_status" var2="0" />
3509 </conditions>
3510 <actions>
3511 <action function="set">tw_back=filemanagerlist</action>
3512 <action function="set">tw_complete_text1=File Operation Complete</action>
3513 <action function="page">action_complete</action>
3514 </actions>
3515 </object>
3516
3517 <object type="action">
3518 <conditions>
3519 <condition var1="tw_operation_state" var2="1" />
3520 <condition var1="tw_operation_status" op="!=" var2="0" />
3521 </conditions>
3522 <actions>
3523 <action function="set">tw_complete_text1=File Operation Complete</action>
3524 <action function="page">action_complete</action>
3525 </actions>
3526 </object>
3527
3528 <object type="action">
3529 <condition var1="tw_include_text3" var2="0" />
3530 <actions>
3531 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3532 </actions>
3533 </object>
3534
3535 <object type="action">
3536 <condition var1="tw_include_text3" var2="1" />
3537 <actions>
3538 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3539 </actions>
3540 </object>
3541 </page>
3542
3543 <page name="decrypt">
3544 <object type="template" name="header" />
3545
3546 <object type="text" color="%text_color%">
3547 <font resource="font" />
3548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3549 <text>Please Enter Your Password</text>
3550 </object>
3551
3552 <object type="input">
3553 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3554 <background color="%input_background_color%" />
3555 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3556 <font resource="font" color="%text_color%" />
3557 <text>%tw_crypto_display%</text>
3558 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3559 <restrict minlen="1" maxlen="254" />
3560 <actions>
3561 <action function="page">trydecrypt</action>
3562 </actions>
3563 </object>
3564
3565 <object type="text" color="%text_fail_color%">
3566 <condition var1="tw_password_fail" var2="1" />
3567 <font resource="font" />
3568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3569 <text>Password Failed, Please Try Again</text>
3570 </object>
3571
3572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003573 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003574 <placement x="%col_center_x%" y="%cancel_button_y%" />
3575 <font resource="font" color="%button_text_color%" />
3576 <text>Cancel</text>
3577 <image resource="main_button" />
3578 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003579 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003580 <action function="page">main</action>
3581 </actions>
3582 </object>
3583
3584 <object type="template" name="keyboardtemplate" />
3585
Dees_Troy51a0e822012-09-05 15:24:24 -04003586 <object type="template" name="footer" />
3587 </page>
3588
3589 <page name="trydecrypt">
3590 <object type="template" name="header" />
3591
3592 <object type="text" color="%text_color%">
3593 <font resource="font" />
3594 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3595 <text>Trying Decryption with Your Password</text>
3596 </object>
3597
3598 <object type="template" name="action_page_console" />
3599
3600 <object type="template" name="progress_bar" />
3601
3602 <object type="action">
3603 <action function="decrypt"></action>
3604 </object>
3605
3606 <object type="action">
3607 <conditions>
3608 <condition var1="tw_operation_state" var2="1" />
3609 <condition var1="tw_operation_status" op="!=" var2="0" />
3610 </conditions>
3611 <actions>
3612 <action function="set">tw_password_fail=1</action>
3613 <action function="page">decrypt</action>
3614 </actions>
3615 </object>
3616
3617 <object type="action">
3618 <conditions>
3619 <condition var1="tw_operation_state" var2="1" />
3620 <condition var1="tw_operation_status" op="=" var2="0" />
3621 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003622 <actions>
3623 <action function="set">tw_page_done=1</action>
3624 <action function="page">main</action>
3625 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003626 </object>
3627 </page>
3628
3629 <page name="terminalfolder">
3630 <object type="template" name="header" />
3631
3632 <object type="text" color="%text_color%">
3633 <font resource="font" />
3634 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3635 <text>Browse to Starting Folder</text>
3636 </object>
3637
3638 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003639 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003640 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3641 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003642 <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 -04003643 <text>%tw_terminal_location%</text>
3644 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3645 <sort name="tw_gui_sort_order" />
3646 <icon folder="folder_icon" file="file_icon" />
3647 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003648 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <filter folders="1" files="0" />
3650 <path name="tw_terminal_location" default="/" />
3651 <data name="tw_terminal" />
3652 <selection name="tw_terminal_selection" />
3653 </object>
3654
3655 <object type="template" name="sort_options" />
3656
3657 <object type="action">
3658 <touch key="home" />
3659 <action function="page">main</action>
3660 </object>
3661
3662 <object type="action">
3663 <touch key="back" />
3664 <action function="page">advanced</action>
3665 </object>
3666
3667 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003668 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003669 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3670 <font resource="font" color="%button_text_color%" />
3671 <text>Select Folder</text>
3672 <image resource="main_button" />
3673 <actions>
3674 <action function="page">terminalcommand</action>
3675 </actions>
3676 </object>
3677
3678 <object type="template" name="footer" />
3679 </page>
3680
3681 <page name="terminalcommand">
3682 <background color="#000000FF" />
3683
3684 <object type="console">
3685 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3686 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3687 <font resource="fixed" />
3688 </object>
3689
3690 <object type="text" color="%text_color%">
3691 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3692 <font resource="font" />
3693 <text>Starting Path: %tw_terminal_location%</text>
3694 </object>
3695
3696 <object type="input">
3697 <condition var1="tw_terminal_state" var2="0" />
3698 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3699 <background color="%input_background_color%" />
3700 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3701 <font resource="font" color="%text_color%" />
3702 <text>%tw_terminal_command%</text>
3703 <data name="tw_terminal_command" />
3704 <restrict minlen="1" />
3705 <action function="terminalcommand">%tw_terminal_command%</action>
3706 </object>
3707
3708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003710 <condition var1="tw_terminal_state" var2="1" />
3711 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3712 <font resource="font" color="%button_text_color%" />
3713 <text>KILL</text>
3714 <image resource="medium_button" />
3715 <action function="killterminal"></action>
3716 </object>
3717
3718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003720 <placement x="%home_button_x%" y="%terminal_button_y%" />
3721 <font resource="font" color="%button_text_color%" />
3722 <text></text>
3723 <image resource="home_icon" />
3724 <condition var1="tw_busy" var2="0" />
3725 <action function="key">home</action>
3726 </object>
3727
3728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003730 <placement x="%back_button_x%" y="%terminal_button_y%" />
3731 <font resource="font" color="%button_text_color%" />
3732 <text></text>
3733 <image resource="back_icon" />
3734 <condition var1="tw_busy" var2="0" />
3735 <action function="key">back</action>
3736 </object>
3737
3738 <object type="action">
3739 <touch key="power" />
3740 <action function="overlay">lock</action>
3741 </object>
3742
3743 <object type="template" name="keyboardtemplate" />
3744
3745 <object type="action">
3746 <touch key="home" />
3747 <action function="page">main</action>
3748 </object>
3749
3750 <object type="action">
3751 <touch key="back" />
3752 <action function="page">terminalfolder</action>
3753 </object>
3754 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003755
3756 <page name="sideload">
3757 <object type="template" name="header" />
3758
3759 <object type="text" color="%text_color%">
3760 <font resource="font" />
3761 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3762 <text>ADB Sideload</text>
3763 </object>
3764
3765 <object type="checkbox">
3766 <placement x="%col1_x%" y="%row3_text_y%" />
3767 <font resource="font" color="%text_color%" />
3768 <text>Wipe Dalvik Cache.</text>
3769 <data variable="tw_wipe_dalvik" />
3770 <image checked="checkbox_true" unchecked="checkbox_false" />
3771 </object>
3772
3773 <object type="checkbox">
3774 <placement x="%col1_x%" y="%row4_text_y%" />
3775 <font resource="font" color="%text_color%" />
3776 <text>Wipe Cache.</text>
3777 <data variable="tw_wipe_cache" />
3778 <image checked="checkbox_true" unchecked="checkbox_false" />
3779 </object>
3780
3781 <object type="slider">
3782 <placement x="%slider_x%" y="%slider_y%" />
3783 <resource base="slider" used="slider-used" touch="slider-touch" />
3784 <actions>
3785 <action function="set">tw_back=advanced</action>
3786 <action function="set">tw_action=adbsideload</action>
3787 <action function="set">tw_action_text1=ADB Sideload</action>
3788 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3789 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3790 <action function="set">tw_has_cancel=1</action>
3791 <action function="set">tw_show_reboot=1</action>
3792 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3793 <action function="page">action_page</action>
3794 </actions>
3795 </object>
3796
3797 <object type="text" color="%text_color%">
3798 <font resource="font" />
3799 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3800 <text>Swipe to Start Sideload</text>
3801 </object>
3802
3803 <object type="action">
3804 <touch key="home" />
3805 <action function="page">main</action>
3806 </object>
3807
3808 <object type="action">
3809 <touch key="back" />
3810 <action function="page">advanced</action>
3811 </object>
3812
3813 <object type="template" name="footer" />
3814 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003815
3816 <page name="installsu">
3817 <object type="template" name="header" />
3818
3819 <object type="text" color="%text_color%">
3820 <font resource="font" />
3821 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3822 <text>Install SuperSU?</text>
3823 </object>
3824
3825 <object type="text" color="%text_color%">
3826 <font resource="font" />
3827 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3828 <text>Your device does not appear to be rooted.</text>
3829 </object>
3830
3831 <object type="text" color="%text_color%">
3832 <font resource="font" />
3833 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3834 <text>Install SuperSU now? This will root your device.</text>
3835 </object>
3836
3837 <object type="button">
3838 <highlight color="%highlight_color%" />
3839 <placement x="%col_center_x%" y="%row2_medium_y%" />
3840 <font resource="font" color="%button_text_color%" />
3841 <text>Do Not Install</text>
3842 <image resource="main_button" />
3843 <action function="set">tw_page_done=1</action>
3844 </object>
3845
3846 <object type="slider">
3847 <placement x="%slider_x%" y="%slider_y%" />
3848 <resource base="slider" used="slider-used" touch="slider-touch" />
3849 <actions>
3850 <action function="set">tw_action=installsu</action>
3851 <action function="set">tw_action_text1=Installing SuperSU</action>
3852 <action function="set">tw_action_text2=</action>
3853 <action function="page">singleaction_page</action>
3854 </actions>
3855 </object>
3856
3857 <object type="text" color="%text_color%">
3858 <font resource="font" />
3859 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3860 <text>Swipe to Install</text>
3861 </object>
3862 </page>
3863
3864 <page name="fixsu">
3865 <object type="template" name="header" />
3866
3867 <object type="text" color="%text_color%">
3868 <font resource="font" />
3869 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3870 <text>Fix Superuser Permissions?</text>
3871 </object>
3872
3873 <object type="text" color="%text_color%">
3874 <font resource="font" />
3875 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3876 <text>Root permissions appear to be lost.</text>
3877 </object>
3878
3879 <object type="text" color="%text_color%">
3880 <font resource="font" />
3881 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3882 <text>Fix root permissions now?</text>
3883 </object>
3884
3885 <object type="text" color="%text_color%">
3886 <font resource="font" />
3887 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3888 <text>(Fixes permissions on su binary & app)</text>
3889 </object>
3890
3891 <object type="button">
3892 <highlight color="%highlight_color%" />
3893 <placement x="%col_center_x%" y="%row2_medium_y%" />
3894 <font resource="font" color="%button_text_color%" />
3895 <text>Do Not Fix</text>
3896 <image resource="main_button" />
3897 <action function="set">tw_page_done=1</action>
3898 </object>
3899
3900 <object type="slider">
3901 <placement x="%slider_x%" y="%slider_y%" />
3902 <resource base="slider" used="slider-used" touch="slider-touch" />
3903 <actions>
3904 <action function="set">tw_action=fixsu</action>
3905 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3906 <action function="set">tw_action_text2=</action>
3907 <action function="page">singleaction_page</action>
3908 </actions>
3909 </object>
3910
3911 <object type="text" color="%text_color%">
3912 <font resource="font" />
3913 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3914 <text>Swipe to Fix Root</text>
3915 </object>
3916 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003917 </pages>
3918</recovery>