blob: 434fe36d51c43af855b219fa57a57292cee49b17 [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" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600105 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400106 <variable name="slider_x" value="307" />
107 <variable name="slider_y" value="600" />
108 <variable name="slider_text_y" value="650" />
109 <variable name="sort_text_x" value="270" />
110 <variable name="sort_asc_text_y" value="655" />
111 <variable name="sort_asc_button_y" value="650" />
112 <variable name="sort_desc_text_y" value="700" />
113 <variable name="sort_desc_button_y" value="695" />
114 <variable name="sort_col1_button_x" value="440" />
115 <variable name="sort_col2_button_x" value="510" />
116 <variable name="sort_col3_button_x" value="580" />
117 <variable name="col1_sdext_x" value="370" />
118 <variable name="col2_sdext_x" value="600" />
119 <variable name="row1_sdext_y" value="115" />
120 <variable name="row2_sdext_y" value="180" />
121 <variable name="row_extsize_y" value="115" />
122 <variable name="row_swapsize_y" value="180" />
123 <variable name="input_x" value="28" />
124 <variable name="input_width" value="944" />
125 <variable name="input_height" value="30" />
126 <variable name="input_background_color" value="#303030" />
127 <variable name="input_cursor_color" value="#33B5E5" />
128 <variable name="input_cursor_width" value="3" />
129 <variable name="console_x" value="25" />
130 <variable name="console_width" value="974" />
131 <variable name="console_foreground" value="#A0A0A0" />
132 <variable name="console_background" value="#303030" />
133 <variable name="console_scroll" value="#303030" />
134 <variable name="console_action_height" value="320" />
135 <variable name="console_install_height" value="440" />
136 <variable name="console_installdone_height" value="300" />
137 <variable name="fileselector_folder_x" value="28" />
138 <variable name="fileselector_folder_width" value="282" />
139 <variable name="fileselector_folderonly_width" value="460" />
140 <variable name="fileselector_file_x" value="317" />
141 <variable name="fileselector_file_width" value="682" />
142 <variable name="fileselector_install_y" value="120" />
143 <variable name="fileselector_install_height" value="510" />
144 <variable name="fileselector_header_background" value="#202020" />
145 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
146 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
147 <variable name="fileselector_header_separatorheight" value="3" />
148 <variable name="fileselector_separatorcolor" value="#505050" />
149 <variable name="fileselector_separatorheight" value="2" />
150 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600151 <variable name="fileselector_highlight_color" value="#505050" />
152 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100154 <variable name="fastscroll_linecolor" value="#808080" />
155 <variable name="fastscroll_rectcolor" value="#808080" />
156 <variable name="fastscroll_w" value="32" />
157 <variable name="fastscroll_linew" value="2" />
158 <variable name="fastscroll_rectw" value="24" />
159 <variable name="fastscroll_recth" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400160 <variable name="zipstorage_text_y" value="88" />
161 <variable name="listbox_x" value="269" />
162 <variable name="listbox_y" value="90" />
163 <variable name="listbox_width" value="460" />
164 <variable name="listbox_tz_height" value="290" />
165 <variable name="listbox_background" value="#303030" />
166 <variable name="listbox_spacing" value="18" />
167 <variable name="sd_plus_x" value="280" />
168 <variable name="lock_x" value="312" />
169 <variable name="lock_y" value="184" />
170 <variable name="filemanager_select_x" value="761" />
171 <variable name="filemanager_select_y" value="620" />
172 <variable name="backup_name_text_y" value="440" />
173 <variable name="backup_name_button_y" value="240" />
174 <variable name="col_right_x" value="996" />
175 <variable name="cancel_button_y" value="240" />
176 <variable name="terminal_console_y" value="0" />
177 <variable name="terminal_console_height" value="362" />
178 <variable name="terminal_text_y" value="368" />
179 <variable name="terminal_button_y" value="358" />
180 <variable name="terminal_input_width" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500181 <variable name="button_fill_color" value="#303030" />
182 <variable name="button_fill_full_width" value="512" />
183 <variable name="button_fill_main_width" value="486" />
184 <variable name="button_fill_main_height" value="150" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000185 <variable name="button_fill_half_height" value="50" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500186 <variable name="button_fill_quarter_height" value="30" />
187 <variable name="button_full_center_x" value="256" />
188 <variable name="backup_list_x" value="23" />
189 <variable name="backup_list_y" value="105" />
190 <variable name="backup_list_width" value="486" />
191 <variable name="backup_list_height" value="450" />
192 <variable name="backup_storage_y" value="250" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000193 <variable name="backup_encrypt_y" value="310" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500194 <variable name="restore_list_y" value="140" />
195 <variable name="restore_list_height" value="400" />
196 <variable name="mount_list_height" value="500" />
197 <variable name="mount_storage_row" value="500" />
198 <variable name="wipe_list_height" value="400" />
199 <variable name="wipe_button_y" value="190" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200200 <variable name="slidervalue_x" value="256" />
201 <variable name="slidervalue_w" value="512" />
202 <variable name="slidervalue_line_clr" value="#FFFFFF" />
203 <variable name="slidervalue_slider_clr" value="#33B5E5" />
204 <variable name="slidervalue_lineh" value="2" />
205 <variable name="slidervalue_padding" value="0" />
206 <variable name="slidervalue_sliderw" value="10" />
207 <variable name="slidervalue_sliderh" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400208 </variables>
209
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100210 <mousecursor>
211 <placement w="15" h="15" />
212 <background color="#FFFF00FF" resource="cursor" />
213 <speed multiplier="2" />
214 </mousecursor>
215
Dees_Troy51a0e822012-09-05 15:24:24 -0400216 <templates>
217 <template name="header">
218 <background color="#000000FF" />
219
220 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <image resource="base" />
222 <placement x="0" y="0" />
223 </object>
224
Dees_Troy51a0e822012-09-05 15:24:24 -0400225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000228 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
233 <placement x="250" y="30" />
234 <conditions>
235 <condition var1="tw_no_battery_percent" var2="0" />
236 <condition var1="tw_battery" op=">" var2="0" />
237 <condition var1="tw_battery" op="<" var2="101" />
238 </conditions>
239 <text>Battery Level: %tw_battery%</text>
240 </object>
241
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="450" y="30" />
245 <text>%tw_time%</text>
246 </object>
247
248 <object type="text" color="%text_color%">
249 <condition var1="tw_simulate_actions" var2="1" />
250 <font resource="font" />
251 <placement x="550" y="30" />
252 <text>SIMULATING ACTIONS</text>
253 </object>
254
255 <object type="button">
256 <placement x="%home_button_x%" y="%home_button_y%" />
257 <font resource="font" color="%button_text_color%" />
258 <text></text>
259 <image resource="home_icon" />
260 <condition var1="tw_busy" var2="0" />
261 <action function="key">home</action>
262 </object>
263
264 <object type="button">
265 <placement x="%back_button_x%" y="%back_button_y%" />
266 <font resource="font" color="%button_text_color%" />
267 <text></text>
268 <image resource="back_icon" />
269 <condition var1="tw_busy" var2="0" />
270 <action function="key">back</action>
271 </object>
272
273 <object type="action">
274 <touch key="power" />
275 <action function="overlay">lock</action>
276 </object>
277 </template>
278
279 <template name="progress_bar">
280 <object type="progressbar">
281 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
282 <resource empty="progress_empty" full="progress_full" />
283 <data name="ui_progress" />
284 </object>
285
286 <object type="animation">
287 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
288 <resource name="progress" />
289 <speed fps="15" render="2" />
290 <loop frame="1" />
291 </object>
292 </template>
293
294 <template name="sort_options">
295 <object type="text" color="%text_color%">
296 <font resource="font" />
297 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
298 <text>Sort Ascending:</text>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
303 <font resource="font" color="%button_text_color%" />
304 <text>Name</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=1</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Date</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=2</action>
315 </object>
316
317 <object type="button">
318 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
319 <font resource="font" color="%button_text_color%" />
320 <text>Size</text>
321 <image resource="sort_button" />
322 <action function="set">tw_gui_sort_order=3</action>
323 </object>
324
325 <object type="text" color="%text_color%">
326 <font resource="font" />
327 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
328 <text>Sort Descending:</text>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
333 <font resource="font" color="%button_text_color%" />
334 <text>Name</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-1</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
341 <font resource="font" color="%button_text_color%" />
342 <text>Date</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-2</action>
345 </object>
346
347 <object type="button">
348 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
349 <font resource="font" color="%button_text_color%" />
350 <text>Size</text>
351 <image resource="sort_button" />
352 <action function="set">tw_gui_sort_order=-3</action>
353 </object>
354 </template>
355
356 <template name="flash_zip_console">
357 <object type="console">
358 <placement x="%console_x%" y="85" w="%console_width%" h="430" />
359 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
360 <font resource="fixed" />
361 </object>
362 </template>
363
364 <template name="action_page_console">
365 <object type="console">
366 <placement x="%console_x%" y="200" w="%console_width%" h="380" />
367 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
368 <font resource="fixed" />
369 </object>
370 </template>
371
372 <template name="footer">
373 <object type="console">
374 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
375 <placement x="%console_x%" y="75" w="%console_width%" h="665" />
376 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
377 <font resource="fixed" />
378 </object>
379 </template>
380
381 <template name="keyboardtemplate">
382 <object type="keyboard">
383 <placement x="0" y="408" />
384 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600385 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600386 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <layout1>
388 <keysize height="90" width="85" />
389 <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" />
390 <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" />
391 <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" />
392 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
393 </layout1>
394 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600395 <keysize height="90" width="85" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400396 <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" />
397 <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" />
398 <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" />
399 <row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
400 </layout2>
401 <layout3>
402 <keysize height="90" width="85" />
403 <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" />
404 <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" />
405 <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" />
406 <row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" />
407 </layout3>
408 <layout4>
409 <keysize height="90" width="85" />
410 <row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" />
411 <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" />
412 <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" />
413 <row4 key01="320:" key02="385: " />
414 </layout4>
415 </object>
416 </template>
417 </templates>
418
419 <pages>
420 <page name="main">
421 <object type="action">
422 <actions>
423 <action function="set">tw_clear_destination=main2</action>
424 <action function="page">clear_vars</action>
425 </actions>
426 </object>
427 </page>
428
429 <page name="main2">
430 <object type="template" name="header" />
431
432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400434 <placement x="%col1_x%" y="%row1_y%" />
435 <font resource="font" color="%button_text_color%" />
436 <text>Install</text>
437 <image resource="main_button" />
438 <actions>
439 <action function="queueclear"></action>
440 <action function="page">install</action>
441 </actions>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row1_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Backup</text>
449 <image resource="main_button" />
450 <action function="page">backup</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col3_x%" y="%row1_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Restore</text>
458 <image resource="main_button" />
459 <action function="page">restore</action>
460 </object>
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col4_x%" y="%row1_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Wipe</text>
467 <image resource="main_button" />
468 <action function="page">wipe</action>
469 </object>
470
471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <placement x="%col1_x%" y="%row2_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Mount</text>
476 <image resource="main_button" />
477 <action function="page">mount</action>
478 </object>
479
480 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600481 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <placement x="%col2_x%" y="%row2_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Settings</text>
485 <image resource="main_button" />
486 <action function="page">settings</action>
487 </object>
488
489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400491 <placement x="%col3_x%" y="%row2_y%" />
492 <font resource="font" color="%button_text_color%" />
493 <text>Advanced</text>
494 <image resource="main_button" />
495 <action function="page">advanced</action>
496 </object>
497
498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600499 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <placement x="%col4_x%" y="%row2_y%" />
501 <font resource="font" color="%button_text_color%" />
502 <text>Reboot</text>
503 <image resource="main_button" />
504 <action function="page">reboot</action>
505 </object>
506
507 <object type="template" name="footer" />
508 </page>
509
510 <page name="install">
511 <object type="template" name="header" />
512
513 <object type="text" color="%text_color%">
514 <font resource="font" />
515 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
516 <text>Select Zip to Install</text>
517 </object>
518
519 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500520 <highlight color="%highlight_color%" />
521 <fill color="%button_fill_color%" />
522 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
523 <font resource="font" color="%button_text_color%" />
524 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
525 <actions>
526 <action function="set">tw_back=install</action>
527 <action function="page">selectstorage</action>
528 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400529 </object>
530
531 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600532 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400533 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
534 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100535 <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 -0400536 <text>Folders:</text>
537 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
538 <sort name="tw_gui_sort_order" />
539 <icon folder="folder_icon" file="file_icon" />
540 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600541 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400542 <filter folders="1" files="0" />
543 <path name="tw_zip_location" default="/sdcard" />
544 <data name="select" />
545 </object>
546
547 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600548 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400549 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
550 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100551 <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 -0400552 <text>%tw_zip_location%</text>
553 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
554 <sort name="tw_gui_sort_order" />
555 <icon folder="folder_icon" file="file_icon" />
556 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600557 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400558 <filter extn=".zip" folders="0" files="1" />
559 <path name="tw_zip_location" />
560 <data name="tw_filename" />
561 <selection name="tw_file" />
562 </object>
563
564 <object type="template" name="sort_options" />
565
566 <object type="action">
567 <condition var1="tw_filename" op="modified" />
568 <actions>
569 <action function="queuezip"></action>
570 <action function="page">flash_confirm</action>
571 </actions>
572 </object>
573
574 <object type="action">
575 <touch key="back" />
576 <action function="page">main</action>
577 </object>
578
579 <object type="action">
580 <touch key="home" />
581 <action function="page">main</action>
582 </object>
583
584 <object type="template" name="footer" />
585 </page>
586
587 <page name="flash_confirm">
588 <object type="template" name="header" />
589
590 <object type="text" color="%text_color%">
591 <font resource="font" />
592 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
593 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
594 </object>
595
596 <object type="text" color="%text_color%">
597 <font resource="font" />
598 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
599 <text>Folder:</text>
600 </object>
601
602 <object type="text" color="%text_color%">
603 <font resource="font" />
604 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
605 <text>%tw_zip_location%</text>
606 </object>
607
608 <object type="text" color="%text_color%">
609 <font resource="font" />
610 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
611 <text>File to flash:</text>
612 </object>
613
614 <object type="text" color="%text_color%">
615 <font resource="font" />
616 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
617 <text>%tw_file%</text>
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
623 <text>Press back to cancel adding this zip.</text>
624 </object>
625
626 <object type="checkbox">
627 <placement x="%col2_x%" y="%row7_text_y%" />
628 <font resource="font" color="%text_color%" />
629 <text>Zip file signature verification?</text>
630 <data variable="tw_signed_zip_verify" />
631 <image checked="checkbox_true" unchecked="checkbox_false" />
632 </object>
633
Dees_Troy51a0e822012-09-05 15:24:24 -0400634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
637 <text>File %tw_zip_queue_count% of max of 10</text>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
643 <placement x="%col2_x%" y="%row5_medium_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Add More Zips</text>
646 <image resource="mediumwide_button" />
647 <action function="page">install</action>
648 </object>
649
650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <placement x="%col3_x%" y="%row5_medium_y%" />
653 <font resource="font" color="%button_text_color%" />
654 <text>Clear Queue</text>
655 <image resource="mediumwide_button" />
656 <actions>
657 <action function="queueclear"></action>
658 <action function="page">install</action>
659 </actions>
660 </object>
661
662 <object type="slider">
663 <placement x="%slider_x%" y="%slider_y%" />
664 <resource base="slider" used="slider-used" touch="slider-touch" />
665 <action function="flash">flash_zip</action>
666 </object>
667
668 <object type="text" color="%text_color%">
669 <font resource="font" />
670 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
671 <text>Swipe to Confirm Flash</text>
672 </object>
673
674 <object type="action">
675 <touch key="back" />
676 <actions>
677 <action function="cancelzip"></action>
678 <action function="page">install</action>
679 </actions>
680 </object>
681
682 <object type="action">
683 <touch key="home" />
684 <action function="page">main</action>
685 </object>
686
687 <object type="template" name="footer" />
688 </page>
689
690 <page name="flash_zip">
691 <object type="template" name="header" />
692
693 <object type="template" name="flash_zip_console" />
694
695 <object type="text" color="%text_color%">
696 <font resource="font" />
697 <placement x="%col1_x%" y="%row16_text_y%" />
698 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
699 </object>
700
701 <object type="text" color="%text_color%">
702 <font resource="font" />
703 <placement x="%col1_x%" y="%row17_text_y%" />
704 <text>%tw_filename%</text>
705 </object>
706
707 <object type="template" name="progress_bar" />
708
709 <object type="action">
710 <condition var1="tw_operation_state" var2="1" />
711 <action function="page">flash_done</action>
712 </object>
713 </page>
714
715 <page name="flash_done">
716 <object type="template" name="header" />
717
718 <object type="template" name="flash_zip_console" />
719
720 <object type="text" color="%text_fail_color%">
721 <condition var1="tw_operation_status" op="!=" var2="0" />
722 <font resource="font" />
723 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
724 <text>Failed</text>
725 </object>
726
727 <object type="text" color="%text_success_color%">
728 <condition var1="tw_operation_status" var2="0" />
729 <font resource="font" />
730 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
731 <text>Successful</text>
732 </object>
733
734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <placement x="%col1_x%" y="%slider_y%" />
737 <font resource="font" color="%button_text_color%" />
738 <text>Wipe Cache/Dalvik</text>
739 <image resource="main_button" />
740 <actions>
741 <action function="set">tw_back=flash_done</action>
742 <action function="set">tw_action=wipe</action>
743 <action function="set">tw_action_param=/cache</action>
744 <action function="set">tw_has_action2=1</action>
745 <action function="set">tw_action2=wipe</action>
746 <action function="set">tw_action2_param=dalvik</action>
747 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
748 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
749 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
750 <action function="set">tw_slider_text=Swipe to Wipe</action>
751 <action function="page">confirm_action</action>
752 </actions>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <condition var1="tw_reboot_system" var2="1" />
758 <placement x="%col4_x%" y="%slider_y%" />
759 <font resource="font" color="%button_text_color%" />
760 <text>Reboot System</text>
761 <image resource="main_button" />
762 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400763 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400764 <action function="set">tw_action=reboot</action>
765 <action function="set">tw_action_param=system</action>
766 <action function="set">tw_has_action2=0</action>
767 <action function="set">tw_text1=No OS Installed! Are you</action>
768 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400769 <action function="set">tw_text3=</action>
770 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400771 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400772 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400773 <action function="set">tw_complete_text1=Rebooting...</action>
774 <action function="set">tw_slider_text=Swipe to Reboot</action>
775 <action function="page">rebootcheck</action>
776 </actions>
777 </object>
778
779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400781 <placement x="%col_center_x%" y="%slider_y%" />
782 <font resource="font" color="%button_text_color%" />
783 <text>Home</text>
784 <image resource="main_button" />
785 <actions>
786 <action function="set">tw_clear_destination=main2</action>
787 <action function="page">clear_vars</action>
788 </actions>
789 </object>
790
791 <object type="action">
792 <touch key="back" />
793 <actions>
794 <action function="set">tw_clear_destination=install</action>
795 <action function="page">clear_vars</action>
796 </actions>
797 </object>
798
799 <object type="action">
800 <touch key="home" />
801 <actions>
802 <action function="set">tw_clear_destination=main2</action>
803 <action function="page">clear_vars</action>
804 </actions>
805 </object>
806 </page>
807
808 <page name="clear_vars">
809 <object type="action">
810 <action function="set">tw_operation_state=0</action>
811 <action function="set">tw_text1=</action>
812 <action function="set">tw_text2=</action>
813 <action function="set">tw_text3=</action>
814 <action function="set">tw_text4=</action>
815 <action function="set">tw_action_text1=</action>
816 <action function="set">tw_action_text2=</action>
817 <action function="set">tw_action_param=</action>
818 <action function="set">tw_has_action2=0</action>
819 <action function="set">tw_action2=</action>
820 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400821 <action function="set">tw_has_cancel=0</action>
822 <action function="set">tw_cancel_action=</action>
823 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400824 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400825 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400826 <action function="page">%tw_clear_destination%</action>
827 </object>
828 </page>
829
830 <page name="confirm_action">
831 <object type="template" name="header" />
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
835 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
836 <text>%tw_text1%</text>
837 </object>
838
839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
842 <text>%tw_text2%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
848 <text>%tw_text3%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
854 <text>%tw_text4%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400859 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400860 <text>Press back button to cancel.</text>
861 </object>
862
863 <object type="slider">
864 <placement x="%slider_x%" y="%slider_y%" />
865 <resource base="slider" used="slider-used" touch="slider-touch" />
866 <action function="page">action_page</action>
867 </object>
868
869 <object type="text" color="%text_color%">
870 <font resource="font" />
871 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
872 <text>%tw_slider_text%</text>
873 </object>
874
875 <object type="action">
876 <touch key="back" />
877 <actions>
878 <action function="set">tw_clear_destination=%tw_back%</action>
879 <action function="page">clear_vars</action>
880 </actions>
881 </object>
882
883 <object type="action">
884 <touch key="home" />
885 <action function="page">main</action>
886 </object>
887
888 <object type="template" name="footer" />
889 </page>
890
891 <page name="action_page">
892 <object type="template" name="header" />
893
894 <object type="text" color="%text_color%">
895 <font resource="font" />
896 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
897 <text>%tw_action_text1%</text>
898 </object>
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
902 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
903 <text>%tw_action_text2%</text>
904 </object>
905
906 <object type="template" name="action_page_console" />
907
Dees_Troy2691f9d2012-09-24 11:15:49 -0400908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600909 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400910 <condition var1="tw_has_cancel" var2="1" />
911 <placement x="%col4_x%" y="%slider_y%" />
912 <font resource="font" color="%button_text_color%" />
913 <text>Cancel</text>
914 <image resource="main_button" />
915 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
916 </object>
917
Dees_Troy51a0e822012-09-05 15:24:24 -0400918 <object type="template" name="progress_bar" />
919
920 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400921 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400922 <actions>
923 <action function="page">action_complete</action>
924 </actions>
925 </object>
926
927 <object type="action">
928 <condition var1="tw_has_action2" var2="0" />
929 <actions>
930 <action function="%tw_action%">%tw_action_param%</action>
931 </actions>
932 </object>
933
934 <object type="action">
935 <condition var1="tw_has_action2" var2="1" />
936 <actions>
937 <action function="%tw_action%">%tw_action_param%</action>
938 <action function="%tw_action2%">%tw_action2_param%</action>
939 </actions>
940 </object>
941 </page>
942
Dees_Troy6ef66352013-02-21 08:26:57 -0600943 <page name="singleaction_page">
944 <object type="template" name="header" />
945
946 <object type="text" color="%text_color%">
947 <font resource="font" />
948 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
949 <text>%tw_action_text1%</text>
950 </object>
951
952 <object type="text" color="%text_color%">
953 <font resource="font" />
954 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
955 <text>%tw_action_text2%</text>
956 </object>
957
958 <object type="template" name="action_page_console" />
959
960 <object type="template" name="progress_bar" />
961
962 <object type="action">
963 <condition var1="tw_operation_state" var2="1" />
964 <actions>
965 <action function="set">tw_page_done=1</action>
966 </actions>
967 </object>
968
969 <object type="action">
970 <condition var1="tw_has_action2" var2="0" />
971 <actions>
972 <action function="%tw_action%">%tw_action_param%</action>
973 </actions>
974 </object>
975
976 <object type="action">
977 <condition var1="tw_has_action2" var2="1" />
978 <actions>
979 <action function="%tw_action%">%tw_action_param%</action>
980 <action function="%tw_action2%">%tw_action2_param%</action>
981 </actions>
982 </object>
983 </page>
984
Dees_Troy51a0e822012-09-05 15:24:24 -0400985 <page name="action_complete">
986 <object type="template" name="header" />
987
988 <object type="text" color="%text_color%">
989 <font resource="font" />
990 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
991 <text>%tw_complete_text1%</text>
992 </object>
993
994 <object type="text" color="%text_fail_color%">
995 <condition var1="tw_operation_status" op="!=" var2="0" />
996 <font resource="font" />
997 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
998 <text>Failed</text>
999 </object>
1000
1001 <object type="text" color="%text_success_color%">
1002 <condition var1="tw_operation_status" var2="0" />
1003 <font resource="font" />
1004 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1005 <text>Successful</text>
1006 </object>
1007
1008 <object type="template" name="action_page_console" />
1009
1010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001011 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001013 <placement x="%col_center_x%" y="%slider_y%" />
1014 <font resource="font" color="%button_text_color%" />
1015 <text>Back</text>
1016 <image resource="main_button" />
1017 <actions>
1018 <action function="set">tw_clear_destination=%tw_back%</action>
1019 <action function="page">clear_vars</action>
1020 </actions>
1021 </object>
1022
Dees_Troya3f81542012-10-08 10:58:53 -04001023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001024 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001025 <condition var1="tw_show_reboot" var2="1" />
1026 <placement x="%col_center_x%" y="%slider_y%" />
1027 <font resource="font" color="%button_text_color%" />
1028 <text>Reboot System</text>
1029 <image resource="main_button" />
1030 <actions>
1031 <action function="set">tw_back=main2</action>
1032 <action function="set">tw_action=reboot</action>
1033 <action function="set">tw_action_param=system</action>
1034 <action function="set">tw_has_action2=0</action>
1035 <action function="set">tw_text1=No OS Installed! Are you</action>
1036 <action function="set">tw_text2=sure you wish to reboot?</action>
1037 <action function="set">tw_text3=</action>
1038 <action function="set">tw_text4=</action>
1039 <action function="set">tw_action_text1=Rebooting...</action>
1040 <action function="set">tw_action_text2=</action>
1041 <action function="set">tw_complete_text1=Rebooting...</action>
1042 <action function="set">tw_slider_text=Swipe to Reboot</action>
1043 <action function="page">rebootcheck</action>
1044 </actions>
1045 </object>
1046
Dees_Troy51a0e822012-09-05 15:24:24 -04001047 <object type="action">
1048 <touch key="home" />
1049 <actions>
1050 <action function="set">tw_clear_destination=main2</action>
1051 <action function="page">clear_vars</action>
1052 </actions>
1053 </object>
1054
1055 <object type="action">
1056 <touch key="back" />
1057 <actions>
1058 <action function="set">tw_clear_destination=%tw_back%</action>
1059 <action function="page">clear_vars</action>
1060 </actions>
1061 </object>
1062 </page>
1063
1064 <page name="filecheck">
1065 <object type="action">
1066 <action function="fileexists">%tw_filecheck%</action>
1067 </object>
1068
1069 <object type="action">
1070 <conditions>
1071 <condition var1="tw_operation_state" var2="1" />
1072 <condition var1="tw_operation_status" var2="0" />
1073 </conditions>
1074 <actions>
1075 <action function="set">tw_fileexists=1</action>
1076 <action function="page">%tw_existpage%</action>
1077 </actions>
1078 </object>
1079
1080 <object type="action">
1081 <conditions>
1082 <condition var1="tw_operation_state" var2="1" />
1083 <condition var1="tw_operation_status" var2="1" />
1084 </conditions>
1085 <actions>
1086 <action function="set">tw_fileexists=0</action>
1087 <action function="page">%tw_notexistpage%</action>
1088 </actions>
1089 </object>
1090 </page>
1091
1092 <page name="rebootcheck">
1093 <object type="action">
1094 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1095 <action function="reboot">%tw_action_param%</action>
1096 </object>
1097
1098 <object type="action">
1099 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1100 <action function="page">confirm_action</action>
1101 </object>
1102 </page>
1103
1104 <page name="reboot">
1105 <object type="template" name="header" />
1106
1107 <object type="text" color="%text_color%">
1108 <font resource="font" />
1109 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1110 <text>Reboot Menu</text>
1111 </object>
1112
1113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001115 <condition var1="tw_reboot_system" var2="1" />
1116 <placement x="%col1_x%" y="%row1_y%" />
1117 <font resource="font" color="%button_text_color%" />
1118 <text>System</text>
1119 <image resource="main_button" />
1120 <actions>
1121 <action function="set">tw_back=reboot</action>
1122 <action function="set">tw_action=reboot</action>
1123 <action function="set">tw_action_param=system</action>
1124 <action function="set">tw_has_action2=0</action>
1125 <action function="set">tw_text1=No OS Installed! Are you</action>
1126 <action function="set">tw_text2=sure you wish to reboot?</action>
1127 <action function="set">tw_action_text1=Rebooting...</action>
1128 <action function="set">tw_complete_text1=Rebooting...</action>
1129 <action function="set">tw_slider_text=Swipe to Reboot</action>
1130 <action function="page">rebootcheck</action>
1131 </actions>
1132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001136 <condition var1="tw_reboot_poweroff" var2="1" />
1137 <placement x="%col2_x%" y="%row1_y%" />
1138 <font resource="font" color="%button_text_color%" />
1139 <text>Power Off</text>
1140 <image resource="main_button" />
1141 <actions>
1142 <action function="set">tw_back=reboot</action>
1143 <action function="set">tw_action=reboot</action>
1144 <action function="set">tw_action_param=poweroff</action>
1145 <action function="set">tw_has_action2=0</action>
1146 <action function="set">tw_text1=No OS Installed! Are you</action>
1147 <action function="set">tw_text2=sure you wish to power off?</action>
1148 <action function="set">tw_action_text1=Turning Off...</action>
1149 <action function="set">tw_complete_text1=Turning Off...</action>
1150 <action function="set">tw_slider_text=Swipe to Power Off</action>
1151 <action function="page">rebootcheck</action>
1152 </actions>
1153 </object>
1154
1155 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001156 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <condition var1="tw_reboot_recovery" var2="1" />
1158 <placement x="%col1_x%" y="%row2_y%" />
1159 <font resource="font" color="%button_text_color%" />
1160 <text>Recovery</text>
1161 <image resource="main_button" />
1162 <actions>
1163 <action function="set">tw_back=reboot</action>
1164 <action function="set">tw_action=reboot</action>
1165 <action function="set">tw_action_param=recovery</action>
1166 <action function="set">tw_has_action2=0</action>
1167 <action function="set">tw_text1=No OS Installed! Are you</action>
1168 <action function="set">tw_text2=sure you wish to reboot?</action>
1169 <action function="set">tw_action_text1=Rebooting...</action>
1170 <action function="set">tw_complete_text1=Rebooting...</action>
1171 <action function="set">tw_slider_text=Swipe to Reboot</action>
1172 <action function="page">rebootcheck</action>
1173 </actions>
1174 </object>
1175
1176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001178 <condition var1="tw_reboot_bootloader" var2="1" />
1179 <placement x="%col2_x%" y="%row2_y%" />
1180 <font resource="font" color="%button_text_color%" />
1181 <text>Bootloader</text>
1182 <image resource="main_button" />
1183 <actions>
1184 <action function="set">tw_back=reboot</action>
1185 <action function="set">tw_action=reboot</action>
1186 <action function="set">tw_action_param=bootloader</action>
1187 <action function="set">tw_has_action2=0</action>
1188 <action function="set">tw_text1=No OS Installed! Are you</action>
1189 <action function="set">tw_text2=sure you wish to reboot?</action>
1190 <action function="set">tw_action_text1=Rebooting...</action>
1191 <action function="set">tw_complete_text1=Rebooting...</action>
1192 <action function="set">tw_slider_text=Swipe to Reboot</action>
1193 <action function="page">rebootcheck</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <condition var1="tw_download_mode" var2="1" />
1200 <placement x="%col3_x%" y="%row2_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>Download</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=reboot</action>
1206 <action function="set">tw_action=reboot</action>
1207 <action function="set">tw_action_param=download</action>
1208 <action function="set">tw_has_action2=0</action>
1209 <action function="set">tw_text1=No OS Installed! Are you</action>
1210 <action function="set">tw_text2=sure you wish to reboot?</action>
1211 <action function="set">tw_action_text1=Rebooting...</action>
1212 <action function="set">tw_complete_text1=Rebooting...</action>
1213 <action function="set">tw_slider_text=Swipe to Reboot</action>
1214 <action function="page">rebootcheck</action>
1215 </actions>
1216 </object>
1217
1218 <object type="action">
1219 <touch key="home" />
1220 <action function="page">main</action>
1221 </object>
1222
1223 <object type="action">
1224 <touch key="back" />
1225 <action function="page">main</action>
1226 </object>
1227
1228 <object type="template" name="footer" />
1229 </page>
1230
Dees_Troya13d74f2013-03-24 08:54:55 -05001231 <page name="selectstorage">
1232 <object type="template" name="header" />
1233
1234 <object type="partitionlist">
1235 <highlight color="%fileselector_highlight_color%" />
1236 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1237 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1238 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1239 <text>Select Storage:</text>
1240 <icon selected="radio_true" unselected="radio_false" />
1241 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1242 <background color="%listbox_background%" />
1243 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1244 <data name="tw_storage_path" />
1245 <listtype name="storage" />
1246 </object>
1247
Dees_Troye7e0ae82013-07-05 14:46:07 +00001248 <object type="button">
1249 <highlight color="%highlight_color%" />
1250 <placement x="%filemanager_select_x%" y="%row2_y%" />
1251 <font resource="font" color="%button_text_color%" />
1252 <text>OK</text>
1253 <image resource="main_button" />
1254 <actions>
1255 <action function="set">tw_clear_destination=%tw_back%</action>
1256 <action function="page">clear_vars</action>
1257 </actions>
1258 </object>
1259
Dees_Troya13d74f2013-03-24 08:54:55 -05001260 <object type="action">
1261 <touch key="home" />
1262 <action function="page">main</action>
1263 </object>
1264
1265 <object type="action">
1266 <touch key="back" />
1267 <actions>
1268 <action function="page">%tw_back%</action>
1269 </actions>
1270 </object>
1271
1272 <object type="template" name="footer" />
1273 </page>
1274
Dees_Troy51a0e822012-09-05 15:24:24 -04001275 <page name="mount">
1276 <object type="template" name="header" />
1277
1278 <object type="text" color="%text_color%">
1279 <font resource="font" />
1280 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1281 <text>Mount Menu</text>
1282 </object>
1283
Dees_Troya13d74f2013-03-24 08:54:55 -05001284 <object type="partitionlist">
1285 <highlight color="%fileselector_highlight_color%" />
1286 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1287 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1288 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1289 <text>Select Partitions to Mount:</text>
1290 <icon selected="checkbox_true" unselected="checkbox_false" />
1291 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1292 <background color="%listbox_background%" />
1293 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1294 <listtype name="mount" />
1295 </object>
1296
1297 <object type="button">
1298 <highlight color="%highlight_color%" />
1299 <conditions>
1300 <condition var1="tw_is_encrypted" var2="1" />
1301 <condition var1="tw_is_decrypted" var2="0" />
1302 </conditions>
1303 <placement x="%col3_x%" y="row1_y" />
1304 <font resource="font" color="%button_text_color%" />
1305 <text>Decrypt Data</text>
1306 <image resource="main_button" />
1307 <action function="page">decrypt</action>
1308 </object>
1309
Dees_Troy51a0e822012-09-05 15:24:24 -04001310 <object type="button">
1311 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001312 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001313 <font resource="font" color="%button_text_color%" />
1314 <text>Mount USB Storage</text>
1315 <image resource="main_button" />
1316 <action function="page">usb_mount</action>
1317 </object>
1318
1319 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001320 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001321 <fill color="%button_fill_color%" />
1322 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1323 <font resource="font" color="%button_text_color%" />
1324 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1325 <actions>
1326 <action function="set">tw_back=mount</action>
1327 <action function="page">selectstorage</action>
1328 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001329 </object>
1330
1331 <object type="action">
1332 <touch key="home" />
1333 <action function="page">main</action>
1334 </object>
1335
1336 <object type="action">
1337 <touch key="back" />
1338 <action function="page">main</action>
1339 </object>
1340
1341 <object type="template" name="footer" />
1342 </page>
1343
1344 <page name="usb_mount">
1345 <object type="template" name="header" />
1346
1347 <object type="text" color="%text_color%">
1348 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1349 <font resource="font" />
1350 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1351 </object>
1352
1353 <object type="text" color="%text_color%">
1354 <placement x="%col1_x%" y="%row2_text_y%" />
1355 <font resource="font" />
1356 <text></text>
1357 </object>
1358
1359 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001360 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001361 <placement x="%col_center_x%" y="%row1_y%" />
1362 <font resource="font" color="%button_text_color%" />
1363 <text>Unmount</text>
1364 <image resource="main_button" />
1365 <action function="page">usb_umount</action>
1366 </object>
1367
1368 <object type="action">
1369 <action function="mount">usb</action>
1370 </object>
1371
1372 <object type="template" name="footer" />
1373 </page>
1374
1375 <page name="usb_umount">
1376 <object type="action">
1377 <action function="unmount">usb</action>
1378 </object>
1379
1380 <object type="action">
1381 <action function="page">mount</action>
1382 </object>
1383
1384 <object type="template" name="footer" />
1385 </page>
1386
1387 <page name="wipe">
1388 <object type="template" name="header" />
1389
1390 <object type="text" color="%text_color%">
1391 <font resource="font" />
1392 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001393 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
1397 <condition var1="tw_has_data_media" var2="0" />
1398 <font resource="font" />
1399 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1400 <text>.android_secure</text>
1401 </object>
1402
1403 <object type="text" color="%text_color%">
1404 <condition var1="tw_has_data_media" var2="1" />
1405 <font resource="font" />
1406 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1407 <text>(not including internal storage)</text>
1408 </object>
1409
1410 <object type="text" color="%text_color%">
1411 <condition var1="tw_has_sdext_partition" var2="1" />
1412 <font resource="font" />
1413 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1414 <text>SD-EXT</text>
1415 </object>
1416
1417 <object type="text" color="%text_color%">
1418 <font resource="font" />
1419 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1420 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 </object>
1422
1423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001424 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001425 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001427 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001429 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 </object>
1431
1432 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <conditions>
1434 <condition var1="tw_has_internal" var2="1" />
1435 <condition var1="tw_has_data_media" var2="1" />
1436 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001437 <highlight color="%highlight_color%" />
1438 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <font resource="font" color="%button_text_color%" />
1440 <text>Format Data</text>
1441 <image resource="main_button" />
1442 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001443 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 </actions>
1445 </object>
1446
Dees_Troya13d74f2013-03-24 08:54:55 -05001447 <object type="text" color="%text_color%">
1448 <font resource="font" />
1449 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1450 <text>Press back button to cancel.</text>
1451 </object>
1452
1453 <object type="slider">
1454 <placement x="%slider_x%" y="%slider_y%" />
1455 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001456 <actions>
1457 <action function="set">tw_back=wipe</action>
1458 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001459 <action function="set">tw_action_param=data</action>
1460 <action function="set">tw_action_text1=Factory Reset...</action>
1461 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1462 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001463 </actions>
1464 </object>
1465
Dees_Troya13d74f2013-03-24 08:54:55 -05001466 <object type="text" color="%text_color%">
1467 <font resource="font" />
1468 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1469 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001470 </object>
1471
1472 <object type="action">
1473 <touch key="home" />
1474 <action function="page">main</action>
1475 </object>
1476
1477 <object type="action">
1478 <touch key="back" />
1479 <action function="page">main</action>
1480 </object>
1481
1482 <object type="template" name="footer" />
1483 </page>
1484
Dees_Troya13d74f2013-03-24 08:54:55 -05001485 <page name="advancedwipe">
1486 <object type="template" name="header" />
1487
1488 <object type="partitionlist">
1489 <highlight color="%fileselector_highlight_color%" />
1490 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" />
1491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1492 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1493 <text>Select Partitions to Wipe:</text>
1494 <icon selected="checkbox_true" unselected="checkbox_false" />
1495 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1496 <background color="%listbox_background%" />
1497 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1498 <data name="tw_wipe_list" />
1499 <listtype name="wipe" />
1500 </object>
1501
1502 <object type="slider">
1503 <placement x="%slider_x%" y="%slider_y%" />
1504 <resource base="slider" used="slider-used" touch="slider-touch" />
1505 <actions>
1506 <action function="set">tw_back=advancedwipe</action>
1507 <action function="set">tw_action=wipe</action>
1508 <action function="set">tw_action_param=LIST</action>
1509 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1510 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1511 <action function="set">tw_complete_text1=Wipe Complete</action>
1512 <action function="page">action_page</action>
1513 </actions>
1514 </object>
1515
1516 <object type="text" color="%text_color%">
1517 <font resource="font" />
1518 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1519 <text>Swipe to Wipe</text>
1520 </object>
1521
1522 <object type="action">
1523 <touch key="home" />
1524 <action function="page">main</action>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="back" />
1529 <action function="page">wipe</action>
1530 </object>
1531
1532 <object type="template" name="footer" />
1533 </page>
1534
1535 <page name="formatdata">
1536 <object type="template" name="header" />
1537
1538 <object type="text" color="%text_color%">
1539 <font resource="font" />
1540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1541 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1542 </object>
1543
1544 <object type="text" color="%text_color%">
1545 <font resource="font" />
1546 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1547 <text>videos, media, and removes encryption on internal storage.</text>
1548 </object>
1549
1550 <object type="text" color="%text_color%">
1551 <font resource="font" />
1552 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1553 <text>This cannot be undone. Press back to cancel.</text>
1554 </object>
1555
1556 <object type="text" color="%text_color%">
1557 <font resource="font" />
1558 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1559 <text>Type yes to continue.</text>
1560 </object>
1561
1562 <object type="input">
1563 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1564 <background color="%input_background_color%" />
1565 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1566 <font resource="font" color="%text_color%" />
1567 <text>%tw_confirm_formatdata%</text>
1568 <data name="tw_confirm_formatdata" />
1569 <restrict minlen="3" maxlen="3" allow="yes" />
1570 <action function="page">formatdata_confirm</action>
1571 </object>
1572
1573 <object type="template" name="keyboardtemplate" />
1574
1575 <object type="action">
1576 <touch key="home" />
1577 <action function="page">main</action>
1578 </object>
1579
1580 <object type="action">
1581 <touch key="back" />
1582 <action function="page">wipe</action>
1583 </object>
1584
1585 <object type="template" name="footer" />
1586 </page>
1587
1588 <page name="formatdata_confirm">
1589 <object type="action">
1590 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1591 <actions>
1592 <action function="set">tw_back=formatdata</action>
1593 <action function="set">tw_action=wipe</action>
1594 <action function="set">tw_action_param=DATAMEDIA</action>
1595 <action function="set">tw_action_text1=Formatting Data...</action>
1596 <action function="set">tw_complete_text1=Data Format Complete</action>
1597 <action function="page">action_page</action>
1598 </actions>
1599 </object>
1600
1601 <object type="action">
1602 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1603 <action function="page">formatdata</function>
1604 </object>
1605 </page>
1606
Dees_Troy51a0e822012-09-05 15:24:24 -04001607 <page name="backup">
1608 <object type="template" name="header" />
1609
1610 <object type="text" color="%text_color%">
1611 <font resource="font" />
1612 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1613 <text>Back Up Device</text>
1614 </object>
1615
Dees_Troya13d74f2013-03-24 08:54:55 -05001616 <object type="partitionlist">
1617 <highlight color="%fileselector_highlight_color%" />
1618 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1619 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1620 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1621 <text>Select Partitions to Back Up:</text>
1622 <icon selected="checkbox_true" unselected="checkbox_false" />
1623 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1624 <background color="%listbox_background%" />
1625 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1626 <data name="tw_backup_list" />
1627 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001628 </object>
1629
1630 <object type="text" color="%text_color%">
1631 <font resource="font" />
1632 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1633 <text>Backup Name: %tw_backup_name%</text>
1634 </object>
1635
Dees_Troya13d74f2013-03-24 08:54:55 -05001636 <object type="button">
1637 <highlight color="%highlight_color%" />
1638 <placement x="%col3_x%" y="%row1_y%" />
1639 <font resource="font" color="%button_text_color%" />
1640 <text>Refresh Sizes</text>
1641 <image resource="main_button" />
1642 <action function="refreshsizes"></action>
1643 </object>
1644
1645 <object type="button">
1646 <highlight color="%highlight_color%" />
1647 <placement x="%col4_x%" y="%row1_y%" />
1648 <font resource="font" color="%button_text_color%" />
1649 <text>Set Backup Name</text>
1650 <image resource="main_button" />
1651 <actions>
1652 <action function="set">tw_fileexists=0</action>
1653 <action function="page">backupname1</action>
1654 </actions>
1655 </object>
1656
1657 <object type="button">
1658 <highlight color="%highlight_color%" />
1659 <fill color="%button_fill_color%" />
1660 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1661 <font resource="font" color="%button_text_color%" />
1662 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1663 <actions>
1664 <action function="set">tw_back=backup</action>
1665 <action function="page">selectstorage</action>
1666 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001667 </object>
1668
Dees_Troy83bd4832013-05-04 12:39:56 +00001669 <object type="button">
1670 <conditions>
1671 <condition var1="tw_include_encrypted_backup" var2="1" />
1672 <condition var1="tw_encrypt_backup" var2="0" />
1673 </conditions>
1674 <highlight color="%highlight_color%" />
1675 <fill color="%button_fill_color%" />
1676 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1677 <font resource="font" color="%button_text_color%" />
1678 <text>No Encryption</text>
1679 <actions>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </object>
1683
1684 <object type="button">
1685 <conditions>
1686 <condition var1="tw_include_encrypted_backup" var2="1" />
1687 <condition var1="tw_encrypt_backup" var2="1" />
1688 </conditions>
1689 <highlight color="%highlight_color%" />
1690 <fill color="%button_fill_color%" />
1691 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1692 <font resource="font" color="%button_text_color%" />
1693 <text>Using Encryption</text>
1694 <actions>
1695 <action function="page">backupencryption</action>
1696 </actions>
1697 </object>
1698
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001701 <font resource="font" color="%text_color%" />
1702 <text>Enable Compression (Requires more time)</text>
1703 <data variable="tw_use_compression" />
1704 <image checked="checkbox_true" unchecked="checkbox_false" />
1705 </object>
1706
1707 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05001708 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 <font resource="font" color="%text_color%" />
1710 <text>Skip MD5 generation on backups</text>
1711 <data variable="tw_skip_md5_generate" />
1712 <image checked="checkbox_true" unchecked="checkbox_false" />
1713 </object>
1714
Dees_Troy51a0e822012-09-05 15:24:24 -04001715 <object type="slider">
1716 <placement x="%slider_x%" y="%slider_y%" />
1717 <resource base="slider" used="slider-used" touch="slider-touch" />
1718 <actions>
1719 <action function="set">tw_operation_state=0</action>
1720 <action function="page">backup_run</action>
1721 </actions>
1722 </object>
1723
1724 <object type="text" color="%text_color%">
1725 <font resource="font" />
1726 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1727 <text>Swipe to Back Up</text>
1728 </object>
1729
Dees_Troy51a0e822012-09-05 15:24:24 -04001730 <object type="action">
1731 <touch key="home" />
1732 <action function="page">main</action>
1733 </object>
1734
1735 <object type="action">
1736 <touch key="back" />
1737 <action function="page">main</action>
1738 </object>
1739
1740 <object type="template" name="footer" />
1741 </page>
1742
1743 <page name="backupname1">
1744 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001745 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1746 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001747 </object>
1748
1749 <object type="action">
1750 <action function="page">backupname2</function>
1751 </object>
1752 </page>
1753
1754 <page name="backupname2">
1755 <object type="template" name="header" />
1756
1757 <object type="text" color="%text_color%">
1758 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1759 <font resource="font" />
1760 <text>Please Enter a Backup Name</text>
1761 </object>
1762
1763 <object type="input">
1764 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1765 <background color="%input_background_color%" />
1766 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>%tw_backup_name%</text>
1769 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001770 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001771 <actions>
1772 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1773 <action function="set">tw_existpage=backupname2</action>
1774 <action function="set">tw_notexistpage=backup</action>
1775 <action function="page">filecheck</action>
1776 </actions>
1777 </object>
1778
1779 <object type="text" color="%text_fail_color%">
1780 <condition var1="tw_fileexists" var2="1" />
1781 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1782 <font resource="font" />
1783 <text>A backup with that name already exists!</text>
1784 </object>
1785
1786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001787 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001788 <placement x="%col2_x%" y="%cancel_button_y%" />
1789 <font resource="font" color="%button_text_color%" />
1790 <text>Append Date</text>
1791 <image resource="main_button" />
1792 <action function="appenddatetobackupname"></action>
1793 </object>
1794
1795 <object type="button">
1796 <highlight color="%highlight_color%" />
1797 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001798 <font resource="font" color="%button_text_color%" />
1799 <text>Cancel / Clear</text>
1800 <image resource="main_button" />
1801 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001802 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001803 <action function="page">backup</action>
1804 </actions>
1805 </object>
1806
1807 <object type="template" name="keyboardtemplate" />
1808
1809 <object type="action">
1810 <touch key="home" />
1811 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001812 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001813 <action function="page">main</action>
1814 </actions>
1815 </object>
1816
1817 <object type="action">
1818 <touch key="back" />
1819 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001820 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001821 <action function="page">backup</action>
1822 </actions>
1823 </object>
1824
1825 <object type="template" name="footer" />
1826 </page>
1827
Dees_Troy83bd4832013-05-04 12:39:56 +00001828 <page name="backupencryption">
1829 <object type="template" name="header" />
1830
1831 <object type="text" color="%text_color%">
1832 <font resource="font" />
1833 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1834 <text>Encrypt your backup? Please enter a password:</text>
1835 </object>
1836
1837 <object type="input">
1838 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1839 <background color="%input_background_color%" />
1840 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1841 <font resource="font" color="%text_color%" />
1842 <text>%tw_backup_encrypt_display%</text>
1843 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1844 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1845 <action function="page">backupencryption2</action>
1846 </object>
1847
1848 <object type="text" color="%text_fail_color%">
1849 <condition var1="tw_password_not_match" var2="1" />
1850 <font resource="font" />
1851 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1852 <text>Passwords Do Not Match</text>
1853 </object>
1854
1855 <object type="button">
1856 <highlight color="%highlight_color%" />
1857 <placement x="%col_center_x%" y="%cancel_button_y%" />
1858 <font resource="font" color="%button_text_color%" />
1859 <text>Cancel</text>
1860 <image resource="main_button" />
1861 <actions>
1862 <action function="set">tw_encrypt_backup=0</action>
1863 <action function="set">tw_backup_password=</action>
1864 <action function="set">tw_backup_password2=</action>
1865 <action function="set">tw_backup_encrypt_display=</action>
1866 <action function="set">tw_backup_encrypt_display2=</action>
1867 <action function="page">backup</action>
1868 </actions>
1869 </object>
1870
1871 <object type="template" name="keyboardtemplate" />
1872
1873 <object type="action">
1874 <touch key="home" />
1875 <action function="page">main</action>
1876 </object>
1877
1878 <object type="action">
1879 <touch key="back" />
1880 <action function="page">backup</action>
1881 </object>
1882
1883 <object type="template" name="footer" />
1884 </page>
1885
1886 <page name="backupencryption2">
1887 <object type="template" name="header" />
1888
1889 <object type="text" color="%text_color%">
1890 <font resource="font" />
1891 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1892 <text>Encrypt your backup? Please Enter Password Again:</text>
1893 </object>
1894
1895 <object type="input">
1896 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1897 <background color="%input_background_color%" />
1898 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1899 <font resource="font" color="%text_color%" />
1900 <text>%tw_backup_encrypt_display2%</text>
1901 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1902 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1903 <actions>
1904 <action function="page">checkbackuppassword</action>
1905 </actions>
1906 </object>
1907
1908 <object type="button">
1909 <highlight color="%highlight_color%" />
1910 <placement x="%col_center_x%" y="%cancel_button_y%" />
1911 <font resource="font" color="%button_text_color%" />
1912 <text>Cancel</text>
1913 <image resource="main_button" />
1914 <actions>
1915 <action function="set">tw_encrypt_backup=0</action>
1916 <action function="set">tw_backup_password=</action>
1917 <action function="set">tw_backup_password2=</action>
1918 <action function="set">tw_backup_encrypt_display=</action>
1919 <action function="set">tw_backup_encrypt_display2=</action>
1920 <action function="page">backup</action>
1921 </actions>
1922 </object>
1923
1924 <object type="template" name="keyboardtemplate" />
1925
1926 <object type="action">
1927 <touch key="home" />
1928 <action function="page">main</action>
1929 </object>
1930
1931 <object type="action">
1932 <touch key="back" />
1933 <action function="page">backup</action>
1934 </object>
1935
1936 <object type="template" name="footer" />
1937 </page>
1938
1939 <page name="checkbackuppassword">
1940 <object type="action">
1941 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1942 <actions>
1943 <action function="set">tw_encrypt_backup=1</action>
1944 <action function="page">backup</action>
1945 </actions>
1946 </object>
1947
1948 <object type="action">
1949 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1950 <actions>
1951 <action function="set">tw_encrypt_backup=0</action>
1952 <action function="set">tw_password_not_match=1</action>
1953 <action function="set">tw_backup_password=</action>
1954 <action function="set">tw_backup_password2=</action>
1955 <action function="set">tw_backup_encrypt_display=</action>
1956 <action function="set">tw_backup_encrypt_display2=</action>
1957 <action function="page">backupencryption</action>
1958 </actions>
1959 </object>
1960 </page>
1961
Dees_Troy51a0e822012-09-05 15:24:24 -04001962 <page name="backup_run">
1963 <object type="template" name="header" />
1964
1965 <object type="text" color="%text_color%">
1966 <font resource="font" />
1967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1968 <text>%tw_operation% %tw_partition%</text>
1969 </object>
1970
1971 <object type="template" name="action_page_console" />
1972
1973 <object type="template" name="progress_bar" />
1974
1975 <object type="action">
1976 <action function="nandroid">backup</action>
1977 </object>
1978
1979 <object type="action">
1980 <condition var1="tw_operation_state" var2="1" />
1981 <actions>
1982 <action function="set">tw_back=backup</action>
1983 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001984 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001985 <action function="page">action_complete</action>
1986 </actions>
1987 </object>
1988
1989 <object type="template" name="footer" />
1990 </page>
1991
1992 <page name="restore">
1993 <object type="template" name="header" />
1994
1995 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001996 <highlight color="%highlight_color%" />
1997 <fill color="%button_fill_color%" />
1998 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
1999 <font resource="font" color="%button_text_color%" />
2000 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2001 <actions>
2002 <action function="set">tw_back=restore</action>
2003 <action function="page">selectstorage</action>
2004 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002005 </object>
2006
2007 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002008 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002009 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2010 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002011 <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 -04002012 <text>Select Package to Restore:</text>
2013 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2014 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002015 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002016 <icon folder="folder_icon" file="file_icon" />
2017 <background color="%fileselector_background%" />
2018 <filter folders="1" files="0" nav="0" />
2019 <path name="tw_backups_folder" />
2020 <data name="tw_restore" default="" />
2021 <selection name="tw_restore_name" />
2022 </object>
2023
2024 <object type="template" name="sort_options" />
2025
2026 <object type="action">
2027 <condition var1="tw_restore" op="modified" />
2028 <actions>
2029 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002030 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002031 </actions>
2032 </object>
2033
2034 <object type="action">
2035 <touch key="home" />
2036 <action function="page">main</action>
2037 </object>
2038
2039 <object type="action">
2040 <touch key="back" />
2041 <action function="page">main</action>
2042 </object>
2043
2044 <object type="template" name="footer" />
2045 </page>
2046
Dees_Troy83bd4832013-05-04 12:39:56 +00002047 <page name="restore_read">
2048 <object type="action">
2049 <condition var1="tw_restore_encrypted" var2="1" />
2050 <actions>
2051 <action function="set">tw_password_fail=0</action>
2052 <action function="page">restore_decrypt</action>
2053 </actions>
2054 </object>
2055
2056 <object type="action">
2057 <condition var1="tw_restore_encrypted" var2="0" />
2058 <actions>
2059 <action function="page">restore_select</action>
2060 </actions>
2061 </object>
2062 </page>
2063
2064 <page name="restore_decrypt">
2065 <object type="template" name="header" />
2066
2067 <object type="text" color="%text_color%">
2068 <font resource="font" />
2069 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2070 <text>Backup encrypted. Please enter your password:</text>
2071 </object>
2072
2073 <object type="input">
2074 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2075 <background color="%input_background_color%" />
2076 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2077 <font resource="font" color="%text_color%" />
2078 <text>%tw_restore_display%</text>
2079 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2080 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2081 <actions>
2082 <action function="page">try_restore_decrypt</action>
2083 </actions>
2084 </object>
2085
2086 <object type="text" color="%text_fail_color%">
2087 <condition var1="tw_password_fail" var2="1" />
2088 <font resource="font" />
2089 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2090 <text>Password Failed, Please Try Again</text>
2091 </object>
2092
2093 <object type="button">
2094 <highlight color="%highlight_color%" />
2095 <placement x="%col2_x%" y="%cancel_button_y%" />
2096 <font resource="font" color="%button_text_color%" />
2097 <text>Cancel</text>
2098 <image resource="main_button" />
2099 <actions>
2100 <action function="set">tw_page_done=1</action>
2101 <action function="page">restore</action>
2102 </actions>
2103 </object>
2104
2105 <object type="button">
2106 <highlight color="%highlight_color%" />
2107 <placement x="%col3_x%" y="%cancel_button_y%" />
2108 <font resource="font" color="%button_text_color%" />
2109 <text>Delete</text>
2110 <image resource="main_button" />
2111 <actions>
2112 <action function="set">tw_back=restore</action>
2113 <action function="set">tw_action=cmd</action>
2114 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2115 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2116 <action function="set">tw_text2=This cannot be undone!</action>
2117 <action function="set">tw_action_text1=Deleting Backup...</action>
2118 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2119 <action function="set">tw_slider_text=Swipe to Delete</action>
2120 <action function="page">confirm_action</action>
2121 </actions>
2122 </object>
2123
2124 <object type="template" name="keyboardtemplate" />
2125
2126 <object type="action">
2127 <touch key="home" />
2128 <action function="page">main</action>
2129 </object>
2130
2131 <object type="action">
2132 <touch key="back" />
2133 <action function="page">restore</action>
2134 </object>
2135
2136 <object type="template" name="footer" />
2137 </page>
2138
2139 <page name="try_restore_decrypt">
2140 <object type="template" name="header" />
2141
2142 <object type="text" color="%text_color%">
2143 <font resource="font" />
2144 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2145 <text>Trying Decryption with Your Password</text>
2146 </object>
2147
2148 <object type="template" name="action_page_console" />
2149
2150 <object type="template" name="progress_bar" />
2151
2152 <object type="action">
2153 <action function="decrypt_backup"></action>
2154 </object>
2155
2156 <object type="action">
2157 <conditions>
2158 <condition var1="tw_operation_state" var2="1" />
2159 <condition var1="tw_operation_status" op="!=" var2="0" />
2160 </conditions>
2161 <actions>
2162 <action function="set">tw_password_fail=1</action>
2163 <action function="page">restore_decrypt</action>
2164 </actions>
2165 </object>
2166
2167 <object type="action">
2168 <conditions>
2169 <condition var1="tw_operation_state" var2="1" />
2170 <condition var1="tw_operation_status" op="=" var2="0" />
2171 </conditions>
2172 <actions>
2173 <action function="set">tw_page_done=1</action>
2174 <action function="page">restore_select</action>
2175 </actions>
2176 </object>
2177 </page>
2178
Dees_Troy51a0e822012-09-05 15:24:24 -04002179 <page name="restore_select">
2180 <object type="template" name="header" />
2181
2182 <object type="text" color="%text_color%">
2183 <font resource="font" />
2184 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2185 <text>Package to Restore: %tw_restore_name%</text>
2186 </object>
2187
2188 <object type="text" color="%text_color%">
2189 <font resource="font" />
2190 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2191 <text>Package Date: %tw_restore_file_date%</text>
2192 </object>
2193
Dees_Troya13d74f2013-03-24 08:54:55 -05002194 <object type="partitionlist">
2195 <highlight color="%fileselector_highlight_color%" />
2196 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2197 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2198 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2199 <text>Select Partitions to Restore:</text>
2200 <icon selected="checkbox_true" unselected="checkbox_false" />
2201 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2202 <background color="%listbox_background%" />
2203 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2204 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2205 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002206 </object>
2207
2208 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002209 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002210 <font resource="font" color="%text_color%" />
2211 <text>Enable MD5 checking of backup files</text>
2212 <data variable="tw_skip_md5_check" />
2213 <image checked="checkbox_true" unchecked="checkbox_false" />
2214 </object>
2215
2216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002218 <placement x="%col4_x%" y="%row1_y%" />
2219 <font resource="font" color="%button_text_color%" />
2220 <text>Rename Backup</text>
2221 <image resource="main_button" />
2222 <actions>
2223 <action function="set">tw_backup_rename=</action>
2224 <action function="set">tw_fileexists=0</action>
2225 <action function="page">renamebackup</action>
2226 </actions>
2227 </object>
2228
2229 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002230 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002231 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002232 <font resource="font" color="%button_text_color%" />
2233 <text>Delete Backup</text>
2234 <image resource="main_button" />
2235 <actions>
2236 <action function="set">tw_back=restore</action>
2237 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002238 <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 -04002239 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2240 <action function="set">tw_text2=This cannot be undone!</action>
2241 <action function="set">tw_action_text1=Deleting Backup...</action>
2242 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2243 <action function="set">tw_slider_text=Swipe to Delete</action>
2244 <action function="page">confirm_action</action>
2245 </actions>
2246 </object>
2247
2248 <object type="slider">
2249 <placement x="%slider_x%" y="%slider_y%" />
2250 <resource base="slider" used="slider-used" touch="slider-touch" />
2251 <action function="page">restore_run</action>
2252 </object>
2253
2254 <object type="text" color="%text_color%">
2255 <font resource="font" />
2256 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2257 <text>Swipe to Restore</text>
2258 </object>
2259
2260 <object type="action">
2261 <touch key="home" />
2262 <action function="page">main</action>
2263 </object>
2264
2265 <object type="action">
2266 <touch key="back" />
2267 <action function="page">restore</action>
2268 </object>
2269
2270 <object type="template" name="footer" />
2271 </page>
2272
2273 <page name="renamebackup">
2274 <object type="template" name="header" />
2275
2276 <object type="text" color="%text_color%">
2277 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2278 <font resource="font" />
2279 <text>Please Enter a New Backup Name</text>
2280 </object>
2281
2282 <object type="input">
2283 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2284 <background color="%input_background_color%" />
2285 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2286 <font resource="font" color="%text_color%" />
2287 <text>%tw_backup_rename%</text>
2288 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002289 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002290 <actions>
2291 <action function="set">tw_back=restore</action>
2292 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002293 <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 -04002294 <action function="set">tw_text1=Rename Backup?</action>
2295 <action function="set">tw_text2=This cannot be undone!</action>
2296 <action function="set">tw_action_text1=Renaming Backup...</action>
2297 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2298 <action function="set">tw_slider_text=Swipe to Rename</action>
2299 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2300 <action function="set">tw_existpage=renamebackup</action>
2301 <action function="set">tw_notexistpage=confirm_action</action>
2302 <action function="page">filecheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="text" color="%text_fail_color%">
2307 <condition var1="tw_fileexists" var2="1" />
2308 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2309 <font resource="font" />
2310 <text>A backup with that name already exists!</text>
2311 </object>
2312
2313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002315 <placement x="%col_center_x%" y="%cancel_button_y%" />
2316 <font resource="font" color="%button_text_color%" />
2317 <text>Cancel</text>
2318 <image resource="main_button" />
2319 <action function="page">restore_select</action>
2320 </object>
2321
2322 <object type="template" name="keyboardtemplate" />
2323
2324 <object type="action">
2325 <touch key="home" />
2326 <action function="page">main</action>
2327 </object>
2328
2329 <object type="action">
2330 <touch key="back" />
2331 <action function="page">restore_select</action>
2332 </object>
2333
2334 <object type="template" name="footer" />
2335 </page>
2336
2337 <page name="restore_run">
2338 <object type="template" name="header" />
2339
2340 <object type="text" color="%text_color%">
2341 <font resource="font" />
2342 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2343 <text>%tw_operation% %tw_partition%</text>
2344 </object>
2345
2346 <object type="template" name="action_page_console" />
2347
2348 <object type="template" name="progress_bar" />
2349
2350 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002351 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002352 <actions>
2353 <action function="set">tw_back=restore_select</action>
2354 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002355 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002356 <action function="page">action_complete</action>
2357 </actions>
2358 </object>
2359
2360 <object type="action">
2361 <action function="nandroid">restore</action>
2362 </object>
2363 </page>
2364
2365 <page name="settings">
2366 <object type="template" name="header" />
2367
2368 <object type="text" color="%text_color%">
2369 <font resource="font" />
2370 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2371 <text>Settings</text>
2372 </object>
2373
2374 <object type="checkbox">
2375 <placement x="%col1_x%" y="%row2_text_y%" />
2376 <font resource="font" color="%text_color%" />
2377 <text>Zip file signature verification?</text>
2378 <data variable="tw_signed_zip_verify" />
2379 <image checked="checkbox_true" unchecked="checkbox_false" />
2380 </object>
2381
2382 <object type="checkbox">
2383 <placement x="%col1_x%" y="%row3_text_y%" />
2384 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <text>Use rm -rf instead of formatting?</text>
2386 <data variable="tw_rm_rf" />
2387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002391 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <font resource="font" color="%text_color%" />
2393 <text>Skip MD5 generation on backups</text>
2394 <data variable="tw_skip_md5_generate" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002399 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <font resource="font" color="%text_color%" />
2401 <text>Enable MD5 checking of backup files</text>
2402 <data variable="tw_skip_md5_check" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002407 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002409 <text>Use Military Time</text>
2410 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002415 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
2417 <text>Simulate most actions for theme testing</text>
2418 <data variable="tw_simulate_actions" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
2423 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002424 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <font resource="font" color="%text_color%" />
2426 <text>Simulate failure for actions</text>
2427 <data variable="tw_simulate_fail" />
2428 <image checked="checkbox_true" unchecked="checkbox_false" />
2429 </object>
2430
2431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <placement x="%col1_x%" y="%row2_y%" />
2434 <font resource="font" color="%button_text_color%" />
2435 <text>Time Zone</text>
2436 <image resource="main_button" />
2437 <action function="page">timezone</action>
2438 </object>
2439
2440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002441 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002442 <placement x="%col2_x%" y="%row2_y%" />
2443 <font resource="font" color="%button_text_color%" />
2444 <text>Restore Defaults</text>
2445 <image resource="main_button" />
2446 <action function="restoredefaultsettings"></action>
2447 </object>
2448
2449 <object type="button">
2450 <highlight color="%highlight_color%" />
2451 <placement x="%col3_x%" y="%row2_y%" />
2452 <font resource="font" color="%button_text_color%" />
2453 <text>Vibration Duration</text>
2454 <image resource="main_button" />
2455 <action function="page">Vibrate</action>
2456 </object>
2457
2458 <object type="button">
2459 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002460 <placement x="%col4_x%" y="%row2_y%" />
2461 <font resource="font" color="%button_text_color%" />
2462 <text>Screen</text>
2463 <image resource="main_button" />
2464 <action function="page">screen</action>
2465 </object>
2466
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <object type="action">
2468 <touch key="home" />
2469 <action function="page">main</action>
2470 </object>
2471
2472 <object type="action">
2473 <touch key="back" />
2474 <action function="page">main</action>
2475 </object>
2476
2477 <object type="template" name="footer" />
2478 </page>
2479
2480 <page name="timezone">
2481 <object type="template" name="header" />
2482
2483 <object type="text" color="%text_color%">
2484 <font resource="font" />
2485 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2486 <text>Select Time Zone</text>
2487 </object>
2488
2489 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002490 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002491 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002492 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002493 <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 -06002494 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002496 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002497 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002498 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <data name="tw_time_zone_guisel" />
2500 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2501 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2502 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2503 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2504 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2505 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2506 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2507 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2508 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2509 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2510 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2511 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2512 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2513 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2514 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2515 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2516 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2517 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2518 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2519 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2520 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2521 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2522 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2523 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2524 </object>
2525
2526 <object type="checkbox">
2527 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2528 <font resource="font" color="%text_color%" />
2529 <text>Do you use daylight savings time (DST)?</text>
2530 <data variable="tw_time_zone_guidst" />
2531 <image checked="checkbox_true" unchecked="checkbox_false" />
2532 </object>
2533
2534 <object type="text" color="%text_color%">
2535 <font resource="font" />
2536 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2537 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2538 </object>
2539
2540 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002541 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2543 <font resource="font" color="%button_text_color%" />
2544 <text>0</text>
2545 <image resource="medium_button" />
2546 <action function="set">tw_time_zone_guioffset=0</action>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2552 <font resource="font" color="%button_text_color%" />
2553 <text>15</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=15</action>
2556 </object>
2557
2558 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002559 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2561 <font resource="font" color="%button_text_color%" />
2562 <text>30</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=30</action>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2570 <font resource="font" color="%button_text_color%" />
2571 <text>45</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=45</action>
2574 </object>
2575
2576 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002577 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002578 <placement x="%col4_x%" y="%row2_y%" />
2579 <font resource="font" color="%button_text_color%" />
2580 <text>Set Time Zone</text>
2581 <image resource="main_button" />
2582 <action function="setguitimezone"></action>
2583 </object>
2584
2585 <object type="text" color="%text_color%">
2586 <font resource="font" />
2587 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2588 <text>Current Time Zone: %tw_time_zone%</text>
2589 </object>
2590
2591 <object type="action">
2592 <touch key="home" />
2593 <action function="page">main</action>
2594 </object>
2595
2596 <object type="action">
2597 <touch key="back" />
2598 <action function="page">settings</action>
2599 </object>
2600
2601 <object type="template" name="footer" />
2602 </page>
2603
Dees_Troy2f9117a2013-02-17 19:52:09 -06002604 <page name="screen">
2605 <object type="template" name="header" />
2606
2607 <object type="text" color="%text_color%">
2608 <font resource="font" />
2609 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2610 <text>Screen Settings</text>
2611 </object>
2612
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002614 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2615 <font resource="font" color="%text_color%" />
2616 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002617 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002618 <text>Enable screen timeout.</text>
2619 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002620 <action function="set">tw_screen_timeout_secs=60</action>
2621 </object>
2622
2623 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2625 <font resource="font" color="%text_color%" />
2626 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002627 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002628 <text>Enable screen timeout.</text>
2629 <image resource="checkbox_true" />
2630 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 </object>
2632
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <object type="slidervalue">
2634 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002635 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002636 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2637 <font resource="font" color="%text_color%" />
2638 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2639 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2640 <text>Screen timeout in seconds:</text>
2641 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002642 </object>
2643
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002645 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002646 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2647 <font resource="font" color="%text_color%" />
2648 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2649 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2650 <text>Brightness: %tw_brightness_pct%%</text>
2651 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002652 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002653 <action function="set">tw_brightness=%tw_brightness_max%</action>
2654 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2655 <action function="compute">tw_brightness/100</action>
2656 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002657 </actions>
2658 </object>
2659
2660 <object type="action">
2661 <touch key="home" />
2662 <action function="page">main</action>
2663 </object>
2664
2665 <object type="action">
2666 <touch key="back" />
2667 <action function="page">settings</action>
2668 </object>
2669
2670 <object type="template" name="footer" />
2671 </page>
2672
Ethan Yonker03db3262014-02-05 08:02:06 -06002673 <page name="Vibrate">
2674 <object type="template" name="header" />
2675
2676 <object type="text" color="%text_color%">
2677 <font resource="font" />
2678 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2679 <text>Vibration Settings :</text>
2680 </object>
2681
2682 <object type="slidervalue">
2683 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2684 <font resource="font" color="%text_color%" />
2685 <text>Button Vibration:</text>
2686 <data variable="tw_button_vibrate" min="0" max="300" />
2687 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2688 </object>
2689
2690 <object type="slidervalue">
2691 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2692 <font resource="font" color="%text_color%" />
2693 <text>Keyboard Vibration:</text>
2694 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2695 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2696 </object>
2697
2698 <object type="slidervalue">
2699 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2700 <font resource="font" color="%text_color%" />
2701 <text>Action Vibration:</text>
2702 <data variable="tw_action_vibrate" min="0" max="500" />
2703 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2704 </object>
2705
2706 <object type="action">
2707 <touch key="home" />
2708 <action function="page">main</action>
2709 </object>
2710
2711 <object type="action">
2712 <touch key="back" />
2713 <action function="page">settings</action>
2714 </object>
2715
2716 <object type="template" name="footer" />
2717 </page>
2718
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <page name="advanced">
2720 <object type="template" name="header" />
2721
2722 <object type="text" color="%text_color%">
2723 <font resource="font" />
2724 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2725 <text>Advanced</text>
2726 </object>
2727
2728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002730 <placement x="%col1_x%" y="%row1_y%" />
2731 <font resource="font" color="%button_text_color%" />
2732 <text>Copy Log to SD</text>
2733 <image resource="main_button" />
2734 <actions>
2735 <action function="set">tw_back=advanced</action>
2736 <action function="set">tw_action=copylog</action>
2737 <action function="set">tw_text1=Copy Log to SD Card?</action>
2738 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2739 <action function="set">tw_complete_text1=Log Copy Complete</action>
2740 <action function="set">tw_slider_text=Swipe to Confirm</action>
2741 <action function="page">confirm_action</action>
2742 </actions>
2743 </object>
2744
2745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <placement x="%col2_x%" y="%row1_y%" />
2748 <font resource="font" color="%button_text_color%" />
2749 <text>Fix Permissions</text>
2750 <image resource="main_button" />
2751 <actions>
2752 <action function="set">tw_back=advanced</action>
2753 <action function="set">tw_action=fixpermissions</action>
2754 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2757 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002758 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <action function="page">confirm_action</action>
2760 </actions>
2761 </object>
2762
2763 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002764 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <placement x="%col3_x%" y="%row1_y%" />
2766 <font resource="font" color="%button_text_color%" />
2767 <text>Terminal Command</text>
2768 <image resource="main_button" />
2769 <action function="page">terminalfolder</action>
2770 </object>
2771
2772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002773 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002774 <placement x="%col4_x%" y="%row1_y%" />
2775 <font resource="font" color="%button_text_color%" />
2776 <text>ADB Sideload</text>
2777 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002778 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04002779 </object>
2780
2781 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002782 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002783 <condition var1="tw_allow_partition_sdcard" var2="1" />
2784 <placement x="%col1_x%" y="%row2_y%" />
2785 <font resource="font" color="%button_text_color%" />
2786 <text>Partition SD Card</text>
2787 <image resource="main_button" />
2788 <action function="page">partsdcard</action>
2789 </object>
2790
2791 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002792 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002793 <placement x="%col2_x%" y="%row2_y%" />
2794 <font resource="font" color="%button_text_color%" />
2795 <text>File Manager</text>
2796 <image resource="main_button" />
2797 <action function="page">filemanagerlist</action>
2798 </object>
2799
2800 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002801 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04002802 <placement x="%col3_x%" y="%row2_y%" />
2803 <font resource="font" color="%button_text_color%" />
2804 <text>Reload Theme</text>
2805 <image resource="main_button" />
2806 <action function="reload"></action>
2807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <condition var1="tw_show_dumlock" var2="1" />
2812 <placement x="%col4_x%" y="%row2_y%" />
2813 <font resource="font" color="%button_text_color%" />
2814 <text>HTC Dumlock</text>
2815 <image resource="main_button" />
2816 <action function="page">htcdumlock</action>
2817 </object>
2818
2819 <object type="action">
2820 <touch key="home" />
2821 <action function="page">main</action>
2822 </object>
2823
2824 <object type="action">
2825 <touch key="back" />
2826 <action function="page">main</action>
2827 </object>
2828
2829 <object type="template" name="footer" />
2830 </page>
2831
2832 <page name="partsdcard">
2833 <object type="template" name="header" />
2834
2835 <object type="text" color="%text_color%">
2836 <font resource="font" />
2837 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2838 <text>Partition SD Card</text>
2839 </object>
2840
2841 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002842 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002843 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
2844 <font resource="font" color="%button_text_color%" />
2845 <text></text>
2846 <image resource="minus_button" />
2847 <action function="addsubtract">tw_sdext_size-128</action>
2848 </object>
2849
2850 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002851 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002852 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
2853 <font resource="font" color="%button_text_color%" />
2854 <text></text>
2855 <image resource="plus_button" />
2856 <action function="addsubtract">tw_sdext_size+128</action>
2857 </object>
2858
2859 <object type="text" color="%text_color%">
2860 <font resource="font" />
2861 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2862 <text>EXT Size: %tw_sdext_size%</text>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
2868 <font resource="font" color="%button_text_color%" />
2869 <text></text>
2870 <image resource="minus_button" />
2871 <action function="addsubtract">tw_swap_size-32</action>
2872 </object>
2873
2874 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002875 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002876 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
2877 <font resource="font" color="%button_text_color%" />
2878 <text></text>
2879 <image resource="plus_button" />
2880 <action function="addsubtract">tw_swap_size+32</action>
2881 </object>
2882
2883 <object type="text" color="%text_color%">
2884 <font resource="font" />
2885 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2886 <text>Swap Size: %tw_swap_size%</text>
2887 </object>
2888
2889 <object type="text" color="%text_color%">
2890 <font resource="font" />
2891 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2892 <text>File system: %tw_sdpart_file_system%</text>
2893 </object>
2894
2895 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002896 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002897 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
2898 <font resource="font" color="%button_text_color%" />
2899 <text>EXT3</text>
2900 <image resource="medium_button" />
2901 <action function="set">tw_sdpart_file_system=ext3</action>
2902 </object>
2903
2904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002905 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002906 <condition var1="tw_sdext_disable_ext4" var2="0" />
2907 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
2908 <font resource="font" color="%button_text_color%" />
2909 <text>EXT4</text>
2910 <image resource="medium_button" />
2911 <action function="set">tw_sdpart_file_system=ext4</action>
2912 </object>
2913
2914 <object type="text" color="%text_color%">
2915 <font resource="font" />
2916 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2917 <text>You will lose all files on your SD card!</text>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2923 <text>This action cannot be undone!</text>
2924 </object>
2925
2926 <object type="slider">
2927 <placement x="%slider_x%" y="%slider_y%" />
2928 <resource base="slider" used="slider-used" touch="slider-touch" />
2929 <actions>
2930 <action function="set">tw_back=partsdcard</action>
2931 <action function="set">tw_action=partitionsd</action>
2932 <action function="set">tw_has_action2=1</action>
2933 <action function="set">tw_action2=set</action>
2934 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2935 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2936 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002937 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002938 <action function="page">action_page</action>
2939 </actions>
2940 </object>
2941
2942 <object type="text" color="%text_color%">
2943 <font resource="font" />
2944 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2945 <text>Swipe to Confirm Partition</text>
2946 </object>
2947
2948 <object type="action">
2949 <touch key="home" />
2950 <action function="page">main</action>
2951 </object>
2952
2953 <object type="action">
2954 <touch key="back" />
2955 <action function="page">advanced</action>
2956 </object>
2957
2958 <object type="template" name="footer" />
2959 </page>
2960
2961
2962 <page name="htcdumlock">
2963 <object type="template" name="header" />
2964
2965 <object type="text" color="%text_color%">
2966 <font resource="font" />
2967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2968 <text>HTC Dumlock</text>
2969 </object>
2970
2971 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002972 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002973 <condition var1="tw_show_dumlock" var2="1" />
2974 <placement x="%col1_x%" y="%row1_y%" />
2975 <font resource="font" color="%button_text_color%" />
2976 <text>Restore Original Boot</text>
2977 <image resource="main_button" />
2978 <actions>
2979 <action function="set">tw_back=htcdumlock</action>
2980 <action function="set">tw_action=htcdumlockrestoreboot</action>
2981 <action function="set">tw_text1=Restore original boot image?</action>
2982 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2983 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2984 <action function="set">tw_slider_text=Swipe to Confirm</action>
2985 <action function="page">confirm_action</action>
2986 </actions>
2987 </object>
2988
2989 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002990 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002991 <condition var1="tw_show_dumlock" var2="1" />
2992 <placement x="%col2_x%" y="%row1_y%" />
2993 <font resource="font" color="%button_text_color%" />
2994 <text>Reflash Recovery->Boot</text>
2995 <image resource="main_button" />
2996 <actions>
2997 <action function="set">tw_back=htcdumlock</action>
2998 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2999 <action function="set">tw_text1=Reflash recovery to boot?</action>
3000 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3001 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3002 <action function="set">tw_slider_text=Swipe to Confirm</action>
3003 <action function="page">confirm_action</action>
3004 </actions>
3005 </object>
3006
3007 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003008 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003009 <condition var1="tw_show_dumlock" var2="1" />
3010 <placement x="%col1_x%" y="%row2_y%" />
3011 <font resource="font" color="%button_text_color%" />
3012 <text>Install HTC Dumlock</text>
3013 <image resource="main_button" />
3014 <actions>
3015 <action function="set">tw_back=htcdumlock</action>
3016 <action function="set">tw_action=installhtcdumlock</action>
3017 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3018 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3019 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3020 <action function="set">tw_slider_text=Swipe to Confirm</action>
3021 <action function="page">confirm_action</action>
3022 </actions>
3023 </object>
3024
3025 <object type="action">
3026 <touch key="home" />
3027 <action function="page">main</action>
3028 </object>
3029
3030 <object type="action">
3031 <touch key="back" />
3032 <action function="page">advanced</action>
3033 </object>
3034
3035 <object type="template" name="footer" />
3036 </page>
3037
3038 <page name="lock">
3039 <background color="#000000A0" />
3040
3041 <object type="image">
3042 <image resource="unlock-icon" />
3043 <placement x="%lock_x%" y="%lock_y%" />
3044 </object>
3045
3046 <object type="slider">
3047 <placement x="%slider_x%" y="%slider_y%" />
3048 <resource base="slider" used="slider-used" touch="slider-touch" />
3049 <action function="overlay"></action>
3050 </object>
3051
3052 <object type="text" color="%text_color%">
3053 <font resource="font" />
3054 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3055 <text>Swipe to Unlock</text>
3056 </object>
3057 </page>
3058
3059
3060 <page name="filemanagerlist">
3061 <object type="template" name="header" />
3062
3063 <object type="text" color="%text_color%">
3064 <font resource="font" />
3065 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3066 <text>File Manager: Select a File or Folder</text>
3067 </object>
3068
3069 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003070 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003071 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3072 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003073 <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 -04003074 <text>Folders:</text>
3075 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3076 <sort name="tw_gui_sort_order" />
3077 <icon folder="folder_icon" file="file_icon" />
3078 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003079 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003080 <filter folders="1" files="0" />
3081 <path name="tw_file_location1" default="/sdcard" />
3082 <data name="select" />
3083 <selection name="tw_selection1" />
3084 </object>
3085
3086 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003087 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003088 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3089 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003090 <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 -04003091 <text>%tw_file_location1%</text>
3092 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3093 <sort name="tw_gui_sort_order" />
3094 <icon folder="folder_icon" file="file_icon" />
3095 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003096 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003097 <filter folders="0" files="1" />
3098 <path name="tw_file_location1" default="/" />
3099 <data name="tw_filename1" />
3100 <selection name="tw_selection1" />
3101 </object>
3102
3103 <object type="template" name="sort_options" />
3104
3105 <object type="action">
3106 <actions>
3107 <action function="set">tw_fm_type=File</action>
3108 <action function="set">tw_fm_isfolder=0</action>
3109 </actions>
3110 </object>
3111
3112 <object type="action">
3113 <touch key="home" />
3114 <action function="page">main</action>
3115 </object>
3116
3117 <object type="action">
3118 <touch key="back" />
3119 <action function="page">advanced</action>
3120 </object>
3121
3122 <object type="action">
3123 <condition var1="tw_filename1" op="modified" />
3124 <actions>
3125 <action function="page">filemanageroptions</action>
3126 </actions>
3127 </object>
3128
3129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>Select Folder</text>
3134 <image resource="main_button" />
3135 <actions>
3136 <action function="set">tw_filename1=tw_file_location1</action>
3137 <action function="set">tw_fm_isfolder=1</action>
3138 <action function="set">tw_fm_type=Folder</action>
3139 <action function="page">filemanageroptions</action>
3140 </actions>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanageroptions">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <font resource="font" />
3151 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3152 <text>%tw_fm_type% Selected:</text>
3153 </object>
3154
3155 <object type="text" color="%text_color%">
3156 <font resource="font" />
3157 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3158 <text>%tw_filename1%</text>
3159 </object>
3160
3161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003162 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003163 <condition var1="tw_fm_isfolder" var2="0" />
3164 <placement x="%col1_x%" y="%row2_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Copy File</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_command=cp</action>
3170 <action function="set">tw_fm_text1=Copying</action>
3171 <action function="page">choosedestinationfolder</action>
3172 </actions>
3173 </object>
3174
3175 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003176 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003177 <condition var1="tw_fm_isfolder" var2="1" />
3178 <placement x="%col1_x%" y="%row2_y%" />
3179 <font resource="font" color="%button_text_color%" />
3180 <text>Copy Folder</text>
3181 <image resource="main_button" />
3182 <actions>
3183 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3184 <action function="set">tw_fm_text1=Copying</action>
3185 <action function="page">choosedestinationfolder</action>
3186 </actions>
3187 </object>
3188
3189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003191 <placement x="%col2_x%" y="%row2_y%" />
3192 <font resource="font" color="%button_text_color%" />
3193 <text>Move</text>
3194 <image resource="main_button" />
3195 <actions>
3196 <action function="set">tw_filemanager_command=mv</action>
3197 <action function="set">tw_fm_text1=Moving</action>
3198 <action function="page">choosedestinationfolder</action>
3199 </actions>
3200 </object>
3201
3202 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003203 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003204 <placement x="%col3_x%" y="%row2_y%" />
3205 <font resource="font" color="%button_text_color%" />
3206 <text>chmod 755</text>
3207 <image resource="main_button" />
3208 <actions>
3209 <action function="set">tw_filemanager_command=chmod 755</action>
3210 <action function="set">tw_fm_text1=chmod 755</action>
3211 <action function="set">tw_fm_text2=</action>
3212 <action function="set">tw_fm_text3=</action>
3213 <action function="set">tw_include_text3=0</action>
3214 <action function="set">tw_back=filemanageroptions</action>
3215 <action function="page">filemanagerconfirm</action>
3216 </actions>
3217 </object>
3218
3219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003221 <placement x="%col4_x%" y="%row2_y%" />
3222 <font resource="font" color="%button_text_color%" />
3223 <text>chmod</text>
3224 <image resource="main_button" />
3225 <actions>
3226 <action function="set">tw_filemanager_rename=0000</action>
3227 <action function="set">tw_fm_text2=</action>
3228 <action function="set">tw_fm_text3=</action>
3229 <action function="set">tw_include_text3=0</action>
3230 <action function="set">tw_back=filemanageroptions</action>
3231 <action function="page">filemanagerchmod</action>
3232 </actions>
3233 </object>
3234
3235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003236 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003237 <placement x="%col1_x%" y="%row1_y%" />
3238 <font resource="font" color="%button_text_color%" />
3239 <text>Delete</text>
3240 <image resource="main_button" />
3241 <actions>
3242 <action function="set">tw_filemanager_command=rm -rf</action>
3243 <action function="set">tw_fm_text1=Deleting</action>
3244 <action function="set">tw_fm_text2=</action>
3245 <action function="set">tw_fm_text3=</action>
3246 <action function="set">tw_include_text3=0</action>
3247 <action function="set">tw_back=filemanageroptions</action>
3248 <action function="page">filemanagerconfirm</action>
3249 </actions>
3250 </object>
3251
3252 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003253 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003254 <condition var1="tw_fm_isfolder" var2="0" />
3255 <placement x="%col4_x%" y="%row1_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>Rename File</text>
3258 <image resource="main_button" />
3259 <actions>
3260 <action function="set">tw_filemanager_rename=tw_selection1</action>
3261 <action function="set">tw_fm_text1=Renaming</action>
3262 <action function="set">tw_filemanager_command=mv</action>
3263 <action function="page">filemanagerrenamefile</action>
3264 </actions>
3265 </object>
3266
3267 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003268 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003269 <condition var1="tw_fm_isfolder" var2="1" />
3270 <placement x="%col4_x%" y="%row1_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Rename Folder</text>
3273 <image resource="main_button" />
3274 <actions>
3275 <action function="set">tw_filemanager_rename=tw_selection1</action>
3276 <action function="set">tw_fm_text1=Renaming</action>
3277 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3278 <action function="page">filemanagerrenamefolder</action>
3279 </actions>
3280 </object>
3281
3282 <object type="action">
3283 <touch key="home" />
3284 <action function="page">main</action>
3285 </object>
3286
3287 <object type="action">
3288 <touch key="back" />
3289 <action function="page">filemanagerlist</action>
3290 </object>
3291
3292 <object type="template" name="footer" />
3293 </page>
3294
3295 <page name="choosedestinationfolder">
3296 <object type="template" name="header" />
3297
3298 <object type="text" color="%text_color%">
3299 <font resource="font" />
3300 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3301 <text>Browse to Destination Folder & Press Select</text>
3302 </object>
3303
3304 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003305 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003306 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3307 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003308 <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 -04003309 <text>%tw_file_location2%</text>
3310 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3311 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003312 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003313 <icon folder="folder_icon" file="file_icon" />
3314 <background color="%fileselector_background%" />
3315 <filter folders="1" files="0" />
3316 <path name="tw_file_location2" default="/sdcard" />
3317 <data name="tw_filename2" />
3318 </object>
3319
3320 <object type="template" name="sort_options" />
3321
3322 <object type="action">
3323 <touch key="home" />
3324 <action function="page">main</action>
3325 </object>
3326
3327 <object type="action">
3328 <touch key="back" />
3329 <action function="page">filemanageroptions</action>
3330 </object>
3331
3332 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003333 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003334 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3335 <font resource="font" color="%button_text_color%" />
3336 <text>Select Folder</text>
3337 <image resource="main_button" />
3338 <actions>
3339 <action function="set">tw_fm_text2=to</action>
3340 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3341 <action function="set">tw_include_text3=1</action>
3342 <action function="set">tw_back=filemanageroptions</action>
3343 <action function="page">filemanagerconfirm</action>
3344 </actions>
3345 </object>
3346
3347 <object type="template" name="footer" />
3348 </page>
3349
3350 <page name="filemanagerrenamefile">
3351 <object type="template" name="header" />
3352
3353 <object type="text" color="%text_color%">
3354 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3355 <font resource="font" />
3356 <text>Please Enter a New %tw_fm_type% Name</text>
3357 </object>
3358
3359 <object type="input">
3360 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3361 <background color="%input_background_color%" />
3362 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3363 <font resource="font" color="%text_color%" />
3364 <text>%tw_filemanager_rename%</text>
3365 <data name="tw_filemanager_rename" />
3366 <restrict minlen="1" maxlen="128" />
3367 <actions>
3368 <action function="set">tw_fm_text2=to</action>
3369 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3370 <action function="set">tw_include_text3=1</action>
3371 <action function="set">tw_back=filemanageroptions</action>
3372 <action function="page">filemanagerconfirm</action>
3373 </actions>
3374 </object>
3375
3376 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003377 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003378 <placement x="%col_center_x%" y="%cancel_button_y%" />
3379 <font resource="font" color="%button_text_color%" />
3380 <text>Cancel</text>
3381 <image resource="main_button" />
3382 <action function="page">filemanageroptions</action>
3383 </object>
3384
3385 <object type="template" name="keyboardtemplate" />
3386
3387 <object type="action">
3388 <touch key="home" />
3389 <action function="page">main</action>
3390 </object>
3391
3392 <object type="action">
3393 <touch key="back" />
3394 <action function="page">filemanageroptions</action>
3395 </object>
3396
3397 <object type="template" name="footer" />
3398 </page>
3399
3400 <page name="filemanagerrenamefolder">
3401 <object type="template" name="header" />
3402
3403 <object type="text" color="%text_color%">
3404 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3405 <font resource="font" />
3406 <text>Please Enter a New %tw_fm_type% Name</text>
3407 </object>
3408
3409 <object type="input">
3410 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3411 <background color="%input_background_color%" />
3412 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3413 <font resource="font" color="%text_color%" />
3414 <text>%tw_filemanager_rename%</text>
3415 <data name="tw_filemanager_rename" />
3416 <restrict minlen="1" maxlen="128" />
3417 <actions>
3418 <action function="set">tw_fm_text2=to</action>
3419 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3420 <action function="set">tw_include_text3=1</action>
3421 <action function="set">tw_back=filemanageroptions</action>
3422 <action function="page">filemanagerconfirm</action>
3423 </actions>
3424 </object>
3425
3426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003428 <placement x="%col_center_x%" y="%cancel_button_y%" />
3429 <font resource="font" color="%button_text_color%" />
3430 <text>Cancel</text>
3431 <image resource="main_button" />
3432 <action function="page">filemanageroptions</action>
3433 </object>
3434
3435 <object type="template" name="keyboardtemplate" />
3436
3437 <object type="action">
3438 <touch key="home" />
3439 <action function="page">main</action>
3440 </object>
3441
3442 <object type="action">
3443 <touch key="back" />
3444 <action function="page">filemanageroptions</action>
3445 </object>
3446
3447 <object type="template" name="footer" />
3448 </page>
3449
3450 <page name="filemanagerchmod">
3451 <object type="template" name="header" />
3452
3453 <object type="text" color="%text_color%">
3454 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3455 <font resource="font" />
3456 <text>Please Enter New Permissions</text>
3457 </object>
3458
3459 <object type="input">
3460 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3461 <background color="%input_background_color%" />
3462 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3463 <font resource="font" color="%text_color%" />
3464 <text>%tw_filemanager_rename%</text>
3465 <data name="tw_filemanager_rename" />
3466 <restrict minlen="3" maxlen="4" allow="0123456789" />
3467 <actions>
3468 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3469 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3470 <action function="set">tw_back=filemanageroptions</action>
3471 <action function="page">filemanagerconfirm</action>
3472 </actions>
3473 </object>
3474
3475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003477 <placement x="%col_center_x%" y="%cancel_button_y%" />
3478 <font resource="font" color="%button_text_color%" />
3479 <text>Cancel</text>
3480 <image resource="main_button" />
3481 <action function="page">filemanageroptions</action>
3482 </object>
3483
3484 <object type="template" name="keyboardtemplate" />
3485
3486 <object type="action">
3487 <touch key="home" />
3488 <action function="page">main</action>
3489 </object>
3490
3491 <object type="action">
3492 <touch key="back" />
3493 <action function="page">filemanageroptions</action>
3494 </object>
3495
3496 <object type="template" name="footer" />
3497 </page>
3498
3499 <page name="filemanagerconfirm">
3500 <object type="template" name="header" />
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3505 <text>%tw_fm_text1%</text>
3506 </object>
3507
3508 <object type="text" color="%text_color%">
3509 <font resource="font" />
3510 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3511 <text>%tw_filename1%</text>
3512 </object>
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3517 <text>%tw_fm_text2%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3523 <text>%tw_fm_text3%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3529 <text>Press back button to cancel.</text>
3530 </object>
3531
3532 <object type="slider">
3533 <placement x="%slider_x%" y="%slider_y%" />
3534 <resource base="slider" used="slider-used" touch="slider-touch" />
3535 <action function="page">filemanageracction</action>
3536 </object>
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3541 <text>Swipe to Confirm</text>
3542 </object>
3543
3544 <object type="action">
3545 <touch key="back" />
3546 <action function="page">%tw_back%</action>
3547 </object>
3548
3549 <object type="action">
3550 <touch key="home" />
3551 <action function="page">main</action>
3552 </object>
3553
3554 <object type="template" name="footer" />
3555 </page>
3556
3557 <page name="filemanageracction">
3558 <object type="template" name="header" />
3559
3560 <object type="text" color="%text_color%">
3561 <font resource="font" />
3562 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3563 <text>%tw_fm_text1%</text>
3564 </object>
3565
3566 <object type="template" name="action_page_console" />
3567
3568 <object type="template" name="progress_bar" />
3569
3570 <object type="action">
3571 <conditions>
3572 <condition var1="tw_operation_state" var2="1" />
3573 <condition var1="tw_operation_status" var2="0" />
3574 </conditions>
3575 <actions>
3576 <action function="set">tw_back=filemanagerlist</action>
3577 <action function="set">tw_complete_text1=File Operation Complete</action>
3578 <action function="page">action_complete</action>
3579 </actions>
3580 </object>
3581
3582 <object type="action">
3583 <conditions>
3584 <condition var1="tw_operation_state" var2="1" />
3585 <condition var1="tw_operation_status" op="!=" var2="0" />
3586 </conditions>
3587 <actions>
3588 <action function="set">tw_complete_text1=File Operation Complete</action>
3589 <action function="page">action_complete</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <condition var1="tw_include_text3" var2="0" />
3595 <actions>
3596 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3597 </actions>
3598 </object>
3599
3600 <object type="action">
3601 <condition var1="tw_include_text3" var2="1" />
3602 <actions>
3603 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3604 </actions>
3605 </object>
3606 </page>
3607
3608 <page name="decrypt">
3609 <object type="template" name="header" />
3610
3611 <object type="text" color="%text_color%">
3612 <font resource="font" />
3613 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3614 <text>Please Enter Your Password</text>
3615 </object>
3616
3617 <object type="input">
3618 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3619 <background color="%input_background_color%" />
3620 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3621 <font resource="font" color="%text_color%" />
3622 <text>%tw_crypto_display%</text>
3623 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3624 <restrict minlen="1" maxlen="254" />
3625 <actions>
3626 <action function="page">trydecrypt</action>
3627 </actions>
3628 </object>
3629
3630 <object type="text" color="%text_fail_color%">
3631 <condition var1="tw_password_fail" var2="1" />
3632 <font resource="font" />
3633 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3634 <text>Password Failed, Please Try Again</text>
3635 </object>
3636
3637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003639 <placement x="%col_center_x%" y="%cancel_button_y%" />
3640 <font resource="font" color="%button_text_color%" />
3641 <text>Cancel</text>
3642 <image resource="main_button" />
3643 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003644 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003645 <action function="page">main</action>
3646 </actions>
3647 </object>
3648
3649 <object type="template" name="keyboardtemplate" />
3650
Dees_Troy51a0e822012-09-05 15:24:24 -04003651 <object type="template" name="footer" />
3652 </page>
3653
3654 <page name="trydecrypt">
3655 <object type="template" name="header" />
3656
3657 <object type="text" color="%text_color%">
3658 <font resource="font" />
3659 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3660 <text>Trying Decryption with Your Password</text>
3661 </object>
3662
3663 <object type="template" name="action_page_console" />
3664
3665 <object type="template" name="progress_bar" />
3666
3667 <object type="action">
3668 <action function="decrypt"></action>
3669 </object>
3670
3671 <object type="action">
3672 <conditions>
3673 <condition var1="tw_operation_state" var2="1" />
3674 <condition var1="tw_operation_status" op="!=" var2="0" />
3675 </conditions>
3676 <actions>
3677 <action function="set">tw_password_fail=1</action>
3678 <action function="page">decrypt</action>
3679 </actions>
3680 </object>
3681
3682 <object type="action">
3683 <conditions>
3684 <condition var1="tw_operation_state" var2="1" />
3685 <condition var1="tw_operation_status" op="=" var2="0" />
3686 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003687 <actions>
3688 <action function="set">tw_page_done=1</action>
3689 <action function="page">main</action>
3690 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003691 </object>
3692 </page>
3693
3694 <page name="terminalfolder">
3695 <object type="template" name="header" />
3696
3697 <object type="text" color="%text_color%">
3698 <font resource="font" />
3699 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3700 <text>Browse to Starting Folder</text>
3701 </object>
3702
3703 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003704 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3706 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003707 <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 -04003708 <text>%tw_terminal_location%</text>
3709 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3710 <sort name="tw_gui_sort_order" />
3711 <icon folder="folder_icon" file="file_icon" />
3712 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003713 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003714 <filter folders="1" files="0" />
3715 <path name="tw_terminal_location" default="/" />
3716 <data name="tw_terminal" />
3717 <selection name="tw_terminal_selection" />
3718 </object>
3719
3720 <object type="template" name="sort_options" />
3721
3722 <object type="action">
3723 <touch key="home" />
3724 <action function="page">main</action>
3725 </object>
3726
3727 <object type="action">
3728 <touch key="back" />
3729 <action function="page">advanced</action>
3730 </object>
3731
3732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003734 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3735 <font resource="font" color="%button_text_color%" />
3736 <text>Select Folder</text>
3737 <image resource="main_button" />
3738 <actions>
3739 <action function="page">terminalcommand</action>
3740 </actions>
3741 </object>
3742
3743 <object type="template" name="footer" />
3744 </page>
3745
3746 <page name="terminalcommand">
3747 <background color="#000000FF" />
3748
3749 <object type="console">
3750 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3751 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3752 <font resource="fixed" />
3753 </object>
3754
3755 <object type="text" color="%text_color%">
3756 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3757 <font resource="font" />
3758 <text>Starting Path: %tw_terminal_location%</text>
3759 </object>
3760
3761 <object type="input">
3762 <condition var1="tw_terminal_state" var2="0" />
3763 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3764 <background color="%input_background_color%" />
3765 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3766 <font resource="font" color="%text_color%" />
3767 <text>%tw_terminal_command%</text>
3768 <data name="tw_terminal_command" />
3769 <restrict minlen="1" />
3770 <action function="terminalcommand">%tw_terminal_command%</action>
3771 </object>
3772
3773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003775 <condition var1="tw_terminal_state" var2="1" />
3776 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3777 <font resource="font" color="%button_text_color%" />
3778 <text>KILL</text>
3779 <image resource="medium_button" />
3780 <action function="killterminal"></action>
3781 </object>
3782
3783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003785 <placement x="%home_button_x%" y="%terminal_button_y%" />
3786 <font resource="font" color="%button_text_color%" />
3787 <text></text>
3788 <image resource="home_icon" />
3789 <condition var1="tw_busy" var2="0" />
3790 <action function="key">home</action>
3791 </object>
3792
3793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003795 <placement x="%back_button_x%" y="%terminal_button_y%" />
3796 <font resource="font" color="%button_text_color%" />
3797 <text></text>
3798 <image resource="back_icon" />
3799 <condition var1="tw_busy" var2="0" />
3800 <action function="key">back</action>
3801 </object>
3802
3803 <object type="action">
3804 <touch key="power" />
3805 <action function="overlay">lock</action>
3806 </object>
3807
3808 <object type="template" name="keyboardtemplate" />
3809
3810 <object type="action">
3811 <touch key="home" />
3812 <action function="page">main</action>
3813 </object>
3814
3815 <object type="action">
3816 <touch key="back" />
3817 <action function="page">terminalfolder</action>
3818 </object>
3819 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003820
3821 <page name="sideload">
3822 <object type="template" name="header" />
3823
3824 <object type="text" color="%text_color%">
3825 <font resource="font" />
3826 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3827 <text>ADB Sideload</text>
3828 </object>
3829
3830 <object type="checkbox">
3831 <placement x="%col1_x%" y="%row3_text_y%" />
3832 <font resource="font" color="%text_color%" />
3833 <text>Wipe Dalvik Cache.</text>
3834 <data variable="tw_wipe_dalvik" />
3835 <image checked="checkbox_true" unchecked="checkbox_false" />
3836 </object>
3837
3838 <object type="checkbox">
3839 <placement x="%col1_x%" y="%row4_text_y%" />
3840 <font resource="font" color="%text_color%" />
3841 <text>Wipe Cache.</text>
3842 <data variable="tw_wipe_cache" />
3843 <image checked="checkbox_true" unchecked="checkbox_false" />
3844 </object>
3845
3846 <object type="slider">
3847 <placement x="%slider_x%" y="%slider_y%" />
3848 <resource base="slider" used="slider-used" touch="slider-touch" />
3849 <actions>
3850 <action function="set">tw_back=advanced</action>
3851 <action function="set">tw_action=adbsideload</action>
3852 <action function="set">tw_action_text1=ADB Sideload</action>
3853 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3854 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3855 <action function="set">tw_has_cancel=1</action>
3856 <action function="set">tw_show_reboot=1</action>
3857 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3858 <action function="page">action_page</action>
3859 </actions>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3865 <text>Swipe to Start Sideload</text>
3866 </object>
3867
3868 <object type="action">
3869 <touch key="home" />
3870 <action function="page">main</action>
3871 </object>
3872
3873 <object type="action">
3874 <touch key="back" />
3875 <action function="page">advanced</action>
3876 </object>
3877
3878 <object type="template" name="footer" />
3879 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003880
3881 <page name="installsu">
3882 <object type="template" name="header" />
3883
3884 <object type="text" color="%text_color%">
3885 <font resource="font" />
3886 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3887 <text>Install SuperSU?</text>
3888 </object>
3889
3890 <object type="text" color="%text_color%">
3891 <font resource="font" />
3892 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3893 <text>Your device does not appear to be rooted.</text>
3894 </object>
3895
3896 <object type="text" color="%text_color%">
3897 <font resource="font" />
3898 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3899 <text>Install SuperSU now? This will root your device.</text>
3900 </object>
3901
3902 <object type="button">
3903 <highlight color="%highlight_color%" />
3904 <placement x="%col_center_x%" y="%row2_medium_y%" />
3905 <font resource="font" color="%button_text_color%" />
3906 <text>Do Not Install</text>
3907 <image resource="main_button" />
3908 <action function="set">tw_page_done=1</action>
3909 </object>
3910
3911 <object type="slider">
3912 <placement x="%slider_x%" y="%slider_y%" />
3913 <resource base="slider" used="slider-used" touch="slider-touch" />
3914 <actions>
3915 <action function="set">tw_action=installsu</action>
3916 <action function="set">tw_action_text1=Installing SuperSU</action>
3917 <action function="set">tw_action_text2=</action>
3918 <action function="page">singleaction_page</action>
3919 </actions>
3920 </object>
3921
3922 <object type="text" color="%text_color%">
3923 <font resource="font" />
3924 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3925 <text>Swipe to Install</text>
3926 </object>
3927 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003928 </pages>
3929</recovery>