blob: 84f4702983e99f125106fc97db07bcae378bd0db [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1024" height="768" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
14 <resource name="base" type="image" filename="background.jpg" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="main_button" type="image" filename="button" />
16 <resource name="file_icon" type="image" filename="file" />
17 <resource name="folder_icon" type="image" filename="folder" />
18 <resource name="progress" type="animation" filename="indeterminate" />
19 <resource name="progress_empty" type="image" filename="progress_empty" />
20 <resource name="progress_full" type="image" filename="progress_fill" />
21 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
22 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
23 <resource name="radio_false" type="image" filename="radio_empty" />
24 <resource name="radio_true" type="image" filename="radio_selected" />
25 <resource name="medium_button" type="image" filename="medium-button" />
26 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
27 <resource name="sort_button" type="image" filename="sort-button" />
28 <resource name="minus_button" type="image" filename="minus-button" />
29 <resource name="plus_button" type="image" filename="plus-button" />
30 <resource name="home_icon" type="image" filename="home-icon" />
31 <resource name="back_icon" type="image" filename="back-icon" />
32 <resource name="console_button" type="image" filename="console-toggle" />
33 <resource name="slider" type="image" filename="slider" />
34 <resource name="slider-used" type="image" filename="slider-used" />
35 <resource name="slider-touch" type="image" filename="slider-touch" />
36 <resource name="unlock-icon" type="image" filename="unlock" />
37 <resource name="keyboard1" type="image" filename="keyboard1" />
38 <resource name="keyboard2" type="image" filename="keyboard2" />
39 <resource name="keyboard3" type="image" filename="keyboard3" />
40 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010041 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040042 </resources>
43
44 <variables>
45 <variable name="col1_x" value="23" />
46 <variable name="col2_x" value="269" />
47 <variable name="col3_x" value="515" />
48 <variable name="col4_x" value="761" />
49 <variable name="row1_y" value="127" />
50 <variable name="row2_y" value="388" />
51 <variable name="col_center_x" value="392" />
52 <variable name="center_x" value="512" />
53 <variable name="screen_width" value="1024" />
54 <variable name="screen_height" value="768" />
55 <variable name="col_progressbar_x" value="386" />
56 <variable name="row_progressbar_y" value="700" />
57 <variable name="col1_medium_x" value="257" />
58 <variable name="col2_medium_x" value="387" />
59 <variable name="col3_medium_x" value="517" />
60 <variable name="col4_medium_x" value="647" />
61 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060062 <variable name="row2_medium_y" value="245" />
Dees_Troy51a0e822012-09-05 15:24:24 -040063 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060064 <variable name="row4_medium_y" value="450" />
Dees_Troy51a0e822012-09-05 15:24:24 -040065 <variable name="row5_medium_y" value="405" />
66 <variable name="row1_text_y" value="58" />
67 <variable name="row2_text_y" value="105" />
68 <variable name="row3_text_y" value="140" />
69 <variable name="row4_text_y" value="170" />
70 <variable name="row5_text_y" value="200" />
71 <variable name="row6_text_y" value="230" />
72 <variable name="row7_text_y" value="260" />
73 <variable name="row8_text_y" value="290" />
74 <variable name="row9_text_y" value="320" />
75 <variable name="row10_text_y" value="350" />
76 <variable name="row11_text_y" value="380" />
77 <variable name="row12_text_y" value="410" />
78 <variable name="row13_text_y" value="440" />
79 <variable name="row14_text_y" value="470" />
80 <variable name="row15_text_y" value="500" />
81 <variable name="row16_text_y" value="530" />
82 <variable name="row17_text_y" value="560" />
83 <variable name="row18_text_y" value="590" />
84 <variable name="row_offsetmedium_y" value="465" />
85 <variable name="home_button_x" value="813" />
86 <variable name="home_button_y" value="5" />
87 <variable name="back_button_x" value="883" />
88 <variable name="back_button_y" value="5" />
89 <variable name="console_button_x" value="953" />
90 <variable name="console_button_y" value="5" />
91 <variable name="nandcheck_col1" value="150" />
92 <variable name="nandcheck_col2" value="450" />
93 <variable name="nandcheck_row1" value="150" />
94 <variable name="nandcheck_row2" value="200" />
95 <variable name="nandcheck_row3" value="250" />
96 <variable name="nandcheck_row4" value="300" />
97 <variable name="nandcheck_row5" value="350" />
98 <variable name="nandcheck_row6" value="400" />
99 <variable name="nandcheck_row7" value="450" />
100 <variable name="button_text_color" value="#AAAAAA" />
101 <variable name="text_color" value="#A0A0A0" />
102 <variable name="text_success_color" value="#33B5E5" />
103 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600104 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400105 <variable name="slider_x" value="307" />
106 <variable name="slider_y" value="600" />
107 <variable name="slider_text_y" value="650" />
108 <variable name="sort_text_x" value="270" />
109 <variable name="sort_asc_text_y" value="655" />
110 <variable name="sort_asc_button_y" value="650" />
111 <variable name="sort_desc_text_y" value="700" />
112 <variable name="sort_desc_button_y" value="695" />
113 <variable name="sort_col1_button_x" value="440" />
114 <variable name="sort_col2_button_x" value="510" />
115 <variable name="sort_col3_button_x" value="580" />
116 <variable name="col1_sdext_x" value="370" />
117 <variable name="col2_sdext_x" value="600" />
118 <variable name="row1_sdext_y" value="115" />
119 <variable name="row2_sdext_y" value="180" />
120 <variable name="row_extsize_y" value="115" />
121 <variable name="row_swapsize_y" value="180" />
122 <variable name="input_x" value="28" />
123 <variable name="input_width" value="944" />
124 <variable name="input_height" value="30" />
125 <variable name="input_background_color" value="#303030" />
126 <variable name="input_cursor_color" value="#33B5E5" />
127 <variable name="input_cursor_width" value="3" />
128 <variable name="console_x" value="25" />
129 <variable name="console_width" value="974" />
130 <variable name="console_foreground" value="#A0A0A0" />
131 <variable name="console_background" value="#303030" />
132 <variable name="console_scroll" value="#303030" />
133 <variable name="console_action_height" value="320" />
134 <variable name="console_install_height" value="440" />
135 <variable name="console_installdone_height" value="300" />
136 <variable name="fileselector_folder_x" value="28" />
137 <variable name="fileselector_folder_width" value="282" />
138 <variable name="fileselector_folderonly_width" value="460" />
139 <variable name="fileselector_file_x" value="317" />
140 <variable name="fileselector_file_width" value="682" />
141 <variable name="fileselector_install_y" value="120" />
142 <variable name="fileselector_install_height" value="510" />
143 <variable name="fileselector_header_background" value="#202020" />
144 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
145 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
146 <variable name="fileselector_header_separatorheight" value="3" />
147 <variable name="fileselector_separatorcolor" value="#505050" />
148 <variable name="fileselector_separatorheight" value="2" />
149 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600150 <variable name="fileselector_highlight_color" value="#505050" />
151 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100153 <variable name="fastscroll_linecolor" value="#808080" />
154 <variable name="fastscroll_rectcolor" value="#808080" />
155 <variable name="fastscroll_w" value="32" />
156 <variable name="fastscroll_linew" value="2" />
157 <variable name="fastscroll_rectw" value="24" />
158 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400159 <variable name="zipstorage_text_y" value="88" />
160 <variable name="listbox_x" value="269" />
161 <variable name="listbox_y" value="90" />
162 <variable name="listbox_width" value="460" />
163 <variable name="listbox_tz_height" value="290" />
164 <variable name="listbox_background" value="#303030" />
165 <variable name="listbox_spacing" value="18" />
166 <variable name="sd_plus_x" value="280" />
167 <variable name="lock_x" value="312" />
168 <variable name="lock_y" value="184" />
169 <variable name="filemanager_select_x" value="761" />
170 <variable name="filemanager_select_y" value="620" />
171 <variable name="backup_name_text_y" value="440" />
172 <variable name="backup_name_button_y" value="240" />
173 <variable name="col_right_x" value="996" />
174 <variable name="cancel_button_y" value="240" />
175 <variable name="terminal_console_y" value="0" />
176 <variable name="terminal_console_height" value="362" />
177 <variable name="terminal_text_y" value="368" />
178 <variable name="terminal_button_y" value="358" />
179 <variable name="terminal_input_width" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="button_fill_color" value="#303030" />
181 <variable name="button_fill_full_width" value="512" />
182 <variable name="button_fill_main_width" value="486" />
183 <variable name="button_fill_main_height" value="150" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000184 <variable name="button_fill_half_height" value="50" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500185 <variable name="button_fill_quarter_height" value="30" />
186 <variable name="button_full_center_x" value="256" />
187 <variable name="backup_list_x" value="23" />
188 <variable name="backup_list_y" value="105" />
189 <variable name="backup_list_width" value="486" />
190 <variable name="backup_list_height" value="450" />
191 <variable name="backup_storage_y" value="250" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000192 <variable name="backup_encrypt_y" value="310" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500193 <variable name="restore_list_y" value="140" />
194 <variable name="restore_list_height" value="400" />
195 <variable name="mount_list_height" value="500" />
196 <variable name="mount_storage_row" value="500" />
197 <variable name="wipe_list_height" value="400" />
198 <variable name="wipe_button_y" value="190" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200199 <variable name="slidervalue_x" value="256" />
200 <variable name="slidervalue_w" value="512" />
201 <variable name="slidervalue_line_clr" value="#FFFFFF" />
202 <variable name="slidervalue_slider_clr" value="#33B5E5" />
203 <variable name="slidervalue_lineh" value="2" />
204 <variable name="slidervalue_padding" value="0" />
205 <variable name="slidervalue_sliderw" value="10" />
206 <variable name="slidervalue_sliderh" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400207 </variables>
208
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100209 <mousecursor>
210 <placement w="15" h="15" />
211 <background color="#FFFF00FF" resource="cursor" />
212 <speed multiplier="2" />
213 </mousecursor>
214
Dees_Troy51a0e822012-09-05 15:24:24 -0400215 <templates>
216 <template name="header">
217 <background color="#000000FF" />
218
219 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400220 <image resource="base" />
221 <placement x="0" y="0" />
222 </object>
223
Dees_Troy51a0e822012-09-05 15:24:24 -0400224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000227 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
232 <placement x="250" y="30" />
233 <conditions>
234 <condition var1="tw_no_battery_percent" var2="0" />
235 <condition var1="tw_battery" op=">" var2="0" />
236 <condition var1="tw_battery" op="<" var2="101" />
237 </conditions>
238 <text>Battery Level: %tw_battery%</text>
239 </object>
240
241 <object type="text" color="%text_color%">
242 <font resource="font" />
243 <placement x="450" y="30" />
244 <text>%tw_time%</text>
245 </object>
246
247 <object type="text" color="%text_color%">
248 <condition var1="tw_simulate_actions" var2="1" />
249 <font resource="font" />
250 <placement x="550" y="30" />
251 <text>SIMULATING ACTIONS</text>
252 </object>
253
254 <object type="button">
255 <placement x="%home_button_x%" y="%home_button_y%" />
256 <font resource="font" color="%button_text_color%" />
257 <text></text>
258 <image resource="home_icon" />
259 <condition var1="tw_busy" var2="0" />
260 <action function="key">home</action>
261 </object>
262
263 <object type="button">
264 <placement x="%back_button_x%" y="%back_button_y%" />
265 <font resource="font" color="%button_text_color%" />
266 <text></text>
267 <image resource="back_icon" />
268 <condition var1="tw_busy" var2="0" />
269 <action function="key">back</action>
270 </object>
271
272 <object type="action">
273 <touch key="power" />
274 <action function="overlay">lock</action>
275 </object>
276 </template>
277
278 <template name="progress_bar">
279 <object type="progressbar">
280 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
281 <resource empty="progress_empty" full="progress_full" />
282 <data name="ui_progress" />
283 </object>
284
285 <object type="animation">
286 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
287 <resource name="progress" />
288 <speed fps="15" render="2" />
289 <loop frame="1" />
290 </object>
291 </template>
292
293 <template name="sort_options">
294 <object type="text" color="%text_color%">
295 <font resource="font" />
296 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
297 <text>Sort Ascending:</text>
298 </object>
299
300 <object type="button">
301 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Name</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=1</action>
306 </object>
307
308 <object type="button">
309 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
310 <font resource="font" color="%button_text_color%" />
311 <text>Date</text>
312 <image resource="sort_button" />
313 <action function="set">tw_gui_sort_order=2</action>
314 </object>
315
316 <object type="button">
317 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Size</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=3</action>
322 </object>
323
324 <object type="text" color="%text_color%">
325 <font resource="font" />
326 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
327 <text>Sort Descending:</text>
328 </object>
329
330 <object type="button">
331 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Name</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=-1</action>
336 </object>
337
338 <object type="button">
339 <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">
347 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
348 <font resource="font" color="%button_text_color%" />
349 <text>Size</text>
350 <image resource="sort_button" />
351 <action function="set">tw_gui_sort_order=-3</action>
352 </object>
353 </template>
354
355 <template name="flash_zip_console">
356 <object type="console">
357 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
358 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
359 <font resource="fixed" />
360 </object>
361 </template>
362
363 <template name="action_page_console">
364 <object type="console">
365 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
366 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
367 <font resource="fixed" />
368 </object>
369 </template>
370
371 <template name="footer">
372 <object type="console">
373 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
374 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
375 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
376 <font resource="fixed" />
377 </object>
378 </template>
379
380 <template name="keyboardtemplate">
381 <object type="keyboard">
382 <placement x="0" y="408" />
383 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600384 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400385 <layout1>
386 <keysize height="90" width="85" />
387 <row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" />
388 <row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" />
389 <row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" />
390 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
391 </layout1>
392 <layout2>
393 <keysize height="90" width="85" />
394 <row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" />
395 <row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" />
396 <row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" />
397 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
398 </layout2>
399 <layout3>
400 <keysize height="90" width="85" />
401 <row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" />
402 <row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" />
403 <row3 key01="140:layout4" key02="82:<" key03="82:>" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" />
404 <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" />
405 </layout3>
406 <layout4>
407 <keysize height="90" width="85" />
408 <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" />
409 <row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" />
410 <row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" />
411 <row4 key01="320:" key02="385: " />
412 </layout4>
413 </object>
414 </template>
415 </templates>
416
417 <pages>
418 <page name="main">
419 <object type="action">
420 <actions>
421 <action function="set">tw_clear_destination=main2</action>
422 <action function="page">clear_vars</action>
423 </actions>
424 </object>
425 </page>
426
427 <page name="main2">
428 <object type="template" name="header" />
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row1_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Install</text>
435 <image resource="main_button" />
436 <actions>
437 <action function="queueclear"></action>
438 <action function="page">install</action>
439 </actions>
440 </object>
441
442 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600443 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400444 <placement x="%col2_x%" y="%row1_y%" />
445 <font resource="font" color="%button_text_color%" />
446 <text>Backup</text>
447 <image resource="main_button" />
448 <action function="page">backup</action>
449 </object>
450
451 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600452 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400453 <placement x="%col3_x%" y="%row1_y%" />
454 <font resource="font" color="%button_text_color%" />
455 <text>Restore</text>
456 <image resource="main_button" />
457 <action function="page">restore</action>
458 </object>
459
460 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600461 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400462 <placement x="%col4_x%" y="%row1_y%" />
463 <font resource="font" color="%button_text_color%" />
464 <text>Wipe</text>
465 <image resource="main_button" />
466 <action function="page">wipe</action>
467 </object>
468
469 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600470 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400471 <placement x="%col1_x%" y="%row2_y%" />
472 <font resource="font" color="%button_text_color%" />
473 <text>Mount</text>
474 <image resource="main_button" />
475 <action function="page">mount</action>
476 </object>
477
478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600479 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400480 <placement x="%col2_x%" y="%row2_y%" />
481 <font resource="font" color="%button_text_color%" />
482 <text>Settings</text>
483 <image resource="main_button" />
484 <action function="page">settings</action>
485 </object>
486
487 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600488 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400489 <placement x="%col3_x%" y="%row2_y%" />
490 <font resource="font" color="%button_text_color%" />
491 <text>Advanced</text>
492 <image resource="main_button" />
493 <action function="page">advanced</action>
494 </object>
495
496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600497 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <placement x="%col4_x%" y="%row2_y%" />
499 <font resource="font" color="%button_text_color%" />
500 <text>Reboot</text>
501 <image resource="main_button" />
502 <action function="page">reboot</action>
503 </object>
504
505 <object type="template" name="footer" />
506 </page>
507
508 <page name="install">
509 <object type="template" name="header" />
510
511 <object type="text" color="%text_color%">
512 <font resource="font" />
513 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
514 <text>Select Zip to Install</text>
515 </object>
516
517 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500518 <highlight color="%highlight_color%" />
519 <fill color="%button_fill_color%" />
520 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
521 <font resource="font" color="%button_text_color%" />
522 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
523 <actions>
524 <action function="set">tw_back=install</action>
525 <action function="page">selectstorage</action>
526 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400527 </object>
528
529 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600530 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400531 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
532 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100533 <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 -0400534 <text>Folders:</text>
535 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
536 <sort name="tw_gui_sort_order" />
537 <icon folder="folder_icon" file="file_icon" />
538 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600539 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400540 <filter folders="1" files="0" />
541 <path name="tw_zip_location" default="/sdcard" />
542 <data name="select" />
543 </object>
544
545 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600546 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400547 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
548 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100549 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400550 <text>%tw_zip_location%</text>
551 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
552 <sort name="tw_gui_sort_order" />
553 <icon folder="folder_icon" file="file_icon" />
554 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600555 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400556 <filter extn=".zip" folders="0" files="1" />
557 <path name="tw_zip_location" />
558 <data name="tw_filename" />
559 <selection name="tw_file" />
560 </object>
561
562 <object type="template" name="sort_options" />
563
564 <object type="action">
565 <condition var1="tw_filename" op="modified" />
566 <actions>
567 <action function="queuezip"></action>
568 <action function="page">flash_confirm</action>
569 </actions>
570 </object>
571
572 <object type="action">
573 <touch key="back" />
574 <action function="page">main</action>
575 </object>
576
577 <object type="action">
578 <touch key="home" />
579 <action function="page">main</action>
580 </object>
581
582 <object type="template" name="footer" />
583 </page>
584
585 <page name="flash_confirm">
586 <object type="template" name="header" />
587
588 <object type="text" color="%text_color%">
589 <font resource="font" />
590 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
591 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
592 </object>
593
594 <object type="text" color="%text_color%">
595 <font resource="font" />
596 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
597 <text>Folder:</text>
598 </object>
599
600 <object type="text" color="%text_color%">
601 <font resource="font" />
602 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
603 <text>%tw_zip_location%</text>
604 </object>
605
606 <object type="text" color="%text_color%">
607 <font resource="font" />
608 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
609 <text>File to flash:</text>
610 </object>
611
612 <object type="text" color="%text_color%">
613 <font resource="font" />
614 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
615 <text>%tw_file%</text>
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
621 <text>Press back to cancel adding this zip.</text>
622 </object>
623
624 <object type="checkbox">
625 <placement x="%col2_x%" y="%row7_text_y%" />
626 <font resource="font" color="%text_color%" />
627 <text>Zip file signature verification?</text>
628 <data variable="tw_signed_zip_verify" />
629 <image checked="checkbox_true" unchecked="checkbox_false" />
630 </object>
631
Dees_Troy51a0e822012-09-05 15:24:24 -0400632 <object type="text" color="%text_color%">
633 <font resource="font" />
634 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
635 <text>File %tw_zip_queue_count% of max of 10</text>
636 </object>
637
638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
641 <placement x="%col2_x%" y="%row5_medium_y%" />
642 <font resource="font" color="%button_text_color%" />
643 <text>Add More Zips</text>
644 <image resource="mediumwide_button" />
645 <action function="page">install</action>
646 </object>
647
648 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600649 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400650 <placement x="%col3_x%" y="%row5_medium_y%" />
651 <font resource="font" color="%button_text_color%" />
652 <text>Clear Queue</text>
653 <image resource="mediumwide_button" />
654 <actions>
655 <action function="queueclear"></action>
656 <action function="page">install</action>
657 </actions>
658 </object>
659
660 <object type="slider">
661 <placement x="%slider_x%" y="%slider_y%" />
662 <resource base="slider" used="slider-used" touch="slider-touch" />
663 <action function="flash">flash_zip</action>
664 </object>
665
666 <object type="text" color="%text_color%">
667 <font resource="font" />
668 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
669 <text>Swipe to Confirm Flash</text>
670 </object>
671
672 <object type="action">
673 <touch key="back" />
674 <actions>
675 <action function="cancelzip"></action>
676 <action function="page">install</action>
677 </actions>
678 </object>
679
680 <object type="action">
681 <touch key="home" />
682 <action function="page">main</action>
683 </object>
684
685 <object type="template" name="footer" />
686 </page>
687
688 <page name="flash_zip">
689 <object type="template" name="header" />
690
691 <object type="template" name="flash_zip_console" />
692
693 <object type="text" color="%text_color%">
694 <font resource="font" />
695 <placement x="%col1_x%" y="%row16_text_y%" />
696 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
697 </object>
698
699 <object type="text" color="%text_color%">
700 <font resource="font" />
701 <placement x="%col1_x%" y="%row17_text_y%" />
702 <text>%tw_filename%</text>
703 </object>
704
705 <object type="template" name="progress_bar" />
706
707 <object type="action">
708 <condition var1="tw_operation_state" var2="1" />
709 <action function="page">flash_done</action>
710 </object>
711 </page>
712
713 <page name="flash_done">
714 <object type="template" name="header" />
715
716 <object type="template" name="flash_zip_console" />
717
718 <object type="text" color="%text_fail_color%">
719 <condition var1="tw_operation_status" op="!=" var2="0" />
720 <font resource="font" />
721 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
722 <text>Failed</text>
723 </object>
724
725 <object type="text" color="%text_success_color%">
726 <condition var1="tw_operation_status" var2="0" />
727 <font resource="font" />
728 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
729 <text>Successful</text>
730 </object>
731
732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <placement x="%col1_x%" y="%slider_y%" />
735 <font resource="font" color="%button_text_color%" />
736 <text>Wipe Cache/Dalvik</text>
737 <image resource="main_button" />
738 <actions>
739 <action function="set">tw_back=flash_done</action>
740 <action function="set">tw_action=wipe</action>
741 <action function="set">tw_action_param=/cache</action>
742 <action function="set">tw_has_action2=1</action>
743 <action function="set">tw_action2=wipe</action>
744 <action function="set">tw_action2_param=dalvik</action>
745 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
746 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
747 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
748 <action function="set">tw_slider_text=Swipe to Wipe</action>
749 <action function="page">confirm_action</action>
750 </actions>
751 </object>
752
753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <condition var1="tw_reboot_system" var2="1" />
756 <placement x="%col4_x%" y="%slider_y%" />
757 <font resource="font" color="%button_text_color%" />
758 <text>Reboot System</text>
759 <image resource="main_button" />
760 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400761 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <action function="set">tw_action=reboot</action>
763 <action function="set">tw_action_param=system</action>
764 <action function="set">tw_has_action2=0</action>
765 <action function="set">tw_text1=No OS Installed! Are you</action>
766 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400767 <action function="set">tw_text3=</action>
768 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400769 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400770 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400771 <action function="set">tw_complete_text1=Rebooting...</action>
772 <action function="set">tw_slider_text=Swipe to Reboot</action>
773 <action function="page">rebootcheck</action>
774 </actions>
775 </object>
776
777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400779 <placement x="%col_center_x%" y="%slider_y%" />
780 <font resource="font" color="%button_text_color%" />
781 <text>Home</text>
782 <image resource="main_button" />
783 <actions>
784 <action function="set">tw_clear_destination=main2</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </object>
788
789 <object type="action">
790 <touch key="back" />
791 <actions>
792 <action function="set">tw_clear_destination=install</action>
793 <action function="page">clear_vars</action>
794 </actions>
795 </object>
796
797 <object type="action">
798 <touch key="home" />
799 <actions>
800 <action function="set">tw_clear_destination=main2</action>
801 <action function="page">clear_vars</action>
802 </actions>
803 </object>
804 </page>
805
806 <page name="clear_vars">
807 <object type="action">
808 <action function="set">tw_operation_state=0</action>
809 <action function="set">tw_text1=</action>
810 <action function="set">tw_text2=</action>
811 <action function="set">tw_text3=</action>
812 <action function="set">tw_text4=</action>
813 <action function="set">tw_action_text1=</action>
814 <action function="set">tw_action_text2=</action>
815 <action function="set">tw_action_param=</action>
816 <action function="set">tw_has_action2=0</action>
817 <action function="set">tw_action2=</action>
818 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400819 <action function="set">tw_has_cancel=0</action>
820 <action function="set">tw_cancel_action=</action>
821 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400822 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400823 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400824 <action function="page">%tw_clear_destination%</action>
825 </object>
826 </page>
827
828 <page name="confirm_action">
829 <object type="template" name="header" />
830
831 <object type="text" color="%text_color%">
832 <font resource="font" />
833 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
834 <text>%tw_text1%</text>
835 </object>
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
840 <text>%tw_text2%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
846 <text>%tw_text3%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
852 <text>%tw_text4%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400857 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400858 <text>Press back button to cancel.</text>
859 </object>
860
861 <object type="slider">
862 <placement x="%slider_x%" y="%slider_y%" />
863 <resource base="slider" used="slider-used" touch="slider-touch" />
864 <action function="page">action_page</action>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
869 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
870 <text>%tw_slider_text%</text>
871 </object>
872
873 <object type="action">
874 <touch key="back" />
875 <actions>
876 <action function="set">tw_clear_destination=%tw_back%</action>
877 <action function="page">clear_vars</action>
878 </actions>
879 </object>
880
881 <object type="action">
882 <touch key="home" />
883 <action function="page">main</action>
884 </object>
885
886 <object type="template" name="footer" />
887 </page>
888
889 <page name="action_page">
890 <object type="template" name="header" />
891
892 <object type="text" color="%text_color%">
893 <font resource="font" />
894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
895 <text>%tw_action_text1%</text>
896 </object>
897
898 <object type="text" color="%text_color%">
899 <font resource="font" />
900 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
901 <text>%tw_action_text2%</text>
902 </object>
903
904 <object type="template" name="action_page_console" />
905
Dees_Troy2691f9d2012-09-24 11:15:49 -0400906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600907 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400908 <condition var1="tw_has_cancel" var2="1" />
909 <placement x="%col4_x%" y="%slider_y%" />
910 <font resource="font" color="%button_text_color%" />
911 <text>Cancel</text>
912 <image resource="main_button" />
913 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
914 </object>
915
Dees_Troy51a0e822012-09-05 15:24:24 -0400916 <object type="template" name="progress_bar" />
917
918 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400919 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400920 <actions>
921 <action function="page">action_complete</action>
922 </actions>
923 </object>
924
925 <object type="action">
926 <condition var1="tw_has_action2" var2="0" />
927 <actions>
928 <action function="%tw_action%">%tw_action_param%</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="1" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 <action function="%tw_action2%">%tw_action2_param%</action>
937 </actions>
938 </object>
939 </page>
940
Dees_Troy6ef66352013-02-21 08:26:57 -0600941 <page name="singleaction_page">
942 <object type="template" name="header" />
943
944 <object type="text" color="%text_color%">
945 <font resource="font" />
946 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
947 <text>%tw_action_text1%</text>
948 </object>
949
950 <object type="text" color="%text_color%">
951 <font resource="font" />
952 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
953 <text>%tw_action_text2%</text>
954 </object>
955
956 <object type="template" name="action_page_console" />
957
958 <object type="template" name="progress_bar" />
959
960 <object type="action">
961 <condition var1="tw_operation_state" var2="1" />
962 <actions>
963 <action function="set">tw_page_done=1</action>
964 </actions>
965 </object>
966
967 <object type="action">
968 <condition var1="tw_has_action2" var2="0" />
969 <actions>
970 <action function="%tw_action%">%tw_action_param%</action>
971 </actions>
972 </object>
973
974 <object type="action">
975 <condition var1="tw_has_action2" var2="1" />
976 <actions>
977 <action function="%tw_action%">%tw_action_param%</action>
978 <action function="%tw_action2%">%tw_action2_param%</action>
979 </actions>
980 </object>
981 </page>
982
Dees_Troy51a0e822012-09-05 15:24:24 -0400983 <page name="action_complete">
984 <object type="template" name="header" />
985
986 <object type="text" color="%text_color%">
987 <font resource="font" />
988 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
989 <text>%tw_complete_text1%</text>
990 </object>
991
992 <object type="text" color="%text_fail_color%">
993 <condition var1="tw_operation_status" op="!=" var2="0" />
994 <font resource="font" />
995 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
996 <text>Failed</text>
997 </object>
998
999 <object type="text" color="%text_success_color%">
1000 <condition var1="tw_operation_status" var2="0" />
1001 <font resource="font" />
1002 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1003 <text>Successful</text>
1004 </object>
1005
1006 <object type="template" name="action_page_console" />
1007
1008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001009 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001011 <placement x="%col_center_x%" y="%slider_y%" />
1012 <font resource="font" color="%button_text_color%" />
1013 <text>Back</text>
1014 <image resource="main_button" />
1015 <actions>
1016 <action function="set">tw_clear_destination=%tw_back%</action>
1017 <action function="page">clear_vars</action>
1018 </actions>
1019 </object>
1020
Dees_Troya3f81542012-10-08 10:58:53 -04001021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001022 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001023 <condition var1="tw_show_reboot" var2="1" />
1024 <placement x="%col_center_x%" y="%slider_y%" />
1025 <font resource="font" color="%button_text_color%" />
1026 <text>Reboot System</text>
1027 <image resource="main_button" />
1028 <actions>
1029 <action function="set">tw_back=main2</action>
1030 <action function="set">tw_action=reboot</action>
1031 <action function="set">tw_action_param=system</action>
1032 <action function="set">tw_has_action2=0</action>
1033 <action function="set">tw_text1=No OS Installed! Are you</action>
1034 <action function="set">tw_text2=sure you wish to reboot?</action>
1035 <action function="set">tw_text3=</action>
1036 <action function="set">tw_text4=</action>
1037 <action function="set">tw_action_text1=Rebooting...</action>
1038 <action function="set">tw_action_text2=</action>
1039 <action function="set">tw_complete_text1=Rebooting...</action>
1040 <action function="set">tw_slider_text=Swipe to Reboot</action>
1041 <action function="page">rebootcheck</action>
1042 </actions>
1043 </object>
1044
Dees_Troy51a0e822012-09-05 15:24:24 -04001045 <object type="action">
1046 <touch key="home" />
1047 <actions>
1048 <action function="set">tw_clear_destination=main2</action>
1049 <action function="page">clear_vars</action>
1050 </actions>
1051 </object>
1052
1053 <object type="action">
1054 <touch key="back" />
1055 <actions>
1056 <action function="set">tw_clear_destination=%tw_back%</action>
1057 <action function="page">clear_vars</action>
1058 </actions>
1059 </object>
1060 </page>
1061
1062 <page name="filecheck">
1063 <object type="action">
1064 <action function="fileexists">%tw_filecheck%</action>
1065 </object>
1066
1067 <object type="action">
1068 <conditions>
1069 <condition var1="tw_operation_state" var2="1" />
1070 <condition var1="tw_operation_status" var2="0" />
1071 </conditions>
1072 <actions>
1073 <action function="set">tw_fileexists=1</action>
1074 <action function="page">%tw_existpage%</action>
1075 </actions>
1076 </object>
1077
1078 <object type="action">
1079 <conditions>
1080 <condition var1="tw_operation_state" var2="1" />
1081 <condition var1="tw_operation_status" var2="1" />
1082 </conditions>
1083 <actions>
1084 <action function="set">tw_fileexists=0</action>
1085 <action function="page">%tw_notexistpage%</action>
1086 </actions>
1087 </object>
1088 </page>
1089
1090 <page name="rebootcheck">
1091 <object type="action">
1092 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1093 <action function="reboot">%tw_action_param%</action>
1094 </object>
1095
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1098 <action function="page">confirm_action</action>
1099 </object>
1100 </page>
1101
1102 <page name="reboot">
1103 <object type="template" name="header" />
1104
1105 <object type="text" color="%text_color%">
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1108 <text>Reboot Menu</text>
1109 </object>
1110
1111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001113 <condition var1="tw_reboot_system" var2="1" />
1114 <placement x="%col1_x%" y="%row1_y%" />
1115 <font resource="font" color="%button_text_color%" />
1116 <text>System</text>
1117 <image resource="main_button" />
1118 <actions>
1119 <action function="set">tw_back=reboot</action>
1120 <action function="set">tw_action=reboot</action>
1121 <action function="set">tw_action_param=system</action>
1122 <action function="set">tw_has_action2=0</action>
1123 <action function="set">tw_text1=No OS Installed! Are you</action>
1124 <action function="set">tw_text2=sure you wish to reboot?</action>
1125 <action function="set">tw_action_text1=Rebooting...</action>
1126 <action function="set">tw_complete_text1=Rebooting...</action>
1127 <action function="set">tw_slider_text=Swipe to Reboot</action>
1128 <action function="page">rebootcheck</action>
1129 </actions>
1130 </object>
1131
1132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001133 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001134 <condition var1="tw_reboot_poweroff" var2="1" />
1135 <placement x="%col2_x%" y="%row1_y%" />
1136 <font resource="font" color="%button_text_color%" />
1137 <text>Power Off</text>
1138 <image resource="main_button" />
1139 <actions>
1140 <action function="set">tw_back=reboot</action>
1141 <action function="set">tw_action=reboot</action>
1142 <action function="set">tw_action_param=poweroff</action>
1143 <action function="set">tw_has_action2=0</action>
1144 <action function="set">tw_text1=No OS Installed! Are you</action>
1145 <action function="set">tw_text2=sure you wish to power off?</action>
1146 <action function="set">tw_action_text1=Turning Off...</action>
1147 <action function="set">tw_complete_text1=Turning Off...</action>
1148 <action function="set">tw_slider_text=Swipe to Power Off</action>
1149 <action function="page">rebootcheck</action>
1150 </actions>
1151 </object>
1152
1153 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001154 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 <condition var1="tw_reboot_recovery" var2="1" />
1156 <placement x="%col1_x%" y="%row2_y%" />
1157 <font resource="font" color="%button_text_color%" />
1158 <text>Recovery</text>
1159 <image resource="main_button" />
1160 <actions>
1161 <action function="set">tw_back=reboot</action>
1162 <action function="set">tw_action=reboot</action>
1163 <action function="set">tw_action_param=recovery</action>
1164 <action function="set">tw_has_action2=0</action>
1165 <action function="set">tw_text1=No OS Installed! Are you</action>
1166 <action function="set">tw_text2=sure you wish to reboot?</action>
1167 <action function="set">tw_action_text1=Rebooting...</action>
1168 <action function="set">tw_complete_text1=Rebooting...</action>
1169 <action function="set">tw_slider_text=Swipe to Reboot</action>
1170 <action function="page">rebootcheck</action>
1171 </actions>
1172 </object>
1173
1174 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001175 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001176 <condition var1="tw_reboot_bootloader" var2="1" />
1177 <placement x="%col2_x%" y="%row2_y%" />
1178 <font resource="font" color="%button_text_color%" />
1179 <text>Bootloader</text>
1180 <image resource="main_button" />
1181 <actions>
1182 <action function="set">tw_back=reboot</action>
1183 <action function="set">tw_action=reboot</action>
1184 <action function="set">tw_action_param=bootloader</action>
1185 <action function="set">tw_has_action2=0</action>
1186 <action function="set">tw_text1=No OS Installed! Are you</action>
1187 <action function="set">tw_text2=sure you wish to reboot?</action>
1188 <action function="set">tw_action_text1=Rebooting...</action>
1189 <action function="set">tw_complete_text1=Rebooting...</action>
1190 <action function="set">tw_slider_text=Swipe to Reboot</action>
1191 <action function="page">rebootcheck</action>
1192 </actions>
1193 </object>
1194
1195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001197 <condition var1="tw_download_mode" var2="1" />
1198 <placement x="%col3_x%" y="%row2_y%" />
1199 <font resource="font" color="%button_text_color%" />
1200 <text>Download</text>
1201 <image resource="main_button" />
1202 <actions>
1203 <action function="set">tw_back=reboot</action>
1204 <action function="set">tw_action=reboot</action>
1205 <action function="set">tw_action_param=download</action>
1206 <action function="set">tw_has_action2=0</action>
1207 <action function="set">tw_text1=No OS Installed! Are you</action>
1208 <action function="set">tw_text2=sure you wish to reboot?</action>
1209 <action function="set">tw_action_text1=Rebooting...</action>
1210 <action function="set">tw_complete_text1=Rebooting...</action>
1211 <action function="set">tw_slider_text=Swipe to Reboot</action>
1212 <action function="page">rebootcheck</action>
1213 </actions>
1214 </object>
1215
1216 <object type="action">
1217 <touch key="home" />
1218 <action function="page">main</action>
1219 </object>
1220
1221 <object type="action">
1222 <touch key="back" />
1223 <action function="page">main</action>
1224 </object>
1225
1226 <object type="template" name="footer" />
1227 </page>
1228
Dees_Troya13d74f2013-03-24 08:54:55 -05001229 <page name="selectstorage">
1230 <object type="template" name="header" />
1231
1232 <object type="partitionlist">
1233 <highlight color="%fileselector_highlight_color%" />
1234 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1235 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1236 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1237 <text>Select Storage:</text>
1238 <icon selected="radio_true" unselected="radio_false" />
1239 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1240 <background color="%listbox_background%" />
1241 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1242 <data name="tw_storage_path" />
1243 <listtype name="storage" />
1244 </object>
1245
Dees_Troye7e0ae82013-07-05 14:46:07 +00001246 <object type="button">
1247 <highlight color="%highlight_color%" />
1248 <placement x="%filemanager_select_x%" y="%row2_y%" />
1249 <font resource="font" color="%button_text_color%" />
1250 <text>OK</text>
1251 <image resource="main_button" />
1252 <actions>
1253 <action function="set">tw_clear_destination=%tw_back%</action>
1254 <action function="page">clear_vars</action>
1255 </actions>
1256 </object>
1257
Dees_Troya13d74f2013-03-24 08:54:55 -05001258 <object type="action">
1259 <touch key="home" />
1260 <action function="page">main</action>
1261 </object>
1262
1263 <object type="action">
1264 <touch key="back" />
1265 <actions>
1266 <action function="page">%tw_back%</action>
1267 </actions>
1268 </object>
1269
1270 <object type="template" name="footer" />
1271 </page>
1272
Dees_Troy51a0e822012-09-05 15:24:24 -04001273 <page name="mount">
1274 <object type="template" name="header" />
1275
1276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1279 <text>Mount Menu</text>
1280 </object>
1281
Dees_Troya13d74f2013-03-24 08:54:55 -05001282 <object type="partitionlist">
1283 <highlight color="%fileselector_highlight_color%" />
1284 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1285 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1286 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1287 <text>Select Partitions to Mount:</text>
1288 <icon selected="checkbox_true" unselected="checkbox_false" />
1289 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1290 <background color="%listbox_background%" />
1291 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1292 <listtype name="mount" />
1293 </object>
1294
1295 <object type="button">
1296 <highlight color="%highlight_color%" />
1297 <conditions>
1298 <condition var1="tw_is_encrypted" var2="1" />
1299 <condition var1="tw_is_decrypted" var2="0" />
1300 </conditions>
1301 <placement x="%col3_x%" y="row1_y" />
1302 <font resource="font" color="%button_text_color%" />
1303 <text>Decrypt Data</text>
1304 <image resource="main_button" />
1305 <action function="page">decrypt</action>
1306 </object>
1307
Dees_Troy51a0e822012-09-05 15:24:24 -04001308 <object type="button">
1309 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001310 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001311 <font resource="font" color="%button_text_color%" />
1312 <text>Mount USB Storage</text>
1313 <image resource="main_button" />
1314 <action function="page">usb_mount</action>
1315 </object>
1316
1317 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001318 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001319 <fill color="%button_fill_color%" />
1320 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1321 <font resource="font" color="%button_text_color%" />
1322 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1323 <actions>
1324 <action function="set">tw_back=mount</action>
1325 <action function="page">selectstorage</action>
1326 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001327 </object>
1328
1329 <object type="action">
1330 <touch key="home" />
1331 <action function="page">main</action>
1332 </object>
1333
1334 <object type="action">
1335 <touch key="back" />
1336 <action function="page">main</action>
1337 </object>
1338
1339 <object type="template" name="footer" />
1340 </page>
1341
1342 <page name="usb_mount">
1343 <object type="template" name="header" />
1344
1345 <object type="text" color="%text_color%">
1346 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1347 <font resource="font" />
1348 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1349 </object>
1350
1351 <object type="text" color="%text_color%">
1352 <placement x="%col1_x%" y="%row2_text_y%" />
1353 <font resource="font" />
1354 <text></text>
1355 </object>
1356
1357 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001358 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001359 <placement x="%col_center_x%" y="%row1_y%" />
1360 <font resource="font" color="%button_text_color%" />
1361 <text>Unmount</text>
1362 <image resource="main_button" />
1363 <action function="page">usb_umount</action>
1364 </object>
1365
1366 <object type="action">
1367 <action function="mount">usb</action>
1368 </object>
1369
1370 <object type="template" name="footer" />
1371 </page>
1372
1373 <page name="usb_umount">
1374 <object type="action">
1375 <action function="unmount">usb</action>
1376 </object>
1377
1378 <object type="action">
1379 <action function="page">mount</action>
1380 </object>
1381
1382 <object type="template" name="footer" />
1383 </page>
1384
1385 <page name="wipe">
1386 <object type="template" name="header" />
1387
1388 <object type="text" color="%text_color%">
1389 <font resource="font" />
1390 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001391 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1392 </object>
1393
1394 <object type="text" color="%text_color%">
1395 <condition var1="tw_has_data_media" var2="0" />
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1398 <text>.android_secure</text>
1399 </object>
1400
1401 <object type="text" color="%text_color%">
1402 <condition var1="tw_has_data_media" var2="1" />
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1405 <text>(not including internal storage)</text>
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <condition var1="tw_has_sdext_partition" var2="1" />
1410 <font resource="font" />
1411 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1412 <text>SD-EXT</text>
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <font resource="font" />
1417 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1418 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 </object>
1420
1421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001422 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001423 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001424 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001425 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001427 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 </object>
1429
1430 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001431 <conditions>
1432 <condition var1="tw_has_internal" var2="1" />
1433 <condition var1="tw_has_data_media" var2="1" />
1434 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001435 <highlight color="%highlight_color%" />
1436 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 <font resource="font" color="%button_text_color%" />
1438 <text>Format Data</text>
1439 <image resource="main_button" />
1440 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001441 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 </actions>
1443 </object>
1444
Dees_Troya13d74f2013-03-24 08:54:55 -05001445 <object type="text" color="%text_color%">
1446 <font resource="font" />
1447 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1448 <text>Press back button to cancel.</text>
1449 </object>
1450
1451 <object type="slider">
1452 <placement x="%slider_x%" y="%slider_y%" />
1453 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001454 <actions>
1455 <action function="set">tw_back=wipe</action>
1456 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001457 <action function="set">tw_action_param=data</action>
1458 <action function="set">tw_action_text1=Factory Reset...</action>
1459 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1460 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001461 </actions>
1462 </object>
1463
Dees_Troya13d74f2013-03-24 08:54:55 -05001464 <object type="text" color="%text_color%">
1465 <font resource="font" />
1466 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1467 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001468 </object>
1469
1470 <object type="action">
1471 <touch key="home" />
1472 <action function="page">main</action>
1473 </object>
1474
1475 <object type="action">
1476 <touch key="back" />
1477 <action function="page">main</action>
1478 </object>
1479
1480 <object type="template" name="footer" />
1481 </page>
1482
Dees_Troya13d74f2013-03-24 08:54:55 -05001483 <page name="advancedwipe">
1484 <object type="template" name="header" />
1485
1486 <object type="partitionlist">
1487 <highlight color="%fileselector_highlight_color%" />
1488 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1489 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1490 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1491 <text>Select Partitions to Wipe:</text>
1492 <icon selected="checkbox_true" unselected="checkbox_false" />
1493 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1494 <background color="%listbox_background%" />
1495 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1496 <data name="tw_wipe_list" />
1497 <listtype name="wipe" />
1498 </object>
1499
1500 <object type="slider">
1501 <placement x="%slider_x%" y="%slider_y%" />
1502 <resource base="slider" used="slider-used" touch="slider-touch" />
1503 <actions>
1504 <action function="set">tw_back=advancedwipe</action>
1505 <action function="set">tw_action=wipe</action>
1506 <action function="set">tw_action_param=LIST</action>
1507 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1508 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1509 <action function="set">tw_complete_text1=Wipe Complete</action>
1510 <action function="page">action_page</action>
1511 </actions>
1512 </object>
1513
1514 <object type="text" color="%text_color%">
1515 <font resource="font" />
1516 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1517 <text>Swipe to Wipe</text>
1518 </object>
1519
1520 <object type="action">
1521 <touch key="home" />
1522 <action function="page">main</action>
1523 </object>
1524
1525 <object type="action">
1526 <touch key="back" />
1527 <action function="page">wipe</action>
1528 </object>
1529
1530 <object type="template" name="footer" />
1531 </page>
1532
1533 <page name="formatdata">
1534 <object type="template" name="header" />
1535
1536 <object type="text" color="%text_color%">
1537 <font resource="font" />
1538 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1539 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1540 </object>
1541
1542 <object type="text" color="%text_color%">
1543 <font resource="font" />
1544 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1545 <text>videos, media, and removes encryption on internal storage.</text>
1546 </object>
1547
1548 <object type="text" color="%text_color%">
1549 <font resource="font" />
1550 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1551 <text>This cannot be undone. Press back to cancel.</text>
1552 </object>
1553
1554 <object type="text" color="%text_color%">
1555 <font resource="font" />
1556 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1557 <text>Type yes to continue.</text>
1558 </object>
1559
1560 <object type="input">
1561 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1562 <background color="%input_background_color%" />
1563 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1564 <font resource="font" color="%text_color%" />
1565 <text>%tw_confirm_formatdata%</text>
1566 <data name="tw_confirm_formatdata" />
1567 <restrict minlen="3" maxlen="3" allow="yes" />
1568 <action function="page">formatdata_confirm</action>
1569 </object>
1570
1571 <object type="template" name="keyboardtemplate" />
1572
1573 <object type="action">
1574 <touch key="home" />
1575 <action function="page">main</action>
1576 </object>
1577
1578 <object type="action">
1579 <touch key="back" />
1580 <action function="page">wipe</action>
1581 </object>
1582
1583 <object type="template" name="footer" />
1584 </page>
1585
1586 <page name="formatdata_confirm">
1587 <object type="action">
1588 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1589 <actions>
1590 <action function="set">tw_back=formatdata</action>
1591 <action function="set">tw_action=wipe</action>
1592 <action function="set">tw_action_param=DATAMEDIA</action>
1593 <action function="set">tw_action_text1=Formatting Data...</action>
1594 <action function="set">tw_complete_text1=Data Format Complete</action>
1595 <action function="page">action_page</action>
1596 </actions>
1597 </object>
1598
1599 <object type="action">
1600 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1601 <action function="page">formatdata</function>
1602 </object>
1603 </page>
1604
Dees_Troy51a0e822012-09-05 15:24:24 -04001605 <page name="backup">
1606 <object type="template" name="header" />
1607
1608 <object type="text" color="%text_color%">
1609 <font resource="font" />
1610 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1611 <text>Back Up Device</text>
1612 </object>
1613
Dees_Troya13d74f2013-03-24 08:54:55 -05001614 <object type="partitionlist">
1615 <highlight color="%fileselector_highlight_color%" />
1616 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1617 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1618 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1619 <text>Select Partitions to Back Up:</text>
1620 <icon selected="checkbox_true" unselected="checkbox_false" />
1621 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1622 <background color="%listbox_background%" />
1623 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1624 <data name="tw_backup_list" />
1625 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001626 </object>
1627
1628 <object type="text" color="%text_color%">
1629 <font resource="font" />
1630 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1631 <text>Backup Name: %tw_backup_name%</text>
1632 </object>
1633
Dees_Troya13d74f2013-03-24 08:54:55 -05001634 <object type="button">
1635 <highlight color="%highlight_color%" />
1636 <placement x="%col3_x%" y="%row1_y%" />
1637 <font resource="font" color="%button_text_color%" />
1638 <text>Refresh Sizes</text>
1639 <image resource="main_button" />
1640 <action function="refreshsizes"></action>
1641 </object>
1642
1643 <object type="button">
1644 <highlight color="%highlight_color%" />
1645 <placement x="%col4_x%" y="%row1_y%" />
1646 <font resource="font" color="%button_text_color%" />
1647 <text>Set Backup Name</text>
1648 <image resource="main_button" />
1649 <actions>
1650 <action function="set">tw_fileexists=0</action>
1651 <action function="page">backupname1</action>
1652 </actions>
1653 </object>
1654
1655 <object type="button">
1656 <highlight color="%highlight_color%" />
1657 <fill color="%button_fill_color%" />
1658 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1659 <font resource="font" color="%button_text_color%" />
1660 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1661 <actions>
1662 <action function="set">tw_back=backup</action>
1663 <action function="page">selectstorage</action>
1664 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001665 </object>
1666
Dees_Troy83bd4832013-05-04 12:39:56 +00001667 <object type="button">
1668 <conditions>
1669 <condition var1="tw_include_encrypted_backup" var2="1" />
1670 <condition var1="tw_encrypt_backup" var2="0" />
1671 </conditions>
1672 <highlight color="%highlight_color%" />
1673 <fill color="%button_fill_color%" />
1674 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1675 <font resource="font" color="%button_text_color%" />
1676 <text>No Encryption</text>
1677 <actions>
1678 <action function="page">backupencryption</action>
1679 </actions>
1680 </object>
1681
1682 <object type="button">
1683 <conditions>
1684 <condition var1="tw_include_encrypted_backup" var2="1" />
1685 <condition var1="tw_encrypt_backup" var2="1" />
1686 </conditions>
1687 <highlight color="%highlight_color%" />
1688 <fill color="%button_fill_color%" />
1689 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1690 <font resource="font" color="%button_text_color%" />
1691 <text>Using Encryption</text>
1692 <actions>
1693 <action function="page">backupencryption</action>
1694 </actions>
1695 </object>
1696
Dees_Troy51a0e822012-09-05 15:24:24 -04001697 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001698 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <font resource="font" color="%text_color%" />
1700 <text>Enable Compression (Requires more time)</text>
1701 <data variable="tw_use_compression" />
1702 <image checked="checkbox_true" unchecked="checkbox_false" />
1703 </object>
1704
1705 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001706 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <font resource="font" color="%text_color%" />
1708 <text>Skip MD5 generation on backups</text>
1709 <data variable="tw_skip_md5_generate" />
1710 <image checked="checkbox_true" unchecked="checkbox_false" />
1711 </object>
1712
Dees_Troy51a0e822012-09-05 15:24:24 -04001713 <object type="slider">
1714 <placement x="%slider_x%" y="%slider_y%" />
1715 <resource base="slider" used="slider-used" touch="slider-touch" />
1716 <actions>
1717 <action function="set">tw_operation_state=0</action>
1718 <action function="page">backup_run</action>
1719 </actions>
1720 </object>
1721
1722 <object type="text" color="%text_color%">
1723 <font resource="font" />
1724 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1725 <text>Swipe to Back Up</text>
1726 </object>
1727
Dees_Troy51a0e822012-09-05 15:24:24 -04001728 <object type="action">
1729 <touch key="home" />
1730 <action function="page">main</action>
1731 </object>
1732
1733 <object type="action">
1734 <touch key="back" />
1735 <action function="page">main</action>
1736 </object>
1737
1738 <object type="template" name="footer" />
1739 </page>
1740
1741 <page name="backupname1">
1742 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001743 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1744 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 </object>
1746
1747 <object type="action">
1748 <action function="page">backupname2</function>
1749 </object>
1750 </page>
1751
1752 <page name="backupname2">
1753 <object type="template" name="header" />
1754
1755 <object type="text" color="%text_color%">
1756 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1757 <font resource="font" />
1758 <text>Please Enter a Backup Name</text>
1759 </object>
1760
1761 <object type="input">
1762 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1763 <background color="%input_background_color%" />
1764 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1765 <font resource="font" color="%text_color%" />
1766 <text>%tw_backup_name%</text>
1767 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001768 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001769 <actions>
1770 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1771 <action function="set">tw_existpage=backupname2</action>
1772 <action function="set">tw_notexistpage=backup</action>
1773 <action function="page">filecheck</action>
1774 </actions>
1775 </object>
1776
1777 <object type="text" color="%text_fail_color%">
1778 <condition var1="tw_fileexists" var2="1" />
1779 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1780 <font resource="font" />
1781 <text>A backup with that name already exists!</text>
1782 </object>
1783
1784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001785 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001786 <placement x="%col2_x%" y="%cancel_button_y%" />
1787 <font resource="font" color="%button_text_color%" />
1788 <text>Append Date</text>
1789 <image resource="main_button" />
1790 <action function="appenddatetobackupname"></action>
1791 </object>
1792
1793 <object type="button">
1794 <highlight color="%highlight_color%" />
1795 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001796 <font resource="font" color="%button_text_color%" />
1797 <text>Cancel / Clear</text>
1798 <image resource="main_button" />
1799 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001800 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001801 <action function="page">backup</action>
1802 </actions>
1803 </object>
1804
1805 <object type="template" name="keyboardtemplate" />
1806
1807 <object type="action">
1808 <touch key="home" />
1809 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001810 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001811 <action function="page">main</action>
1812 </actions>
1813 </object>
1814
1815 <object type="action">
1816 <touch key="back" />
1817 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001818 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001819 <action function="page">backup</action>
1820 </actions>
1821 </object>
1822
1823 <object type="template" name="footer" />
1824 </page>
1825
Dees_Troy83bd4832013-05-04 12:39:56 +00001826 <page name="backupencryption">
1827 <object type="template" name="header" />
1828
1829 <object type="text" color="%text_color%">
1830 <font resource="font" />
1831 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1832 <text>Encrypt your backup? Please enter a password:</text>
1833 </object>
1834
1835 <object type="input">
1836 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1837 <background color="%input_background_color%" />
1838 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1839 <font resource="font" color="%text_color%" />
1840 <text>%tw_backup_encrypt_display%</text>
1841 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1842 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1843 <action function="page">backupencryption2</action>
1844 </object>
1845
1846 <object type="text" color="%text_fail_color%">
1847 <condition var1="tw_password_not_match" var2="1" />
1848 <font resource="font" />
1849 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1850 <text>Passwords Do Not Match</text>
1851 </object>
1852
1853 <object type="button">
1854 <highlight color="%highlight_color%" />
1855 <placement x="%col_center_x%" y="%cancel_button_y%" />
1856 <font resource="font" color="%button_text_color%" />
1857 <text>Cancel</text>
1858 <image resource="main_button" />
1859 <actions>
1860 <action function="set">tw_encrypt_backup=0</action>
1861 <action function="set">tw_backup_password=</action>
1862 <action function="set">tw_backup_password2=</action>
1863 <action function="set">tw_backup_encrypt_display=</action>
1864 <action function="set">tw_backup_encrypt_display2=</action>
1865 <action function="page">backup</action>
1866 </actions>
1867 </object>
1868
1869 <object type="template" name="keyboardtemplate" />
1870
1871 <object type="action">
1872 <touch key="home" />
1873 <action function="page">main</action>
1874 </object>
1875
1876 <object type="action">
1877 <touch key="back" />
1878 <action function="page">backup</action>
1879 </object>
1880
1881 <object type="template" name="footer" />
1882 </page>
1883
1884 <page name="backupencryption2">
1885 <object type="template" name="header" />
1886
1887 <object type="text" color="%text_color%">
1888 <font resource="font" />
1889 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1890 <text>Encrypt your backup? Please Enter Password Again:</text>
1891 </object>
1892
1893 <object type="input">
1894 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1895 <background color="%input_background_color%" />
1896 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1897 <font resource="font" color="%text_color%" />
1898 <text>%tw_backup_encrypt_display2%</text>
1899 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1900 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1901 <actions>
1902 <action function="page">checkbackuppassword</action>
1903 </actions>
1904 </object>
1905
1906 <object type="button">
1907 <highlight color="%highlight_color%" />
1908 <placement x="%col_center_x%" y="%cancel_button_y%" />
1909 <font resource="font" color="%button_text_color%" />
1910 <text>Cancel</text>
1911 <image resource="main_button" />
1912 <actions>
1913 <action function="set">tw_encrypt_backup=0</action>
1914 <action function="set">tw_backup_password=</action>
1915 <action function="set">tw_backup_password2=</action>
1916 <action function="set">tw_backup_encrypt_display=</action>
1917 <action function="set">tw_backup_encrypt_display2=</action>
1918 <action function="page">backup</action>
1919 </actions>
1920 </object>
1921
1922 <object type="template" name="keyboardtemplate" />
1923
1924 <object type="action">
1925 <touch key="home" />
1926 <action function="page">main</action>
1927 </object>
1928
1929 <object type="action">
1930 <touch key="back" />
1931 <action function="page">backup</action>
1932 </object>
1933
1934 <object type="template" name="footer" />
1935 </page>
1936
1937 <page name="checkbackuppassword">
1938 <object type="action">
1939 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1940 <actions>
1941 <action function="set">tw_encrypt_backup=1</action>
1942 <action function="page">backup</action>
1943 </actions>
1944 </object>
1945
1946 <object type="action">
1947 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1948 <actions>
1949 <action function="set">tw_encrypt_backup=0</action>
1950 <action function="set">tw_password_not_match=1</action>
1951 <action function="set">tw_backup_password=</action>
1952 <action function="set">tw_backup_password2=</action>
1953 <action function="set">tw_backup_encrypt_display=</action>
1954 <action function="set">tw_backup_encrypt_display2=</action>
1955 <action function="page">backupencryption</action>
1956 </actions>
1957 </object>
1958 </page>
1959
Dees_Troy51a0e822012-09-05 15:24:24 -04001960 <page name="backup_run">
1961 <object type="template" name="header" />
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1966 <text>%tw_operation% %tw_partition%</text>
1967 </object>
1968
1969 <object type="template" name="action_page_console" />
1970
1971 <object type="template" name="progress_bar" />
1972
1973 <object type="action">
1974 <action function="nandroid">backup</action>
1975 </object>
1976
1977 <object type="action">
1978 <condition var1="tw_operation_state" var2="1" />
1979 <actions>
1980 <action function="set">tw_back=backup</action>
1981 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001982 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001983 <action function="page">action_complete</action>
1984 </actions>
1985 </object>
1986
1987 <object type="template" name="footer" />
1988 </page>
1989
1990 <page name="restore">
1991 <object type="template" name="header" />
1992
1993 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001994 <highlight color="%highlight_color%" />
1995 <fill color="%button_fill_color%" />
1996 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1997 <font resource="font" color="%button_text_color%" />
1998 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1999 <actions>
2000 <action function="set">tw_back=restore</action>
2001 <action function="page">selectstorage</action>
2002 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002003 </object>
2004
2005 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002006 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002007 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2008 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002009 <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 -04002010 <text>Select Package to Restore:</text>
2011 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2012 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002013 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002014 <icon folder="folder_icon" file="file_icon" />
2015 <background color="%fileselector_background%" />
2016 <filter folders="1" files="0" nav="0" />
2017 <path name="tw_backups_folder" />
2018 <data name="tw_restore" default="" />
2019 <selection name="tw_restore_name" />
2020 </object>
2021
2022 <object type="template" name="sort_options" />
2023
2024 <object type="action">
2025 <condition var1="tw_restore" op="modified" />
2026 <actions>
2027 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002028 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002029 </actions>
2030 </object>
2031
2032 <object type="action">
2033 <touch key="home" />
2034 <action function="page">main</action>
2035 </object>
2036
2037 <object type="action">
2038 <touch key="back" />
2039 <action function="page">main</action>
2040 </object>
2041
2042 <object type="template" name="footer" />
2043 </page>
2044
Dees_Troy83bd4832013-05-04 12:39:56 +00002045 <page name="restore_read">
2046 <object type="action">
2047 <condition var1="tw_restore_encrypted" var2="1" />
2048 <actions>
2049 <action function="set">tw_password_fail=0</action>
2050 <action function="page">restore_decrypt</action>
2051 </actions>
2052 </object>
2053
2054 <object type="action">
2055 <condition var1="tw_restore_encrypted" var2="0" />
2056 <actions>
2057 <action function="page">restore_select</action>
2058 </actions>
2059 </object>
2060 </page>
2061
2062 <page name="restore_decrypt">
2063 <object type="template" name="header" />
2064
2065 <object type="text" color="%text_color%">
2066 <font resource="font" />
2067 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2068 <text>Backup encrypted. Please enter your password:</text>
2069 </object>
2070
2071 <object type="input">
2072 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2073 <background color="%input_background_color%" />
2074 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2075 <font resource="font" color="%text_color%" />
2076 <text>%tw_restore_display%</text>
2077 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2078 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2079 <actions>
2080 <action function="page">try_restore_decrypt</action>
2081 </actions>
2082 </object>
2083
2084 <object type="text" color="%text_fail_color%">
2085 <condition var1="tw_password_fail" var2="1" />
2086 <font resource="font" />
2087 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2088 <text>Password Failed, Please Try Again</text>
2089 </object>
2090
2091 <object type="button">
2092 <highlight color="%highlight_color%" />
2093 <placement x="%col2_x%" y="%cancel_button_y%" />
2094 <font resource="font" color="%button_text_color%" />
2095 <text>Cancel</text>
2096 <image resource="main_button" />
2097 <actions>
2098 <action function="set">tw_page_done=1</action>
2099 <action function="page">restore</action>
2100 </actions>
2101 </object>
2102
2103 <object type="button">
2104 <highlight color="%highlight_color%" />
2105 <placement x="%col3_x%" y="%cancel_button_y%" />
2106 <font resource="font" color="%button_text_color%" />
2107 <text>Delete</text>
2108 <image resource="main_button" />
2109 <actions>
2110 <action function="set">tw_back=restore</action>
2111 <action function="set">tw_action=cmd</action>
2112 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2113 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2114 <action function="set">tw_text2=This cannot be undone!</action>
2115 <action function="set">tw_action_text1=Deleting Backup...</action>
2116 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2117 <action function="set">tw_slider_text=Swipe to Delete</action>
2118 <action function="page">confirm_action</action>
2119 </actions>
2120 </object>
2121
2122 <object type="template" name="keyboardtemplate" />
2123
2124 <object type="action">
2125 <touch key="home" />
2126 <action function="page">main</action>
2127 </object>
2128
2129 <object type="action">
2130 <touch key="back" />
2131 <action function="page">restore</action>
2132 </object>
2133
2134 <object type="template" name="footer" />
2135 </page>
2136
2137 <page name="try_restore_decrypt">
2138 <object type="template" name="header" />
2139
2140 <object type="text" color="%text_color%">
2141 <font resource="font" />
2142 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2143 <text>Trying Decryption with Your Password</text>
2144 </object>
2145
2146 <object type="template" name="action_page_console" />
2147
2148 <object type="template" name="progress_bar" />
2149
2150 <object type="action">
2151 <action function="decrypt_backup"></action>
2152 </object>
2153
2154 <object type="action">
2155 <conditions>
2156 <condition var1="tw_operation_state" var2="1" />
2157 <condition var1="tw_operation_status" op="!=" var2="0" />
2158 </conditions>
2159 <actions>
2160 <action function="set">tw_password_fail=1</action>
2161 <action function="page">restore_decrypt</action>
2162 </actions>
2163 </object>
2164
2165 <object type="action">
2166 <conditions>
2167 <condition var1="tw_operation_state" var2="1" />
2168 <condition var1="tw_operation_status" op="=" var2="0" />
2169 </conditions>
2170 <actions>
2171 <action function="set">tw_page_done=1</action>
2172 <action function="page">restore_select</action>
2173 </actions>
2174 </object>
2175 </page>
2176
Dees_Troy51a0e822012-09-05 15:24:24 -04002177 <page name="restore_select">
2178 <object type="template" name="header" />
2179
2180 <object type="text" color="%text_color%">
2181 <font resource="font" />
2182 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2183 <text>Package to Restore: %tw_restore_name%</text>
2184 </object>
2185
2186 <object type="text" color="%text_color%">
2187 <font resource="font" />
2188 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2189 <text>Package Date: %tw_restore_file_date%</text>
2190 </object>
2191
Dees_Troya13d74f2013-03-24 08:54:55 -05002192 <object type="partitionlist">
2193 <highlight color="%fileselector_highlight_color%" />
2194 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2195 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2196 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2197 <text>Select Partitions to Restore:</text>
2198 <icon selected="checkbox_true" unselected="checkbox_false" />
2199 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2200 <background color="%listbox_background%" />
2201 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2202 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2203 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002204 </object>
2205
2206 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002207 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002208 <font resource="font" color="%text_color%" />
2209 <text>Enable MD5 checking of backup files</text>
2210 <data variable="tw_skip_md5_check" />
2211 <image checked="checkbox_true" unchecked="checkbox_false" />
2212 </object>
2213
2214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002215 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <placement x="%col4_x%" y="%row1_y%" />
2217 <font resource="font" color="%button_text_color%" />
2218 <text>Rename Backup</text>
2219 <image resource="main_button" />
2220 <actions>
2221 <action function="set">tw_backup_rename=</action>
2222 <action function="set">tw_fileexists=0</action>
2223 <action function="page">renamebackup</action>
2224 </actions>
2225 </object>
2226
2227 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002228 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002229 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002230 <font resource="font" color="%button_text_color%" />
2231 <text>Delete Backup</text>
2232 <image resource="main_button" />
2233 <actions>
2234 <action function="set">tw_back=restore</action>
2235 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002236 <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 -04002237 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2238 <action function="set">tw_text2=This cannot be undone!</action>
2239 <action function="set">tw_action_text1=Deleting Backup...</action>
2240 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2241 <action function="set">tw_slider_text=Swipe to Delete</action>
2242 <action function="page">confirm_action</action>
2243 </actions>
2244 </object>
2245
2246 <object type="slider">
2247 <placement x="%slider_x%" y="%slider_y%" />
2248 <resource base="slider" used="slider-used" touch="slider-touch" />
2249 <action function="page">restore_run</action>
2250 </object>
2251
2252 <object type="text" color="%text_color%">
2253 <font resource="font" />
2254 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2255 <text>Swipe to Restore</text>
2256 </object>
2257
2258 <object type="action">
2259 <touch key="home" />
2260 <action function="page">main</action>
2261 </object>
2262
2263 <object type="action">
2264 <touch key="back" />
2265 <action function="page">restore</action>
2266 </object>
2267
2268 <object type="template" name="footer" />
2269 </page>
2270
2271 <page name="renamebackup">
2272 <object type="template" name="header" />
2273
2274 <object type="text" color="%text_color%">
2275 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2276 <font resource="font" />
2277 <text>Please Enter a New Backup Name</text>
2278 </object>
2279
2280 <object type="input">
2281 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2282 <background color="%input_background_color%" />
2283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2284 <font resource="font" color="%text_color%" />
2285 <text>%tw_backup_rename%</text>
2286 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002287 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002288 <actions>
2289 <action function="set">tw_back=restore</action>
2290 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002291 <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 -04002292 <action function="set">tw_text1=Rename Backup?</action>
2293 <action function="set">tw_text2=This cannot be undone!</action>
2294 <action function="set">tw_action_text1=Renaming Backup...</action>
2295 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2296 <action function="set">tw_slider_text=Swipe to Rename</action>
2297 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2298 <action function="set">tw_existpage=renamebackup</action>
2299 <action function="set">tw_notexistpage=confirm_action</action>
2300 <action function="page">filecheck</action>
2301 </actions>
2302 </object>
2303
2304 <object type="text" color="%text_fail_color%">
2305 <condition var1="tw_fileexists" var2="1" />
2306 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2307 <font resource="font" />
2308 <text>A backup with that name already exists!</text>
2309 </object>
2310
2311 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002312 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002313 <placement x="%col_center_x%" y="%cancel_button_y%" />
2314 <font resource="font" color="%button_text_color%" />
2315 <text>Cancel</text>
2316 <image resource="main_button" />
2317 <action function="page">restore_select</action>
2318 </object>
2319
2320 <object type="template" name="keyboardtemplate" />
2321
2322 <object type="action">
2323 <touch key="home" />
2324 <action function="page">main</action>
2325 </object>
2326
2327 <object type="action">
2328 <touch key="back" />
2329 <action function="page">restore_select</action>
2330 </object>
2331
2332 <object type="template" name="footer" />
2333 </page>
2334
2335 <page name="restore_run">
2336 <object type="template" name="header" />
2337
2338 <object type="text" color="%text_color%">
2339 <font resource="font" />
2340 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2341 <text>%tw_operation% %tw_partition%</text>
2342 </object>
2343
2344 <object type="template" name="action_page_console" />
2345
2346 <object type="template" name="progress_bar" />
2347
2348 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002349 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002350 <actions>
2351 <action function="set">tw_back=restore_select</action>
2352 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002353 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002354 <action function="page">action_complete</action>
2355 </actions>
2356 </object>
2357
2358 <object type="action">
2359 <action function="nandroid">restore</action>
2360 </object>
2361 </page>
2362
2363 <page name="settings">
2364 <object type="template" name="header" />
2365
2366 <object type="text" color="%text_color%">
2367 <font resource="font" />
2368 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2369 <text>Settings</text>
2370 </object>
2371
2372 <object type="checkbox">
2373 <placement x="%col1_x%" y="%row2_text_y%" />
2374 <font resource="font" color="%text_color%" />
2375 <text>Zip file signature verification?</text>
2376 <data variable="tw_signed_zip_verify" />
2377 <image checked="checkbox_true" unchecked="checkbox_false" />
2378 </object>
2379
2380 <object type="checkbox">
2381 <placement x="%col1_x%" y="%row3_text_y%" />
2382 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002383 <text>Use rm -rf instead of formatting?</text>
2384 <data variable="tw_rm_rf" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <font resource="font" color="%text_color%" />
2391 <text>Skip MD5 generation on backups</text>
2392 <data variable="tw_skip_md5_generate" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <font resource="font" color="%text_color%" />
2399 <text>Enable MD5 checking of backup files</text>
2400 <data variable="tw_skip_md5_check" />
2401 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002407 <text>Use Military Time</text>
2408 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <image checked="checkbox_true" unchecked="checkbox_false" />
2410 </object>
2411
2412 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002413 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <font resource="font" color="%text_color%" />
2415 <text>Simulate most actions for theme testing</text>
2416 <data variable="tw_simulate_actions" />
2417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
2421 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002422 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <font resource="font" color="%text_color%" />
2424 <text>Simulate failure for actions</text>
2425 <data variable="tw_simulate_fail" />
2426 <image checked="checkbox_true" unchecked="checkbox_false" />
2427 </object>
2428
2429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <placement x="%col1_x%" y="%row2_y%" />
2432 <font resource="font" color="%button_text_color%" />
2433 <text>Time Zone</text>
2434 <image resource="main_button" />
2435 <action function="page">timezone</action>
2436 </object>
2437
2438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002439 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002440 <placement x="%col2_x%" y="%row2_y%" />
2441 <font resource="font" color="%button_text_color%" />
2442 <text>Restore Defaults</text>
2443 <image resource="main_button" />
2444 <action function="restoredefaultsettings"></action>
2445 </object>
2446
2447 <object type="button">
2448 <highlight color="%highlight_color%" />
2449 <placement x="%col3_x%" y="%row2_y%" />
2450 <font resource="font" color="%button_text_color%" />
2451 <text>Vibration Duration</text>
2452 <image resource="main_button" />
2453 <action function="page">Vibrate</action>
2454 </object>
2455
2456 <object type="button">
2457 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002458 <placement x="%col4_x%" y="%row2_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>Screen</text>
2461 <image resource="main_button" />
2462 <action function="page">screen</action>
2463 </object>
2464
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <object type="action">
2466 <touch key="home" />
2467 <action function="page">main</action>
2468 </object>
2469
2470 <object type="action">
2471 <touch key="back" />
2472 <action function="page">main</action>
2473 </object>
2474
2475 <object type="template" name="footer" />
2476 </page>
2477
2478 <page name="timezone">
2479 <object type="template" name="header" />
2480
2481 <object type="text" color="%text_color%">
2482 <font resource="font" />
2483 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2484 <text>Select Time Zone</text>
2485 </object>
2486
2487 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002488 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002489 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002490 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002491 <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 -06002492 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002493 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002494 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <data name="tw_time_zone_guisel" />
2498 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2499 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2500 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2501 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2502 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2503 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2504 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2505 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2506 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2507 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2508 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2509 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2510 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2511 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2512 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2513 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2514 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2515 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2516 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2517 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2518 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2519 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2520 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2521 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2522 </object>
2523
2524 <object type="checkbox">
2525 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2526 <font resource="font" color="%text_color%" />
2527 <text>Do you use daylight savings time (DST)?</text>
2528 <data variable="tw_time_zone_guidst" />
2529 <image checked="checkbox_true" unchecked="checkbox_false" />
2530 </object>
2531
2532 <object type="text" color="%text_color%">
2533 <font resource="font" />
2534 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2535 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2536 </object>
2537
2538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2541 <font resource="font" color="%button_text_color%" />
2542 <text>0</text>
2543 <image resource="medium_button" />
2544 <action function="set">tw_time_zone_guioffset=0</action>
2545 </object>
2546
2547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002548 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2550 <font resource="font" color="%button_text_color%" />
2551 <text>15</text>
2552 <image resource="medium_button" />
2553 <action function="set">tw_time_zone_guioffset=15</action>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2559 <font resource="font" color="%button_text_color%" />
2560 <text>30</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=30</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2568 <font resource="font" color="%button_text_color%" />
2569 <text>45</text>
2570 <image resource="medium_button" />
2571 <action function="set">tw_time_zone_guioffset=45</action>
2572 </object>
2573
2574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002575 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002576 <placement x="%col4_x%" y="%row2_y%" />
2577 <font resource="font" color="%button_text_color%" />
2578 <text>Set Time Zone</text>
2579 <image resource="main_button" />
2580 <action function="setguitimezone"></action>
2581 </object>
2582
2583 <object type="text" color="%text_color%">
2584 <font resource="font" />
2585 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2586 <text>Current Time Zone: %tw_time_zone%</text>
2587 </object>
2588
2589 <object type="action">
2590 <touch key="home" />
2591 <action function="page">main</action>
2592 </object>
2593
2594 <object type="action">
2595 <touch key="back" />
2596 <action function="page">settings</action>
2597 </object>
2598
2599 <object type="template" name="footer" />
2600 </page>
2601
Dees_Troy2f9117a2013-02-17 19:52:09 -06002602 <page name="screen">
2603 <object type="template" name="header" />
2604
2605 <object type="text" color="%text_color%">
2606 <font resource="font" />
2607 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2608 <text>Screen Settings</text>
2609 </object>
2610
Dees_Troy2f9117a2013-02-17 19:52:09 -06002611 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002612 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2613 <font resource="font" color="%text_color%" />
2614 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002615 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002616 <text>Enable screen timeout.</text>
2617 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002618 <action function="set">tw_screen_timeout_secs=60</action>
2619 </object>
2620
2621 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002622 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2623 <font resource="font" color="%text_color%" />
2624 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002625 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002626 <text>Enable screen timeout.</text>
2627 <image resource="checkbox_true" />
2628 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002629 </object>
2630
Vojtech Bocek85932342013-04-01 22:11:33 +02002631 <object type="slidervalue">
2632 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002633 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2635 <font resource="font" color="%text_color%" />
2636 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2637 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2638 <text>Screen timeout in seconds:</text>
2639 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002640 </object>
2641
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002643 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2645 <font resource="font" color="%text_color%" />
2646 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2647 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2648 <text>Brightness: %tw_brightness_pct%%</text>
2649 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002650 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002651 <action function="set">tw_brightness=%tw_brightness_max%</action>
2652 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2653 <action function="compute">tw_brightness/100</action>
2654 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002655 </actions>
2656 </object>
2657
2658 <object type="action">
2659 <touch key="home" />
2660 <action function="page">main</action>
2661 </object>
2662
2663 <object type="action">
2664 <touch key="back" />
2665 <action function="page">settings</action>
2666 </object>
2667
2668 <object type="template" name="footer" />
2669 </page>
2670
Ethan Yonker03db3262014-02-05 08:02:06 -06002671 <page name="Vibrate">
2672 <object type="template" name="header" />
2673
2674 <object type="text" color="%text_color%">
2675 <font resource="font" />
2676 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2677 <text>Vibration Settings :</text>
2678 </object>
2679
2680 <object type="slidervalue">
2681 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2682 <font resource="font" color="%text_color%" />
2683 <text>Button Vibration:</text>
2684 <data variable="tw_button_vibrate" min="0" max="300" />
2685 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2686 </object>
2687
2688 <object type="slidervalue">
2689 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2690 <font resource="font" color="%text_color%" />
2691 <text>Keyboard Vibration:</text>
2692 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2693 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2694 </object>
2695
2696 <object type="slidervalue">
2697 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2698 <font resource="font" color="%text_color%" />
2699 <text>Action Vibration:</text>
2700 <data variable="tw_action_vibrate" min="0" max="500" />
2701 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2702 </object>
2703
2704 <object type="action">
2705 <touch key="home" />
2706 <action function="page">main</action>
2707 </object>
2708
2709 <object type="action">
2710 <touch key="back" />
2711 <action function="page">settings</action>
2712 </object>
2713
2714 <object type="template" name="footer" />
2715 </page>
2716
Dees_Troy51a0e822012-09-05 15:24:24 -04002717 <page name="advanced">
2718 <object type="template" name="header" />
2719
2720 <object type="text" color="%text_color%">
2721 <font resource="font" />
2722 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2723 <text>Advanced</text>
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="%col1_x%" y="%row1_y%" />
2729 <font resource="font" color="%button_text_color%" />
2730 <text>Copy Log to SD</text>
2731 <image resource="main_button" />
2732 <actions>
2733 <action function="set">tw_back=advanced</action>
2734 <action function="set">tw_action=copylog</action>
2735 <action function="set">tw_text1=Copy Log to SD Card?</action>
2736 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2737 <action function="set">tw_complete_text1=Log Copy Complete</action>
2738 <action function="set">tw_slider_text=Swipe to Confirm</action>
2739 <action function="page">confirm_action</action>
2740 </actions>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <placement x="%col2_x%" y="%row1_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>Fix Permissions</text>
2748 <image resource="main_button" />
2749 <actions>
2750 <action function="set">tw_back=advanced</action>
2751 <action function="set">tw_action=fixpermissions</action>
2752 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2755 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002756 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <action function="page">confirm_action</action>
2758 </actions>
2759 </object>
2760
2761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002763 <placement x="%col3_x%" y="%row1_y%" />
2764 <font resource="font" color="%button_text_color%" />
2765 <text>Terminal Command</text>
2766 <image resource="main_button" />
2767 <action function="page">terminalfolder</action>
2768 </object>
2769
2770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002771 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002772 <placement x="%col4_x%" y="%row1_y%" />
2773 <font resource="font" color="%button_text_color%" />
2774 <text>ADB Sideload</text>
2775 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002776 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002777 </object>
2778
2779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <condition var1="tw_allow_partition_sdcard" var2="1" />
2782 <placement x="%col1_x%" y="%row2_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>Partition SD Card</text>
2785 <image resource="main_button" />
2786 <action function="page">partsdcard</action>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <placement x="%col2_x%" y="%row2_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>File Manager</text>
2794 <image resource="main_button" />
2795 <action function="page">filemanagerlist</action>
2796 </object>
2797
2798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002799 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002800 <placement x="%col3_x%" y="%row2_y%" />
2801 <font resource="font" color="%button_text_color%" />
2802 <text>Reload Theme</text>
2803 <image resource="main_button" />
2804 <action function="reload"></action>
2805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <condition var1="tw_show_dumlock" var2="1" />
2810 <placement x="%col4_x%" y="%row2_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>HTC Dumlock</text>
2813 <image resource="main_button" />
2814 <action function="page">htcdumlock</action>
2815 </object>
2816
2817 <object type="action">
2818 <touch key="home" />
2819 <action function="page">main</action>
2820 </object>
2821
2822 <object type="action">
2823 <touch key="back" />
2824 <action function="page">main</action>
2825 </object>
2826
2827 <object type="template" name="footer" />
2828 </page>
2829
2830 <page name="partsdcard">
2831 <object type="template" name="header" />
2832
2833 <object type="text" color="%text_color%">
2834 <font resource="font" />
2835 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2836 <text>Partition SD Card</text>
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 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2842 <font resource="font" color="%button_text_color%" />
2843 <text></text>
2844 <image resource="minus_button" />
2845 <action function="addsubtract">tw_sdext_size-128</action>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text></text>
2853 <image resource="plus_button" />
2854 <action function="addsubtract">tw_sdext_size+128</action>
2855 </object>
2856
2857 <object type="text" color="%text_color%">
2858 <font resource="font" />
2859 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2860 <text>EXT Size: %tw_sdext_size%</text>
2861 </object>
2862
2863 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002864 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2866 <font resource="font" color="%button_text_color%" />
2867 <text></text>
2868 <image resource="minus_button" />
2869 <action function="addsubtract">tw_swap_size-32</action>
2870 </object>
2871
2872 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002873 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002874 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2875 <font resource="font" color="%button_text_color%" />
2876 <text></text>
2877 <image resource="plus_button" />
2878 <action function="addsubtract">tw_swap_size+32</action>
2879 </object>
2880
2881 <object type="text" color="%text_color%">
2882 <font resource="font" />
2883 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2884 <text>Swap Size: %tw_swap_size%</text>
2885 </object>
2886
2887 <object type="text" color="%text_color%">
2888 <font resource="font" />
2889 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2890 <text>File system: %tw_sdpart_file_system%</text>
2891 </object>
2892
2893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002894 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002895 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2896 <font resource="font" color="%button_text_color%" />
2897 <text>EXT3</text>
2898 <image resource="medium_button" />
2899 <action function="set">tw_sdpart_file_system=ext3</action>
2900 </object>
2901
2902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002903 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <condition var1="tw_sdext_disable_ext4" var2="0" />
2905 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text>EXT4</text>
2908 <image resource="medium_button" />
2909 <action function="set">tw_sdpart_file_system=ext4</action>
2910 </object>
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2915 <text>You will lose all files on your SD card!</text>
2916 </object>
2917
2918 <object type="text" color="%text_color%">
2919 <font resource="font" />
2920 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2921 <text>This action cannot be undone!</text>
2922 </object>
2923
2924 <object type="slider">
2925 <placement x="%slider_x%" y="%slider_y%" />
2926 <resource base="slider" used="slider-used" touch="slider-touch" />
2927 <actions>
2928 <action function="set">tw_back=partsdcard</action>
2929 <action function="set">tw_action=partitionsd</action>
2930 <action function="set">tw_has_action2=1</action>
2931 <action function="set">tw_action2=set</action>
2932 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2933 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2934 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002935 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <action function="page">action_page</action>
2937 </actions>
2938 </object>
2939
2940 <object type="text" color="%text_color%">
2941 <font resource="font" />
2942 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2943 <text>Swipe to Confirm Partition</text>
2944 </object>
2945
2946 <object type="action">
2947 <touch key="home" />
2948 <action function="page">main</action>
2949 </object>
2950
2951 <object type="action">
2952 <touch key="back" />
2953 <action function="page">advanced</action>
2954 </object>
2955
2956 <object type="template" name="footer" />
2957 </page>
2958
2959
2960 <page name="htcdumlock">
2961 <object type="template" name="header" />
2962
2963 <object type="text" color="%text_color%">
2964 <font resource="font" />
2965 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2966 <text>HTC Dumlock</text>
2967 </object>
2968
2969 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002970 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002971 <condition var1="tw_show_dumlock" var2="1" />
2972 <placement x="%col1_x%" y="%row1_y%" />
2973 <font resource="font" color="%button_text_color%" />
2974 <text>Restore Original Boot</text>
2975 <image resource="main_button" />
2976 <actions>
2977 <action function="set">tw_back=htcdumlock</action>
2978 <action function="set">tw_action=htcdumlockrestoreboot</action>
2979 <action function="set">tw_text1=Restore original boot image?</action>
2980 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2981 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2982 <action function="set">tw_slider_text=Swipe to Confirm</action>
2983 <action function="page">confirm_action</action>
2984 </actions>
2985 </object>
2986
2987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002988 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002989 <condition var1="tw_show_dumlock" var2="1" />
2990 <placement x="%col2_x%" y="%row1_y%" />
2991 <font resource="font" color="%button_text_color%" />
2992 <text>Reflash Recovery->Boot</text>
2993 <image resource="main_button" />
2994 <actions>
2995 <action function="set">tw_back=htcdumlock</action>
2996 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2997 <action function="set">tw_text1=Reflash recovery to boot?</action>
2998 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2999 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3000 <action function="set">tw_slider_text=Swipe to Confirm</action>
3001 <action function="page">confirm_action</action>
3002 </actions>
3003 </object>
3004
3005 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003006 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003007 <condition var1="tw_show_dumlock" var2="1" />
3008 <placement x="%col1_x%" y="%row2_y%" />
3009 <font resource="font" color="%button_text_color%" />
3010 <text>Install HTC Dumlock</text>
3011 <image resource="main_button" />
3012 <actions>
3013 <action function="set">tw_back=htcdumlock</action>
3014 <action function="set">tw_action=installhtcdumlock</action>
3015 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3016 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3017 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3018 <action function="set">tw_slider_text=Swipe to Confirm</action>
3019 <action function="page">confirm_action</action>
3020 </actions>
3021 </object>
3022
3023 <object type="action">
3024 <touch key="home" />
3025 <action function="page">main</action>
3026 </object>
3027
3028 <object type="action">
3029 <touch key="back" />
3030 <action function="page">advanced</action>
3031 </object>
3032
3033 <object type="template" name="footer" />
3034 </page>
3035
3036 <page name="lock">
3037 <background color="#000000A0" />
3038
3039 <object type="image">
3040 <image resource="unlock-icon" />
3041 <placement x="%lock_x%" y="%lock_y%" />
3042 </object>
3043
3044 <object type="slider">
3045 <placement x="%slider_x%" y="%slider_y%" />
3046 <resource base="slider" used="slider-used" touch="slider-touch" />
3047 <action function="overlay"></action>
3048 </object>
3049
3050 <object type="text" color="%text_color%">
3051 <font resource="font" />
3052 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3053 <text>Swipe to Unlock</text>
3054 </object>
3055 </page>
3056
3057
3058 <page name="filemanagerlist">
3059 <object type="template" name="header" />
3060
3061 <object type="text" color="%text_color%">
3062 <font resource="font" />
3063 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3064 <text>File Manager: Select a File or Folder</text>
3065 </object>
3066
3067 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003068 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003069 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3070 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003071 <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 -04003072 <text>Folders:</text>
3073 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3074 <sort name="tw_gui_sort_order" />
3075 <icon folder="folder_icon" file="file_icon" />
3076 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003077 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <filter folders="1" files="0" />
3079 <path name="tw_file_location1" default="/sdcard" />
3080 <data name="select" />
3081 <selection name="tw_selection1" />
3082 </object>
3083
3084 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003085 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3087 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003088 <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 -04003089 <text>%tw_file_location1%</text>
3090 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3091 <sort name="tw_gui_sort_order" />
3092 <icon folder="folder_icon" file="file_icon" />
3093 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003094 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <filter folders="0" files="1" />
3096 <path name="tw_file_location1" default="/" />
3097 <data name="tw_filename1" />
3098 <selection name="tw_selection1" />
3099 </object>
3100
3101 <object type="template" name="sort_options" />
3102
3103 <object type="action">
3104 <actions>
3105 <action function="set">tw_fm_type=File</action>
3106 <action function="set">tw_fm_isfolder=0</action>
3107 </actions>
3108 </object>
3109
3110 <object type="action">
3111 <touch key="home" />
3112 <action function="page">main</action>
3113 </object>
3114
3115 <object type="action">
3116 <touch key="back" />
3117 <action function="page">advanced</action>
3118 </object>
3119
3120 <object type="action">
3121 <condition var1="tw_filename1" op="modified" />
3122 <actions>
3123 <action function="page">filemanageroptions</action>
3124 </actions>
3125 </object>
3126
3127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3130 <font resource="font" color="%button_text_color%" />
3131 <text>Select Folder</text>
3132 <image resource="main_button" />
3133 <actions>
3134 <action function="set">tw_filename1=tw_file_location1</action>
3135 <action function="set">tw_fm_isfolder=1</action>
3136 <action function="set">tw_fm_type=Folder</action>
3137 <action function="page">filemanageroptions</action>
3138 </actions>
3139 </object>
3140
3141 <object type="template" name="footer" />
3142 </page>
3143
3144 <page name="filemanageroptions">
3145 <object type="template" name="header" />
3146
3147 <object type="text" color="%text_color%">
3148 <font resource="font" />
3149 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3150 <text>%tw_fm_type% Selected:</text>
3151 </object>
3152
3153 <object type="text" color="%text_color%">
3154 <font resource="font" />
3155 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3156 <text>%tw_filename1%</text>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <condition var1="tw_fm_isfolder" var2="0" />
3162 <placement x="%col1_x%" y="%row2_y%" />
3163 <font resource="font" color="%button_text_color%" />
3164 <text>Copy File</text>
3165 <image resource="main_button" />
3166 <actions>
3167 <action function="set">tw_filemanager_command=cp</action>
3168 <action function="set">tw_fm_text1=Copying</action>
3169 <action function="page">choosedestinationfolder</action>
3170 </actions>
3171 </object>
3172
3173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003175 <condition var1="tw_fm_isfolder" var2="1" />
3176 <placement x="%col1_x%" y="%row2_y%" />
3177 <font resource="font" color="%button_text_color%" />
3178 <text>Copy Folder</text>
3179 <image resource="main_button" />
3180 <actions>
3181 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3182 <action function="set">tw_fm_text1=Copying</action>
3183 <action function="page">choosedestinationfolder</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 <placement x="%col2_x%" y="%row2_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Move</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_filemanager_command=mv</action>
3195 <action function="set">tw_fm_text1=Moving</action>
3196 <action function="page">choosedestinationfolder</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <placement x="%col3_x%" y="%row2_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>chmod 755</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=chmod 755</action>
3208 <action function="set">tw_fm_text1=chmod 755</action>
3209 <action function="set">tw_fm_text2=</action>
3210 <action function="set">tw_fm_text3=</action>
3211 <action function="set">tw_include_text3=0</action>
3212 <action function="set">tw_back=filemanageroptions</action>
3213 <action function="page">filemanagerconfirm</action>
3214 </actions>
3215 </object>
3216
3217 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003218 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003219 <placement x="%col4_x%" y="%row2_y%" />
3220 <font resource="font" color="%button_text_color%" />
3221 <text>chmod</text>
3222 <image resource="main_button" />
3223 <actions>
3224 <action function="set">tw_filemanager_rename=0000</action>
3225 <action function="set">tw_fm_text2=</action>
3226 <action function="set">tw_fm_text3=</action>
3227 <action function="set">tw_include_text3=0</action>
3228 <action function="set">tw_back=filemanageroptions</action>
3229 <action function="page">filemanagerchmod</action>
3230 </actions>
3231 </object>
3232
3233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003235 <placement x="%col1_x%" y="%row1_y%" />
3236 <font resource="font" color="%button_text_color%" />
3237 <text>Delete</text>
3238 <image resource="main_button" />
3239 <actions>
3240 <action function="set">tw_filemanager_command=rm -rf</action>
3241 <action function="set">tw_fm_text1=Deleting</action>
3242 <action function="set">tw_fm_text2=</action>
3243 <action function="set">tw_fm_text3=</action>
3244 <action function="set">tw_include_text3=0</action>
3245 <action function="set">tw_back=filemanageroptions</action>
3246 <action function="page">filemanagerconfirm</action>
3247 </actions>
3248 </object>
3249
3250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003252 <condition var1="tw_fm_isfolder" var2="0" />
3253 <placement x="%col4_x%" y="%row1_y%" />
3254 <font resource="font" color="%button_text_color%" />
3255 <text>Rename File</text>
3256 <image resource="main_button" />
3257 <actions>
3258 <action function="set">tw_filemanager_rename=tw_selection1</action>
3259 <action function="set">tw_fm_text1=Renaming</action>
3260 <action function="set">tw_filemanager_command=mv</action>
3261 <action function="page">filemanagerrenamefile</action>
3262 </actions>
3263 </object>
3264
3265 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003266 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003267 <condition var1="tw_fm_isfolder" var2="1" />
3268 <placement x="%col4_x%" y="%row1_y%" />
3269 <font resource="font" color="%button_text_color%" />
3270 <text>Rename Folder</text>
3271 <image resource="main_button" />
3272 <actions>
3273 <action function="set">tw_filemanager_rename=tw_selection1</action>
3274 <action function="set">tw_fm_text1=Renaming</action>
3275 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3276 <action function="page">filemanagerrenamefolder</action>
3277 </actions>
3278 </object>
3279
3280 <object type="action">
3281 <touch key="home" />
3282 <action function="page">main</action>
3283 </object>
3284
3285 <object type="action">
3286 <touch key="back" />
3287 <action function="page">filemanagerlist</action>
3288 </object>
3289
3290 <object type="template" name="footer" />
3291 </page>
3292
3293 <page name="choosedestinationfolder">
3294 <object type="template" name="header" />
3295
3296 <object type="text" color="%text_color%">
3297 <font resource="font" />
3298 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3299 <text>Browse to Destination Folder & Press Select</text>
3300 </object>
3301
3302 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003303 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3305 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003306 <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 -04003307 <text>%tw_file_location2%</text>
3308 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3309 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003310 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003311 <icon folder="folder_icon" file="file_icon" />
3312 <background color="%fileselector_background%" />
3313 <filter folders="1" files="0" />
3314 <path name="tw_file_location2" default="/sdcard" />
3315 <data name="tw_filename2" />
3316 </object>
3317
3318 <object type="template" name="sort_options" />
3319
3320 <object type="action">
3321 <touch key="home" />
3322 <action function="page">main</action>
3323 </object>
3324
3325 <object type="action">
3326 <touch key="back" />
3327 <action function="page">filemanageroptions</action>
3328 </object>
3329
3330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003332 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3333 <font resource="font" color="%button_text_color%" />
3334 <text>Select Folder</text>
3335 <image resource="main_button" />
3336 <actions>
3337 <action function="set">tw_fm_text2=to</action>
3338 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3339 <action function="set">tw_include_text3=1</action>
3340 <action function="set">tw_back=filemanageroptions</action>
3341 <action function="page">filemanagerconfirm</action>
3342 </actions>
3343 </object>
3344
3345 <object type="template" name="footer" />
3346 </page>
3347
3348 <page name="filemanagerrenamefile">
3349 <object type="template" name="header" />
3350
3351 <object type="text" color="%text_color%">
3352 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3353 <font resource="font" />
3354 <text>Please Enter a New %tw_fm_type% Name</text>
3355 </object>
3356
3357 <object type="input">
3358 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3359 <background color="%input_background_color%" />
3360 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3361 <font resource="font" color="%text_color%" />
3362 <text>%tw_filemanager_rename%</text>
3363 <data name="tw_filemanager_rename" />
3364 <restrict minlen="1" maxlen="128" />
3365 <actions>
3366 <action function="set">tw_fm_text2=to</action>
3367 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3368 <action function="set">tw_include_text3=1</action>
3369 <action function="set">tw_back=filemanageroptions</action>
3370 <action function="page">filemanagerconfirm</action>
3371 </actions>
3372 </object>
3373
3374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003376 <placement x="%col_center_x%" y="%cancel_button_y%" />
3377 <font resource="font" color="%button_text_color%" />
3378 <text>Cancel</text>
3379 <image resource="main_button" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="keyboardtemplate" />
3384
3385 <object type="action">
3386 <touch key="home" />
3387 <action function="page">main</action>
3388 </object>
3389
3390 <object type="action">
3391 <touch key="back" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="footer" />
3396 </page>
3397
3398 <page name="filemanagerrenamefolder">
3399 <object type="template" name="header" />
3400
3401 <object type="text" color="%text_color%">
3402 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3403 <font resource="font" />
3404 <text>Please Enter a New %tw_fm_type% Name</text>
3405 </object>
3406
3407 <object type="input">
3408 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3409 <background color="%input_background_color%" />
3410 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3411 <font resource="font" color="%text_color%" />
3412 <text>%tw_filemanager_rename%</text>
3413 <data name="tw_filemanager_rename" />
3414 <restrict minlen="1" maxlen="128" />
3415 <actions>
3416 <action function="set">tw_fm_text2=to</action>
3417 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3418 <action function="set">tw_include_text3=1</action>
3419 <action function="set">tw_back=filemanageroptions</action>
3420 <action function="page">filemanagerconfirm</action>
3421 </actions>
3422 </object>
3423
3424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003426 <placement x="%col_center_x%" y="%cancel_button_y%" />
3427 <font resource="font" color="%button_text_color%" />
3428 <text>Cancel</text>
3429 <image resource="main_button" />
3430 <action function="page">filemanageroptions</action>
3431 </object>
3432
3433 <object type="template" name="keyboardtemplate" />
3434
3435 <object type="action">
3436 <touch key="home" />
3437 <action function="page">main</action>
3438 </object>
3439
3440 <object type="action">
3441 <touch key="back" />
3442 <action function="page">filemanageroptions</action>
3443 </object>
3444
3445 <object type="template" name="footer" />
3446 </page>
3447
3448 <page name="filemanagerchmod">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3453 <font resource="font" />
3454 <text>Please Enter New Permissions</text>
3455 </object>
3456
3457 <object type="input">
3458 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3459 <background color="%input_background_color%" />
3460 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3461 <font resource="font" color="%text_color%" />
3462 <text>%tw_filemanager_rename%</text>
3463 <data name="tw_filemanager_rename" />
3464 <restrict minlen="3" maxlen="4" allow="0123456789" />
3465 <actions>
3466 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3467 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3468 <action function="set">tw_back=filemanageroptions</action>
3469 <action function="page">filemanagerconfirm</action>
3470 </actions>
3471 </object>
3472
3473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003475 <placement x="%col_center_x%" y="%cancel_button_y%" />
3476 <font resource="font" color="%button_text_color%" />
3477 <text>Cancel</text>
3478 <image resource="main_button" />
3479 <action function="page">filemanageroptions</action>
3480 </object>
3481
3482 <object type="template" name="keyboardtemplate" />
3483
3484 <object type="action">
3485 <touch key="home" />
3486 <action function="page">main</action>
3487 </object>
3488
3489 <object type="action">
3490 <touch key="back" />
3491 <action function="page">filemanageroptions</action>
3492 </object>
3493
3494 <object type="template" name="footer" />
3495 </page>
3496
3497 <page name="filemanagerconfirm">
3498 <object type="template" name="header" />
3499
3500 <object type="text" color="%text_color%">
3501 <font resource="font" />
3502 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3503 <text>%tw_fm_text1%</text>
3504 </object>
3505
3506 <object type="text" color="%text_color%">
3507 <font resource="font" />
3508 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3509 <text>%tw_filename1%</text>
3510 </object>
3511
3512 <object type="text" color="%text_color%">
3513 <font resource="font" />
3514 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3515 <text>%tw_fm_text2%</text>
3516 </object>
3517
3518 <object type="text" color="%text_color%">
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3521 <text>%tw_fm_text3%</text>
3522 </object>
3523
3524 <object type="text" color="%text_color%">
3525 <font resource="font" />
3526 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3527 <text>Press back button to cancel.</text>
3528 </object>
3529
3530 <object type="slider">
3531 <placement x="%slider_x%" y="%slider_y%" />
3532 <resource base="slider" used="slider-used" touch="slider-touch" />
3533 <action function="page">filemanageracction</action>
3534 </object>
3535
3536 <object type="text" color="%text_color%">
3537 <font resource="font" />
3538 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3539 <text>Swipe to Confirm</text>
3540 </object>
3541
3542 <object type="action">
3543 <touch key="back" />
3544 <action function="page">%tw_back%</action>
3545 </object>
3546
3547 <object type="action">
3548 <touch key="home" />
3549 <action function="page">main</action>
3550 </object>
3551
3552 <object type="template" name="footer" />
3553 </page>
3554
3555 <page name="filemanageracction">
3556 <object type="template" name="header" />
3557
3558 <object type="text" color="%text_color%">
3559 <font resource="font" />
3560 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3561 <text>%tw_fm_text1%</text>
3562 </object>
3563
3564 <object type="template" name="action_page_console" />
3565
3566 <object type="template" name="progress_bar" />
3567
3568 <object type="action">
3569 <conditions>
3570 <condition var1="tw_operation_state" var2="1" />
3571 <condition var1="tw_operation_status" var2="0" />
3572 </conditions>
3573 <actions>
3574 <action function="set">tw_back=filemanagerlist</action>
3575 <action function="set">tw_complete_text1=File Operation Complete</action>
3576 <action function="page">action_complete</action>
3577 </actions>
3578 </object>
3579
3580 <object type="action">
3581 <conditions>
3582 <condition var1="tw_operation_state" var2="1" />
3583 <condition var1="tw_operation_status" op="!=" var2="0" />
3584 </conditions>
3585 <actions>
3586 <action function="set">tw_complete_text1=File Operation Complete</action>
3587 <action function="page">action_complete</action>
3588 </actions>
3589 </object>
3590
3591 <object type="action">
3592 <condition var1="tw_include_text3" var2="0" />
3593 <actions>
3594 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3595 </actions>
3596 </object>
3597
3598 <object type="action">
3599 <condition var1="tw_include_text3" var2="1" />
3600 <actions>
3601 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3602 </actions>
3603 </object>
3604 </page>
3605
3606 <page name="decrypt">
3607 <object type="template" name="header" />
3608
3609 <object type="text" color="%text_color%">
3610 <font resource="font" />
3611 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3612 <text>Please Enter Your Password</text>
3613 </object>
3614
3615 <object type="input">
3616 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3617 <background color="%input_background_color%" />
3618 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3619 <font resource="font" color="%text_color%" />
3620 <text>%tw_crypto_display%</text>
3621 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3622 <restrict minlen="1" maxlen="254" />
3623 <actions>
3624 <action function="page">trydecrypt</action>
3625 </actions>
3626 </object>
3627
3628 <object type="text" color="%text_fail_color%">
3629 <condition var1="tw_password_fail" var2="1" />
3630 <font resource="font" />
3631 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3632 <text>Password Failed, Please Try Again</text>
3633 </object>
3634
3635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003637 <placement x="%col_center_x%" y="%cancel_button_y%" />
3638 <font resource="font" color="%button_text_color%" />
3639 <text>Cancel</text>
3640 <image resource="main_button" />
3641 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003642 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003643 <action function="page">main</action>
3644 </actions>
3645 </object>
3646
3647 <object type="template" name="keyboardtemplate" />
3648
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <object type="template" name="footer" />
3650 </page>
3651
3652 <page name="trydecrypt">
3653 <object type="template" name="header" />
3654
3655 <object type="text" color="%text_color%">
3656 <font resource="font" />
3657 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3658 <text>Trying Decryption with Your Password</text>
3659 </object>
3660
3661 <object type="template" name="action_page_console" />
3662
3663 <object type="template" name="progress_bar" />
3664
3665 <object type="action">
3666 <action function="decrypt"></action>
3667 </object>
3668
3669 <object type="action">
3670 <conditions>
3671 <condition var1="tw_operation_state" var2="1" />
3672 <condition var1="tw_operation_status" op="!=" var2="0" />
3673 </conditions>
3674 <actions>
3675 <action function="set">tw_password_fail=1</action>
3676 <action function="page">decrypt</action>
3677 </actions>
3678 </object>
3679
3680 <object type="action">
3681 <conditions>
3682 <condition var1="tw_operation_state" var2="1" />
3683 <condition var1="tw_operation_status" op="=" var2="0" />
3684 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003685 <actions>
3686 <action function="set">tw_page_done=1</action>
3687 <action function="page">main</action>
3688 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003689 </object>
3690 </page>
3691
3692 <page name="terminalfolder">
3693 <object type="template" name="header" />
3694
3695 <object type="text" color="%text_color%">
3696 <font resource="font" />
3697 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3698 <text>Browse to Starting Folder</text>
3699 </object>
3700
3701 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003702 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003703 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3704 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003705 <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 -04003706 <text>%tw_terminal_location%</text>
3707 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3708 <sort name="tw_gui_sort_order" />
3709 <icon folder="folder_icon" file="file_icon" />
3710 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003711 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <filter folders="1" files="0" />
3713 <path name="tw_terminal_location" default="/" />
3714 <data name="tw_terminal" />
3715 <selection name="tw_terminal_selection" />
3716 </object>
3717
3718 <object type="template" name="sort_options" />
3719
3720 <object type="action">
3721 <touch key="home" />
3722 <action function="page">main</action>
3723 </object>
3724
3725 <object type="action">
3726 <touch key="back" />
3727 <action function="page">advanced</action>
3728 </object>
3729
3730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003732 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3733 <font resource="font" color="%button_text_color%" />
3734 <text>Select Folder</text>
3735 <image resource="main_button" />
3736 <actions>
3737 <action function="page">terminalcommand</action>
3738 </actions>
3739 </object>
3740
3741 <object type="template" name="footer" />
3742 </page>
3743
3744 <page name="terminalcommand">
3745 <background color="#000000FF" />
3746
3747 <object type="console">
3748 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3749 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3750 <font resource="fixed" />
3751 </object>
3752
3753 <object type="text" color="%text_color%">
3754 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3755 <font resource="font" />
3756 <text>Starting Path: %tw_terminal_location%</text>
3757 </object>
3758
3759 <object type="input">
3760 <condition var1="tw_terminal_state" var2="0" />
3761 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3762 <background color="%input_background_color%" />
3763 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3764 <font resource="font" color="%text_color%" />
3765 <text>%tw_terminal_command%</text>
3766 <data name="tw_terminal_command" />
3767 <restrict minlen="1" />
3768 <action function="terminalcommand">%tw_terminal_command%</action>
3769 </object>
3770
3771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003773 <condition var1="tw_terminal_state" var2="1" />
3774 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3775 <font resource="font" color="%button_text_color%" />
3776 <text>KILL</text>
3777 <image resource="medium_button" />
3778 <action function="killterminal"></action>
3779 </object>
3780
3781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003783 <placement x="%home_button_x%" y="%terminal_button_y%" />
3784 <font resource="font" color="%button_text_color%" />
3785 <text></text>
3786 <image resource="home_icon" />
3787 <condition var1="tw_busy" var2="0" />
3788 <action function="key">home</action>
3789 </object>
3790
3791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003792 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003793 <placement x="%back_button_x%" y="%terminal_button_y%" />
3794 <font resource="font" color="%button_text_color%" />
3795 <text></text>
3796 <image resource="back_icon" />
3797 <condition var1="tw_busy" var2="0" />
3798 <action function="key">back</action>
3799 </object>
3800
3801 <object type="action">
3802 <touch key="power" />
3803 <action function="overlay">lock</action>
3804 </object>
3805
3806 <object type="template" name="keyboardtemplate" />
3807
3808 <object type="action">
3809 <touch key="home" />
3810 <action function="page">main</action>
3811 </object>
3812
3813 <object type="action">
3814 <touch key="back" />
3815 <action function="page">terminalfolder</action>
3816 </object>
3817 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003818
3819 <page name="sideload">
3820 <object type="template" name="header" />
3821
3822 <object type="text" color="%text_color%">
3823 <font resource="font" />
3824 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3825 <text>ADB Sideload</text>
3826 </object>
3827
3828 <object type="checkbox">
3829 <placement x="%col1_x%" y="%row3_text_y%" />
3830 <font resource="font" color="%text_color%" />
3831 <text>Wipe Dalvik Cache.</text>
3832 <data variable="tw_wipe_dalvik" />
3833 <image checked="checkbox_true" unchecked="checkbox_false" />
3834 </object>
3835
3836 <object type="checkbox">
3837 <placement x="%col1_x%" y="%row4_text_y%" />
3838 <font resource="font" color="%text_color%" />
3839 <text>Wipe Cache.</text>
3840 <data variable="tw_wipe_cache" />
3841 <image checked="checkbox_true" unchecked="checkbox_false" />
3842 </object>
3843
3844 <object type="slider">
3845 <placement x="%slider_x%" y="%slider_y%" />
3846 <resource base="slider" used="slider-used" touch="slider-touch" />
3847 <actions>
3848 <action function="set">tw_back=advanced</action>
3849 <action function="set">tw_action=adbsideload</action>
3850 <action function="set">tw_action_text1=ADB Sideload</action>
3851 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3852 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3853 <action function="set">tw_has_cancel=1</action>
3854 <action function="set">tw_show_reboot=1</action>
3855 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3856 <action function="page">action_page</action>
3857 </actions>
3858 </object>
3859
3860 <object type="text" color="%text_color%">
3861 <font resource="font" />
3862 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3863 <text>Swipe to Start Sideload</text>
3864 </object>
3865
3866 <object type="action">
3867 <touch key="home" />
3868 <action function="page">main</action>
3869 </object>
3870
3871 <object type="action">
3872 <touch key="back" />
3873 <action function="page">advanced</action>
3874 </object>
3875
3876 <object type="template" name="footer" />
3877 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003878
3879 <page name="installsu">
3880 <object type="template" name="header" />
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3885 <text>Install SuperSU?</text>
3886 </object>
3887
3888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3891 <text>Your device does not appear to be rooted.</text>
3892 </object>
3893
3894 <object type="text" color="%text_color%">
3895 <font resource="font" />
3896 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3897 <text>Install SuperSU now? This will root your device.</text>
3898 </object>
3899
3900 <object type="button">
3901 <highlight color="%highlight_color%" />
3902 <placement x="%col_center_x%" y="%row2_medium_y%" />
3903 <font resource="font" color="%button_text_color%" />
3904 <text>Do Not Install</text>
3905 <image resource="main_button" />
3906 <action function="set">tw_page_done=1</action>
3907 </object>
3908
3909 <object type="slider">
3910 <placement x="%slider_x%" y="%slider_y%" />
3911 <resource base="slider" used="slider-used" touch="slider-touch" />
3912 <actions>
3913 <action function="set">tw_action=installsu</action>
3914 <action function="set">tw_action_text1=Installing SuperSU</action>
3915 <action function="set">tw_action_text2=</action>
3916 <action function="page">singleaction_page</action>
3917 </actions>
3918 </object>
3919
3920 <object type="text" color="%text_color%">
3921 <font resource="font" />
3922 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3923 <text>Swipe to Install</text>
3924 </object>
3925 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003926 </pages>
3927</recovery>