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