blob: 768f246f14ae8a4df30ec0caf436208eb8d230c9 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="480" />
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-Condensed-16" />
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="210" />
46 <variable name="col3_x" value="410" />
47 <variable name="col4_x" value="610" />
48 <variable name="row1_y" value="90" />
49 <variable name="row2_y" value="340" />
50 <variable name="col_center_x" value="310" />
51 <variable name="center_x" value="400" />
52 <variable name="screen_width" value="800" />
53 <variable name="screen_height" value="480" />
54 <variable name="col_progressbar_x" value="300" />
Dees_Troy2691f9d2012-09-24 11:15:49 -040055 <variable name="row_progressbar_y" value="440" />
Dees_Troy51a0e822012-09-05 15:24:24 -040056 <variable name="col1_medium_x" value="120" />
57 <variable name="col2_medium_x" value="250" />
58 <variable name="col3_medium_x" value="380" />
59 <variable name="col4_medium_x" value="510" />
60 <variable name="row1_medium_y" value="105" />
61 <variable name="row2_medium_y" value="175" />
62 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060063 <variable name="row4_medium_y" value="340" />
Dees_Troy51a0e822012-09-05 15:24:24 -040064 <variable name="row5_medium_y" value="320" />
65 <variable name="row1_text_y" value="58" />
66 <variable name="row2_text_y" value="78" />
67 <variable name="row3_text_y" value="100" />
68 <variable name="row4_text_y" value="120" />
69 <variable name="row5_text_y" value="140" />
70 <variable name="row6_text_y" value="160" />
71 <variable name="row7_text_y" value="180" />
72 <variable name="row8_text_y" value="200" />
73 <variable name="row9_text_y" value="220" />
74 <variable name="row10_text_y" value="240" />
75 <variable name="row11_text_y" value="260" />
76 <variable name="row12_text_y" value="280" />
77 <variable name="row13_text_y" value="300" />
78 <variable name="row14_text_y" value="320" />
79 <variable name="row15_text_y" value="340" />
80 <variable name="row16_text_y" value="360" />
81 <variable name="row17_text_y" value="380" />
82 <variable name="row18_text_y" value="400" />
83 <variable name="row_offsetmedium_y" value="320" />
84 <variable name="home_button_x" value="589" />
85 <variable name="home_button_y" value="5" />
86 <variable name="back_button_x" value="659" />
87 <variable name="back_button_y" value="5" />
88 <variable name="console_button_x" value="729" />
89 <variable name="console_button_y" value="5" />
90 <variable name="nandcheck_col1" value="23" />
91 <variable name="nandcheck_col2" value="360" />
92 <variable name="nandcheck_row1" value="130" />
93 <variable name="nandcheck_row2" value="160" />
94 <variable name="nandcheck_row3" value="190" />
95 <variable name="nandcheck_row4" value="220" />
96 <variable name="nandcheck_row5" value="250" />
97 <variable name="nandcheck_row6" value="280" />
98 <variable name="nandcheck_row7" value="310" />
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="225" />
105 <variable name="slider_y" value="390" />
106 <variable name="slider_text_y" value="425" />
107 <variable name="sort_text_x" value="170" />
108 <variable name="sort_asc_text_y" value="418" />
109 <variable name="sort_asc_button_y" value="413" />
110 <variable name="sort_desc_text_y" value="452" />
111 <variable name="sort_desc_button_y" value="447" />
112 <variable name="sort_col1_button_x" value="300" />
113 <variable name="sort_col2_button_x" value="370" />
114 <variable name="sort_col3_button_x" value="440" />
115 <variable name="col1_sdext_x" value="265" />
116 <variable name="col2_sdext_x" value="475" />
117 <variable name="row1_sdext_y" value="85" />
118 <variable name="row2_sdext_y" value="150" />
119 <variable name="row_extsize_y" value="85" />
120 <variable name="row_swapsize_y" value="150" />
121 <variable name="input_x" value="28" />
122 <variable name="input_width" value="720" />
123 <variable name="input_height" value="25" />
124 <variable name="input_background_color" value="#303030" />
125 <variable name="input_cursor_color" value="#33B5E5" />
126 <variable name="input_cursor_width" value="2" />
127 <variable name="console_x" value="25" />
128 <variable name="console_width" value="750" />
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="230" />
133 <variable name="console_install_height" value="260" />
134 <variable name="console_installdone_height" value="260" />
135 <variable name="fileselector_folder_x" value="28" />
136 <variable name="fileselector_folder_width" value="248" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000137 <variable name="fileselector_folderonly_width" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400138 <variable name="fileselector_file_x" value="278" />
139 <variable name="fileselector_file_width" value="506" />
140 <variable name="fileselector_install_y" value="120" />
141 <variable name="fileselector_install_height" value="290" />
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="2" />
146 <variable name="fileselector_separatorcolor" value="#505050" />
147 <variable name="fileselector_separatorheight" value="1" />
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="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100152 <variable name="fastscroll_linecolor" value="#808080" />
153 <variable name="fastscroll_rectcolor" value="#808080" />
154 <variable name="fastscroll_w" value="25" />
155 <variable name="fastscroll_linew" value="2" />
156 <variable name="fastscroll_rectw" value="19" />
157 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400158 <variable name="zipstorage_text_y" value="88" />
159 <variable name="listbox_x" value="156" />
160 <variable name="listbox_y" value="90" />
161 <variable name="listbox_width" value="460" />
162 <variable name="listbox_tz_height" value="170" />
163 <variable name="listbox_background" value="#303030" />
164 <variable name="listbox_spacing" value="12" />
165 <variable name="sd_plus_x" value="280" />
166 <variable name="lock_x" value="250" />
167 <variable name="lock_y" value="90" />
168 <variable name="filemanager_select_x" value="610" />
169 <variable name="filemanager_select_y" value="413" />
170 <variable name="backup_name_text_y" value="440" />
171 <variable name="backup_name_button_y" value="195" />
172 <variable name="col_right_x" value="772" />
173 <variable name="cancel_button_y" value="180" />
174 <variable name="terminal_console_y" value="0" />
175 <variable name="terminal_console_height" value="240" />
176 <variable name="terminal_text_y" value="247" />
177 <variable name="terminal_button_y" value="237" />
178 <variable name="terminal_input_width" value="551" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="button_fill_color" value="#303030" />
180 <variable name="button_fill_full_width" value="400" />
181 <variable name="button_fill_main_width" value="367" />
182 <variable name="button_fill_main_height" value="120" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000183 <variable name="button_fill_half_height" value="40" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="button_fill_quarter_height" value="30" />
185 <variable name="button_full_center_x" value="200" />
186 <variable name="backup_list_x" value="23" />
187 <variable name="backup_list_y" value="80" />
188 <variable name="backup_list_width" value="367" />
189 <variable name="backup_list_height" value="290" />
190 <variable name="backup_storage_y" value="190" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000191 <variable name="backup_encrypt_y" value="235" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500192 <variable name="restore_list_y" value="100" />
193 <variable name="restore_list_height" value="270" />
194 <variable name="mount_list_height" value="360" />
195 <variable name="mount_storage_row" value="500" />
196 <variable name="wipe_list_height" value="300" />
197 <variable name="wipe_button_y" value="150" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200198 <variable name="slidervalue_x" value="200" />
199 <variable name="slidervalue_w" value="400" />
200 <variable name="slidervalue_line_clr" value="#FFFFFF" />
201 <variable name="slidervalue_slider_clr" value="#33B5E5" />
202 <variable name="slidervalue_lineh" value="1" />
203 <variable name="slidervalue_padding" value="0" />
204 <variable name="slidervalue_sliderw" value="7" />
205 <variable name="slidervalue_sliderh" value="40" />
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="2" />
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="37" />
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="37" />
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="250" y="20" />
244 <text>SIMULATING ACTIONS</text>
245 </object>
246
247 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600248 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400249 <placement x="%home_button_x%" y="%home_button_y%" />
250 <font resource="font" color="%button_text_color%" />
251 <text></text>
252 <image resource="home_icon" />
253 <condition var1="tw_busy" var2="0" />
254 <action function="key">home</action>
255 </object>
256
257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <placement x="%back_button_x%" y="%back_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text></text>
262 <image resource="back_icon" />
263 <condition var1="tw_busy" var2="0" />
264 <action function="key">back</action>
265 </object>
266
267 <object type="action">
268 <touch key="power" />
269 <action function="overlay">lock</action>
270 </object>
271 </template>
272
273 <template name="progress_bar">
274 <object type="progressbar">
275 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
276 <resource empty="progress_empty" full="progress_full" />
277 <data name="ui_progress" />
278 </object>
279
280 <object type="animation">
281 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
282 <resource name="progress" />
283 <speed fps="15" render="2" />
284 <loop frame="1" />
285 </object>
286 </template>
287
288 <template name="sort_options">
289 <object type="text" color="%text_color%">
290 <font resource="font" />
291 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
292 <text>Sort Ascending:</text>
293 </object>
294
295 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600296 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400297 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
298 <font resource="font" color="%button_text_color%" />
299 <text>Name</text>
300 <image resource="sort_button" />
301 <action function="set">tw_gui_sort_order=1</action>
302 </object>
303
304 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600305 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400306 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
307 <font resource="font" color="%button_text_color%" />
308 <text>Date</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=2</action>
311 </object>
312
313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400315 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
316 <font resource="font" color="%button_text_color%" />
317 <text>Size</text>
318 <image resource="sort_button" />
319 <action function="set">tw_gui_sort_order=3</action>
320 </object>
321
322 <object type="text" color="%text_color%">
323 <font resource="font" />
324 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
325 <text>Sort Descending:</text>
326 </object>
327
328 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600329 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400330 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
331 <font resource="font" color="%button_text_color%" />
332 <text>Name</text>
333 <image resource="sort_button" />
334 <action function="set">tw_gui_sort_order=-1</action>
335 </object>
336
337 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600338 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400339 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
340 <font resource="font" color="%button_text_color%" />
341 <text>Date</text>
342 <image resource="sort_button" />
343 <action function="set">tw_gui_sort_order=-2</action>
344 </object>
345
346 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600347 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400348 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
349 <font resource="font" color="%button_text_color%" />
350 <text>Size</text>
351 <image resource="sort_button" />
352 <action function="set">tw_gui_sort_order=-3</action>
353 </object>
354 </template>
355
356 <template name="flash_zip_console">
357 <object type="console">
358 <placement x="%console_x%" y="85" w="%console_width%" h="260" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="action_page_console">
365 <object type="console">
Dees_Troy2691f9d2012-09-24 11:15:49 -0400366 <placement x="%console_x%" y="160" w="%console_width%" h="230" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
368 <font resource="fixed" />
369 </object>
370 </template>
371
372 <template name="footer">
373 <object type="console">
374 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
375 <placement x="%console_x%" y="60" w="%console_width%" h="380" />
376 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
377 <font resource="fixed" />
378 </object>
379 </template>
380
381 <template name="keyboardtemplate">
382 <object type="keyboard">
383 <placement x="0" y="277" />
384 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600385 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400386 <layout1>
387 <keysize height="51" width="73" />
388 <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="70:c:8" />
389 <row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
390 <row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
391 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
392 </layout1>
393 <layout2>
394 <keysize height="51" width="73" />
395 <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="70:c:8" />
396 <row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
397 <row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
398 <row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
399 </layout2>
400 <layout3>
401 <keysize height="51" width="73" />
402 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
403 <row2 key01="107:#" key02="$" key03="%" key04="&" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
404 <row3 key01="79:layout4" key02="72:<" key03="72:>" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
405 <row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
406 </layout3>
407 <layout4>
408 <keysize height="51" width="73" />
409 <row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
410 <row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
411 <row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
412 <row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
413 </layout4>
414 </object>
415 </template>
416 </templates>
417
418 <pages>
419 <page name="main">
420 <object type="action">
421 <actions>
422 <action function="set">tw_clear_destination=main2</action>
423 <action function="page">clear_vars</action>
424 </actions>
425 </object>
426 </page>
427
428 <page name="main2">
429 <object type="template" name="header" />
430
431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col1_x%" y="%row1_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Install</text>
436 <image resource="main_button" />
437 <actions>
438 <action function="queueclear"></action>
439 <action function="page">install</action>
440 </actions>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col2_x%" y="%row1_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Backup</text>
448 <image resource="main_button" />
449 <action function="page">backup</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col3_x%" y="%row1_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Restore</text>
457 <image resource="main_button" />
458 <action function="page">restore</action>
459 </object>
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col4_x%" y="%row1_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Wipe</text>
466 <image resource="main_button" />
467 <action function="page">wipe</action>
468 </object>
469
470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400472 <placement x="%col1_x%" y="%row2_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Mount</text>
475 <image resource="main_button" />
476 <action function="page">mount</action>
477 </object>
478
479 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600480 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400481 <placement x="%col2_x%" y="%row2_y%" />
482 <font resource="font" color="%button_text_color%" />
483 <text>Settings</text>
484 <image resource="main_button" />
485 <action function="page">settings</action>
486 </object>
487
488 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600489 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400490 <placement x="%col3_x%" y="%row2_y%" />
491 <font resource="font" color="%button_text_color%" />
492 <text>Advanced</text>
493 <image resource="main_button" />
494 <action function="page">advanced</action>
495 </object>
496
497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600498 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <placement x="%col4_x%" y="%row2_y%" />
500 <font resource="font" color="%button_text_color%" />
501 <text>Reboot</text>
502 <image resource="main_button" />
503 <action function="page">reboot</action>
504 </object>
505
506 <object type="template" name="footer" />
507 </page>
508
509 <page name="install">
510 <object type="template" name="header" />
511
512 <object type="text" color="%text_color%">
513 <font resource="font" />
514 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
515 <text>Select Zip to Install</text>
516 </object>
517
518 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500519 <highlight color="%highlight_color%" />
520 <fill color="%button_fill_color%" />
521 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
522 <font resource="font" color="%button_text_color%" />
523 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
524 <actions>
525 <action function="set">tw_back=install</action>
526 <action function="page">selectstorage</action>
527 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400528 </object>
529
530 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600531 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400532 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
533 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100534 <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 -0400535 <text>Folders:</text>
536 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
537 <sort name="tw_gui_sort_order" />
538 <icon folder="folder_icon" file="file_icon" />
539 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600540 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400541 <filter folders="1" files="0" />
542 <path name="tw_zip_location" default="/sdcard" />
543 <data name="select" />
544 </object>
545
546 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600547 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400548 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
549 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100550 <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 -0400551 <text>%tw_zip_location%</text>
552 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
553 <sort name="tw_gui_sort_order" />
554 <icon folder="folder_icon" file="file_icon" />
555 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600556 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400557 <filter extn=".zip" folders="0" files="1" />
558 <path name="tw_zip_location" />
559 <data name="tw_filename" />
560 <selection name="tw_file" />
561 </object>
562
563 <object type="template" name="sort_options" />
564
565 <object type="action">
566 <condition var1="tw_filename" op="modified" />
567 <actions>
568 <action function="queuezip"></action>
569 <action function="page">flash_confirm</action>
570 </actions>
571 </object>
572
573 <object type="action">
574 <touch key="back" />
575 <action function="page">main</action>
576 </object>
577
578 <object type="action">
579 <touch key="home" />
580 <action function="page">main</action>
581 </object>
582
583 <object type="template" name="footer" />
584 </page>
585
586 <page name="flash_confirm">
587 <object type="template" name="header" />
588
589 <object type="text" color="%text_color%">
590 <font resource="font" />
591 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
592 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
593 </object>
594
595 <object type="text" color="%text_color%">
596 <font resource="font" />
597 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
598 <text>Folder:</text>
599 </object>
600
601 <object type="text" color="%text_color%">
602 <font resource="font" />
603 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
604 <text>%tw_zip_location%</text>
605 </object>
606
607 <object type="text" color="%text_color%">
608 <font resource="font" />
609 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
610 <text>File to flash:</text>
611 </object>
612
613 <object type="text" color="%text_color%">
614 <font resource="font" />
615 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
616 <text>%tw_file%</text>
617 </object>
618
619 <object type="text" color="%text_color%">
620 <font resource="font" />
621 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
622 <text>Press back to cancel adding this zip.</text>
623 </object>
624
625 <object type="checkbox">
626 <placement x="%col2_x%" y="%row7_text_y%" />
627 <font resource="font" color="%text_color%" />
628 <text>Zip file signature verification?</text>
629 <data variable="tw_signed_zip_verify" />
630 <image checked="checkbox_true" unchecked="checkbox_false" />
631 </object>
632
Dees_Troy51a0e822012-09-05 15:24:24 -0400633 <object type="text" color="%text_color%">
634 <font resource="font" />
635 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
636 <text>File %tw_zip_queue_count% of max of 10</text>
637 </object>
638
639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400641 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
642 <placement x="%col2_x%" y="%row5_medium_y%" />
643 <font resource="font" color="%button_text_color%" />
644 <text>Add More Zips</text>
645 <image resource="mediumwide_button" />
646 <action function="page">install</action>
647 </object>
648
649 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600650 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400651 <placement x="%col3_x%" y="%row5_medium_y%" />
652 <font resource="font" color="%button_text_color%" />
653 <text>Clear Queue</text>
654 <image resource="mediumwide_button" />
655 <actions>
656 <action function="queueclear"></action>
657 <action function="page">install</action>
658 </actions>
659 </object>
660
661 <object type="slider">
662 <placement x="%slider_x%" y="%slider_y%" />
663 <resource base="slider" used="slider-used" touch="slider-touch" />
664 <action function="flash">flash_zip</action>
665 </object>
666
667 <object type="text" color="%text_color%">
668 <font resource="font" />
669 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
670 <text>Swipe to Confirm Flash</text>
671 </object>
672
673 <object type="action">
674 <touch key="back" />
675 <actions>
676 <action function="cancelzip"></action>
677 <action function="page">install</action>
678 </actions>
679 </object>
680
681 <object type="action">
682 <touch key="home" />
683 <action function="page">main</action>
684 </object>
685
686 <object type="template" name="footer" />
687 </page>
688
689 <page name="flash_zip">
690 <object type="template" name="header" />
691
692 <object type="template" name="flash_zip_console" />
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%col1_x%" y="%row16_text_y%" />
697 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
698 </object>
699
700 <object type="text" color="%text_color%">
701 <font resource="font" />
702 <placement x="%col1_x%" y="%row17_text_y%" />
703 <text>%tw_filename%</text>
704 </object>
705
706 <object type="template" name="progress_bar" />
707
708 <object type="action">
709 <condition var1="tw_operation_state" var2="1" />
710 <action function="page">flash_done</action>
711 </object>
712 </page>
713
714 <page name="flash_done">
715 <object type="template" name="header" />
716
717 <object type="template" name="flash_zip_console" />
718
719 <object type="text" color="%text_fail_color%">
720 <condition var1="tw_operation_status" op="!=" var2="0" />
721 <font resource="font" />
722 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
723 <text>Failed</text>
724 </object>
725
726 <object type="text" color="%text_success_color%">
727 <condition var1="tw_operation_status" var2="0" />
728 <font resource="font" />
729 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
730 <text>Successful</text>
731 </object>
732
733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <placement x="%col1_x%" y="%slider_y%" />
736 <font resource="font" color="%button_text_color%" />
737 <text>Wipe Cache/Dalvik</text>
738 <image resource="main_button" />
739 <actions>
740 <action function="set">tw_back=flash_done</action>
741 <action function="set">tw_action=wipe</action>
742 <action function="set">tw_action_param=/cache</action>
743 <action function="set">tw_has_action2=1</action>
744 <action function="set">tw_action2=wipe</action>
745 <action function="set">tw_action2_param=dalvik</action>
746 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
747 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
748 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
749 <action function="set">tw_slider_text=Swipe to Wipe</action>
750 <action function="page">confirm_action</action>
751 </actions>
752 </object>
753
754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <condition var1="tw_reboot_system" var2="1" />
757 <placement x="%col4_x%" y="%slider_y%" />
758 <font resource="font" color="%button_text_color%" />
759 <text>Reboot System</text>
760 <image resource="main_button" />
761 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400762 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <action function="set">tw_action=reboot</action>
764 <action function="set">tw_action_param=system</action>
765 <action function="set">tw_has_action2=0</action>
766 <action function="set">tw_text1=No OS Installed! Are you</action>
767 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400768 <action function="set">tw_text3=</action>
769 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400770 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400771 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400772 <action function="set">tw_complete_text1=Rebooting...</action>
773 <action function="set">tw_slider_text=Swipe to Reboot</action>
774 <action function="page">rebootcheck</action>
775 </actions>
776 </object>
777
778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600779 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400780 <placement x="%col_center_x%" y="%slider_y%" />
781 <font resource="font" color="%button_text_color%" />
782 <text>Home</text>
783 <image resource="main_button" />
784 <actions>
785 <action function="set">tw_clear_destination=main2</action>
786 <action function="page">clear_vars</action>
787 </actions>
788 </object>
789
790 <object type="action">
791 <touch key="back" />
792 <actions>
793 <action function="set">tw_clear_destination=install</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </object>
797
798 <object type="action">
799 <touch key="home" />
800 <actions>
801 <action function="set">tw_clear_destination=main2</action>
802 <action function="page">clear_vars</action>
803 </actions>
804 </object>
805 </page>
806
807 <page name="clear_vars">
808 <object type="action">
809 <action function="set">tw_operation_state=0</action>
810 <action function="set">tw_text1=</action>
811 <action function="set">tw_text2=</action>
812 <action function="set">tw_text3=</action>
813 <action function="set">tw_text4=</action>
814 <action function="set">tw_action_text1=</action>
815 <action function="set">tw_action_text2=</action>
816 <action function="set">tw_action_param=</action>
817 <action function="set">tw_has_action2=0</action>
818 <action function="set">tw_action2=</action>
819 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400820 <action function="set">tw_has_cancel=0</action>
821 <action function="set">tw_cancel_action=</action>
822 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400823 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400824 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400825 <action function="page">%tw_clear_destination%</action>
826 </object>
827 </page>
828
829 <page name="confirm_action">
830 <object type="template" name="header" />
831
832 <object type="text" color="%text_color%">
833 <font resource="font" />
834 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
835 <text>%tw_text1%</text>
836 </object>
837
838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
841 <text>%tw_text2%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
846 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
847 <text>%tw_text3%</text>
848 </object>
849
850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
853 <text>%tw_text4%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400858 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400859 <text>Press back button to cancel.</text>
860 </object>
861
862 <object type="slider">
863 <placement x="%slider_x%" y="%slider_y%" />
864 <resource base="slider" used="slider-used" touch="slider-touch" />
865 <action function="page">action_page</action>
866 </object>
867
868 <object type="text" color="%text_color%">
869 <font resource="font" />
870 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
871 <text>%tw_slider_text%</text>
872 </object>
873
874 <object type="action">
875 <touch key="back" />
876 <actions>
877 <action function="set">tw_clear_destination=%tw_back%</action>
878 <action function="page">clear_vars</action>
879 </actions>
880 </object>
881
882 <object type="action">
883 <touch key="home" />
884 <action function="page">main</action>
885 </object>
886
887 <object type="template" name="footer" />
888 </page>
889
890 <page name="action_page">
891 <object type="template" name="header" />
892
893 <object type="text" color="%text_color%">
894 <font resource="font" />
895 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
896 <text>%tw_action_text1%</text>
897 </object>
898
899 <object type="text" color="%text_color%">
900 <font resource="font" />
901 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
902 <text>%tw_action_text2%</text>
903 </object>
904
905 <object type="template" name="action_page_console" />
906
Dees_Troy2691f9d2012-09-24 11:15:49 -0400907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600908 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400909 <condition var1="tw_has_cancel" var2="1" />
910 <placement x="%col4_x%" y="%slider_y%" />
911 <font resource="font" color="%button_text_color%" />
912 <text>Cancel</text>
913 <image resource="main_button" />
914 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
915 </object>
916
Dees_Troy51a0e822012-09-05 15:24:24 -0400917 <object type="template" name="progress_bar" />
918
919 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400920 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400921 <actions>
922 <action function="page">action_complete</action>
923 </actions>
924 </object>
925
926 <object type="action">
927 <condition var1="tw_has_action2" var2="0" />
928 <actions>
929 <action function="%tw_action%">%tw_action_param%</action>
930 </actions>
931 </object>
932
933 <object type="action">
934 <condition var1="tw_has_action2" var2="1" />
935 <actions>
936 <action function="%tw_action%">%tw_action_param%</action>
937 <action function="%tw_action2%">%tw_action2_param%</action>
938 </actions>
939 </object>
940 </page>
941
Dees_Troy6ef66352013-02-21 08:26:57 -0600942 <page name="singleaction_page">
943 <object type="template" name="header" />
944
945 <object type="text" color="%text_color%">
946 <font resource="font" />
947 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
948 <text>%tw_action_text1%</text>
949 </object>
950
951 <object type="text" color="%text_color%">
952 <font resource="font" />
953 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
954 <text>%tw_action_text2%</text>
955 </object>
956
957 <object type="template" name="action_page_console" />
958
959 <object type="template" name="progress_bar" />
960
961 <object type="action">
962 <condition var1="tw_operation_state" var2="1" />
963 <actions>
964 <action function="set">tw_page_done=1</action>
965 </actions>
966 </object>
967
968 <object type="action">
969 <condition var1="tw_has_action2" var2="0" />
970 <actions>
971 <action function="%tw_action%">%tw_action_param%</action>
972 </actions>
973 </object>
974
975 <object type="action">
976 <condition var1="tw_has_action2" var2="1" />
977 <actions>
978 <action function="%tw_action%">%tw_action_param%</action>
979 <action function="%tw_action2%">%tw_action2_param%</action>
980 </actions>
981 </object>
982 </page>
983
Dees_Troy51a0e822012-09-05 15:24:24 -0400984 <page name="action_complete">
985 <object type="template" name="header" />
986
987 <object type="text" color="%text_color%">
988 <font resource="font" />
989 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
990 <text>%tw_complete_text1%</text>
991 </object>
992
993 <object type="text" color="%text_fail_color%">
994 <condition var1="tw_operation_status" op="!=" var2="0" />
995 <font resource="font" />
996 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
997 <text>Failed</text>
998 </object>
999
1000 <object type="text" color="%text_success_color%">
1001 <condition var1="tw_operation_status" var2="0" />
1002 <font resource="font" />
1003 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1004 <text>Successful</text>
1005 </object>
1006
1007 <object type="template" name="action_page_console" />
1008
1009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001010 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001011 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001012 <placement x="%col_center_x%" y="%slider_y%" />
1013 <font resource="font" color="%button_text_color%" />
1014 <text>Back</text>
1015 <image resource="main_button" />
1016 <actions>
1017 <action function="set">tw_clear_destination=%tw_back%</action>
1018 <action function="page">clear_vars</action>
1019 </actions>
1020 </object>
1021
Dees_Troya3f81542012-10-08 10:58:53 -04001022 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001023 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001024 <condition var1="tw_show_reboot" var2="1" />
1025 <placement x="%col_center_x%" y="%slider_y%" />
1026 <font resource="font" color="%button_text_color%" />
1027 <text>Reboot System</text>
1028 <image resource="main_button" />
1029 <actions>
1030 <action function="set">tw_back=main2</action>
1031 <action function="set">tw_action=reboot</action>
1032 <action function="set">tw_action_param=system</action>
1033 <action function="set">tw_has_action2=0</action>
1034 <action function="set">tw_text1=No OS Installed! Are you</action>
1035 <action function="set">tw_text2=sure you wish to reboot?</action>
1036 <action function="set">tw_text3=</action>
1037 <action function="set">tw_text4=</action>
1038 <action function="set">tw_action_text1=Rebooting...</action>
1039 <action function="set">tw_action_text2=</action>
1040 <action function="set">tw_complete_text1=Rebooting...</action>
1041 <action function="set">tw_slider_text=Swipe to Reboot</action>
1042 <action function="page">rebootcheck</action>
1043 </actions>
1044 </object>
1045
Dees_Troy51a0e822012-09-05 15:24:24 -04001046 <object type="action">
1047 <touch key="home" />
1048 <actions>
1049 <action function="set">tw_clear_destination=main2</action>
1050 <action function="page">clear_vars</action>
1051 </actions>
1052 </object>
1053
1054 <object type="action">
1055 <touch key="back" />
1056 <actions>
1057 <action function="set">tw_clear_destination=%tw_back%</action>
1058 <action function="page">clear_vars</action>
1059 </actions>
1060 </object>
1061 </page>
1062
1063 <page name="filecheck">
1064 <object type="action">
1065 <action function="fileexists">%tw_filecheck%</action>
1066 </object>
1067
1068 <object type="action">
1069 <conditions>
1070 <condition var1="tw_operation_state" var2="1" />
1071 <condition var1="tw_operation_status" var2="0" />
1072 </conditions>
1073 <actions>
1074 <action function="set">tw_fileexists=1</action>
1075 <action function="page">%tw_existpage%</action>
1076 </actions>
1077 </object>
1078
1079 <object type="action">
1080 <conditions>
1081 <condition var1="tw_operation_state" var2="1" />
1082 <condition var1="tw_operation_status" var2="1" />
1083 </conditions>
1084 <actions>
1085 <action function="set">tw_fileexists=0</action>
1086 <action function="page">%tw_notexistpage%</action>
1087 </actions>
1088 </object>
1089 </page>
1090
1091 <page name="rebootcheck">
1092 <object type="action">
1093 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1094 <action function="reboot">%tw_action_param%</action>
1095 </object>
1096
1097 <object type="action">
1098 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1099 <action function="page">confirm_action</action>
1100 </object>
1101 </page>
1102
1103 <page name="reboot">
1104 <object type="template" name="header" />
1105
1106 <object type="text" color="%text_color%">
1107 <font resource="font" />
1108 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1109 <text>Reboot Menu</text>
1110 </object>
1111
1112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001114 <condition var1="tw_reboot_system" var2="1" />
1115 <placement x="%col1_x%" y="%row1_y%" />
1116 <font resource="font" color="%button_text_color%" />
1117 <text>System</text>
1118 <image resource="main_button" />
1119 <actions>
1120 <action function="set">tw_back=reboot</action>
1121 <action function="set">tw_action=reboot</action>
1122 <action function="set">tw_action_param=system</action>
1123 <action function="set">tw_has_action2=0</action>
1124 <action function="set">tw_text1=No OS Installed! Are you</action>
1125 <action function="set">tw_text2=sure you wish to reboot?</action>
1126 <action function="set">tw_action_text1=Rebooting...</action>
1127 <action function="set">tw_complete_text1=Rebooting...</action>
1128 <action function="set">tw_slider_text=Swipe to Reboot</action>
1129 <action function="page">rebootcheck</action>
1130 </actions>
1131 </object>
1132
1133 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001134 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001135 <condition var1="tw_reboot_poweroff" var2="1" />
1136 <placement x="%col2_x%" y="%row1_y%" />
1137 <font resource="font" color="%button_text_color%" />
1138 <text>Power Off</text>
1139 <image resource="main_button" />
1140 <actions>
1141 <action function="set">tw_back=reboot</action>
1142 <action function="set">tw_action=reboot</action>
1143 <action function="set">tw_action_param=poweroff</action>
1144 <action function="set">tw_has_action2=0</action>
1145 <action function="set">tw_text1=No OS Installed! Are you</action>
1146 <action function="set">tw_text2=sure you wish to power off?</action>
1147 <action function="set">tw_action_text1=Turning Off...</action>
1148 <action function="set">tw_complete_text1=Turning Off...</action>
1149 <action function="set">tw_slider_text=Swipe to Power Off</action>
1150 <action function="page">rebootcheck</action>
1151 </actions>
1152 </object>
1153
1154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001155 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 <condition var1="tw_reboot_recovery" var2="1" />
1157 <placement x="%col1_x%" y="%row2_y%" />
1158 <font resource="font" color="%button_text_color%" />
1159 <text>Recovery</text>
1160 <image resource="main_button" />
1161 <actions>
1162 <action function="set">tw_back=reboot</action>
1163 <action function="set">tw_action=reboot</action>
1164 <action function="set">tw_action_param=recovery</action>
1165 <action function="set">tw_has_action2=0</action>
1166 <action function="set">tw_text1=No OS Installed! Are you</action>
1167 <action function="set">tw_text2=sure you wish to reboot?</action>
1168 <action function="set">tw_action_text1=Rebooting...</action>
1169 <action function="set">tw_complete_text1=Rebooting...</action>
1170 <action function="set">tw_slider_text=Swipe to Reboot</action>
1171 <action function="page">rebootcheck</action>
1172 </actions>
1173 </object>
1174
1175 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001176 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001177 <condition var1="tw_reboot_bootloader" var2="1" />
1178 <placement x="%col2_x%" y="%row2_y%" />
1179 <font resource="font" color="%button_text_color%" />
1180 <text>Bootloader</text>
1181 <image resource="main_button" />
1182 <actions>
1183 <action function="set">tw_back=reboot</action>
1184 <action function="set">tw_action=reboot</action>
1185 <action function="set">tw_action_param=bootloader</action>
1186 <action function="set">tw_has_action2=0</action>
1187 <action function="set">tw_text1=No OS Installed! Are you</action>
1188 <action function="set">tw_text2=sure you wish to reboot?</action>
1189 <action function="set">tw_action_text1=Rebooting...</action>
1190 <action function="set">tw_complete_text1=Rebooting...</action>
1191 <action function="set">tw_slider_text=Swipe to Reboot</action>
1192 <action function="page">rebootcheck</action>
1193 </actions>
1194 </object>
1195
1196 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001197 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001198 <condition var1="tw_download_mode" var2="1" />
1199 <placement x="%col3_x%" y="%row2_y%" />
1200 <font resource="font" color="%button_text_color%" />
1201 <text>Download</text>
1202 <image resource="main_button" />
1203 <actions>
1204 <action function="set">tw_back=reboot</action>
1205 <action function="set">tw_action=reboot</action>
1206 <action function="set">tw_action_param=download</action>
1207 <action function="set">tw_has_action2=0</action>
1208 <action function="set">tw_text1=No OS Installed! Are you</action>
1209 <action function="set">tw_text2=sure you wish to reboot?</action>
1210 <action function="set">tw_action_text1=Rebooting...</action>
1211 <action function="set">tw_complete_text1=Rebooting...</action>
1212 <action function="set">tw_slider_text=Swipe to Reboot</action>
1213 <action function="page">rebootcheck</action>
1214 </actions>
1215 </object>
1216
1217 <object type="action">
1218 <touch key="home" />
1219 <action function="page">main</action>
1220 </object>
1221
1222 <object type="action">
1223 <touch key="back" />
1224 <action function="page">main</action>
1225 </object>
1226
1227 <object type="template" name="footer" />
1228 </page>
1229
Dees_Troya13d74f2013-03-24 08:54:55 -05001230 <page name="selectstorage">
1231 <object type="template" name="header" />
1232
1233 <object type="partitionlist">
1234 <highlight color="%fileselector_highlight_color%" />
1235 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1236 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1237 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1238 <text>Select Storage:</text>
1239 <icon selected="radio_true" unselected="radio_false" />
1240 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1241 <background color="%listbox_background%" />
1242 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1243 <data name="tw_storage_path" />
1244 <listtype name="storage" />
1245 </object>
1246
Dees_Troye7e0ae82013-07-05 14:46:07 +00001247 <object type="button">
1248 <highlight color="%highlight_color%" />
1249 <placement x="%filemanager_select_x%" y="%row2_y%" />
1250 <font resource="font" color="%button_text_color%" />
1251 <text>OK</text>
1252 <image resource="main_button" />
1253 <actions>
1254 <action function="set">tw_clear_destination=%tw_back%</action>
1255 <action function="page">clear_vars</action>
1256 </actions>
1257 </object>
1258
Dees_Troya13d74f2013-03-24 08:54:55 -05001259 <object type="action">
1260 <touch key="home" />
1261 <action function="page">main</action>
1262 </object>
1263
1264 <object type="action">
1265 <touch key="back" />
1266 <actions>
1267 <action function="page">%tw_back%</action>
1268 </actions>
1269 </object>
1270
1271 <object type="template" name="footer" />
1272 </page>
1273
Dees_Troy51a0e822012-09-05 15:24:24 -04001274 <page name="mount">
1275 <object type="template" name="header" />
1276
1277 <object type="text" color="%text_color%">
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1280 <text>Mount Menu</text>
1281 </object>
1282
Dees_Troya13d74f2013-03-24 08:54:55 -05001283 <object type="partitionlist">
1284 <highlight color="%fileselector_highlight_color%" />
1285 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1286 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1287 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1288 <text>Select Partitions to Mount:</text>
1289 <icon selected="checkbox_true" unselected="checkbox_false" />
1290 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1291 <background color="%listbox_background%" />
1292 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1293 <listtype name="mount" />
1294 </object>
1295
1296 <object type="button">
1297 <highlight color="%highlight_color%" />
1298 <conditions>
1299 <condition var1="tw_is_encrypted" var2="1" />
1300 <condition var1="tw_is_decrypted" var2="0" />
1301 </conditions>
1302 <placement x="%col3_x%" y="row1_y" />
1303 <font resource="font" color="%button_text_color%" />
1304 <text>Decrypt Data</text>
1305 <image resource="main_button" />
1306 <action function="page">decrypt</action>
1307 </object>
1308
Dees_Troy51a0e822012-09-05 15:24:24 -04001309 <object type="button">
1310 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001311 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001312 <font resource="font" color="%button_text_color%" />
1313 <text>Mount USB Storage</text>
1314 <image resource="main_button" />
1315 <action function="page">usb_mount</action>
1316 </object>
1317
1318 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001319 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001320 <fill color="%button_fill_color%" />
1321 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1322 <font resource="font" color="%button_text_color%" />
1323 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1324 <actions>
1325 <action function="set">tw_back=mount</action>
1326 <action function="page">selectstorage</action>
1327 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001328 </object>
1329
1330 <object type="action">
1331 <touch key="home" />
1332 <action function="page">main</action>
1333 </object>
1334
1335 <object type="action">
1336 <touch key="back" />
1337 <action function="page">main</action>
1338 </object>
1339
1340 <object type="template" name="footer" />
1341 </page>
1342
1343 <page name="usb_mount">
1344 <object type="template" name="header" />
1345
1346 <object type="text" color="%text_color%">
1347 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1348 <font resource="font" />
1349 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1350 </object>
1351
1352 <object type="text" color="%text_color%">
1353 <placement x="%col1_x%" y="%row2_text_y%" />
1354 <font resource="font" />
1355 <text></text>
1356 </object>
1357
1358 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001359 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001360 <placement x="%col_center_x%" y="%row1_y%" />
1361 <font resource="font" color="%button_text_color%" />
1362 <text>Unmount</text>
1363 <image resource="main_button" />
1364 <action function="page">usb_umount</action>
1365 </object>
1366
1367 <object type="action">
1368 <action function="mount">usb</action>
1369 </object>
1370
1371 <object type="template" name="footer" />
1372 </page>
1373
1374 <page name="usb_umount">
1375 <object type="action">
1376 <action function="unmount">usb</action>
1377 </object>
1378
1379 <object type="action">
1380 <action function="page">mount</action>
1381 </object>
1382
1383 <object type="template" name="footer" />
1384 </page>
1385
1386 <page name="wipe">
1387 <object type="template" name="header" />
1388
1389 <object type="text" color="%text_color%">
1390 <font resource="font" />
1391 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001392 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1393 </object>
1394
1395 <object type="text" color="%text_color%">
1396 <condition var1="tw_has_data_media" var2="0" />
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1399 <text>.android_secure</text>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <condition var1="tw_has_data_media" var2="1" />
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1406 <text>(not including internal storage)</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <condition var1="tw_has_sdext_partition" var2="1" />
1411 <font resource="font" />
1412 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1413 <text>SD-EXT</text>
1414 </object>
1415
1416 <object type="text" color="%text_color%">
1417 <font resource="font" />
1418 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1419 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 </object>
1421
1422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001423 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001424 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001425 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001426 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001428 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 </object>
1430
1431 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <conditions>
1433 <condition var1="tw_has_internal" var2="1" />
1434 <condition var1="tw_has_data_media" var2="1" />
1435 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001436 <highlight color="%highlight_color%" />
1437 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001438 <font resource="font" color="%button_text_color%" />
1439 <text>Format Data</text>
1440 <image resource="main_button" />
1441 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001442 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001443 </actions>
1444 </object>
1445
Dees_Troya13d74f2013-03-24 08:54:55 -05001446 <object type="text" color="%text_color%">
1447 <font resource="font" />
1448 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1449 <text>Press back button to cancel.</text>
1450 </object>
1451
1452 <object type="slider">
1453 <placement x="%slider_x%" y="%slider_y%" />
1454 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001455 <actions>
1456 <action function="set">tw_back=wipe</action>
1457 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001458 <action function="set">tw_action_param=data</action>
1459 <action function="set">tw_action_text1=Factory Reset...</action>
1460 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1461 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001462 </actions>
1463 </object>
1464
Dees_Troya13d74f2013-03-24 08:54:55 -05001465 <object type="text" color="%text_color%">
1466 <font resource="font" />
1467 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1468 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001469 </object>
1470
1471 <object type="action">
1472 <touch key="home" />
1473 <action function="page">main</action>
1474 </object>
1475
1476 <object type="action">
1477 <touch key="back" />
1478 <action function="page">main</action>
1479 </object>
1480
1481 <object type="template" name="footer" />
1482 </page>
1483
Dees_Troya13d74f2013-03-24 08:54:55 -05001484 <page name="advancedwipe">
1485 <object type="template" name="header" />
1486
1487 <object type="partitionlist">
1488 <highlight color="%fileselector_highlight_color%" />
1489 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1490 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1491 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1492 <text>Select Partitions to Wipe:</text>
1493 <icon selected="checkbox_true" unselected="checkbox_false" />
1494 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1495 <background color="%listbox_background%" />
1496 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1497 <data name="tw_wipe_list" />
1498 <listtype name="wipe" />
1499 </object>
1500
1501 <object type="slider">
1502 <placement x="%slider_x%" y="%slider_y%" />
1503 <resource base="slider" used="slider-used" touch="slider-touch" />
1504 <actions>
1505 <action function="set">tw_back=advancedwipe</action>
1506 <action function="set">tw_action=wipe</action>
1507 <action function="set">tw_action_param=LIST</action>
1508 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1509 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1510 <action function="set">tw_complete_text1=Wipe Complete</action>
1511 <action function="page">action_page</action>
1512 </actions>
1513 </object>
1514
1515 <object type="text" color="%text_color%">
1516 <font resource="font" />
1517 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1518 <text>Swipe to Wipe</text>
1519 </object>
1520
1521 <object type="action">
1522 <touch key="home" />
1523 <action function="page">main</action>
1524 </object>
1525
1526 <object type="action">
1527 <touch key="back" />
1528 <action function="page">wipe</action>
1529 </object>
1530
1531 <object type="template" name="footer" />
1532 </page>
1533
1534 <page name="formatdata">
1535 <object type="template" name="header" />
1536
1537 <object type="text" color="%text_color%">
1538 <font resource="font" />
1539 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1540 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1541 </object>
1542
1543 <object type="text" color="%text_color%">
1544 <font resource="font" />
1545 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1546 <text>videos, media, and removes encryption on internal storage.</text>
1547 </object>
1548
1549 <object type="text" color="%text_color%">
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1552 <text>This cannot be undone. Press back to cancel.</text>
1553 </object>
1554
1555 <object type="text" color="%text_color%">
1556 <font resource="font" />
1557 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1558 <text>Type yes to continue.</text>
1559 </object>
1560
1561 <object type="input">
1562 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1563 <background color="%input_background_color%" />
1564 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1565 <font resource="font" color="%text_color%" />
1566 <text>%tw_confirm_formatdata%</text>
1567 <data name="tw_confirm_formatdata" />
1568 <restrict minlen="3" maxlen="3" allow="yes" />
1569 <action function="page">formatdata_confirm</action>
1570 </object>
1571
1572 <object type="template" name="keyboardtemplate" />
1573
1574 <object type="action">
1575 <touch key="home" />
1576 <action function="page">main</action>
1577 </object>
1578
1579 <object type="action">
1580 <touch key="back" />
1581 <action function="page">wipe</action>
1582 </object>
1583
1584 <object type="template" name="footer" />
1585 </page>
1586
1587 <page name="formatdata_confirm">
1588 <object type="action">
1589 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1590 <actions>
1591 <action function="set">tw_back=formatdata</action>
1592 <action function="set">tw_action=wipe</action>
1593 <action function="set">tw_action_param=DATAMEDIA</action>
1594 <action function="set">tw_action_text1=Formatting Data...</action>
1595 <action function="set">tw_complete_text1=Data Format Complete</action>
1596 <action function="page">action_page</action>
1597 </actions>
1598 </object>
1599
1600 <object type="action">
1601 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1602 <action function="page">formatdata</function>
1603 </object>
1604 </page>
1605
Dees_Troy51a0e822012-09-05 15:24:24 -04001606 <page name="backup">
1607 <object type="template" name="header" />
1608
1609 <object type="text" color="%text_color%">
1610 <font resource="font" />
1611 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1612 <text>Back Up Device</text>
1613 </object>
1614
Dees_Troya13d74f2013-03-24 08:54:55 -05001615 <object type="partitionlist">
1616 <highlight color="%fileselector_highlight_color%" />
1617 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1618 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1619 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1620 <text>Select Partitions to Back Up:</text>
1621 <icon selected="checkbox_true" unselected="checkbox_false" />
1622 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1623 <background color="%listbox_background%" />
1624 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1625 <data name="tw_backup_list" />
1626 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001627 </object>
1628
1629 <object type="text" color="%text_color%">
1630 <font resource="font" />
1631 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1632 <text>Backup Name: %tw_backup_name%</text>
1633 </object>
1634
Dees_Troya13d74f2013-03-24 08:54:55 -05001635 <object type="button">
1636 <highlight color="%highlight_color%" />
1637 <placement x="%col3_x%" y="%row1_y%" />
1638 <font resource="font" color="%button_text_color%" />
1639 <text>Refresh Sizes</text>
1640 <image resource="main_button" />
1641 <action function="refreshsizes"></action>
1642 </object>
1643
1644 <object type="button">
1645 <highlight color="%highlight_color%" />
1646 <placement x="%col4_x%" y="%row1_y%" />
1647 <font resource="font" color="%button_text_color%" />
1648 <text>Set Backup Name</text>
1649 <image resource="main_button" />
1650 <actions>
1651 <action function="set">tw_fileexists=0</action>
1652 <action function="page">backupname1</action>
1653 </actions>
1654 </object>
1655
1656 <object type="button">
1657 <highlight color="%highlight_color%" />
1658 <fill color="%button_fill_color%" />
1659 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1660 <font resource="font" color="%button_text_color%" />
1661 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1662 <actions>
1663 <action function="set">tw_back=backup</action>
1664 <action function="page">selectstorage</action>
1665 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001666 </object>
1667
Dees_Troy83bd4832013-05-04 12:39:56 +00001668 <object type="button">
1669 <conditions>
1670 <condition var1="tw_include_encrypted_backup" var2="1" />
1671 <condition var1="tw_encrypt_backup" var2="0" />
1672 </conditions>
1673 <highlight color="%highlight_color%" />
1674 <fill color="%button_fill_color%" />
1675 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1676 <font resource="font" color="%button_text_color%" />
1677 <text>No Encryption</text>
1678 <actions>
1679 <action function="page">backupencryption</action>
1680 </actions>
1681 </object>
1682
1683 <object type="button">
1684 <conditions>
1685 <condition var1="tw_include_encrypted_backup" var2="1" />
1686 <condition var1="tw_encrypt_backup" var2="1" />
1687 </conditions>
1688 <highlight color="%highlight_color%" />
1689 <fill color="%button_fill_color%" />
1690 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1691 <font resource="font" color="%button_text_color%" />
1692 <text>Using Encryption</text>
1693 <actions>
1694 <action function="page">backupencryption</action>
1695 </actions>
1696 </object>
1697
Dees_Troy51a0e822012-09-05 15:24:24 -04001698 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001699 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001700 <font resource="font" color="%text_color%" />
1701 <text>Enable Compression (Requires more time)</text>
1702 <data variable="tw_use_compression" />
1703 <image checked="checkbox_true" unchecked="checkbox_false" />
1704 </object>
1705
1706 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001707 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001708 <font resource="font" color="%text_color%" />
1709 <text>Skip MD5 generation on backups</text>
1710 <data variable="tw_skip_md5_generate" />
1711 <image checked="checkbox_true" unchecked="checkbox_false" />
1712 </object>
1713
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <object type="slider">
1715 <placement x="%slider_x%" y="%slider_y%" />
1716 <resource base="slider" used="slider-used" touch="slider-touch" />
1717 <actions>
1718 <action function="set">tw_operation_state=0</action>
1719 <action function="page">backup_run</action>
1720 </actions>
1721 </object>
1722
1723 <object type="text" color="%text_color%">
1724 <font resource="font" />
1725 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1726 <text>Swipe to Back Up</text>
1727 </object>
1728
Dees_Troy51a0e822012-09-05 15:24:24 -04001729 <object type="action">
1730 <touch key="home" />
1731 <action function="page">main</action>
1732 </object>
1733
1734 <object type="action">
1735 <touch key="back" />
1736 <action function="page">main</action>
1737 </object>
1738
1739 <object type="template" name="footer" />
1740 </page>
1741
1742 <page name="backupname1">
1743 <object type="action">
1744 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1745 <action function="set">tw_backup_name=</function>
1746 </object>
1747
1748 <object type="action">
1749 <action function="page">backupname2</function>
1750 </object>
1751 </page>
1752
1753 <page name="backupname2">
1754 <object type="template" name="header" />
1755
1756 <object type="text" color="%text_color%">
1757 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1758 <font resource="font" />
1759 <text>Please Enter a Backup Name</text>
1760 </object>
1761
1762 <object type="input">
1763 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1764 <background color="%input_background_color%" />
1765 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1766 <font resource="font" color="%text_color%" />
1767 <text>%tw_backup_name%</text>
1768 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001769 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001770 <actions>
1771 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1772 <action function="set">tw_existpage=backupname2</action>
1773 <action function="set">tw_notexistpage=backup</action>
1774 <action function="page">filecheck</action>
1775 </actions>
1776 </object>
1777
1778 <object type="text" color="%text_fail_color%">
1779 <condition var1="tw_fileexists" var2="1" />
1780 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1781 <font resource="font" />
1782 <text>A backup with that name already exists!</text>
1783 </object>
1784
1785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001787 <placement x="%col_center_x%" y="%cancel_button_y%" />
1788 <font resource="font" color="%button_text_color%" />
1789 <text>Cancel / Clear</text>
1790 <image resource="main_button" />
1791 <actions>
1792 <action function="set">tw_backup_name=(Current Date)</action>
1793 <action function="page">backup</action>
1794 </actions>
1795 </object>
1796
1797 <object type="template" name="keyboardtemplate" />
1798
1799 <object type="action">
1800 <touch key="home" />
1801 <actions>
1802 <action function="set">tw_backup_name=(Current Date)</action>
1803 <action function="page">main</action>
1804 </actions>
1805 </object>
1806
1807 <object type="action">
1808 <touch key="back" />
1809 <actions>
1810 <action function="set">tw_backup_name=(Current Date)</action>
1811 <action function="page">backup</action>
1812 </actions>
1813 </object>
1814
1815 <object type="template" name="footer" />
1816 </page>
1817
Dees_Troy83bd4832013-05-04 12:39:56 +00001818 <page name="backupencryption">
1819 <object type="template" name="header" />
1820
1821 <object type="text" color="%text_color%">
1822 <font resource="font" />
1823 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1824 <text>Encrypt your backup? Please enter a password:</text>
1825 </object>
1826
1827 <object type="input">
1828 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1829 <background color="%input_background_color%" />
1830 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1831 <font resource="font" color="%text_color%" />
1832 <text>%tw_backup_encrypt_display%</text>
1833 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1834 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1835 <action function="page">backupencryption2</action>
1836 </object>
1837
1838 <object type="text" color="%text_fail_color%">
1839 <condition var1="tw_password_not_match" var2="1" />
1840 <font resource="font" />
1841 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1842 <text>Passwords Do Not Match</text>
1843 </object>
1844
1845 <object type="button">
1846 <highlight color="%highlight_color%" />
1847 <placement x="%col_center_x%" y="%cancel_button_y%" />
1848 <font resource="font" color="%button_text_color%" />
1849 <text>Cancel</text>
1850 <image resource="main_button" />
1851 <actions>
1852 <action function="set">tw_encrypt_backup=0</action>
1853 <action function="set">tw_backup_password=</action>
1854 <action function="set">tw_backup_password2=</action>
1855 <action function="set">tw_backup_encrypt_display=</action>
1856 <action function="set">tw_backup_encrypt_display2=</action>
1857 <action function="page">backup</action>
1858 </actions>
1859 </object>
1860
1861 <object type="template" name="keyboardtemplate" />
1862
1863 <object type="action">
1864 <touch key="home" />
1865 <action function="page">main</action>
1866 </object>
1867
1868 <object type="action">
1869 <touch key="back" />
1870 <action function="page">backup</action>
1871 </object>
1872
1873 <object type="template" name="footer" />
1874 </page>
1875
1876 <page name="backupencryption2">
1877 <object type="template" name="header" />
1878
1879 <object type="text" color="%text_color%">
1880 <font resource="font" />
1881 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1882 <text>Encrypt your backup? Please Enter Password Again:</text>
1883 </object>
1884
1885 <object type="input">
1886 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1887 <background color="%input_background_color%" />
1888 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1889 <font resource="font" color="%text_color%" />
1890 <text>%tw_backup_encrypt_display2%</text>
1891 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1892 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1893 <actions>
1894 <action function="page">checkbackuppassword</action>
1895 </actions>
1896 </object>
1897
1898 <object type="button">
1899 <highlight color="%highlight_color%" />
1900 <placement x="%col_center_x%" y="%cancel_button_y%" />
1901 <font resource="font" color="%button_text_color%" />
1902 <text>Cancel</text>
1903 <image resource="main_button" />
1904 <actions>
1905 <action function="set">tw_encrypt_backup=0</action>
1906 <action function="set">tw_backup_password=</action>
1907 <action function="set">tw_backup_password2=</action>
1908 <action function="set">tw_backup_encrypt_display=</action>
1909 <action function="set">tw_backup_encrypt_display2=</action>
1910 <action function="page">backup</action>
1911 </actions>
1912 </object>
1913
1914 <object type="template" name="keyboardtemplate" />
1915
1916 <object type="action">
1917 <touch key="home" />
1918 <action function="page">main</action>
1919 </object>
1920
1921 <object type="action">
1922 <touch key="back" />
1923 <action function="page">backup</action>
1924 </object>
1925
1926 <object type="template" name="footer" />
1927 </page>
1928
1929 <page name="checkbackuppassword">
1930 <object type="action">
1931 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1932 <actions>
1933 <action function="set">tw_encrypt_backup=1</action>
1934 <action function="page">backup</action>
1935 </actions>
1936 </object>
1937
1938 <object type="action">
1939 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1940 <actions>
1941 <action function="set">tw_encrypt_backup=0</action>
1942 <action function="set">tw_password_not_match=1</action>
1943 <action function="set">tw_backup_password=</action>
1944 <action function="set">tw_backup_password2=</action>
1945 <action function="set">tw_backup_encrypt_display=</action>
1946 <action function="set">tw_backup_encrypt_display2=</action>
1947 <action function="page">backupencryption</action>
1948 </actions>
1949 </object>
1950 </page>
1951
Dees_Troy51a0e822012-09-05 15:24:24 -04001952 <page name="backup_run">
1953 <object type="template" name="header" />
1954
1955 <object type="text" color="%text_color%">
1956 <font resource="font" />
1957 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1958 <text>%tw_operation% %tw_partition%</text>
1959 </object>
1960
1961 <object type="template" name="action_page_console" />
1962
1963 <object type="template" name="progress_bar" />
1964
1965 <object type="action">
1966 <action function="nandroid">backup</action>
1967 </object>
1968
1969 <object type="action">
1970 <condition var1="tw_operation_state" var2="1" />
1971 <actions>
1972 <action function="set">tw_back=backup</action>
1973 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001974 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001975 <action function="page">action_complete</action>
1976 </actions>
1977 </object>
1978
1979 <object type="template" name="footer" />
1980 </page>
1981
1982 <page name="restore">
1983 <object type="template" name="header" />
1984
1985 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001986 <highlight color="%highlight_color%" />
1987 <fill color="%button_fill_color%" />
1988 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1989 <font resource="font" color="%button_text_color%" />
1990 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1991 <actions>
1992 <action function="set">tw_back=restore</action>
1993 <action function="page">selectstorage</action>
1994 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001995 </object>
1996
1997 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001998 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001999 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2000 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002001 <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 -04002002 <text>Select Package to Restore:</text>
2003 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2004 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002005 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002006 <icon folder="folder_icon" file="file_icon" />
2007 <background color="%fileselector_background%" />
2008 <filter folders="1" files="0" nav="0" />
2009 <path name="tw_backups_folder" />
2010 <data name="tw_restore" default="" />
2011 <selection name="tw_restore_name" />
2012 </object>
2013
2014 <object type="template" name="sort_options" />
2015
2016 <object type="action">
2017 <condition var1="tw_restore" op="modified" />
2018 <actions>
2019 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002020 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002021 </actions>
2022 </object>
2023
2024 <object type="action">
2025 <touch key="home" />
2026 <action function="page">main</action>
2027 </object>
2028
2029 <object type="action">
2030 <touch key="back" />
2031 <action function="page">main</action>
2032 </object>
2033
2034 <object type="template" name="footer" />
2035 </page>
2036
Dees_Troy83bd4832013-05-04 12:39:56 +00002037 <page name="restore_read">
2038 <object type="action">
2039 <condition var1="tw_restore_encrypted" var2="1" />
2040 <actions>
2041 <action function="set">tw_password_fail=0</action>
2042 <action function="page">restore_decrypt</action>
2043 </actions>
2044 </object>
2045
2046 <object type="action">
2047 <condition var1="tw_restore_encrypted" var2="0" />
2048 <actions>
2049 <action function="page">restore_select</action>
2050 </actions>
2051 </object>
2052 </page>
2053
2054 <page name="restore_decrypt">
2055 <object type="template" name="header" />
2056
2057 <object type="text" color="%text_color%">
2058 <font resource="font" />
2059 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2060 <text>Backup encrypted. Please enter your password:</text>
2061 </object>
2062
2063 <object type="input">
2064 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2065 <background color="%input_background_color%" />
2066 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2067 <font resource="font" color="%text_color%" />
2068 <text>%tw_restore_display%</text>
2069 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2070 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2071 <actions>
2072 <action function="page">try_restore_decrypt</action>
2073 </actions>
2074 </object>
2075
2076 <object type="text" color="%text_fail_color%">
2077 <condition var1="tw_password_fail" var2="1" />
2078 <font resource="font" />
2079 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2080 <text>Password Failed, Please Try Again</text>
2081 </object>
2082
2083 <object type="button">
2084 <highlight color="%highlight_color%" />
2085 <placement x="%col2_x%" y="%cancel_button_y%" />
2086 <font resource="font" color="%button_text_color%" />
2087 <text>Cancel</text>
2088 <image resource="main_button" />
2089 <actions>
2090 <action function="set">tw_page_done=1</action>
2091 <action function="page">restore</action>
2092 </actions>
2093 </object>
2094
2095 <object type="button">
2096 <highlight color="%highlight_color%" />
2097 <placement x="%col3_x%" y="%cancel_button_y%" />
2098 <font resource="font" color="%button_text_color%" />
2099 <text>Delete</text>
2100 <image resource="main_button" />
2101 <actions>
2102 <action function="set">tw_back=restore</action>
2103 <action function="set">tw_action=cmd</action>
2104 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2105 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2106 <action function="set">tw_text2=This cannot be undone!</action>
2107 <action function="set">tw_action_text1=Deleting Backup...</action>
2108 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2109 <action function="set">tw_slider_text=Swipe to Delete</action>
2110 <action function="page">confirm_action</action>
2111 </actions>
2112 </object>
2113
2114 <object type="template" name="keyboardtemplate" />
2115
2116 <object type="action">
2117 <touch key="home" />
2118 <action function="page">main</action>
2119 </object>
2120
2121 <object type="action">
2122 <touch key="back" />
2123 <action function="page">restore</action>
2124 </object>
2125
2126 <object type="template" name="footer" />
2127 </page>
2128
2129 <page name="try_restore_decrypt">
2130 <object type="template" name="header" />
2131
2132 <object type="text" color="%text_color%">
2133 <font resource="font" />
2134 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2135 <text>Trying Decryption with Your Password</text>
2136 </object>
2137
2138 <object type="template" name="action_page_console" />
2139
2140 <object type="template" name="progress_bar" />
2141
2142 <object type="action">
2143 <action function="decrypt_backup"></action>
2144 </object>
2145
2146 <object type="action">
2147 <conditions>
2148 <condition var1="tw_operation_state" var2="1" />
2149 <condition var1="tw_operation_status" op="!=" var2="0" />
2150 </conditions>
2151 <actions>
2152 <action function="set">tw_password_fail=1</action>
2153 <action function="page">restore_decrypt</action>
2154 </actions>
2155 </object>
2156
2157 <object type="action">
2158 <conditions>
2159 <condition var1="tw_operation_state" var2="1" />
2160 <condition var1="tw_operation_status" op="=" var2="0" />
2161 </conditions>
2162 <actions>
2163 <action function="set">tw_page_done=1</action>
2164 <action function="page">restore_select</action>
2165 </actions>
2166 </object>
2167 </page>
2168
Dees_Troy51a0e822012-09-05 15:24:24 -04002169 <page name="restore_select">
2170 <object type="template" name="header" />
2171
2172 <object type="text" color="%text_color%">
2173 <font resource="font" />
2174 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2175 <text>Package to Restore: %tw_restore_name%</text>
2176 </object>
2177
2178 <object type="text" color="%text_color%">
2179 <font resource="font" />
2180 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2181 <text>Package Date: %tw_restore_file_date%</text>
2182 </object>
2183
Dees_Troya13d74f2013-03-24 08:54:55 -05002184 <object type="partitionlist">
2185 <highlight color="%fileselector_highlight_color%" />
2186 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2187 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2188 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2189 <text>Select Partitions to Restore:</text>
2190 <icon selected="checkbox_true" unselected="checkbox_false" />
2191 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2192 <background color="%listbox_background%" />
2193 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2194 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2195 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002196 </object>
2197
2198 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002199 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002200 <font resource="font" color="%text_color%" />
2201 <text>Enable MD5 checking of backup files</text>
2202 <data variable="tw_skip_md5_check" />
2203 <image checked="checkbox_true" unchecked="checkbox_false" />
2204 </object>
2205
2206 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002207 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002208 <placement x="%col4_x%" y="%row1_y%" />
2209 <font resource="font" color="%button_text_color%" />
2210 <text>Rename Backup</text>
2211 <image resource="main_button" />
2212 <actions>
2213 <action function="set">tw_backup_rename=</action>
2214 <action function="set">tw_fileexists=0</action>
2215 <action function="page">renamebackup</action>
2216 </actions>
2217 </object>
2218
2219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002220 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002221 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002222 <font resource="font" color="%button_text_color%" />
2223 <text>Delete Backup</text>
2224 <image resource="main_button" />
2225 <actions>
2226 <action function="set">tw_back=restore</action>
2227 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002228 <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 -04002229 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2230 <action function="set">tw_text2=This cannot be undone!</action>
2231 <action function="set">tw_action_text1=Deleting Backup...</action>
2232 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2233 <action function="set">tw_slider_text=Swipe to Delete</action>
2234 <action function="page">confirm_action</action>
2235 </actions>
2236 </object>
2237
2238 <object type="slider">
2239 <placement x="%slider_x%" y="%slider_y%" />
2240 <resource base="slider" used="slider-used" touch="slider-touch" />
2241 <action function="page">restore_run</action>
2242 </object>
2243
2244 <object type="text" color="%text_color%">
2245 <font resource="font" />
2246 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2247 <text>Swipe to Restore</text>
2248 </object>
2249
2250 <object type="action">
2251 <touch key="home" />
2252 <action function="page">main</action>
2253 </object>
2254
2255 <object type="action">
2256 <touch key="back" />
2257 <action function="page">restore</action>
2258 </object>
2259
2260 <object type="template" name="footer" />
2261 </page>
2262
2263 <page name="renamebackup">
2264 <object type="template" name="header" />
2265
2266 <object type="text" color="%text_color%">
2267 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2268 <font resource="font" />
2269 <text>Please Enter a New Backup Name</text>
2270 </object>
2271
2272 <object type="input">
2273 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2274 <background color="%input_background_color%" />
2275 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2276 <font resource="font" color="%text_color%" />
2277 <text>%tw_backup_rename%</text>
2278 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002279 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002280 <actions>
2281 <action function="set">tw_back=restore</action>
2282 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002283 <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 -04002284 <action function="set">tw_text1=Rename Backup?</action>
2285 <action function="set">tw_text2=This cannot be undone!</action>
2286 <action function="set">tw_action_text1=Renaming Backup...</action>
2287 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2288 <action function="set">tw_slider_text=Swipe to Rename</action>
2289 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2290 <action function="set">tw_existpage=renamebackup</action>
2291 <action function="set">tw_notexistpage=confirm_action</action>
2292 <action function="page">filecheck</action>
2293 </actions>
2294 </object>
2295
2296 <object type="text" color="%text_fail_color%">
2297 <condition var1="tw_fileexists" var2="1" />
2298 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2299 <font resource="font" />
2300 <text>A backup with that name already exists!</text>
2301 </object>
2302
2303 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002304 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002305 <placement x="%col_center_x%" y="%cancel_button_y%" />
2306 <font resource="font" color="%button_text_color%" />
2307 <text>Cancel</text>
2308 <image resource="main_button" />
2309 <action function="page">restore_select</action>
2310 </object>
2311
2312 <object type="template" name="keyboardtemplate" />
2313
2314 <object type="action">
2315 <touch key="home" />
2316 <action function="page">main</action>
2317 </object>
2318
2319 <object type="action">
2320 <touch key="back" />
2321 <action function="page">restore_select</action>
2322 </object>
2323
2324 <object type="template" name="footer" />
2325 </page>
2326
2327 <page name="restore_run">
2328 <object type="template" name="header" />
2329
2330 <object type="text" color="%text_color%">
2331 <font resource="font" />
2332 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2333 <text>%tw_operation% %tw_partition%</text>
2334 </object>
2335
2336 <object type="template" name="action_page_console" />
2337
2338 <object type="template" name="progress_bar" />
2339
2340 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002341 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002342 <actions>
2343 <action function="set">tw_back=restore_select</action>
2344 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002345 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002346 <action function="page">action_complete</action>
2347 </actions>
2348 </object>
2349
2350 <object type="action">
2351 <action function="nandroid">restore</action>
2352 </object>
2353 </page>
2354
2355 <page name="settings">
2356 <object type="template" name="header" />
2357
2358 <object type="text" color="%text_color%">
2359 <font resource="font" />
2360 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2361 <text>Settings</text>
2362 </object>
2363
2364 <object type="checkbox">
2365 <placement x="%col1_x%" y="%row2_text_y%" />
2366 <font resource="font" color="%text_color%" />
2367 <text>Zip file signature verification?</text>
2368 <data variable="tw_signed_zip_verify" />
2369 <image checked="checkbox_true" unchecked="checkbox_false" />
2370 </object>
2371
2372 <object type="checkbox">
2373 <placement x="%col1_x%" y="%row3_text_y%" />
2374 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <text>Use rm -rf instead of formatting?</text>
2376 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <font resource="font" color="%text_color%" />
2383 <text>Skip MD5 generation on backups</text>
2384 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <font resource="font" color="%text_color%" />
2391 <text>Enable MD5 checking of backup files</text>
2392 <data variable="tw_skip_md5_check" />
2393 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002399 <text>Use Military Time</text>
2400 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <image checked="checkbox_true" unchecked="checkbox_false" />
2402 </object>
2403
2404 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002405 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
2407 <text>Simulate most actions for theme testing</text>
2408 <data variable="tw_simulate_actions" />
2409 <image checked="checkbox_true" unchecked="checkbox_false" />
2410 </object>
2411
2412 <object type="checkbox">
2413 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002414 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <font resource="font" color="%text_color%" />
2416 <text>Simulate failure for actions</text>
2417 <data variable="tw_simulate_fail" />
2418 <image checked="checkbox_true" unchecked="checkbox_false" />
2419 </object>
2420
2421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <placement x="%col1_x%" y="%row2_y%" />
2424 <font resource="font" color="%button_text_color%" />
2425 <text>Time Zone</text>
2426 <image resource="main_button" />
2427 <action function="page">timezone</action>
2428 </object>
2429
2430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002431 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002432 <placement x="%col4_x%" y="%row2_y%" />
2433 <font resource="font" color="%button_text_color%" />
2434 <text>Screen</text>
2435 <image resource="main_button" />
2436 <action function="page">screen</action>
2437 </object>
2438
2439 <object type="button">
2440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <placement x="%col_center_x%" y="%slider_y%" />
2442 <font resource="font" color="%button_text_color%" />
2443 <text>Restore Defaults</text>
2444 <image resource="main_button" />
2445 <action function="restoredefaultsettings"></action>
2446 </object>
2447
2448 <object type="action">
2449 <touch key="home" />
2450 <action function="page">main</action>
2451 </object>
2452
2453 <object type="action">
2454 <touch key="back" />
2455 <action function="page">main</action>
2456 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002457
Dees_Troy51a0e822012-09-05 15:24:24 -04002458 <object type="template" name="footer" />
2459 </page>
2460
2461 <page name="timezone">
2462 <object type="template" name="header" />
2463
2464 <object type="text" color="%text_color%">
2465 <font resource="font" />
2466 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2467 <text>Select Time Zone</text>
2468 </object>
2469
2470 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002471 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002472 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002473 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002474 <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 -06002475 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002477 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002479 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002480 <data name="tw_time_zone_guisel" />
2481 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2482 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2483 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2484 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2485 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2486 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2487 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2488 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2489 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2490 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2491 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2492 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2493 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2494 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2495 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2496 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2497 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2498 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2499 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2500 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2501 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2502 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2503 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2504 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2505 </object>
2506
2507 <object type="checkbox">
2508 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2509 <font resource="font" color="%text_color%" />
2510 <text>Do you use daylight savings time (DST)?</text>
2511 <data variable="tw_time_zone_guidst" />
2512 <image checked="checkbox_true" unchecked="checkbox_false" />
2513 </object>
2514
2515 <object type="text" color="%text_color%">
2516 <font resource="font" />
2517 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2518 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2519 </object>
2520
2521 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002522 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002523 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2524 <font resource="font" color="%button_text_color%" />
2525 <text>0</text>
2526 <image resource="medium_button" />
2527 <action function="set">tw_time_zone_guioffset=0</action>
2528 </object>
2529
2530 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002531 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2533 <font resource="font" color="%button_text_color%" />
2534 <text>15</text>
2535 <image resource="medium_button" />
2536 <action function="set">tw_time_zone_guioffset=15</action>
2537 </object>
2538
2539 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002540 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002541 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2542 <font resource="font" color="%button_text_color%" />
2543 <text>30</text>
2544 <image resource="medium_button" />
2545 <action function="set">tw_time_zone_guioffset=30</action>
2546 </object>
2547
2548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text>45</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=45</action>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <placement x="%col4_x%" y="%row2_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text>Set Time Zone</text>
2562 <image resource="main_button" />
2563 <action function="setguitimezone"></action>
2564 </object>
2565
2566 <object type="text" color="%text_color%">
2567 <font resource="font" />
2568 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2569 <text>Current Time Zone: %tw_time_zone%</text>
2570 </object>
2571
2572 <object type="action">
2573 <touch key="home" />
2574 <action function="page">main</action>
2575 </object>
2576
2577 <object type="action">
2578 <touch key="back" />
2579 <action function="page">settings</action>
2580 </object>
2581
2582 <object type="template" name="footer" />
2583 </page>
2584
Dees_Troy2f9117a2013-02-17 19:52:09 -06002585 <page name="screen">
2586 <object type="template" name="header" />
2587
2588 <object type="text" color="%text_color%">
2589 <font resource="font" />
2590 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2591 <text>Screen Settings</text>
2592 </object>
2593
Dees_Troy2f9117a2013-02-17 19:52:09 -06002594 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002595 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2596 <font resource="font" color="%text_color%" />
2597 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2598 <text>Enable screen timeout.</text>
2599 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002600 <action function="set">tw_screen_timeout_secs=60</action>
2601 </object>
2602
2603 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002604 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2605 <font resource="font" color="%text_color%" />
2606 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2607 <text>Enable screen timeout.</text>
2608 <image resource="checkbox_true" />
2609 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002610 </object>
2611
Vojtech Bocek85932342013-04-01 22:11:33 +02002612 <object type="slidervalue">
2613 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2614 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2615 <font resource="font" color="%text_color%" />
2616 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2617 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2618 <text>Screen timeout in seconds:</text>
2619 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002620 </object>
2621
Vojtech Bocek85932342013-04-01 22:11:33 +02002622 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002623 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2625 <font resource="font" color="%text_color%" />
2626 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2627 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2628 <text>Brightness: %tw_brightness_pct%%</text>
2629 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002630 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002631 <action function="set">tw_brightness=%tw_brightness_max%</action>
2632 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2633 <action function="compute">tw_brightness/100</action>
2634 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002635 </actions>
2636 </object>
2637
2638 <object type="action">
2639 <touch key="home" />
2640 <action function="page">main</action>
2641 </object>
2642
2643 <object type="action">
2644 <touch key="back" />
2645 <action function="page">settings</action>
2646 </object>
2647
2648 <object type="template" name="footer" />
2649 </page>
2650
Dees_Troy51a0e822012-09-05 15:24:24 -04002651 <page name="advanced">
2652 <object type="template" name="header" />
2653
2654 <object type="text" color="%text_color%">
2655 <font resource="font" />
2656 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2657 <text>Advanced</text>
2658 </object>
2659
2660 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002661 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002662 <placement x="%col1_x%" y="%row1_y%" />
2663 <font resource="font" color="%button_text_color%" />
2664 <text>Copy Log to SD</text>
2665 <image resource="main_button" />
2666 <actions>
2667 <action function="set">tw_back=advanced</action>
2668 <action function="set">tw_action=copylog</action>
2669 <action function="set">tw_text1=Copy Log to SD Card?</action>
2670 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2671 <action function="set">tw_complete_text1=Log Copy Complete</action>
2672 <action function="set">tw_slider_text=Swipe to Confirm</action>
2673 <action function="page">confirm_action</action>
2674 </actions>
2675 </object>
2676
2677 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002678 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002679 <placement x="%col2_x%" y="%row1_y%" />
2680 <font resource="font" color="%button_text_color%" />
2681 <text>Fix Permissions</text>
2682 <image resource="main_button" />
2683 <actions>
2684 <action function="set">tw_back=advanced</action>
2685 <action function="set">tw_action=fixpermissions</action>
2686 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002687 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2689 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002690 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002691 <action function="page">confirm_action</action>
2692 </actions>
2693 </object>
2694
2695 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002696 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002697 <placement x="%col3_x%" y="%row1_y%" />
2698 <font resource="font" color="%button_text_color%" />
2699 <text>Terminal Command</text>
2700 <image resource="main_button" />
2701 <action function="page">terminalfolder</action>
2702 </object>
2703
2704 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002705 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002706 <placement x="%col4_x%" y="%row1_y%" />
2707 <font resource="font" color="%button_text_color%" />
2708 <text>ADB Sideload</text>
2709 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002710 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002711 </object>
2712
2713 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002714 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002715 <condition var1="tw_allow_partition_sdcard" var2="1" />
2716 <placement x="%col1_x%" y="%row2_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>Partition SD Card</text>
2719 <image resource="main_button" />
2720 <action function="page">partsdcard</action>
2721 </object>
2722
2723 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002724 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <placement x="%col2_x%" y="%row2_y%" />
2726 <font resource="font" color="%button_text_color%" />
2727 <text>File Manager</text>
2728 <image resource="main_button" />
2729 <action function="page">filemanagerlist</action>
2730 </object>
2731
2732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002733 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002734 <placement x="%col3_x%" y="%row2_y%" />
2735 <font resource="font" color="%button_text_color%" />
2736 <text>Reload Theme</text>
2737 <image resource="main_button" />
2738 <action function="reload"></action>
2739 </object>
2740
2741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <condition var1="tw_show_dumlock" var2="1" />
2744 <placement x="%col4_x%" y="%row2_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text>HTC Dumlock</text>
2747 <image resource="main_button" />
2748 <action function="page">htcdumlock</action>
2749 </object>
2750
2751 <object type="action">
2752 <touch key="home" />
2753 <action function="page">main</action>
2754 </object>
2755
2756 <object type="action">
2757 <touch key="back" />
2758 <action function="page">main</action>
2759 </object>
2760
2761 <object type="template" name="footer" />
2762 </page>
2763
2764 <page name="partsdcard">
2765 <object type="template" name="header" />
2766
2767 <object type="text" color="%text_color%">
2768 <font resource="font" />
2769 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2770 <text>Partition SD Card</text>
2771 </object>
2772
2773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2776 <font resource="font" color="%button_text_color%" />
2777 <text></text>
2778 <image resource="minus_button" />
2779 <action function="addsubtract">tw_sdext_size-128</action>
2780 </object>
2781
2782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text></text>
2787 <image resource="plus_button" />
2788 <action function="addsubtract">tw_sdext_size+128</action>
2789 </object>
2790
2791 <object type="text" color="%text_color%">
2792 <font resource="font" />
2793 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2794 <text>EXT Size: %tw_sdext_size%</text>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text></text>
2802 <image resource="minus_button" />
2803 <action function="addsubtract">tw_swap_size-32</action>
2804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002808 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text></text>
2811 <image resource="plus_button" />
2812 <action function="addsubtract">tw_swap_size+32</action>
2813 </object>
2814
2815 <object type="text" color="%text_color%">
2816 <font resource="font" />
2817 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2818 <text>Swap Size: %tw_swap_size%</text>
2819 </object>
2820
2821 <object type="text" color="%text_color%">
2822 <font resource="font" />
2823 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2824 <text>File system: %tw_sdpart_file_system%</text>
2825 </object>
2826
2827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002828 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002829 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>EXT3</text>
2832 <image resource="medium_button" />
2833 <action function="set">tw_sdpart_file_system=ext3</action>
2834 </object>
2835
2836 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002837 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002838 <condition var1="tw_sdext_disable_ext4" var2="0" />
2839 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>EXT4</text>
2842 <image resource="medium_button" />
2843 <action function="set">tw_sdpart_file_system=ext4</action>
2844 </object>
2845
2846 <object type="text" color="%text_color%">
2847 <font resource="font" />
2848 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2849 <text>You will lose all files on your SD card!</text>
2850 </object>
2851
2852 <object type="text" color="%text_color%">
2853 <font resource="font" />
2854 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2855 <text>This action cannot be undone!</text>
2856 </object>
2857
2858 <object type="slider">
2859 <placement x="%slider_x%" y="%slider_y%" />
2860 <resource base="slider" used="slider-used" touch="slider-touch" />
2861 <actions>
2862 <action function="set">tw_back=partsdcard</action>
2863 <action function="set">tw_action=partitionsd</action>
2864 <action function="set">tw_has_action2=1</action>
2865 <action function="set">tw_action2=set</action>
2866 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2867 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2868 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002869 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002870 <action function="page">action_page</action>
2871 </actions>
2872 </object>
2873
2874 <object type="text" color="%text_color%">
2875 <font resource="font" />
2876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2877 <text>Swipe to Confirm Partition</text>
2878 </object>
2879
2880 <object type="action">
2881 <touch key="home" />
2882 <action function="page">main</action>
2883 </object>
2884
2885 <object type="action">
2886 <touch key="back" />
2887 <action function="page">advanced</action>
2888 </object>
2889
2890 <object type="template" name="footer" />
2891 </page>
2892
2893
2894 <page name="htcdumlock">
2895 <object type="template" name="header" />
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2900 <text>HTC Dumlock</text>
2901 </object>
2902
2903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002904 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002905 <condition var1="tw_show_dumlock" var2="1" />
2906 <placement x="%col1_x%" y="%row1_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text>Restore Original Boot</text>
2909 <image resource="main_button" />
2910 <actions>
2911 <action function="set">tw_back=htcdumlock</action>
2912 <action function="set">tw_action=htcdumlockrestoreboot</action>
2913 <action function="set">tw_text1=Restore original boot image?</action>
2914 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2915 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2916 <action function="set">tw_slider_text=Swipe to Confirm</action>
2917 <action function="page">confirm_action</action>
2918 </actions>
2919 </object>
2920
2921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002922 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002923 <condition var1="tw_show_dumlock" var2="1" />
2924 <placement x="%col2_x%" y="%row1_y%" />
2925 <font resource="font" color="%button_text_color%" />
2926 <text>Reflash Recovery->Boot</text>
2927 <image resource="main_button" />
2928 <actions>
2929 <action function="set">tw_back=htcdumlock</action>
2930 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2931 <action function="set">tw_text1=Reflash recovery to boot?</action>
2932 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2933 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2934 <action function="set">tw_slider_text=Swipe to Confirm</action>
2935 <action function="page">confirm_action</action>
2936 </actions>
2937 </object>
2938
2939 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002940 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002941 <condition var1="tw_show_dumlock" var2="1" />
2942 <placement x="%col1_x%" y="%row2_y%" />
2943 <font resource="font" color="%button_text_color%" />
2944 <text>Install HTC Dumlock</text>
2945 <image resource="main_button" />
2946 <actions>
2947 <action function="set">tw_back=htcdumlock</action>
2948 <action function="set">tw_action=installhtcdumlock</action>
2949 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2950 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2951 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2952 <action function="set">tw_slider_text=Swipe to Confirm</action>
2953 <action function="page">confirm_action</action>
2954 </actions>
2955 </object>
2956
2957 <object type="action">
2958 <touch key="home" />
2959 <action function="page">main</action>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="back" />
2964 <action function="page">advanced</action>
2965 </object>
2966
2967 <object type="template" name="footer" />
2968 </page>
2969
2970 <page name="lock">
2971 <background color="#000000A0" />
2972
2973 <object type="image">
2974 <image resource="unlock-icon" />
2975 <placement x="%lock_x%" y="%lock_y%" />
2976 </object>
2977
2978 <object type="slider">
2979 <placement x="%slider_x%" y="%slider_y%" />
2980 <resource base="slider" used="slider-used" touch="slider-touch" />
2981 <action function="overlay"></action>
2982 </object>
2983
2984 <object type="text" color="%text_color%">
2985 <font resource="font" />
2986 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2987 <text>Swipe to Unlock</text>
2988 </object>
2989 </page>
2990
2991
2992 <page name="filemanagerlist">
2993 <object type="template" name="header" />
2994
2995 <object type="text" color="%text_color%">
2996 <font resource="font" />
2997 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2998 <text>File Manager: Select a File or Folder</text>
2999 </object>
3000
3001 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003002 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003003 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3004 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003005 <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 -04003006 <text>Folders:</text>
3007 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3008 <sort name="tw_gui_sort_order" />
3009 <icon folder="folder_icon" file="file_icon" />
3010 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003011 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003012 <filter folders="1" files="0" />
3013 <path name="tw_file_location1" default="/sdcard" />
3014 <data name="select" />
3015 <selection name="tw_selection1" />
3016 </object>
3017
3018 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003019 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003020 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3021 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003022 <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 -04003023 <text>%tw_file_location1%</text>
3024 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3025 <sort name="tw_gui_sort_order" />
3026 <icon folder="folder_icon" file="file_icon" />
3027 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003028 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003029 <filter folders="0" files="1" />
3030 <path name="tw_file_location1" default="/" />
3031 <data name="tw_filename1" />
3032 <selection name="tw_selection1" />
3033 </object>
3034
3035 <object type="template" name="sort_options" />
3036
3037 <object type="action">
3038 <actions>
3039 <action function="set">tw_fm_type=File</action>
3040 <action function="set">tw_fm_isfolder=0</action>
3041 </actions>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="home" />
3046 <action function="page">main</action>
3047 </object>
3048
3049 <object type="action">
3050 <touch key="back" />
3051 <action function="page">advanced</action>
3052 </object>
3053
3054 <object type="action">
3055 <condition var1="tw_filename1" op="modified" />
3056 <actions>
3057 <action function="page">filemanageroptions</action>
3058 </actions>
3059 </object>
3060
3061 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003062 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003063 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3064 <font resource="font" color="%button_text_color%" />
3065 <text>Select Folder</text>
3066 <image resource="main_button" />
3067 <actions>
3068 <action function="set">tw_filename1=tw_file_location1</action>
3069 <action function="set">tw_fm_isfolder=1</action>
3070 <action function="set">tw_fm_type=Folder</action>
3071 <action function="page">filemanageroptions</action>
3072 </actions>
3073 </object>
3074
3075 <object type="template" name="footer" />
3076 </page>
3077
3078 <page name="filemanageroptions">
3079 <object type="template" name="header" />
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3084 <text>%tw_fm_type% Selected:</text>
3085 </object>
3086
3087 <object type="text" color="%text_color%">
3088 <font resource="font" />
3089 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3090 <text>%tw_filename1%</text>
3091 </object>
3092
3093 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003094 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <condition var1="tw_fm_isfolder" var2="0" />
3096 <placement x="%col1_x%" y="%row2_y%" />
3097 <font resource="font" color="%button_text_color%" />
3098 <text>Copy File</text>
3099 <image resource="main_button" />
3100 <actions>
3101 <action function="set">tw_filemanager_command=cp</action>
3102 <action function="set">tw_fm_text1=Copying</action>
3103 <action function="page">choosedestinationfolder</action>
3104 </actions>
3105 </object>
3106
3107 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003108 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003109 <condition var1="tw_fm_isfolder" var2="1" />
3110 <placement x="%col1_x%" y="%row2_y%" />
3111 <font resource="font" color="%button_text_color%" />
3112 <text>Copy Folder</text>
3113 <image resource="main_button" />
3114 <actions>
3115 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3116 <action function="set">tw_fm_text1=Copying</action>
3117 <action function="page">choosedestinationfolder</action>
3118 </actions>
3119 </object>
3120
3121 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003122 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003123 <placement x="%col2_x%" y="%row2_y%" />
3124 <font resource="font" color="%button_text_color%" />
3125 <text>Move</text>
3126 <image resource="main_button" />
3127 <actions>
3128 <action function="set">tw_filemanager_command=mv</action>
3129 <action function="set">tw_fm_text1=Moving</action>
3130 <action function="page">choosedestinationfolder</action>
3131 </actions>
3132 </object>
3133
3134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003136 <placement x="%col3_x%" y="%row2_y%" />
3137 <font resource="font" color="%button_text_color%" />
3138 <text>chmod 755</text>
3139 <image resource="main_button" />
3140 <actions>
3141 <action function="set">tw_filemanager_command=chmod 755</action>
3142 <action function="set">tw_fm_text1=chmod 755</action>
3143 <action function="set">tw_fm_text2=</action>
3144 <action function="set">tw_fm_text3=</action>
3145 <action function="set">tw_include_text3=0</action>
3146 <action function="set">tw_back=filemanageroptions</action>
3147 <action function="page">filemanagerconfirm</action>
3148 </actions>
3149 </object>
3150
3151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003153 <placement x="%col4_x%" y="%row2_y%" />
3154 <font resource="font" color="%button_text_color%" />
3155 <text>chmod</text>
3156 <image resource="main_button" />
3157 <actions>
3158 <action function="set">tw_filemanager_rename=0000</action>
3159 <action function="set">tw_fm_text2=</action>
3160 <action function="set">tw_fm_text3=</action>
3161 <action function="set">tw_include_text3=0</action>
3162 <action function="set">tw_back=filemanageroptions</action>
3163 <action function="page">filemanagerchmod</action>
3164 </actions>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003169 <placement x="%col1_x%" y="%row1_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>Delete</text>
3172 <image resource="main_button" />
3173 <actions>
3174 <action function="set">tw_filemanager_command=rm -rf</action>
3175 <action function="set">tw_fm_text1=Deleting</action>
3176 <action function="set">tw_fm_text2=</action>
3177 <action function="set">tw_fm_text3=</action>
3178 <action function="set">tw_include_text3=0</action>
3179 <action function="set">tw_back=filemanageroptions</action>
3180 <action function="page">filemanagerconfirm</action>
3181 </actions>
3182 </object>
3183
3184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003186 <condition var1="tw_fm_isfolder" var2="0" />
3187 <placement x="%col4_x%" y="%row1_y%" />
3188 <font resource="font" color="%button_text_color%" />
3189 <text>Rename File</text>
3190 <image resource="main_button" />
3191 <actions>
3192 <action function="set">tw_filemanager_rename=tw_selection1</action>
3193 <action function="set">tw_fm_text1=Renaming</action>
3194 <action function="set">tw_filemanager_command=mv</action>
3195 <action function="page">filemanagerrenamefile</action>
3196 </actions>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <condition var1="tw_fm_isfolder" var2="1" />
3202 <placement x="%col4_x%" y="%row1_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Rename Folder</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_rename=tw_selection1</action>
3208 <action function="set">tw_fm_text1=Renaming</action>
3209 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3210 <action function="page">filemanagerrenamefolder</action>
3211 </actions>
3212 </object>
3213
3214 <object type="action">
3215 <touch key="home" />
3216 <action function="page">main</action>
3217 </object>
3218
3219 <object type="action">
3220 <touch key="back" />
3221 <action function="page">filemanagerlist</action>
3222 </object>
3223
3224 <object type="template" name="footer" />
3225 </page>
3226
3227 <page name="choosedestinationfolder">
3228 <object type="template" name="header" />
3229
3230 <object type="text" color="%text_color%">
3231 <font resource="font" />
3232 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3233 <text>Browse to Destination Folder & Press Select</text>
3234 </object>
3235
3236 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003237 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003238 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3239 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003240 <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 -04003241 <text>%tw_file_location2%</text>
3242 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3243 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003244 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <icon folder="folder_icon" file="file_icon" />
3246 <background color="%fileselector_background%" />
3247 <filter folders="1" files="0" />
3248 <path name="tw_file_location2" default="/sdcard" />
3249 <data name="tw_filename2" />
3250 </object>
3251
3252 <object type="template" name="sort_options" />
3253
3254 <object type="action">
3255 <touch key="home" />
3256 <action function="page">main</action>
3257 </object>
3258
3259 <object type="action">
3260 <touch key="back" />
3261 <action function="page">filemanageroptions</action>
3262 </object>
3263
3264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003266 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>Select Folder</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_fm_text2=to</action>
3272 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3273 <action function="set">tw_include_text3=1</action>
3274 <action function="set">tw_back=filemanageroptions</action>
3275 <action function="page">filemanagerconfirm</action>
3276 </actions>
3277 </object>
3278
3279 <object type="template" name="footer" />
3280 </page>
3281
3282 <page name="filemanagerrenamefile">
3283 <object type="template" name="header" />
3284
3285 <object type="text" color="%text_color%">
3286 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3287 <font resource="font" />
3288 <text>Please Enter a New %tw_fm_type% Name</text>
3289 </object>
3290
3291 <object type="input">
3292 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3293 <background color="%input_background_color%" />
3294 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3295 <font resource="font" color="%text_color%" />
3296 <text>%tw_filemanager_rename%</text>
3297 <data name="tw_filemanager_rename" />
3298 <restrict minlen="1" maxlen="128" />
3299 <actions>
3300 <action function="set">tw_fm_text2=to</action>
3301 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3302 <action function="set">tw_include_text3=1</action>
3303 <action function="set">tw_back=filemanageroptions</action>
3304 <action function="page">filemanagerconfirm</action>
3305 </actions>
3306 </object>
3307
3308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003310 <placement x="%col_center_x%" y="%cancel_button_y%" />
3311 <font resource="font" color="%button_text_color%" />
3312 <text>Cancel</text>
3313 <image resource="main_button" />
3314 <action function="page">filemanageroptions</action>
3315 </object>
3316
3317 <object type="template" name="keyboardtemplate" />
3318
3319 <object type="action">
3320 <touch key="home" />
3321 <action function="page">main</action>
3322 </object>
3323
3324 <object type="action">
3325 <touch key="back" />
3326 <action function="page">filemanageroptions</action>
3327 </object>
3328
3329 <object type="template" name="footer" />
3330 </page>
3331
3332 <page name="filemanagerrenamefolder">
3333 <object type="template" name="header" />
3334
3335 <object type="text" color="%text_color%">
3336 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3337 <font resource="font" />
3338 <text>Please Enter a New %tw_fm_type% Name</text>
3339 </object>
3340
3341 <object type="input">
3342 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3343 <background color="%input_background_color%" />
3344 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3345 <font resource="font" color="%text_color%" />
3346 <text>%tw_filemanager_rename%</text>
3347 <data name="tw_filemanager_rename" />
3348 <restrict minlen="1" maxlen="128" />
3349 <actions>
3350 <action function="set">tw_fm_text2=to</action>
3351 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3352 <action function="set">tw_include_text3=1</action>
3353 <action function="set">tw_back=filemanageroptions</action>
3354 <action function="page">filemanagerconfirm</action>
3355 </actions>
3356 </object>
3357
3358 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003359 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003360 <placement x="%col_center_x%" y="%cancel_button_y%" />
3361 <font resource="font" color="%button_text_color%" />
3362 <text>Cancel</text>
3363 <image resource="main_button" />
3364 <action function="page">filemanageroptions</action>
3365 </object>
3366
3367 <object type="template" name="keyboardtemplate" />
3368
3369 <object type="action">
3370 <touch key="home" />
3371 <action function="page">main</action>
3372 </object>
3373
3374 <object type="action">
3375 <touch key="back" />
3376 <action function="page">filemanageroptions</action>
3377 </object>
3378
3379 <object type="template" name="footer" />
3380 </page>
3381
3382 <page name="filemanagerchmod">
3383 <object type="template" name="header" />
3384
3385 <object type="text" color="%text_color%">
3386 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3387 <font resource="font" />
3388 <text>Please Enter New Permissions</text>
3389 </object>
3390
3391 <object type="input">
3392 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3393 <background color="%input_background_color%" />
3394 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3395 <font resource="font" color="%text_color%" />
3396 <text>%tw_filemanager_rename%</text>
3397 <data name="tw_filemanager_rename" />
3398 <restrict minlen="3" maxlen="4" allow="0123456789" />
3399 <actions>
3400 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3401 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3402 <action function="set">tw_back=filemanageroptions</action>
3403 <action function="page">filemanagerconfirm</action>
3404 </actions>
3405 </object>
3406
3407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003409 <placement x="%col_center_x%" y="%cancel_button_y%" />
3410 <font resource="font" color="%button_text_color%" />
3411 <text>Cancel</text>
3412 <image resource="main_button" />
3413 <action function="page">filemanageroptions</action>
3414 </object>
3415
3416 <object type="template" name="keyboardtemplate" />
3417
3418 <object type="action">
3419 <touch key="home" />
3420 <action function="page">main</action>
3421 </object>
3422
3423 <object type="action">
3424 <touch key="back" />
3425 <action function="page">filemanageroptions</action>
3426 </object>
3427
3428 <object type="template" name="footer" />
3429 </page>
3430
3431 <page name="filemanagerconfirm">
3432 <object type="template" name="header" />
3433
3434 <object type="text" color="%text_color%">
3435 <font resource="font" />
3436 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3437 <text>%tw_fm_text1%</text>
3438 </object>
3439
3440 <object type="text" color="%text_color%">
3441 <font resource="font" />
3442 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3443 <text>%tw_filename1%</text>
3444 </object>
3445
3446 <object type="text" color="%text_color%">
3447 <font resource="font" />
3448 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3449 <text>%tw_fm_text2%</text>
3450 </object>
3451
3452 <object type="text" color="%text_color%">
3453 <font resource="font" />
3454 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3455 <text>%tw_fm_text3%</text>
3456 </object>
3457
3458 <object type="text" color="%text_color%">
3459 <font resource="font" />
3460 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3461 <text>Press back button to cancel.</text>
3462 </object>
3463
3464 <object type="slider">
3465 <placement x="%slider_x%" y="%slider_y%" />
3466 <resource base="slider" used="slider-used" touch="slider-touch" />
3467 <action function="page">filemanageracction</action>
3468 </object>
3469
3470 <object type="text" color="%text_color%">
3471 <font resource="font" />
3472 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3473 <text>Swipe to Confirm</text>
3474 </object>
3475
3476 <object type="action">
3477 <touch key="back" />
3478 <action function="page">%tw_back%</action>
3479 </object>
3480
3481 <object type="action">
3482 <touch key="home" />
3483 <action function="page">main</action>
3484 </object>
3485
3486 <object type="template" name="footer" />
3487 </page>
3488
3489 <page name="filemanageracction">
3490 <object type="template" name="header" />
3491
3492 <object type="text" color="%text_color%">
3493 <font resource="font" />
3494 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3495 <text>%tw_fm_text1%</text>
3496 </object>
3497
3498 <object type="template" name="action_page_console" />
3499
3500 <object type="template" name="progress_bar" />
3501
3502 <object type="action">
3503 <conditions>
3504 <condition var1="tw_operation_state" var2="1" />
3505 <condition var1="tw_operation_status" var2="0" />
3506 </conditions>
3507 <actions>
3508 <action function="set">tw_back=filemanagerlist</action>
3509 <action function="set">tw_complete_text1=File Operation Complete</action>
3510 <action function="page">action_complete</action>
3511 </actions>
3512 </object>
3513
3514 <object type="action">
3515 <conditions>
3516 <condition var1="tw_operation_state" var2="1" />
3517 <condition var1="tw_operation_status" op="!=" var2="0" />
3518 </conditions>
3519 <actions>
3520 <action function="set">tw_complete_text1=File Operation Complete</action>
3521 <action function="page">action_complete</action>
3522 </actions>
3523 </object>
3524
3525 <object type="action">
3526 <condition var1="tw_include_text3" var2="0" />
3527 <actions>
3528 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3529 </actions>
3530 </object>
3531
3532 <object type="action">
3533 <condition var1="tw_include_text3" var2="1" />
3534 <actions>
3535 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3536 </actions>
3537 </object>
3538 </page>
3539
3540 <page name="decrypt">
3541 <object type="template" name="header" />
3542
3543 <object type="text" color="%text_color%">
3544 <font resource="font" />
3545 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3546 <text>Please Enter Your Password</text>
3547 </object>
3548
3549 <object type="input">
3550 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3551 <background color="%input_background_color%" />
3552 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3553 <font resource="font" color="%text_color%" />
3554 <text>%tw_crypto_display%</text>
3555 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3556 <restrict minlen="1" maxlen="254" />
3557 <actions>
3558 <action function="page">trydecrypt</action>
3559 </actions>
3560 </object>
3561
3562 <object type="text" color="%text_fail_color%">
3563 <condition var1="tw_password_fail" var2="1" />
3564 <font resource="font" />
3565 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3566 <text>Password Failed, Please Try Again</text>
3567 </object>
3568
3569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003571 <placement x="%col_center_x%" y="%cancel_button_y%" />
3572 <font resource="font" color="%button_text_color%" />
3573 <text>Cancel</text>
3574 <image resource="main_button" />
3575 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003576 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003577 <action function="page">main</action>
3578 </actions>
3579 </object>
3580
3581 <object type="template" name="keyboardtemplate" />
3582
Dees_Troy51a0e822012-09-05 15:24:24 -04003583 <object type="template" name="footer" />
3584 </page>
3585
3586 <page name="trydecrypt">
3587 <object type="template" name="header" />
3588
3589 <object type="text" color="%text_color%">
3590 <font resource="font" />
3591 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3592 <text>Trying Decryption with Your Password</text>
3593 </object>
3594
3595 <object type="template" name="action_page_console" />
3596
3597 <object type="template" name="progress_bar" />
3598
3599 <object type="action">
3600 <action function="decrypt"></action>
3601 </object>
3602
3603 <object type="action">
3604 <conditions>
3605 <condition var1="tw_operation_state" var2="1" />
3606 <condition var1="tw_operation_status" op="!=" var2="0" />
3607 </conditions>
3608 <actions>
3609 <action function="set">tw_password_fail=1</action>
3610 <action function="page">decrypt</action>
3611 </actions>
3612 </object>
3613
3614 <object type="action">
3615 <conditions>
3616 <condition var1="tw_operation_state" var2="1" />
3617 <condition var1="tw_operation_status" op="=" var2="0" />
3618 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003619 <actions>
3620 <action function="set">tw_page_done=1</action>
3621 <action function="page">main</action>
3622 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003623 </object>
3624 </page>
3625
3626 <page name="terminalfolder">
3627 <object type="template" name="header" />
3628
3629 <object type="text" color="%text_color%">
3630 <font resource="font" />
3631 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3632 <text>Browse to Starting Folder</text>
3633 </object>
3634
3635 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003636 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003637 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3638 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003639 <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 -04003640 <text>%tw_terminal_location%</text>
3641 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3642 <sort name="tw_gui_sort_order" />
3643 <icon folder="folder_icon" file="file_icon" />
3644 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003645 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003646 <filter folders="1" files="0" />
3647 <path name="tw_terminal_location" default="/" />
3648 <data name="tw_terminal" />
3649 <selection name="tw_terminal_selection" />
3650 </object>
3651
3652 <object type="template" name="sort_options" />
3653
3654 <object type="action">
3655 <touch key="home" />
3656 <action function="page">main</action>
3657 </object>
3658
3659 <object type="action">
3660 <touch key="back" />
3661 <action function="page">advanced</action>
3662 </object>
3663
3664 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003665 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003666 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3667 <font resource="font" color="%button_text_color%" />
3668 <text>Select Folder</text>
3669 <image resource="main_button" />
3670 <actions>
3671 <action function="page">terminalcommand</action>
3672 </actions>
3673 </object>
3674
3675 <object type="template" name="footer" />
3676 </page>
3677
3678 <page name="terminalcommand">
3679 <background color="#000000FF" />
3680
3681 <object type="console">
3682 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3683 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3684 <font resource="fixed" />
3685 </object>
3686
3687 <object type="text" color="%text_color%">
3688 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3689 <font resource="font" />
3690 <text>Starting Path: %tw_terminal_location%</text>
3691 </object>
3692
3693 <object type="input">
3694 <condition var1="tw_terminal_state" var2="0" />
3695 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3696 <background color="%input_background_color%" />
3697 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3698 <font resource="font" color="%text_color%" />
3699 <text>%tw_terminal_command%</text>
3700 <data name="tw_terminal_command" />
3701 <restrict minlen="1" />
3702 <action function="terminalcommand">%tw_terminal_command%</action>
3703 </object>
3704
3705 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003706 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003707 <condition var1="tw_terminal_state" var2="1" />
3708 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3709 <font resource="font" color="%button_text_color%" />
3710 <text>KILL</text>
3711 <image resource="medium_button" />
3712 <action function="killterminal"></action>
3713 </object>
3714
3715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003717 <placement x="%home_button_x%" y="%terminal_button_y%" />
3718 <font resource="font" color="%button_text_color%" />
3719 <text></text>
3720 <image resource="home_icon" />
3721 <condition var1="tw_busy" var2="0" />
3722 <action function="key">home</action>
3723 </object>
3724
3725 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003726 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003727 <placement x="%back_button_x%" y="%terminal_button_y%" />
3728 <font resource="font" color="%button_text_color%" />
3729 <text></text>
3730 <image resource="back_icon" />
3731 <condition var1="tw_busy" var2="0" />
3732 <action function="key">back</action>
3733 </object>
3734
3735 <object type="action">
3736 <touch key="power" />
3737 <action function="overlay">lock</action>
3738 </object>
3739
3740 <object type="template" name="keyboardtemplate" />
3741
3742 <object type="action">
3743 <touch key="home" />
3744 <action function="page">main</action>
3745 </object>
3746
3747 <object type="action">
3748 <touch key="back" />
3749 <action function="page">terminalfolder</action>
3750 </object>
3751 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003752
3753 <page name="sideload">
3754 <object type="template" name="header" />
3755
3756 <object type="text" color="%text_color%">
3757 <font resource="font" />
3758 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3759 <text>ADB Sideload</text>
3760 </object>
3761
3762 <object type="checkbox">
3763 <placement x="%col1_x%" y="%row3_text_y%" />
3764 <font resource="font" color="%text_color%" />
3765 <text>Wipe Dalvik Cache.</text>
3766 <data variable="tw_wipe_dalvik" />
3767 <image checked="checkbox_true" unchecked="checkbox_false" />
3768 </object>
3769
3770 <object type="checkbox">
3771 <placement x="%col1_x%" y="%row4_text_y%" />
3772 <font resource="font" color="%text_color%" />
3773 <text>Wipe Cache.</text>
3774 <data variable="tw_wipe_cache" />
3775 <image checked="checkbox_true" unchecked="checkbox_false" />
3776 </object>
3777
3778 <object type="slider">
3779 <placement x="%slider_x%" y="%slider_y%" />
3780 <resource base="slider" used="slider-used" touch="slider-touch" />
3781 <actions>
3782 <action function="set">tw_back=advanced</action>
3783 <action function="set">tw_action=adbsideload</action>
3784 <action function="set">tw_action_text1=ADB Sideload</action>
3785 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3786 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3787 <action function="set">tw_has_cancel=1</action>
3788 <action function="set">tw_show_reboot=1</action>
3789 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3790 <action function="page">action_page</action>
3791 </actions>
3792 </object>
3793
3794 <object type="text" color="%text_color%">
3795 <font resource="font" />
3796 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3797 <text>Swipe to Start Sideload</text>
3798 </object>
3799
3800 <object type="action">
3801 <touch key="home" />
3802 <action function="page">main</action>
3803 </object>
3804
3805 <object type="action">
3806 <touch key="back" />
3807 <action function="page">advanced</action>
3808 </object>
3809
3810 <object type="template" name="footer" />
3811 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003812
3813 <page name="installsu">
3814 <object type="template" name="header" />
3815
3816 <object type="text" color="%text_color%">
3817 <font resource="font" />
3818 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3819 <text>Install SuperSU?</text>
3820 </object>
3821
3822 <object type="text" color="%text_color%">
3823 <font resource="font" />
3824 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3825 <text>Your device does not appear to be rooted.</text>
3826 </object>
3827
3828 <object type="text" color="%text_color%">
3829 <font resource="font" />
3830 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3831 <text>Install SuperSU now? This will root your device.</text>
3832 </object>
3833
3834 <object type="button">
3835 <highlight color="%highlight_color%" />
3836 <placement x="%col_center_x%" y="%row2_medium_y%" />
3837 <font resource="font" color="%button_text_color%" />
3838 <text>Do Not Install</text>
3839 <image resource="main_button" />
3840 <action function="set">tw_page_done=1</action>
3841 </object>
3842
3843 <object type="slider">
3844 <placement x="%slider_x%" y="%slider_y%" />
3845 <resource base="slider" used="slider-used" touch="slider-touch" />
3846 <actions>
3847 <action function="set">tw_action=installsu</action>
3848 <action function="set">tw_action_text1=Installing SuperSU</action>
3849 <action function="set">tw_action_text2=</action>
3850 <action function="page">singleaction_page</action>
3851 </actions>
3852 </object>
3853
3854 <object type="text" color="%text_color%">
3855 <font resource="font" />
3856 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3857 <text>Swipe to Install</text>
3858 </object>
3859 </page>
3860
3861 <page name="fixsu">
3862 <object type="template" name="header" />
3863
3864 <object type="text" color="%text_color%">
3865 <font resource="font" />
3866 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3867 <text>Fix Superuser Permissions?</text>
3868 </object>
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3873 <text>Root permissions appear to be lost.</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3879 <text>Fix root permissions now?</text>
3880 </object>
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3885 <text>(Fixes permissions on su binary & app)</text>
3886 </object>
3887
3888 <object type="button">
3889 <highlight color="%highlight_color%" />
3890 <placement x="%col_center_x%" y="%row2_medium_y%" />
3891 <font resource="font" color="%button_text_color%" />
3892 <text>Do Not Fix</text>
3893 <image resource="main_button" />
3894 <action function="set">tw_page_done=1</action>
3895 </object>
3896
3897 <object type="slider">
3898 <placement x="%slider_x%" y="%slider_y%" />
3899 <resource base="slider" used="slider-used" touch="slider-touch" />
3900 <actions>
3901 <action function="set">tw_action=fixsu</action>
3902 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3903 <action function="set">tw_action_text2=</action>
3904 <action function="page">singleaction_page</action>
3905 </actions>
3906 </object>
3907
3908 <object type="text" color="%text_color%">
3909 <font resource="font" />
3910 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3911 <text>Swipe to Fix Root</text>
3912 </object>
3913 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003914 </pages>
3915</recovery>