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