blob: b2a5f4c6dd36473250eaa93f881ebe7368209334 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
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" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="240" />
47 <variable name="col_center_x" value="128" />
48 <variable name="center_x" value="240" />
49 <variable name="row1_y" value="140" />
50 <variable name="row2_y" value="290" />
51 <variable name="row3_y" value="450" />
52 <variable name="row4_y" value="610" />
53 <variable name="row_queue_y" value="510" />
54 <variable name="row1_header_y" value="110" />
55 <variable name="row1_text_y" value="140" />
56 <variable name="row2_text_y" value="170" />
57 <variable name="row3_text_y" value="200" />
58 <variable name="row4_text_y" value="230" />
59 <variable name="row5_text_y" value="260" />
60 <variable name="row6_text_y" value="290" />
61 <variable name="row7_text_y" value="320" />
62 <variable name="row8_text_y" value="350" />
63 <variable name="row9_text_y" value="380" />
64 <variable name="row10_text_y" value="410" />
65 <variable name="row11_text_y" value="440" />
66 <variable name="row12_text_y" value="480" />
67 <variable name="row13_text_y" value="510" />
68 <variable name="row14_text_y" value="540" />
69 <variable name="row15_text_y" value="570" />
70 <variable name="row16_text_y" value="600" />
71 <variable name="row17_text_y" value="630" />
72 <variable name="row18_text_y" value="660" />
73 <variable name="zip_status_y" value="585" />
74 <variable name="tz_selected_y" value="110" />
75 <variable name="tz_set_y" value="580" />
76 <variable name="tz_current_y" value="730" />
77 <variable name="col_progressbar_x" value="114" />
78 <variable name="row_progressbar_y" value="720" />
79 <variable name="col1_medium_x" value="10" />
80 <variable name="col2_medium_x" value="125" />
81 <variable name="col3_medium_x" value="240" />
82 <variable name="col4_medium_x" value="355" />
83 <variable name="row1_medium_y" value="130" />
84 <variable name="row2_medium_y" value="205" />
85 <variable name="row3_medium_y" value="280" />
86 <variable name="row4_medium_y" value="355" />
87 <variable name="row5_medium_y" value="430" />
88 <variable name="row6_medium_y" value="505" />
89 <variable name="row7_medium_y" value="580" />
90 <variable name="slider_x" value="58" />
91 <variable name="slider_y" value="680" />
92 <variable name="slider_text_y" value="721" />
93 <variable name="button_text_color" value="#AAAAAA" />
94 <variable name="text_color" value="#FFFFFF" />
95 <variable name="text_success_color" value="#33B5E5" />
96 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060097 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040098 <variable name="home_button_x" value="10" />
99 <variable name="home_button_y" value="820" />
100 <variable name="back_button_x" value="413" />
101 <variable name="back_button_y" value="820" />
102 <variable name="sort_asc_text_y" value="739" />
103 <variable name="sort_asc_button_y" value="739" />
104 <variable name="sort_desc_text_y" value="779" />
105 <variable name="sort_desc_button_y" value="779" />
106 <variable name="sort_col1_button_x" value="180" />
107 <variable name="sort_col2_button_x" value="240" />
108 <variable name="sort_col3_button_x" value="300" />
109 <variable name="input_width" value="460" />
110 <variable name="input_height" value="40" />
111 <variable name="input_background_color" value="#303030" />
112 <variable name="input_cursor_color" value="#33B5E5" />
113 <variable name="input_cursor_width" value="3" />
114 <variable name="console_x" value="0" />
115 <variable name="console_width" value="480" />
116 <variable name="console_foreground" value="#A0A0A0" />
117 <variable name="console_background" value="#303030" />
118 <variable name="console_scroll" value="#303030" />
119 <variable name="console_action_height" value="320" />
120 <variable name="console_install_height" value="440" />
121 <variable name="console_installdone_height" value="300" />
122 <variable name="fileselector_x" value="5" />
123 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500124 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400125 <variable name="fileselector_header_background" value="#202020" />
126 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
127 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
128 <variable name="fileselector_header_separatorheight" value="3" />
129 <variable name="fileselector_separatorcolor" value="#505050" />
130 <variable name="fileselector_separatorheight" value="2" />
131 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600132 <variable name="fileselector_highlight_color" value="#505050" />
133 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400134 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100135 <variable name="fastscroll_linecolor" value="#808080" />
136 <variable name="fastscroll_rectcolor" value="#808080" />
137 <variable name="fastscroll_w" value="40" />
138 <variable name="fastscroll_linew" value="2" />
139 <variable name="fastscroll_rectw" value="27" />
140 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="listbox_x" value="5" />
142 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600143 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_background" value="#303030" />
145 <variable name="listbox_spacing" value="18" />
146 <variable name="sd_plus_x" value="280" />
147 <variable name="sdext_text_x" value="84" />
148 <variable name="sdext_text_y" value="150" />
149 <variable name="sdswap_button_y" value="185" />
150 <variable name="sdswap_text_x" value="84" />
151 <variable name="sdswap_text_y" value="195" />
152 <variable name="sdfilesystem_text_y" value="240" />
153 <variable name="sdfilesystem_button_y" value="280" />
154 <variable name="lock_x" value="40" />
155 <variable name="lock_y" value="200" />
156 <variable name="filemanager_select_x" value="365" />
157 <variable name="filemanager_select_y" value="744" />
158 <variable name="backup_name_y" value="350" />
159 <variable name="terminal_console_height" value="424" />
160 <variable name="terminal_text_y" value="444" />
161 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400162 <variable name="row_dst_text_y" value="440" />
163 <variable name="row_offset_text_y" value="480" />
164 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500165 <variable name="button_fill_color" value="#303030" />
166 <variable name="button_fill_full_width" value="455" />
167 <variable name="button_fill_main_width" value="225" />
168 <variable name="button_fill_main_height" value="135" />
169 <variable name="button_fill_half_height" value="67" />
170 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000171 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500172 <variable name="backup_button_row1" value="480" />
173 <variable name="backup_button_row2" value="520" />
174 <variable name="mount_list_height" value="380" />
175 <variable name="mount_storage_row" value="500" />
176 <variable name="storage_list_height" value="400" />
177 <variable name="wipe_list_height" value="550" />
178 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200179 <variable name="slidervalue_w" value="460" />
180 <variable name="slidervalue_line_clr" value="#FFFFFF" />
181 <variable name="slidervalue_slider_clr" value="#33B5E5" />
182 <variable name="slidervalue_lineh" value="1" />
183 <variable name="slidervalue_padding" value="13" />
184 <variable name="slidervalue_sliderw" value="7" />
185 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400186 </variables>
187
188 <templates>
189 <template name="header">
190 <background color="%backgroundcolor%" />
191
192 <object type="image">
193 <image resource="top_bar" />
194 <placement x="0" y="0" />
195 </object>
196
197 <object type="text" color="%text_color%">
198 <font resource="font" />
199 <placement x="100" y="10" />
200 <text>Team Win Recovery Project v%tw_version%</text>
201 </object>
202
203 <object type="text" color="%text_color%">
204 <condition var1="tw_simulate_actions" var2="1" />
205 <font resource="font" />
206 <placement x="100" y="40" />
207 <text>SIMULATING ACTIONS</text>
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="100" y="70" />
213 <text>%tw_time%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="70" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery: %tw_battery%</text>
225 </object>
226
227 <object type="button">
228 <placement x="%home_button_x%" y="%home_button_y%" />
229 <font resource="font" color="%button_text_color%" />
230 <text></text>
231 <image resource="home_icon" />
232 <condition var1="tw_busy" var2="0" />
233 <action function="key">home</action>
234 </object>
235
236 <object type="button">
237 <placement x="%back_button_x%" y="%back_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="back_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">back</action>
243 </object>
244
245 <object type="action">
246 <touch key="power" />
247 <action function="overlay">lock</action>
248 </object>
249 </template>
250
251 <template name="progress_bar">
252 <object type="progressbar">
253 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
254 <resource empty="progress_empty" full="progress_full" />
255 <data name="ui_progress" />
256 </object>
257
258 <object type="animation">
259 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
260 <resource name="progress" />
261 <speed fps="15" render="2" />
262 <loop frame="1" />
263 </object>
264 </template>
265
266 <template name="action_page_console">
267 <object type="console">
268 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
269 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
270 <font resource="fixed" />
271 </object>
272 </template>
273
274 <template name="sort_options">
275 <object type="text" color="%text_color%">
276 <font resource="font" />
277 <placement x="%col1_x%" y="%sort_asc_text_y%" />
278 <text>Sort Ascending:</text>
279 </object>
280
281 <object type="button">
282 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
283 <font resource="UItext" color="%button_text_color%" />
284 <text>Name</text>
285 <image resource="sort_button" />
286 <action function="set">tw_gui_sort_order=1</action>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
291 <font resource="UItext" color="%button_text_color%" />
292 <text>Date</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=2</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
299 <font resource="UItext" color="%button_text_color%" />
300 <text>Size</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=3</action>
303 </object>
304
305 <object type="text" color="%text_color%">
306 <font resource="font" />
307 <placement x="%col1_x%" y="%sort_desc_text_y%" />
308 <text>Sort Descending:</text>
309 </object>
310
311 <object type="button">
312 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
313 <font resource="UItext" color="%button_text_color%" />
314 <text>Name</text>
315 <image resource="sort_button" />
316 <action function="set">tw_gui_sort_order=-1</action>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
321 <font resource="UItext" color="%button_text_color%" />
322 <text>Date</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=-2</action>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
329 <font resource="UItext" color="%button_text_color%" />
330 <text>Size</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-3</action>
333 </object>
334 </template>
335
336 <template name="footer">
337 <object type="console">
338 <slideout resource="slideout" x="210" y="814" />
339 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
340 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
341 <font resource="fixed" />
342 </object>
343 </template>
344
345 <template name="keyboardtemplate">
346 <object type="keyboard">
347 <placement x="0" y="504" />
348 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400350 <layout1>
351 <keysize height="78" width="48" />
352 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
353 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
354 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
355 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
356 </layout1>
357 <layout2>
358 <keysize height="78" width="48" />
359 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
360 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
361 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
362 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
363 </layout2>
364 <layout3>
365 <keysize height="78" width="48" />
366 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
367 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
368 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
369 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
370 </layout3>
371 <layout4>
372 <keysize height="78" width="48" />
373 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
374 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
375 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
376 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
377 </layout4>
378 </object>
379 </template>
380 </templates>
381
382 <pages>
383 <page name="main">
384 <object type="action">
385 <actions>
386 <action function="set">tw_clear_destination=main2</action>
387 <action function="page">clear_vars</action>
388 </actions>
389 </object>
390 </page>
391
392 <page name="main2">
393 <object type="template" name="header" />
394
395 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600396 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400397 <placement x="%col1_x%" y="%row1_y%" />
398 <font resource="font" color="%button_text_color%" />
399 <text>Install</text>
400 <image resource="main_button" />
401 <actions>
402 <action function="queueclear"></action>
403 <action function="page">install</action>
404 </actions>
405 </object>
406
407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400409 <placement x="%col2_x%" y="%row1_y%" />
410 <font resource="font" color="%button_text_color%" />
411 <text>Wipe</text>
412 <image resource="main_button" />
413 <action function="page">wipe</action>
414 </object>
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row2_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Backup</text>
421 <image resource="main_button" />
422 <action function="page">backup</action>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col2_x%" y="%row2_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Restore</text>
430 <image resource="main_button" />
431 <action function="page">restore</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col1_x%" y="%row3_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Mount</text>
439 <image resource="main_button" />
440 <action function="page">mount</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col2_x%" y="%row3_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Settings</text>
448 <image resource="main_button" />
449 <action function="page">settings</action>
450 </object>
451
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="%col1_x%" y="%row4_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Advanced</text>
458 <image resource="main_button" />
459 <action function="page">advanced</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="%col2_x%" y="%row4_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Reboot</text>
467 <image resource="main_button" />
468 <action function="page">reboot</action>
469 </object>
470
471 <object type="template" name="footer" />
472 </page>
473
474 <page name="install">
475 <object type="template" name="header" />
476
477 <object type="text" color="%text_color%">
478 <font resource="font" />
479 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
480 <text>Select Zip to Install</text>
481 </object>
482
483 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500484 <highlight color="%highlight_color%" />
485 <fill color="%button_fill_color%" />
486 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
487 <font resource="font" color="%button_text_color%" />
488 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
489 <actions>
490 <action function="set">tw_back=install</action>
491 <action function="page">selectstorage</action>
492 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400493 </object>
494
495 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600496 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500497 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100499 <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 -0400500 <text>%tw_zip_location%</text>
501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
502 <sort name="tw_gui_sort_order" />
503 <icon folder="folder_icon" file="file_icon" />
504 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600505 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <filter extn=".zip" folders="1" files="1" />
507 <path name="tw_zip_location" default="/sdcard" />
508 <data name="tw_filename" />
509 <selection name="tw_file" />
510 </object>
511
512 <object type="template" name="sort_options" />
513
514 <object type="action">
515 <condition var1="tw_filename" op="modified" />
516 <actions>
517 <action function="queuezip"></action>
518 <action function="page">flash_confirm</action>
519 </actions>
520 </object>
521
522 <object type="action">
523 <touch key="back" />
524 <action function="page">main</action>
525 </object>
526
527 <object type="action">
528 <touch key="home" />
529 <action function="page">main</action>
530 </object>
531
532 <object type="template" name="footer" />
533 </page>
534
535 <page name="flash_confirm">
536 <object type="template" name="header" />
537
538 <object type="text" color="%text_color%">
539 <font resource="font" />
540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
541 <text>This operation may install incompatible</text>
542 </object>
543
544 <object type="text" color="%text_color%">
545 <font resource="font" />
546 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
547 <text>software and render your device unusable.</text>
548 </object>
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
553 <text>Folder:</text>
554 </object>
555
556 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400557 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400558 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
559 <text>%tw_zip_location%</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
565 <text>File to flash:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
571 <text>%tw_file%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
577 <text>Press back to cancel adding this zip.</text>
578 </object>
579
580 <object type="checkbox">
581 <placement x="%col1_x%" y="%row8_text_y%" />
582 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400583 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <data variable="tw_signed_zip_verify" />
585 <image checked="checkbox_true" unchecked="checkbox_false" />
586 </object>
587
588 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400589 <condition var1="tw_has_injecttwrp" var2="1" />
590 <placement x="%col1_x%" y="%row10_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_inject_after_zip" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="text" color="%text_color%">
598 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400599 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <text>File %tw_zip_queue_count% of max of 10</text>
601 </object>
602
603 <object type="slider">
604 <placement x="%slider_x%" y="%slider_y%" placement="5" />
605 <resource base="slider" used="slider-used" touch="slider-touch" />
606 <action function="flash">flash_zip</action>
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
611 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
612 <text>Swipe to Confirm Flash</text>
613 </object>
614
615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400617 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
618 <placement x="%col1_x%" y="%row_queue_y%" />
619 <font resource="font" color="%button_text_color%" />
620 <text>Add More Zips</text>
621 <image resource="main_button" />
622 <action function="page">install</action>
623 </object>
624
625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <placement x="%col2_x%" y="%row_queue_y%" />
628 <font resource="font" color="%button_text_color%" />
629 <text>Clear Zip Queue</text>
630 <image resource="main_button" />
631 <actions>
632 <action function="queueclear"></action>
633 <action function="page">install</action>
634 </actions>
635 </object>
636
637 <object type="action">
638 <touch key="back" />
639 <actions>
640 <action function="cancelzip"></action>
641 <action function="page">install</action>
642 </actions>
643 </object>
644
645 <object type="action">
646 <touch key="home" />
647 <action function="page">main</action>
648 </object>
649
650 <object type="template" name="footer" />
651 </page>
652
653 <page name="flash_zip">
654 <object type="template" name="header" />
655
656 <object type="console">
657 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
658 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
659 <font resource="fixed" />
660 </object>
661
662 <object type="text" color="%text_color%">
663 <font resource="font" />
664 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
665 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
666 </object>
667
668 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400669 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400670 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
671 <text>%tw_filename%</text>
672 </object>
673
674 <object type="template" name="progress_bar" />
675
676 <object type="action">
677 <condition var1="tw_operation_state" var2="1" />
678 <action function="page">flash_done</action>
679 </object>
680 </page>
681
682 <page name="flash_done">
683 <object type="template" name="header" />
684
685 <object type="text" color="%text_color%">
686 <font resource="font" />
687 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
688 <text>Zip Install Complete</text>
689 </object>
690
691 <object type="console">
692 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
693 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
694 <font resource="fixed" />
695 </object>
696
697 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600698 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400699 <placement x="%col1_x%" y="%row4_y%" />
700 <font resource="font" color="%button_text_color%" />
701 <text>Wipe cache/dalvik</text>
702 <image resource="main_button" />
703 <actions>
704 <action function="set">tw_back=flash_done</action>
705 <action function="set">tw_action=wipe</action>
706 <action function="set">tw_action_param=/cache</action>
707 <action function="set">tw_has_action2=1</action>
708 <action function="set">tw_action2=wipe</action>
709 <action function="set">tw_action2_param=dalvik</action>
710 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
711 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
712 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
713 <action function="set">tw_slider_text=Swipe to Wipe</action>
714 <action function="page">confirm_action</action>
715 </actions>
716 </object>
717
718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400720 <placement x="%col2_x%" y="%row4_y%" />
721 <font resource="font" color="%button_text_color%" />
722 <text>Reboot System</text>
723 <image resource="main_button" />
724 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400725 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400726 <action function="set">tw_action=reboot</action>
727 <action function="set">tw_action_param=system</action>
728 <action function="set">tw_has_action2=0</action>
729 <action function="set">tw_text1=No OS Installed! Are you</action>
730 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400731 <action function="set">tw_text3=</action>
732 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400734 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_complete_text1=Rebooting...</action>
736 <action function="set">tw_slider_text=Swipe to Reboot</action>
737 <action function="page">rebootcheck</action>
738 </actions>
739 </object>
740
741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <placement x="%col_center_x%" y="%row3_y%" />
744 <font resource="font" color="%button_text_color%" />
745 <text>Home</text>
746 <image resource="main_button" />
747 <actions>
748 <action function="set">tw_clear_destination=main2</action>
749 <action function="page">clear_vars</action>
750 </actions>
751 </object>
752
753 <object type="text" color="%text_fail_color%">
754 <condition var1="tw_operation_status" op="!=" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
757 <text>Failed</text>
758 </object>
759
760 <object type="text" color="%text_success_color%">
761 <condition var1="tw_operation_status" var2="0" />
762 <font resource="font" />
763 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
764 <text>Successful</text>
765 </object>
766
767 <object type="action">
768 <touch key="back" />
769 <actions>
770 <action function="set">tw_clear_destination=install</action>
771 <action function="page">clear_vars</action>
772 </actions>
773 </object>
774
775 <object type="action">
776 <touch key="home" />
777 <actions>
778 <action function="set">tw_clear_destination=main2</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782 </page>
783
784 <page name="clear_vars">
785 <object type="action">
786 <action function="set">tw_operation_state=0</action>
787 <action function="set">tw_text1=</action>
788 <action function="set">tw_text2=</action>
789 <action function="set">tw_text3=</action>
790 <action function="set">tw_text4=</action>
791 <action function="set">tw_action_text1=</action>
792 <action function="set">tw_action_text2=</action>
793 <action function="set">tw_action_param=</action>
794 <action function="set">tw_has_action2=0</action>
795 <action function="set">tw_action2=</action>
796 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400797 <action function="set">tw_has_cancel=0</action>
798 <action function="set">tw_cancel_action=</action>
799 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400800 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400801 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400802 <action function="page">%tw_clear_destination%</action>
803 </object>
804 </page>
805
806 <page name="confirm_action">
807 <object type="template" name="header" />
808
809 <object type="text" color="%text_color%">
810 <font resource="font" />
811 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
812 <text>%tw_text1%</text>
813 </object>
814
815 <object type="text" color="%text_color%">
816 <font resource="font" />
817 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
818 <text>%tw_text2%</text>
819 </object>
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
824 <text>%tw_text3%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
830 <text>%tw_text4%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400835 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400836 <text>Press back button to cancel.</text>
837 </object>
838
839 <object type="slider">
840 <placement x="%slider_x%" y="%slider_y%" />
841 <resource base="slider" used="slider-used" touch="slider-touch" />
842 <action function="page">action_page</action>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
848 <text>%tw_slider_text%</text>
849 </object>
850
851 <object type="action">
852 <touch key="back" />
853 <actions>
854 <action function="set">tw_clear_destination=%tw_back%</action>
855 <action function="page">clear_vars</action>
856 </actions>
857 </object>
858
859 <object type="action">
860 <touch key="home" />
861 <action function="page">main</action>
862 </object>
863
864 <object type="template" name="footer" />
865 </page>
866
867 <page name="action_page">
868 <object type="template" name="header" />
869
870 <object type="text" color="%text_color%">
871 <font resource="font" />
872 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
873 <text>%tw_action_text1%</text>
874 </object>
875
876 <object type="text" color="%text_color%">
877 <font resource="font" />
878 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
879 <text>%tw_action_text2%</text>
880 </object>
881
882 <object type="template" name="action_page_console" />
883
Dees_Troyb46a6842012-09-25 11:06:46 -0400884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600885 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400886 <condition var1="tw_has_cancel" var2="1" />
887 <placement x="%col_center_medium_x%" y="%row4_y%" />
888 <font resource="font" color="%button_text_color%" />
889 <text>Cancel</text>
890 <image resource="medium_button" />
891 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
892 </object>
893
Dees_Troy51a0e822012-09-05 15:24:24 -0400894 <object type="template" name="progress_bar" />
895
896 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400897 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400898 <actions>
899 <action function="page">action_complete</action>
900 </actions>
901 </object>
902
903 <object type="action">
904 <condition var1="tw_has_action2" var2="0" />
905 <actions>
906 <action function="%tw_action%">%tw_action_param%</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <condition var1="tw_has_action2" var2="1" />
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 <action function="%tw_action2%">%tw_action2_param%</action>
915 </actions>
916 </object>
917 </page>
918
Dees_Troy6ef66352013-02-21 08:26:57 -0600919 <page name="singleaction_page">
920 <object type="template" name="header" />
921
922 <object type="text" color="%text_color%">
923 <font resource="font" />
924 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
925 <text>%tw_action_text1%</text>
926 </object>
927
928 <object type="text" color="%text_color%">
929 <font resource="font" />
930 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
931 <text>%tw_action_text2%</text>
932 </object>
933
934 <object type="template" name="action_page_console" />
935
936 <object type="template" name="progress_bar" />
937
938 <object type="action">
939 <condition var1="tw_operation_state" var2="1" />
940 <actions>
941 <action function="set">tw_page_done=1</action>
942 </actions>
943 </object>
944
945 <object type="action">
946 <condition var1="tw_has_action2" var2="0" />
947 <actions>
948 <action function="%tw_action%">%tw_action_param%</action>
949 </actions>
950 </object>
951
952 <object type="action">
953 <condition var1="tw_has_action2" var2="1" />
954 <actions>
955 <action function="%tw_action%">%tw_action_param%</action>
956 <action function="%tw_action2%">%tw_action2_param%</action>
957 </actions>
958 </object>
959 </page>
960
Dees_Troy51a0e822012-09-05 15:24:24 -0400961 <page name="action_complete">
962 <object type="template" name="header" />
963
964 <object type="text" color="%text_color%">
965 <font resource="font" />
966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
967 <text>%tw_complete_text1%</text>
968 </object>
969
970 <object type="text" color="%text_fail_color%">
971 <condition var1="tw_operation_status" op="!=" var2="0" />
972 <font resource="font" />
973 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
974 <text>Failed</text>
975 </object>
976
977 <object type="text" color="%text_success_color%">
978 <condition var1="tw_operation_status" var2="0" />
979 <font resource="font" />
980 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
981 <text>Successful</text>
982 </object>
983
984 <object type="template" name="action_page_console" />
985
986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600987 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400988 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400989 <placement x="%col_center_x%" y="%row4_y%" />
990 <font resource="font" color="%button_text_color%" />
991 <text>Back</text>
992 <image resource="main_button" />
993 <actions>
994 <action function="set">tw_clear_destination=%tw_back%</action>
995 <action function="page">clear_vars</action>
996 </actions>
997 </object>
998
Dees_Troya3f81542012-10-08 10:58:53 -0400999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="1" />
1002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Reboot System</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_back=main2</action>
1008 <action function="set">tw_action=reboot</action>
1009 <action function="set">tw_action_param=system</action>
1010 <action function="set">tw_has_action2=0</action>
1011 <action function="set">tw_text1=No OS Installed! Are you</action>
1012 <action function="set">tw_text2=sure you wish to reboot?</action>
1013 <action function="set">tw_text3=</action>
1014 <action function="set">tw_text4=</action>
1015 <action function="set">tw_action_text1=Rebooting...</action>
1016 <action function="set">tw_action_text2=</action>
1017 <action function="set">tw_complete_text1=Rebooting...</action>
1018 <action function="set">tw_slider_text=Swipe to Reboot</action>
1019 <action function="page">rebootcheck</action>
1020 </actions>
1021 </object>
1022
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <object type="action">
1024 <touch key="home" />
1025 <actions>
1026 <action function="set">tw_clear_destination=main2</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030
1031 <object type="action">
1032 <touch key="back" />
1033 <actions>
1034 <action function="set">tw_clear_destination=%tw_back%</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </object>
1038 </page>
1039
1040 <page name="filecheck">
1041 <object type="action">
1042 <action function="fileexists">%tw_filecheck%</action>
1043 </object>
1044
1045 <object type="action">
1046 <conditions>
1047 <condition var1="tw_operation_state" var2="1" />
1048 <condition var1="tw_operation_status" var2="0" />
1049 </conditions>
1050 <actions>
1051 <action function="set">tw_fileexists=1</action>
1052 <action function="page">%tw_existpage%</action>
1053 </actions>
1054 </object>
1055
1056 <object type="action">
1057 <conditions>
1058 <condition var1="tw_operation_state" var2="1" />
1059 <condition var1="tw_operation_status" var2="1" />
1060 </conditions>
1061 <actions>
1062 <action function="set">tw_fileexists=0</action>
1063 <action function="page">%tw_notexistpage%</action>
1064 </actions>
1065 </object>
1066 </page>
1067
1068 <page name="rebootcheck">
1069 <object type="action">
1070 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1071 <action function="reboot">%tw_action_param%</action>
1072 </object>
1073
1074 <object type="action">
1075 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1076 <action function="page">confirm_action</action>
1077 </object>
1078 </page>
1079
1080 <page name="wipe">
1081 <object type="template" name="header" />
1082
1083 <object type="text" color="%text_color%">
1084 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001085 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001086 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001087 </object>
1088
1089 <object type="text" color="%text_color%">
1090 <font resource="font" />
1091 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1092 <text>Wipes Data, Cache, and Dalvik</text>
1093 </object>
1094
1095 <object type="text" color="%text_color%">
1096 <condition var1="tw_has_data_media" var2="0" />
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1099 <text>.android_secure</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_data_media" var2="1" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1106 <text>(not including internal storage)</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <condition var1="tw_has_sdext_partition" var2="1" />
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1113 <text>SD-EXT</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1119 <text>Most of the time this is</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
1123 <font resource="font" />
1124 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1125 <text>the only wipe that you need.</text>
1126 </object>
1127
1128 <object type="text" color="%text_color%">
1129 <font resource="font" />
1130 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1131 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001136 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001138 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001140 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 </object>
1142
1143 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <conditions>
1145 <condition var1="tw_has_internal" var2="1" />
1146 <condition var1="tw_has_data_media" var2="1" />
1147 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <highlight color="%highlight_color%" />
1149 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <font resource="font" color="%button_text_color%" />
1151 <text>Format Data</text>
1152 <image resource="main_button" />
1153 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </actions>
1156 </object>
1157
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <object type="slider">
1159 <placement x="%slider_x%" y="%slider_y%" />
1160 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <action function="set">tw_action_param=data</action>
1165 <action function="set">tw_action_text1=Factory Reset...</action>
1166 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1167 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001168 </actions>
1169 </object>
1170
Dees_Troya13d74f2013-03-24 08:54:55 -05001171 <object type="text" color="%text_color%">
1172 <font resource="font" />
1173 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1174 <text>Swipe to Factory Reset</text>
1175 </object>
1176
1177 <object type="action">
1178 <touch key="back" />
1179 <action function="page">main</action>
1180 </object>
1181
1182 <object type="action">
1183 <touch key="home" />
1184 <action function="page">main</action>
1185 </object>
1186
1187 <object type="template" name="footer" />
1188 </page>
1189
1190 <page name="advancedwipe">
1191 <object type="template" name="header" />
1192
1193 <object type="text" color="%text_color%">
1194 <font resource="font" />
1195 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1196 <text>Wipe Menu</text>
1197 </object>
1198
1199 <object type="partitionlist">
1200 <highlight color="%fileselector_highlight_color%" />
1201 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1202 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1203 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1204 <text>Select Partitions to Wipe:</text>
1205 <icon selected="checkbox_true" unselected="checkbox_false" />
1206 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1207 <background color="%listbox_background%" />
1208 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1209 <data name="tw_wipe_list" />
1210 <listtype name="wipe" />
1211 </object>
1212
1213 <object type="slider">
1214 <placement x="%slider_x%" y="%slider_y%" />
1215 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001216 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001217 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001219 <action function="set">tw_action_param=LIST</action>
1220 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1221 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1222 <action function="set">tw_complete_text1=Wipe Complete</action>
1223 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001224 </actions>
1225 </object>
1226
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <object type="text" color="%text_color%">
1228 <font resource="font" />
1229 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1230 <text>Swipe to Wipe</text>
1231 </object>
1232
Dees_Troy51a0e822012-09-05 15:24:24 -04001233 <object type="action">
1234 <touch key="home" />
1235 <action function="page">main</action>
1236 </object>
1237
1238 <object type="action">
1239 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 </object>
1242
1243 <object type="template" name="footer" />
1244 </page>
1245
Dees_Troya13d74f2013-03-24 08:54:55 -05001246 <page name="formatdata">
1247 <object type="template" name="header" />
1248
1249 <object type="text" color="%text_color%">
1250 <font resource="font" />
1251 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1252 <text>Format Data will wipe all of your apps,</text>
1253 </object>
1254
1255 <object type="text" color="%text_color%">
1256 <font resource="font" />
1257 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1258 <text>backups, pictures, videos, media, and</text>
1259 </object>
1260
1261 <object type="text" color="%text_color%">
1262 <font resource="font" />
1263 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1264 <text>removes encryption on internal storage.</text>
1265 </object>
1266
1267 <object type="text" color="%text_color%">
1268 <font resource="font" />
1269 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1270 <text>This cannot be undone. Press back to cancel.</text>
1271 </object>
1272
1273 <object type="text" color="%text_color%">
1274 <font resource="font" />
1275 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1276 <text>Type yes to continue.</text>
1277 </object>
1278
1279 <object type="input">
1280 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1281 <background color="%input_background_color%" />
1282 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1283 <font resource="font" color="%text_color%" />
1284 <text>%tw_confirm_formatdata%</text>
1285 <data name="tw_confirm_formatdata" />
1286 <restrict minlen="3" maxlen="3" allow="yes" />
1287 <action function="page">formatdata_confirm</action>
1288 </object>
1289
1290 <object type="template" name="keyboardtemplate" />
1291
1292 <object type="action">
1293 <touch key="home" />
1294 <action function="page">main</action>
1295 </object>
1296
1297 <object type="action">
1298 <touch key="back" />
1299 <action function="page">wipe</action>
1300 </object>
1301
1302 <object type="template" name="footer" />
1303 </page>
1304
1305 <page name="formatdata_confirm">
1306 <object type="action">
1307 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1308 <actions>
1309 <action function="set">tw_back=formatdata</action>
1310 <action function="set">tw_action=wipe</action>
1311 <action function="set">tw_action_param=DATAMEDIA</action>
1312 <action function="set">tw_action_text1=Formatting Data...</action>
1313 <action function="set">tw_complete_text1=Data Format Complete</action>
1314 <action function="page">action_page</action>
1315 </actions>
1316 </object>
1317
1318 <object type="action">
1319 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1320 <action function="page">formatdata</function>
1321 </object>
1322 </page>
1323
Dees_Troy51a0e822012-09-05 15:24:24 -04001324 <page name="backup">
1325 <object type="template" name="header" />
1326
Dees_Troy83bd4832013-05-04 12:39:56 +00001327 <object type="button">
1328 <highlight color="%highlight_color%" />
1329 <fill color="%button_fill_color%" />
1330 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1331 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001333 <actions>
1334 <action function="set">tw_fileexists=0</action>
1335 <action function="page">backupname1</action>
1336 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001337 </object>
1338
Dees_Troya13d74f2013-03-24 08:54:55 -05001339 <object type="partitionlist">
1340 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001341 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001342 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1343 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1344 <text>Select Partitions to Back Up:</text>
1345 <icon selected="checkbox_true" unselected="checkbox_false" />
1346 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1347 <background color="%listbox_background%" />
1348 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1349 <data name="tw_backup_list" />
1350 <listtype name="backup" />
1351 </object>
1352
1353 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001354 <conditions>
1355 <condition var1="tw_include_encrypted_backup" var2="1" />
1356 <condition var1="tw_encrypt_backup" var2="0" />
1357 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001358 <highlight color="%highlight_color%" />
1359 <fill color="%button_fill_color%" />
1360 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1361 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001362 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001363 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <action function="page">backupencryption</action>
1365 </actions>
1366 </object>
1367
1368 <object type="button">
1369 <conditions>
1370 <condition var1="tw_include_encrypted_backup" var2="1" />
1371 <condition var1="tw_encrypt_backup" var2="1" />
1372 </conditions>
1373 <highlight color="%highlight_color%" />
1374 <fill color="%button_fill_color%" />
1375 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1376 <font resource="font" color="%button_text_color%" />
1377 <text>Using Encryption</text>
1378 <actions>
1379 <action function="set">tw_password_not_match=0</action>
1380 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001381 </actions>
1382 </object>
1383
1384 <object type="button">
1385 <highlight color="%highlight_color%" />
1386 <fill color="%button_fill_color%" />
1387 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1388 <font resource="font" color="%button_text_color%" />
1389 <text>Refresh Sizes</text>
1390 <action function="refreshsizes"></action>
1391 </object>
1392
1393 <object type="button">
1394 <highlight color="%highlight_color%" />
1395 <fill color="%button_fill_color%" />
1396 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1397 <font resource="font" color="%button_text_color%" />
1398 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1399 <actions>
1400 <action function="set">tw_back=backup</action>
1401 <action function="page">selectstorage</action>
1402 </actions>
1403 </object>
1404
1405 <object type="checkbox">
1406 <placement x="%col1_x%" y="%row15_text_y%" />
1407 <font resource="font" color="%text_color%" />
1408 <text>Enable compression.</text>
1409 <data variable="tw_use_compression" />
1410 <image checked="checkbox_true" unchecked="checkbox_false" />
1411 </object>
1412
1413 <object type="checkbox">
1414 <placement x="%col1_x%" y="%row16_text_y%" />
1415 <font resource="font" color="%text_color%" />
1416 <text>Skip MD5 generation during backup.</text>
1417 <data variable="tw_skip_md5_generate" />
1418 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 </object>
1420
1421 <object type="slider">
1422 <placement x="%slider_x%" y="slider_y" />
1423 <resource base="slider" used="slider-used" touch="slider-touch" />
1424 <action function="page">backup_run</action>
1425 </object>
1426
1427 <object type="text" color="%text_color%">
1428 <font resource="font" />
1429 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1430 <text>Swipe to Back Up</text>
1431 </object>
1432
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <object type="action">
1434 <touch key="home" />
1435 <action function="page">main</action>
1436 </object>
1437
1438 <object type="action">
1439 <touch key="back" />
1440 <action function="page">main</action>
1441 </object>
1442
1443 <object type="template" name="footer" />
1444 </page>
1445
1446 <page name="backupname1">
1447 <object type="action">
1448 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1449 <action function="set">tw_backup_name=</function>
1450 </object>
1451
1452 <object type="action">
1453 <action function="page">backupname2</function>
1454 </object>
1455 </page>
1456
1457 <page name="backupname2">
1458 <object type="template" name="header" />
1459
1460 <object type="text" color="%text_color%">
1461 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1462 <font resource="font" />
1463 <text>Please Enter a Backup Name</text>
1464 </object>
1465
1466 <object type="input">
1467 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1468 <background color="%input_background_color%" />
1469 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1470 <font resource="font" color="%text_color%" />
1471 <text>%tw_backup_name%</text>
1472 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001473 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001474 <actions>
1475 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1476 <action function="set">tw_existpage=backupname2</action>
1477 <action function="set">tw_notexistpage=backup</action>
1478 <action function="page">filecheck</action>
1479 </actions>
1480 </object>
1481
1482 <object type="text" color="%text_fail_color%">
1483 <condition var1="tw_fileexists" var2="1" />
1484 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1485 <font resource="font" />
1486 <text>A backup with that name already exists!</text>
1487 </object>
1488
1489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001491 <placement x="%col_center_x%" y="%row2_y%" />
1492 <font resource="font" color="%button_text_color%" />
1493 <text>Cancel</text>
1494 <image resource="main_button" />
1495 <actions>
1496 <action function="set">tw_backup_name=(Current Date)</action>
1497 <action function="page">backup</action>
1498 </actions>
1499 </object>
1500
1501 <object type="template" name="keyboardtemplate" />
1502
1503 <object type="action">
1504 <touch key="home" />
1505 <actions>
1506 <action function="set">tw_backup_name=(Current Date)</action>
1507 <action function="page">main</action>
1508 </actions>
1509 </object>
1510
1511 <object type="action">
1512 <touch key="back" />
1513 <actions>
1514 <action function="set">tw_backup_name=(Current Date)</action>
1515 <action function="page">backup</action>
1516 </actions>
1517 </object>
1518
1519 <object type="template" name="footer" />
1520 </page>
1521
Dees_Troy83bd4832013-05-04 12:39:56 +00001522 <page name="backupencryption">
1523 <object type="template" name="header" />
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1528 <text>Encrypt your backup?</text>
1529 </object>
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1534 <text>Please Enter A Password:</text>
1535 </object>
1536
1537 <object type="input">
1538 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1539 <background color="%input_background_color%" />
1540 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1541 <font resource="font" color="%text_color%" />
1542 <text>%tw_backup_encrypt_display%</text>
1543 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1544 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1545 <action function="page">backupencryption2</action>
1546 </object>
1547
1548 <object type="text" color="%text_fail_color%">
1549 <condition var1="tw_password_not_match" var2="1" />
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1552 <text>Passwords Do Not Match</text>
1553 </object>
1554
1555 <object type="button">
1556 <highlight color="%highlight_color%" />
1557 <placement x="%col_center_x%" y="%row2_y%" />
1558 <font resource="font" color="%button_text_color%" />
1559 <text>Cancel</text>
1560 <image resource="main_button" />
1561 <actions>
1562 <action function="set">tw_encrypt_backup=0</action>
1563 <action function="set">tw_backup_password=</action>
1564 <action function="set">tw_backup_password2=</action>
1565 <action function="set">tw_backup_encrypt_display=</action>
1566 <action function="set">tw_backup_encrypt_display2=</action>
1567 <action function="page">backup</action>
1568 </actions>
1569 </object>
1570
1571 <object type="template" name="keyboardtemplate" />
1572
1573 <object type="action">
1574 <touch key="home" />
1575 <action function="page">main</action>
1576 </object>
1577
1578 <object type="action">
1579 <touch key="back" />
1580 <action function="page">backup</action>
1581 </object>
1582
1583 <object type="template" name="footer" />
1584 </page>
1585
1586 <page name="backupencryption2">
1587 <object type="template" name="header" />
1588
1589 <object type="text" color="%text_color%">
1590 <font resource="font" />
1591 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1592 <text>Encrypt your backup?</text>
1593 </object>
1594
1595 <object type="text" color="%text_color%">
1596 <font resource="font" />
1597 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1598 <text>Please Enter Password Again:</text>
1599 </object>
1600
1601 <object type="input">
1602 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1603 <background color="%input_background_color%" />
1604 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1605 <font resource="font" color="%text_color%" />
1606 <text>%tw_backup_encrypt_display2%</text>
1607 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1608 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1609 <actions>
1610 <action function="page">checkbackuppassword</action>
1611 </actions>
1612 </object>
1613
1614 <object type="button">
1615 <highlight color="%highlight_color%" />
1616 <placement x="%col_center_x%" y="%row2_y%" />
1617 <font resource="font" color="%button_text_color%" />
1618 <text>Cancel</text>
1619 <image resource="main_button" />
1620 <actions>
1621 <action function="set">tw_encrypt_backup=0</action>
1622 <action function="set">tw_backup_password=</action>
1623 <action function="set">tw_backup_password2=</action>
1624 <action function="set">tw_backup_encrypt_display=</action>
1625 <action function="set">tw_backup_encrypt_display2=</action>
1626 <action function="page">backup</action>
1627 </actions>
1628 </object>
1629
1630 <object type="template" name="keyboardtemplate" />
1631
1632 <object type="action">
1633 <touch key="home" />
1634 <action function="page">main</action>
1635 </object>
1636
1637 <object type="action">
1638 <touch key="back" />
1639 <action function="page">backup</action>
1640 </object>
1641
1642 <object type="template" name="footer" />
1643 </page>
1644
1645 <page name="checkbackuppassword">
1646 <object type="action">
1647 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1648 <actions>
1649 <action function="set">tw_encrypt_backup=1</action>
1650 <action function="page">backup</action>
1651 </actions>
1652 </object>
1653
1654 <object type="action">
1655 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1656 <actions>
1657 <action function="set">tw_encrypt_backup=0</action>
1658 <action function="set">tw_password_not_match=1</action>
1659 <action function="set">tw_backup_password=</action>
1660 <action function="set">tw_backup_password2=</action>
1661 <action function="set">tw_backup_encrypt_display=</action>
1662 <action function="set">tw_backup_encrypt_display2=</action>
1663 <action function="page">backupencryption</action>
1664 </actions>
1665 </object>
1666 </page>
1667
Dees_Troy51a0e822012-09-05 15:24:24 -04001668 <page name="backup_run">
1669 <object type="template" name="header" />
1670
1671 <object type="text" color="%text_color%">
1672 <font resource="font" />
1673 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1674 <text>%tw_operation% %tw_partition%</text>
1675 </object>
1676
1677 <object type="template" name="action_page_console" />
1678
1679 <object type="template" name="progress_bar" />
1680
1681 <object type="action">
1682 <action function="nandroid">backup</action>
1683 </object>
1684
1685 <object type="action">
1686 <condition var1="tw_operation_state" var2="1" />
1687 <actions>
1688 <action function="set">tw_back=backup</action>
1689 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001690 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <action function="page">action_complete</action>
1692 </actions>
1693 </object>
1694 </page>
1695
1696 <page name="restore">
1697 <object type="template" name="header" />
1698
1699 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <highlight color="%highlight_color%" />
1701 <fill color="%button_fill_color%" />
1702 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1703 <font resource="font" color="%button_text_color%" />
1704 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1705 <actions>
1706 <action function="set">tw_back=restore</action>
1707 <action function="page">selectstorage</action>
1708 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 </object>
1710
1711 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001712 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001713 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001715 <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 -04001716 <text>Select Package to Restore:</text>
1717 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1718 <sort name="tw_gui_sort_order" />
1719 <icon folder="folder_icon" file="file_icon" />
1720 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001721 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001722 <filter folders="1" files="0" nav="0" />
1723 <path name="tw_backups_folder" />
1724 <data name="tw_restore" default="" />
1725 <selection name="tw_restore_name" />
1726 </object>
1727
1728 <object type="template" name="sort_options" />
1729
1730 <object type="action">
1731 <condition var1="tw_restore" op="modified" />
1732 <actions>
1733 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001734 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001735 </actions>
1736 </object>
1737
1738 <object type="action">
1739 <touch key="home" />
1740 <action function="page">main</action>
1741 </object>
1742
1743 <object type="action">
1744 <touch key="back" />
1745 <action function="page">main</action>
1746 </object>
1747
1748 <object type="template" name="footer" />
1749 </page>
1750
Dees_Troy83bd4832013-05-04 12:39:56 +00001751 <page name="restore_read">
1752 <object type="action">
1753 <condition var1="tw_restore_encrypted" var2="1" />
1754 <actions>
1755 <action function="set">tw_password_fail=0</action>
1756 <action function="page">restore_decrypt</action>
1757 </actions>
1758 </object>
1759
1760 <object type="action">
1761 <condition var1="tw_restore_encrypted" var2="0" />
1762 <actions>
1763 <action function="page">restore_select</action>
1764 </actions>
1765 </object>
1766 </page>
1767
1768 <page name="restore_decrypt">
1769 <object type="template" name="header" />
1770
1771 <object type="text" color="%text_color%">
1772 <font resource="font" />
1773 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1774 <text>Backup Encrypted</text>
1775 </object>
1776
1777 <object type="text" color="%text_color%">
1778 <font resource="font" />
1779 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1780 <text>Please Enter Your Password:</text>
1781 </object>
1782
1783 <object type="input">
1784 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1785 <background color="%input_background_color%" />
1786 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1787 <font resource="font" color="%text_color%" />
1788 <text>%tw_restore_display%</text>
1789 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1790 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1791 <actions>
1792 <action function="page">try_restore_decrypt</action>
1793 </actions>
1794 </object>
1795
1796 <object type="text" color="%text_fail_color%">
1797 <condition var1="tw_password_fail" var2="1" />
1798 <font resource="font" />
1799 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1800 <text>Password Failed, Please Try Again</text>
1801 </object>
1802
1803 <object type="button">
1804 <highlight color="%highlight_color%" />
1805 <placement x="%col1_x%" y="%row2_y%" />
1806 <font resource="font" color="%button_text_color%" />
1807 <text>Cancel</text>
1808 <image resource="main_button" />
1809 <actions>
1810 <action function="set">tw_page_done=1</action>
1811 <action function="page">restore</action>
1812 </actions>
1813 </object>
1814
1815 <object type="button">
1816 <highlight color="%highlight_color%" />
1817 <placement x="%col2_x%" y="%row2_y%" />
1818 <font resource="font" color="%button_text_color%" />
1819 <text>Delete</text>
1820 <image resource="main_button" />
1821 <actions>
1822 <action function="set">tw_back=restore</action>
1823 <action function="set">tw_action=cmd</action>
1824 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1825 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1826 <action function="set">tw_text2=This cannot be undone!</action>
1827 <action function="set">tw_action_text1=Deleting Backup...</action>
1828 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1829 <action function="set">tw_slider_text=Swipe to Delete</action>
1830 <action function="page">confirm_action</action>
1831 </actions>
1832 </object>
1833
1834 <object type="template" name="keyboardtemplate" />
1835
1836 <object type="action">
1837 <touch key="home" />
1838 <action function="page">main</action>
1839 </object>
1840
1841 <object type="action">
1842 <touch key="back" />
1843 <action function="page">restore</action>
1844 </object>
1845
1846 <object type="template" name="footer" />
1847 </page>
1848
1849 <page name="try_restore_decrypt">
1850 <object type="template" name="header" />
1851
1852 <object type="text" color="%text_color%">
1853 <font resource="font" />
1854 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1855 <text>Trying Decryption with Your Password</text>
1856 </object>
1857
1858 <object type="template" name="action_page_console" />
1859
1860 <object type="template" name="progress_bar" />
1861
1862 <object type="action">
1863 <action function="decrypt_backup"></action>
1864 </object>
1865
1866 <object type="action">
1867 <conditions>
1868 <condition var1="tw_operation_state" var2="1" />
1869 <condition var1="tw_operation_status" op="!=" var2="0" />
1870 </conditions>
1871 <actions>
1872 <action function="set">tw_password_fail=1</action>
1873 <action function="page">restore_decrypt</action>
1874 </actions>
1875 </object>
1876
1877 <object type="action">
1878 <conditions>
1879 <condition var1="tw_operation_state" var2="1" />
1880 <condition var1="tw_operation_status" op="=" var2="0" />
1881 </conditions>
1882 <actions>
1883 <action function="set">tw_page_done=1</action>
1884 <action function="page">restore_select</action>
1885 </actions>
1886 </object>
1887 </page>
1888
Dees_Troy51a0e822012-09-05 15:24:24 -04001889 <page name="restore_select">
1890 <object type="template" name="header" />
1891
Dees_Troya13d74f2013-03-24 08:54:55 -05001892 <object type="partitionlist">
1893 <highlight color="%fileselector_highlight_color%" />
1894 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1895 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1896 <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 -04001897 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001898 <icon selected="checkbox_true" unselected="checkbox_false" />
1899 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1900 <background color="%listbox_background%" />
1901 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1902 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1903 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001904 </object>
1905
1906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001907 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001908 <fill color="%button_fill_color%" />
1909 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001910 <font resource="font" color="%button_text_color%" />
1911 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001912 <actions>
1913 <action function="set">tw_backup_rename=</action>
1914 <action function="set">tw_fileexists=0</action>
1915 <action function="page">renamebackup</action>
1916 </actions>
1917 </object>
1918
1919 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001920 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001921 <fill color="%button_fill_color%" />
1922 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001923 <font resource="font" color="%button_text_color%" />
1924 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001925 <actions>
1926 <action function="set">tw_back=restore</action>
1927 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001928 <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 -04001929 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1930 <action function="set">tw_text2=This cannot be undone!</action>
1931 <action function="set">tw_action_text1=Deleting Backup...</action>
1932 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1933 <action function="set">tw_slider_text=Swipe to Delete</action>
1934 <action function="page">confirm_action</action>
1935 </actions>
1936 </object>
1937
Dees_Troya13d74f2013-03-24 08:54:55 -05001938 <object type="checkbox">
1939 <placement x="%col1_x%" y="%row15_text_y%" />
1940 <font resource="font" color="%text_color%" />
1941 <text>Enable MD5 verification of backup files.</text>
1942 <data variable="tw_skip_md5_check" />
1943 <image checked="checkbox_true" unchecked="checkbox_false" />
1944 </object>
1945
1946 <object type="text" color="%text_color%">
1947 <font resource="font" />
1948 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1949 <text>Package Date: %tw_restore_file_date%</text>
1950 </object>
1951
Dees_Troy51a0e822012-09-05 15:24:24 -04001952 <object type="slider">
1953 <placement x="%slider_x%" y="%slider_y%" />
1954 <resource base="slider" used="slider-used" touch="slider-touch" />
1955 <action function="page">restore_run</action>
1956 </object>
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1961 <text>Swipe to Restore</text>
1962 </object>
1963
Dees_Troy51a0e822012-09-05 15:24:24 -04001964 <object type="action">
1965 <touch key="home" />
1966 <action function="page">main</action>
1967 </object>
1968
1969 <object type="action">
1970 <touch key="back" />
1971 <action function="page">restore</action>
1972 </object>
1973
1974 <object type="template" name="footer" />
1975 </page>
1976
1977 <page name="renamebackup">
1978 <object type="template" name="header" />
1979
1980 <object type="text" color="%text_color%">
1981 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1982 <font resource="font" />
1983 <text>Please Enter a New Backup Name</text>
1984 </object>
1985
1986 <object type="input">
1987 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1988 <background color="%input_background_color%" />
1989 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1990 <font resource="font" color="%text_color%" />
1991 <text>%tw_backup_rename%</text>
1992 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001993 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001994 <actions>
1995 <action function="set">tw_back=restore</action>
1996 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001997 <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 -04001998 <action function="set">tw_text1=Rename Backup?</action>
1999 <action function="set">tw_text2=This cannot be undone!</action>
2000 <action function="set">tw_action_text1=Renaming Backup...</action>
2001 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2002 <action function="set">tw_slider_text=Swipe to Rename</action>
2003 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2004 <action function="set">tw_existpage=renamebackup</action>
2005 <action function="set">tw_notexistpage=confirm_action</action>
2006 <action function="page">filecheck</action>
2007 </actions>
2008 </object>
2009
2010 <object type="text" color="%text_fail_color%">
2011 <condition var1="tw_fileexists" var2="1" />
2012 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2013 <font resource="font" />
2014 <text>A backup with that name already exists!</text>
2015 </object>
2016
2017 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002018 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002019 <placement x="%col_center_x%" y="%row2_y%" />
2020 <font resource="font" color="%button_text_color%" />
2021 <text>Cancel</text>
2022 <image resource="main_button" />
2023 <action function="page">restore_select</action>
2024 </object>
2025
2026 <object type="template" name="keyboardtemplate" />
2027
2028 <object type="action">
2029 <touch key="home" />
2030 <action function="page">main</action>
2031 </object>
2032
2033 <object type="action">
2034 <touch key="back" />
2035 <action function="page">restore_select</action>
2036 </object>
2037
2038 <object type="template" name="footer" />
2039 </page>
2040
2041 <page name="restore_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
2050 <object type="template" name="action_page_console" />
2051
2052 <object type="template" name="progress_bar" />
2053
2054 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002055 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <actions>
2057 <action function="set">tw_back=restore_select</action>
2058 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002059 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <action function="page">action_complete</action>
2061 </actions>
2062 </object>
2063
2064 <object type="action">
2065 <action function="nandroid">restore</action>
2066 </object>
2067 </page>
2068
Dees_Troya13d74f2013-03-24 08:54:55 -05002069 <page name="selectstorage">
2070 <object type="template" name="header" />
2071
2072 <object type="partitionlist">
2073 <highlight color="%fileselector_highlight_color%" />
2074 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2076 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2077 <text>Select Storage:</text>
2078 <icon selected="radio_true" unselected="radio_false" />
2079 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2080 <background color="%listbox_background%" />
2081 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2082 <data name="tw_storage_path" />
2083 <listtype name="storage" />
2084 </object>
2085
2086 <object type="action">
2087 <touch key="home" />
2088 <action function="page">main</action>
2089 </object>
2090
2091 <object type="action">
2092 <touch key="back" />
2093 <actions>
2094 <action function="page">%tw_back%</action>
2095 </actions>
2096 </object>
2097
2098 <object type="template" name="footer" />
2099 </page>
2100
Dees_Troy51a0e822012-09-05 15:24:24 -04002101 <page name="mount">
2102 <object type="template" name="header" />
2103
Dees_Troya13d74f2013-03-24 08:54:55 -05002104 <object type="partitionlist">
2105 <highlight color="%fileselector_highlight_color%" />
2106 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2107 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2108 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2109 <text>Select Partitions to Mount:</text>
2110 <icon selected="checkbox_true" unselected="checkbox_false" />
2111 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2112 <background color="%listbox_background%" />
2113 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2114 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002115 </object>
2116
2117 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002118 <highlight color="%highlight_color%" />
2119 <fill color="%button_fill_color%" />
2120 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2121 <font resource="font" color="%button_text_color%" />
2122 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2123 <actions>
2124 <action function="set">tw_back=mount</action>
2125 <action function="page">selectstorage</action>
2126 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002127 </object>
2128
2129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002131 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002132 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002133 <font resource="font" color="%button_text_color%" />
2134 <text>Mount USB Storage</text>
2135 <image resource="main_button" />
2136 <action function="page">usb_mount</action>
2137 </object>
2138
Gary Peckffdc6ae2012-11-21 18:02:02 -08002139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002140 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002141 <conditions>
2142 <condition var1="tw_is_encrypted" var2="1" />
2143 <condition var1="tw_is_decrypted" var2="0" />
2144 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002145 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002146 <font resource="font" color="%button_text_color%" />
2147 <text>Decrypt Data</text>
2148 <image resource="main_button" />
2149 <action function="page">decrypt</action>
2150 </object>
2151
Dees_Troy51a0e822012-09-05 15:24:24 -04002152 <object type="action">
2153 <touch key="home" />
2154 <action function="page">main</action>
2155 </object>
2156
2157 <object type="action">
2158 <touch key="back" />
2159 <action function="page">main</action>
2160 </object>
2161
2162 <object type="template" name="footer" />
2163 </page>
2164
2165 <page name="usb_mount">
2166 <object type="template" name="header" />
2167
2168 <object type="text" color="%text_color%">
2169 <font resource="font" />
2170 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2171 <text>USB Storage Mounted</text>
2172 </object>
2173
2174 <object type="text" color="%text_color%">
2175 <placement x="%col1_x%" y="%row1_text_y%" />
2176 <font resource="font" />
2177 <text>Be sure to safely remove your device</text>
2178 </object>
2179
2180 <object type="text" color="%text_color%">
2181 <placement x="%col1_x%" y="%row2_text_y%" />
2182 <font resource="font" />
2183 <text>from your computer before unmounting!</text>
2184 </object>
2185
2186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002188 <placement x="%col1_x%" y="%row3_y%" />
2189 <font resource="font" color="%button_text_color%" />
2190 <text>Unmount</text>
2191 <image resource="main_button" />
2192 <action function="page">usb_umount</action>
2193 </object>
2194
2195 <object type="action">
2196 <action function="mount">usb</action>
2197 </object>
2198
2199 <object type="template" name="footer" />
2200 </page>
2201
2202 <page name="usb_umount">
2203 <object type="action">
2204 <action function="unmount">usb</action>
2205 </object>
2206
2207 <object type="action">
2208 <action function="page">mount</action>
2209 </object>
2210 </page>
2211
2212 <page name="reboot">
2213 <object type="template" name="header" />
2214
2215 <object type="text" color="%text_color%">
2216 <font resource="font" />
2217 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2218 <text>Reboot Menu</text>
2219 </object>
2220
2221 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002222 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002223 <condition var1="tw_reboot_system" var2="1" />
2224 <placement x="%col1_x%" y="%row1_y%" />
2225 <font resource="font" color="%button_text_color%" />
2226 <text>System</text>
2227 <image resource="main_button" />
2228 <actions>
2229 <action function="set">tw_back=reboot</action>
2230 <action function="set">tw_action=reboot</action>
2231 <action function="set">tw_action_param=system</action>
2232 <action function="set">tw_has_action2=0</action>
2233 <action function="set">tw_text1=No OS Installed! Are you</action>
2234 <action function="set">tw_text2=sure you wish to reboot?</action>
2235 <action function="set">tw_action_text1=Rebooting...</action>
2236 <action function="set">tw_complete_text1=Rebooting...</action>
2237 <action function="set">tw_slider_text=Swipe to Reboot</action>
2238 <action function="page">rebootcheck</action>
2239 </actions>
2240 </object>
2241
2242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002244 <condition var1="tw_reboot_poweroff" var2="1" />
2245 <placement x="%col2_x%" y="%row1_y%" />
2246 <font resource="font" color="%button_text_color%" />
2247 <text>Power Off</text>
2248 <image resource="main_button" />
2249 <actions>
2250 <action function="set">tw_back=reboot</action>
2251 <action function="set">tw_action=reboot</action>
2252 <action function="set">tw_action_param=poweroff</action>
2253 <action function="set">tw_has_action2=0</action>
2254 <action function="set">tw_text1=No OS Installed! Are you</action>
2255 <action function="set">tw_text2=sure you wish to power off?</action>
2256 <action function="set">tw_action_text1=Turning Off...</action>
2257 <action function="set">tw_complete_text1=Turning Off...</action>
2258 <action function="set">tw_slider_text=Swipe to Power Off</action>
2259 <action function="page">rebootcheck</action>
2260 </actions>
2261 </object>
2262
2263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002265 <condition var1="tw_reboot_recovery" var2="1" />
2266 <placement x="%col1_x%" y="%row2_y%" />
2267 <font resource="font" color="%button_text_color%" />
2268 <text>Recovery</text>
2269 <image resource="main_button" />
2270 <actions>
2271 <action function="set">tw_back=reboot</action>
2272 <action function="set">tw_action=reboot</action>
2273 <action function="set">tw_action_param=recovery</action>
2274 <action function="set">tw_has_action2=0</action>
2275 <action function="set">tw_text1=No OS Installed! Are you</action>
2276 <action function="set">tw_text2=sure you wish to reboot?</action>
2277 <action function="set">tw_action_text1=Rebooting...</action>
2278 <action function="set">tw_complete_text1=Rebooting...</action>
2279 <action function="set">tw_slider_text=Swipe to Reboot</action>
2280 <action function="page">rebootcheck</action>
2281 </actions>
2282 </object>
2283
2284 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002285 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002286 <condition var1="tw_reboot_bootloader" var2="1" />
2287 <placement x="%col2_x%" y="%row2_y%" />
2288 <font resource="font" color="%button_text_color%" />
2289 <text>Bootloader</text>
2290 <image resource="main_button" />
2291 <actions>
2292 <action function="set">tw_back=reboot</action>
2293 <action function="set">tw_action=reboot</action>
2294 <action function="set">tw_action_param=bootloader</action>
2295 <action function="set">tw_has_action2=0</action>
2296 <action function="set">tw_text1=No OS Installed! Are you</action>
2297 <action function="set">tw_text2=sure you wish to reboot?</action>
2298 <action function="set">tw_action_text1=Rebooting...</action>
2299 <action function="set">tw_complete_text1=Rebooting...</action>
2300 <action function="set">tw_slider_text=Swipe to Reboot</action>
2301 <action function="page">rebootcheck</action>
2302 </actions>
2303 </object>
2304
2305 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002306 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002307 <condition var1="tw_download_mode" var2="1" />
2308 <placement x="%col1_x%" y="%row3_y%" />
2309 <font resource="font" color="%button_text_color%" />
2310 <text>Download</text>
2311 <image resource="main_button" />
2312 <actions>
2313 <action function="set">tw_back=reboot</action>
2314 <action function="set">tw_action=reboot</action>
2315 <action function="set">tw_action_param=download</action>
2316 <action function="set">tw_has_action2=0</action>
2317 <action function="set">tw_text1=No OS Installed! Are you</action>
2318 <action function="set">tw_text2=sure you wish to reboot?</action>
2319 <action function="set">tw_action_text1=Rebooting...</action>
2320 <action function="set">tw_complete_text1=Rebooting...</action>
2321 <action function="set">tw_slider_text=Swipe to Reboot</action>
2322 <action function="page">rebootcheck</action>
2323 </actions>
2324 </object>
2325
2326 <object type="action">
2327 <touch key="home" />
2328 <action function="page">main</action>
2329 </object>
2330
2331 <object type="action">
2332 <touch key="back" />
2333 <action function="page">main</action>
2334 </object>
2335
2336 <object type="template" name="footer" />
2337 </page>
2338
2339 <page name="settings">
2340 <object type="template" name="header" />
2341
2342 <object type="text" color="%text_color%">
2343 <font resource="font" />
2344 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2345 <text>Settings</text>
2346 </object>
2347
2348 <object type="checkbox">
2349 <placement x="%col1_x%" y="%row1_text_y%" />
2350 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002351 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002352 <data variable="tw_signed_zip_verify" />
2353 <image checked="checkbox_true" unchecked="checkbox_false" />
2354 </object>
2355
2356 <object type="checkbox">
2357 <placement x="%col1_x%" y="%row2_text_y%" />
2358 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002359 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002360 <data variable="tw_rm_rf" />
2361 <image checked="checkbox_true" unchecked="checkbox_false" />
2362 </object>
2363
2364 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002365 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002366 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002367 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002368 <data variable="tw_skip_md5_generate" />
2369 <image checked="checkbox_true" unchecked="checkbox_false" />
2370 </object>
2371
2372 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002373 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002375 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002376 <data variable="tw_skip_md5_check" />
2377 <image checked="checkbox_true" unchecked="checkbox_false" />
2378 </object>
2379
2380 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002381 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002383 <text>Use Military Time.</text>
2384 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002385 <image checked="checkbox_true" unchecked="checkbox_false" />
2386 </object>
2387
2388 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002389 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002391 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002392 <data variable="tw_simulate_actions" />
2393 <image checked="checkbox_true" unchecked="checkbox_false" />
2394 </object>
2395
2396 <object type="checkbox">
2397 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002398 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002400 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002401 <data variable="tw_simulate_fail" />
2402 <image checked="checkbox_true" unchecked="checkbox_false" />
2403 </object>
2404
2405 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002406 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <placement x="%col1_x%" y="%row3_y%" />
2408 <font resource="font" color="%button_text_color%" />
2409 <text>Time Zone</text>
2410 <image resource="main_button" />
2411 <action function="page">timezone</action>
2412 </object>
2413
2414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002415 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002416 <placement x="%col2_x%" y="%row3_y%" />
2417 <font resource="font" color="%button_text_color%" />
2418 <text>Screen</text>
2419 <image resource="main_button" />
2420 <action function="page">screen</action>
2421 </object>
2422
2423 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <placement x="%col_center_x%" y="%row4_y%" />
2425 <font resource="font" color="%button_text_color%" />
2426 <text>Restore Defaults</text>
2427 <image resource="main_button" />
2428 <action function="restoredefaultsettings"></action>
2429 </object>
2430
2431 <object type="action">
2432 <touch key="home" />
2433 <action function="page">main</action>
2434 </object>
2435
2436 <object type="action">
2437 <touch key="back" />
2438 <action function="page">main</action>
2439 </object>
2440
2441 <object type="template" name="footer" />
2442 </page>
2443
2444 <page name="timezone">
2445 <object type="template" name="header" />
2446
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002448 <highlight color="%fileselector_highlight_color%" />
2449 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2450 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002451 <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 -06002452 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002453 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002454 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002455 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002456 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <data name="tw_time_zone_guisel" />
2458 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2459 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2460 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2461 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2462 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2463 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2464 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2465 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2466 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2467 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2468 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2469 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2470 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2471 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2472 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2473 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2474 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2475 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2476 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2477 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2478 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2479 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2480 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2481 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2482 </object>
2483
2484 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002485 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <font resource="font" color="%text_color%" />
2487 <text>Do you use daylight savings time (DST)?</text>
2488 <data variable="tw_time_zone_guidst" />
2489 <image checked="checkbox_true" unchecked="checkbox_false" />
2490 </object>
2491
2492 <object type="text" color="%text_color%">
2493 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002494 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2496 </object>
2497
2498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002499 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002500 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002501 <font resource="font" color="%button_text_color%" />
2502 <text>None</text>
2503 <image resource="medium_button" />
2504 <action function="set">tw_time_zone_guioffset=0</action>
2505 </object>
2506
2507 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002508 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002509 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002510 <font resource="font" color="%button_text_color%" />
2511 <text>15</text>
2512 <image resource="medium_button" />
2513 <action function="set">tw_time_zone_guioffset=15</action>
2514 </object>
2515
2516 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002517 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002518 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 <font resource="font" color="%button_text_color%" />
2520 <text>30</text>
2521 <image resource="medium_button" />
2522 <action function="set">tw_time_zone_guioffset=30</action>
2523 </object>
2524
2525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002526 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002527 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002528 <font resource="font" color="%button_text_color%" />
2529 <text>45</text>
2530 <image resource="medium_button" />
2531 <action function="set">tw_time_zone_guioffset=45</action>
2532 </object>
2533
2534 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002535 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002536 <placement x="%col_center_x%" y="%tz_set_y%" />
2537 <font resource="font" color="%button_text_color%" />
2538 <text>Set Time Zone</text>
2539 <image resource="main_button" />
2540 <action function="setguitimezone"></action>
2541 </object>
2542
2543 <object type="text" color="%text_color%">
2544 <font resource="font" />
2545 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2546 <text>Current Time Zone: %tw_time_zone%</text>
2547 </object>
2548
2549 <object type="action">
2550 <touch key="home" />
2551 <action function="page">main</action>
2552 </object>
2553
2554 <object type="action">
2555 <touch key="back" />
2556 <action function="page">settings</action>
2557 </object>
2558
2559 <object type="template" name="footer" />
2560 </page>
2561
Dees_Troy2f9117a2013-02-17 19:52:09 -06002562 <page name="screen">
2563 <object type="template" name="header" />
2564
2565 <object type="text" color="%text_color%">
2566 <font resource="font" />
2567 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2568 <text>Screen Settings</text>
2569 </object>
2570
Dees_Troy2f9117a2013-02-17 19:52:09 -06002571 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002572 <placement x="%col1_x%" y="%row2_text_y%" />
2573 <font resource="font" color="%text_color%" />
2574 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2575 <text>Enable screen timeout.</text>
2576 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002577 <action function="set">tw_screen_timeout_secs=60</action>
2578 </object>
2579
2580 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002581 <placement x="%col1_x%" y="%row2_text_y%" />
2582 <font resource="font" color="%text_color%" />
2583 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2584 <text>Enable screen timeout.</text>
2585 <image resource="checkbox_true" />
2586 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002587 </object>
2588
Vojtech Bocek85932342013-04-01 22:11:33 +02002589 <object type="slidervalue">
2590 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2591 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2592 <font resource="font" color="%text_color%" />
2593 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2594 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2595 <text>Screen timeout in seconds:</text>
2596 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002597 </object>
2598
Vojtech Bocek85932342013-04-01 22:11:33 +02002599 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002600 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002601 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2602 <font resource="font" color="%text_color%" />
2603 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2604 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2605 <text>Brightness: %tw_brightness_pct%%</text>
2606 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002607 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002608 <action function="set">tw_brightness=%tw_brightness_max%</action>
2609 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2610 <action function="compute">tw_brightness/100</action>
2611 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 </actions>
2613 </object>
2614
2615 <object type="action">
2616 <touch key="home" />
2617 <action function="page">main</action>
2618 </object>
2619
2620 <object type="action">
2621 <touch key="back" />
2622 <action function="page">settings</action>
2623 </object>
2624
2625 <object type="template" name="footer" />
2626 </page>
2627
Dees_Troy51a0e822012-09-05 15:24:24 -04002628 <page name="advanced">
2629 <object type="template" name="header" />
2630
2631 <object type="text" color="%text_color%">
2632 <font resource="font" />
2633 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2634 <text>Advanced</text>
2635 </object>
2636
2637 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002638 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002639 <placement x="%col1_x%" y="%row1_y%" />
2640 <font resource="font" color="%button_text_color%" />
2641 <text>Copy Log to SD</text>
2642 <image resource="main_button" />
2643 <actions>
2644 <action function="set">tw_back=advanced</action>
2645 <action function="set">tw_action=copylog</action>
2646 <action function="set">tw_text1=Copy Log to SD Card?</action>
2647 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2648 <action function="set">tw_complete_text1=Log Copy Complete</action>
2649 <action function="set">tw_slider_text=Swipe to Confirm</action>
2650 <action function="page">confirm_action</action>
2651 </actions>
2652 </object>
2653
2654 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002655 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002656 <placement x="%col2_x%" y="%row1_y%" />
2657 <font resource="font" color="%button_text_color%" />
2658 <text>Fix Permissions</text>
2659 <image resource="main_button" />
2660 <actions>
2661 <action function="set">tw_back=advanced</action>
2662 <action function="set">tw_action=fixpermissions</action>
2663 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002664 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002665 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2666 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002667 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002668 <action function="page">confirm_action</action>
2669 </actions>
2670 </object>
2671
2672 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002673 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002674 <condition var1="tw_allow_partition_sdcard" var2="1" />
2675 <placement x="%col1_x%" y="%row2_y%" />
2676 <font resource="font" color="%button_text_color%" />
2677 <text>Partition SD Card</text>
2678 <image resource="main_button" />
2679 <action function="page">partsdcard</action>
2680 </object>
2681
2682 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002683 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002684 <placement x="%col2_x%" y="%row2_y%" />
2685 <font resource="font" color="%button_text_color%" />
2686 <text>File Manager</text>
2687 <image resource="main_button" />
2688 <action function="page">filemanagerlist</action>
2689 </object>
2690
2691 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002692 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002693 <placement x="%col1_x%" y="%row3_y%" />
2694 <font resource="font" color="%button_text_color%" />
2695 <text>Terminal Command</text>
2696 <image resource="main_button" />
2697 <action function="page">terminalfolder</action>
2698 </object>
2699
2700 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002701 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002702 <placement x="%col2_x%" y="%row3_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>Reload Theme</text>
2705 <image resource="main_button" />
2706 <action function="reload"></action>
2707 </object>
2708
2709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002710 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002711 <placement x="%col1_x%" y="%row4_y%" />
2712 <font resource="font" color="%button_text_color%" />
2713 <text>ADB Sideload</text>
2714 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002715 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002716 </object>
2717
2718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <condition var1="tw_show_dumlock" var2="1" />
2721 <placement x="%col2_x%" y="%row4_y%" />
2722 <font resource="font" color="%button_text_color%" />
2723 <text>HTC Dumlock</text>
2724 <image resource="main_button" />
2725 <action function="page">htcdumlock</action>
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 <condition var1="tw_has_injecttwrp" var2="1" />
2731 <placement x="%col2_x%" y="%row4_y%" />
2732 <font resource="font" color="%button_text_color%" />
2733 <text>Re-Inject TWRP</text>
2734 <image resource="main_button" />
2735 <actions>
2736 <action function="set">tw_back=advanced</action>
2737 <action function="set">tw_action=reinjecttwrp</action>
2738 <action function="set">tw_text1=Re-Inject TWRP?</action>
2739 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2740 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2741 <action function="set">tw_slider_text=Swipe to Confirm</action>
2742 <action function="page">confirm_action</action>
2743 </actions>
2744 </object>
2745
2746 <object type="action">
2747 <touch key="home" />
2748 <action function="page">main</action>
2749 </object>
2750
2751 <object type="action">
2752 <touch key="back" />
2753 <action function="page">main</action>
2754 </object>
2755
2756 <object type="template" name="footer" />
2757 </page>
2758
2759 <page name="partsdcard">
2760 <object type="template" name="header" />
2761
2762 <object type="text" color="%text_color%">
2763 <font resource="font" />
2764 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2765 <text>Partition SD Card</text>
2766 </object>
2767
2768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <placement x="%col1_x%" y="%row1_y%" />
2771 <font resource="font" color="%button_text_color%" />
2772 <text></text>
2773 <image resource="minus_button" />
2774 <action function="addsubtract">tw_sdext_size-128</action>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <placement x="%sd_plus_x%" y="%row1_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text></text>
2782 <image resource="plus_button" />
2783 <action function="addsubtract">tw_sdext_size+128</action>
2784 </object>
2785
2786 <object type="text" color="%text_color%">
2787 <font resource="font" />
2788 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2789 <text>EXT Size: %tw_sdext_size%</text>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <placement x="%col1_x%" y="%sdswap_button_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text></text>
2797 <image resource="minus_button" />
2798 <action function="addsubtract">tw_swap_size-32</action>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text></text>
2806 <image resource="plus_button" />
2807 <action function="addsubtract">tw_swap_size+32</action>
2808 </object>
2809
2810 <object type="text" color="%text_color%">
2811 <font resource="font" />
2812 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2813 <text>Swap Size: %tw_swap_size%</text>
2814 </object>
2815
2816 <object type="text" color="%text_color%">
2817 <font resource="font" />
2818 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2819 <text>File system: %tw_sdpart_file_system%</text>
2820 </object>
2821
2822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002823 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002824 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>EXT3</text>
2827 <image resource="main_button" />
2828 <action function="set">tw_sdpart_file_system=ext3</action>
2829 </object>
2830
2831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002832 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <condition var1="tw_sdext_disable_ext4" var2="0" />
2834 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2835 <font resource="font" color="%button_text_color%" />
2836 <text>EXT4</text>
2837 <image resource="main_button" />
2838 <action function="set">tw_sdpart_file_system=ext4</action>
2839 </object>
2840
2841 <object type="text" color="%text_color%">
2842 <font resource="font" />
2843 <placement x="%col1_x%" y="%row12_text_y%" />
2844 <text>You will lose all files on your SD card!</text>
2845 </object>
2846
2847 <object type="text" color="%text_color%">
2848 <font resource="font" />
2849 <placement x="%col1_x%" y="%row13_text_y%" />
2850 <text>This action cannot be undone!</text>
2851 </object>
2852
2853 <object type="slider">
2854 <placement x="%slider_x%" y="%slider_y%" />
2855 <resource base="slider" used="slider-used" touch="slider-touch" />
2856 <action function="page">partsdcardaction</action>
2857 <actions>
2858 <action function="set">tw_back=partsdcard</action>
2859 <action function="set">tw_action=partitionsd</action>
2860 <action function="set">tw_has_action2=1</action>
2861 <action function="set">tw_action2=set</action>
2862 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2863 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2864 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002865 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <action function="page">action_page</action>
2867 </actions>
2868 </object>
2869
2870 <object type="text" color="%text_color%">
2871 <font resource="font" />
2872 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2873 <text>Swipe to Partition</text>
2874 </object>
2875
2876 <object type="action">
2877 <touch key="home" />
2878 <action function="page">main</action>
2879 </object>
2880
2881 <object type="action">
2882 <touch key="back" />
2883 <action function="page">advanced</action>
2884 </object>
2885
2886 <object type="template" name="footer" />
2887 </page>
2888
2889 <page name="htcdumlock">
2890 <object type="template" name="header" />
2891
2892 <object type="text" color="%text_color%">
2893 <font resource="font" />
2894 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2895 <text>HTC Dumlock</text>
2896 </object>
2897
2898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002899 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <condition var1="tw_show_dumlock" var2="1" />
2901 <placement x="%col1_x%" y="%row1_y%" />
2902 <font resource="font" color="%button_text_color%" />
2903 <text>Restore Original Boot</text>
2904 <image resource="main_button" />
2905 <actions>
2906 <action function="set">tw_back=htcdumlock</action>
2907 <action function="set">tw_action=htcdumlockrestoreboot</action>
2908 <action function="set">tw_text1=Restore original boot image?</action>
2909 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2910 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2911 <action function="set">tw_slider_text=Swipe to Confirm</action>
2912 <action function="page">confirm_action</action>
2913 </actions>
2914 </object>
2915
2916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002917 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002918 <condition var1="tw_show_dumlock" var2="1" />
2919 <placement x="%col2_x%" y="%row1_y%" />
2920 <font resource="font" color="%button_text_color%" />
2921 <text>Reflash Recovery</text>
2922 <image resource="main_button" />
2923 <actions>
2924 <action function="set">tw_back=htcdumlock</action>
2925 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2926 <action function="set">tw_text1=Reflash recovery to boot?</action>
2927 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2928 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2929 <action function="set">tw_slider_text=Swipe to Confirm</action>
2930 <action function="page">confirm_action</action>
2931 </actions>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <condition var1="tw_show_dumlock" var2="1" />
2937 <placement x="%col1_x%" y="%row2_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>Install HTC Dumlock</text>
2940 <image resource="main_button" />
2941 <actions>
2942 <action function="set">tw_back=htcdumlock</action>
2943 <action function="set">tw_action=installhtcdumlock</action>
2944 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2945 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2946 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2947 <action function="set">tw_slider_text=Swipe to Confirm</action>
2948 <action function="page">confirm_action</action>
2949 </actions>
2950 </object>
2951
2952 <object type="action">
2953 <touch key="home" />
2954 <action function="page">main</action>
2955 </object>
2956
2957 <object type="action">
2958 <touch key="back" />
2959 <action function="page">advanced</action>
2960 </object>
2961
2962 <object type="template" name="footer" />
2963 </page>
2964
2965 <page name="lock">
2966 <background color="#000000A0" />
2967
2968 <object type="image">
2969 <image resource="unlock-icon" />
2970 <placement x="%lock_x%" y="%lock_y%" />
2971 </object>
2972
2973 <object type="slider">
2974 <placement x="%slider_x%" y="%slider_y%" />
2975 <resource base="slider" used="slider-used" touch="slider-touch" />
2976 <action function="overlay"></action>
2977 </object>
2978
2979 <object type="text" color="%text_color%">
2980 <font resource="font" />
2981 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2982 <text>Swipe to Unlock</text>
2983 </object>
2984 </page>
2985
2986 <page name="filemanagerlist">
2987 <object type="template" name="header" />
2988
2989 <object type="text" color="%text_color%">
2990 <font resource="font" />
2991 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2992 <text>File Manager: Select a File or Folder</text>
2993 </object>
2994
2995 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002996 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002997 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2998 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002999 <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 -04003000 <text>%tw_file_location1%</text>
3001 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3002 <sort name="tw_gui_sort_order" />
3003 <icon folder="folder_icon" file="file_icon" />
3004 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003005 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003006 <folders="1" files="1" />
3007 <path name="tw_file_location1" default="/" />
3008 <data name="tw_filename1" />
3009 <selection name="tw_selection1" />
3010 </object>
3011
3012 <object type="template" name="sort_options" />
3013
3014 <object type="action">
3015 <actions>
3016 <action function="set">tw_fm_type=File</action>
3017 <action function="set">tw_fm_isfolder=0</action>
3018 </actions>
3019 </object>
3020
3021 <object type="action">
3022 <touch key="home" />
3023 <action function="page">main</action>
3024 </object>
3025
3026 <object type="action">
3027 <touch key="back" />
3028 <action function="page">advanced</action>
3029 </object>
3030
3031 <object type="action">
3032 <condition var1="tw_filename1" op="modified" />
3033 <actions>
3034 <action function="page">filemanageroptions</action>
3035 </actions>
3036 </object>
3037
3038 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003039 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003040 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3041 <font resource="font" color="%button_text_color%" />
3042 <text>Select</text>
3043 <image resource="medium_button" />
3044 <actions>
3045 <action function="set">tw_filename1=tw_file_location1</action>
3046 <action function="set">tw_fm_isfolder=1</action>
3047 <action function="set">tw_fm_type=Folder</action>
3048 <action function="page">filemanageroptions</action>
3049 </actions>
3050 </object>
3051
3052 <object type="template" name="footer" />
3053 </page>
3054
3055 <page name="filemanageroptions">
3056 <object type="template" name="header" />
3057
3058 <object type="text" color="%text_color%">
3059 <font resource="font" />
3060 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3061 <text>%tw_fm_type% Selected:</text>
3062 </object>
3063
3064 <object type="text" color="%text_color%">
3065 <font resource="font" />
3066 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3067 <text>%tw_filename1%</text>
3068 </object>
3069
3070 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003071 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003072 <condition var1="tw_fm_isfolder" var2="0" />
3073 <placement x="%col1_x%" y="%row2_y%" />
3074 <font resource="font" color="%button_text_color%" />
3075 <text>Copy File</text>
3076 <image resource="main_button" />
3077 <actions>
3078 <action function="set">tw_filemanager_command=cp</action>
3079 <action function="set">tw_fm_text1=Copying</action>
3080 <action function="page">choosedestinationfolder</action>
3081 </actions>
3082 </object>
3083
3084 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003085 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <condition var1="tw_fm_isfolder" var2="1" />
3087 <placement x="%col1_x%" y="%row2_y%" />
3088 <font resource="font" color="%button_text_color%" />
3089 <text>Copy Folder</text>
3090 <image resource="main_button" />
3091 <actions>
3092 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3093 <action function="set">tw_fm_text1=Copying</action>
3094 <action function="page">choosedestinationfolder</action>
3095 </actions>
3096 </object>
3097
3098 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003099 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003100 <placement x="%col2_x%" y="%row2_y%" />
3101 <font resource="font" color="%button_text_color%" />
3102 <text>Move</text>
3103 <image resource="main_button" />
3104 <actions>
3105 <action function="set">tw_filemanager_command=mv</action>
3106 <action function="set">tw_fm_text1=Moving</action>
3107 <action function="page">choosedestinationfolder</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <placement x="%col1_x%" y="%row3_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>chmod 755</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_command=chmod 755</action>
3119 <action function="set">tw_fm_text1=chmod 755</action>
3120 <action function="set">tw_fm_text2=</action>
3121 <action function="set">tw_fm_text3=</action>
3122 <action function="set">tw_include_text3=0</action>
3123 <action function="set">tw_back=filemanageroptions</action>
3124 <action function="page">filemanagerconfirm</action>
3125 </actions>
3126 </object>
3127
3128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <placement x="%col2_x%" y="%row3_y%" />
3131 <font resource="font" color="%button_text_color%" />
3132 <text>chmod</text>
3133 <image resource="main_button" />
3134 <actions>
3135 <action function="set">tw_filemanager_rename=0000</action>
3136 <action function="set">tw_fm_text2=</action>
3137 <action function="set">tw_fm_text3=</action>
3138 <action function="set">tw_include_text3=0</action>
3139 <action function="set">tw_back=filemanageroptions</action>
3140 <action function="page">filemanagerchmod</action>
3141 </actions>
3142 </object>
3143
3144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003145 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003146 <placement x="%col1_x%" y="%row4_y%" />
3147 <font resource="font" color="%button_text_color%" />
3148 <text>Delete</text>
3149 <image resource="main_button" />
3150 <actions>
3151 <action function="set">tw_filemanager_command=rm -rf</action>
3152 <action function="set">tw_fm_text1=Deleting</action>
3153 <action function="set">tw_fm_text2=</action>
3154 <action function="set">tw_fm_text3=</action>
3155 <action function="set">tw_include_text3=0</action>
3156 <action function="set">tw_back=filemanageroptions</action>
3157 <action function="page">filemanagerconfirm</action>
3158 </actions>
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="%col2_x%" y="%row4_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>Rename File</text>
3167 <image resource="main_button" />
3168 <actions>
3169 <action function="set">tw_filemanager_rename=tw_selection1</action>
3170 <action function="set">tw_fm_text1=Renaming</action>
3171 <action function="set">tw_filemanager_command=mv</action>
3172 <action function="page">filemanagerrenamefile</action>
3173 </actions>
3174 </object>
3175
3176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003178 <condition var1="tw_fm_isfolder" var2="1" />
3179 <placement x="%col2_x%" y="%row4_y%" />
3180 <font resource="font" color="%button_text_color%" />
3181 <text>Rename Folder</text>
3182 <image resource="main_button" />
3183 <actions>
3184 <action function="set">tw_filemanager_rename=tw_selection1</action>
3185 <action function="set">tw_fm_text1=Renaming</action>
3186 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3187 <action function="page">filemanagerrenamefolder</action>
3188 </actions>
3189 </object>
3190
3191 <object type="action">
3192 <touch key="home" />
3193 <action function="page">main</action>
3194 </object>
3195
3196 <object type="action">
3197 <touch key="back" />
3198 <action function="page">filemanagerlist</action>
3199 </object>
3200
3201 <object type="template" name="footer" />
3202 </page>
3203
3204 <page name="choosedestinationfolder">
3205 <object type="template" name="header" />
3206
3207 <object type="text" color="%text_color%">
3208 <font resource="font" />
3209 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3210 <text>Browse to Destination Folder & Press Select</text>
3211 </object>
3212
3213 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003214 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003215 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3216 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003217 <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 -04003218 <text>%tw_file_location2%</text>
3219 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3220 <sort name="tw_gui_sort_order" />
3221 <icon folder="folder_icon" file="file_icon" />
3222 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003223 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003224 <filter folders="1" files="0" />
3225 <path name="tw_file_location2" default="/" />
3226 <data name="tw_filename2" />
3227 <selection name="tw_selection2" />
3228 </object>
3229
3230 <object type="template" name="sort_options" />
3231
3232 <object type="action">
3233 <touch key="home" />
3234 <action function="page">main</action>
3235 </object>
3236
3237 <object type="action">
3238 <touch key="back" />
3239 <action function="page">filemanageroptions</action>
3240 </object>
3241
3242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003244 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3245 <font resource="font" color="%button_text_color%" />
3246 <text>Select</text>
3247 <image resource="medium_button" />
3248 <actions>
3249 <action function="set">tw_fm_text2=to</action>
3250 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3251 <action function="set">tw_include_text3=1</action>
3252 <action function="set">tw_back=filemanageroptions</action>
3253 <action function="page">filemanagerconfirm</action>
3254 </actions>
3255 </object>
3256
3257 <object type="template" name="footer" />
3258 </page>
3259
3260 <page name="filemanagerrenamefile">
3261 <object type="template" name="header" />
3262
3263 <object type="text" color="%text_color%">
3264 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3265 <font resource="font" />
3266 <text>Please Enter a New %tw_fm_type% Name</text>
3267 </object>
3268
3269 <object type="input">
3270 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3271 <background color="%input_background_color%" />
3272 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3273 <font resource="font" color="%text_color%" />
3274 <text>%tw_filemanager_rename%</text>
3275 <data name="tw_filemanager_rename" />
3276 <restrict minlen="1" maxlen="128" />
3277 <actions>
3278 <action function="set">tw_fm_text2=to</action>
3279 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3280 <action function="set">tw_include_text3=1</action>
3281 <action function="set">tw_back=filemanageroptions</action>
3282 <action function="page">filemanagerconfirm</action>
3283 </actions>
3284 </object>
3285
3286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <placement x="%col_center_x%" y="%row2_y%" />
3289 <font resource="font" color="%button_text_color%" />
3290 <text>Cancel</text>
3291 <image resource="main_button" />
3292 <action function="page">filemanageroptions</action>
3293 </object>
3294
3295 <object type="template" name="keyboardtemplate" />
3296
3297 <object type="action">
3298 <touch key="home" />
3299 <action function="page">main</action>
3300 </object>
3301
3302 <object type="action">
3303 <touch key="back" />
3304 <action function="page">filemanageroptions</action>
3305 </object>
3306
3307 <object type="template" name="footer" />
3308 </page>
3309
3310 <page name="filemanagerrenamefolder">
3311 <object type="template" name="header" />
3312
3313 <object type="text" color="%text_color%">
3314 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3315 <font resource="font" />
3316 <text>Please Enter a New %tw_fm_type% Name</text>
3317 </object>
3318
3319 <object type="input">
3320 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3321 <background color="%input_background_color%" />
3322 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3323 <font resource="font" color="%text_color%" />
3324 <text>%tw_filemanager_rename%</text>
3325 <data name="tw_filemanager_rename" />
3326 <restrict minlen="1" maxlen="128" />
3327 <actions>
3328 <action function="set">tw_fm_text2=to</action>
3329 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3330 <action function="set">tw_include_text3=1</action>
3331 <action function="set">tw_back=filemanageroptions</action>
3332 <action function="page">filemanagerconfirm</action>
3333 </actions>
3334 </object>
3335
3336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <placement x="%col_center_x%" y="%row2_y%" />
3339 <font resource="font" color="%button_text_color%" />
3340 <text>Cancel</text>
3341 <image resource="main_button" />
3342 <action function="page">filemanageroptions</action>
3343 </object>
3344
3345 <object type="template" name="keyboardtemplate" />
3346
3347 <object type="action">
3348 <touch key="home" />
3349 <action function="page">main</action>
3350 </object>
3351
3352 <object type="action">
3353 <touch key="back" />
3354 <action function="page">filemanageroptions</action>
3355 </object>
3356
3357 <object type="template" name="footer" />
3358 </page>
3359
3360 <page name="filemanagerchmod">
3361 <object type="template" name="header" />
3362
3363 <object type="text" color="%text_color%">
3364 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3365 <font resource="font" />
3366 <text>Please Enter New Permissions</text>
3367 </object>
3368
3369 <object type="input">
3370 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3371 <background color="%input_background_color%" />
3372 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3373 <font resource="font" color="%text_color%" />
3374 <text>%tw_filemanager_rename%</text>
3375 <data name="tw_filemanager_rename" />
3376 <restrict minlen="3" maxlen="4" allow="0123456789" />
3377 <actions>
3378 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3379 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3380 <action function="set">tw_back=filemanageroptions</action>
3381 <action function="page">filemanagerconfirm</action>
3382 </actions>
3383 </object>
3384
3385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003387 <placement x="%col_center_x%" y="%row2_y%" />
3388 <font resource="font" color="%button_text_color%" />
3389 <text>Cancel</text>
3390 <image resource="main_button" />
3391 <action function="page">filemanageroptions</action>
3392 </object>
3393
3394 <object type="template" name="keyboardtemplate" />
3395
3396 <object type="action">
3397 <touch key="home" />
3398 <action function="page">main</action>
3399 </object>
3400
3401 <object type="action">
3402 <touch key="back" />
3403 <action function="page">filemanageroptions</action>
3404 </object>
3405
3406 <object type="template" name="footer" />
3407 </page>
3408
3409 <page name="filemanagerconfirm">
3410 <object type="template" name="header" />
3411
3412 <object type="text" color="%text_color%">
3413 <font resource="font" />
3414 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3415 <text>%tw_fm_text1%</text>
3416 </object>
3417
3418 <object type="text" color="%text_color%">
3419 <font resource="font" />
3420 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3421 <text>%tw_filename1%</text>
3422 </object>
3423
3424 <object type="text" color="%text_color%">
3425 <font resource="font" />
3426 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3427 <text>%tw_fm_text2%</text>
3428 </object>
3429
3430 <object type="text" color="%text_color%">
3431 <font resource="font" />
3432 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3433 <text>%tw_fm_text3%</text>
3434 </object>
3435
3436 <object type="text" color="%text_color%">
3437 <font resource="font" />
3438 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3439 <text>Press back button to cancel.</text>
3440 </object>
3441
3442 <object type="slider">
3443 <placement x="%slider_x%" y="%slider_y%" />
3444 <resource base="slider" used="slider-used" touch="slider-touch" />
3445 <action function="page">filemanageracction</action>
3446 </object>
3447
3448 <object type="text" color="%text_color%">
3449 <font resource="font" />
3450 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3451 <text>Swipe to Confirm</text>
3452 </object>
3453
3454 <object type="action">
3455 <touch key="back" />
3456 <action function="page">%tw_back%</action>
3457 </object>
3458
3459 <object type="action">
3460 <touch key="home" />
3461 <action function="page">main</action>
3462 </object>
3463
3464 <object type="template" name="footer" />
3465 </page>
3466
3467 <page name="filemanageracction">
3468 <object type="template" name="header" />
3469
3470 <object type="text" color="%text_color%">
3471
3472 <font resource="font" />
3473 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3474 <text>%tw_fm_text1%</text>
3475 </object>
3476
3477 <object type="template" name="action_page_console" />
3478
3479 <object type="template" name="progress_bar" />
3480
3481 <object type="action">
3482 <conditions>
3483 <condition var1="tw_operation_state" var2="1" />
3484 <condition var1="tw_operation_status" var2="0" />
3485 </conditions>
3486 <actions>
3487 <action function="set">tw_back=filemanagerlist</action>
3488 <action function="set">tw_complete_text1=File Operation Complete</action>
3489 <action function="page">action_complete</action>
3490 </actions>
3491 </object>
3492
3493 <object type="action">
3494 <conditions>
3495 <condition var1="tw_operation_state" var2="1" />
3496 <condition var1="tw_operation_status" op="!=" var2="0" />
3497 </conditions>
3498 <actions>
3499 <action function="set">tw_complete_text1=File Operation Complete</action>
3500 <action function="page">action_complete</action>
3501 </actions>
3502 </object>
3503
3504 <object type="action">
3505 <condition var1="tw_include_text3" var2="0" />
3506 <actions>
3507 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3508 </actions>
3509 </object>
3510
3511 <object type="action">
3512 <condition var1="tw_include_text3" var2="1" />
3513 <actions>
3514 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3515 </actions>
3516 </object>
3517 </page>
3518
3519 <page name="decrypt">
3520 <object type="template" name="header" />
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3525 <text>Please Enter Your Password</text>
3526 </object>
3527
3528 <object type="input">
3529 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3530 <background color="%input_background_color%" />
3531 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3532 <font resource="font" color="%text_color%" />
3533 <text>%tw_crypto_display%</text>
3534 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3535 <restrict minlen="1" maxlen="254" />
3536 <actions>
3537 <action function="page">trydecrypt</action>
3538 </actions>
3539 </object>
3540
3541 <object type="text" color="%text_fail_color%">
3542 <condition var1="tw_password_fail" var2="1" />
3543 <font resource="font" />
3544 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3545 <text>Password Failed, Please Try Again</text>
3546 </object>
3547
3548 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003549 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 <placement x="%col_center_x%" y="%row2_y%" />
3551 <font resource="font" color="%button_text_color%" />
3552 <text>Cancel</text>
3553 <image resource="main_button" />
3554 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003555 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003556 <action function="page">main</action>
3557 </actions>
3558 </object>
3559
3560 <object type="template" name="keyboardtemplate" />
3561
Dees_Troy51a0e822012-09-05 15:24:24 -04003562 <object type="template" name="footer" />
3563 </page>
3564
3565 <page name="trydecrypt">
3566 <object type="template" name="header" />
3567
3568 <object type="text" color="%text_color%">
3569 <font resource="font" />
3570 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3571 <text>Trying Decryption with Your Password</text>
3572 </object>
3573
3574 <object type="template" name="action_page_console" />
3575
3576 <object type="template" name="progress_bar" />
3577
3578 <object type="action">
3579 <action function="decrypt"></action>
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_password_fail=1</action>
3589 <action function="page">decrypt</action>
3590 </actions>
3591 </object>
3592
3593 <object type="action">
3594 <conditions>
3595 <condition var1="tw_operation_state" var2="1" />
3596 <condition var1="tw_operation_status" op="=" var2="0" />
3597 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003598 <actions>
3599 <action function="set">tw_page_done=1</action>
3600 <action function="page">main</action>
3601 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003602 </object>
3603 </page>
3604
3605 <page name="terminalfolder">
3606 <object type="template" name="header" />
3607
3608 <object type="text" color="%text_color%">
3609 <font resource="font" />
3610 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3611 <text>Browse to Starting Folder</text>
3612 </object>
3613
3614 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003615 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003616 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3617 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003618 <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 -04003619 <text>%tw_terminal_location%</text>
3620 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3621 <sort name="tw_gui_sort_order" />
3622 <icon folder="folder_icon" file="file_icon" />
3623 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003624 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003625 <filter folders="1" files="0" />
3626 <path name="tw_terminal_location" default="/" />
3627 <data name="tw_terminal" />
3628 <selection name="tw_terminal_selection" />
3629 </object>
3630
3631 <object type="template" name="sort_options" />
3632
3633 <object type="action">
3634 <touch key="home" />
3635 <action function="page">main</action>
3636 </object>
3637
3638 <object type="action">
3639 <touch key="back" />
3640 <action function="page">advanced</action>
3641 </object>
3642
3643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003645 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3646 <font resource="font" color="%button_text_color%" />
3647 <text>Select</text>
3648 <image resource="medium_button" />
3649 <actions>
3650 <action function="page">terminalcommand</action>
3651 </actions>
3652 </object>
3653
3654 <object type="template" name="footer" />
3655 </page>
3656
3657 <page name="terminalcommand">
3658 <object type="template" name="header" />
3659
3660 <object type="console">
3661 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3662 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3663 <font resource="fixed" />
3664 </object>
3665
3666 <object type="text" color="%text_color%">
3667 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3668 <font resource="font" />
3669 <text>Starting Path: %tw_terminal_location%</text>
3670 </object>
3671
3672 <object type="input">
3673 <condition var1="tw_terminal_state" var2="0" />
3674 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3675 <background color="%input_background_color%" />
3676 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3677 <font resource="font" color="%text_color%" />
3678 <text>%tw_terminal_command%</text>
3679 <data name="tw_terminal_command" />
3680 <restrict minlen="1" />
3681 <action function="terminalcommand">%tw_terminal_command%</action>
3682 </object>
3683
3684 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003685 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003686 <condition var1="tw_terminal_state" var2="1" />
3687 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3688 <font resource="font" color="%button_text_color%" />
3689 <text>KILL</text>
3690 <image resource="medium_button" />
3691 <action function="killterminal"></action>
3692 </object>
3693
3694 <object type="template" name="keyboardtemplate" />
3695
3696 <object type="action">
3697 <touch key="home" />
3698 <action function="page">main</action>
3699 </object>
3700
3701 <object type="action">
3702 <touch key="back" />
3703 <action function="page">terminalfolder</action>
3704 </object>
3705 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003706
3707 <page name="sideload">
3708 <object type="template" name="header" />
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3713 <text>ADB Sideload</text>
3714 </object>
3715
3716 <object type="checkbox">
3717 <placement x="%col1_x%" y="%row2_text_y%" />
3718 <font resource="font" color="%text_color%" />
3719 <text>Wipe Dalvik Cache.</text>
3720 <data variable="tw_wipe_dalvik" />
3721 <image checked="checkbox_true" unchecked="checkbox_false" />
3722 </object>
3723
3724 <object type="checkbox">
3725 <placement x="%col1_x%" y="%row3_text_y%" />
3726 <font resource="font" color="%text_color%" />
3727 <text>Wipe Cache.</text>
3728 <data variable="tw_wipe_cache" />
3729 <image checked="checkbox_true" unchecked="checkbox_false" />
3730 </object>
3731
3732 <object type="slider">
3733 <placement x="%slider_x%" y="%slider_y%" />
3734 <resource base="slider" used="slider-used" touch="slider-touch" />
3735 <actions>
3736 <action function="set">tw_back=advanced</action>
3737 <action function="set">tw_action=adbsideload</action>
3738 <action function="set">tw_action_text1=ADB Sideload</action>
3739 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3740 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3741 <action function="set">tw_has_cancel=1</action>
3742 <action function="set">tw_show_reboot=1</action>
3743 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3744 <action function="page">action_page</action>
3745 </actions>
3746 </object>
3747
3748 <object type="text" color="%text_color%">
3749 <font resource="font" />
3750 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3751 <text>Swipe to Start Sideload</text>
3752 </object>
3753
3754 <object type="action">
3755 <touch key="home" />
3756 <action function="page">main</action>
3757 </object>
3758
3759 <object type="action">
3760 <touch key="back" />
3761 <action function="page">advanced</action>
3762 </object>
3763
3764 <object type="template" name="footer" />
3765 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003766
3767 <page name="installsu">
3768 <object type="template" name="header" />
3769
3770 <object type="text" color="%text_color%">
3771 <font resource="font" />
3772 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3773 <text>Install SuperSU?</text>
3774 </object>
3775
3776 <object type="text" color="%text_color%">
3777 <font resource="font" />
3778 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3779 <text>Your device does not appear to be rooted.</text>
3780 </object>
3781
3782 <object type="text" color="%text_color%">
3783 <font resource="font" />
3784 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3785 <text>Install SuperSU now?</text>
3786 </object>
3787
3788 <object type="text" color="%text_color%">
3789 <font resource="font" />
3790 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3791 <text>This will root your device.</text>
3792 </object>
3793
3794 <object type="button">
3795 <highlight color="%highlight_color%" />
3796 <placement x="%col_center_x%" y="%row3_y%" />
3797 <font resource="font" color="%button_text_color%" />
3798 <text>Do Not Install</text>
3799 <image resource="main_button" />
3800 <action function="set">tw_page_done=1</action>
3801 </object>
3802
3803 <object type="slider">
3804 <placement x="%slider_x%" y="%slider_y%" />
3805 <resource base="slider" used="slider-used" touch="slider-touch" />
3806 <actions>
3807 <action function="set">tw_action=installsu</action>
3808 <action function="set">tw_action_text1=Installing SuperSU</action>
3809 <action function="set">tw_action_text2=</action>
3810 <action function="page">singleaction_page</action>
3811 </actions>
3812 </object>
3813
3814 <object type="text" color="%text_color%">
3815 <font resource="font" />
3816 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3817 <text>Swipe to Install</text>
3818 </object>
3819 </page>
3820
3821 <page name="fixsu">
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_header_y%" placement="5"/>
3827 <text>Fix Superuser Permissions?</text>
3828 </object>
3829
3830 <object type="text" color="%text_color%">
3831 <font resource="font" />
3832 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3833 <text>Root permissions appear to be lost.</text>
3834 </object>
3835
3836 <object type="text" color="%text_color%">
3837 <font resource="font" />
3838 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3839 <text>Fix root permissions now?</text>
3840 </object>
3841
3842 <object type="text" color="%text_color%">
3843 <font resource="font" />
3844 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3845 <text>(Fixes permissions on su binary & app)</text>
3846 </object>
3847
3848 <object type="button">
3849 <highlight color="%highlight_color%" />
3850 <placement x="%col_center_x%" y="%row3_y%" />
3851 <font resource="font" color="%button_text_color%" />
3852 <text>Do Not Fix</text>
3853 <image resource="main_button" />
3854 <action function="set">tw_page_done=1</action>
3855 </object>
3856
3857 <object type="slider">
3858 <placement x="%slider_x%" y="%slider_y%" />
3859 <resource base="slider" used="slider-used" touch="slider-touch" />
3860 <actions>
3861 <action function="set">tw_action=fixsu</action>
3862 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3863 <action function="set">tw_action_text2=</action>
3864 <action function="page">singleaction_page</action>
3865 </actions>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3871 <text>Swipe to Fix Root</text>
3872 </object>
3873 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003874 </pages>
3875</recovery>