blob: 87a35438944ebb56fce8300174e21abe06f1f21a [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">
Dees Troyb21cc642013-09-10 17:36:41 +00001744 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1745 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001746 </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 Troyb21cc642013-09-10 17:36:41 +00001787 <placement x="%col2_x%" y="%cancel_button_y%" />
1788 <font resource="font" color="%button_text_color%" />
1789 <text>Append Date</text>
1790 <image resource="main_button" />
1791 <action function="appenddatetobackupname"></action>
1792 </object>
1793
1794 <object type="button">
1795 <highlight color="%highlight_color%" />
1796 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001797 <font resource="font" color="%button_text_color%" />
1798 <text>Cancel / Clear</text>
1799 <image resource="main_button" />
1800 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001801 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001802 <action function="page">backup</action>
1803 </actions>
1804 </object>
1805
1806 <object type="template" name="keyboardtemplate" />
1807
1808 <object type="action">
1809 <touch key="home" />
1810 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001811 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001812 <action function="page">main</action>
1813 </actions>
1814 </object>
1815
1816 <object type="action">
1817 <touch key="back" />
1818 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001819 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001820 <action function="page">backup</action>
1821 </actions>
1822 </object>
1823
1824 <object type="template" name="footer" />
1825 </page>
1826
Dees_Troy83bd4832013-05-04 12:39:56 +00001827 <page name="backupencryption">
1828 <object type="template" name="header" />
1829
1830 <object type="text" color="%text_color%">
1831 <font resource="font" />
1832 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1833 <text>Encrypt your backup? Please enter a password:</text>
1834 </object>
1835
1836 <object type="input">
1837 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1838 <background color="%input_background_color%" />
1839 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1840 <font resource="font" color="%text_color%" />
1841 <text>%tw_backup_encrypt_display%</text>
1842 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1843 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1844 <action function="page">backupencryption2</action>
1845 </object>
1846
1847 <object type="text" color="%text_fail_color%">
1848 <condition var1="tw_password_not_match" var2="1" />
1849 <font resource="font" />
1850 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1851 <text>Passwords Do Not Match</text>
1852 </object>
1853
1854 <object type="button">
1855 <highlight color="%highlight_color%" />
1856 <placement x="%col_center_x%" y="%cancel_button_y%" />
1857 <font resource="font" color="%button_text_color%" />
1858 <text>Cancel</text>
1859 <image resource="main_button" />
1860 <actions>
1861 <action function="set">tw_encrypt_backup=0</action>
1862 <action function="set">tw_backup_password=</action>
1863 <action function="set">tw_backup_password2=</action>
1864 <action function="set">tw_backup_encrypt_display=</action>
1865 <action function="set">tw_backup_encrypt_display2=</action>
1866 <action function="page">backup</action>
1867 </actions>
1868 </object>
1869
1870 <object type="template" name="keyboardtemplate" />
1871
1872 <object type="action">
1873 <touch key="home" />
1874 <action function="page">main</action>
1875 </object>
1876
1877 <object type="action">
1878 <touch key="back" />
1879 <action function="page">backup</action>
1880 </object>
1881
1882 <object type="template" name="footer" />
1883 </page>
1884
1885 <page name="backupencryption2">
1886 <object type="template" name="header" />
1887
1888 <object type="text" color="%text_color%">
1889 <font resource="font" />
1890 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1891 <text>Encrypt your backup? Please Enter Password Again:</text>
1892 </object>
1893
1894 <object type="input">
1895 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1896 <background color="%input_background_color%" />
1897 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1898 <font resource="font" color="%text_color%" />
1899 <text>%tw_backup_encrypt_display2%</text>
1900 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1901 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1902 <actions>
1903 <action function="page">checkbackuppassword</action>
1904 </actions>
1905 </object>
1906
1907 <object type="button">
1908 <highlight color="%highlight_color%" />
1909 <placement x="%col_center_x%" y="%cancel_button_y%" />
1910 <font resource="font" color="%button_text_color%" />
1911 <text>Cancel</text>
1912 <image resource="main_button" />
1913 <actions>
1914 <action function="set">tw_encrypt_backup=0</action>
1915 <action function="set">tw_backup_password=</action>
1916 <action function="set">tw_backup_password2=</action>
1917 <action function="set">tw_backup_encrypt_display=</action>
1918 <action function="set">tw_backup_encrypt_display2=</action>
1919 <action function="page">backup</action>
1920 </actions>
1921 </object>
1922
1923 <object type="template" name="keyboardtemplate" />
1924
1925 <object type="action">
1926 <touch key="home" />
1927 <action function="page">main</action>
1928 </object>
1929
1930 <object type="action">
1931 <touch key="back" />
1932 <action function="page">backup</action>
1933 </object>
1934
1935 <object type="template" name="footer" />
1936 </page>
1937
1938 <page name="checkbackuppassword">
1939 <object type="action">
1940 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1941 <actions>
1942 <action function="set">tw_encrypt_backup=1</action>
1943 <action function="page">backup</action>
1944 </actions>
1945 </object>
1946
1947 <object type="action">
1948 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1949 <actions>
1950 <action function="set">tw_encrypt_backup=0</action>
1951 <action function="set">tw_password_not_match=1</action>
1952 <action function="set">tw_backup_password=</action>
1953 <action function="set">tw_backup_password2=</action>
1954 <action function="set">tw_backup_encrypt_display=</action>
1955 <action function="set">tw_backup_encrypt_display2=</action>
1956 <action function="page">backupencryption</action>
1957 </actions>
1958 </object>
1959 </page>
1960
Dees_Troy51a0e822012-09-05 15:24:24 -04001961 <page name="backup_run">
1962 <object type="template" name="header" />
1963
1964 <object type="text" color="%text_color%">
1965 <font resource="font" />
1966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1967 <text>%tw_operation% %tw_partition%</text>
1968 </object>
1969
1970 <object type="template" name="action_page_console" />
1971
1972 <object type="template" name="progress_bar" />
1973
1974 <object type="action">
1975 <action function="nandroid">backup</action>
1976 </object>
1977
1978 <object type="action">
1979 <condition var1="tw_operation_state" var2="1" />
1980 <actions>
1981 <action function="set">tw_back=backup</action>
1982 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001983 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001984 <action function="page">action_complete</action>
1985 </actions>
1986 </object>
1987
1988 <object type="template" name="footer" />
1989 </page>
1990
1991 <page name="restore">
1992 <object type="template" name="header" />
1993
1994 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001995 <highlight color="%highlight_color%" />
1996 <fill color="%button_fill_color%" />
1997 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1998 <font resource="font" color="%button_text_color%" />
1999 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2000 <actions>
2001 <action function="set">tw_back=restore</action>
2002 <action function="page">selectstorage</action>
2003 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002004 </object>
2005
2006 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002007 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002008 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2009 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002010 <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 -04002011 <text>Select Package to Restore:</text>
2012 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2013 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002014 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002015 <icon folder="folder_icon" file="file_icon" />
2016 <background color="%fileselector_background%" />
2017 <filter folders="1" files="0" nav="0" />
2018 <path name="tw_backups_folder" />
2019 <data name="tw_restore" default="" />
2020 <selection name="tw_restore_name" />
2021 </object>
2022
2023 <object type="template" name="sort_options" />
2024
2025 <object type="action">
2026 <condition var1="tw_restore" op="modified" />
2027 <actions>
2028 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002029 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002030 </actions>
2031 </object>
2032
2033 <object type="action">
2034 <touch key="home" />
2035 <action function="page">main</action>
2036 </object>
2037
2038 <object type="action">
2039 <touch key="back" />
2040 <action function="page">main</action>
2041 </object>
2042
2043 <object type="template" name="footer" />
2044 </page>
2045
Dees_Troy83bd4832013-05-04 12:39:56 +00002046 <page name="restore_read">
2047 <object type="action">
2048 <condition var1="tw_restore_encrypted" var2="1" />
2049 <actions>
2050 <action function="set">tw_password_fail=0</action>
2051 <action function="page">restore_decrypt</action>
2052 </actions>
2053 </object>
2054
2055 <object type="action">
2056 <condition var1="tw_restore_encrypted" var2="0" />
2057 <actions>
2058 <action function="page">restore_select</action>
2059 </actions>
2060 </object>
2061 </page>
2062
2063 <page name="restore_decrypt">
2064 <object type="template" name="header" />
2065
2066 <object type="text" color="%text_color%">
2067 <font resource="font" />
2068 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2069 <text>Backup encrypted. Please enter your password:</text>
2070 </object>
2071
2072 <object type="input">
2073 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2074 <background color="%input_background_color%" />
2075 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2076 <font resource="font" color="%text_color%" />
2077 <text>%tw_restore_display%</text>
2078 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2079 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2080 <actions>
2081 <action function="page">try_restore_decrypt</action>
2082 </actions>
2083 </object>
2084
2085 <object type="text" color="%text_fail_color%">
2086 <condition var1="tw_password_fail" var2="1" />
2087 <font resource="font" />
2088 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2089 <text>Password Failed, Please Try Again</text>
2090 </object>
2091
2092 <object type="button">
2093 <highlight color="%highlight_color%" />
2094 <placement x="%col2_x%" y="%cancel_button_y%" />
2095 <font resource="font" color="%button_text_color%" />
2096 <text>Cancel</text>
2097 <image resource="main_button" />
2098 <actions>
2099 <action function="set">tw_page_done=1</action>
2100 <action function="page">restore</action>
2101 </actions>
2102 </object>
2103
2104 <object type="button">
2105 <highlight color="%highlight_color%" />
2106 <placement x="%col3_x%" y="%cancel_button_y%" />
2107 <font resource="font" color="%button_text_color%" />
2108 <text>Delete</text>
2109 <image resource="main_button" />
2110 <actions>
2111 <action function="set">tw_back=restore</action>
2112 <action function="set">tw_action=cmd</action>
2113 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2114 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2115 <action function="set">tw_text2=This cannot be undone!</action>
2116 <action function="set">tw_action_text1=Deleting Backup...</action>
2117 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2118 <action function="set">tw_slider_text=Swipe to Delete</action>
2119 <action function="page">confirm_action</action>
2120 </actions>
2121 </object>
2122
2123 <object type="template" name="keyboardtemplate" />
2124
2125 <object type="action">
2126 <touch key="home" />
2127 <action function="page">main</action>
2128 </object>
2129
2130 <object type="action">
2131 <touch key="back" />
2132 <action function="page">restore</action>
2133 </object>
2134
2135 <object type="template" name="footer" />
2136 </page>
2137
2138 <page name="try_restore_decrypt">
2139 <object type="template" name="header" />
2140
2141 <object type="text" color="%text_color%">
2142 <font resource="font" />
2143 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2144 <text>Trying Decryption with Your Password</text>
2145 </object>
2146
2147 <object type="template" name="action_page_console" />
2148
2149 <object type="template" name="progress_bar" />
2150
2151 <object type="action">
2152 <action function="decrypt_backup"></action>
2153 </object>
2154
2155 <object type="action">
2156 <conditions>
2157 <condition var1="tw_operation_state" var2="1" />
2158 <condition var1="tw_operation_status" op="!=" var2="0" />
2159 </conditions>
2160 <actions>
2161 <action function="set">tw_password_fail=1</action>
2162 <action function="page">restore_decrypt</action>
2163 </actions>
2164 </object>
2165
2166 <object type="action">
2167 <conditions>
2168 <condition var1="tw_operation_state" var2="1" />
2169 <condition var1="tw_operation_status" op="=" var2="0" />
2170 </conditions>
2171 <actions>
2172 <action function="set">tw_page_done=1</action>
2173 <action function="page">restore_select</action>
2174 </actions>
2175 </object>
2176 </page>
2177
Dees_Troy51a0e822012-09-05 15:24:24 -04002178 <page name="restore_select">
2179 <object type="template" name="header" />
2180
2181 <object type="text" color="%text_color%">
2182 <font resource="font" />
2183 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2184 <text>Package to Restore: %tw_restore_name%</text>
2185 </object>
2186
2187 <object type="text" color="%text_color%">
2188 <font resource="font" />
2189 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2190 <text>Package Date: %tw_restore_file_date%</text>
2191 </object>
2192
Dees_Troya13d74f2013-03-24 08:54:55 -05002193 <object type="partitionlist">
2194 <highlight color="%fileselector_highlight_color%" />
2195 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2196 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2197 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2198 <text>Select Partitions to Restore:</text>
2199 <icon selected="checkbox_true" unselected="checkbox_false" />
2200 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2201 <background color="%listbox_background%" />
2202 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2203 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2204 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002205 </object>
2206
2207 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002208 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002209 <font resource="font" color="%text_color%" />
2210 <text>Enable MD5 checking of backup files</text>
2211 <data variable="tw_skip_md5_check" />
2212 <image checked="checkbox_true" unchecked="checkbox_false" />
2213 </object>
2214
2215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002217 <placement x="%col4_x%" y="%row1_y%" />
2218 <font resource="font" color="%button_text_color%" />
2219 <text>Rename Backup</text>
2220 <image resource="main_button" />
2221 <actions>
2222 <action function="set">tw_backup_rename=</action>
2223 <action function="set">tw_fileexists=0</action>
2224 <action function="page">renamebackup</action>
2225 </actions>
2226 </object>
2227
2228 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002229 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002230 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002231 <font resource="font" color="%button_text_color%" />
2232 <text>Delete Backup</text>
2233 <image resource="main_button" />
2234 <actions>
2235 <action function="set">tw_back=restore</action>
2236 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002237 <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 -04002238 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2239 <action function="set">tw_text2=This cannot be undone!</action>
2240 <action function="set">tw_action_text1=Deleting Backup...</action>
2241 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2242 <action function="set">tw_slider_text=Swipe to Delete</action>
2243 <action function="page">confirm_action</action>
2244 </actions>
2245 </object>
2246
2247 <object type="slider">
2248 <placement x="%slider_x%" y="%slider_y%" />
2249 <resource base="slider" used="slider-used" touch="slider-touch" />
2250 <action function="page">restore_run</action>
2251 </object>
2252
2253 <object type="text" color="%text_color%">
2254 <font resource="font" />
2255 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2256 <text>Swipe to Restore</text>
2257 </object>
2258
2259 <object type="action">
2260 <touch key="home" />
2261 <action function="page">main</action>
2262 </object>
2263
2264 <object type="action">
2265 <touch key="back" />
2266 <action function="page">restore</action>
2267 </object>
2268
2269 <object type="template" name="footer" />
2270 </page>
2271
2272 <page name="renamebackup">
2273 <object type="template" name="header" />
2274
2275 <object type="text" color="%text_color%">
2276 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2277 <font resource="font" />
2278 <text>Please Enter a New Backup Name</text>
2279 </object>
2280
2281 <object type="input">
2282 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2283 <background color="%input_background_color%" />
2284 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2285 <font resource="font" color="%text_color%" />
2286 <text>%tw_backup_rename%</text>
2287 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002288 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002289 <actions>
2290 <action function="set">tw_back=restore</action>
2291 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002292 <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 -04002293 <action function="set">tw_text1=Rename Backup?</action>
2294 <action function="set">tw_text2=This cannot be undone!</action>
2295 <action function="set">tw_action_text1=Renaming Backup...</action>
2296 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2297 <action function="set">tw_slider_text=Swipe to Rename</action>
2298 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2299 <action function="set">tw_existpage=renamebackup</action>
2300 <action function="set">tw_notexistpage=confirm_action</action>
2301 <action function="page">filecheck</action>
2302 </actions>
2303 </object>
2304
2305 <object type="text" color="%text_fail_color%">
2306 <condition var1="tw_fileexists" var2="1" />
2307 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2308 <font resource="font" />
2309 <text>A backup with that name already exists!</text>
2310 </object>
2311
2312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002313 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002314 <placement x="%col_center_x%" y="%cancel_button_y%" />
2315 <font resource="font" color="%button_text_color%" />
2316 <text>Cancel</text>
2317 <image resource="main_button" />
2318 <action function="page">restore_select</action>
2319 </object>
2320
2321 <object type="template" name="keyboardtemplate" />
2322
2323 <object type="action">
2324 <touch key="home" />
2325 <action function="page">main</action>
2326 </object>
2327
2328 <object type="action">
2329 <touch key="back" />
2330 <action function="page">restore_select</action>
2331 </object>
2332
2333 <object type="template" name="footer" />
2334 </page>
2335
2336 <page name="restore_run">
2337 <object type="template" name="header" />
2338
2339 <object type="text" color="%text_color%">
2340 <font resource="font" />
2341 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2342 <text>%tw_operation% %tw_partition%</text>
2343 </object>
2344
2345 <object type="template" name="action_page_console" />
2346
2347 <object type="template" name="progress_bar" />
2348
2349 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002350 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002351 <actions>
2352 <action function="set">tw_back=restore_select</action>
2353 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002354 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002355 <action function="page">action_complete</action>
2356 </actions>
2357 </object>
2358
2359 <object type="action">
2360 <action function="nandroid">restore</action>
2361 </object>
2362 </page>
2363
2364 <page name="settings">
2365 <object type="template" name="header" />
2366
2367 <object type="text" color="%text_color%">
2368 <font resource="font" />
2369 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2370 <text>Settings</text>
2371 </object>
2372
2373 <object type="checkbox">
2374 <placement x="%col1_x%" y="%row2_text_y%" />
2375 <font resource="font" color="%text_color%" />
2376 <text>Zip file signature verification?</text>
2377 <data variable="tw_signed_zip_verify" />
2378 <image checked="checkbox_true" unchecked="checkbox_false" />
2379 </object>
2380
2381 <object type="checkbox">
2382 <placement x="%col1_x%" y="%row3_text_y%" />
2383 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002384 <text>Use rm -rf instead of formatting?</text>
2385 <data variable="tw_rm_rf" />
2386 <image checked="checkbox_true" unchecked="checkbox_false" />
2387 </object>
2388
2389 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002390 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <font resource="font" color="%text_color%" />
2392 <text>Skip MD5 generation on backups</text>
2393 <data variable="tw_skip_md5_generate" />
2394 <image checked="checkbox_true" unchecked="checkbox_false" />
2395 </object>
2396
2397 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002398 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <font resource="font" color="%text_color%" />
2400 <text>Enable MD5 checking of backup files</text>
2401 <data variable="tw_skip_md5_check" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002406 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002408 <text>Use Military Time</text>
2409 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <image checked="checkbox_true" unchecked="checkbox_false" />
2411 </object>
2412
2413 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002414 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <font resource="font" color="%text_color%" />
2416 <text>Simulate most actions for theme testing</text>
2417 <data variable="tw_simulate_actions" />
2418 <image checked="checkbox_true" unchecked="checkbox_false" />
2419 </object>
2420
2421 <object type="checkbox">
2422 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002423 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <font resource="font" color="%text_color%" />
2425 <text>Simulate failure for actions</text>
2426 <data variable="tw_simulate_fail" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <placement x="%col1_x%" y="%row2_y%" />
2433 <font resource="font" color="%button_text_color%" />
2434 <text>Time Zone</text>
2435 <image resource="main_button" />
2436 <action function="page">timezone</action>
2437 </object>
2438
2439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002440 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002441 <placement x="%col2_x%" y="%row2_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="button">
2449 <highlight color="%highlight_color%" />
2450 <placement x="%col3_x%" y="%row2_y%" />
2451 <font resource="font" color="%button_text_color%" />
2452 <text>Vibration Duration</text>
2453 <image resource="main_button" />
2454 <action function="page">Vibrate</action>
2455 </object>
2456
2457 <object type="button">
2458 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002459 <placement x="%col4_x%" y="%row2_y%" />
2460 <font resource="font" color="%button_text_color%" />
2461 <text>Screen</text>
2462 <image resource="main_button" />
2463 <action function="page">screen</action>
2464 </object>
2465
Dees_Troy51a0e822012-09-05 15:24:24 -04002466 <object type="action">
2467 <touch key="home" />
2468 <action function="page">main</action>
2469 </object>
2470
2471 <object type="action">
2472 <touch key="back" />
2473 <action function="page">main</action>
2474 </object>
Dees_Troy82111022013-02-21 21:13:09 +00002475
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <object type="template" name="footer" />
2477 </page>
2478
2479 <page name="timezone">
2480 <object type="template" name="header" />
2481
2482 <object type="text" color="%text_color%">
2483 <font resource="font" />
2484 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2485 <text>Select Time Zone</text>
2486 </object>
2487
2488 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002489 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002490 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002492 <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 -06002493 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002497 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <data name="tw_time_zone_guisel" />
2499 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2500 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2501 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2502 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2503 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2504 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2505 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2506 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2507 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2508 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2509 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2510 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2511 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2512 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2513 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2514 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2515 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2516 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2517 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2518 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2519 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2520 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2521 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2522 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2523 </object>
2524
2525 <object type="checkbox">
2526 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2527 <font resource="font" color="%text_color%" />
2528 <text>Do you use daylight savings time (DST)?</text>
2529 <data variable="tw_time_zone_guidst" />
2530 <image checked="checkbox_true" unchecked="checkbox_false" />
2531 </object>
2532
2533 <object type="text" color="%text_color%">
2534 <font resource="font" />
2535 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2536 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
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="%col1_medium_x%" y="%row_offsetmedium_y%" />
2542 <font resource="font" color="%button_text_color%" />
2543 <text>0</text>
2544 <image resource="medium_button" />
2545 <action function="set">tw_time_zone_guioffset=0</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="%col2_medium_x%" y="%row_offsetmedium_y%" />
2551 <font resource="font" color="%button_text_color%" />
2552 <text>15</text>
2553 <image resource="medium_button" />
2554 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offsetmedium_y%" />
2560 <font resource="font" color="%button_text_color%" />
2561 <text>30</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=30</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2569 <font resource="font" color="%button_text_color%" />
2570 <text>45</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=45</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <placement x="%col4_x%" y="%row2_y%" />
2578 <font resource="font" color="%button_text_color%" />
2579 <text>Set Time Zone</text>
2580 <image resource="main_button" />
2581 <action function="setguitimezone"></action>
2582 </object>
2583
2584 <object type="text" color="%text_color%">
2585 <font resource="font" />
2586 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2587 <text>Current Time Zone: %tw_time_zone%</text>
2588 </object>
2589
2590 <object type="action">
2591 <touch key="home" />
2592 <action function="page">main</action>
2593 </object>
2594
2595 <object type="action">
2596 <touch key="back" />
2597 <action function="page">settings</action>
2598 </object>
2599
2600 <object type="template" name="footer" />
2601 </page>
2602
Dees_Troy2f9117a2013-02-17 19:52:09 -06002603 <page name="screen">
2604 <object type="template" name="header" />
2605
2606 <object type="text" color="%text_color%">
2607 <font resource="font" />
2608 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2609 <text>Screen Settings</text>
2610 </object>
2611
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002613 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2614 <font resource="font" color="%text_color%" />
2615 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002616 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002617 <text>Enable screen timeout.</text>
2618 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <action function="set">tw_screen_timeout_secs=60</action>
2620 </object>
2621
2622 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2624 <font resource="font" color="%text_color%" />
2625 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002626 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002627 <text>Enable screen timeout.</text>
2628 <image resource="checkbox_true" />
2629 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002630 </object>
2631
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <object type="slidervalue">
2633 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002634 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2636 <font resource="font" color="%text_color%" />
2637 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2638 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2639 <text>Screen timeout in seconds:</text>
2640 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002641 </object>
2642
Vojtech Bocek85932342013-04-01 22:11:33 +02002643 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002644 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002645 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2646 <font resource="font" color="%text_color%" />
2647 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2648 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2649 <text>Brightness: %tw_brightness_pct%%</text>
2650 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002651 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002652 <action function="set">tw_brightness=%tw_brightness_max%</action>
2653 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2654 <action function="compute">tw_brightness/100</action>
2655 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002656 </actions>
2657 </object>
2658
2659 <object type="action">
2660 <touch key="home" />
2661 <action function="page">main</action>
2662 </object>
2663
2664 <object type="action">
2665 <touch key="back" />
2666 <action function="page">settings</action>
2667 </object>
2668
2669 <object type="template" name="footer" />
2670 </page>
2671
Ethan Yonker03db3262014-02-05 08:02:06 -06002672 <page name="Vibrate">
2673 <object type="template" name="header" />
2674
2675 <object type="text" color="%text_color%">
2676 <font resource="font" />
2677 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2678 <text>Vibration Settings :</text>
2679 </object>
2680
2681 <object type="slidervalue">
2682 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2683 <font resource="font" color="%text_color%" />
2684 <text>Button Vibration:</text>
2685 <data variable="tw_button_vibrate" min="0" max="300" />
2686 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2687 </object>
2688
2689 <object type="slidervalue">
2690 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2691 <font resource="font" color="%text_color%" />
2692 <text>Keyboard Vibration:</text>
2693 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2694 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2695 </object>
2696
2697 <object type="slidervalue">
2698 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2699 <font resource="font" color="%text_color%" />
2700 <text>Action Vibration:</text>
2701 <data variable="tw_action_vibrate" min="0" max="500" />
2702 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2703 </object>
2704
2705 <object type="action">
2706 <touch key="home" />
2707 <action function="page">main</action>
2708 </object>
2709
2710 <object type="action">
2711 <touch key="back" />
2712 <action function="page">settings</action>
2713 </object>
2714
2715 <object type="template" name="footer" />
2716 </page>
2717
Dees_Troy51a0e822012-09-05 15:24:24 -04002718 <page name="advanced">
2719 <object type="template" name="header" />
2720
2721 <object type="text" color="%text_color%">
2722 <font resource="font" />
2723 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2724 <text>Advanced</text>
2725 </object>
2726
2727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002729 <placement x="%col1_x%" y="%row1_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>Copy Log to SD</text>
2732 <image resource="main_button" />
2733 <actions>
2734 <action function="set">tw_back=advanced</action>
2735 <action function="set">tw_action=copylog</action>
2736 <action function="set">tw_text1=Copy Log to SD Card?</action>
2737 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2738 <action function="set">tw_complete_text1=Log Copy Complete</action>
2739 <action function="set">tw_slider_text=Swipe to Confirm</action>
2740 <action function="page">confirm_action</action>
2741 </actions>
2742 </object>
2743
2744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <placement x="%col2_x%" y="%row1_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text>Fix Permissions</text>
2749 <image resource="main_button" />
2750 <actions>
2751 <action function="set">tw_back=advanced</action>
2752 <action function="set">tw_action=fixpermissions</action>
2753 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2756 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002757 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002758 <action function="page">confirm_action</action>
2759 </actions>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <placement x="%col3_x%" y="%row1_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>Terminal Command</text>
2767 <image resource="main_button" />
2768 <action function="page">terminalfolder</action>
2769 </object>
2770
2771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002772 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002773 <placement x="%col4_x%" y="%row1_y%" />
2774 <font resource="font" color="%button_text_color%" />
2775 <text>ADB Sideload</text>
2776 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002777 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <condition var1="tw_allow_partition_sdcard" var2="1" />
2783 <placement x="%col1_x%" y="%row2_y%" />
2784 <font resource="font" color="%button_text_color%" />
2785 <text>Partition SD Card</text>
2786 <image resource="main_button" />
2787 <action function="page">partsdcard</action>
2788 </object>
2789
2790 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002791 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002792 <placement x="%col2_x%" y="%row2_y%" />
2793 <font resource="font" color="%button_text_color%" />
2794 <text>File Manager</text>
2795 <image resource="main_button" />
2796 <action function="page">filemanagerlist</action>
2797 </object>
2798
2799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002800 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002801 <placement x="%col3_x%" y="%row2_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>Reload Theme</text>
2804 <image resource="main_button" />
2805 <action function="reload"></action>
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <condition var1="tw_show_dumlock" var2="1" />
2811 <placement x="%col4_x%" y="%row2_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>HTC Dumlock</text>
2814 <image resource="main_button" />
2815 <action function="page">htcdumlock</action>
2816 </object>
2817
2818 <object type="action">
2819 <touch key="home" />
2820 <action function="page">main</action>
2821 </object>
2822
2823 <object type="action">
2824 <touch key="back" />
2825 <action function="page">main</action>
2826 </object>
2827
2828 <object type="template" name="footer" />
2829 </page>
2830
2831 <page name="partsdcard">
2832 <object type="template" name="header" />
2833
2834 <object type="text" color="%text_color%">
2835 <font resource="font" />
2836 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2837 <text>Partition SD Card</text>
2838 </object>
2839
2840 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002841 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2843 <font resource="font" color="%button_text_color%" />
2844 <text></text>
2845 <image resource="minus_button" />
2846 <action function="addsubtract">tw_sdext_size-128</action>
2847 </object>
2848
2849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002850 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002851 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2852 <font resource="font" color="%button_text_color%" />
2853 <text></text>
2854 <image resource="plus_button" />
2855 <action function="addsubtract">tw_sdext_size+128</action>
2856 </object>
2857
2858 <object type="text" color="%text_color%">
2859 <font resource="font" />
2860 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2861 <text>EXT Size: %tw_sdext_size%</text>
2862 </object>
2863
2864 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002865 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text></text>
2869 <image resource="minus_button" />
2870 <action function="addsubtract">tw_swap_size-32</action>
2871 </object>
2872
2873 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002874 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002875 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2876 <font resource="font" color="%button_text_color%" />
2877 <text></text>
2878 <image resource="plus_button" />
2879 <action function="addsubtract">tw_swap_size+32</action>
2880 </object>
2881
2882 <object type="text" color="%text_color%">
2883 <font resource="font" />
2884 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2885 <text>Swap Size: %tw_swap_size%</text>
2886 </object>
2887
2888 <object type="text" color="%text_color%">
2889 <font resource="font" />
2890 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2891 <text>File system: %tw_sdpart_file_system%</text>
2892 </object>
2893
2894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002895 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002896 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text>EXT3</text>
2899 <image resource="medium_button" />
2900 <action function="set">tw_sdpart_file_system=ext3</action>
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_sdext_disable_ext4" var2="0" />
2906 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text>EXT4</text>
2909 <image resource="medium_button" />
2910 <action function="set">tw_sdpart_file_system=ext4</action>
2911 </object>
2912
2913 <object type="text" color="%text_color%">
2914 <font resource="font" />
2915 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2916 <text>You will lose all files on your SD card!</text>
2917 </object>
2918
2919 <object type="text" color="%text_color%">
2920 <font resource="font" />
2921 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2922 <text>This action cannot be undone!</text>
2923 </object>
2924
2925 <object type="slider">
2926 <placement x="%slider_x%" y="%slider_y%" />
2927 <resource base="slider" used="slider-used" touch="slider-touch" />
2928 <actions>
2929 <action function="set">tw_back=partsdcard</action>
2930 <action function="set">tw_action=partitionsd</action>
2931 <action function="set">tw_has_action2=1</action>
2932 <action function="set">tw_action2=set</action>
2933 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2934 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2935 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002936 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <action function="page">action_page</action>
2938 </actions>
2939 </object>
2940
2941 <object type="text" color="%text_color%">
2942 <font resource="font" />
2943 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2944 <text>Swipe to Confirm Partition</text>
2945 </object>
2946
2947 <object type="action">
2948 <touch key="home" />
2949 <action function="page">main</action>
2950 </object>
2951
2952 <object type="action">
2953 <touch key="back" />
2954 <action function="page">advanced</action>
2955 </object>
2956
2957 <object type="template" name="footer" />
2958 </page>
2959
2960
2961 <page name="htcdumlock">
2962 <object type="template" name="header" />
2963
2964 <object type="text" color="%text_color%">
2965 <font resource="font" />
2966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2967 <text>HTC Dumlock</text>
2968 </object>
2969
2970 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002971 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002972 <condition var1="tw_show_dumlock" var2="1" />
2973 <placement x="%col1_x%" y="%row1_y%" />
2974 <font resource="font" color="%button_text_color%" />
2975 <text>Restore Original Boot</text>
2976 <image resource="main_button" />
2977 <actions>
2978 <action function="set">tw_back=htcdumlock</action>
2979 <action function="set">tw_action=htcdumlockrestoreboot</action>
2980 <action function="set">tw_text1=Restore original boot image?</action>
2981 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2982 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2983 <action function="set">tw_slider_text=Swipe to Confirm</action>
2984 <action function="page">confirm_action</action>
2985 </actions>
2986 </object>
2987
2988 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002989 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002990 <condition var1="tw_show_dumlock" var2="1" />
2991 <placement x="%col2_x%" y="%row1_y%" />
2992 <font resource="font" color="%button_text_color%" />
2993 <text>Reflash Recovery->Boot</text>
2994 <image resource="main_button" />
2995 <actions>
2996 <action function="set">tw_back=htcdumlock</action>
2997 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2998 <action function="set">tw_text1=Reflash recovery to boot?</action>
2999 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3000 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3001 <action function="set">tw_slider_text=Swipe to Confirm</action>
3002 <action function="page">confirm_action</action>
3003 </actions>
3004 </object>
3005
3006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003007 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003008 <condition var1="tw_show_dumlock" var2="1" />
3009 <placement x="%col1_x%" y="%row2_y%" />
3010 <font resource="font" color="%button_text_color%" />
3011 <text>Install HTC Dumlock</text>
3012 <image resource="main_button" />
3013 <actions>
3014 <action function="set">tw_back=htcdumlock</action>
3015 <action function="set">tw_action=installhtcdumlock</action>
3016 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3017 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3018 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3019 <action function="set">tw_slider_text=Swipe to Confirm</action>
3020 <action function="page">confirm_action</action>
3021 </actions>
3022 </object>
3023
3024 <object type="action">
3025 <touch key="home" />
3026 <action function="page">main</action>
3027 </object>
3028
3029 <object type="action">
3030 <touch key="back" />
3031 <action function="page">advanced</action>
3032 </object>
3033
3034 <object type="template" name="footer" />
3035 </page>
3036
3037 <page name="lock">
3038 <background color="#000000A0" />
3039
3040 <object type="image">
3041 <image resource="unlock-icon" />
3042 <placement x="%lock_x%" y="%lock_y%" />
3043 </object>
3044
3045 <object type="slider">
3046 <placement x="%slider_x%" y="%slider_y%" />
3047 <resource base="slider" used="slider-used" touch="slider-touch" />
3048 <action function="overlay"></action>
3049 </object>
3050
3051 <object type="text" color="%text_color%">
3052 <font resource="font" />
3053 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3054 <text>Swipe to Unlock</text>
3055 </object>
3056 </page>
3057
3058
3059 <page name="filemanagerlist">
3060 <object type="template" name="header" />
3061
3062 <object type="text" color="%text_color%">
3063 <font resource="font" />
3064 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3065 <text>File Manager: Select a File or Folder</text>
3066 </object>
3067
3068 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003069 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003070 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3071 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003072 <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 -04003073 <text>Folders:</text>
3074 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3075 <sort name="tw_gui_sort_order" />
3076 <icon folder="folder_icon" file="file_icon" />
3077 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003078 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003079 <filter folders="1" files="0" />
3080 <path name="tw_file_location1" default="/sdcard" />
3081 <data name="select" />
3082 <selection name="tw_selection1" />
3083 </object>
3084
3085 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003086 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3088 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003089 <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 -04003090 <text>%tw_file_location1%</text>
3091 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3092 <sort name="tw_gui_sort_order" />
3093 <icon folder="folder_icon" file="file_icon" />
3094 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003095 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <filter folders="0" files="1" />
3097 <path name="tw_file_location1" default="/" />
3098 <data name="tw_filename1" />
3099 <selection name="tw_selection1" />
3100 </object>
3101
3102 <object type="template" name="sort_options" />
3103
3104 <object type="action">
3105 <actions>
3106 <action function="set">tw_fm_type=File</action>
3107 <action function="set">tw_fm_isfolder=0</action>
3108 </actions>
3109 </object>
3110
3111 <object type="action">
3112 <touch key="home" />
3113 <action function="page">main</action>
3114 </object>
3115
3116 <object type="action">
3117 <touch key="back" />
3118 <action function="page">advanced</action>
3119 </object>
3120
3121 <object type="action">
3122 <condition var1="tw_filename1" op="modified" />
3123 <actions>
3124 <action function="page">filemanageroptions</action>
3125 </actions>
3126 </object>
3127
3128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>Select Folder</text>
3133 <image resource="main_button" />
3134 <actions>
3135 <action function="set">tw_filename1=tw_file_location1</action>
3136 <action function="set">tw_fm_isfolder=1</action>
3137 <action function="set">tw_fm_type=Folder</action>
3138 <action function="page">filemanageroptions</action>
3139 </actions>
3140 </object>
3141
3142 <object type="template" name="footer" />
3143 </page>
3144
3145 <page name="filemanageroptions">
3146 <object type="template" name="header" />
3147
3148 <object type="text" color="%text_color%">
3149 <font resource="font" />
3150 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3151 <text>%tw_fm_type% Selected:</text>
3152 </object>
3153
3154 <object type="text" color="%text_color%">
3155 <font resource="font" />
3156 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3157 <text>%tw_filename1%</text>
3158 </object>
3159
3160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003161 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003162 <condition var1="tw_fm_isfolder" var2="0" />
3163 <placement x="%col1_x%" y="%row2_y%" />
3164 <font resource="font" color="%button_text_color%" />
3165 <text>Copy File</text>
3166 <image resource="main_button" />
3167 <actions>
3168 <action function="set">tw_filemanager_command=cp</action>
3169 <action function="set">tw_fm_text1=Copying</action>
3170 <action function="page">choosedestinationfolder</action>
3171 </actions>
3172 </object>
3173
3174 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003175 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003176 <condition var1="tw_fm_isfolder" var2="1" />
3177 <placement x="%col1_x%" y="%row2_y%" />
3178 <font resource="font" color="%button_text_color%" />
3179 <text>Copy Folder</text>
3180 <image resource="main_button" />
3181 <actions>
3182 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3183 <action function="set">tw_fm_text1=Copying</action>
3184 <action function="page">choosedestinationfolder</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <placement x="%col2_x%" y="%row2_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Move</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_command=mv</action>
3196 <action function="set">tw_fm_text1=Moving</action>
3197 <action function="page">choosedestinationfolder</action>
3198 </actions>
3199 </object>
3200
3201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003203 <placement x="%col3_x%" y="%row2_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text>chmod 755</text>
3206 <image resource="main_button" />
3207 <actions>
3208 <action function="set">tw_filemanager_command=chmod 755</action>
3209 <action function="set">tw_fm_text1=chmod 755</action>
3210 <action function="set">tw_fm_text2=</action>
3211 <action function="set">tw_fm_text3=</action>
3212 <action function="set">tw_include_text3=0</action>
3213 <action function="set">tw_back=filemanageroptions</action>
3214 <action function="page">filemanagerconfirm</action>
3215 </actions>
3216 </object>
3217
3218 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003219 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003220 <placement x="%col4_x%" y="%row2_y%" />
3221 <font resource="font" color="%button_text_color%" />
3222 <text>chmod</text>
3223 <image resource="main_button" />
3224 <actions>
3225 <action function="set">tw_filemanager_rename=0000</action>
3226 <action function="set">tw_fm_text2=</action>
3227 <action function="set">tw_fm_text3=</action>
3228 <action function="set">tw_include_text3=0</action>
3229 <action function="set">tw_back=filemanageroptions</action>
3230 <action function="page">filemanagerchmod</action>
3231 </actions>
3232 </object>
3233
3234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <placement x="%col1_x%" y="%row1_y%" />
3237 <font resource="font" color="%button_text_color%" />
3238 <text>Delete</text>
3239 <image resource="main_button" />
3240 <actions>
3241 <action function="set">tw_filemanager_command=rm -rf</action>
3242 <action function="set">tw_fm_text1=Deleting</action>
3243 <action function="set">tw_fm_text2=</action>
3244 <action function="set">tw_fm_text3=</action>
3245 <action function="set">tw_include_text3=0</action>
3246 <action function="set">tw_back=filemanageroptions</action>
3247 <action function="page">filemanagerconfirm</action>
3248 </actions>
3249 </object>
3250
3251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003253 <condition var1="tw_fm_isfolder" var2="0" />
3254 <placement x="%col4_x%" y="%row1_y%" />
3255 <font resource="font" color="%button_text_color%" />
3256 <text>Rename File</text>
3257 <image resource="main_button" />
3258 <actions>
3259 <action function="set">tw_filemanager_rename=tw_selection1</action>
3260 <action function="set">tw_fm_text1=Renaming</action>
3261 <action function="set">tw_filemanager_command=mv</action>
3262 <action function="page">filemanagerrenamefile</action>
3263 </actions>
3264 </object>
3265
3266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003268 <condition var1="tw_fm_isfolder" var2="1" />
3269 <placement x="%col4_x%" y="%row1_y%" />
3270 <font resource="font" color="%button_text_color%" />
3271 <text>Rename Folder</text>
3272 <image resource="main_button" />
3273 <actions>
3274 <action function="set">tw_filemanager_rename=tw_selection1</action>
3275 <action function="set">tw_fm_text1=Renaming</action>
3276 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3277 <action function="page">filemanagerrenamefolder</action>
3278 </actions>
3279 </object>
3280
3281 <object type="action">
3282 <touch key="home" />
3283 <action function="page">main</action>
3284 </object>
3285
3286 <object type="action">
3287 <touch key="back" />
3288 <action function="page">filemanagerlist</action>
3289 </object>
3290
3291 <object type="template" name="footer" />
3292 </page>
3293
3294 <page name="choosedestinationfolder">
3295 <object type="template" name="header" />
3296
3297 <object type="text" color="%text_color%">
3298 <font resource="font" />
3299 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3300 <text>Browse to Destination Folder & Press Select</text>
3301 </object>
3302
3303 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003304 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003305 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3306 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003307 <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 -04003308 <text>%tw_file_location2%</text>
3309 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3310 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003311 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <icon folder="folder_icon" file="file_icon" />
3313 <background color="%fileselector_background%" />
3314 <filter folders="1" files="0" />
3315 <path name="tw_file_location2" default="/sdcard" />
3316 <data name="tw_filename2" />
3317 </object>
3318
3319 <object type="template" name="sort_options" />
3320
3321 <object type="action">
3322 <touch key="home" />
3323 <action function="page">main</action>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="back" />
3328 <action function="page">filemanageroptions</action>
3329 </object>
3330
3331 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003332 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003333 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3334 <font resource="font" color="%button_text_color%" />
3335 <text>Select Folder</text>
3336 <image resource="main_button" />
3337 <actions>
3338 <action function="set">tw_fm_text2=to</action>
3339 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3340 <action function="set">tw_include_text3=1</action>
3341 <action function="set">tw_back=filemanageroptions</action>
3342 <action function="page">filemanagerconfirm</action>
3343 </actions>
3344 </object>
3345
3346 <object type="template" name="footer" />
3347 </page>
3348
3349 <page name="filemanagerrenamefile">
3350 <object type="template" name="header" />
3351
3352 <object type="text" color="%text_color%">
3353 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3354 <font resource="font" />
3355 <text>Please Enter a New %tw_fm_type% Name</text>
3356 </object>
3357
3358 <object type="input">
3359 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3360 <background color="%input_background_color%" />
3361 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3362 <font resource="font" color="%text_color%" />
3363 <text>%tw_filemanager_rename%</text>
3364 <data name="tw_filemanager_rename" />
3365 <restrict minlen="1" maxlen="128" />
3366 <actions>
3367 <action function="set">tw_fm_text2=to</action>
3368 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3369 <action function="set">tw_include_text3=1</action>
3370 <action function="set">tw_back=filemanageroptions</action>
3371 <action function="page">filemanagerconfirm</action>
3372 </actions>
3373 </object>
3374
3375 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003376 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003377 <placement x="%col_center_x%" y="%cancel_button_y%" />
3378 <font resource="font" color="%button_text_color%" />
3379 <text>Cancel</text>
3380 <image resource="main_button" />
3381 <action function="page">filemanageroptions</action>
3382 </object>
3383
3384 <object type="template" name="keyboardtemplate" />
3385
3386 <object type="action">
3387 <touch key="home" />
3388 <action function="page">main</action>
3389 </object>
3390
3391 <object type="action">
3392 <touch key="back" />
3393 <action function="page">filemanageroptions</action>
3394 </object>
3395
3396 <object type="template" name="footer" />
3397 </page>
3398
3399 <page name="filemanagerrenamefolder">
3400 <object type="template" name="header" />
3401
3402 <object type="text" color="%text_color%">
3403 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3404 <font resource="font" />
3405 <text>Please Enter a New %tw_fm_type% Name</text>
3406 </object>
3407
3408 <object type="input">
3409 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3410 <background color="%input_background_color%" />
3411 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3412 <font resource="font" color="%text_color%" />
3413 <text>%tw_filemanager_rename%</text>
3414 <data name="tw_filemanager_rename" />
3415 <restrict minlen="1" maxlen="128" />
3416 <actions>
3417 <action function="set">tw_fm_text2=to</action>
3418 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3419 <action function="set">tw_include_text3=1</action>
3420 <action function="set">tw_back=filemanageroptions</action>
3421 <action function="page">filemanagerconfirm</action>
3422 </actions>
3423 </object>
3424
3425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003427 <placement x="%col_center_x%" y="%cancel_button_y%" />
3428 <font resource="font" color="%button_text_color%" />
3429 <text>Cancel</text>
3430 <image resource="main_button" />
3431 <action function="page">filemanageroptions</action>
3432 </object>
3433
3434 <object type="template" name="keyboardtemplate" />
3435
3436 <object type="action">
3437 <touch key="home" />
3438 <action function="page">main</action>
3439 </object>
3440
3441 <object type="action">
3442 <touch key="back" />
3443 <action function="page">filemanageroptions</action>
3444 </object>
3445
3446 <object type="template" name="footer" />
3447 </page>
3448
3449 <page name="filemanagerchmod">
3450 <object type="template" name="header" />
3451
3452 <object type="text" color="%text_color%">
3453 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3454 <font resource="font" />
3455 <text>Please Enter New Permissions</text>
3456 </object>
3457
3458 <object type="input">
3459 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3460 <background color="%input_background_color%" />
3461 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3462 <font resource="font" color="%text_color%" />
3463 <text>%tw_filemanager_rename%</text>
3464 <data name="tw_filemanager_rename" />
3465 <restrict minlen="3" maxlen="4" allow="0123456789" />
3466 <actions>
3467 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3468 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3469 <action function="set">tw_back=filemanageroptions</action>
3470 <action function="page">filemanagerconfirm</action>
3471 </actions>
3472 </object>
3473
3474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003476 <placement x="%col_center_x%" y="%cancel_button_y%" />
3477 <font resource="font" color="%button_text_color%" />
3478 <text>Cancel</text>
3479 <image resource="main_button" />
3480 <action function="page">filemanageroptions</action>
3481 </object>
3482
3483 <object type="template" name="keyboardtemplate" />
3484
3485 <object type="action">
3486 <touch key="home" />
3487 <action function="page">main</action>
3488 </object>
3489
3490 <object type="action">
3491 <touch key="back" />
3492 <action function="page">filemanageroptions</action>
3493 </object>
3494
3495 <object type="template" name="footer" />
3496 </page>
3497
3498 <page name="filemanagerconfirm">
3499 <object type="template" name="header" />
3500
3501 <object type="text" color="%text_color%">
3502 <font resource="font" />
3503 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3504 <text>%tw_fm_text1%</text>
3505 </object>
3506
3507 <object type="text" color="%text_color%">
3508 <font resource="font" />
3509 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3510 <text>%tw_filename1%</text>
3511 </object>
3512
3513 <object type="text" color="%text_color%">
3514 <font resource="font" />
3515 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3516 <text>%tw_fm_text2%</text>
3517 </object>
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3522 <text>%tw_fm_text3%</text>
3523 </object>
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3528 <text>Press back button to cancel.</text>
3529 </object>
3530
3531 <object type="slider">
3532 <placement x="%slider_x%" y="%slider_y%" />
3533 <resource base="slider" used="slider-used" touch="slider-touch" />
3534 <action function="page">filemanageracction</action>
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3540 <text>Swipe to Confirm</text>
3541 </object>
3542
3543 <object type="action">
3544 <touch key="back" />
3545 <action function="page">%tw_back%</action>
3546 </object>
3547
3548 <object type="action">
3549 <touch key="home" />
3550 <action function="page">main</action>
3551 </object>
3552
3553 <object type="template" name="footer" />
3554 </page>
3555
3556 <page name="filemanageracction">
3557 <object type="template" name="header" />
3558
3559 <object type="text" color="%text_color%">
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3562 <text>%tw_fm_text1%</text>
3563 </object>
3564
3565 <object type="template" name="action_page_console" />
3566
3567 <object type="template" name="progress_bar" />
3568
3569 <object type="action">
3570 <conditions>
3571 <condition var1="tw_operation_state" var2="1" />
3572 <condition var1="tw_operation_status" var2="0" />
3573 </conditions>
3574 <actions>
3575 <action function="set">tw_back=filemanagerlist</action>
3576 <action function="set">tw_complete_text1=File Operation Complete</action>
3577 <action function="page">action_complete</action>
3578 </actions>
3579 </object>
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" op="!=" var2="0" />
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_complete_text1=File Operation Complete</action>
3588 <action function="page">action_complete</action>
3589 </actions>
3590 </object>
3591
3592 <object type="action">
3593 <condition var1="tw_include_text3" var2="0" />
3594 <actions>
3595 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3596 </actions>
3597 </object>
3598
3599 <object type="action">
3600 <condition var1="tw_include_text3" var2="1" />
3601 <actions>
3602 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3603 </actions>
3604 </object>
3605 </page>
3606
3607 <page name="decrypt">
3608 <object type="template" name="header" />
3609
3610 <object type="text" color="%text_color%">
3611 <font resource="font" />
3612 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3613 <text>Please Enter Your Password</text>
3614 </object>
3615
3616 <object type="input">
3617 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3618 <background color="%input_background_color%" />
3619 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3620 <font resource="font" color="%text_color%" />
3621 <text>%tw_crypto_display%</text>
3622 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3623 <restrict minlen="1" maxlen="254" />
3624 <actions>
3625 <action function="page">trydecrypt</action>
3626 </actions>
3627 </object>
3628
3629 <object type="text" color="%text_fail_color%">
3630 <condition var1="tw_password_fail" var2="1" />
3631 <font resource="font" />
3632 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3633 <text>Password Failed, Please Try Again</text>
3634 </object>
3635
3636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003638 <placement x="%col_center_x%" y="%cancel_button_y%" />
3639 <font resource="font" color="%button_text_color%" />
3640 <text>Cancel</text>
3641 <image resource="main_button" />
3642 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003643 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003644 <action function="page">main</action>
3645 </actions>
3646 </object>
3647
3648 <object type="template" name="keyboardtemplate" />
3649
Dees_Troy51a0e822012-09-05 15:24:24 -04003650 <object type="template" name="footer" />
3651 </page>
3652
3653 <page name="trydecrypt">
3654 <object type="template" name="header" />
3655
3656 <object type="text" color="%text_color%">
3657 <font resource="font" />
3658 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3659 <text>Trying Decryption with Your Password</text>
3660 </object>
3661
3662 <object type="template" name="action_page_console" />
3663
3664 <object type="template" name="progress_bar" />
3665
3666 <object type="action">
3667 <action function="decrypt"></action>
3668 </object>
3669
3670 <object type="action">
3671 <conditions>
3672 <condition var1="tw_operation_state" var2="1" />
3673 <condition var1="tw_operation_status" op="!=" var2="0" />
3674 </conditions>
3675 <actions>
3676 <action function="set">tw_password_fail=1</action>
3677 <action function="page">decrypt</action>
3678 </actions>
3679 </object>
3680
3681 <object type="action">
3682 <conditions>
3683 <condition var1="tw_operation_state" var2="1" />
3684 <condition var1="tw_operation_status" op="=" var2="0" />
3685 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003686 <actions>
3687 <action function="set">tw_page_done=1</action>
3688 <action function="page">main</action>
3689 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003690 </object>
3691 </page>
3692
3693 <page name="terminalfolder">
3694 <object type="template" name="header" />
3695
3696 <object type="text" color="%text_color%">
3697 <font resource="font" />
3698 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3699 <text>Browse to Starting Folder</text>
3700 </object>
3701
3702 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003703 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3705 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003706 <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 -04003707 <text>%tw_terminal_location%</text>
3708 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3709 <sort name="tw_gui_sort_order" />
3710 <icon folder="folder_icon" file="file_icon" />
3711 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003712 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003713 <filter folders="1" files="0" />
3714 <path name="tw_terminal_location" default="/" />
3715 <data name="tw_terminal" />
3716 <selection name="tw_terminal_selection" />
3717 </object>
3718
3719 <object type="template" name="sort_options" />
3720
3721 <object type="action">
3722 <touch key="home" />
3723 <action function="page">main</action>
3724 </object>
3725
3726 <object type="action">
3727 <touch key="back" />
3728 <action function="page">advanced</action>
3729 </object>
3730
3731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003733 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3734 <font resource="font" color="%button_text_color%" />
3735 <text>Select Folder</text>
3736 <image resource="main_button" />
3737 <actions>
3738 <action function="page">terminalcommand</action>
3739 </actions>
3740 </object>
3741
3742 <object type="template" name="footer" />
3743 </page>
3744
3745 <page name="terminalcommand">
3746 <background color="#000000FF" />
3747
3748 <object type="console">
3749 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3750 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3751 <font resource="fixed" />
3752 </object>
3753
3754 <object type="text" color="%text_color%">
3755 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3756 <font resource="font" />
3757 <text>Starting Path: %tw_terminal_location%</text>
3758 </object>
3759
3760 <object type="input">
3761 <condition var1="tw_terminal_state" var2="0" />
3762 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3763 <background color="%input_background_color%" />
3764 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3765 <font resource="font" color="%text_color%" />
3766 <text>%tw_terminal_command%</text>
3767 <data name="tw_terminal_command" />
3768 <restrict minlen="1" />
3769 <action function="terminalcommand">%tw_terminal_command%</action>
3770 </object>
3771
3772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003774 <condition var1="tw_terminal_state" var2="1" />
3775 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3776 <font resource="font" color="%button_text_color%" />
3777 <text>KILL</text>
3778 <image resource="medium_button" />
3779 <action function="killterminal"></action>
3780 </object>
3781
3782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003784 <placement x="%home_button_x%" y="%terminal_button_y%" />
3785 <font resource="font" color="%button_text_color%" />
3786 <text></text>
3787 <image resource="home_icon" />
3788 <condition var1="tw_busy" var2="0" />
3789 <action function="key">home</action>
3790 </object>
3791
3792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003794 <placement x="%back_button_x%" y="%terminal_button_y%" />
3795 <font resource="font" color="%button_text_color%" />
3796 <text></text>
3797 <image resource="back_icon" />
3798 <condition var1="tw_busy" var2="0" />
3799 <action function="key">back</action>
3800 </object>
3801
3802 <object type="action">
3803 <touch key="power" />
3804 <action function="overlay">lock</action>
3805 </object>
3806
3807 <object type="template" name="keyboardtemplate" />
3808
3809 <object type="action">
3810 <touch key="home" />
3811 <action function="page">main</action>
3812 </object>
3813
3814 <object type="action">
3815 <touch key="back" />
3816 <action function="page">terminalfolder</action>
3817 </object>
3818 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003819
3820 <page name="sideload">
3821 <object type="template" name="header" />
3822
3823 <object type="text" color="%text_color%">
3824 <font resource="font" />
3825 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3826 <text>ADB Sideload</text>
3827 </object>
3828
3829 <object type="checkbox">
3830 <placement x="%col1_x%" y="%row3_text_y%" />
3831 <font resource="font" color="%text_color%" />
3832 <text>Wipe Dalvik Cache.</text>
3833 <data variable="tw_wipe_dalvik" />
3834 <image checked="checkbox_true" unchecked="checkbox_false" />
3835 </object>
3836
3837 <object type="checkbox">
3838 <placement x="%col1_x%" y="%row4_text_y%" />
3839 <font resource="font" color="%text_color%" />
3840 <text>Wipe Cache.</text>
3841 <data variable="tw_wipe_cache" />
3842 <image checked="checkbox_true" unchecked="checkbox_false" />
3843 </object>
3844
3845 <object type="slider">
3846 <placement x="%slider_x%" y="%slider_y%" />
3847 <resource base="slider" used="slider-used" touch="slider-touch" />
3848 <actions>
3849 <action function="set">tw_back=advanced</action>
3850 <action function="set">tw_action=adbsideload</action>
3851 <action function="set">tw_action_text1=ADB Sideload</action>
3852 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3853 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3854 <action function="set">tw_has_cancel=1</action>
3855 <action function="set">tw_show_reboot=1</action>
3856 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3857 <action function="page">action_page</action>
3858 </actions>
3859 </object>
3860
3861 <object type="text" color="%text_color%">
3862 <font resource="font" />
3863 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3864 <text>Swipe to Start Sideload</text>
3865 </object>
3866
3867 <object type="action">
3868 <touch key="home" />
3869 <action function="page">main</action>
3870 </object>
3871
3872 <object type="action">
3873 <touch key="back" />
3874 <action function="page">advanced</action>
3875 </object>
3876
3877 <object type="template" name="footer" />
3878 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003879
3880 <page name="installsu">
3881 <object type="template" name="header" />
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3886 <text>Install SuperSU?</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3892 <text>Your device does not appear to be rooted.</text>
3893 </object>
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3898 <text>Install SuperSU now? This will root your device.</text>
3899 </object>
3900
3901 <object type="button">
3902 <highlight color="%highlight_color%" />
3903 <placement x="%col_center_x%" y="%row2_medium_y%" />
3904 <font resource="font" color="%button_text_color%" />
3905 <text>Do Not Install</text>
3906 <image resource="main_button" />
3907 <action function="set">tw_page_done=1</action>
3908 </object>
3909
3910 <object type="slider">
3911 <placement x="%slider_x%" y="%slider_y%" />
3912 <resource base="slider" used="slider-used" touch="slider-touch" />
3913 <actions>
3914 <action function="set">tw_action=installsu</action>
3915 <action function="set">tw_action_text1=Installing SuperSU</action>
3916 <action function="set">tw_action_text2=</action>
3917 <action function="page">singleaction_page</action>
3918 </actions>
3919 </object>
3920
3921 <object type="text" color="%text_color%">
3922 <font resource="font" />
3923 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3924 <text>Swipe to Install</text>
3925 </object>
3926 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003927 </pages>
3928</recovery>